Commit Graph

129744 Commits

Author SHA1 Message Date
bouyer
9f64bc24a4 Turn off video output on WSDISPLAYIO_SVIDEO.
For LCD/LVDS, just stop the tcon0.
For HDMI, turn off tcon and hdmi (so that the monitor goes to sleeo)
if the audio output is inactive.
For this, add a lock-protected refcount in awin_hdmi, incremented when
audio and/or video is active.
Tested with an audio-enabled HDMI display.
2015-11-19 18:48:22 +00:00
christos
6ca9f36467 long line police 2015-11-19 17:04:01 +00:00
christos
2b793cea0d Enable the VLAN mtu capability and check for the adjusted packet size
(Jean-Jacques.Puig at espci.fr).
Factor out the packet-size checking function for clarity.
2015-11-19 17:01:40 +00:00
christos
88b3ee5eb5 Add handling of VLAN packets in if_bridge where the parent interface supports
them (Jean-Jacques.Puig@espci.fr). Factor out the vlan_mtu enabling and
disabling code.
2015-11-19 16:23:54 +00:00
marty
bf9db215fe add 5422 gic handling to attach code 2015-11-19 05:44:41 +00:00
ozaki-r
53e3e4714d Restore softnet_lock and KERNEL_LOCK for rtrequest and rtfree
We still need them for rt operations.
2015-11-19 03:03:04 +00:00
ozaki-r
0edb16352e Call icmp6_error2 after releasing ln
This is a restructuring for coming changes.

