https://github.com/raspberrypi/linux

sort by:
Revision Author Date Message Commit Date
b0b5a34 arm: dts: bcm2710-rpi-3-b-plus: fix hpd gpio pin Signed-off-by: Lukas Rusak <lorusak@gmail.com> 29 August 2018, 12:31:06 UTC
214bb59 ARM: bcm283x: Add missing interrupt for RNG block commit 4034600e6f72f7e0a7d8112db3de61469e47fc36 upstream. This patch adds the missing interrupt property to the RNG block of BCM283x. Link: https://github.com/raspberrypi/linux/issues/2195 CC: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> 29 August 2018, 12:31:06 UTC
d58e800 Allo Katana DAC: Updated default values Signed-off-by: Jaikumar <jaikumar@cem-solutions.com> 29 August 2018, 12:31:06 UTC
692e1a6 ifb: fix packets checksum commit b1d2e4e03f92734ff524f96c4b2287133de7a4a3 upstream. Fixup the checksum for CHECKSUM_COMPLETE when pulling skbs on RX path. Otherwise we get splats when tc mirred is used to redirect packets to ifb. Before fix: nic: hw csum failure Signed-off-by: Jon Maxwell <jmaxwell37@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> 29 August 2018, 12:31:06 UTC
0e80675 SQUASH: Revert downstream wm8804 changes The format change from S24_LE to S24_3LE effectively disables 24-bit mode as S24_3LE isn't supported by bcm2835-i2s. This causes issues with drivers that want to use wm8804 in 24-bit mode. Adding the S32_LE format is also incorrect, according to the datasheet only 16-24 bit formats are supported. Signed-off-by: Matthias Reichl <hias@horus.com> 29 August 2018, 12:31:06 UTC
3804ff5 overlays: Add gpio-no-irq overlay An overlay to disable all GPIO interrupts. See: https://github.com/raspberrypi/linux/issues/2550 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
0333ce8 usb: gadget ethernet: Re-enable Jumbo frames. Commit <eea52743eb5654ec6f52b0e8b4aefec952543697> upstream Fixes: <b3e3893e1253> ("net: use core MTU range checking") which patched only one of two functions used to setup the USB Gadget Ethernet driver, causing a serious performance regression in the ability to increase mtu size above 1500. Signed-off-by: John Greb <h3x4m3r0n@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> 29 August 2018, 12:31:06 UTC
a3e731b net: lan78xx: Disable TCP Segmentation Offload (TSO) TSO seems to be having issues when packets are dropped and the remote end uses Selective Acknowledge (SACK) to denote that data is missing. The missing data is never resent, so the connection eventually stalls. There is a module parameter of enable_tso added to allow further debugging without forcing a rebuild of the kernel. https://github.com/raspberrypi/linux/issues/2449 https://github.com/raspberrypi/linux/issues/2482 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> 29 August 2018, 12:31:06 UTC
c776700 config: Add CONFIG_NET_IPVTI=m See: https://github.com/raspberrypi/linux/issues/2581 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
8ba3115 config: Add CONFIG_SPI_GPIO See: https://github.com/raspberrypi/linux/pull/2318 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
017afed sc16is7xx: Fix for "Unexpected interrupt: 8" The SC16IS752 has an Enhanced Feature Register which is aliased at the same address as the Interrupt Identification Register; accessing it requires that a magic value is written to the Line Configuration Register. If an interrupt is raised while the EFR is mapped in then the ISR won't be able to access the IIR, leading to the "Unexpected interrupt" error messages. Avoid the problem by claiming a mutex around accesses to the EFR register, also claiming the mutex in the interrupt handler work item (this is equivalent to disabling interrupts to interlock against a non-threaded interrupt handler). See: https://github.com/raspberrypi/linux/issues/2529 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
b5e6ec9 Enable bbr module for arm64 29 August 2018, 12:31:06 UTC
a359a17 overlays: Add sdtweak features for network booting It has been observed that a Pi with no SD card will poll the interface continuously, using up to 10% CPU. Add some new parameters to the sdtweak overlay to control this behaviour: poll_once Only look for a card once, at boot time. If none is found then the interface is effectively disabled. enable Set to "off" or "no" to completely disable the interface. See: https://github.com/raspberrypi/linux/issues/2567 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
88f204b Enable AES, AES bit slice, and AES NEON engines on arm64 29 August 2018, 12:31:06 UTC
a8f3b9b config: Add I2C_TINY_USB=m Enable the I2C Tiny USB module. See: https://github.com/raspberrypi/linux/issues/2535 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
8d524e3 This commit adds support for RP3-B-Plus in in arch arm64 (#2464) 29 August 2018, 12:31:06 UTC
ed3f88a arm64: enable thermal / enable mmc (#2425) 29 August 2018, 12:31:06 UTC
75d4ac4 config: enable Audio Graph Card module Signed-off-by: Matthias Reichl <hias@horus.com> 29 August 2018, 12:31:06 UTC
baffa95 BCM270X: Add the DSI panel to the defconfig. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
eb54c21 ASoC: wm8804: MCLK configuration options, 32-bit WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an additional mclk_div divider, it is now possible to control the behaviour. This allows using 256xfs PLL frequency on all sample rates up to 96kHz. It should allow lower jitter and better signal quality. The behavior has to be controlled by the sound card driver, because some sample frequency share the same setting. e.g. 192kHz and 96kHz use 24.576MHz master clock. The only difference is the MCLK divider. This also added support for 32bit data. Signed-off-by: Daniel Matuschek <daniel@matuschek.net> 29 August 2018, 12:31:06 UTC
b4fb71b ASoC: tas5713: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
e7fa501 ASoC: pcm512x: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
a5a31b1 ASoC: pcm1794a: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
98180fb ASoC: adau1977-adc: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
3f5d1f3 ASoC: allo-katana-codec: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
0716657 ASoC: googlevoicehat-codec: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
72aacac ASoC: digidac1-soundcard: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
0ce0751 ASoC: iqaudio_digi: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
429bb97 ASoC: hifiberry_dacplus: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
3e22355 ASoC: allo-boss-dac: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
3601fe2 ASoC: allo-digione: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
832bdb7 ASoC: rpi-proto: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
ad48ff6 ASoC: fe-pi-audio: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
7220a2e ASoC: hifiberry_digi: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
d647e67 ASoC: allo-piano-dac-plus: change codec to component Signed-off-by: popcornmix <popcornmix@gmail.com> 29 August 2018, 12:31:06 UTC
4df6acf of: configfs: Use of_overlay_fdt_apply API call The published API to the dynamic overlay application mechanism now takes a Flattened Device Tree blob as input so that it can manage the lifetime of the unflattened tree. Conveniently, the new API call - of_overlay_fdt_apply - is virtually a drop-in replacement for create_overlay, which can now be deleted. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
d8fa8ab Revert "configfs: hack: make it build" This reverts commit 3449d494aac345ff7409b4f3cb4fe1f43c96b5d6. 29 August 2018, 12:31:06 UTC
e8a1126 irqchip: irq-bcm2835: Calc. FIQ_START at boot-time ad83c7cb2f37 ("irqchip/irq-bcm2836: Add support for DT interrupt polarity") changed the way that the BCM2836/7 local interrupts are mapped; instead of being pre-mapped they are now mapped on-demand. A side effect of this change is that the call to irq_of_parse_and_map from armctrl_of_init creates a new mapping, forming a gap between the IRQs and the FIQs. This gap breaks the FIQ<->IRQ mapping which up to now has been done by assuming: 1) that the value of FIQ_START is the same as the number of normal IRQs that will be mapped (still true), and 2) that this value is also the offset between an IRQ and its equivalent FIQ (which is no longer the case). Remove both assumptions by measuring the interval between the last IRQ and the last FIQ, passing it as the parameter to init_FIQ(). Fixes: https://github.com/raspberrypi/linux/issues/2432 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
99b369a Revert "dwc_otg: Disable fiq by default until it is fixed" This reverts commit 6bf69e6b74f82e2e12dd963d449732177e9cfe9b. 29 August 2018, 12:31:06 UTC
6dd7558 ASoC: justboom-digi: change codec to component Signed-off-by: Matthias Reichl <hias@horus.com> 29 August 2018, 12:31:06 UTC
15a90b4 ASoC: justboom-dac: change codec to component Signed-off-by: Matthias Reichl <hias@horus.com> 29 August 2018, 12:31:06 UTC
b41d379 configfs: hack: make it build 29 August 2018, 12:31:06 UTC
8a2bf43 dwc_otg: Disable fiq by default until it is fixed 29 August 2018, 12:31:06 UTC
a7020ba firmware/raspberrypi: Notify firmware of a reboot Register for reboot notifications, sending RPI_FIRMWARE_NOTIFY_REBOOT over the mailbox interface on reception. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
0f24f10 Add ability to export gpio used by gpio-poweroff Signed-off-by: Nick Bulleid <nedbulleid@fastmail.com> Added export feature to gpio-poweroff documentation Signed-off-by: Nick Bulleid <nedbulleid@fastmail.com> 29 August 2018, 12:31:06 UTC
470f89b Driver and overlay for Allo Katana DAC 29 August 2018, 12:31:06 UTC
aec1fe7 gpiolib: Don't prevent IRQ usage of output GPIOs Upstream Linux deems using output GPIOs to generate IRQs as a bogus use case, even though the BCM2835 GPIO controller is capable of doing so. A number of users would like to make use of this facility, so disable the checks. See: https://github.com/raspberrypi/linux/issues/2527 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
abf111c net: lan78xx: Reduce s/w csum check on VLANs With HW_VLAN_CTAG_RX enabled we don't observe the checksum issue, so amend the workaround to only drop back to s/w checksums if VLAN offload is disabled. See #2458. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> 29 August 2018, 12:31:06 UTC
8fd04c6 net: lan78xx: Add support for VLAN tag stripping. The chip supports stripping the VLAN tag and reporting it in metadata. Implement this as it also appears to solve the issues observed in checksum computation. See #2458. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> 29 August 2018, 12:31:06 UTC
6af9c00 net: lan78xx: Add support for VLAN filtering. HW_VLAN_CTAG_FILTER was partially implemented, but not fully to Linux. Complete the implementation of this. See #2458. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> 29 August 2018, 12:31:06 UTC
bab583c net: lan78xx: Request s/w csum check on VLAN tagged packets. There appears to be some issue in the LAN78xx where the checksum computed on a VLAN tagged packet is incorrect, or at least not in the form that the kernel is after. This is most easily shown by pinging a device via a VLAN tagged interface and it will dump out the error message and stack trace from netdev_rx_csum_fault. It has also been seen with standard TCP and UDP packets. Until this is fully understood, request that the network stack computes the checksum on packets signalled as having a VLAN tag applied. See https://github.com/raspberrypi/linux/issues/2458 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> 29 August 2018, 12:31:06 UTC
c3c8584 lan78xx: Move enabling of EEE into PHY init code Enable EEE mode as soon as possible after connecting to the PHY, and before phy_start. This avoids a second link negotiation, which speeds up booting and stops the interface failing to become ready. See: https://github.com/raspberrypi/linux/issues/2437 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
8dcd3e0 net: lan78xx: Allow for VLAN headers in timeout. The frame abort timeout being set by lan78xx_set_rx_max_frame_length didn't account for any VLAN headers, resulting in very low throughput if used with tagged VLANs. Use VLAN_ETH_HLEN instead of ETH_HLEN to correct for this. See https://github.com/raspberrypi/linux/issues/2458 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> 29 August 2018, 12:31:06 UTC
70905ad ASoC: rpi-cirrus: change codec to component Signed-off-by: Matthias Reichl <hias@horus.com> 29 August 2018, 12:31:06 UTC
eabfc14 lan78xx: Ignore DT MAC address if already valid The patch to set the lan78xx MAC address from DT does so regardless of whether or not the interface already has a valid address. As the initialisation function is called from the reset handler when the interface is brought up, it is impossible to change the MAC address in a way that persists across the interface being brought up. Fix the problem by moving the DT reading code after the check for a valid address. See: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=209309 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
8dd86e0 lan78xx: Read LED states from Device Tree Add support for DT property "microchip,led-modes", a vector of two cells (u32s) in the range 0-15, each of which sets the mode for one of the two LEDs. The possible values are: 0=link/activity 1=link1000/activity 2=link100/activity 3=link10/activity 4=link100/1000/activity 5=link10/1000/activity 6=link10/100/activity 14=off 15=on Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
3e16548 audioinjector-octo: Add continuous clock feature By user request, add a switch to prevent the clocks being stopped when the stream is paused, stopped or shutdown. Provide access to the switch by adding a 'non-stop-clocks' parameter to the audioinjector-addons overlay. See: https://github.com/raspberrypi/linux/issues/2409 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
b39a15e drm/vc4: Skip ULPS latching when we're in that ULPS state already. It seems that trying to go from unlatched to unlatched will time out waiting for STOP, and we can just skip that. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
4454135 hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X 29 August 2018, 12:31:06 UTC
c702f41 drm/vc4: Don't wait for vblank on fkms cursor updates. We don't use the same async update path between fkms and normal kms, and the normal kms workaround ended up making us wait. This became a larger problem in rpi-4.14.y, as the USB HID update rate throttling got (accidentally?) dropped. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
644a3f4 drm/vc4: Remove duplicate primary/cursor fields from FKMS driver. The CRTC has those fields and we can just use them. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
f33a806 drm/vc4: Skip SET_CURSOR_INFO when the cursor contents didn't change. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
6992115 drm/vc4: Fix warning about vblank interrupts before DRM core is ready. The SMICS interrupt fires continuously, but since it's 1/100 the rate of the USB interrupts, we don't really need a way to turn it off. We do need to make sure that we don't tell DRM about it until DRM has asked for the interrupt at least once, because otherwise it will throw a warning at boot time. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
e8dd074 lan78xx: Change LEDs to include 10Mb activity The default LED modes put 1000Mb/activity on orange and 100Mb/activity on green, but this leaves no indication for a 10Mb link. Change the defaults to put 10Mb/100Mb/activity on green. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
5fe19e9 lan78xx: Read initial EEE status from DT Add two new DT properties: * microchip,eee-enabled - a boolean to enable EEE * microchip,tx-lpi-timer - time in microseconds to wait before entering low power state Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
7728096 added capture_clear option to pps-gpio via dtoverlay (#2433) 29 August 2018, 12:31:06 UTC
3861885 staging: vchiq_arm: Remove unused variable This warning appears with GCC 6.4.0 from toolchains.bootlin.com: ../drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function ‘vchiq_open’: ../drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1735:7: warning: unused variable ‘ret’ [-Wunused-variable] int ret; ^~~ This variable's usage was removed by commit 3c980263c592 ("staging: vchiq_arm: Make debugfs failure non-fatal"), making it useless. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> 29 August 2018, 12:31:06 UTC
2e1cc67 sound: bcm: Fix memset dereference warning This warning appears with GCC 6.4.0 from toolchains.bootlin.com: ../sound/soc/bcm/allo-piano-dac-plus.c: In function ‘snd_allo_piano_dac_init’: ../sound/soc/bcm/allo-piano-dac-plus.c:711:30: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(glb_ptr, 0x00, sizeof(glb_ptr)); ^ Suggested-by: Phil Elwell <phil@raspberrypi.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> 29 August 2018, 12:31:06 UTC
eb27436 firmware/raspberrypi: Add a get_throttled sysfs file Under-voltage due to inadequate power supplies is a recurring problem for new Raspberry Pi users. There are visual indications that an under-voltage situation is occuring like blinking power led and a lightning icon on the desktop (not shown when using the vc4 driver), but for new users it's not obvious that this signifies a critical situation. This patch provides a twofold improvement to the situation: Firstly it logs under-voltage events to the kernel log. This provides information also for headless installations. Secondly it provides a sysfs file to read the value. This improves on 'vcgencmd' by providing change notification. Userspace can poll on the file and be notified of changes to the value. A script can poll the file and use dbus notification to put a windows on the desktop with information about the severity with a recommendation to change the power supply. A link to more information can also be provided. Only changes to the sticky bits are reported (cleared between readings). Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Prevent voltage low warnings from filling log Although the correct fix for low voltage warnings is to improve the power supply, the current implementation of the detection can fill the log if the warning happens freqently. This replaces the logging with slightly custom ratelimited logging. Signed-off-by: James Hughes <james.hughes@raspberrypi.org> Reduce log spam when mailbox call not implemented This changes the logging message when a mailbox call fails to the dev_dbg level. In addition, it fixes the low voltage detection logging code so that if the mailbox call doies fails, it logs at error level and flags so the call is no longer attempted. Signed-off-by: James Hughes <james.hughes@raspberrypi.org> 29 August 2018, 12:31:06 UTC
a83f929 sc16is7xx: Fix for multi-channel stall The SC16IS752 is a dual-channel device. The two channels are largely independent, but the IRQ signals are wired together as an open-drain, active low signal which will be driven low while either of the channels requires attention, which can be for significant periods of time until operations complete and the interrupt can be acknowledged. In that respect it is should be treated as a true level-sensitive IRQ. The kernel, however, needs to be able to exit interrupt context in order to use I2C or SPI to access the device registers (which may involve sleeping). Therefore the interrupt needs to be masked out or paused in some way. The usual way to manage sleeping from within an interrupt handler is to use a threaded interrupt handler - a regular interrupt routine does the minimum amount of work needed to triage the interrupt before waking the interrupt service thread. If the threaded IRQ is marked as IRQF_ONESHOT the kernel will automatically mask out the interrupt until the thread runs to completion. The sc16is7xx driver used to use a threaded IRQ, but a patch switched to using a kthread_worker in order to set realtime priorities on the handler thread and for other optimisations. The end result is non-threaded IRQ that schedules some work then returns IRQ_HANDLED, making the kernel think that all IRQ processing has completed. The work-around to prevent a constant stream of interrupts is to mark the interrupt as edge-sensitive rather than level-sensitive, but interpreting an active-low source as a falling-edge source requires care to prevent a total cessation of interrupts. Whereas an edge-triggering source will generate a new edge for every interrupt condition a level-triggering source will keep the signal at the interrupting level until it no longer requires attention; in other words, the host won't see another edge until all interrupt conditions are cleared. It is therefore vital that the interrupt handler does not exit with an outstanding interrupt condition, otherwise the kernel will not receive another interrupt unless some other operation causes the interrupt state on the device to be cleared. The existing sc16is7xx driver has a very simple interrupt "thread" (kthread_work job) that processes interrups on each channel in turn until there are no more. If both channels are active and the first channel starts interrupting while the handler for the second channel is running then it will not be detected and an IRQ stall ensues. This could be handled easily if there was a shared IRQ status register, or a convenient way to determine if the IRQ had been deasserted for any length of time, but both appear to be lacking. Avoid this problem (or at least make it much less likely to happen) by reducing the granularity of per-channel interrupt processing to one condition per iteration, only exiting the overall loop when both channels are no longer interrupting. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
f1f1a74 i2c-gpio: Also set bus numbers from reg property I2C busses can be assigned specific bus numbers using aliases in Device Tree - string properties where the name is the alias and the value is the path to the node. The current DT parameter mechanism does not allow property names to be derived from a parameter value in any way, so it isn't possible to generate unique or matching aliases for nodes from an overlay that can generate multiple instances, e.g. i2c-gpio. Work around this limitation (at least temporarily) by allowing the i2c adapter number to be initialised from the "reg" property if present. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
abd49b6 hack: cache: Fix linker error 29 August 2018, 12:31:06 UTC
6055453 vc4_fkms: Apply firmware overscan offset to hardware cursor 29 August 2018, 12:31:06 UTC
9b2785e drm/vc4: Add missing enable/disable vblank handlers in fkms. Fixes hang at boot in 4.14. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
bf79320 drm/vc4: Add FB modifier support to firmwarekms. Signed-off-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 11752d73488e08aaeb65fe8289a9c016acde26c2) 29 August 2018, 12:31:06 UTC
b41466d drm/vc4: Add support for setting DPMS in firmwarekms. This ensures that the screen goes blank during DPMS (screensaver), including the cursor. Planes don't necessarily get disabled during CRTC disable, so we need to be careful to not leave them on or turn them back on early. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
75cafd3 drm/vc4: Fix sending of page flip completion events in FKMS mode. In the rewrite of vc4_crtc.c for fkms, I dropped the part of the CRTC's atomic flush handler that moved the completion event from the proposed atomic state change to the CRTC's current state. That meant that when full screen pageflipping happened (glxgears -fullscreen in X, compton, por weston), the app would end up blocked firever waiting to draw its next frame. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
d785a75 drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was making to the firmware. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
f26f60b drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
ed87c8b drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
1952e46 raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. Signed-off-by: Eric Anholt <eric@anholt.net> 29 August 2018, 12:31:06 UTC
a9978d8 serial: 8250: bcm2835aux - suppress EPROBE_DEFER Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
094152a ARM: Activate FIQs to avoid __irq_startup warnings There is a new test in __irq_startup that the IRQ is activated, which hasn't been the case for FIQs since they bypass some of the usual setup. Augment enable_fiq to include a call to irq_activate to avoid the warning. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
e493630 ARM: bcm2835: Set Serial number and Revision The VideoCore bootloader passes in Serial number and Revision number through Device Tree. Make these available to userspace through /proc/cpuinfo. Mainline status: There is a commit in linux-next that standardize passing the serial number through Device Tree (string: /serial-number): ARM: 8355/1: arch: Show the serial number from devicetree in cpuinfo There was an attempt to do the same with the revision number, but it didn't get in: [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision Signed-off-by: Noralf Trønnes <noralf@tronnes.org> 29 August 2018, 12:31:06 UTC
e991df4 cgroup: Disable cgroup "memory" by default Some Raspberry Pis have limited RAM and most users won't use the cgroup memory support so it is disabled by default. Enable with: cgroup_enable=memory See: https://github.com/raspberrypi/linux/issues/1950 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
4351d67 Tidy up of the ft5406 driver to use DT (#2189) Driver was using a fixed resolution, this commit adds touchscreen size, and coordinate flip and swap features via device tree overlays. Adds overrides so the VC4 can adjust the DT parameters appropriately; there is a newer version of the VC4 side driver that can now set up the appropriate DT values if required. Signed-off-by: James Hughes <james.hughes@raspberrypi.org> 29 August 2018, 12:31:06 UTC
f3e6ce7 mcp2515: Use DT-supplied interrupt flags The MCP2515 datasheet clearly describes a level-triggered interrupt pin. Therefore the receiving interrupt controller must also be configured for level-triggered operation otherwise there is a danger of a missed interrupt condition blocking all subsequent interrupts. The ONESHOT flag ensures that the interrupt is masked until the threaded interrupt handler exits. Rather than change the flags globally (they must have worked for at least one user), allow the flags to be overridden from Device Tree in the event that the device has a DT node. See: https://github.com/raspberrypi/linux/issues/2175 https://github.com/raspberrypi/linux/issues/2263 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
0e59f7a AXI performance monitor driver (#2222) Uses the debugfs I/F to provide access to the AXI bus performance monitors. Requires the new mailbox peripheral access for access to the VPU performance registers, system bus access is done using direct register reads. Signed-off-by: James Hughes <james.hughes@raspberrypi.org> 29 August 2018, 12:31:06 UTC
529b1aa cache: export clean and invalidate 29 August 2018, 12:31:06 UTC
83fbb7d bcm2835-aux: Add aux interrupt controller The AUX block has a shared interrupt line with a register indicating which devices have active IRQs. Expose this as a nested interrupt controller to avoid sharing problems. See: https://github.com/raspberrypi/linux/issues/1484 https://github.com/raspberrypi/linux/issues/1573 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
7fe5305 build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. Signed-off-by: Khem Raj <raj.khem@gmail.com> 29 August 2018, 12:31:06 UTC
e0d9432 ARM64: Force hardware emulation of deprecated instructions. 29 August 2018, 12:31:06 UTC
a38025e ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced at a time. This reduces the need for FIQ. Signed-off-by: Michael Zoran <mzoran@crowfest.net> 29 August 2018, 12:31:06 UTC
4409adb ARM64/DWC_OTG: Port dwc_otg driver to ARM64 In ARM64, the FIQ mechanism used by this driver is not current implemented. As a workaround, reqular IRQ is used instead of FIQ. In a separate change, the IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced at a time. This reduces the need for FIQ. Tests Run: This mechanism is most likely to break when multiple USB devices are attached at the same time. So the system was tested under stress. Devices: 1. USB Speakers playing back a FLAC audio through VLC at 96KHz.(Higher then typically, but supported on my speakers). 2. sftp transferring large files through the buildin ethernet connection which is connected through USB. 3. Keyboard and mouse attached and being used. Although I do occasionally hear some glitches, the music seems to play quite well. Signed-off-by: Michael Zoran <mzoran@crowfest.net> 29 August 2018, 12:31:06 UTC
ef49fcc Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. ARM64: Modify default config to get raspbian to boot (#1686) 1. Enable emulation of deprecated instructions. 2. Enable ARM 8.1 and 8.2 features which are not detected at runtime. 3. Switch the default governer to powersave. 4. Include the watchdog timer driver in the kernel image rather then a module. Tested with raspbian-jessie 2016-09-23. ARM64: Make it work again on 4.9 (#1790) * Invoke the dtc compiler with the same options used in arm mode. * ARM64 now uses the bcm2835 platform just like ARM32. * ARM64: Update bcmrpi3_defconfig Signed-off-by: Michael Zoran <mzoran@crowfest.net> Update arm64 Makefile to compile bcm2710 dtb file The line 'dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb' has been copied from previous rpi-4.14.y version into rpi-4.15.y arch/arm64/boot/dts/broadcom/Makefile to restore compilation of bcm2710-rpi-3-b.dtb device tree blob under 'make ARCH=arm64 dtbs' command. 29 August 2018, 12:31:06 UTC
6393747 config: Add default configs 29 August 2018, 12:31:06 UTC
103ed29 hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. 29 August 2018, 12:31:06 UTC
5a7bc6a brcmfmac: request_firmware_direct is quieter Since we don't have any CLM-capable firmware yet, silence the warning of its absence by using request_firmware_direct, which should also be marginally quicker. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
2f0dd16 brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
8378069 brcm: adds support for BCM43341 wifi brcmfmac: Disable power management Disable wireless power saving in the brcmfmac WLAN driver. This is a temporary measure until the connectivity loss resulting from power saving is resolved. Signed-off-by: Phil Elwell <phil@raspberrypi.org> brcmfmac: Use original country code as a fallback Commit 73345fd212980d2e28a5c6d83801c903bd773680: brcmfmac: Configure country code using device specific settings prevents region codes from working on devices that lack a region code translation table. In the event of an absent table, preserve the old behaviour of using the provided code as-is. Signed-off-by: Phil Elwell <phil@raspberrypi.org> brcmfmac: Plug memory leak in brcmf_fill_bss_param See: https://github.com/raspberrypi/linux/issues/1471 Signed-off-by: Phil Elwell <phil@raspberrypi.org> brcmfmac: do not use internal roaming engine by default Some evidence of curing disconnects with this disabled, so make it a default. Can be overridden with module parameter roamoff=0 See: http://projectable.me/optimize-my-pi-wi-fi/ brcmfmac: Change stop_ap sequence Patch from Broadcom/Cypress to resolve a customer error Signed-off-by: Phil Elwell <phil@raspberrypi.org> 29 August 2018, 12:31:06 UTC
back to top