From FreeBSD
2015-11-19 03:02:10 +00:00
christos
35bfced80d Put these back. They are used. 2015-11-19 00:40:43 +00:00
phx
c835c55cd9 Patch by hannken@ to fix a bug which has been introduced with 1.71.
The kernel crashed with uvm fault when mounting an ados file system.
2015-11-18 22:06:25 +00:00
skrll
ed7c71fc9a Remove unused files. 2015-11-18 20:25:02 +00:00
jakllsch
e26793fb01 Add support for the AR5BHB63 ath(4) (the only ath(4) in Half Mini Card
form that isn't supported by athn(4)).
2015-11-18 18:04:45 +00:00
jakllsch
8c719f5f2b Note the interrupt for Tegra MC in the locators list. 2015-11-18 17:12:06 +00:00
jakllsch
009c795f13 Complete the interrupt definitions list from the Tertiary Interrupt
Controller range of the Tegra K1.
2015-11-18 17:01:39 +00:00
msaitoh
87c2fc6098 Delete #ifdef __HAVE_PCI_MSI_MSIX and use pci_intr_allo()/pci_intr_release()
on any systems. The third argument of pci_intr_alloc() is left because we will
use the code to support MSI-X in future.
2015-11-18 10:26:57 +00:00
ozaki-r
5d81659a46 Stop passing llinfo_nd6 to nd6_ns_output
This is a restructuring for coming changes to nd6 (replacing
llinfo_nd6 with llentry). Once we have a lock of llinfo_nd6,
we need to pass it to nd6_ns_output with holding the lock.
However, in a function subsequent to nd6_ns_output, the llinfo_nd6
may be looked up, i.e., its lock would be acquired again.
To avoid such a situation, pass only required data (in6_addr) to
nd6_ns_output instead of passing whole llinfo_nd6.

Inspired by FreeBSD
2015-11-18 05:16:22 +00:00
msaitoh
389a184aab - Add the Auto Slot Power Limit Disable bit in Slot Control register and
the Completion Timeout Prefix/Header Log Capable bit in the AER capability
  and control register (ECN: Downstream Port Containment (DPC)).
- Add the Poisoned TLP Egress Block bit (ECN: Enhanced DPC).
- Update Link Capabilities 2 register and Link Control 3 register (ECN:
  Separate Refclk Independent SSC Architecture (SRIS))
- ECN: Readiness Notifications (RN)
- Add the Retimer Presence Detect Supported bit in the Link Capabilities 2
  register and the Retimer Presence Detected bit in the Link Status 2 register
  (ECN: Extension Devices)
2015-11-18 04:24:02 +00:00
ozaki-r
7cdf5bbe65 Unify nd6_ns_output calls in nd6_llinfo_timer
Inspired by FreeBSD
2015-11-18 02:51:11 +00:00
jakllsch
1f4f07e05b Add PCI Extended Configuration support for tegrapcie(4).
Similar to the acpimcfg code, this only maps the extended configuration
space into KVA for known busses.
2015-11-17 22:01:39 +00:00
msaitoh
30cc026319 - ARI's function group is not bit 32-24 but 22-20.
- Add the Structure Length field in AF capability register.
- Add Enhanced Allocation extended capability ID (ECN: Enhanced Allocation (EA)
  for Memory and I/O Resources).
- Add LN System CLS (ECN: Lightweight Notification (LN) Protocol).
- Add ST Upper and Lower bit definitions (ECN: TLP Processiong Hints).
- Add the Global Invalidate bit in the ATS capability register and the PRG
  Response PASID Required bit in the Page Request status register (ECN: PASID
  Translation)
- Decode ASPM support bit more (ECN: ASPM Optionally)
- Use __BITS()
2015-11-17 18:26:50 +00:00
msaitoh
9931e08a9f No functional change:
- Add comments.
 - Remove obsolete comment.
 - Move definitions to better location.
 - Rename bit definition.
 - KNF.
 - Indent.
2015-11-17 17:51:42 +00:00
jakllsch
098138c412 Switch PCI athn(4) attachment from pci_intr_map() to
pci_intr_alloc()/pci_intr_release(), this enables MSI where available.
2015-11-17 17:15:29 +00:00
macallan
b9de1f8955 Long overdue suggestions from Taylor Campbell and a few syntax/style
tweaks from myself.

From Michael McConville
2015-11-17 16:53:21 +00:00
jakllsch
ff955c277f Revert changes of athn.c r1.8.
- aprint_normal is correct for the attach message
 - KNF adjustments in code we sync with upstream are a nuisance
 - aprint_error{,_dev}() is inappropriate for use in runtime code
2015-11-17 16:37:22 +00:00
hannken
043a0ecd5d Replace SIMPLEQ_FOREACH with SIMPLEQ_FOREACH_SAFE to prevent use-after-free. 2015-11-17 10:34:04 +00:00
pooka
35ce72762f Fix argument to empty()
Guess none of the fast-running tests exercised the
component being initialized ...
2015-11-17 01:07:34 +00:00
jakllsch
bd3ae4e6bc Do not clear the PCIe interrupt until we've allowed its cause to become
deasserted.  This halves the PCIe interrupt rate.
2015-11-17 00:08:33 +00:00
pooka
eda4460d2b Use IOCONF #define to determine component name.
Avoids having to manually retype info already in .ioconf.

Also, COMPONENT_SIMPLE -> RUMP_COMPONENT=simple.  That way, we can add
other attributes where necessary.  As "future directions", the "ioconf"
attribute for RUMP_COMPONENT can just be removed when a driver is
converted to modular and has a proper modcmd.
2015-11-16 23:27:07 +00:00
jmcneill
bd7b975898 initialize allocated gem object memory to 0 2015-11-16 21:41:29 +00:00
phx
ce99ffa7ea wscons and Xorg support for CirrusLogic GD542x based boards (grf3). 2015-11-16 21:25:34 +00:00
phx
2bf6198c32 Fixed bug in wsdisplay copyrows textop.
Fixed WSDISPLAYIO_SVIDEO, which had inverted functionality.
Improved FBINFO setup. 15 and 16 bits depth both have 16bpp now.
2015-11-16 21:24:06 +00:00
jmcneill
99ca455981 commit window changes when updating base 2015-11-16 21:14:51 +00:00
jmcneill
8797104197 use XRGB8888 for framebuffer 2015-11-16 21:14:33 +00:00
msaitoh
78cac4e704 Add Braswell PCU SMBus. 2015-11-16 15:01:22 +00:00
msaitoh
2cb5ced466 Regen. 2015-11-16 15:00:13 +00:00
msaitoh
7d58b53c7f Change macro name of Braswell PCU SMBus. 2015-11-16 14:59:45 +00:00
msaitoh
31350bb457 Regen. 2015-11-16 14:20:00 +00:00
msaitoh
91c255d2ec Add Braswell devices from "Table 23-4 PCI Devices and Functions,
N-Series Intel Pentium Processorts and Intel Celeron Processors Datasheet
(Document Number: 332093-001)"
2015-11-16 14:19:39 +00:00
bouyer
050d2bcdd9 Remove USB HID entries, they're already in usbdevices.config 2015-11-16 12:35:54 +00:00
msaitoh
addef40090 Define PCIE_XCAP_{VER,TYPE}(x) and use them. 2015-11-16 09:10:58 +00:00
ozaki-r
17001ea619 Add missing rtfree 2015-11-16 05:39:39 +00:00
jmcneill
a85a846423 disable data island packet transmission on Tegra124 HDMI codec 2015-11-15 23:03:50 +00:00
jakllsch
3bf079f55c Avoid NULL dereference in linux_worker_intr() in WORK_DELAYED_CANCELLED case.
Potentially fixes PR#49560.
2015-11-15 22:56:24 +00:00
bouyer
4a42ef10b1 Add genfb1, awindebe1, and awintcon1. These will attach if the fex
script request them.
While there add USB HID, keyboard, mouse and touchscreen.
If you have a display you'll most proabbly want input devices too.
2015-11-15 21:31:29 +00:00
bouyer
dd1e9ee14e Add support for LVDS output on tcon0. Tested with a full HD LVDS display.
Other LCD interfaces not supported yet, mostly by lack of hardware.
The LVDS output and timings are set from the FEX script.
2015-11-15 21:28:54 +00:00
martin
c6240a4b43 PR 32999: adjust VM parameters for 64 bit kernel/userlands.
Limit old binaries (i.e. processes not using topdown VA layout) to 2 GB
data size.
Use the same limits as native sparc for netbsd32 emulation - we need to
revisit this, but currently automatic test runs in this environment
fail big time, so there is no easy way to verify any changes.
2015-11-15 20:35:33 +00:00
pooka
d97f016d89 Always descend into component directories for rumpdescribe. 2015-11-15 16:54:16 +00:00
bouyer
d4845d0072 Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbjörn Granlund on port-xen@
2015-11-15 14:42:03 +00:00
jmcneill
8bb09c02f2 If we are going to be doing read/modify/write in triple-buffered mode, make sure we don't read back the buffered values and not the active ones 2015-11-15 14:39:12 +00:00
pooka
33a1fe2a2d describe => rumpdescribe 2015-11-15 13:50:10 +00:00
pgoyette
d00d1cd7dc Actually create the wapbl module, since it works. 2015-11-15 03:12:14 +00:00