From 4f954acaea5f65ff388b3b12723805c6779f223c Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Sun, 22 Sep 2019 09:26:16 -0700 Subject: [PATCH 01/10] ipq40xx: enable hw-crypto detection of qce driver --- ...add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch | 31 +++++++++++++++++++ ...add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch | 31 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 target/linux/ipq40xx/patches-4.14/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch create mode 100644 target/linux/ipq40xx/patches-4.19/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch diff --git a/target/linux/ipq40xx/patches-4.14/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch b/target/linux/ipq40xx/patches-4.14/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch new file mode 100644 index 0000000000..58b0ebf5e7 --- /dev/null +++ b/target/linux/ipq40xx/patches-4.14/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch @@ -0,0 +1,31 @@ +From: Eneas U de Queiroz +Subject: [PATCH] crypto: qce - add CRYPTO_ALG_KERN_DRIVER_ONLY flag + +Set the CRYPTO_ALG_KERN_DRIVER_ONLY flag to all algorithms exposed by +the qce driver, since they are all hardware accelerated, accessible +through a kernel driver only, and not available directly to userspace. + +Signed-off-by: Eneas U de Queiroz + +--- a/drivers/crypto/qce/ablkcipher.c ++++ b/drivers/crypto/qce/ablkcipher.c +@@ -373,7 +373,7 @@ static int qce_ablkcipher_register_one(c + + alg->cra_priority = 300; + alg->cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC | +- CRYPTO_ALG_NEED_FALLBACK; ++ CRYPTO_ALG_NEED_FALLBACK | CRYPTO_ALG_KERN_DRIVER_ONLY; + alg->cra_ctxsize = sizeof(struct qce_cipher_ctx); + alg->cra_alignmask = 0; + alg->cra_type = &crypto_ablkcipher_type; +--- a/drivers/crypto/qce/sha.c ++++ b/drivers/crypto/qce/sha.c +@@ -526,7 +526,7 @@ static int qce_ahash_register_one(const + base = &alg->halg.base; + base->cra_blocksize = def->blocksize; + base->cra_priority = 300; +- base->cra_flags = CRYPTO_ALG_ASYNC; ++ base->cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY; + base->cra_ctxsize = sizeof(struct qce_sha_ctx); + base->cra_alignmask = 0; + base->cra_module = THIS_MODULE; diff --git a/target/linux/ipq40xx/patches-4.19/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch b/target/linux/ipq40xx/patches-4.19/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch new file mode 100644 index 0000000000..c8aa9f4c95 --- /dev/null +++ b/target/linux/ipq40xx/patches-4.19/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch @@ -0,0 +1,31 @@ +From: Eneas U de Queiroz +Subject: [PATCH] crypto: qce - add CRYPTO_ALG_KERN_DRIVER_ONLY flag + +Set the CRYPTO_ALG_KERN_DRIVER_ONLY flag to all algorithms exposed by +the qce driver, since they are all hardware accelerated, accessible +through a kernel driver only, and not available directly to userspace. + +Signed-off-by: Eneas U de Queiroz + +--- a/drivers/crypto/qce/ablkcipher.c ++++ b/drivers/crypto/qce/ablkcipher.c +@@ -370,7 +370,7 @@ static int qce_ablkcipher_register_one(c + + alg->cra_priority = 300; + alg->cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC | +- CRYPTO_ALG_NEED_FALLBACK; ++ CRYPTO_ALG_NEED_FALLBACK | CRYPTO_ALG_KERN_DRIVER_ONLY; + alg->cra_ctxsize = sizeof(struct qce_cipher_ctx); + alg->cra_alignmask = 0; + alg->cra_type = &crypto_ablkcipher_type; +--- a/drivers/crypto/qce/sha.c ++++ b/drivers/crypto/qce/sha.c +@@ -503,7 +503,7 @@ static int qce_ahash_register_one(const + base = &alg->halg.base; + base->cra_blocksize = def->blocksize; + base->cra_priority = 300; +- base->cra_flags = CRYPTO_ALG_ASYNC; ++ base->cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY; + base->cra_ctxsize = sizeof(struct qce_sha_ctx); + base->cra_alignmask = 0; + base->cra_module = THIS_MODULE; From 5161e816cc82cc444033ffcdffe3570eb05eeea2 Mon Sep 17 00:00:00 2001 From: coolsnowwolf <31687149+coolsnowwolf@users.noreply.github.com> Date: Tue, 24 Sep 2019 21:28:57 +0800 Subject: [PATCH 02/10] fix delete_all fuction in new luci --- .../luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua index d6896fb177..2aedf4bf2f 100644 --- a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua +++ b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua @@ -47,6 +47,7 @@ o.inputstyle = "reset" o.description = string.format(translate("Server Count") .. ": %d", server_count) o.write = function() uci:delete_all("shadowsocksr", "servers", function(s) return true end) + uci:save("shadowsocksr") luci.sys.call("uci commit shadowsocksr && /etc/init.d/shadowsocksr stop") luci.http.redirect(luci.dispatcher.build_url("admin", "services", "shadowsocksr", "servers")) end From eb05272f0190f93f80b3fe4e05451695e621fb13 Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Tue, 24 Sep 2019 09:44:15 -0700 Subject: [PATCH 03/10] kernel: bump to 4.9.194, 4.14.146, 4.17.75 --- include/kernel-version.mk | 12 +- package/lean/luci-app-ssr-plus/Makefile | 2 +- .../patches-4.9/300-add-ac49x-platform.patch | 2 +- ...otentially-missed-IRQ-handling-durin.patch | 52 + .../patches-4.14/500-MIPS-fw-myloader.patch | 2 +- ...PS-ath79-add-support-for-QCA953x-SoC.patch | 8 +- ...PS-ath79-add-support-for-QCA956x-SoC.patch | 6 +- ...0-MIPS-ath79-fix-chained-irq-disable.patch | 10 +- .../952-qca955x-enable-ddr-wb-flush.patch | 49 + .../910-unaligned_access_hacks.patch | 4 +- .../base-files/etc/board.d/02_network | 1 + .../lib/preinit/05_set_preinit_iface_brcm2708 | 1 + .../base-files/lib/preinit/79_move_config | 4 +- .../base-files/lib/upgrade/platform.sh | 4 +- target/linux/brcm2708/image/Makefile | 26 +- .../brcm2708/image/config-bcm2711-arm64.txt | 11 - target/linux/brcm2708/image/config.txt | 6 + target/linux/brcm2708/image/distroconfig.txt | 14 + target/linux/brcm2708/modules/sound.mk | 20 + ...vert-702b94bff3c50542a6e4ab9a4f4cef0.patch | 4 +- ...smsx95xx-fix-crimes-against-truesize.patch | 4 +- ...ental-Enable-turbo_mode-and-packetsi.patch | 4 +- ...ow-mac-address-to-be-set-in-smsc95xx.patch | 4 +- ...e_resource-against-resources-without.patch | 4 +- ...ent-spurious-interrupts-and-trap-the.patch | 4 +- ...cm2836-Avoid-Invalid-trigger-warning.patch | 4 +- ...0008-irqchip-bcm2835-Add-FIQ-support.patch | 4 +- ...hip-irq-bcm2835-Add-2836-FIQ-support.patch | 4 +- ...v-compatible-string-to-silence-warni.patch | 4 +- ...5-Support-pin-groups-other-than-7-11.patch | 4 +- ...i-bcm2835-Disable-forced-software-CS.patch | 4 +- ...-0013-spi-bcm2835-Remove-unused-code.patch | 4 +- ...5-Load-driver-early-and-support-lega.patch | 4 +- ...0015-firmware-Updated-mailbox-header.patch | 4 +- ...rtc-Add-SPI-alias-for-pcf2123-driver.patch | 4 +- ...835-Support-setting-reboot-partition.patch | 4 +- ...-off-rather-than-busy-spinning-when-.patch | 4 +- ...-Make-RASPBERRYPI_POWER-depend-on-PM.patch | 4 +- ...cks-early-during-the-boot-process-so.patch | 4 +- ...void-initialising-if-already-enabled.patch | 4 +- ...-dtco-targets-when-filtering-symbols.patch | 4 +- ...Mark-used-PLLs-and-dividers-CRITICAL.patch | 4 +- ...lk-bcm2835-Add-claim-clocks-property.patch | 4 +- ...35-Read-max-core-clock-from-firmware.patch | 4 +- ...-GPIO-clocks-enabled-at-boot-as-crit.patch | 4 +- ...Demote-deferral-errors-to-INFO-level.patch | 4 +- .../950-0028-Update-vfpmodule.c.patch | 4 +- ...0-0029-i2c-bcm2835-Add-debug-support.patch | 4 +- ...-0030-mm-Remove-the-PFN-busy-warning.patch | 4 +- ...1-ASoC-Add-prompt-for-ICS43432-codec.patch | 4 +- ...bcm2836-Remove-regmap-and-syscon-use.patch | 4 +- ...8xx-Enable-LEDs-and-auto-negotiation.patch | 4 +- ...1-Don-t-use-DT-aliases-for-numbering.patch | 4 +- ...0035-amba_pl011-Round-input-clock-up.patch | 4 +- ...-Insert-mb-for-correct-FIFO-handling.patch | 4 +- ...Add-cts-event-workaround-DT-property.patch | 4 +- ...Set-base-to-0-give-expected-gpio-num.patch | 4 +- ...0039-Main-bcm2708-bcm2709-linux-port.patch | 4 +- .../950-0040-Add-dwc_otg-driver.patch | 4 +- .../950-0041-bcm2708-framebuffer-driver.patch | 4 +- ...nsole-framebuffer-imageblit-function.patch | 4 +- ...43-dmaengine-Add-support-for-BCM2708.patch | 4 +- ...044-MMC-added-alternative-MMC-driver.patch | 4 +- ...dhost-driver-and-an-overlay-to-enabl.patch | 4 +- ...m-driver-for-querying-firmware-memor.patch | 4 +- ...re-shared-memory-service-for-BCM2835.patch | 4 +- ...device-for-rootless-user-GPIO-access.patch | 4 +- .../950-0049-Add-SMI-driver.patch | 4 +- ...-use-clock-manager-and-fix-reload-is.patch | 4 +- .../950-0051-Add-SMI-NAND-driver.patch | 4 +- .../950-0052-Add-cpufreq-driver.patch | 4 +- ...950-0053-Add-Chris-Boot-s-i2c-driver.patch | 4 +- ...0-0054-char-broadcom-Add-vcio-module.patch | 4 +- ...irmware-bcm2835-Support-ARCH_BCM270x.patch | 4 +- ...limg-and-knlinfo-scripts-from-tools-.patch | 4 +- ...BCM2708-Add-core-Device-Tree-support.patch | 4 +- ...wr_led-and-the-required-input-trigge.patch | 4 +- ...50-0059-fbdev-add-FBIOCOPYAREA-ioctl.patch | 4 +- ...dded-Device-IDs-for-August-DVB-T-205.patch | 4 +- ...ouchscreen-driver-for-pi-LCD-display.patch | 4 +- ...o_user-and-__copy_from_user-performa.patch | 4 +- ...off-Allow-it-to-work-on-Raspberry-Pi.patch | 4 +- ...d-Raspberry-Pi-Sense-HAT-core-driver.patch | 4 +- ...12x-implement-set_tdm_slot-interface.patch | 4 +- ...50-0066-ASoC-Add-support-for-Rpi-DAC.patch | 4 +- ...-Sound-Card-support-for-Raspberry-Pi.patch | 4 +- ...0068-Added-support-for-HiFiBerry-DAC.patch | 4 +- ...-HiFiBerry-Amp-amplifier-add-on-boar.patch | 4 +- .../950-0070-Add-driver-for-rpi-proto.patch | 4 +- ...dd-Support-for-JustBoom-Audio-boards.patch | 4 +- ...r.net-Pi-soundcard-with-low-jitter-a.patch | 4 +- ...RA-DigiDAC1-soundcard-using-WM8741-W.patch | 4 +- ...port-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch | 4 +- ...oards-Initial-2-channel-stereo-suppo.patch | 4 +- ...Allo-Piano-DAC-2.1-plus-add-on-board.patch | 4 +- ...Allo-Boss-DAC-add-on-board-for-Raspb.patch | 4 +- ...upport-for-Blokas-Labs-pisound-board.patch | 4 +- ...d-driver-for-Cirrus-Logic-Audio-Card.patch | 4 +- ...t-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch | 4 +- ...ort-for-Fe-Pi-audio-sound-card.-1867.patch | 4 +- ...the-AudioInjector.net-Octo-sound-car.patch | 4 +- ...upport-for-Google-voiceHAT-soundcard.patch | 4 +- ...iver-and-overlay-for-Allo-Katana-DAC.patch | 4 +- ...04-MCLK-configuration-options-32-bit.patch | 4 +- ...ric-RPI-driver-for-simple-soundcards.patch | 4 +- ...onfig-and-Makefile-for-sound-soc-bcm.patch | 4 +- ...reate-a-generic-Pi-Hat-WM8804-driver.patch | 4 +- ...lay-add-backlight-driver-and-overlay.patch | 4 +- ...bcm2835-virtgpio-Virtual-GPIO-driver.patch | 4 +- ...n-mainline-source-for-rtl8192cu-wlan.patch | 4 +- ...092-OF-DT-Overlay-configfs-interface.patch | 4 +- ...-brcm-adds-support-for-BCM43341-wifi.patch | 4 +- ...rcmfmac-Mute-expected-startup-errors.patch | 4 +- ...i_h5-Don-t-send-conf_req-when-ACTIVE.patch | 4 +- .../950-0096-config-Add-default-configs.patch | 4 +- ...uration-and-device-tree-differences..patch | 4 +- ...DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch | 4 +- ...und-Robin-dispatch-IRQs-between-CPUs.patch | 4 +- ...ware-emulation-of-deprecated-instruc.patch | 4 +- ...rules-for-.dtbo-files-for-dts-overla.patch | 4 +- ...02-cache-export-clean-and-invalidate.patch | 4 +- ...-AXI-performance-monitor-driver-2222.patch | 4 +- ...2515-Use-DT-supplied-interrupt-flags.patch | 4 +- ...-of-the-ft5406-driver-to-use-DT-2189.patch | 4 +- ...oup-Disable-cgroup-memory-by-default.patch | 4 +- ...m2835-Set-Serial-number-and-Revision.patch | 4 +- ...FIQs-to-avoid-__irq_startup-warnings.patch | 4 +- ...250-bcm2835aux-suppress-EPROBE_DEFER.patch | 4 +- ...ware-Export-the-general-transaction-.patch | 4 +- ...de-for-using-the-closed-firmware-for.patch | 4 +- ...he-primary-and-cursor-planes-in-fkms.patch | 4 +- ...DEBUG_ATOMIC-for-the-insides-of-fkms.patch | 4 +- ...ing-of-page-flip-completion-events-i.patch | 4 +- ...port-for-setting-DPMS-in-firmwarekms.patch | 4 +- ...d-FB-modifier-support-to-firmwarekms.patch | 4 +- ...ing-enable-disable-vblank-handlers-i.patch | 4 +- ...irmware-overscan-offset-to-hardware-.patch | 4 +- ...ing-about-vblank-interrupts-before-D.patch | 4 +- ..._CURSOR_INFO-when-the-cursor-content.patch | 4 +- ...uplicate-primary-cursor-fields-from-.patch | 4 +- .../950-0122-vc4_firmware_kms-fix-build.patch | 4 +- ...950-0123-hack-cache-Fix-linker-error.patch | 4 +- ...so-set-bus-numbers-from-reg-property.patch | 4 +- ...d-bcm-Fix-memset-dereference-warning.patch | 4 +- ...ear-option-to-pps-gpio-via-dtoverlay.patch | 4 +- ...78xx-Read-initial-EEE-status-from-DT.patch | 4 +- ...fault-mouse-polling-interval-to-60Hz.patch | 4 +- ...-t-prevent-IRQ-usage-of-output-GPIOs.patch | 8 +- ...to-export-gpio-used-by-gpio-poweroff.patch | 4 +- ...pberrypi-Notify-firmware-of-a-reboot.patch | 4 +- ...bcm2835-Calc.-FIQ_START-at-boot-time.patch | 4 +- ...fs-Use-of_overlay_fdt_apply-API-call.patch | 4 +- ...Disable-TCP-Segmentation-Offload-TSO.patch | 4 +- ...c-Re-enable-firmware-roaming-support.patch | 4 +- ...e-enabling-of-EEE-into-PHY-init-code.patch | 4 +- ...04_services-Derive-g_cache_line_size.patch | 4 +- .../950-0138-Add-rpi-poe-fan-driver.patch | 4 +- ...SPI_DRV-should-select-DVB_CXD2880-wi.patch | 4 +- ...0140-bcm2835-interpolate-audio-delay.patch | 4 +- ...mplement-a-DMA-pool-for-small-bulk-t.patch | 4 +- ...-Use-upstreamed-GPIO-expander-driver.patch | 4 +- ...0143-overlays-Fix-a-few-dtc-warnings.patch | 4 +- ...ble-txp-interrupt-unless-using-vc4-k.patch | 4 +- ...-Enable-Raspberry-Pi-voltage-monitor.patch | 4 +- ...i-Prevent-voltage-low-warnings-from-.patch | 4 +- ...rypi-Add-backward-compatible-get_thr.patch | 4 +- ...irmware-call-buffer-size-to-48-bytes.patch | 4 +- ...is7xx-Don-t-spin-if-no-data-received.patch | 4 +- ...ld-bcmrpi3_defconfig-to-fix-warnings.patch | 4 +- ...able-ARP-offloading-when-promiscuous.patch | 4 +- ...onfig-enable-Audio-Graph-Card-module.patch | 4 +- .../950-0153-config-Add-IPVLAN-module.patch | 4 +- .../950-0154-config-Add-I2C_TINY_USB-m.patch | 4 +- ...-Add-device-tree-overlay-for-HD44780.patch | 4 +- ...0156-Add-hd44780-module-to-defconfig.patch | 4 +- ...s-Add-addr-parameter-to-i2c-rtc-gpio.patch | 4 +- ...the-18-bit-DPI-pinmux-to-the-RPI-DTs.patch | 4 +- ...overlay-for-the-Adafruit-Kippah-with.patch | 4 +- ...stale-notes-about-vc4-s-CMA-alignmen.patch | 4 +- ...e-GPIO-CSs-honour-the-SPI_NO_CS-flag.patch | 4 +- ...Pi-CM3-dts-to-arm64-mimic-the-RPi-3B.patch | 4 +- ...audioinjector.net-ultra-soundcard.-2.patch | 4 +- ...oC-cs4265-Add-a-S-PDIF-enable-switch.patch | 4 +- ...s4265-Add-native-32bit-I2S-transport.patch | 4 +- ...0-0166-configs-Add-SENSOR_GPIO_FAN-m.patch | 4 +- ...0167-BCM270X_DT-Add-gpio-fan-overlay.patch | 4 +- ...-driver-for-BigBen-Interactive-PS3OF.patch | 4 +- ...9-configs-Add-CONFIG_HID_BIGBEN_FF-m.patch | 4 +- ...SoC-cs4265-Add-a-MIC-pre.-route-2696.patch | 4 +- ...171-Update-gpio-fan-overlay.dts-2711.patch | 4 +- ...step_wise-add-support-for-hysteresis.patch | 4 +- ...step_wise-avoid-throttling-at-hyster.patch | 4 +- ...just-rpi-poe-fan-overlay-trip-points.patch | 4 +- ...dd-overrides-for-PoE-HAT-fan-control.patch | 4 +- ...erlays-Add-gpio-no-bank0-irq-overlay.patch | 4 +- ...-2017-model-device-tree-overlay-2721.patch | 4 +- ...50-0178-config-Add-CONFIG_USBIP_VUDC.patch | 4 +- ...sdhost-Recover-from-MMC_SEND_EXT_CSD.patch | 4 +- ...i3-disable-bt-Clear-out-bt_pins-node.patch | 4 +- ...23-properly-handle-oscillator-stop-b.patch | 4 +- ...950-0182-Update-issue-templates-2736.patch | 4 +- ...rt0-return-GPIOs-14-and-15-to-inputs.patch | 4 +- ...bcm2835-sdhost-Fix-warnings-on-arm64.patch | 4 +- ...0185-Fix-warning-in-bcm2835-smi-nand.patch | 4 +- ...ov5647-Add-set_fmt-and-get_fmt-calls.patch | 4 +- ...ion-DT-add-device-tree-for-PWDN-cont.patch | 4 +- ...dia-ov5647-Add-support-for-PWDN-GPIO.patch | 4 +- ...-support-for-non-continuous-clock-mo.patch | 4 +- ...-tc358743-Increase-FIFO-level-to-374.patch | 4 +- ...ix-connected-active-CSI-2-lane-repor.patch | 4 +- ...-Add-support-for-972Mbit-s-link-freq.patch | 4 +- ...743-Check-I2C-succeeded-during-probe.patch | 4 +- ...180-Default-to-the-first-valid-input.patch | 4 +- ...v7180-Add-YPrPb-support-for-ADV7282M.patch | 4 +- ...Add-helper-defines-for-printing-FOUR.patch | 4 +- ...-Document-BCM283x-CSI2-CCP2-receiver.patch | 4 +- ...icam-Driver-for-CCP2-CSI2-camera-int.patch | 4 +- ...-Add-entry-for-BCM2835-Unicam-driver.patch | 4 +- ...-Unicam-driver-and-various-sources-o.patch | 4 +- ...-Nasty-hack-to-allow-input-selection.patch | 4 +- ...-DT-Add-CSI-nodes-to-the-device-tree.patch | 4 +- ...SI-defines-for-all-the-downstream-Pi.patch | 4 +- ...erlays-for-ADV7282M-OV5647-and-TC358.patch | 4 +- ...upport-for-ADV7280-M-ADV7281-M-and-A.patch | 4 +- ...-firmware-calls-now-use-kmalloc-2749.patch | 4 +- ...-dereference-in-the-import_dmabuf-er.patch | 4 +- .../950-0208-Update-README-2750.patch | 4 +- ...emove-superfluous-address-size-cells.patch | 4 +- ...04-MCLK-configuration-options-32-bit.patch | 4 +- ...soundcard-drop-PWRDN-register-writes.patch | 4 +- ...card-configure-wm8804-clocks-only-on.patch | 4 +- ...2c-on-0-1-option-to-TC358743-ADV7282.patch | 4 +- ...214-overlays-Update-upstream-overlay.patch | 4 +- ...2708_DT-update-firmware-node-binding.patch | 4 +- ...CM2710_DT-fix-gpio-expander-bindings.patch | 4 +- ...m283x-The-lan7515-PHY-node-has-moved.patch | 4 +- ...xx-Support-auto-downshift-to-100Mb-s.patch | 4 +- ...s-Document-microchip-downshift-after.patch | 4 +- ...cm283x-Set-downshift-after-for-Pi-3B.patch | 4 +- ...0X_DT-Add-new-Ethernet-DT-parameters.patch | 4 +- ...rk-eth_downshift_after-as-an-integer.patch | 4 +- ...Q-Fix-bad-mode-in-data-abort-handler.patch | 4 +- ...lirc-rpi-Remove-in-favour-of-gpio-ir.patch | 4 +- ...icam-Pass-through-the-colorspace-on-.patch | 4 +- ...eturn-an-appropriate-colorspace-from.patch | 4 +- ...cm2835-camera-fix-module-autoloading.patch | 4 +- ...5-camera-Move-module-info-to-the-end.patch | 4 +- ...m-Fix-platform-device-unregistration.patch | 4 +- ...q_arm-Fix-camera-device-registration.patch | 4 +- ...m-Register-a-platform-device-for-the.patch | 4 +- ...ng-bcm2835-audio-Enable-compile-test.patch | 4 +- ...audio-use-module_platform_driver-mac.patch | 4 +- ...ing-bcm2835-audio-Drop-DT-dependency.patch | 4 +- ...camera-Provide-more-specific-probe-e.patch | 4 +- ...camera-Add-hint-about-possible-fault.patch | 4 +- ...Don-t-probe-if-no-camera-is-detected.patch | 4 +- ...m-Improve-error-handling-on-loading-.patch | 4 +- ...camera-Do-not-bulk-receive-from-serv.patch | 4 +- ...camera-Ensure-H264-header-bytes-get-.patch | 4 +- ...camera-Correctly-denote-key-frames-i.patch | 4 +- ...cm2835-camera-Return-early-on-errors.patch | 4 +- ...5-camera-Remove-dead-email-addresses.patch | 4 +- ...-camera-Fix-comment-style-violations.patch | 4 +- ...-camera-Fix-spacing-around-operators.patch | 4 +- ...5-camera-Reduce-length-of-enum-names.patch | 4 +- ...camera-Fix-multiple-line-dereference.patch | 4 +- ...cm2835-camera-Fix-brace-style-issues.patch | 4 +- ...camera-Fix-missing-lines-between-ite.patch | 4 +- ...camera-Fix-logical-continuation-spli.patch | 4 +- ...camera-Fix-open-parenthesis-alignmen.patch | 4 +- ...camera-Set-sequence-number-correctly.patch | 4 +- ...camera-Ensure-timestamps-never-go-ba.patch | 4 +- ...camera-Avoid-unneeded-internal-decla.patch | 4 +- ...camera-Add-multiple-inclusion-protec.patch | 4 +- ...camera-Unify-header-inclusion-define.patch | 4 +- ...2835_defconfig-Enable-bcm2835-camera.patch | 4 +- ...camera-Fix-alignment-should-match-op.patch | 4 +- ...camera-Fix-multiple-assignments-shou.patch | 4 +- ...camera-Fix-up-all-formatting-in-mmal.patch | 4 +- ...camera-Use-enums-for-max-value-in-co.patch | 4 +- ...camera-Correct-V4L2_CID_COLORFX_CBCR.patch | 4 +- ...camera-Remove-amend-some-obsolete-co.patch | 4 +- ...vices-Split-vchiq-mmal-into-a-module.patch | 4 +- ...iq-Allocate-and-free-components-as-r.patch | 4 +- ...chiq-Avoid-use-of-bool-in-structures.patch | 4 +- ...hiq-Make-timeout-a-defined-parameter.patch | 4 +- ...iq-Make-a-mmal_buf-struct-for-passin.patch | 4 +- ...chiq-Add-support-for-event-callbacks.patch | 4 +- ...vices-Support-sending-data-to-MMAL-p.patch | 4 +- ...vices-Fixup-vchiq-mmal-include-order.patch | 4 +- ...04_services-Add-new-vc-sm-cma-driver.patch | 4 +- ...cma-Fixup-driver-for-older-VCHI-APIs.patch | 4 +- ...vices-Use-vc-sm-cma-to-support-zero-.patch | 4 +- ...2-Allow-exporting-of-a-struct-dmabuf.patch | 4 +- ...services-Add-a-V4L2-M2M-codec-driver.patch | 4 +- ...m-Register-bcm2835-codec-as-a-platfo.patch | 4 +- ...m-Register-vcsm-cma-as-a-platform-dr.patch | 4 +- ...m2835_defconfig-Enable-bcm2835-codec.patch | 4 +- ...g-Add-bcm2835-codec-to-Pi-defconfigs.patch | 4 +- ...camera-Fix-stride-on-RGB3-BGR3-forma.patch | 4 +- ...w-reqbufs-0-with-in-use-MMAP-buffers.patch | 4 +- ...pm-Make-SECURITYFS-a-weak-dependency.patch | 4 +- ...PI-support-for-TPM1.2-and-TPM2.0-chi.patch | 4 +- ...ay-for-SLB9760-Iridium-LetsTrust-TPM.patch | 4 +- ...chiq_arm-Register-a-platform-device-.patch | 4 +- ...ing-bcm2835-audio-Drop-DT-dependency.patch | 4 +- ...driver-for-3Dlab-Nano-soundcard-2758.patch | 4 +- ...date-README-with-removal-of-lirc-rpi.patch | 4 +- ...camera-Check-the-error-for-REPEAT_SE.patch | 4 +- ...nge-default-pull-configuration-to-up.patch | 4 +- ...rypi-Report-the-fw-variant-during-pr.patch | 4 +- ...rypi-Report-the-fw-git-hash-during-p.patch | 4 +- ...-broadcom-Enable-fixups-for-overlays.patch | 4 +- ...is7xx-Fix-for-Unexpected-interrupt-8.patch | 4 +- ...-audio-fix-sgtl5000-compatible-strin.patch | 4 +- ...add-dereference-to-fix-DMA-transfers.patch | 4 +- ...e-link-events-to-minimize-poll-storm.patch | 4 +- ...t-for-AudioSense-Pi-add-on-soundcard.patch | 4 +- ...evice-tree-support-for-AudioSense-Pi.patch | 4 +- ...nfigs-Add-CONFIG_SND_AUDIOSENSE_PI-m.patch | 4 +- ...50-0302-configs-Add-CONFIG_USB_TMC-m.patch | 4 +- ...lays-sdio-Add-enhanced-1-bit-support.patch | 4 +- ...with-port_addr-assignment-for-single.patch | 4 +- ...50-0305-configs-Add-CONFIG_USB_UAS-m.patch | 4 +- ...river-for-the-HiFiBerry-DAC-ADC-2694.patch | 4 +- ...-on-the-pwmchip-device-upon-channel.patch} | 4 +- ...dd-ssd1306-overlay-for-OLED-display.patch} | 4 +- ...rlays-mcp23017-Support-the-MCP23008.patch} | 4 +- ...0-0310-overlays-Add-mcp342x-overlay.patch} | 4 +- ...char-vcio-Add-compat-ioctl-handling.patch} | 4 +- ...-probe-if-rpi_firmware-is-not-found.patch} | 4 +- ...q-Fix-client_component-for-64-bit-k.patch} | 4 +- ...amera-Add-sanity-checks-for-queue_s.patch} | 4 +- ...amera-Set-the-field-value-within-ea.patch} | 4 +- ...x-up-compat-ioctls-for-64bit-kernel.patch} | 4 +- ...-vc_mem-Fix-all-coding-style-issues.patch} | 4 +- ...bcm2835-Use-zd-when-printing-size_t.patch} | 4 +- ...rpi_sense_core-of-compatible-string.patch} | 4 +- ..._kms-Fix-up-64-bit-compile-warnings.patch} | 4 +- ...Clear-build-warning-on-64-bit-build.patch} | 4 +- ...ys-Correct-DT-handling-camera-GPIOs.patch} | 4 +- ...ov5647-Use-gpiod_set_value_cansleep.patch} | 4 +- ...cam-Power-on-subdev-on-open-release.patch} | 4 +- ...ector-octo-revert-to-dummy-supplies.patch} | 4 +- ...amera-Correct-ctrl-min-max-step-def.patch} | 4 +- ...odec-variable-vb2-may-be-used-unini.patch} | 4 +- ...odec-Fix-potentially-uninitialised-.patch} | 4 +- ...bcm2708_fb-Add-compat_ioctl-support.patch} | 4 +- ...08_fb-Fix-warnings-on-64-bit-builds.patch} | 4 +- ...708_fb-Clean-up-coding-style-issues.patch} | 4 +- ...a-Add-support-for-per-channel-flags.patch} | 4 +- ...-the-DISDEBUG-flag-for-SD-transfers.patch} | 4 +- ...mplement-the-digital_mute-interface.patch} | 4 +- ...a-double-unlock-in-pcm512x_digital_.patch} | 4 +- ...-up-build-warnings-on-64bit-kernels.patch} | 4 +- ...ma-allocation-for-mphi-dummy_send-b.patch} | 4 +- ...-Set-up-dma-ranges-on-child-devices.patch} | 4 +- ...vc-sm-cma-Correct-DMA-configuration.patch} | 4 +- ...-Use-a-void-pointer-as-the-handle-w.patch} | 4 +- ...g-vc-sm-cma-Fix-up-for-64bit-builds.patch} | 4 +- ...m-and-subdevices-to-bcmrpi3_defconf.patch} | 4 +- ...-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch} | 4 +- ...2-codec-driver-to-bcmrpi3_defconfig.patch} | 4 +- ...-IPVLAN-module-to-bcmrpi3_defconfig.patch} | 4 +- ...46-configs-Enable-the-AD193x-codecs.patch} | 4 +- ...lenaFin-v1.1.0-carrier-board-update.patch} | 4 +- ...8-configs-Add-CONFIG_LEDS_PCA963X-m.patch} | 4 +- ...cmfmac-Mute-expected-startup-errors.patch} | 4 +- ...Update-driver-to-not-use-plane-crtc.patch} | 4 +- ...ng-the-CTM-is-conditional-on-runnin.patch} | 4 +- ...q-Add-in-the-Bayer-encoding-formats.patch} | 4 +- ...q-Always-return-the-param-size-from.patch} | 4 +- ...q-If-the-VPU-returns-an-error-don-t.patch} | 4 +- ...odec-Query-supported-formats-from-t.patch} | 4 +- ...odec-Add-support-for-the-ISP-as-an-.patch} | 4 +- ...odec-Add-an-option-for-ignoring-Bay.patch} | 4 +- ...odec-Fix-handling-of-VB2_MEMORY_DMA.patch} | 4 +- ...q-Update-mmal_parameters.h-with-rec.patch} | 4 +- ...odec-Include-timing-info-in-SPS-hea.patch} | 4 +- ...t-for-vblank-on-fkms-cursor-updates.patch} | 4 +- ...ernel-module-in-Real-Time-kernel-co.patch} | 4 +- ...3-config-Add-CONFIG_FB_TFT_SH1106-m.patch} | 4 +- ... => 950-0364-Added-mute-stream-func.patch} | 4 +- ...x-EEE-support-is-now-a-PHY-property.patch} | 4 +- ...Try-allocating-on-the-ARM-and-passi.patch} | 4 +- ...ma-Remove-erroneous-misc_deregister.patch} | 4 +- ...efile-include-on-out-of-tree-builds.patch} | 4 +- ...vcsm-Remove-set-but-unused-variable.patch} | 4 +- ...csm-Reduce-scope-of-local-functions.patch} | 4 +- ...odec-NULL-component-handle-on-queue.patch} | 4 +- ...-Remove-the-debugfs-directory-on-re.patch} | 4 +- ...m-cma-Use-devm_-allocs-for-sm_state.patch} | 4 +- ...ma-Don-t-fail-if-debugfs-calls-fail.patch} | 4 +- ...-Ensure-mutex-and-idr-are-destroyed.patch} | 4 +- ...odec-Clean-up-logging-on-unloading-.patch} | 4 +- ...0-0377-configs-Enable-MT76-USB-wifi.patch} | 4 +- ...low-for-sg-entries-that-cross-pages.patch} | 4 +- ...ed-4-bit-support-on-GPIOs-34-39.-29.patch} | 4 +- ...multiple-instantiation-of-sc16is7xx.patch} | 4 +- ...le-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch} | 4 +- ...82-bcm2835-mmc-Fix-DMA-channel-leak.patch} | 4 +- ...c-Fix-struct-mmc_host-leak-on-probe.patch} | 4 +- ...mc-Fix-duplicate-free_irq-on-remove.patch} | 4 +- ...2835-mmc-Handle-mmc_add_host-errors.patch} | 4 +- ...licate-reset-of-driver-data-on-remo.patch} | 4 +- ...configs-Add-CONFIG_BATTERY_MAX17040.patch} | 4 +- ...-Add-max17040-support-to-i2c-sensor.patch} | 4 +- ...-disable-memory-and-IO-cgroups-2908.patch} | 4 +- ...cam-Add-support-for-enum-framesizes.patch} | 4 +- ...odec-Refactor-default-resolution-co.patch} | 4 +- ...> 950-0392-nvmem-add-type-attribute.patch} | 6 +- ... 950-0393-rtc-rv3028-add-new-driver.patch} | 4 +- ...0-0394-configs-Add-RTC_DRV_RV3028-m.patch} | 4 +- ...0395-overlays-Add-rv3028-to-i2c-rtc.patch} | 4 +- ...4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch} | 4 +- ...4-Break-out-clock-setting-into-sepa.patch} | 4 +- ...32x4-Properly-Set-Processing-Blocks.patch} | 4 +- ...ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch} | 4 +- ...320aic32x4-Model-CODEC_CLKIN-in-CCF.patch} | 4 +- ...c32x4-Model-DAC-ADC-dividers-in-CCF.patch} | 4 +- ...20aic32x4-Model-BDIV-divider-in-CCF.patch} | 4 +- ...c32x4-Control-clock-gating-with-CCF.patch} | 4 +- ...4-Move-aosr-and-dosr-setting-to-sep.patch} | 4 +- ...32x4-Dynamically-Determine-Clocking.patch} | 4 +- ...0aic32x4-Restructure-set_dai_sysclk.patch} | 4 +- ...lv320aic32x4-Remove-mclk-references.patch} | 4 +- ...320aic32x4-Allow-192000-Sample-Rate.patch} | 4 +- ...c32x4-Only-enable-with-common-clock.patch} | 4 +- ...ophonics-I-Sabre-9038Q2M-DAC-driver.patch} | 4 +- ...-tlv320aic32x4-Change-author-s-name.patch} | 4 +- ...4-Update-copyright-and-use-SPDX-ide.patch} | 4 +- ...4-Add-Switch-for-Setting-Common-Mod.patch} | 4 +- ...2x4-Add-Playback-PowerTune-Controls.patch} | 4 +- ...lays-Add-Support-for-the-UDRC-DRAWS.patch} | 4 +- ...plit-when-we-actually-need-to-do-a-.patch} | 4 +- ...-fetch-touchscreen-geometry-from-DT.patch} | 4 +- ...put-ili210x-add-DT-binding-document.patch} | 4 +- ...9-configs-Add-TOUCHSCREEN_ILI210X-m.patch} | 4 +- ...core-Device-Tree-support-ilitek251x.patch} | 4 +- ...ng-around-dequeueing-and-killing-UR.patch} | 4 +- ...-Add-backup-switchover-mode-support.patch} | 4 +- ...gs-rv3028-backup-switchover-support.patch} | 4 +- ...28-backup-switchover-support-to-i2c.patch} | 4 +- ...axim-MAX98357A-I2S-DAC-overlay-2935.patch} | 4 +- ...s-for-audioinjector-octo-under-4.19.patch} | 4 +- ...up-Disable-cgroup-memory-by-default.patch} | 4 +- ...-disable-memory-and-IO-cgroups-2908.patch} | 4 +- ...50-0429-overlays-Add-PiGlow-overlay.patch} | 4 +- ...onfigs-enable-LED-driver-for-PiGlow.patch} | 4 +- ...ert-bcm2835-interpolate-audio-delay.patch} | 4 +- ...g-bcm2835-audio-Enable-compile-test.patch} | 4 +- ...m2835-audio-use-module_platform_dri.patch} | 4 +- ...-bcm2835-audio-Clean-up-mutex-locks.patch} | 4 +- ...udio-Remove-redundant-spdif-stream-.patch} | 4 +- ...udio-Clean-up-include-files-in-bcm2.patch} | 4 +- ...udio-Remove-redundant-substream-mas.patch} | 4 +- ...udio-Fix-mute-controls-volume-handl.patch} | 4 +- ...udio-Remove-redundant-function-call.patch} | 4 +- ...-audio-Remove-superfluous-open-flag.patch} | 4 +- ...udio-Drop-useless-running-flag-and-.patch} | 4 +- ...udio-Fix-incorrect-draining-handlin.patch} | 4 +- ...-bcm2835-audio-Kill-unused-spinlock.patch} | 4 +- ...udio-Use-PCM-runtime-values-instead.patch} | 4 +- ...udio-Drop-unnecessary-pcm-indirect-.patch} | 4 +- ...m2835-audio-Drop-useless-NULL-check.patch} | 4 +- ...udio-Propagate-parameter-setup-erro.patch} | 4 +- ...udio-Drop-debug-messages-in-bcm2835.patch} | 4 +- ...udio-Drop-superfluous-mutex-lock-du.patch} | 4 +- ...35-audio-Add-10ms-period-constraint.patch} | 4 +- ...m2835-audio-Make-single-vchi-handle.patch} | 4 +- ...udio-Code-refactoring-of-vchiq-acce.patch} | 4 +- ...35-audio-Operate-non-atomic-PCM-ops.patch} | 4 +- ...bcm2835-audio-Use-card-private_data.patch} | 4 +- ...udio-Use-standard-error-print-helpe.patch} | 4 +- ...udio-Remove-unnecessary-header-file.patch} | 4 +- ...udio-Move-module-parameter-descript.patch} | 4 +- ...5-audio-Use-coherent-device-buffers.patch} | 4 +- ...udio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch} | 4 +- ...audio-Simplify-PCM-creation-helpers.patch} | 4 +- ...udio-Simplify-kctl-creation-helpers.patch} | 4 +- ...udio-Simplify-card-object-managemen.patch} | 4 +- ...udio-unify-FOURCC-command-definitio.patch} | 4 +- ...audio-don-t-initialize-memory-twice.patch} | 4 +- ...udio-reorder-variable-declarations-.patch} | 4 +- ...udio-use-anonymous-union-in-struct-.patch} | 4 +- ...udio-more-generic-probe-function-na.patch} | 4 +- ...udio-rename-platform_driver-structu.patch} | 4 +- ...9-staging-bcm2835-audio-update-TODO.patch} | 4 +- ...m2835-audio-interpolate-audio-delay.patch} | 4 +- ...g-bcm2835-audio-Enable-compile-test.patch} | 4 +- ...udio-use-module_platform_driver-mac.patch} | 4 +- ...ng-bcm2835-audio-Drop-DT-dependency.patch} | 4 +- ...udio-double-free-in-init-error-path.patch} | 4 +- ...Increase-default-coherent-pool-size.patch} | 4 +- ...ng-bcm2835-audio-Drop-DT-dependency.patch} | 4 +- ...7-configs-Enable-netdev-LED-trigger.patch} | 4 +- ...lly-fix-up-TX-buffer-alignment-with.patch} | 4 +- ...se-default-alignment-for-rx-buffers.patch} | 4 +- ...odec-Correct-port-width-calc-for-tr.patch} | 4 +- ...odec-Remove-height-padding-for-ISP-.patch} | 4 +- ...q-Free-the-event-context-for-contro.patch} | 4 +- ...lso-set-coherent_pool-1M-for-BT-Pis.patch} | 4 +- ...ble-ICS-43432-I2S-microphone-module.patch} | 4 +- ...rpi-sense-add-upstream-humidity-com.patch} | 4 +- ...vchiq-Fix-memory-leak-in-error-path.patch} | 4 +- ...l-Fix-memory-leak-of-vchiq-instance.patch} | 4 +- ...708_fb-Try-allocating-on-the-ARM-an.patch} | 4 +- ...IQaudIO-Pi-Codec-board-support-2969.patch} | 4 +- ...ynamically-fix-up-TX-buffer-alignme.patch} | 4 +- ...950-0491-configs-Enable-PIDs-cgroup.patch} | 4 +- ...on-output_write-retry-with-readback.patch} | 4 +- ...2-cosmetic-fixes-after-54865314f5a1.patch} | 4 +- ...ec-Adding-352.8kHz-samplerate-suppo.patch} | 4 +- ...ing-driver-for-3Dlab-Nano-soundcard.patch} | 4 +- ...496-.gitignore-Add-.dtbo-explicitly.patch} | 4 +- ...ey-sizes-only-when-Secure-Simple-Pa.patch} | 4 +- ...tg-Clean-up-interrupt-claiming-code.patch} | 4 +- ...te-the-deprecated-sdio-1bit-overlay.patch} | 4 +- ...move-upstream-aux-interrupt-overlay.patch} | 4 +- ...ndardise-on-compatible-brcm-bcm2835.patch} | 4 +- ...-Remove-interrupt-and-DMA-trampling.patch} | 4 +- ...Add-non-removable-clone-of-mmc-node.patch} | 4 +- ...0X_DT-usb-Refactor-DTS-and-overlays.patch} | 4 +- ...05-overlays-Update-upstream-overlay.patch} | 4 +- ...o-after-49695ac46861-reset-on-outpu.patch} | 4 +- ...CM270X_DT-Rename-Pi-Zero-W-DT-files.patch} | 4 +- ...270X_DT-Create-bcm2708-rpi-zero.dts.patch} | 4 +- ...mmc-related-overlays-after-refactor.patch} | 4 +- ...0-0510-config-Add-NF_TABLES-support.patch} | 4 +- ... => 950-0511-Fixed-48k-timing-issue.patch} | 4 +- ...odec-Convert-V4L2-nsec-timestamps-t.patch} | 4 +- ...odec-Add-support-for-setting-S_PARM.patch} | 4 +- ...ke-GPIO-an-output-for-strong-pullup.patch} | 4 +- ...s-Update-w1-gpio-and-w1-gpio-pullup.patch} | 4 +- ...ix-DMA-channel-leak-on-error-remove.patch} | 4 +- ...17-i2c-bcm2835-Model-Divider-in-CCF.patch} | 4 +- ...ervices-Use-correct-cache-line-size.patch} | 4 +- ...y-amba-pl011-allow-shared-interrupt.patch} | 4 +- ...e-register-ranges-for-UART-SPI-and-.patch} | 4 +- ...d-the-WDT-DT-node-out-to-cover-the-.patch} | 4 +- ...22-ARM-dts-Add-label-to-bcm2835-RNG.patch} | 4 +- ...fb-rather-than-leds-for-dpi-overlay.patch} | 4 +- ...> 950-0524-BCM270X_DT-Minor-tidy-up.patch} | 4 +- ...5-arm-bcm2835-Fix-FIQ-early-ioremap.patch} | 4 +- ..._from_user-if-BCM2835_FAST_MEMCPY-n.patch} | 4 +- ...roadcom-STB-PCIe-host-controller-dr.patch} | 4 +- ...ma-range-mapping-for-inbound-traffi.patch} | 4 +- ...0529-PCI-brcmstb-Add-MSI-capability.patch} | 4 +- ...Add-DT-docs-for-Brcmstb-PCIe-device.patch} | 4 +- ...31-pcie-brcmstb-Changes-for-BCM2711.patch} | 4 +- ...rm-bcm2835-DMA-can-only-address-1GB.patch} | 4 +- ...t-Support-64-bit-physical-addresses.patch} | 4 +- ...-mmc-sdhci-Mask-spurious-interrupts.patch} | 4 +- ...dd-support-for-emmc2-of-the-BCM2838.patch} | 4 +- ...ng-iproc-rng200-Add-BCM2838-support.patch} | 4 +- ...brcmstb_thermal-Add-BCM2838-support.patch} | 4 +- ...38-vchiq-Add-36-bit-address-support.patch} | 4 +- ...35-pcm.c-Support-multichannel-audio.patch} | 4 +- ...enet-constrain-max-DMA-burst-length.patch} | 4 +- ...etter-coalescing-parameter-defaults.patch} | 4 +- ...link-energy-detect-powerdown-for-ex.patch} | 4 +- ...t-out-the-BCM54213PE-from-the-BCM54.patch} | 4 +- ...nfigure-the-LED-outputs-to-be-more-.patch} | 4 +- ...e-appropriate-IRQ-handover-strategy.patch} | 4 +- ...i-Disable-the-XHCI-5-second-timeout.patch} | 4 +- ...how-that-the-VIA-VL805-supports-LPM.patch} | 4 +- ...i_urb_enqueue-to-support-hid.mousep.patch} | 4 +- ...trl-bcm2835-Add-support-for-BCM2838.patch} | 4 +- ...835-enable-shared-interrupt-support.patch} | 4 +- ...chardev-for-mmap-ing-Argon-control-.patch} | 4 +- ...lk-bcm2835-Don-t-wait-for-pllh-lock.patch} | 4 +- ...cm2835-watchdog-s-DT-probe-to-an-MF.patch} | 4 +- ...m-Add-support-for-power-domains-und.patch} | 4 +- ...m-Fix-PM_IMAGE_PERI-power-domain-su.patch} | 4 +- ...m-Fix-error-paths-of-initialization.patch} | 4 +- ...bcm-bcm2835-pm-Add-support-for-2711.patch} | 4 +- ...ncobj_find_fence-to-support-timelin.patch} | 4 +- ...-after-free-race-accessing-the-sche.patch} | 4 +- ...tle-debugfs-entry-for-measuring-the.patch} | 4 +- ...comment-about-what-uses-v3d_job_dep.patch} | 4 +- ...ean-up-the-reservation-object-setup.patch} | 4 +- ...port-for-submitting-jobs-to-the-TFU.patch} | 4 +- ...dev-argument-to-lock-unlock-of-BO-r.patch} | 4 +- ...missing-fence-timeline-name-for-TFU.patch} | 4 +- ...e-tracepoints-for-V3D-GPU-rendering.patch} | 4 +- ...rm-v3d-Drop-unused-v3d_flush_caches.patch} | 4 +- ...t-bother-flushing-L1TD-at-job-start.patch} | 4 +- ...-the-wait-for-L2T-flush-to-complete.patch} | 4 +- ...Stop-trying-to-flush-L2C-on-V3D-3.3.patch} | 4 +- ...date-the-caches-from-the-outside-in.patch} | 4 +- ...ats-accounting-for-dma-buf-imported.patch} | 4 +- ...p-level-kerneldoc-for-the-addition-.patch} | 4 +- ...ps-at-boot-with-firmwarekms-on-4.19.patch} | 4 +- ...3D-interactions-if-the-v3d-componen.patch} | 4 +- ...76-drm-v3d-Add-support-for-V3D-v4.2.patch} | 4 +- ...n-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch} | 4 +- ...-the-GPU-is-on-when-measuring-clock.patch} | 4 +- ...0-0579-drm-v3d-Add-support-for-2711.patch} | 4 +- ...flush-if-the-device-is-currently-of.patch} | 4 +- ...-drm-v3d-Hook-up-the-runtime-PM-ops.patch} | 4 +- ...drm-v3d-HACK-gut-runtime-pm-for-now.patch} | 4 +- ...drm-v3d-Update-to-upstream-IRQ-code.patch} | 4 +- ...e-fence-signaled-from-IRQs-to-irq_f.patch} | 4 +- ...585-drm-v3d-Refactor-job-management.patch} | 4 +- ...dd-missing-implicit-synchronization.patch} | 4 +- ...ronization-firmwarekms-against-GL-r.patch} | 4 +- ...-that-vblank-waits-work-without-v3d.patch} | 4 +- ...e-format-modifiers-for-firmware-kms.patch} | 4 +- ...vblank-timestamping-for-firmwarekms.patch} | 4 +- ...ch-to-the-newer-mailbox-frame-buffe.patch} | 4 +- ...n-overlay-plane-to-vc4-firmware-kms.patch} | 4 +- ...crease-max-screen-size-to-4096x4096.patch} | 4 +- ...pport-for-multiple-displays-to-fkms.patch} | 4 +- ... 950-0595-drm-vc4-Fix-build-warning.patch} | 4 +- ...splay-to-blank-during-initialisatio.patch} | 4 +- ...drm-vc4-Remove-now-unused-structure.patch} | 4 +- ...-display-ID-for-each-display-in-FKM.patch} | 4 +- ...isplay-number-when-querying-the-dis.patch} | 4 +- ...all-drm_crtc_vblank_-on-off-from-vc.patch} | 4 +- ...rt-for-H-V-flips-on-each-plane-for-.patch} | 4 +- ...used-vc4_fkms_cancel_page_flip-func.patch} | 4 +- ...ver-all-planes-in-vc4_crtc_-dis-en-.patch} | 4 +- ...s-into-line-with-kms-in-blocking-do.patch} | 4 +- ...4-Increase-max_width-height-to-7680.patch} | 4 +- ...s-the-EDID-from-fw-and-supports-mod.patch} | 4 +- ...upport-for-setting-leaf-clock-rates.patch} | 4 +- ...-reparenting-leaf-clocks-while-they.patch} | 4 +- ...support-for-compute-shader-dispatch.patch} | 4 +- ...-v3d-Clock-V3D-down-when-not-in-use.patch} | 4 +- ...835-Add-BCM2838_CLOCK_EMMC2-support.patch} | 4 +- ...kms-Remove-incorrect-overscan-suppo.patch} | 4 +- ...-drm-vc4-Log-flags-in-fkms-mode-set.patch} | 4 +- ...irmware-kms-Fix-DSI-display-support.patch} | 4 +- ...e-DPI-DSI-timings-from-the-firmware.patch} | 4 +- ...e-case-where-there-are-no-available.patch} | 4 +- ...617-drm-vc4-Support-the-VEC-in-FKMS.patch} | 4 +- ...typo-when-setting-HDMI-aspect-ratio.patch} | 4 +- ...m-vc4-Correct-SAND-support-for-FKMS.patch} | 4 +- ...query-the-VPU-for-HDMI-clock-limits.patch} | 4 +- ...ution-of-7680-is-conditional-on-bei.patch} | 4 +- ...-Remove-obsolete-comment-and-make-f.patch} | 4 +- ...-Add-in-allocation-for-VPU-requests.patch} | 4 +- ...-0624-staging-vc-sm-cma-Update-TODO.patch} | 4 +- ...cma-Add-in-userspace-allocation-API.patch} | 4 +- ...g-vcsm-cma-Add-cache-control-ioctls.patch} | 4 +- ...-Alter-dev-node-permissions-to-0666.patch} | 4 +- ...Drop-logging-level-on-messages-in-v.patch} | 4 +- ...Fixup-the-alloc-code-handling-of-ke.patch} | 4 +- ...ti-frame-buffer-support-from-the-Pi.patch} | 4 +- ...ove-BCM2835-6-7-specific-to-bcm2835.patch} | 4 +- ...-bcm2711-rpi-4-b.dts-and-components.patch} | 4 +- ...ays-Add-i2c3-6-and-uart2-5-overlays.patch} | 4 +- ...icetree-add-overlays-for-spi-3-to-6.patch} | 4 +- ...rlays-Add-the-spi-gpio40-45-overlay.patch} | 4 +- ...it-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch} | 4 +- ...-0637-configs-Add-bcm2711_defconfig.patch} | 4 +- ...-0638-2711-Add-basic-64-bit-support.patch} | 4 +- ...0-0639-config-Add-NF_TABLES-support.patch} | 4 +- ...defconfig-add-xhci-platform-support.patch} | 4 +- ...orrect-vchiq-compatible-string-2840.patch} | 4 +- ...-downstream-vchiq-compatible-string.patch} | 4 +- ...5-dma-Add-proper-40-bit-DMA-support.patch} | 4 +- ...ve-bulk-channel-in-dma-channel-mask.patch} | 4 +- ...SQUASH-bcm2835-dma-Remove-debugging.patch} | 4 +- ...bcm2711-to-match-bcm2709-on-extra-m.patch} | 4 +- ...ts-Include-CSI-lane-config-for-csi1.patch} | 4 +- ...-vc4-Fix-T-format-modifiers-in-FKMS.patch} | 4 +- ..._SIMPLE-to-both-bcmrpi-and-bcm2709-.patch} | 4 +- ...dts-Disable-the-v3d-node-by-default.patch} | 4 +- ...0MHz-clock-limit-from-FKMS-now-scra.patch} | 4 +- ...ack-xhci_urb_enqueue-to-support-hid.patch} | 4 +- ...for-updating-interrupt-endpoint-int.patch} | 4 +- ...ci_fixup_endpoint-for-interval-adju.patch} | 4 +- ...ixup_endpoint-after-mangling-interv.patch} | 4 +- ...s-of-which-display-is-updated-throu.patch} | 4 +- ...ook-at-the-modifiers-correctly-for-.patch} | 4 +- ...m-dts-Fix-Pi4-PWR-LED-configuration.patch} | 4 +- ...orrect-gic400-memory-address-ranges.patch} | 4 +- ...-the-old-dma-controller-for-OF-conf.patch} | 4 +- ...61-drm-vc4-Limit-fkms-to-modes-85Hz.patch} | 4 +- ...m2835-Add-bcm2838-compatible-string.patch} | 4 +- ...ove-the-bcm27xx-inclusion-hierarchy.patch} | 4 +- ...dts-First-draft-of-upstream-Pi4-DTS.patch} | 4 +- ...ix-compatible-string-for-ds1307-RTC.patch} | 4 +- ...Fix-further-maxim-ds1307-references.patch} | 4 +- ...Cosmetic-change-to-upstream-overlay.patch} | 4 +- ...me-w1_family-struct-fixing-c-p-typo.patch} | 4 +- ...utput_write-cosmetic-fixes-simplify.patch} | 4 +- ...413-add-retry-support-to-state_read.patch} | 4 +- ...e-slave-is-not-responding-during-re.patch} | 4 +- ...1-ds2413-fix-state-byte-comparision.patch} | 4 +- ...MA-channel-and-memory-leak-in-vc4-3.patch} | 4 +- ...08_fb-Revert-cma-allocation-attempt.patch} | 4 +- ...rt-for-color-encoding-on-YUV-planes.patch} | 4 +- ...-camera-and-codec-drivers-from-bcmr.patch} | 4 +- ...bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch} | 4 +- ...d-coherent_pool-1M-to-Pi-4-bootargs.patch} | 4 +- ...-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch} | 4 +- ...-all-the-other-USB_CONFIGFS-options.patch} | 4 +- ...s-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch} | 4 +- ...orrect-gpio-fan-gpio-flags-for-4.19.patch} | 4 +- ...Remove-cache-manipulation-ioctl-fro.patch} | 4 +- ...-cma-Rework-to-use-dma-APIs-not-CMA.patch} | 4 +- ...op-V4L2-camera-and-codec-drivers-fr.patch} | 4 +- ...m64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch} | 4 +- ...-Fix-the-few-remaining-coding-style.patch} | 4 +- ...SDHCI_BCM2711-from-arm64-bcm2711_de.patch} | 4 +- ...Allow-reqbufs-0-with-in-use-MMAP-bu.patch} | 4 +- ...-add-new-capabilities-for-buffer-ty.patch} | 4 +- ...et-reqbufs-create_bufs-capabilities.patch} | 6 +- ...-reqbufs-0-with-in-use-MMAP-buffers.patch} | 4 +- ...l-parameters-to-the-rpi-poe-overlay.patch} | 4 +- ...i3-overlays-to-be-less-model-specif.patch} | 4 +- ...IRQ-request-after-clock-code-in-pro.patch} | 4 +- ...35-Ensure-clock-exists-when-probing.patch} | 4 +- ...lays-i2c-gpio-Fix-the-bus-parameter.patch} | 4 +- ...11-Make-TX-optimisation-conditional.patch} | 4 +- ...r-host-controllers-that-don-t-updat.patch} | 4 +- ...5-Set-clock-stretch-timeout-to-35ms.patch} | 4 +- ...-Add-missing-dependency-on-MFD_CORE.patch} | 4 +- ...> 950-0702-overlays-Add-PCF2129-RTC.patch} | 4 +- ...2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch} | 4 +- ...s-dpi18-and-dpi24-vc4-compatibility.patch} | 4 +- ...ys-Add-i2c0-and-i2c1-for-regularity.patch} | 4 +- ...move-spinlock-usage-around-spi_sync.patch} | 4 +- ...m64-mm-Limit-the-DMA-zone-for-arm64.patch} | 4 +- ...gs-Enable-iio-driver-for-TI-ADS1015.patch} | 4 +- ...-enable-PCI-portbus-support-and-imp.patch} | 4 +- ...Query-firmware-for-custom-HDMI-mode.patch} | 4 +- ...drm-vrefresh-to-the-firmware-on-mod.patch} | 4 +- ...erlays-audremap-Support-GPIOs-18-19.patch} | 4 +- ...x-drm_mode_create_tv_properties-doc.patch} | 4 +- ...ctor-Clarify-the-unit-of-TV-margins.patch} | 4 +- ...llow-creation-of-margin-props-alone.patch} | 4 +- ...in-setup-into-account-when-updating.patch} | 4 +- ...-margin-props-to-the-HDMI-connector.patch} | 4 +- ...vc4-Add-support-for-margins-to-fkms.patch} | 4 +- ...4-Ensure-zpos-is-always-initialised.patch} | 4 +- ...issing-properties-for-pmu-and-gic-n.patch} | 4 +- ...s-the-Hifiberry-DAC-ADC-PRO-version.patch} | 4 +- ...odecs-Correct-Katana-minimum-volume.patch} | 4 +- ...esent-but-empty-dmas-disables-audio.patch} | 4 +- ...-Add-audio-parameter-to-vc4-kms-v3d.patch} | 4 +- ...verlays-Update-the-upstream-overlay.patch} | 4 +- ...p251x-Allow-more-time-after-a-reset.patch} | 4 +- ...upt-handing-for-non-existent-displa.patch} | 4 +- ...correct-name-for-the-Raspberry-Pi-v.patch} | 4 +- ...har-rpivid-also-support-legacy-name.patch} | 4 +- ...e-quirks-for-Freeway-Airmouse-T3-an.patch} | 4 +- ...dd-Broadcast-RGB-connector-property.patch} | 4 +- ...-documentation-for-drm_cmdline_mode.patch} | 4 +- ...des-Rewrite-the-command-line-parser.patch} | 4 +- ...ort-modes-names-on-the-command-line.patch} | 4 +- ...o-specify-rotation-and-reflection-o.patch} | 4 +- ...or-Introduce-a-TV-margins-structure.patch} | 4 +- ...drm-modes-Parse-overscan-properties.patch} | 4 +- ...function-to-reset-connector-TV-prop.patch} | 4 +- ...i-Set-default-state-margin-at-reset.patch} | 4 +- ...s-Set-default-state-margin-at-reset.patch} | 4 +- ...pply-cmdline-s-rotation-if-it-wasn-.patch} | 4 +- ...G_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch} | 4 +- ...35-codec-switch-to-multi-planar-API.patch} | 4 +- ...odec-implement-V4L2_CID_MIN_BUFFERS.patch} | 4 +- ...odec-set-device_caps-in-struct-vide.patch} | 4 +- ...46-Add-HDMI1-facility-to-the-driver.patch} | 4 +- ...Add-baudrate-parameter-to-i2c3-i2c6.patch} | 4 +- ...-Workaround-for-Pi-4B-network-issue.patch} | 4 +- ...he-vblank-warnings-on-mode-switchin.patch} | 4 +- ...drm-vc4-Remove-unused-mode-variable.patch} | 4 +- ...odec-Expand-logging-on-format-setti.patch} | 4 +- ...odec-Correct-bytesperline-on-format.patch} | 4 +- ...ng-NULL-check-to-vc4_crtc_consume_e.patch} | 4 +- ...et-Workaround-for-Pi-4B-network-iss.patch} | 4 +- ...-Workaround-2-for-Pi4-Ethernet-fail.patch} | 4 +- ...m-vc4-Fix-TILE_Y_OFFSET-definitions.patch} | 4 +- ...efine-missing-PITCH0_SINK_PIX-field.patch} | 4 +- ...tomic_helper_check_plane_state-to-s.patch} | 4 +- ...ets-adjustment-out-of-setup_clippin.patch} | 4 +- ...ositioning-of-planes-using-T_TILES-.patch} | 4 +- ...pointer-dereference-in-the-async-up.patch} | 4 +- ...2-configs-Regenerate-the-defconfigs.patch} | 4 +- ...-building-the-DS28E17-driver-module.patch} | 4 +- ...m2711-rpi-4-b-I2C-aliases-and-pulls.patch} | 4 +- ...re-event-ring-segment-table-entries.patch} | 4 +- ..._buf-for-small-IN-control-transfers.patch} | 4 +- ...tb-bounce-buffer-implementation-to-.patch} | 4 +- ...68-configs-arm64-vcm2711-Enable-V3D.patch} | 4 +- ...ys-sc16ic752-i2c-Fix-xtal-parameter.patch} | 4 +- ...0-vc-sm-cma-Fix-compatibility-ioctl.patch} | 4 +- ...50-0771-configs-Add-TINYDRM-modules.patch} | 4 +- ...odec-add-support-for-V4L2_CID_MPEG_.patch} | 4 +- ...codec-remove-unnecessary-padding-on-.patch | 30 + ...dd-missing-Raspberry-Pi-model-names.patch} | 29 +- ...the-Audio-Injector-Ultra-in-64-bit-l.patch | 32 + ...arch-arm-Add-model-string-to-cpuinfo.patch | 36 + ...Add-Revision-Serial-Model-to-cpuinfo.patch | 58 + ...s-Add-binding-for-the-Sony-IMX219-se.patch | 77 ++ ...2c-Add-driver-for-Sony-IMX219-sensor.patch | 1146 +++++++++++++++++ ...Sony-IMX219-driver-to-RPi-defconfigs.patch | 64 + ...verlay-for-the-Sony-IMX219-image-sen.patch | 180 +++ ...codec-Fix-non-documentation-comment-.patch | 27 + ...m2835-codec-Fix-declaration-of-roles.patch | 26 + ...cm2835-codec-Add-role-to-device-name.patch | 45 + ...codec-Pass-driver-context-to-create-.patch | 61 + ...5-codec-add-media-controller-support.patch | 163 +++ ...nicam-Reduce-scope-of-local-function.patch | 29 + ...-unicam-add-media-controller-support.patch | 128 ++ ...e-under-arm64-or-any-other-platform.patch} | 6 +- ...nmap_sg-calls-to-free-relevant-swio.patch} | 10 +- ...7-rename-the-GPIO-pins-node-with-the.patch | 37 + ...7-Add-option-for-not-connecting-the-.patch | 66 + ...0-0793-v4l2-Add-a-Greyworld-AWB-mode.patch | 34 + ...cm2835-camera-Add-greyworld-AWB-mode.patch | 48 + ...dd-GPIO_PCA953X-LEDS_PCA9532-PCA955X.patch | 116 ++ ...O_V4L2_SUBDEV_API-y-on-arm64-bcm2711.patch | 22 + ...-PCI-brcmstb-Fix-compilation-warning.patch | 24 + ...-margins-in-composite-SDTV-mode-3223.patch | 34 + ...iberry-DAC-DSP-soundcard-driver-3224.patch | 279 ++++ ...g-bcm2835-codec-Allow-height-of-1920.patch | 27 + ...codec-Correct-g-s_selection-API-MPLA.patch | 107 ++ ...-gpio-Allow-nonexclusive-GPIO-access.patch | 79 ++ ...le-nonexclusive-gpiods-from-DT-nodes.patch | 34 + ...04-Fix-poll-rate-on-touchscreen-3238.patch | 29 + ...rm64-bcm2711_defconfig-based-on-the-.patch | 483 +++++++ ...-for-Pi-2B-rev-1.2-with-BCM2837-3235.patch | 171 +++ ...tree-gpio-hogs-on-dual-role-gpio-pin.patch | 4 +- ...8-ARM-dts-Enable-Gemini-flash-access.patch | 2 +- ...ow_offload-handle-netdevice-events-f.patch | 2 +- ...w_table-fix-offloaded-connection-tim.patch | 2 +- .../generic/hack-4.14/204-module_strip.patch | 4 +- .../301-mips_image_cmdline_hack.patch | 2 +- .../661-use_fq_codel_by_default.patch | 2 +- .../generic/hack-4.19/204-module_strip.patch | 4 +- .../661-use_fq_codel_by_default.patch | 2 +- .../hack-4.19/662-remove_pfifo_fast.patch | 2 +- .../generic/hack-4.19/930-crashlog.patch | 2 +- .../301-mips_image_cmdline_hack.patch | 2 +- .../661-use_fq_codel_by_default.patch | 2 +- .../300-mips_expose_boot_raw.patch | 4 +- .../pending-4.14/304-mips_disable_fpu.patch | 2 +- ...ove-no-op-dma_map_ops-where-possible.patch | 8 +- ...-fix-crash-when-num-chipselects-is-0.patch | 64 + ...edia-i2c-tda1997x-select-V4L2_FWNODE.patch | 43 - .../300-mips_expose_boot_raw.patch | 4 +- .../pending-4.9/304-mips_disable_fpu.patch | 2 +- ...ove-no-op-dma_map_ops-where-possible.patch | 8 +- ...0-ARM-dts-qcom-ipq4019-fix-PCI-range.patch | 25 - ...-qcom-ipq4019-enlarge-PCIe-BAR-range.patch | 42 - ...RM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch | 32 - .../816-pcie-support-layerscape.patch | 238 ++-- .../820-sec-support-layerscape.patch | 2 +- ...-nand_reset-to-reset-NAND-devices-in.patch | 4 +- ...port-different-MTK-NAND-flash-contro.patch | 12 +- ...Support-MT7622-NAND-flash-controller.patch | 4 +- 854 files changed, 5640 insertions(+), 1953 deletions(-) create mode 100644 target/linux/ar71xx/patches-4.14/343-MIPS-ath79-Fix-potentially-missed-IRQ-handling-durin.patch create mode 100644 target/linux/ar71xx/patches-4.14/952-qca955x-enable-ddr-wb-flush.patch delete mode 100644 target/linux/brcm2708/image/config-bcm2711-arm64.txt create mode 100644 target/linux/brcm2708/image/distroconfig.txt rename target/linux/brcm2708/patches-4.19/{950-0308-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch => 950-0307-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0309-overlays-Add-ssd1306-overlay-for-OLED-display.patch => 950-0308-overlays-Add-ssd1306-overlay-for-OLED-display.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0310-overlays-mcp23017-Support-the-MCP23008.patch => 950-0309-overlays-mcp23017-Support-the-MCP23008.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0311-overlays-Add-mcp342x-overlay.patch => 950-0310-overlays-Add-mcp342x-overlay.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0312-char-vcio-Add-compat-ioctl-handling.patch => 950-0311-char-vcio-Add-compat-ioctl-handling.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0313-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch => 950-0312-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0314-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch => 950-0313-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0315-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch => 950-0314-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0316-staging-bcm2835-camera-Set-the-field-value-within-ea.patch => 950-0315-staging-bcm2835-camera-Set-the-field-value-within-ea.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0317-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch => 950-0316-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0318-char-vc_mem-Fix-all-coding-style-issues.patch => 950-0317-char-vc_mem-Fix-all-coding-style-issues.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0319-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch => 950-0318-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0320-mfd-Add-rpi_sense_core-of-compatible-string.patch => 950-0319-mfd-Add-rpi_sense_core-of-compatible-string.patch} (82%) rename target/linux/brcm2708/patches-4.19/{950-0321-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch => 950-0320-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0322-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch => 950-0321-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0323-dtoverlays-Correct-DT-handling-camera-GPIOs.patch => 950-0322-dtoverlays-Correct-DT-handling-camera-GPIOs.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0324-media-ov5647-Use-gpiod_set_value_cansleep.patch => 950-0323-media-ov5647-Use-gpiod_set_value_cansleep.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0325-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch => 950-0324-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0326-audioinjector-octo-revert-to-dummy-supplies.patch => 950-0325-audioinjector-octo-revert-to-dummy-supplies.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0327-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch => 950-0326-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0328-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch => 950-0327-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0329-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch => 950-0328-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0330-video-bcm2708_fb-Add-compat_ioctl-support.patch => 950-0329-video-bcm2708_fb-Add-compat_ioctl-support.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0331-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch => 950-0330-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0332-video-bcm2708_fb-Clean-up-coding-style-issues.patch => 950-0331-video-bcm2708_fb-Clean-up-coding-style-issues.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0333-bcm2835-dma-Add-support-for-per-channel-flags.patch => 950-0332-bcm2835-dma-Add-support-for-per-channel-flags.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0334-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch => 950-0333-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch} (80%) rename target/linux/brcm2708/patches-4.19/{950-0335-ASoC-pcm512x-Implement-the-digital_mute-interface.patch => 950-0334-ASoC-pcm512x-Implement-the-digital_mute-interface.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0336-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch => 950-0335-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0337-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch => 950-0336-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0338-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch => 950-0337-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0339-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch => 950-0338-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0340-staging-vc-sm-cma-Correct-DMA-configuration.patch => 950-0339-staging-vc-sm-cma-Correct-DMA-configuration.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0341-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch => 950-0340-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0342-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch => 950-0341-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0343-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch => 950-0342-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0344-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch => 950-0343-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0345-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch => 950-0344-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0346-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch => 950-0345-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch} (81%) rename target/linux/brcm2708/patches-4.19/{950-0347-configs-Enable-the-AD193x-codecs.patch => 950-0346-configs-Enable-the-AD193x-codecs.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0348-overlays-balenaFin-v1.1.0-carrier-board-update.patch => 950-0347-overlays-balenaFin-v1.1.0-carrier-board-update.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0349-configs-Add-CONFIG_LEDS_PCA963X-m.patch => 950-0348-configs-Add-CONFIG_LEDS_PCA963X-m.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0350-Revert-brcmfmac-Mute-expected-startup-errors.patch => 950-0349-Revert-brcmfmac-Mute-expected-startup-errors.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0351-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch => 950-0350-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0352-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch => 950-0351-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0353-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch => 950-0352-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0354-staging-mmal-vchiq-Always-return-the-param-size-from.patch => 950-0353-staging-mmal-vchiq-Always-return-the-param-size-from.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0355-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch => 950-0354-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0356-staging-bcm2835_codec-Query-supported-formats-from-t.patch => 950-0355-staging-bcm2835_codec-Query-supported-formats-from-t.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0357-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch => 950-0356-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0358-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch => 950-0357-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0359-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch => 950-0358-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0360-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch => 950-0359-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0361-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch => 950-0360-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0362-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch => 950-0361-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0363-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch => 950-0362-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0364-config-Add-CONFIG_FB_TFT_SH1106-m.patch => 950-0363-config-Add-CONFIG_FB_TFT_SH1106-m.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0365-Added-mute-stream-func.patch => 950-0364-Added-mute-stream-func.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0366-lan78xx-EEE-support-is-now-a-PHY-property.patch => 950-0365-lan78xx-EEE-support-is-now-a-PHY-property.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0367-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch => 950-0366-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0368-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch => 950-0367-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0369-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch => 950-0368-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0370-vcsm-Remove-set-but-unused-variable.patch => 950-0369-vcsm-Remove-set-but-unused-variable.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0371-vcsm-Reduce-scope-of-local-functions.patch => 950-0370-vcsm-Reduce-scope-of-local-functions.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0372-staging-bcm2835-codec-NULL-component-handle-on-queue.patch => 950-0371-staging-bcm2835-codec-NULL-component-handle-on-queue.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0373-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch => 950-0372-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0374-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch => 950-0373-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0375-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch => 950-0374-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0376-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch => 950-0375-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0377-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch => 950-0376-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0378-configs-Enable-MT76-USB-wifi.patch => 950-0377-configs-Enable-MT76-USB-wifi.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0379-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch => 950-0378-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0380-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch => 950-0379-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0381-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch => 950-0380-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0382-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch => 950-0381-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0383-bcm2835-mmc-Fix-DMA-channel-leak.patch => 950-0382-bcm2835-mmc-Fix-DMA-channel-leak.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0384-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch => 950-0383-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0385-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch => 950-0384-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0386-bcm2835-mmc-Handle-mmc_add_host-errors.patch => 950-0385-bcm2835-mmc-Handle-mmc_add_host-errors.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0387-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch => 950-0386-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0388-configs-Add-CONFIG_BATTERY_MAX17040.patch => 950-0387-configs-Add-CONFIG_BATTERY_MAX17040.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0389-overlays-Add-max17040-support-to-i2c-sensor.patch => 950-0388-overlays-Add-max17040-support-to-i2c-sensor.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0390-defconfigs-disable-memory-and-IO-cgroups-2908.patch => 950-0389-defconfigs-disable-memory-and-IO-cgroups-2908.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0391-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch => 950-0390-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0392-staging-bcm2835-codec-Refactor-default-resolution-co.patch => 950-0391-staging-bcm2835-codec-Refactor-default-resolution-co.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0393-nvmem-add-type-attribute.patch => 950-0392-nvmem-add-type-attribute.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0394-rtc-rv3028-add-new-driver.patch => 950-0393-rtc-rv3028-add-new-driver.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0395-configs-Add-RTC_DRV_RV3028-m.patch => 950-0394-configs-Add-RTC_DRV_RV3028-m.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0396-overlays-Add-rv3028-to-i2c-rtc.patch => 950-0395-overlays-Add-rv3028-to-i2c-rtc.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0397-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch => 950-0396-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0398-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch => 950-0397-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0399-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch => 950-0398-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0400-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch => 950-0399-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0401-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch => 950-0400-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0402-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch => 950-0401-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0403-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch => 950-0402-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0404-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch => 950-0403-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0405-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch => 950-0404-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0406-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch => 950-0405-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0407-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch => 950-0406-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0408-ASoC-tlv320aic32x4-Remove-mclk-references.patch => 950-0407-ASoC-tlv320aic32x4-Remove-mclk-references.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0409-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch => 950-0408-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0410-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch => 950-0409-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0411-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch => 950-0410-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0412-ASoC-tlv320aic32x4-Change-author-s-name.patch => 950-0411-ASoC-tlv320aic32x4-Change-author-s-name.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0413-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch => 950-0412-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0414-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch => 950-0413-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0415-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch => 950-0414-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0416-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch => 950-0415-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0417-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch => 950-0416-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0418-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch => 950-0417-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0419-Input-ili210x-add-DT-binding-document.patch => 950-0418-Input-ili210x-add-DT-binding-document.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0420-configs-Add-TOUCHSCREEN_ILI210X-m.patch => 950-0419-configs-Add-TOUCHSCREEN_ILI210X-m.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0421-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch => 950-0420-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0422-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch => 950-0421-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0423-rtc-rv3028-Add-backup-switchover-mode-support.patch => 950-0422-rtc-rv3028-Add-backup-switchover-mode-support.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0424-dt-bindings-rv3028-backup-switchover-support.patch => 950-0423-dt-bindings-rv3028-backup-switchover-support.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0425-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch => 950-0424-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0426-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch => 950-0425-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0427-sound-Fixes-for-audioinjector-octo-under-4.19.patch => 950-0426-sound-Fixes-for-audioinjector-octo-under-4.19.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0428-Revert-cgroup-Disable-cgroup-memory-by-default.patch => 950-0427-Revert-cgroup-Disable-cgroup-memory-by-default.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0429-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch => 950-0428-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0430-overlays-Add-PiGlow-overlay.patch => 950-0429-overlays-Add-PiGlow-overlay.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0431-configs-enable-LED-driver-for-PiGlow.patch => 950-0430-configs-enable-LED-driver-for-PiGlow.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0432-Revert-bcm2835-interpolate-audio-delay.patch => 950-0431-Revert-bcm2835-interpolate-audio-delay.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0433-Revert-staging-bcm2835-audio-Enable-compile-test.patch => 950-0432-Revert-staging-bcm2835-audio-Enable-compile-test.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0434-Revert-staging-bcm2835-audio-use-module_platform_dri.patch => 950-0433-Revert-staging-bcm2835-audio-use-module_platform_dri.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0435-staging-bcm2835-audio-Clean-up-mutex-locks.patch => 950-0434-staging-bcm2835-audio-Clean-up-mutex-locks.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0436-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch => 950-0435-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0437-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch => 950-0436-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0438-staging-bcm2835-audio-Remove-redundant-substream-mas.patch => 950-0437-staging-bcm2835-audio-Remove-redundant-substream-mas.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0439-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch => 950-0438-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0440-staging-bcm2835-audio-Remove-redundant-function-call.patch => 950-0439-staging-bcm2835-audio-Remove-redundant-function-call.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0441-staging-bcm2835-audio-Remove-superfluous-open-flag.patch => 950-0440-staging-bcm2835-audio-Remove-superfluous-open-flag.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0442-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch => 950-0441-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0443-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch => 950-0442-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0444-staging-bcm2835-audio-Kill-unused-spinlock.patch => 950-0443-staging-bcm2835-audio-Kill-unused-spinlock.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0445-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch => 950-0444-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0446-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch => 950-0445-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch => 950-0446-staging-bcm2835-audio-Drop-useless-NULL-check.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0448-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch => 950-0447-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0449-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch => 950-0448-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0450-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch => 950-0449-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0451-staging-bcm2835-audio-Add-10ms-period-constraint.patch => 950-0450-staging-bcm2835-audio-Add-10ms-period-constraint.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0452-staging-bcm2835-audio-Make-single-vchi-handle.patch => 950-0451-staging-bcm2835-audio-Make-single-vchi-handle.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0453-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch => 950-0452-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0454-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch => 950-0453-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0455-staging-bcm2835-audio-Use-card-private_data.patch => 950-0454-staging-bcm2835-audio-Use-card-private_data.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0456-staging-bcm2835-audio-Use-standard-error-print-helpe.patch => 950-0455-staging-bcm2835-audio-Use-standard-error-print-helpe.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0457-staging-bcm2835-audio-Remove-unnecessary-header-file.patch => 950-0456-staging-bcm2835-audio-Remove-unnecessary-header-file.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0458-staging-bcm2835-audio-Move-module-parameter-descript.patch => 950-0457-staging-bcm2835-audio-Move-module-parameter-descript.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0459-staging-bcm2835-audio-Use-coherent-device-buffers.patch => 950-0458-staging-bcm2835-audio-Use-coherent-device-buffers.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0460-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch => 950-0459-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0461-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch => 950-0460-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0462-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch => 950-0461-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0463-staging-bcm2835-audio-Simplify-card-object-managemen.patch => 950-0462-staging-bcm2835-audio-Simplify-card-object-managemen.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0464-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch => 950-0463-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0465-staging-bcm2835-audio-don-t-initialize-memory-twice.patch => 950-0464-staging-bcm2835-audio-don-t-initialize-memory-twice.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0466-staging-bcm2835-audio-reorder-variable-declarations-.patch => 950-0465-staging-bcm2835-audio-reorder-variable-declarations-.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0467-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch => 950-0466-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0468-staging-bcm2835-audio-more-generic-probe-function-na.patch => 950-0467-staging-bcm2835-audio-more-generic-probe-function-na.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0469-staging-bcm2835-audio-rename-platform_driver-structu.patch => 950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0470-staging-bcm2835-audio-update-TODO.patch => 950-0469-staging-bcm2835-audio-update-TODO.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0471-staging-bcm2835-audio-interpolate-audio-delay.patch => 950-0470-staging-bcm2835-audio-interpolate-audio-delay.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0472-staging-bcm2835-audio-Enable-compile-test.patch => 950-0471-staging-bcm2835-audio-Enable-compile-test.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0473-staging-bcm2835-audio-use-module_platform_driver-mac.patch => 950-0472-staging-bcm2835-audio-use-module_platform_driver-mac.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0474-staging-bcm2835-audio-Drop-DT-dependency.patch => 950-0473-staging-bcm2835-audio-Drop-DT-dependency.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0475-staging-bcm2835-audio-double-free-in-init-error-path.patch => 950-0474-staging-bcm2835-audio-double-free-in-init-error-path.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0476-dts-Increase-default-coherent-pool-size.patch => 950-0475-dts-Increase-default-coherent-pool-size.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0477-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch => 950-0476-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0478-configs-Enable-netdev-LED-trigger.patch => 950-0477-configs-Enable-netdev-LED-trigger.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0479-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch => 950-0478-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0480-lan78xx-use-default-alignment-for-rx-buffers.patch => 950-0479-lan78xx-use-default-alignment-for-rx-buffers.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0481-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch => 950-0480-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0482-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch => 950-0481-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0483-staging-mmal-vchiq-Free-the-event-context-for-contro.patch => 950-0482-staging-mmal-vchiq-Free-the-event-context-for-contro.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0484-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch => 950-0483-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0485-configs-Enable-ICS-43432-I2S-microphone-module.patch => 950-0484-configs-Enable-ICS-43432-I2S-microphone-module.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0486-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch => 950-0485-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0487-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch => 950-0486-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0488-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch => 950-0487-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0489-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch => 950-0488-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0490-Added-IQaudIO-Pi-Codec-board-support-2969.patch => 950-0489-Added-IQaudIO-Pi-Codec-board-support-2969.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0491-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch => 950-0490-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0492-configs-Enable-PIDs-cgroup.patch => 950-0491-configs-Enable-PIDs-cgroup.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0493-w1-ds2408-reset-on-output_write-retry-with-readback.patch => 950-0492-w1-ds2408-reset-on-output_write-retry-with-readback.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0494-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch => 950-0493-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0495-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch => 950-0494-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch} (82%) rename target/linux/brcm2708/patches-4.19/{950-0496-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch => 950-0495-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0497-.gitignore-Add-.dtbo-explicitly.patch => 950-0496-.gitignore-Add-.dtbo-explicitly.patch} (73%) rename target/linux/brcm2708/patches-4.19/{950-0498-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch => 950-0497-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0499-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch => 950-0498-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0500-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch => 950-0499-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0501-overlays-Remove-upstream-aux-interrupt-overlay.patch => 950-0500-overlays-Remove-upstream-aux-interrupt-overlay.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0502-overlays-Standardise-on-compatible-brcm-bcm2835.patch => 950-0501-overlays-Standardise-on-compatible-brcm-bcm2835.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0503-vc4-Remove-interrupt-and-DMA-trampling.patch => 950-0502-vc4-Remove-interrupt-and-DMA-trampling.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0504-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch => 950-0503-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0505-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch => 950-0504-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0506-overlays-Update-upstream-overlay.patch => 950-0505-overlays-Update-upstream-overlay.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0507-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch => 950-0506-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0508-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch => 950-0507-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0509-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch => 950-0508-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0510-overlays-Fix-mmc-related-overlays-after-refactor.patch => 950-0509-overlays-Fix-mmc-related-overlays-after-refactor.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0511-config-Add-NF_TABLES-support.patch => 950-0510-config-Add-NF_TABLES-support.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0512-Fixed-48k-timing-issue.patch => 950-0511-Fixed-48k-timing-issue.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0513-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch => 950-0512-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0514-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch => 950-0513-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0515-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch => 950-0514-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0516-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch => 950-0515-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0517-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch => 950-0516-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0518-i2c-bcm2835-Model-Divider-in-CCF.patch => 950-0517-i2c-bcm2835-Model-Divider-in-CCF.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0519-staging-vc04_services-Use-correct-cache-line-size.patch => 950-0518-staging-vc04_services-Use-correct-cache-line-size.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0520-tty-amba-pl011-allow-shared-interrupt.patch => 950-0519-tty-amba-pl011-allow-shared-interrupt.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0521-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch => 950-0520-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0522-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch => 950-0521-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0523-ARM-dts-Add-label-to-bcm2835-RNG.patch => 950-0522-ARM-dts-Add-label-to-bcm2835-RNG.patch} (78%) rename target/linux/brcm2708/patches-4.19/{950-0524-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch => 950-0523-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0525-BCM270X_DT-Minor-tidy-up.patch => 950-0524-BCM270X_DT-Minor-tidy-up.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0526-arm-bcm2835-Fix-FIQ-early-ioremap.patch => 950-0525-arm-bcm2835-Fix-FIQ-early-ioremap.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0527-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch => 950-0526-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0528-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch => 950-0527-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0529-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch => 950-0528-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0530-PCI-brcmstb-Add-MSI-capability.patch => 950-0529-PCI-brcmstb-Add-MSI-capability.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0531-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch => 950-0530-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0532-pcie-brcmstb-Changes-for-BCM2711.patch => 950-0531-pcie-brcmstb-Changes-for-BCM2711.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0533-arm-bcm2835-DMA-can-only-address-1GB.patch => 950-0532-arm-bcm2835-DMA-can-only-address-1GB.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0534-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch => 950-0533-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0535-mmc-sdhci-Mask-spurious-interrupts.patch => 950-0534-mmc-sdhci-Mask-spurious-interrupts.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0536-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch => 950-0535-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0537-hwrng-iproc-rng200-Add-BCM2838-support.patch => 950-0536-hwrng-iproc-rng200-Add-BCM2838-support.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0538-thermal-brcmstb_thermal-Add-BCM2838-support.patch => 950-0537-thermal-brcmstb_thermal-Add-BCM2838-support.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0539-vchiq-Add-36-bit-address-support.patch => 950-0538-vchiq-Add-36-bit-address-support.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0540-bcm2835-pcm.c-Support-multichannel-audio.patch => 950-0539-bcm2835-pcm.c-Support-multichannel-audio.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0541-bcmgenet-constrain-max-DMA-burst-length.patch => 950-0540-bcmgenet-constrain-max-DMA-burst-length.patch} (82%) rename target/linux/brcm2708/patches-4.19/{950-0542-bcmgenet-Better-coalescing-parameter-defaults.patch => 950-0541-bcmgenet-Better-coalescing-parameter-defaults.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0543-net-genet-enable-link-energy-detect-powerdown-for-ex.patch => 950-0542-net-genet-enable-link-energy-detect-powerdown-for-ex.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0544-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch => 950-0543-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0545-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch => 950-0544-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0546-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch => 950-0545-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0547-usb-xhci-Disable-the-XHCI-5-second-timeout.patch => 950-0546-usb-xhci-Disable-the-XHCI-5-second-timeout.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0548-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch => 950-0547-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0549-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch => 950-0548-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0550-pinctrl-bcm2835-Add-support-for-BCM2838.patch => 950-0549-pinctrl-bcm2835-Add-support-for-BCM2838.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0551-spi-bcm2835-enable-shared-interrupt-support.patch => 950-0550-spi-bcm2835-enable-shared-interrupt-support.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0552-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch => 950-0551-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0553-clk-bcm2835-Don-t-wait-for-pllh-lock.patch => 950-0552-clk-bcm2835-Don-t-wait-for-pllh-lock.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0554-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch => 950-0553-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0555-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch => 950-0554-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0556-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch => 950-0555-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0557-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch => 950-0556-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0558-soc-bcm-bcm2835-pm-Add-support-for-2711.patch => 950-0557-soc-bcm-bcm2835-pm-Add-support-for-2711.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0559-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch => 950-0558-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0560-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch => 950-0559-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0561-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch => 950-0560-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0562-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch => 950-0561-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0563-drm-v3d-Clean-up-the-reservation-object-setup.patch => 950-0562-drm-v3d-Clean-up-the-reservation-object-setup.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0564-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch => 950-0563-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0565-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch => 950-0564-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch => 950-0565-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0567-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch => 950-0566-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0568-drm-v3d-Drop-unused-v3d_flush_caches.patch => 950-0567-drm-v3d-Drop-unused-v3d_flush_caches.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0569-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch => 950-0568-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0570-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch => 950-0569-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0571-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch => 950-0570-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0572-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch => 950-0571-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0573-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch => 950-0572-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0574-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch => 950-0573-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0575-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch => 950-0574-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0576-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch => 950-0575-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0577-drm-v3d-Add-support-for-V3D-v4.2.patch => 950-0576-drm-v3d-Add-support-for-V3D-v4.2.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0578-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch => 950-0577-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0579-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch => 950-0578-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0580-drm-v3d-Add-support-for-2711.patch => 950-0579-drm-v3d-Add-support-for-2711.patch} (81%) rename target/linux/brcm2708/patches-4.19/{950-0581-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch => 950-0580-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0582-drm-v3d-Hook-up-the-runtime-PM-ops.patch => 950-0581-drm-v3d-Hook-up-the-runtime-PM-ops.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0583-drm-v3d-HACK-gut-runtime-pm-for-now.patch => 950-0582-drm-v3d-HACK-gut-runtime-pm-for-now.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0584-drm-v3d-Update-to-upstream-IRQ-code.patch => 950-0583-drm-v3d-Update-to-upstream-IRQ-code.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0585-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch => 950-0584-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0586-drm-v3d-Refactor-job-management.patch => 950-0585-drm-v3d-Refactor-job-management.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0587-drm-v3d-Add-missing-implicit-synchronization.patch => 950-0586-drm-v3d-Add-missing-implicit-synchronization.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0588-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch => 950-0587-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0589-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch => 950-0588-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0590-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch => 950-0589-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0591-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch => 950-0590-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0592-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch => 950-0591-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0593-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch => 950-0592-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0594-drm-vc4-Increase-max-screen-size-to-4096x4096.patch => 950-0593-drm-vc4-Increase-max-screen-size-to-4096x4096.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0595-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch => 950-0594-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0596-drm-vc4-Fix-build-warning.patch => 950-0595-drm-vc4-Fix-build-warning.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0597-drm-vc4-Select-display-to-blank-during-initialisatio.patch => 950-0596-drm-vc4-Select-display-to-blank-during-initialisatio.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0598-drm-vc4-Remove-now-unused-structure.patch => 950-0597-drm-vc4-Remove-now-unused-structure.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0599-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch => 950-0598-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0600-drm-vc4-Set-the-display-number-when-querying-the-dis.patch => 950-0599-drm-vc4-Set-the-display-number-when-querying-the-dis.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0601-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch => 950-0600-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0602-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch => 950-0601-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0603-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch => 950-0602-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0604-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch => 950-0603-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0605-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch => 950-0604-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0606-drm-vc4-Increase-max_width-height-to-7680.patch => 950-0605-drm-vc4-Increase-max_width-height-to-7680.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0607-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch => 950-0606-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0608-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch => 950-0607-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0609-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch => 950-0608-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0610-drm-v3d-Add-support-for-compute-shader-dispatch.patch => 950-0609-drm-v3d-Add-support-for-compute-shader-dispatch.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0611-drm-v3d-Clock-V3D-down-when-not-in-use.patch => 950-0610-drm-v3d-Clock-V3D-down-when-not-in-use.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0612-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch => 950-0611-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0613-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch => 950-0612-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0614-drm-vc4-Log-flags-in-fkms-mode-set.patch => 950-0613-drm-vc4-Log-flags-in-fkms-mode-set.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0615-drm-vc4-firmware-kms-Fix-DSI-display-support.patch => 950-0614-drm-vc4-firmware-kms-Fix-DSI-display-support.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0616-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch => 950-0615-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0617-drm-vc4-handle-the-case-where-there-are-no-available.patch => 950-0616-drm-vc4-handle-the-case-where-there-are-no-available.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0618-drm-vc4-Support-the-VEC-in-FKMS.patch => 950-0617-drm-vc4-Support-the-VEC-in-FKMS.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0619-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch => 950-0618-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0620-drm-vc4-Correct-SAND-support-for-FKMS.patch => 950-0619-drm-vc4-Correct-SAND-support-for-FKMS.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0621-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch => 950-0620-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0622-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch => 950-0621-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0623-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch => 950-0622-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0624-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch => 950-0623-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0625-staging-vc-sm-cma-Update-TODO.patch => 950-0624-staging-vc-sm-cma-Update-TODO.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0626-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch => 950-0625-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0627-staging-vcsm-cma-Add-cache-control-ioctls.patch => 950-0626-staging-vcsm-cma-Add-cache-control-ioctls.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0628-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch => 950-0627-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0629-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch => 950-0628-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0630-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch => 950-0629-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0631-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch => 950-0630-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0632-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch => 950-0631-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0633-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch => 950-0632-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0634-overlays-Add-i2c3-6-and-uart2-5-overlays.patch => 950-0633-overlays-Add-i2c3-6-and-uart2-5-overlays.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0635-spi-devicetree-add-overlays-for-spi-3-to-6.patch => 950-0634-spi-devicetree-add-overlays-for-spi-3-to-6.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0636-overlays-Add-the-spi-gpio40-45-overlay.patch => 950-0635-overlays-Add-the-spi-gpio40-45-overlay.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0637-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch => 950-0636-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0638-configs-Add-bcm2711_defconfig.patch => 950-0637-configs-Add-bcm2711_defconfig.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0639-2711-Add-basic-64-bit-support.patch => 950-0638-2711-Add-basic-64-bit-support.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0640-config-Add-NF_TABLES-support.patch => 950-0639-config-Add-NF_TABLES-support.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0641-bcm2711_defconfig-add-xhci-platform-support.patch => 950-0640-bcm2711_defconfig-add-xhci-platform-support.patch} (80%) rename target/linux/brcm2708/patches-4.19/{950-0642-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch => 950-0641-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0643-arm-dts-Change-downstream-vchiq-compatible-string.patch => 950-0642-arm-dts-Change-downstream-vchiq-compatible-string.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0644-bcm2835-dma-Add-proper-40-bit-DMA-support.patch => 950-0643-bcm2835-dma-Add-proper-40-bit-DMA-support.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0645-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch => 950-0644-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch} (82%) rename target/linux/brcm2708/patches-4.19/{950-0646-SQUASH-bcm2835-dma-Remove-debugging.patch => 950-0645-SQUASH-bcm2835-dma-Remove-debugging.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0647-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch => 950-0646-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0648-dts-Include-CSI-lane-config-for-csi1.patch => 950-0647-dts-Include-CSI-lane-config-for-csi1.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0649-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch => 950-0648-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0650-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch => 950-0649-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0651-bcm2711-dts-Disable-the-v3d-node-by-default.patch => 950-0650-bcm2711-dts-Disable-the-v3d-node-by-default.patch} (76%) rename target/linux/brcm2708/patches-4.19/{950-0652-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch => 950-0651-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0653-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch => 950-0652-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0654-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch => 950-0653-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0655-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch => 950-0654-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0656-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch => 950-0655-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch} (82%) rename target/linux/brcm2708/patches-4.19/{950-0657-drm-vc4-Add-status-of-which-display-is-updated-throu.patch => 950-0656-drm-vc4-Add-status-of-which-display-is-updated-throu.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0658-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch => 950-0657-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0659-arm-dts-Fix-Pi4-PWR-LED-configuration.patch => 950-0658-arm-dts-Fix-Pi4-PWR-LED-configuration.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0660-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch => 950-0659-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0661-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch => 950-0660-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0662-drm-vc4-Limit-fkms-to-modes-85Hz.patch => 950-0661-drm-vc4-Limit-fkms-to-modes-85Hz.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0663-arm-bcm2835-Add-bcm2838-compatible-string.patch => 950-0662-arm-bcm2835-Add-bcm2838-compatible-string.patch} (78%) rename target/linux/brcm2708/patches-4.19/{950-0664-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch => 950-0663-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0665-arm-dts-First-draft-of-upstream-Pi4-DTS.patch => 950-0664-arm-dts-First-draft-of-upstream-Pi4-DTS.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0666-overlays-Fix-compatible-string-for-ds1307-RTC.patch => 950-0665-overlays-Fix-compatible-string-for-ds1307-RTC.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0667-overlays-Fix-further-maxim-ds1307-references.patch => 950-0666-overlays-Fix-further-maxim-ds1307-references.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0668-overlays-Cosmetic-change-to-upstream-overlay.patch => 950-0667-overlays-Cosmetic-change-to-upstream-overlay.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0669-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch => 950-0668-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0670-w1-ds2413-output_write-cosmetic-fixes-simplify.patch => 950-0669-w1-ds2413-output_write-cosmetic-fixes-simplify.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0671-w1-ds2413-add-retry-support-to-state_read.patch => 950-0670-w1-ds2413-add-retry-support-to-state_read.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0672-w1-ds2413-when-the-slave-is-not-responding-during-re.patch => 950-0671-w1-ds2413-when-the-slave-is-not-responding-during-re.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0673-w1-ds2413-fix-state-byte-comparision.patch => 950-0672-w1-ds2413-fix-state-byte-comparision.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0674-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch => 950-0673-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0675-video-bcm2708_fb-Revert-cma-allocation-attempt.patch => 950-0674-video-bcm2708_fb-Revert-cma-allocation-attempt.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0676-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch => 950-0675-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0677-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch => 950-0676-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0678-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch => 950-0677-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0679-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch => 950-0678-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0680-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch => 950-0679-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch} (81%) rename target/linux/brcm2708/patches-4.19/{950-0681-configs-And-all-the-other-USB_CONFIGFS-options.patch => 950-0680-configs-And-all-the-other-USB_CONFIGFS-options.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0682-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch => 950-0681-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch} (82%) rename target/linux/brcm2708/patches-4.19/{950-0683-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch => 950-0682-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0684-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch => 950-0683-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0685-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch => 950-0684-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0686-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch => 950-0685-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0687-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch => 950-0686-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0688-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch => 950-0687-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0689-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch => 950-0688-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0690-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch => 950-0689-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0691-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch => 950-0690-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0692-media-vb2-set-reqbufs-create_bufs-capabilities.patch => 950-0691-media-vb2-set-reqbufs-create_bufs-capabilities.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0693-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch => 950-0692-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0694-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch => 950-0693-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0695-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch => 950-0694-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0696-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch => 950-0695-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0697-i2c-bcm2835-Ensure-clock-exists-when-probing.patch => 950-0696-i2c-bcm2835-Ensure-clock-exists-when-probing.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0698-overlays-i2c-gpio-Fix-the-bus-parameter.patch => 950-0697-overlays-i2c-gpio-Fix-the-bus-parameter.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0699-tty-amba-pl011-Make-TX-optimisation-conditional.patch => 950-0698-tty-amba-pl011-Make-TX-optimisation-conditional.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0700-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch => 950-0699-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0701-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch => 950-0700-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0702-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch => 950-0701-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0703-overlays-Add-PCF2129-RTC.patch => 950-0702-overlays-Add-PCF2129-RTC.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0704-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch => 950-0703-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0705-overlays-dpi18-and-dpi24-vc4-compatibility.patch => 950-0704-overlays-dpi18-and-dpi24-vc4-compatibility.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0706-overlays-Add-i2c0-and-i2c1-for-regularity.patch => 950-0705-overlays-Add-i2c0-and-i2c1-for-regularity.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0707-Pisound-Remove-spinlock-usage-around-spi_sync.patch => 950-0706-Pisound-Remove-spinlock-usage-around-spi_sync.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0708-arm64-mm-Limit-the-DMA-zone-for-arm64.patch => 950-0707-arm64-mm-Limit-the-DMA-zone-for-arm64.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0709-configs-Enable-iio-driver-for-TI-ADS1015.patch => 950-0708-configs-Enable-iio-driver-for-TI-ADS1015.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0710-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch => 950-0709-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0711-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch => 950-0710-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0712-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch => 950-0711-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0713-overlays-audremap-Support-GPIOs-18-19.patch => 950-0712-overlays-audremap-Support-GPIOs-18-19.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0714-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch => 950-0713-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0715-drm-connector-Clarify-the-unit-of-TV-margins.patch => 950-0714-drm-connector-Clarify-the-unit-of-TV-margins.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0716-drm-connector-Allow-creation-of-margin-props-alone.patch => 950-0715-drm-connector-Allow-creation-of-margin-props-alone.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0717-drm-vc4-Take-margin-setup-into-account-when-updating.patch => 950-0716-drm-vc4-Take-margin-setup-into-account-when-updating.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0718-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch => 950-0717-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0719-drm-vc4-Add-support-for-margins-to-fkms.patch => 950-0718-drm-vc4-Add-support-for-margins-to-fkms.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0720-drm-vc4-Ensure-zpos-is-always-initialised.patch => 950-0719-drm-vc4-Ensure-zpos-is-always-initialised.patch} (85%) rename target/linux/brcm2708/patches-4.19/{950-0721-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch => 950-0720-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0722-adds-the-Hifiberry-DAC-ADC-PRO-version.patch => 950-0721-adds-the-Hifiberry-DAC-ADC-PRO-version.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0723-codecs-Correct-Katana-minimum-volume.patch => 950-0722-codecs-Correct-Katana-minimum-volume.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0724-drm-vc4-A-present-but-empty-dmas-disables-audio.patch => 950-0723-drm-vc4-A-present-but-empty-dmas-disables-audio.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0725-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch => 950-0724-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0726-overlays-Update-the-upstream-overlay.patch => 950-0725-overlays-Update-the-upstream-overlay.patch} (83%) rename target/linux/brcm2708/patches-4.19/{950-0727-can-mcp251x-Allow-more-time-after-a-reset.patch => 950-0726-can-mcp251x-Allow-more-time-after-a-reset.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0728-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch => 950-0727-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0729-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch => 950-0728-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0730-driver-char-rpivid-also-support-legacy-name.patch => 950-0729-driver-char-rpivid-also-support-legacy-name.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0731-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch => 950-0730-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0732-drm-vc4-Add-Broadcast-RGB-connector-property.patch => 950-0731-drm-vc4-Add-Broadcast-RGB-connector-property.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0733-drm-connector-Add-documentation-for-drm_cmdline_mode.patch => 950-0732-drm-connector-Add-documentation-for-drm_cmdline_mode.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0734-drm-modes-Rewrite-the-command-line-parser.patch => 950-0733-drm-modes-Rewrite-the-command-line-parser.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0735-drm-modes-Support-modes-names-on-the-command-line.patch => 950-0734-drm-modes-Support-modes-names-on-the-command-line.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0736-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch => 950-0735-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch} (98%) rename target/linux/brcm2708/patches-4.19/{950-0737-drm-connector-Introduce-a-TV-margins-structure.patch => 950-0736-drm-connector-Introduce-a-TV-margins-structure.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0738-drm-modes-Parse-overscan-properties.patch => 950-0737-drm-modes-Parse-overscan-properties.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0739-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch => 950-0738-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0740-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch => 950-0739-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0741-drm-vc4-fkms-Set-default-state-margin-at-reset.patch => 950-0740-drm-vc4-fkms-Set-default-state-margin-at-reset.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0742-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch => 950-0741-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch} (90%) rename target/linux/brcm2708/patches-4.19/{950-0743-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch => 950-0742-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0744-staging-bcm2835-codec-switch-to-multi-planar-API.patch => 950-0743-staging-bcm2835-codec-switch-to-multi-planar-API.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0745-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch => 950-0744-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0746-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch => 950-0745-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0747-Add-HDMI1-facility-to-the-driver.patch => 950-0746-Add-HDMI1-facility-to-the-driver.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0748-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch => 950-0747-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0749-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch => 950-0748-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0750-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch => 950-0749-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0751-drm-vc4-Remove-unused-mode-variable.patch => 950-0750-drm-vc4-Remove-unused-mode-variable.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0752-staging-bcm2835-codec-Expand-logging-on-format-setti.patch => 950-0751-staging-bcm2835-codec-Expand-logging-on-format-setti.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0753-staging-bcm2835-codec-Correct-bytesperline-on-format.patch => 950-0752-staging-bcm2835-codec-Correct-bytesperline-on-format.patch} (89%) rename target/linux/brcm2708/patches-4.19/{950-0754-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch => 950-0753-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch} (86%) rename target/linux/brcm2708/patches-4.19/{950-0755-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch => 950-0754-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0756-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch => 950-0755-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0757-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch => 950-0756-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch} (88%) rename target/linux/brcm2708/patches-4.19/{950-0758-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch => 950-0757-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch} (87%) rename target/linux/brcm2708/patches-4.19/{950-0759-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch => 950-0758-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch} (97%) rename target/linux/brcm2708/patches-4.19/{950-0760-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch => 950-0759-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0761-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch => 950-0760-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch} (96%) rename target/linux/brcm2708/patches-4.19/{950-0762-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch => 950-0761-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0763-configs-Regenerate-the-defconfigs.patch => 950-0762-configs-Regenerate-the-defconfigs.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0764-configs-Enable-building-the-DS28E17-driver-module.patch => 950-0763-configs-Enable-building-the-DS28E17-driver-module.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0765-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch => 950-0764-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0766-xhci-Use-more-event-ring-segment-table-entries.patch => 950-0765-xhci-Use-more-event-ring-segment-table-entries.patch} (95%) rename target/linux/brcm2708/patches-4.19/{950-0767-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch => 950-0766-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch} (94%) rename target/linux/brcm2708/patches-4.19/{950-0768-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch => 950-0767-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch} (99%) rename target/linux/brcm2708/patches-4.19/{950-0769-configs-arm64-vcm2711-Enable-V3D.patch => 950-0768-configs-arm64-vcm2711-Enable-V3D.patch} (91%) rename target/linux/brcm2708/patches-4.19/{950-0770-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch => 950-0769-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch} (84%) rename target/linux/brcm2708/patches-4.19/{950-0771-vc-sm-cma-Fix-compatibility-ioctl.patch => 950-0770-vc-sm-cma-Fix-compatibility-ioctl.patch} (93%) rename target/linux/brcm2708/patches-4.19/{950-0772-configs-Add-TINYDRM-modules.patch => 950-0771-configs-Add-TINYDRM-modules.patch} (92%) rename target/linux/brcm2708/patches-4.19/{950-0773-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch => 950-0772-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch} (92%) create mode 100644 target/linux/brcm2708/patches-4.19/950-0773-staging-bcm2835-codec-remove-unnecessary-padding-on-.patch rename target/linux/brcm2708/patches-4.19/{960-add-rasbperrypi-compatible.patch => 950-0774-arm-dts-add-missing-Raspberry-Pi-model-names.patch} (58%) create mode 100644 target/linux/brcm2708/patches-4.19/950-0775-Add-support-for-the-Audio-Injector-Ultra-in-64-bit-l.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0776-arch-arm-Add-model-string-to-cpuinfo.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0777-arch-arm64-Add-Revision-Serial-Model-to-cpuinfo.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0778-media-dt-bindings-Add-binding-for-the-Sony-IMX219-se.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0779-media-i2c-Add-driver-for-Sony-IMX219-sensor.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0780-defconfigs-Add-Sony-IMX219-driver-to-RPi-defconfigs.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0781-dtoverlays-Add-overlay-for-the-Sony-IMX219-image-sen.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0782-staging-bcm2835-codec-Fix-non-documentation-comment-.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0783-staging-bcm2835-codec-Fix-declaration-of-roles.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0784-staging-bcm2835-codec-Add-role-to-device-name.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0785-staging-bcm2835-codec-Pass-driver-context-to-create-.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0786-staging-bcm2835-codec-add-media-controller-support.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0787-media-bcm2835-unicam-Reduce-scope-of-local-function.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0788-media-bcm2835-unicam-add-media-controller-support.patch rename target/linux/brcm2708/patches-4.19/{952-0002-Limit-max_req_size-under-arm64-or-any-other-platform.patch => 950-0789-Limit-max_req_size-under-arm64-or-any-other-platform.patch} (80%) rename target/linux/brcm2708/patches-4.19/{951-0001-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch => 950-0790-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch} (79%) create mode 100644 target/linux/brcm2708/patches-4.19/950-0791-overlays-mcp23017-rename-the-GPIO-pins-node-with-the.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0792-overlays-mcp23017-Add-option-for-not-connecting-the-.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0793-v4l2-Add-a-Greyworld-AWB-mode.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0794-staging-bcm2835-camera-Add-greyworld-AWB-mode.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0795-configs-Add-GPIO_PCA953X-LEDS_PCA9532-PCA955X.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0796-configs-Set-VIDEO_V4L2_SUBDEV_API-y-on-arm64-bcm2711.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0797-PCI-brcmstb-Fix-compilation-warning.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0798-drm-vc4-Fix-for-margins-in-composite-SDTV-mode-3223.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0799-Add-Hifiberry-DAC-DSP-soundcard-driver-3224.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0800-staging-bcm2835-codec-Allow-height-of-1920.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0801-staging-bcm2835-codec-Correct-g-s_selection-API-MPLA.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0802-regulator-gpio-Allow-nonexclusive-GPIO-access.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0803-gpio-Enable-nonexclusive-gpiods-from-DT-nodes.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0804-Fix-poll-rate-on-touchscreen-3238.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0805-configs-Update-arm64-bcm2711_defconfig-based-on-the-.patch create mode 100644 target/linux/brcm2708/patches-4.19/950-0806-dts-Add-DTS-for-Pi-2B-rev-1.2-with-BCM2837-3235.patch create mode 100644 target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch delete mode 100644 target/linux/generic/pending-4.19/840-media-i2c-tda1997x-select-V4L2_FWNODE.patch delete mode 100644 target/linux/ipq40xx/patches-4.19/079-v4.20-ARM-dts-qcom-ipq4019-fix-PCI-range.patch delete mode 100644 target/linux/ipq40xx/patches-4.19/083-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch delete mode 100644 target/linux/ipq40xx/patches-4.19/084-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch diff --git a/include/kernel-version.mk b/include/kernel-version.mk index cdcb2613b6..a790f82657 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -6,13 +6,13 @@ ifdef CONFIG_TESTING_KERNEL KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER) endif -LINUX_VERSION-4.9 = .192 -LINUX_VERSION-4.14 = .143 -LINUX_VERSION-4.19 = .72 +LINUX_VERSION-4.9 = .194 +LINUX_VERSION-4.14 = .146 +LINUX_VERSION-4.19 = .75 -LINUX_KERNEL_HASH-4.9.192 = 7a1a300cce70a4fd0d49b7fff7b1673159b61c4040c5a7c08ea333a7cb328d54 -LINUX_KERNEL_HASH-4.14.143 = 2534f2f03cb937700a03dd85dcf1cb6e6f46fdd29d489580cc3183d6c0643d93 -LINUX_KERNEL_HASH-4.19.72 = f9fcb6b3bd29115ac55fc154e300c3dce2044502732f6842ad6c25e6f9f51f6d +LINUX_KERNEL_HASH-4.9.194 = d5f4bb7584e461f1faa9a3f94c2ad292246fe692b0e992e072dac255f806c2e3 +LINUX_KERNEL_HASH-4.14.146 = a3c54b887ea3e679382bd4c0536e6a281b071dab2258bd3ee8af75baef2023f5 +LINUX_KERNEL_HASH-4.19.75 = dd5e7147e1e4501560fba5beb86dae6bf6ba843518ab3d4cad283de77b651b78 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1))))))) diff --git a/package/lean/luci-app-ssr-plus/Makefile b/package/lean/luci-app-ssr-plus/Makefile index ebef0a08f8..d957852cec 100644 --- a/package/lean/luci-app-ssr-plus/Makefile +++ b/package/lean/luci-app-ssr-plus/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=1 -PKG_RELEASE:=98 +PKG_RELEASE:=99 PKG_CONFIG_DEPENDS:= CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks \ CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_V2ray \ diff --git a/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch b/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch index ed1a814245..8773ef98bb 100644 --- a/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch +++ b/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch @@ -46,7 +46,7 @@ config ATH25 bool "Atheros AR231x/AR531x SoC support" -@@ -1009,6 +1009,7 @@ config MIPS_PARAVIRT +@@ -1006,6 +1006,7 @@ config MIPS_PARAVIRT endchoice source "arch/mips/alchemy/Kconfig" diff --git a/target/linux/ar71xx/patches-4.14/343-MIPS-ath79-Fix-potentially-missed-IRQ-handling-durin.patch b/target/linux/ar71xx/patches-4.14/343-MIPS-ath79-Fix-potentially-missed-IRQ-handling-durin.patch new file mode 100644 index 0000000000..05a1d7ef0c --- /dev/null +++ b/target/linux/ar71xx/patches-4.14/343-MIPS-ath79-Fix-potentially-missed-IRQ-handling-durin.patch @@ -0,0 +1,52 @@ +From 3fe7841bf5a582dc7fd198e5bf70162ea418a22a Mon Sep 17 00:00:00 2001 +From: Koen Vandeputte +Date: Wed, 11 Sep 2019 11:02:19 +0200 +Subject: [PATCH] MIPS: ath79: Fix potentially missed IRQ handling during + dispatch + +If both interrupts are set in the current implementation +only the 1st will be handled and the 2nd will be skipped +due to the "if else" condition. + +Fix this by using the same approach as done for QCA955x +just below it. + +Fixes: fce5cc6e0ddc ("MIPS: ath79: add IRQ handling code for AR934X") +Signed-off-by: Koen Vandeputte +CC: Felix Fietkau +CC: Gabor Juhos +CC: James Hogan +CC: Paul Burton +CC: Ralf Baechle +CC: stable@vger.kernel.org # v3.2+ +--- + arch/mips/ath79/irq.c | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +--- a/arch/mips/ath79/irq.c ++++ b/arch/mips/ath79/irq.c +@@ -32,15 +32,21 @@ static void ar934x_ip2_irq_dispatch(stru + u32 status; + + status = ath79_reset_rr(AR934X_RESET_REG_PCIE_WMAC_INT_STATUS); ++ status &= AR934X_PCIE_WMAC_INT_PCIE_ALL | AR934X_PCIE_WMAC_INT_WMAC_ALL; ++ ++ if (status == 0) { ++ spurious_interrupt(); ++ return; ++ } + + if (status & AR934X_PCIE_WMAC_INT_PCIE_ALL) { + ath79_ddr_wb_flush(3); + generic_handle_irq(ATH79_IP2_IRQ(0)); +- } else if (status & AR934X_PCIE_WMAC_INT_WMAC_ALL) { ++ } ++ ++ if (status & AR934X_PCIE_WMAC_INT_WMAC_ALL) { + ath79_ddr_wb_flush(4); + generic_handle_irq(ATH79_IP2_IRQ(1)); +- } else { +- spurious_interrupt(); + } + } + diff --git a/target/linux/ar71xx/patches-4.14/500-MIPS-fw-myloader.patch b/target/linux/ar71xx/patches-4.14/500-MIPS-fw-myloader.patch index f22806abc5..866dc5e86e 100644 --- a/target/linux/ar71xx/patches-4.14/500-MIPS-fw-myloader.patch +++ b/target/linux/ar71xx/patches-4.14/500-MIPS-fw-myloader.patch @@ -10,7 +10,7 @@ --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1155,6 +1155,9 @@ config MIPS_MSC +@@ -1152,6 +1152,9 @@ config MIPS_MSC config MIPS_NILE4 bool diff --git a/target/linux/ar71xx/patches-4.14/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch b/target/linux/ar71xx/patches-4.14/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch index 4381cb8faf..722d127ec5 100644 --- a/target/linux/ar71xx/patches-4.14/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch +++ b/target/linux/ar71xx/patches-4.14/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch @@ -307,7 +307,7 @@ meaning of the bits CPUCLK_FROM_CPUPLL and DDRCLK_FROM_DDRPLL is reversed. return; --- a/arch/mips/ath79/irq.c +++ b/arch/mips/ath79/irq.c -@@ -56,6 +56,34 @@ static void ar934x_ip2_irq_init(void) +@@ -62,6 +62,34 @@ static void ar934x_ip2_irq_init(void) irq_set_chained_handler(ATH79_CPU_IRQ(2), ar934x_ip2_irq_dispatch); } @@ -342,7 +342,7 @@ meaning of the bits CPUCLK_FROM_CPUPLL and DDRCLK_FROM_DDRPLL is reversed. static void qca955x_ip2_irq_dispatch(struct irq_desc *desc) { u32 status; -@@ -143,7 +171,7 @@ void __init arch_init_irq(void) +@@ -149,7 +177,7 @@ void __init arch_init_irq(void) soc_is_ar913x() || soc_is_ar933x()) { irq_wb_chan2 = 3; irq_wb_chan3 = 2; @@ -351,7 +351,7 @@ meaning of the bits CPUCLK_FROM_CPUPLL and DDRCLK_FROM_DDRPLL is reversed. irq_wb_chan3 = 2; } -@@ -154,6 +182,7 @@ void __init arch_init_irq(void) +@@ -160,6 +188,7 @@ void __init arch_init_irq(void) else if (soc_is_ar724x() || soc_is_ar933x() || soc_is_ar934x() || @@ -359,7 +359,7 @@ meaning of the bits CPUCLK_FROM_CPUPLL and DDRCLK_FROM_DDRPLL is reversed. soc_is_qca955x()) misc_is_ar71xx = false; else -@@ -164,6 +193,8 @@ void __init arch_init_irq(void) +@@ -170,6 +199,8 @@ void __init arch_init_irq(void) if (soc_is_ar934x()) ar934x_ip2_irq_init(); diff --git a/target/linux/ar71xx/patches-4.14/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch b/target/linux/ar71xx/patches-4.14/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch index 3d79463545..670f7bef0a 100644 --- a/target/linux/ar71xx/patches-4.14/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch +++ b/target/linux/ar71xx/patches-4.14/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch @@ -291,7 +291,7 @@ return; --- a/arch/mips/ath79/irq.c +++ b/arch/mips/ath79/irq.c -@@ -156,6 +156,87 @@ static void qca955x_irq_init(void) +@@ -162,6 +162,87 @@ static void qca955x_irq_init(void) irq_set_chained_handler(ATH79_CPU_IRQ(3), qca955x_ip3_irq_dispatch); } @@ -379,7 +379,7 @@ void __init arch_init_irq(void) { unsigned irq_wb_chan2 = -1; -@@ -183,7 +264,9 @@ void __init arch_init_irq(void) +@@ -189,7 +270,9 @@ void __init arch_init_irq(void) soc_is_ar933x() || soc_is_ar934x() || soc_is_qca953x() || @@ -390,7 +390,7 @@ misc_is_ar71xx = false; else BUG(); -@@ -197,4 +280,6 @@ void __init arch_init_irq(void) +@@ -203,4 +286,6 @@ void __init arch_init_irq(void) qca953x_irq_init(); else if (soc_is_qca955x()) qca955x_irq_init(); diff --git a/target/linux/ar71xx/patches-4.14/630-MIPS-ath79-fix-chained-irq-disable.patch b/target/linux/ar71xx/patches-4.14/630-MIPS-ath79-fix-chained-irq-disable.patch index 2b92b88d03..a74eb4f43e 100644 --- a/target/linux/ar71xx/patches-4.14/630-MIPS-ath79-fix-chained-irq-disable.patch +++ b/target/linux/ar71xx/patches-4.14/630-MIPS-ath79-fix-chained-irq-disable.patch @@ -10,7 +10,7 @@ static void ar934x_ip2_irq_dispatch(struct irq_desc *desc) { u32 status; -@@ -50,8 +53,7 @@ static void ar934x_ip2_irq_init(void) +@@ -56,8 +59,7 @@ static void ar934x_ip2_irq_init(void) for (i = ATH79_IP2_IRQ_BASE; i < ATH79_IP2_IRQ_BASE + ATH79_IP2_IRQ_COUNT; i++) @@ -20,7 +20,7 @@ irq_set_chained_handler(ATH79_CPU_IRQ(2), ar934x_ip2_irq_dispatch); } -@@ -79,7 +81,7 @@ static void qca953x_irq_init(void) +@@ -85,7 +87,7 @@ static void qca953x_irq_init(void) for (i = ATH79_IP2_IRQ_BASE; i < ATH79_IP2_IRQ_BASE + ATH79_IP2_IRQ_COUNT; i++) @@ -29,7 +29,7 @@ irq_set_chained_handler(ATH79_CPU_IRQ(2), qca953x_ip2_irq_dispatch); } -@@ -143,15 +145,13 @@ static void qca955x_irq_init(void) +@@ -149,15 +151,13 @@ static void qca955x_irq_init(void) for (i = ATH79_IP2_IRQ_BASE; i < ATH79_IP2_IRQ_BASE + ATH79_IP2_IRQ_COUNT; i++) @@ -47,7 +47,7 @@ irq_set_chained_handler(ATH79_CPU_IRQ(3), qca955x_ip3_irq_dispatch); } -@@ -222,13 +222,13 @@ static void qca956x_irq_init(void) +@@ -228,13 +228,13 @@ static void qca956x_irq_init(void) for (i = ATH79_IP2_IRQ_BASE; i < ATH79_IP2_IRQ_BASE + ATH79_IP2_IRQ_COUNT; i++) @@ -63,7 +63,7 @@ irq_set_chained_handler(ATH79_CPU_IRQ(3), qca956x_ip3_irq_dispatch); -@@ -237,12 +237,40 @@ static void qca956x_irq_init(void) +@@ -243,12 +243,40 @@ static void qca956x_irq_init(void) late_time_init = &qca956x_enable_timer_cb; } diff --git a/target/linux/ar71xx/patches-4.14/952-qca955x-enable-ddr-wb-flush.patch b/target/linux/ar71xx/patches-4.14/952-qca955x-enable-ddr-wb-flush.patch new file mode 100644 index 0000000000..16d17b8a0e --- /dev/null +++ b/target/linux/ar71xx/patches-4.14/952-qca955x-enable-ddr-wb-flush.patch @@ -0,0 +1,49 @@ +--- a/arch/mips/ath79/common.c ++++ b/arch/mips/ath79/common.c +@@ -49,6 +49,8 @@ void ath79_ddr_ctrl_init(void) + if (soc_is_ar913x() || soc_is_ar724x() || soc_is_ar933x()) { + ath79_ddr_wb_flush_base = ath79_ddr_base + 0x7c; + ath79_ddr_pci_win_base = 0; ++ } else if (soc_is_qca953x() || soc_is_qca955x()) { ++ ath79_ddr_wb_flush_base = ath79_ddr_base + 0x9c; + } else { + ath79_ddr_wb_flush_base = ath79_ddr_base + 0x9c; + ath79_ddr_pci_win_base = ath79_ddr_base + 0x7c; +--- a/arch/mips/ath79/irq.c ++++ b/arch/mips/ath79/irq.c +@@ -105,12 +105,12 @@ static void qca955x_ip2_irq_dispatch(str + } + + if (status & QCA955X_EXT_INT_PCIE_RC1_ALL) { +- /* TODO: flush DDR? */ ++ ath79_ddr_wb_flush(3); + generic_handle_irq(ATH79_IP2_IRQ(0)); + } + + if (status & QCA955X_EXT_INT_WMAC_ALL) { +- /* TODO: flush DDR? */ ++ ath79_ddr_wb_flush(4); + generic_handle_irq(ATH79_IP2_IRQ(1)); + } + } +@@ -130,17 +130,17 @@ static void qca955x_ip3_irq_dispatch(str + } + + if (status & QCA955X_EXT_INT_USB1) { +- /* TODO: flush DDR? */ ++ ath79_ddr_wb_flush(2); + generic_handle_irq(ATH79_IP3_IRQ(0)); + } + + if (status & QCA955X_EXT_INT_USB2) { +- /* TODO: flush DDR? */ ++ ath79_ddr_wb_flush(2); + generic_handle_irq(ATH79_IP3_IRQ(1)); + } + + if (status & QCA955X_EXT_INT_PCIE_RC2_ALL) { +- /* TODO: flush DDR? */ ++ ath79_ddr_wb_flush(3); + generic_handle_irq(ATH79_IP3_IRQ(2)); + } + } diff --git a/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch b/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch index bb7f847e1b..43c4932f1f 100644 --- a/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch +++ b/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch @@ -241,7 +241,7 @@ */ --- a/net/ipv6/datagram.c +++ b/net/ipv6/datagram.c -@@ -478,7 +478,7 @@ int ipv6_recv_error(struct sock *sk, str +@@ -480,7 +480,7 @@ int ipv6_recv_error(struct sock *sk, str ipv6_iface_scope_id(&sin->sin6_addr, IP6CB(skb)->iif); } else { @@ -250,7 +250,7 @@ &sin->sin6_addr); sin->sin6_scope_id = 0; } -@@ -828,12 +828,12 @@ int ip6_datagram_send_ctl(struct net *ne +@@ -830,12 +830,12 @@ int ip6_datagram_send_ctl(struct net *ne } if (fl6->flowlabel&IPV6_FLOWINFO_MASK) { diff --git a/target/linux/brcm2708/base-files/etc/board.d/02_network b/target/linux/brcm2708/base-files/etc/board.d/02_network index 33aa15d85e..36c8c5df1a 100755 --- a/target/linux/brcm2708/base-files/etc/board.d/02_network +++ b/target/linux/brcm2708/base-files/etc/board.d/02_network @@ -15,6 +15,7 @@ raspberrypi,model-b |\ raspberrypi,model-b-plus |\ raspberrypi,model-b-rev2 |\ raspberrypi,2-model-b |\ +raspberrypi,2-model-b-rev2 |\ raspberrypi,3-model-b |\ raspberrypi,3-model-b-plus |\ raspberrypi,4-model-b) diff --git a/target/linux/brcm2708/base-files/lib/preinit/05_set_preinit_iface_brcm2708 b/target/linux/brcm2708/base-files/lib/preinit/05_set_preinit_iface_brcm2708 index bbb95149c2..de221ae7ad 100644 --- a/target/linux/brcm2708/base-files/lib/preinit/05_set_preinit_iface_brcm2708 +++ b/target/linux/brcm2708/base-files/lib/preinit/05_set_preinit_iface_brcm2708 @@ -7,6 +7,7 @@ set_preinit_iface() { case "$(board_name)" in raspberrypi,2-model-b |\ + raspberrypi,2-model-b-rev2 |\ raspberrypi,3-model-b |\ raspberrypi,3-model-b-plus |\ raspberrypi,4-model-b |\ diff --git a/target/linux/brcm2708/base-files/lib/preinit/79_move_config b/target/linux/brcm2708/base-files/lib/preinit/79_move_config index b0ee62a809..b8738b645e 100644 --- a/target/linux/brcm2708/base-files/lib/preinit/79_move_config +++ b/target/linux/brcm2708/base-files/lib/preinit/79_move_config @@ -1,6 +1,8 @@ #!/bin/sh # Copyright (C) 2015 OpenWrt.org +. /lib/upgrade/common.sh + BOOTPART=/dev/mmcblk0p1 move_config() { @@ -11,7 +13,7 @@ move_config() { insmod vfat mkdir -p /boot mount -t vfat -o rw,noatime $BOOTPART /boot - [ -f /boot/sysupgrade.tgz ] && mv -f /boot/sysupgrade.tgz / + [ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" / fi } diff --git a/target/linux/brcm2708/base-files/lib/upgrade/platform.sh b/target/linux/brcm2708/base-files/lib/upgrade/platform.sh index 693cde7779..811355b8f7 100644 --- a/target/linux/brcm2708/base-files/lib/upgrade/platform.sh +++ b/target/linux/brcm2708/base-files/lib/upgrade/platform.sh @@ -91,8 +91,8 @@ platform_copy_config() { if export_partdevice partdev 1; then mkdir -p /boot [ -f /boot/kernel.img ] || mount -t vfat -o rw,noatime "/dev/$partdev" /boot - cp -af "$CONF_TAR" /boot/ - tar -C / -zxvf "$CONF_TAR" boot/config.txt + cp -af "$UPGRADE_BACKUP" "/boot/$BACKUP_FILE" + tar -C / -zxvf "$UPGRADE_BACKUP" boot/config.txt sync unmount /boot fi diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index f1a4bb8dc4..db2b3b5562 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -27,7 +27,8 @@ define Build/boot-common mcopy -i $@.boot $(KDIR)/COPYING.linux :: mcopy -i $@.boot $(KDIR)/LICENCE.broadcom :: mcopy -i $@.boot cmdline.txt :: - mcopy -i $@.boot $(BOOT_CONFIG) ::config.txt + mcopy -i $@.boot config.txt :: + mcopy -i $@.boot distroconfig.txt :: mcopy -i $@.boot $(IMAGE_KERNEL) ::$(KERNEL_IMG) $(foreach dts,$(shell echo $(DEVICE_DTS)),mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb ::;) mmd -i $@.boot ::/overlays @@ -67,12 +68,14 @@ define Device/Default IMAGES := factory.img.gz sysupgrade.img.gz IMAGE/sysupgrade.img.gz := boot-common | boot-2708 | sdcard-img | gzip | append-metadata IMAGE/factory.img.gz := boot-common | boot-2708 | sdcard-img | gzip - BOOT_CONFIG := config.txt endef define Device/rpi DEVICE_MODEL := B/B+/CM/Zero/ZeroW - DEVICE_DTS := bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm bcm2708-rpi-zero bcm2708-rpi-zero-w + DEVICE_DTS := \ + bcm2708-rpi-b bcm2708-rpi-b-plus \ + bcm2708-rpi-cm \ + bcm2708-rpi-zero bcm2708-rpi-zero-w SUPPORTED_DEVICES := \ rpi-b rpi-b-plus rpi-cm rpi-zero rpi-zero-w \ raspberrypi,model-b raspberrypi,model-b-plus raspberrypi,model-b-rev2 \ @@ -89,10 +92,14 @@ endif define Device/rpi-2 DEVICE_MODEL := 2B/3B/3B+/3CM/4B - DEVICE_DTS := bcm2709-rpi-2-b bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2711-rpi-4-b bcm2710-rpi-cm3 + DEVICE_DTS := \ + bcm2709-rpi-2-b bcm2710-rpi-2-b \ + bcm2710-rpi-3-b bcm2710-rpi-3-b-plus \ + bcm2711-rpi-4-b \ + bcm2710-rpi-cm3 SUPPORTED_DEVICES := \ rpi-2-b rpi-3-b rpi-3-b-plus rpi-cm \ - raspberrypi,2-model-b \ + raspberrypi,2-model-b raspberrypi,2-model-b-rev2 \ raspberrypi,3-model-b raspberrypi,3-model-b-plus \ raspberrypi,3-compute-module raspberrypi,compute-module-3 \ raspberrypi,4-model-b @@ -110,11 +117,15 @@ ifeq ($(SUBTARGET),bcm2709) endif define Device/rpi-3 - DEVICE_MODEL := 3B/3B+/3CM + DEVICE_MODEL := 2B-1.2/3B/3B+/3CM KERNEL_IMG := kernel8.img - DEVICE_DTS := broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2710-rpi-cm3 + DEVICE_DTS := \ + broadcom/bcm2710-rpi-2-b \ + broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus \ + broadcom/bcm2710-rpi-cm3 SUPPORTED_DEVICES := \ rpi-3-b rpi-3-b-plus \ + raspberrypi,2-model-b-rev2 \ raspberrypi,3-model-b raspberrypi,3-model-b-plus \ raspberrypi,3-compute-module raspberrypi,compute-module-3 DEVICE_PACKAGES := \ @@ -140,7 +151,6 @@ define Device/rpi-4 kmod-brcmfmac wpad-basic IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata IMAGE/factory.img.gz := boot-common | boot-2711 | sdcard-img | gzip - BOOT_CONFIG := config-bcm2711-arm64.txt endef ifeq ($(SUBTARGET),bcm2711) TARGET_DEVICES += rpi-4 diff --git a/target/linux/brcm2708/image/config-bcm2711-arm64.txt b/target/linux/brcm2708/image/config-bcm2711-arm64.txt deleted file mode 100644 index 1af8ed0dfe..0000000000 --- a/target/linux/brcm2708/image/config-bcm2711-arm64.txt +++ /dev/null @@ -1,11 +0,0 @@ -################################################################################ -# Bootloader configuration - config.txt -################################################################################ - -################################################################################ -# For overclocking and various other settings, see: -# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md -################################################################################ - -# Force aarch64 -arm_64bit=1 diff --git a/target/linux/brcm2708/image/config.txt b/target/linux/brcm2708/image/config.txt index 0b963a99ae..f8ca1bf2d4 100644 --- a/target/linux/brcm2708/image/config.txt +++ b/target/linux/brcm2708/image/config.txt @@ -6,3 +6,9 @@ # For overclocking and various other settings, see: # https://www.raspberrypi.org/documentation/configuration/config-txt/README.md ################################################################################ + +# OpenWrt config +include distroconfig.txt + +[all] +# Place your custom settings here. diff --git a/target/linux/brcm2708/image/distroconfig.txt b/target/linux/brcm2708/image/distroconfig.txt new file mode 100644 index 0000000000..54cf44346f --- /dev/null +++ b/target/linux/brcm2708/image/distroconfig.txt @@ -0,0 +1,14 @@ +################################################################################ +# Bootloader configuration - distroconfig.txt +################################################################################ + +# Restore PL011 (ttyAMA0) to GPIOs 14 & 15, instead of Mini UART (ttyS0). +# Mini UART is disabled by default unless "enable_uart=1" is specified, +# which changes the core frequency to a fixed value and impacts performance. +# See https://www.raspberrypi.org/documentation/configuration/uart.md +[pi0w] +dtoverlay=disable-bt +[pi3] +dtoverlay=disable-bt +[pi4] +dtoverlay=disable-bt diff --git a/target/linux/brcm2708/modules/sound.mk b/target/linux/brcm2708/modules/sound.mk index e70af01c46..16764d369d 100644 --- a/target/linux/brcm2708/modules/sound.mk +++ b/target/linux/brcm2708/modules/sound.mk @@ -512,6 +512,26 @@ endef $(eval $(call KernelPackage,sound-soc-hifiberry-dacplusadc)) +define KernelPackage/sound-soc-hifiberry-dacplusdsp + TITLE:=Support for HifiBerry DAC+DSP + KCONFIG:= \ + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP + FILES:= \ + $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplusdsp.ko + AUTOLOAD:=$(call AutoLoad,68,snd-soc-hifiberry-dacplusdsp) + DEPENDS:= \ + kmod-sound-soc-bcm2835-i2s \ + +kmod-sound-soc-rpi-simple-soundcard + $(call AddDepends/sound) +endef + +define KernelPackage/sound-soc-hifiberry-dacplusdsp/description + This package contains support for HifiBerry DAC+DSP +endef + +$(eval $(call KernelPackage,sound-soc-hifiberry-dacplusdsp)) + + define KernelPackage/sound-soc-hifiberry-dacplusadc-pro TITLE:=Support for HifiBerry DAC+ADC PRO KCONFIG:= \ diff --git a/target/linux/brcm2708/patches-4.19/950-0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch b/target/linux/brcm2708/patches-4.19/950-0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch index af64195136..acaec70930 100644 --- a/target/linux/brcm2708/patches-4.19/950-0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch +++ b/target/linux/brcm2708/patches-4.19/950-0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch @@ -1,7 +1,7 @@ -From 5aeff609a8dadb82acf69650bd98faba80a47b6e Mon Sep 17 00:00:00 2001 +From 2096cda971fed28cbc822d8c7d489bf85af22f34 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Thu, 21 Sep 2017 09:55:42 -0500 -Subject: [PATCH 001/773] arm: partially revert +Subject: [PATCH 001/806] arm: partially revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65 * Re-expose some dmi APIs for use in VCSM diff --git a/target/linux/brcm2708/patches-4.19/950-0002-smsx95xx-fix-crimes-against-truesize.patch b/target/linux/brcm2708/patches-4.19/950-0002-smsx95xx-fix-crimes-against-truesize.patch index 8cf143b323..b06fe3d0de 100644 --- a/target/linux/brcm2708/patches-4.19/950-0002-smsx95xx-fix-crimes-against-truesize.patch +++ b/target/linux/brcm2708/patches-4.19/950-0002-smsx95xx-fix-crimes-against-truesize.patch @@ -1,7 +1,7 @@ -From 4a6d6180a843971e60a6e3b7f21e9e5b0fb57071 Mon Sep 17 00:00:00 2001 +From 26bb49317b44d0927ed7b4be1d72aa11853a01f7 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/773] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/806] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. diff --git a/target/linux/brcm2708/patches-4.19/950-0003-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch b/target/linux/brcm2708/patches-4.19/950-0003-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch index c45679c639..862d898cbc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0003-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0003-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch @@ -1,7 +1,7 @@ -From 0f28cdfa1b52e770ee13f4dcc5ad732225b75b17 Mon Sep 17 00:00:00 2001 +From ac6edc14a931f10413d4586c2d0d1f2ddc1a416a Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 003/773] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 003/806] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 diff --git a/target/linux/brcm2708/patches-4.19/950-0004-Allow-mac-address-to-be-set-in-smsc95xx.patch b/target/linux/brcm2708/patches-4.19/950-0004-Allow-mac-address-to-be-set-in-smsc95xx.patch index fe30ad9dff..7c8a109464 100644 --- a/target/linux/brcm2708/patches-4.19/950-0004-Allow-mac-address-to-be-set-in-smsc95xx.patch +++ b/target/linux/brcm2708/patches-4.19/950-0004-Allow-mac-address-to-be-set-in-smsc95xx.patch @@ -1,7 +1,7 @@ -From 9f83838979d7bfc5f4b4123c51871403208de521 Mon Sep 17 00:00:00 2001 +From fa1451d655f59916aec1c1e4fb17f19a78005066 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 004/773] Allow mac address to be set in smsc95xx +Subject: [PATCH 004/806] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- diff --git a/target/linux/brcm2708/patches-4.19/950-0005-Protect-__release_resource-against-resources-without.patch b/target/linux/brcm2708/patches-4.19/950-0005-Protect-__release_resource-against-resources-without.patch index 697ea1d442..38fc5d8a4d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0005-Protect-__release_resource-against-resources-without.patch +++ b/target/linux/brcm2708/patches-4.19/950-0005-Protect-__release_resource-against-resources-without.patch @@ -1,7 +1,7 @@ -From 063b764f6c762935b3a12a84185f98cfbf759aaa Mon Sep 17 00:00:00 2001 +From 6209e42d384cfe873123b411a9bd170de027d4b5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 005/773] Protect __release_resource against resources without +Subject: [PATCH 005/806] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. diff --git a/target/linux/brcm2708/patches-4.19/950-0006-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch b/target/linux/brcm2708/patches-4.19/950-0006-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch index ee0f82301f..8dd46f2508 100644 --- a/target/linux/brcm2708/patches-4.19/950-0006-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch +++ b/target/linux/brcm2708/patches-4.19/950-0006-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch @@ -1,7 +1,7 @@ -From b46a87040e3d0996bfd76d3c325130fafe76f89a Mon Sep 17 00:00:00 2001 +From 5e9082be2fca137fe13b8af15aa0b9d178cd99c1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/773] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/806] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the diff --git a/target/linux/brcm2708/patches-4.19/950-0007-irq-bcm2836-Avoid-Invalid-trigger-warning.patch b/target/linux/brcm2708/patches-4.19/950-0007-irq-bcm2836-Avoid-Invalid-trigger-warning.patch index 3245ef9c9a..bf78731b15 100644 --- a/target/linux/brcm2708/patches-4.19/950-0007-irq-bcm2836-Avoid-Invalid-trigger-warning.patch +++ b/target/linux/brcm2708/patches-4.19/950-0007-irq-bcm2836-Avoid-Invalid-trigger-warning.patch @@ -1,7 +1,7 @@ -From 8fa468320f67f77ad7cb4181c4add57aab75c5b0 Mon Sep 17 00:00:00 2001 +From b8a56e2dbae7dbcc0537b03f8a99eb5ba638876b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/773] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/806] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. diff --git a/target/linux/brcm2708/patches-4.19/950-0008-irqchip-bcm2835-Add-FIQ-support.patch b/target/linux/brcm2708/patches-4.19/950-0008-irqchip-bcm2835-Add-FIQ-support.patch index a89358afc0..f1cc3c86c1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0008-irqchip-bcm2835-Add-FIQ-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0008-irqchip-bcm2835-Add-FIQ-support.patch @@ -1,7 +1,7 @@ -From de43634ad18a2cf230dfc7645c6d97819669252d Mon Sep 17 00:00:00 2001 +From 9334b65d3020bca44aa2695b84eda865ecc340e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 008/773] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/806] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0009-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch b/target/linux/brcm2708/patches-4.19/950-0009-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch index 39cf2449d0..f701116afb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0009-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0009-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch @@ -1,7 +1,7 @@ -From c4d05e2af315b0666879b0f34b0f8d0b05d8d63c Mon Sep 17 00:00:00 2001 +From a2416a2926904e3a07bdb10b9cf3c7871e87583c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 009/773] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/806] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0010-spidev-Add-spidev-compatible-string-to-silence-warni.patch b/target/linux/brcm2708/patches-4.19/950-0010-spidev-Add-spidev-compatible-string-to-silence-warni.patch index 4ce82f27e1..4575bdfc41 100644 --- a/target/linux/brcm2708/patches-4.19/950-0010-spidev-Add-spidev-compatible-string-to-silence-warni.patch +++ b/target/linux/brcm2708/patches-4.19/950-0010-spidev-Add-spidev-compatible-string-to-silence-warni.patch @@ -1,7 +1,7 @@ -From 851317f6443a19c32aea5b68c119573982fa396b Mon Sep 17 00:00:00 2001 +From e21d0b86f4a9c2c1f61e183e5dfcc1cf37058ca1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 010/773] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 010/806] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 diff --git a/target/linux/brcm2708/patches-4.19/950-0011-spi-bcm2835-Support-pin-groups-other-than-7-11.patch b/target/linux/brcm2708/patches-4.19/950-0011-spi-bcm2835-Support-pin-groups-other-than-7-11.patch index cd4b8c1422..db658bcf2e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0011-spi-bcm2835-Support-pin-groups-other-than-7-11.patch +++ b/target/linux/brcm2708/patches-4.19/950-0011-spi-bcm2835-Support-pin-groups-other-than-7-11.patch @@ -1,7 +1,7 @@ -From 23bb48d83e2a820b8371a3512261981b52630eee Mon Sep 17 00:00:00 2001 +From 61ca6adb1fc93622bb85acc18b6ce4f620c8c690 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 011/773] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 011/806] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the diff --git a/target/linux/brcm2708/patches-4.19/950-0012-spi-bcm2835-Disable-forced-software-CS.patch b/target/linux/brcm2708/patches-4.19/950-0012-spi-bcm2835-Disable-forced-software-CS.patch index 4102f58c81..1df35981fd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0012-spi-bcm2835-Disable-forced-software-CS.patch +++ b/target/linux/brcm2708/patches-4.19/950-0012-spi-bcm2835-Disable-forced-software-CS.patch @@ -1,7 +1,7 @@ -From 69d97bffaad932f5ba5c5b1ad347ad0495a55117 Mon Sep 17 00:00:00 2001 +From 2610aceda837370048f86b4af27852463c3b5a47 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 012/773] spi-bcm2835: Disable forced software CS +Subject: [PATCH 012/806] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an diff --git a/target/linux/brcm2708/patches-4.19/950-0013-spi-bcm2835-Remove-unused-code.patch b/target/linux/brcm2708/patches-4.19/950-0013-spi-bcm2835-Remove-unused-code.patch index 057b97af67..db4bb49527 100644 --- a/target/linux/brcm2708/patches-4.19/950-0013-spi-bcm2835-Remove-unused-code.patch +++ b/target/linux/brcm2708/patches-4.19/950-0013-spi-bcm2835-Remove-unused-code.patch @@ -1,7 +1,7 @@ -From cb5388ad2851ec7a7fcb58ca1ebec0a1ab84a66f Mon Sep 17 00:00:00 2001 +From 80dc41f5617db0dbe3e17a399603a50b91997c5b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 013/773] spi-bcm2835: Remove unused code +Subject: [PATCH 013/806] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 --------------------------------------- diff --git a/target/linux/brcm2708/patches-4.19/950-0014-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch b/target/linux/brcm2708/patches-4.19/950-0014-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch index cf975f45d0..03c4a0a6c7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0014-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch +++ b/target/linux/brcm2708/patches-4.19/950-0014-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch @@ -1,7 +1,7 @@ -From 8db77ac342dc3bb179c5e6610805706ebfdafc7c Mon Sep 17 00:00:00 2001 +From 10d11b6b5410b9d31845efd23147fd08477a5151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 014/773] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 014/806] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/target/linux/brcm2708/patches-4.19/950-0015-firmware-Updated-mailbox-header.patch b/target/linux/brcm2708/patches-4.19/950-0015-firmware-Updated-mailbox-header.patch index cc60789c58..d6921a6e88 100644 --- a/target/linux/brcm2708/patches-4.19/950-0015-firmware-Updated-mailbox-header.patch +++ b/target/linux/brcm2708/patches-4.19/950-0015-firmware-Updated-mailbox-header.patch @@ -1,7 +1,7 @@ -From f27da16a911e08fe3cb210014d5f0795ddb812b3 Mon Sep 17 00:00:00 2001 +From e00fde59167c31cf376c74b333b58f011b244dfa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 015/773] firmware: Updated mailbox header +Subject: [PATCH 015/806] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 5 +++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0016-rtc-Add-SPI-alias-for-pcf2123-driver.patch b/target/linux/brcm2708/patches-4.19/950-0016-rtc-Add-SPI-alias-for-pcf2123-driver.patch index be4eed449a..29119dd676 100644 --- a/target/linux/brcm2708/patches-4.19/950-0016-rtc-Add-SPI-alias-for-pcf2123-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0016-rtc-Add-SPI-alias-for-pcf2123-driver.patch @@ -1,7 +1,7 @@ -From 9c5cca27567e50f9224439ff45c83d23725a6d04 Mon Sep 17 00:00:00 2001 +From 3c8282fa8f1a50bf5ff5b83e83d97b37433bbdd9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 016/773] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 016/806] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. diff --git a/target/linux/brcm2708/patches-4.19/950-0017-watchdog-bcm2835-Support-setting-reboot-partition.patch b/target/linux/brcm2708/patches-4.19/950-0017-watchdog-bcm2835-Support-setting-reboot-partition.patch index 565ffd9f8d..6db6881888 100644 --- a/target/linux/brcm2708/patches-4.19/950-0017-watchdog-bcm2835-Support-setting-reboot-partition.patch +++ b/target/linux/brcm2708/patches-4.19/950-0017-watchdog-bcm2835-Support-setting-reboot-partition.patch @@ -1,7 +1,7 @@ -From b8779c374c61ce6f8cafe3c054279d510781cc75 Mon Sep 17 00:00:00 2001 +From 8018869c6c8590018c1cd272475eda0dbf72a7ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 017/773] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 017/806] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0018-reboot-Use-power-off-rather-than-busy-spinning-when-.patch b/target/linux/brcm2708/patches-4.19/950-0018-reboot-Use-power-off-rather-than-busy-spinning-when-.patch index 7781ffe870..62a8b13f11 100644 --- a/target/linux/brcm2708/patches-4.19/950-0018-reboot-Use-power-off-rather-than-busy-spinning-when-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0018-reboot-Use-power-off-rather-than-busy-spinning-when-.patch @@ -1,7 +1,7 @@ -From 5deffd890e33238ae82b5fe306d3c258b6527c66 Mon Sep 17 00:00:00 2001 +From c296f60b7a5b3c4f82aa0768030ebf64ab64792b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 018/773] reboot: Use power off rather than busy spinning when +Subject: [PATCH 018/806] reboot: Use power off rather than busy spinning when halt is requested --- diff --git a/target/linux/brcm2708/patches-4.19/950-0019-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch b/target/linux/brcm2708/patches-4.19/950-0019-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch index 4875e25caa..e33e4ee517 100644 --- a/target/linux/brcm2708/patches-4.19/950-0019-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch +++ b/target/linux/brcm2708/patches-4.19/950-0019-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch @@ -1,7 +1,7 @@ -From 82876bead4101ba80c7ddfe76a3a2375deff1c2f Mon Sep 17 00:00:00 2001 +From f54671cb165da1c13d33777cd59329a464f9863b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 019/773] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 019/806] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + diff --git a/target/linux/brcm2708/patches-4.19/950-0020-Register-the-clocks-early-during-the-boot-process-so.patch b/target/linux/brcm2708/patches-4.19/950-0020-Register-the-clocks-early-during-the-boot-process-so.patch index cc80b2d516..f77e14fc0f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0020-Register-the-clocks-early-during-the-boot-process-so.patch +++ b/target/linux/brcm2708/patches-4.19/950-0020-Register-the-clocks-early-during-the-boot-process-so.patch @@ -1,7 +1,7 @@ -From 5d6464320ab7db4198d9568c20d25063c9c236f8 Mon Sep 17 00:00:00 2001 +From 05caac5f388bf0b821d4a75e480a74ae40fc8478 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 020/773] Register the clocks early during the boot process, so +Subject: [PATCH 020/806] Register the clocks early during the boot process, so that special/critical clocks can get enabled early on in the boot process avoiding the risk of disabling a clock, pll_divider or pll when a claiming driver fails to install propperly - maybe it needs to defer. diff --git a/target/linux/brcm2708/patches-4.19/950-0021-bcm2835-rng-Avoid-initialising-if-already-enabled.patch b/target/linux/brcm2708/patches-4.19/950-0021-bcm2835-rng-Avoid-initialising-if-already-enabled.patch index 56ce831bff..4b33ad22b2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0021-bcm2835-rng-Avoid-initialising-if-already-enabled.patch +++ b/target/linux/brcm2708/patches-4.19/950-0021-bcm2835-rng-Avoid-initialising-if-already-enabled.patch @@ -1,7 +1,7 @@ -From 291ee006cdd9854201d82d78fa0930142e224990 Mon Sep 17 00:00:00 2001 +From d5df60f32f3c3b2f7f6d758ac08de6acb9fd947f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 021/773] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 021/806] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- diff --git a/target/linux/brcm2708/patches-4.19/950-0022-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch b/target/linux/brcm2708/patches-4.19/950-0022-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch index 526f918d67..c968717e31 100644 --- a/target/linux/brcm2708/patches-4.19/950-0022-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch +++ b/target/linux/brcm2708/patches-4.19/950-0022-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch @@ -1,7 +1,7 @@ -From 7936498ab3bf4dfd05779c3b8f4766e983f40036 Mon Sep 17 00:00:00 2001 +From 3437db6e19e29ff9b6d2eef9a5ee703f04ca1d41 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 022/773] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 022/806] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- diff --git a/target/linux/brcm2708/patches-4.19/950-0023-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch b/target/linux/brcm2708/patches-4.19/950-0023-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch index 9d70b0a4c3..83451a9954 100644 --- a/target/linux/brcm2708/patches-4.19/950-0023-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch +++ b/target/linux/brcm2708/patches-4.19/950-0023-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch @@ -1,7 +1,7 @@ -From 6980d928a2cc130ae52f0e0ba80d96c1b96c9f0c Mon Sep 17 00:00:00 2001 +From f1f199b682e258674137105f49d033cb81612ab7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 023/773] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 023/806] clk-bcm2835: Mark used PLLs and dividers CRITICAL The VPU configures and relies on several PLLs and dividers. Mark all enabled dividers and their PLLs as CRITICAL to prevent the kernel from diff --git a/target/linux/brcm2708/patches-4.19/950-0024-clk-bcm2835-Add-claim-clocks-property.patch b/target/linux/brcm2708/patches-4.19/950-0024-clk-bcm2835-Add-claim-clocks-property.patch index 488f57a870..9b58d00460 100644 --- a/target/linux/brcm2708/patches-4.19/950-0024-clk-bcm2835-Add-claim-clocks-property.patch +++ b/target/linux/brcm2708/patches-4.19/950-0024-clk-bcm2835-Add-claim-clocks-property.patch @@ -1,7 +1,7 @@ -From 585c5e6c9c70caf1feaedc1f1f6c0b0ca0c1ec05 Mon Sep 17 00:00:00 2001 +From 787234827719aa1d44b079969419d91b665a491d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 024/773] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 024/806] clk-bcm2835: Add claim-clocks property The claim-clocks property can be used to prevent PLLs and dividers from being marked as critical. It contains a vector of clock IDs, diff --git a/target/linux/brcm2708/patches-4.19/950-0025-clk-bcm2835-Read-max-core-clock-from-firmware.patch b/target/linux/brcm2708/patches-4.19/950-0025-clk-bcm2835-Read-max-core-clock-from-firmware.patch index f7aeb5cf19..5a38d8c6ce 100644 --- a/target/linux/brcm2708/patches-4.19/950-0025-clk-bcm2835-Read-max-core-clock-from-firmware.patch +++ b/target/linux/brcm2708/patches-4.19/950-0025-clk-bcm2835-Read-max-core-clock-from-firmware.patch @@ -1,7 +1,7 @@ -From f78e04a056cdf4c294decfdf75cf811ce314bc02 Mon Sep 17 00:00:00 2001 +From f8e7e4a65b3f99452db67cfb7e21afc80b8af7f2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 025/773] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 025/806] clk-bcm2835: Read max core clock from firmware The VPU is responsible for managing the core clock, usually under direction from the bcm2835-cpufreq driver but not via the clk-bcm2835 diff --git a/target/linux/brcm2708/patches-4.19/950-0026-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch b/target/linux/brcm2708/patches-4.19/950-0026-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch index e7dbb45889..327546eddd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0026-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch +++ b/target/linux/brcm2708/patches-4.19/950-0026-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch @@ -1,7 +1,7 @@ -From 00e7c106f7155879a33137169bf4e795969afb09 Mon Sep 17 00:00:00 2001 +From 6272fd1e55945522b156a28c1f605b69ae6e05b7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 026/773] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 026/806] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi diff --git a/target/linux/brcm2708/patches-4.19/950-0027-sound-Demote-deferral-errors-to-INFO-level.patch b/target/linux/brcm2708/patches-4.19/950-0027-sound-Demote-deferral-errors-to-INFO-level.patch index e40b44453d..3a78d7196a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0027-sound-Demote-deferral-errors-to-INFO-level.patch +++ b/target/linux/brcm2708/patches-4.19/950-0027-sound-Demote-deferral-errors-to-INFO-level.patch @@ -1,7 +1,7 @@ -From d2437667bc502cf28a40ca6cae80e131a4c9a218 Mon Sep 17 00:00:00 2001 +From fd613a5d5dc7f023d7d983aee9d854fd3a41d669 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 027/773] sound: Demote deferral errors to INFO level +Subject: [PATCH 027/806] sound: Demote deferral errors to INFO level At present there is no mechanism to specify driver load order, which can lead to deferrals and repeated retries until successful. diff --git a/target/linux/brcm2708/patches-4.19/950-0028-Update-vfpmodule.c.patch b/target/linux/brcm2708/patches-4.19/950-0028-Update-vfpmodule.c.patch index 90b9d02cd2..f589cf4b1d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0028-Update-vfpmodule.c.patch +++ b/target/linux/brcm2708/patches-4.19/950-0028-Update-vfpmodule.c.patch @@ -1,7 +1,7 @@ -From 6ae13148b5a909c4485b30b4a8ed04c75d776e80 Mon Sep 17 00:00:00 2001 +From 0eb679e4b41dab1e421415917feae44d00e1687f Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 028/773] Update vfpmodule.c +Subject: [PATCH 028/806] Update vfpmodule.c Christopher Alexander Tobias Schulze - May 2, 2015, 11:57 a.m. This patch fixes a problem with VFP state save and restore related diff --git a/target/linux/brcm2708/patches-4.19/950-0029-i2c-bcm2835-Add-debug-support.patch b/target/linux/brcm2708/patches-4.19/950-0029-i2c-bcm2835-Add-debug-support.patch index b8bd7cfdca..4f7e2238d9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0029-i2c-bcm2835-Add-debug-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0029-i2c-bcm2835-Add-debug-support.patch @@ -1,7 +1,7 @@ -From 88bf0aa4b8e700d05f649ca0eaef4c8d4d38a9d7 Mon Sep 17 00:00:00 2001 +From b6494e2070983020d56f82d9d0be74d11b001823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:15:41 +0100 -Subject: [PATCH 029/773] i2c: bcm2835: Add debug support +Subject: [PATCH 029/806] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0030-mm-Remove-the-PFN-busy-warning.patch b/target/linux/brcm2708/patches-4.19/950-0030-mm-Remove-the-PFN-busy-warning.patch index 4674ecc9ba..ba2e3e684f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0030-mm-Remove-the-PFN-busy-warning.patch +++ b/target/linux/brcm2708/patches-4.19/950-0030-mm-Remove-the-PFN-busy-warning.patch @@ -1,7 +1,7 @@ -From 15eda8d8af9dd8ef00be8d0e559db099fbb6c1ee Mon Sep 17 00:00:00 2001 +From a8a5ad555b7168ce90263395dc5f26b99af9bf4e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 030/773] mm: Remove the PFN busy warning +Subject: [PATCH 030/806] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams diff --git a/target/linux/brcm2708/patches-4.19/950-0031-ASoC-Add-prompt-for-ICS43432-codec.patch b/target/linux/brcm2708/patches-4.19/950-0031-ASoC-Add-prompt-for-ICS43432-codec.patch index 78f85015fe..88148a68a1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0031-ASoC-Add-prompt-for-ICS43432-codec.patch +++ b/target/linux/brcm2708/patches-4.19/950-0031-ASoC-Add-prompt-for-ICS43432-codec.patch @@ -1,7 +1,7 @@ -From f9a73252c4cb6e419bf80b25612c7bbd82bb1ae2 Mon Sep 17 00:00:00 2001 +From e4cd2b482eadc7f7901ba6c0df3080f792c4d655 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 031/773] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 031/806] ASoC: Add prompt for ICS43432 codec Without a prompt string, a config setting can't be included in a defconfig. Give CONFIG_SND_SOC_ICS43432 a prompt so that Pi soundcards diff --git a/target/linux/brcm2708/patches-4.19/950-0032-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch b/target/linux/brcm2708/patches-4.19/950-0032-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch index 6aac2a3a17..010eff83a2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0032-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch +++ b/target/linux/brcm2708/patches-4.19/950-0032-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch @@ -1,7 +1,7 @@ -From d692d8494e74c3965084a3d5322671e29c09e939 Mon Sep 17 00:00:00 2001 +From f1905bc5137db49ef155f835d52d68cb86c4c9a9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Jan 2018 16:52:45 +0000 -Subject: [PATCH 032/773] irqchip: irq-bcm2836: Remove regmap and syscon use +Subject: [PATCH 032/806] irqchip: irq-bcm2836: Remove regmap and syscon use The syscon node defines a register range that duplicates that used by the local_intc node on bcm2836/7. Since irq-bcm2835 and irq-bcm2836 are diff --git a/target/linux/brcm2708/patches-4.19/950-0033-lan78xx-Enable-LEDs-and-auto-negotiation.patch b/target/linux/brcm2708/patches-4.19/950-0033-lan78xx-Enable-LEDs-and-auto-negotiation.patch index 82b26ef92a..66b43c46f1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0033-lan78xx-Enable-LEDs-and-auto-negotiation.patch +++ b/target/linux/brcm2708/patches-4.19/950-0033-lan78xx-Enable-LEDs-and-auto-negotiation.patch @@ -1,7 +1,7 @@ -From a4c058db46978b5cd47ce3d43235cee561951e09 Mon Sep 17 00:00:00 2001 +From 645eb2cf211c04496c9f5daca23ab16ce796b0df Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Oct 2017 15:04:29 +0100 -Subject: [PATCH 033/773] lan78xx: Enable LEDs and auto-negotiation +Subject: [PATCH 033/806] lan78xx: Enable LEDs and auto-negotiation For applications of the LAN78xx that don't have valid programmed EEPROMs or OTPs, enabling both LEDs and auto-negotiation by default diff --git a/target/linux/brcm2708/patches-4.19/950-0034-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch b/target/linux/brcm2708/patches-4.19/950-0034-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch index 360169e8e4..8b70d80e15 100644 --- a/target/linux/brcm2708/patches-4.19/950-0034-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch +++ b/target/linux/brcm2708/patches-4.19/950-0034-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch @@ -1,7 +1,7 @@ -From 2bdcdb66ae0a6e47e92e4d9e1ea770a8fb2d5d9b Mon Sep 17 00:00:00 2001 +From c048d8c7b1ae0d56d9ee1bca2be8cc9da5a43bba Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 034/773] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 034/806] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause diff --git a/target/linux/brcm2708/patches-4.19/950-0035-amba_pl011-Round-input-clock-up.patch b/target/linux/brcm2708/patches-4.19/950-0035-amba_pl011-Round-input-clock-up.patch index 76526170b1..82ef72b280 100644 --- a/target/linux/brcm2708/patches-4.19/950-0035-amba_pl011-Round-input-clock-up.patch +++ b/target/linux/brcm2708/patches-4.19/950-0035-amba_pl011-Round-input-clock-up.patch @@ -1,7 +1,7 @@ -From 651015f8120bffcd35d6ede0084a82142b6d4be2 Mon Sep 17 00:00:00 2001 +From 610cb34f3d7c5fdffb0db82538731714a2df1d13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 035/773] amba_pl011: Round input clock up +Subject: [PATCH 035/806] amba_pl011: Round input clock up The UART clock is initialised to be as close to the requested frequency as possible without exceeding it. Now that there is a diff --git a/target/linux/brcm2708/patches-4.19/950-0036-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch b/target/linux/brcm2708/patches-4.19/950-0036-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch index e7e0cd2ae2..7fdedd2bff 100644 --- a/target/linux/brcm2708/patches-4.19/950-0036-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch +++ b/target/linux/brcm2708/patches-4.19/950-0036-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch @@ -1,7 +1,7 @@ -From 4f3db8602a4b64007a1e9016915f59c924787c05 Mon Sep 17 00:00:00 2001 +From 76627df3e5f0513118dac20710766f97fc5ca32d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 036/773] amba_pl011: Insert mb() for correct FIFO handling +Subject: [PATCH 036/806] amba_pl011: Insert mb() for correct FIFO handling The pl011 register accessor functions use the _relaxed versions of the standard readl() and writel() functions, meaning that there are no diff --git a/target/linux/brcm2708/patches-4.19/950-0037-amba_pl011-Add-cts-event-workaround-DT-property.patch b/target/linux/brcm2708/patches-4.19/950-0037-amba_pl011-Add-cts-event-workaround-DT-property.patch index a6f62b90fa..c23f6dd6c3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0037-amba_pl011-Add-cts-event-workaround-DT-property.patch +++ b/target/linux/brcm2708/patches-4.19/950-0037-amba_pl011-Add-cts-event-workaround-DT-property.patch @@ -1,7 +1,7 @@ -From 1c0a79159b5fd87cd14f1edb60b8d6d7c5e88b5e Mon Sep 17 00:00:00 2001 +From 17a4507175ca6018ea40e91c9d753bc39f043d99 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 037/773] amba_pl011: Add cts-event-workaround DT property +Subject: [PATCH 037/806] amba_pl011: Add cts-event-workaround DT property The BCM2835 PL011 implementation seems to have a bug that can lead to a transmission lockup if CTS changes frequently. A workaround was added to diff --git a/target/linux/brcm2708/patches-4.19/950-0038-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch b/target/linux/brcm2708/patches-4.19/950-0038-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch index 8aa2abb0da..e3aeded95c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0038-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch +++ b/target/linux/brcm2708/patches-4.19/950-0038-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch @@ -1,7 +1,7 @@ -From 96f571906f77a982630e4fee23a96ebb1f83ce45 Mon Sep 17 00:00:00 2001 +From 491316e4e140152fb6c66fa99716450bb13ea49a Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 038/773] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 038/806] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes diff --git a/target/linux/brcm2708/patches-4.19/950-0039-Main-bcm2708-bcm2709-linux-port.patch b/target/linux/brcm2708/patches-4.19/950-0039-Main-bcm2708-bcm2709-linux-port.patch index 743fb854ef..4f14c4c18a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0039-Main-bcm2708-bcm2709-linux-port.patch +++ b/target/linux/brcm2708/patches-4.19/950-0039-Main-bcm2708-bcm2709-linux-port.patch @@ -1,7 +1,7 @@ -From 71c4c305410c72a3293ecf55e72188abc016c65f Mon Sep 17 00:00:00 2001 +From b37c8c275b90b3730ad99b0e96ae5e36895b26e8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 039/773] Main bcm2708/bcm2709 linux port +Subject: [PATCH 039/806] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0040-Add-dwc_otg-driver.patch b/target/linux/brcm2708/patches-4.19/950-0040-Add-dwc_otg-driver.patch index 115ccd231b..d5d9867d90 100644 --- a/target/linux/brcm2708/patches-4.19/950-0040-Add-dwc_otg-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0040-Add-dwc_otg-driver.patch @@ -1,7 +1,7 @@ -From ae5f6b6b0d350cf7366945b0b73e87f1d0162ba0 Mon Sep 17 00:00:00 2001 +From e30ea17381a5381b1d764da094a56d5cb0c9d636 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 040/773] Add dwc_otg driver +Subject: [PATCH 040/806] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0041-bcm2708-framebuffer-driver.patch b/target/linux/brcm2708/patches-4.19/950-0041-bcm2708-framebuffer-driver.patch index d219f278d3..c019bc8271 100644 --- a/target/linux/brcm2708/patches-4.19/950-0041-bcm2708-framebuffer-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0041-bcm2708-framebuffer-driver.patch @@ -1,7 +1,7 @@ -From 5a5edbd9aaeb32c7890fc181cd637ff1c05a6d59 Mon Sep 17 00:00:00 2001 +From 7be9aaefa159fe6e59064e2a90195a63cc88352a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 041/773] bcm2708 framebuffer driver +Subject: [PATCH 041/806] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0042-Speed-up-console-framebuffer-imageblit-function.patch b/target/linux/brcm2708/patches-4.19/950-0042-Speed-up-console-framebuffer-imageblit-function.patch index adca8e2944..b404ee5366 100644 --- a/target/linux/brcm2708/patches-4.19/950-0042-Speed-up-console-framebuffer-imageblit-function.patch +++ b/target/linux/brcm2708/patches-4.19/950-0042-Speed-up-console-framebuffer-imageblit-function.patch @@ -1,7 +1,7 @@ -From c998771d7edc1c3ce16828a1580ad75421ea98d8 Mon Sep 17 00:00:00 2001 +From f4489532d7a73ded68e1b8a815a71b0fe25e9e21 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 042/773] Speed up console framebuffer imageblit function +Subject: [PATCH 042/806] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing diff --git a/target/linux/brcm2708/patches-4.19/950-0043-dmaengine-Add-support-for-BCM2708.patch b/target/linux/brcm2708/patches-4.19/950-0043-dmaengine-Add-support-for-BCM2708.patch index 1937416817..c7c1b98b6c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0043-dmaengine-Add-support-for-BCM2708.patch +++ b/target/linux/brcm2708/patches-4.19/950-0043-dmaengine-Add-support-for-BCM2708.patch @@ -1,7 +1,7 @@ -From 1793cc7704dcbf4931dc8d04867004353d00f3d9 Mon Sep 17 00:00:00 2001 +From 9405d98a5b9ad11e9be2dc1247de3e26896a00d9 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 043/773] dmaengine: Add support for BCM2708 +Subject: [PATCH 043/806] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0044-MMC-added-alternative-MMC-driver.patch b/target/linux/brcm2708/patches-4.19/950-0044-MMC-added-alternative-MMC-driver.patch index ab9531da35..af67d42f8d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0044-MMC-added-alternative-MMC-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0044-MMC-added-alternative-MMC-driver.patch @@ -1,7 +1,7 @@ -From aa92feca9ae2674e9191bf9a4c8d165c87ae5189 Mon Sep 17 00:00:00 2001 +From 74f3233f6ed4298983348b2ba5a500f955703953 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 044/773] MMC: added alternative MMC driver +Subject: [PATCH 044/806] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0045-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch b/target/linux/brcm2708/patches-4.19/950-0045-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch index 8efe1be189..4ede44e796 100644 --- a/target/linux/brcm2708/patches-4.19/950-0045-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch +++ b/target/linux/brcm2708/patches-4.19/950-0045-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch @@ -1,7 +1,7 @@ -From 7ad5e921f530063f046ce235ed6f55d01eb78413 Mon Sep 17 00:00:00 2001 +From 5fcaebde5b5cd58630ea70bbfe0c62f8229469c5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 045/773] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 045/806] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. diff --git a/target/linux/brcm2708/patches-4.19/950-0046-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch b/target/linux/brcm2708/patches-4.19/950-0046-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch index 63f0300cbb..a696f57f75 100644 --- a/target/linux/brcm2708/patches-4.19/950-0046-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch +++ b/target/linux/brcm2708/patches-4.19/950-0046-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch @@ -1,7 +1,7 @@ -From 93b3b9250376bb35bca0bde19bc89bb63c180ff0 Mon Sep 17 00:00:00 2001 +From cfdf39199781b73840dfdfb7d1281b398c1334cf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 046/773] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 046/806] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/target/linux/brcm2708/patches-4.19/950-0047-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch b/target/linux/brcm2708/patches-4.19/950-0047-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch index 19de18cd61..5ae45368a9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0047-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch +++ b/target/linux/brcm2708/patches-4.19/950-0047-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch @@ -1,7 +1,7 @@ -From 476134eef8d9653ecaeff0381af84e2504ce5bd8 Mon Sep 17 00:00:00 2001 +From 6f27d1904c3f46e00388b1603ceed359387349d2 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 047/773] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 047/806] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0048-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch b/target/linux/brcm2708/patches-4.19/950-0048-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch index c6b8b7042c..1760012e3e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0048-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch +++ b/target/linux/brcm2708/patches-4.19/950-0048-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch @@ -1,7 +1,7 @@ -From 08f9a940fe1b035594d00429b9f6d419e8cd3462 Mon Sep 17 00:00:00 2001 +From cff179ff275e8f7849384ad2876c9a3237eeac79 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 048/773] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 048/806] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren diff --git a/target/linux/brcm2708/patches-4.19/950-0049-Add-SMI-driver.patch b/target/linux/brcm2708/patches-4.19/950-0049-Add-SMI-driver.patch index 761851d87a..73f0b70264 100644 --- a/target/linux/brcm2708/patches-4.19/950-0049-Add-SMI-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0049-Add-SMI-driver.patch @@ -1,7 +1,7 @@ -From f6a37d5b1049bede71ce494b8012147c894cc952 Mon Sep 17 00:00:00 2001 +From 9c81a1d5224e50e6ec45b8d0c97026a5dc800853 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 049/773] Add SMI driver +Subject: [PATCH 049/806] Add SMI driver Signed-off-by: Luke Wren --- diff --git a/target/linux/brcm2708/patches-4.19/950-0050-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch b/target/linux/brcm2708/patches-4.19/950-0050-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch index 41804184e0..a1c327459e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0050-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch +++ b/target/linux/brcm2708/patches-4.19/950-0050-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch @@ -1,7 +1,7 @@ -From bb78ae5643905df0ce416f9eaffe2f9213177a77 Mon Sep 17 00:00:00 2001 +From f7cccb2e66f0187f69a432536f227b32a458f94b Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 050/773] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 050/806] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. diff --git a/target/linux/brcm2708/patches-4.19/950-0051-Add-SMI-NAND-driver.patch b/target/linux/brcm2708/patches-4.19/950-0051-Add-SMI-NAND-driver.patch index 8f882434e3..ddcc19d0d6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0051-Add-SMI-NAND-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0051-Add-SMI-NAND-driver.patch @@ -1,7 +1,7 @@ -From 7df8e7537434f4f3749c638b546525fc41b4a57d Mon Sep 17 00:00:00 2001 +From 06d1fce502f478f7e554c591a68cd42cc861e976 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 051/773] Add SMI NAND driver +Subject: [PATCH 051/806] Add SMI NAND driver Signed-off-by: Luke Wren --- diff --git a/target/linux/brcm2708/patches-4.19/950-0052-Add-cpufreq-driver.patch b/target/linux/brcm2708/patches-4.19/950-0052-Add-cpufreq-driver.patch index 2ca4bacece..cac3399e6d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0052-Add-cpufreq-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0052-Add-cpufreq-driver.patch @@ -1,7 +1,7 @@ -From de152ef18b69c7a911fab5c2f3b72c70d0e680b2 Mon Sep 17 00:00:00 2001 +From 0a248af6e18d7f1ad57fffa7f588bc8a5851832e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 052/773] Add cpufreq driver +Subject: [PATCH 052/806] Add cpufreq driver Signed-off-by: popcornmix diff --git a/target/linux/brcm2708/patches-4.19/950-0053-Add-Chris-Boot-s-i2c-driver.patch b/target/linux/brcm2708/patches-4.19/950-0053-Add-Chris-Boot-s-i2c-driver.patch index 025c2c12a2..cec00dc330 100644 --- a/target/linux/brcm2708/patches-4.19/950-0053-Add-Chris-Boot-s-i2c-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0053-Add-Chris-Boot-s-i2c-driver.patch @@ -1,7 +1,7 @@ -From 6ad4f3378258d91a52e78b0e13f2ecee4e978658 Mon Sep 17 00:00:00 2001 +From 1f72dfe2738305c57605a8192176117e1641779c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 053/773] Add Chris Boot's i2c driver +Subject: [PATCH 053/806] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0054-char-broadcom-Add-vcio-module.patch b/target/linux/brcm2708/patches-4.19/950-0054-char-broadcom-Add-vcio-module.patch index b2fe3ae8cf..6489100d67 100644 --- a/target/linux/brcm2708/patches-4.19/950-0054-char-broadcom-Add-vcio-module.patch +++ b/target/linux/brcm2708/patches-4.19/950-0054-char-broadcom-Add-vcio-module.patch @@ -1,7 +1,7 @@ -From bfa7594cc289ff4a8c5acec645f087c3ff2ce5aa Mon Sep 17 00:00:00 2001 +From 6e169c17c0de4503264186d90aa51639924c6e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 054/773] char: broadcom: Add vcio module +Subject: [PATCH 054/806] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0055-firmware-bcm2835-Support-ARCH_BCM270x.patch b/target/linux/brcm2708/patches-4.19/950-0055-firmware-bcm2835-Support-ARCH_BCM270x.patch index aa98562a58..3cba92983b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0055-firmware-bcm2835-Support-ARCH_BCM270x.patch +++ b/target/linux/brcm2708/patches-4.19/950-0055-firmware-bcm2835-Support-ARCH_BCM270x.patch @@ -1,7 +1,7 @@ -From 53433ceaacdb15fe60eefcc268f2fe168f04c1e2 Mon Sep 17 00:00:00 2001 +From 6f190ee10a1d3276450e6190bb6d75a03040dcef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 055/773] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 055/806] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0056-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch b/target/linux/brcm2708/patches-4.19/950-0056-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch index c8baf5327c..6aba53ffdc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0056-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0056-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch @@ -1,7 +1,7 @@ -From d57d7f5a9a634a635704cedb1c966905825cdc89 Mon Sep 17 00:00:00 2001 +From 28951ab97e67b20640b183364d2396e91e8a6148 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 056/773] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 056/806] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to diff --git a/target/linux/brcm2708/patches-4.19/950-0057-BCM2708-Add-core-Device-Tree-support.patch b/target/linux/brcm2708/patches-4.19/950-0057-BCM2708-Add-core-Device-Tree-support.patch index 644f1c1372..fd251d6f8f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0057-BCM2708-Add-core-Device-Tree-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0057-BCM2708-Add-core-Device-Tree-support.patch @@ -1,7 +1,7 @@ -From d7fb08d8e23af05a7248394430a01a2555597799 Mon Sep 17 00:00:00 2001 +From d04105f6d48f160f4b7ab874ed7f878c2b84b466 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 057/773] BCM2708: Add core Device Tree support +Subject: [PATCH 057/806] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0058-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch b/target/linux/brcm2708/patches-4.19/950-0058-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch index 44206beda7..6eb9b54ed9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0058-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch +++ b/target/linux/brcm2708/patches-4.19/950-0058-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch @@ -1,7 +1,7 @@ -From ffa37fefc5277263e7179fe8457bd0cda6b03c8b Mon Sep 17 00:00:00 2001 +From 7181db1685aa67e127f80fe9607270d3c87aa3b9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 058/773] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 058/806] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support diff --git a/target/linux/brcm2708/patches-4.19/950-0059-fbdev-add-FBIOCOPYAREA-ioctl.patch b/target/linux/brcm2708/patches-4.19/950-0059-fbdev-add-FBIOCOPYAREA-ioctl.patch index 99f2e26e84..5a3f910429 100644 --- a/target/linux/brcm2708/patches-4.19/950-0059-fbdev-add-FBIOCOPYAREA-ioctl.patch +++ b/target/linux/brcm2708/patches-4.19/950-0059-fbdev-add-FBIOCOPYAREA-ioctl.patch @@ -1,7 +1,7 @@ -From fcaf4a45648aac0dfd88fbd280ecf5e1ac5be59f Mon Sep 17 00:00:00 2001 +From 5269119dadfc6874aec51fed4468c73f1b0187a2 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 059/773] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 059/806] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 diff --git a/target/linux/brcm2708/patches-4.19/950-0060-Added-Device-IDs-for-August-DVB-T-205.patch b/target/linux/brcm2708/patches-4.19/950-0060-Added-Device-IDs-for-August-DVB-T-205.patch index e429c68e6c..ec8489a108 100644 --- a/target/linux/brcm2708/patches-4.19/950-0060-Added-Device-IDs-for-August-DVB-T-205.patch +++ b/target/linux/brcm2708/patches-4.19/950-0060-Added-Device-IDs-for-August-DVB-T-205.patch @@ -1,7 +1,7 @@ -From ae6c23aa172d13ca72927870ab611e9d3670e97e Mon Sep 17 00:00:00 2001 +From 298368d476283829d222cb974491ac313605ed69 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:54:08 +0100 -Subject: [PATCH 060/773] Added Device IDs for August DVB-T 205 +Subject: [PATCH 060/806] Added Device IDs for August DVB-T 205 --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 4 ++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0061-rpi-ft5406-Add-touchscreen-driver-for-pi-LCD-display.patch b/target/linux/brcm2708/patches-4.19/950-0061-rpi-ft5406-Add-touchscreen-driver-for-pi-LCD-display.patch index 7c002ad8db..fdea2ab19f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0061-rpi-ft5406-Add-touchscreen-driver-for-pi-LCD-display.patch +++ b/target/linux/brcm2708/patches-4.19/950-0061-rpi-ft5406-Add-touchscreen-driver-for-pi-LCD-display.patch @@ -1,7 +1,7 @@ -From f045ca6af84df7b50066af98513d8e68ad899c38 Mon Sep 17 00:00:00 2001 +From 8137201823bd2ed1b3951220f29fdc9555c3c6de Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/773] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/806] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected diff --git a/target/linux/brcm2708/patches-4.19/950-0062-Improve-__copy_to_user-and-__copy_from_user-performa.patch b/target/linux/brcm2708/patches-4.19/950-0062-Improve-__copy_to_user-and-__copy_from_user-performa.patch index 52889abea5..0c3634d0c8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0062-Improve-__copy_to_user-and-__copy_from_user-performa.patch +++ b/target/linux/brcm2708/patches-4.19/950-0062-Improve-__copy_to_user-and-__copy_from_user-performa.patch @@ -1,7 +1,7 @@ -From c48528dc592ebe7948cd7a8198eb5667026ca020 Mon Sep 17 00:00:00 2001 +From e4d81adf1f2c84b229901cddb403d00010524b28 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/773] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/806] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use diff --git a/target/linux/brcm2708/patches-4.19/950-0063-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch b/target/linux/brcm2708/patches-4.19/950-0063-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch index ff41025e42..60f4066d50 100644 --- a/target/linux/brcm2708/patches-4.19/950-0063-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0063-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch @@ -1,7 +1,7 @@ -From e0b5d4946d64b18bcf69082d7d6091b9f43b77ce Mon Sep 17 00:00:00 2001 +From 84cd61bdf5fe5ecf70ad88e60e07879cbde2d4a6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/773] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/806] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing diff --git a/target/linux/brcm2708/patches-4.19/950-0064-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch b/target/linux/brcm2708/patches-4.19/950-0064-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch index abbd657560..00228d6434 100644 --- a/target/linux/brcm2708/patches-4.19/950-0064-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0064-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch @@ -1,7 +1,7 @@ -From 0a50f4e59434ca8fd5c21b19248563e5b5c9f38f Mon Sep 17 00:00:00 2001 +From 0d63b8a00c925eb02093e9ed4866c4a0d9209a00 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/773] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/806] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + diff --git a/target/linux/brcm2708/patches-4.19/950-0065-ASoC-pcm512x-implement-set_tdm_slot-interface.patch b/target/linux/brcm2708/patches-4.19/950-0065-ASoC-pcm512x-implement-set_tdm_slot-interface.patch index 5eadbd6ad8..36284a6b98 100644 --- a/target/linux/brcm2708/patches-4.19/950-0065-ASoC-pcm512x-implement-set_tdm_slot-interface.patch +++ b/target/linux/brcm2708/patches-4.19/950-0065-ASoC-pcm512x-implement-set_tdm_slot-interface.patch @@ -1,7 +1,7 @@ -From d7a232c8d27cf9285c554779e40178330c17491f Mon Sep 17 00:00:00 2001 +From 5fd7bb26ef791a7da1c0573b980ab4fe6b9c2641 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 22 Feb 2018 11:55:06 +0100 -Subject: [PATCH 065/773] ASoC: pcm512x: implement set_tdm_slot interface +Subject: [PATCH 065/806] ASoC: pcm512x: implement set_tdm_slot interface PCM512x can accept data padded with additional BCLK cycles but the driver currently lacks an interface to configure this. diff --git a/target/linux/brcm2708/patches-4.19/950-0066-ASoC-Add-support-for-Rpi-DAC.patch b/target/linux/brcm2708/patches-4.19/950-0066-ASoC-Add-support-for-Rpi-DAC.patch index 6b62a2ef5b..fcabe55f80 100644 --- a/target/linux/brcm2708/patches-4.19/950-0066-ASoC-Add-support-for-Rpi-DAC.patch +++ b/target/linux/brcm2708/patches-4.19/950-0066-ASoC-Add-support-for-Rpi-DAC.patch @@ -1,7 +1,7 @@ -From 104942fa9bff9c350d43bfe4d28c2e2df1fd1ac8 Mon Sep 17 00:00:00 2001 +From 13ddc845b271d7cc79bcbdd288f95c03ea927b89 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/773] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/806] ASoC: Add support for Rpi-DAC --- sound/soc/codecs/Kconfig | 5 +++ diff --git a/target/linux/brcm2708/patches-4.19/950-0067-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch b/target/linux/brcm2708/patches-4.19/950-0067-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch index 2cbfcfd588..88aa003849 100644 --- a/target/linux/brcm2708/patches-4.19/950-0067-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0067-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch @@ -1,7 +1,7 @@ -From a70c182f8eb7a022361dd64dab060f560f84a671 Mon Sep 17 00:00:00 2001 +From 76c252645ad542bd35ce52230635f36e3c0f730d Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 067/773] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 067/806] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control diff --git a/target/linux/brcm2708/patches-4.19/950-0068-Added-support-for-HiFiBerry-DAC.patch b/target/linux/brcm2708/patches-4.19/950-0068-Added-support-for-HiFiBerry-DAC.patch index 1a113d08a5..f54ea259a8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0068-Added-support-for-HiFiBerry-DAC.patch +++ b/target/linux/brcm2708/patches-4.19/950-0068-Added-support-for-HiFiBerry-DAC.patch @@ -1,7 +1,7 @@ -From 9b55a252e259414db47de0f981708521fc51d181 Mon Sep 17 00:00:00 2001 +From 86d09076abd36ad87477c21f7b33c90cb696e196 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 068/773] Added support for HiFiBerry DAC+ +Subject: [PATCH 068/806] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. diff --git a/target/linux/brcm2708/patches-4.19/950-0069-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch b/target/linux/brcm2708/patches-4.19/950-0069-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch index 020abaa2a0..22dbd89a8b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0069-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch +++ b/target/linux/brcm2708/patches-4.19/950-0069-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch @@ -1,7 +1,7 @@ -From c0af89bc141d0c72bab672b5cce696dfc4e1eea1 Mon Sep 17 00:00:00 2001 +From a1344150b31e3b9592f76df8f453a15565a8390a Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 069/773] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 069/806] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. diff --git a/target/linux/brcm2708/patches-4.19/950-0070-Add-driver-for-rpi-proto.patch b/target/linux/brcm2708/patches-4.19/950-0070-Add-driver-for-rpi-proto.patch index 2eda0c902f..0741db969a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0070-Add-driver-for-rpi-proto.patch +++ b/target/linux/brcm2708/patches-4.19/950-0070-Add-driver-for-rpi-proto.patch @@ -1,7 +1,7 @@ -From 691d5ded2ab2655fdc0c8307b1c3b08be392b28c Mon Sep 17 00:00:00 2001 +From bf4dee727fc7c72e250784e8e3e681f9d11bbdc1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 070/773] Add driver for rpi-proto +Subject: [PATCH 070/806] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x diff --git a/target/linux/brcm2708/patches-4.19/950-0071-Add-Support-for-JustBoom-Audio-boards.patch b/target/linux/brcm2708/patches-4.19/950-0071-Add-Support-for-JustBoom-Audio-boards.patch index e310cf7c58..b34d195c5c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0071-Add-Support-for-JustBoom-Audio-boards.patch +++ b/target/linux/brcm2708/patches-4.19/950-0071-Add-Support-for-JustBoom-Audio-boards.patch @@ -1,7 +1,7 @@ -From 4765b12ebb0465999c213d53f94d7c60105f98f3 Mon Sep 17 00:00:00 2001 +From 0435c03e212129e384cd49b19fca7a55dbf1ec50 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 071/773] Add Support for JustBoom Audio boards +Subject: [PATCH 071/806] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change diff --git a/target/linux/brcm2708/patches-4.19/950-0072-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch b/target/linux/brcm2708/patches-4.19/950-0072-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch index 35ac7c63cb..68118a175c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0072-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch +++ b/target/linux/brcm2708/patches-4.19/950-0072-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch @@ -1,7 +1,7 @@ -From 224b829d4334d2390f0293926f0c99253f4d5b14 Mon Sep 17 00:00:00 2001 +From 3f06b2f7c04d263a3bb0569e6f2c341549c21154 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 072/773] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 072/806] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. diff --git a/target/linux/brcm2708/patches-4.19/950-0073-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch b/target/linux/brcm2708/patches-4.19/950-0073-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch index 13372e0179..ecca124177 100644 --- a/target/linux/brcm2708/patches-4.19/950-0073-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch +++ b/target/linux/brcm2708/patches-4.19/950-0073-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch @@ -1,7 +1,7 @@ -From 1e69f580c1615e9d6bfc3cd858aee581f3adb997 Mon Sep 17 00:00:00 2001 +From 13efe81b4ab9321290d6973e90d00b7caf37b47f Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 073/773] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 073/806] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- diff --git a/target/linux/brcm2708/patches-4.19/950-0074-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch b/target/linux/brcm2708/patches-4.19/950-0074-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch index 48784c27b4..fdd54193d8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0074-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch +++ b/target/linux/brcm2708/patches-4.19/950-0074-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch @@ -1,7 +1,7 @@ -From f4161c46775cd324c810a5180ed8fa9b52c05e2f Mon Sep 17 00:00:00 2001 +From 234b6a3cfd5bc1fb341c01f8ac773956f5af42cd Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 074/773] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 074/806] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. diff --git a/target/linux/brcm2708/patches-4.19/950-0075-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch b/target/linux/brcm2708/patches-4.19/950-0075-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch index e81938202a..0a6228e685 100644 --- a/target/linux/brcm2708/patches-4.19/950-0075-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch +++ b/target/linux/brcm2708/patches-4.19/950-0075-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch @@ -1,7 +1,7 @@ -From 24cf9801cad90b0339f3598941cb9acf9c174cd2 Mon Sep 17 00:00:00 2001 +From 4c4b1a565322382b927927d6066735c7cd1ea188 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 075/773] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 075/806] Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645) Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, diff --git a/target/linux/brcm2708/patches-4.19/950-0076-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch b/target/linux/brcm2708/patches-4.19/950-0076-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch index a416304b38..c940d4dc40 100644 --- a/target/linux/brcm2708/patches-4.19/950-0076-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch +++ b/target/linux/brcm2708/patches-4.19/950-0076-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch @@ -1,7 +1,7 @@ -From 13ecb19ca5c74eab30e3299e5ac0bd7691fe2ad4 Mon Sep 17 00:00:00 2001 +From 7603d4cf7fb47afc19641b518250ee52852470f6 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 076/773] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 076/806] Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi. The Piano DAC 2.1 has support for 4 channels with subwoofer. diff --git a/target/linux/brcm2708/patches-4.19/950-0077-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch b/target/linux/brcm2708/patches-4.19/950-0077-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch index ac87f73b19..f2a5997c30 100644 --- a/target/linux/brcm2708/patches-4.19/950-0077-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch +++ b/target/linux/brcm2708/patches-4.19/950-0077-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch @@ -1,7 +1,7 @@ -From 67af45a08ac8e54898184f46f73695c3fef0e288 Mon Sep 17 00:00:00 2001 +From 77dce745cd500cbe65e4cbb613c27c23e26f5bbb Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 077/773] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 077/806] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K diff --git a/target/linux/brcm2708/patches-4.19/950-0078-Support-for-Blokas-Labs-pisound-board.patch b/target/linux/brcm2708/patches-4.19/950-0078-Support-for-Blokas-Labs-pisound-board.patch index a4ef3c7658..c996ea395d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0078-Support-for-Blokas-Labs-pisound-board.patch +++ b/target/linux/brcm2708/patches-4.19/950-0078-Support-for-Blokas-Labs-pisound-board.patch @@ -1,7 +1,7 @@ -From ab57d8cfcba75b62aba894166ca543adda239b53 Mon Sep 17 00:00:00 2001 +From 85ef9efcc598bff1d783620e23c09aed873e7aee Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 078/773] Support for Blokas Labs pisound board +Subject: [PATCH 078/806] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) diff --git a/target/linux/brcm2708/patches-4.19/950-0079-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch b/target/linux/brcm2708/patches-4.19/950-0079-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch index 3d7bca5783..2ee7690e7f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0079-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch +++ b/target/linux/brcm2708/patches-4.19/950-0079-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch @@ -1,7 +1,7 @@ -From f8b2aa93bbf3d97b56708575b3530dcdfc8148e9 Mon Sep 17 00:00:00 2001 +From 2c3e4f06b7e7d34a03e747367c26805fbf89a4ac Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 079/773] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 079/806] ASoC: Add driver for Cirrus Logic Audio Card Note: due to problems with deferred probing of regulators the following softdep should be added to a modprobe.d file diff --git a/target/linux/brcm2708/patches-4.19/950-0080-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch b/target/linux/brcm2708/patches-4.19/950-0080-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch index 9c18789c27..1eb9e539ec 100644 --- a/target/linux/brcm2708/patches-4.19/950-0080-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch +++ b/target/linux/brcm2708/patches-4.19/950-0080-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch @@ -1,7 +1,7 @@ -From f375073d23af1f3818c8a4fcf24406e1ab6fcc5c Mon Sep 17 00:00:00 2001 +From 858a3bbbf274ffcecca558f66aaab146c11fdfe9 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 080/773] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 080/806] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw diff --git a/target/linux/brcm2708/patches-4.19/950-0081-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch b/target/linux/brcm2708/patches-4.19/950-0081-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch index 30fc43b04e..3f913d9193 100644 --- a/target/linux/brcm2708/patches-4.19/950-0081-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch +++ b/target/linux/brcm2708/patches-4.19/950-0081-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch @@ -1,7 +1,7 @@ -From d27ecf8d98bba570fbb2bac88a9a01d4eedcf3fe Mon Sep 17 00:00:00 2001 +From 8ed265197d7a8f9c1a328d262bfe91050716ad76 Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 081/773] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 081/806] Add support for Fe-Pi audio sound card. (#1867) Fe-Pi Audio Sound Card is based on NXP SGTL5000 codec. Mechanical specification of the board is the same the Raspberry Pi Zero. diff --git a/target/linux/brcm2708/patches-4.19/950-0082-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch b/target/linux/brcm2708/patches-4.19/950-0082-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch index d3abc77db7..f6bc9e2a2b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0082-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch +++ b/target/linux/brcm2708/patches-4.19/950-0082-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch @@ -1,7 +1,7 @@ -From 1f7175bb016838bfbac59f80bef52797f7f2af98 Mon Sep 17 00:00:00 2001 +From 846864bceccdafbed86c1b1766500861547b0da9 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 082/773] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 082/806] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset diff --git a/target/linux/brcm2708/patches-4.19/950-0083-Driver-support-for-Google-voiceHAT-soundcard.patch b/target/linux/brcm2708/patches-4.19/950-0083-Driver-support-for-Google-voiceHAT-soundcard.patch index ec262548d3..23abeca917 100644 --- a/target/linux/brcm2708/patches-4.19/950-0083-Driver-support-for-Google-voiceHAT-soundcard.patch +++ b/target/linux/brcm2708/patches-4.19/950-0083-Driver-support-for-Google-voiceHAT-soundcard.patch @@ -1,7 +1,7 @@ -From 2276f398046e7da29637248b6b4ca69ca629f0e0 Mon Sep 17 00:00:00 2001 +From ae0077658c007643020b88e233150cf1eca6cea8 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 083/773] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 083/806] Driver support for Google voiceHAT soundcard. ASoC: googlevoicehat-codec: Use correct device when grabbing GPIO diff --git a/target/linux/brcm2708/patches-4.19/950-0084-Driver-and-overlay-for-Allo-Katana-DAC.patch b/target/linux/brcm2708/patches-4.19/950-0084-Driver-and-overlay-for-Allo-Katana-DAC.patch index a755376292..7a12e7e4d9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0084-Driver-and-overlay-for-Allo-Katana-DAC.patch +++ b/target/linux/brcm2708/patches-4.19/950-0084-Driver-and-overlay-for-Allo-Katana-DAC.patch @@ -1,7 +1,7 @@ -From 4ad6eeb13a6827931f9c7ecde992b7170906aeee Mon Sep 17 00:00:00 2001 +From e37c55733587a312181a12a8f15b8f35497c828e Mon Sep 17 00:00:00 2001 From: allocom Date: Thu, 19 Apr 2018 12:12:26 +0530 -Subject: [PATCH 084/773] Driver and overlay for Allo Katana DAC +Subject: [PATCH 084/806] Driver and overlay for Allo Katana DAC Allo Katana DAC: Updated default values diff --git a/target/linux/brcm2708/patches-4.19/950-0085-ASoC-wm8804-MCLK-configuration-options-32-bit.patch b/target/linux/brcm2708/patches-4.19/950-0085-ASoC-wm8804-MCLK-configuration-options-32-bit.patch index b8f38fa417..5eca1abe85 100644 --- a/target/linux/brcm2708/patches-4.19/950-0085-ASoC-wm8804-MCLK-configuration-options-32-bit.patch +++ b/target/linux/brcm2708/patches-4.19/950-0085-ASoC-wm8804-MCLK-configuration-options-32-bit.patch @@ -1,7 +1,7 @@ -From a8198b0a3da790941874ee60dbc5df59dc77c20d Mon Sep 17 00:00:00 2001 +From f77d4bf8ea9217d57be6982a6fdfa9f5f9c9b927 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 085/773] ASoC: wm8804: MCLK configuration options, 32-bit +Subject: [PATCH 085/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0086-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch b/target/linux/brcm2708/patches-4.19/950-0086-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch index 12a3f825b6..a609782901 100644 --- a/target/linux/brcm2708/patches-4.19/950-0086-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch +++ b/target/linux/brcm2708/patches-4.19/950-0086-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch @@ -1,7 +1,7 @@ -From a2ae45419ff9d010052bbeb6780371b3cfa18350 Mon Sep 17 00:00:00 2001 +From 8cf85a58066800ed638b4e4fca6f704275e0f588 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Wed, 27 Jun 2018 15:59:12 +0100 -Subject: [PATCH 086/773] ASoC: Add generic RPI driver for simple soundcards. +Subject: [PATCH 086/806] ASoC: Add generic RPI driver for simple soundcards. The RPI simple sound card driver provides a generic ALSA SOC card driver supporting a variety of Pi HAT soundcards. The intention is to avoid diff --git a/target/linux/brcm2708/patches-4.19/950-0087-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch b/target/linux/brcm2708/patches-4.19/950-0087-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch index 994d57b79d..6b0ffe038f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0087-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch +++ b/target/linux/brcm2708/patches-4.19/950-0087-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch @@ -1,7 +1,7 @@ -From 89ac5c03f7ab842fb3ef6d520f0a45ff5498d4ae Mon Sep 17 00:00:00 2001 +From 42dfc383b7d7100350c357b0381a2800b5bf3c27 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Sep 2018 17:00:36 +0100 -Subject: [PATCH 087/773] ASoC: Add Kconfig and Makefile for sound/soc/bcm +Subject: [PATCH 087/806] ASoC: Add Kconfig and Makefile for sound/soc/bcm Signed-off-by: popcornmix --- diff --git a/target/linux/brcm2708/patches-4.19/950-0088-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch b/target/linux/brcm2708/patches-4.19/950-0088-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch index 35765b26fb..0a8d1de940 100644 --- a/target/linux/brcm2708/patches-4.19/950-0088-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0088-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch @@ -1,7 +1,7 @@ -From 058ee9a51d642274c5c934da7718ddc161dff612 Mon Sep 17 00:00:00 2001 +From 6af5a0adda5b782ad2e134b405ca168895c89b0c Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Sat, 21 Jul 2018 20:07:46 +0100 -Subject: [PATCH 088/773] ASoC: Create a generic Pi Hat WM8804 driver +Subject: [PATCH 088/806] ASoC: Create a generic Pi Hat WM8804 driver Reduce the amount of duplicated code by creating a generic driver for Pi Hat digi cards using the WM8804 codec. diff --git a/target/linux/brcm2708/patches-4.19/950-0089-rpi_display-add-backlight-driver-and-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0089-rpi_display-add-backlight-driver-and-overlay.patch index 06ab3bc9d0..f790af77be 100644 --- a/target/linux/brcm2708/patches-4.19/950-0089-rpi_display-add-backlight-driver-and-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0089-rpi_display-add-backlight-driver-and-overlay.patch @@ -1,7 +1,7 @@ -From 43620b62fe1375fdc5bbceab390fcb218f5f931d Mon Sep 17 00:00:00 2001 +From 5dcbf6d1aa6e33987082e9c8ac64e74f7b6bad58 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 089/773] rpi_display: add backlight driver and overlay +Subject: [PATCH 089/806] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the diff --git a/target/linux/brcm2708/patches-4.19/950-0090-bcm2835-virtgpio-Virtual-GPIO-driver.patch b/target/linux/brcm2708/patches-4.19/950-0090-bcm2835-virtgpio-Virtual-GPIO-driver.patch index ffefe2bc4e..af8d219530 100644 --- a/target/linux/brcm2708/patches-4.19/950-0090-bcm2835-virtgpio-Virtual-GPIO-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0090-bcm2835-virtgpio-Virtual-GPIO-driver.patch @@ -1,7 +1,7 @@ -From 4c4b56d57c963d20437c9c8669f1e8e38c32d70f Mon Sep 17 00:00:00 2001 +From 0f05af4c96c0272bb431ace33dd284a891e4fe41 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 090/773] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 090/806] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. diff --git a/target/linux/brcm2708/patches-4.19/950-0091-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch b/target/linux/brcm2708/patches-4.19/950-0091-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch index c0f33ec1dd..8b83a66579 100644 --- a/target/linux/brcm2708/patches-4.19/950-0091-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch +++ b/target/linux/brcm2708/patches-4.19/950-0091-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch @@ -1,7 +1,7 @@ -From 89994ba722850d5e3834ed5af575335598c02900 Mon Sep 17 00:00:00 2001 +From d8fc657857ace12def25894d0075e7bf1caf467e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Sep 2012 17:10:23 +0100 -Subject: [PATCH 091/773] net: Add non-mainline source for rtl8192cu wlan +Subject: [PATCH 091/806] net: Add non-mainline source for rtl8192cu wlan We are now syncing with version from: https://github.com/pvaret/rtl8192cu-fixes diff --git a/target/linux/brcm2708/patches-4.19/950-0092-OF-DT-Overlay-configfs-interface.patch b/target/linux/brcm2708/patches-4.19/950-0092-OF-DT-Overlay-configfs-interface.patch index afb55dbe7b..7226269614 100644 --- a/target/linux/brcm2708/patches-4.19/950-0092-OF-DT-Overlay-configfs-interface.patch +++ b/target/linux/brcm2708/patches-4.19/950-0092-OF-DT-Overlay-configfs-interface.patch @@ -1,7 +1,7 @@ -From 5b3aba3e1bf3c6206eb9128cc428a5f9219626ca Mon Sep 17 00:00:00 2001 +From dc0f4681729e9bfe506ab8b15852363cb59bdaf5 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 092/773] OF: DT-Overlay configfs interface +Subject: [PATCH 092/806] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. diff --git a/target/linux/brcm2708/patches-4.19/950-0093-brcm-adds-support-for-BCM43341-wifi.patch b/target/linux/brcm2708/patches-4.19/950-0093-brcm-adds-support-for-BCM43341-wifi.patch index 95c6a148e7..d61948995c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0093-brcm-adds-support-for-BCM43341-wifi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0093-brcm-adds-support-for-BCM43341-wifi.patch @@ -1,7 +1,7 @@ -From d9a6207ccbad2478e72617ef46f766804bb76587 Mon Sep 17 00:00:00 2001 +From 9342f107a9655adf067ac603e4ba4161e4e85cab Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 093/773] brcm: adds support for BCM43341 wifi +Subject: [PATCH 093/806] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management diff --git a/target/linux/brcm2708/patches-4.19/950-0094-brcmfmac-Mute-expected-startup-errors.patch b/target/linux/brcm2708/patches-4.19/950-0094-brcmfmac-Mute-expected-startup-errors.patch index b087bc0e91..27e6a201a5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0094-brcmfmac-Mute-expected-startup-errors.patch +++ b/target/linux/brcm2708/patches-4.19/950-0094-brcmfmac-Mute-expected-startup-errors.patch @@ -1,7 +1,7 @@ -From 5b79e8e149653e295ae236e1822043da4b48374d Mon Sep 17 00:00:00 2001 +From 8d9a78040bcdbed7dc146038f031ef9cf08e258d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 094/773] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 094/806] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. diff --git a/target/linux/brcm2708/patches-4.19/950-0095-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch b/target/linux/brcm2708/patches-4.19/950-0095-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch index c76323bdee..597c90a182 100644 --- a/target/linux/brcm2708/patches-4.19/950-0095-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch +++ b/target/linux/brcm2708/patches-4.19/950-0095-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch @@ -1,7 +1,7 @@ -From 2494b1364a65c2dc1129595679072648a07d335f Mon Sep 17 00:00:00 2001 +From b81157e1b8640fe332eb5edd3f62ef3de1c786a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 095/773] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 095/806] 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. diff --git a/target/linux/brcm2708/patches-4.19/950-0096-config-Add-default-configs.patch b/target/linux/brcm2708/patches-4.19/950-0096-config-Add-default-configs.patch index 3ccfcc9db7..c17804415e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0096-config-Add-default-configs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0096-config-Add-default-configs.patch @@ -1,7 +1,7 @@ -From 2068b119f839ba4cdfda454d78aa62d3c3acc131 Mon Sep 17 00:00:00 2001 +From 8846b0f807a20157e5065bf3d8ba2270dc4ae377 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 096/773] config: Add default configs +Subject: [PATCH 096/806] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1360 ++++++++++++++++++++++++++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0097-Add-arm64-configuration-and-device-tree-differences..patch b/target/linux/brcm2708/patches-4.19/950-0097-Add-arm64-configuration-and-device-tree-differences..patch index 7e4000d2d7..9c5e644683 100644 --- a/target/linux/brcm2708/patches-4.19/950-0097-Add-arm64-configuration-and-device-tree-differences..patch +++ b/target/linux/brcm2708/patches-4.19/950-0097-Add-arm64-configuration-and-device-tree-differences..patch @@ -1,7 +1,7 @@ -From 43340f82810a4a42fba9de7a9b1e86fd1627cf59 Mon Sep 17 00:00:00 2001 +From 9731e002f651c0b386137105c8d91d198b73b721 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 097/773] Add arm64 configuration and device tree differences. +Subject: [PATCH 097/806] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. diff --git a/target/linux/brcm2708/patches-4.19/950-0098-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch b/target/linux/brcm2708/patches-4.19/950-0098-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch index 1596589703..f370f694e9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0098-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch +++ b/target/linux/brcm2708/patches-4.19/950-0098-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch @@ -1,7 +1,7 @@ -From 879edf5a5f22f59fd74ca76600893824f03a0377 Mon Sep 17 00:00:00 2001 +From 1ab2bc7fb6de19bcf4da83f4f0f384d93db48711 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 098/773] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 098/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0099-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch b/target/linux/brcm2708/patches-4.19/950-0099-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch index a7facc65ab..60d80e99e1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0099-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0099-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch @@ -1,7 +1,7 @@ -From da17ee9a28d7eca27180f7be2da4c8dbba933cda Mon Sep 17 00:00:00 2001 +From 3a9f3c695a95d3c34a360e9a95bccce37806c952 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 099/773] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 099/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0100-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch b/target/linux/brcm2708/patches-4.19/950-0100-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch index b5db047655..ee60dfe62c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0100-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch +++ b/target/linux/brcm2708/patches-4.19/950-0100-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch @@ -1,7 +1,7 @@ -From 8e4c9f6bf61c397d57c04ff788f6bf829ab0e71d Mon Sep 17 00:00:00 2001 +From 61f4a666499f781e6441dab84993a635c43ddb58 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 100/773] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 100/806] ARM64: Force hardware emulation of deprecated instructions. --- diff --git a/target/linux/brcm2708/patches-4.19/950-0101-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch b/target/linux/brcm2708/patches-4.19/950-0101-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch index 6a1d93dc31..c69287d051 100644 --- a/target/linux/brcm2708/patches-4.19/950-0101-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch +++ b/target/linux/brcm2708/patches-4.19/950-0101-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch @@ -1,7 +1,7 @@ -From 70cb983c5f4eb3113b0db5ff942436f654cb7070 Mon Sep 17 00:00:00 2001 +From 8333b8d6ed55d08e410afb7c9036f8a8e9186e69 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 101/773] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 101/806] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. diff --git a/target/linux/brcm2708/patches-4.19/950-0102-cache-export-clean-and-invalidate.patch b/target/linux/brcm2708/patches-4.19/950-0102-cache-export-clean-and-invalidate.patch index ac07ad38df..1b368ce6a2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0102-cache-export-clean-and-invalidate.patch +++ b/target/linux/brcm2708/patches-4.19/950-0102-cache-export-clean-and-invalidate.patch @@ -1,7 +1,7 @@ -From 92ea93a96eb1da7c749e21d6fc7ee4a262c0c9be Mon Sep 17 00:00:00 2001 +From a7ca69081e7d0e1c5d84352c219b454a7977a2a4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 25 Aug 2017 19:18:13 +0100 -Subject: [PATCH 102/773] cache: export clean and invalidate +Subject: [PATCH 102/806] cache: export clean and invalidate --- arch/arm/mm/cache-v6.S | 4 ++-- diff --git a/target/linux/brcm2708/patches-4.19/950-0103-AXI-performance-monitor-driver-2222.patch b/target/linux/brcm2708/patches-4.19/950-0103-AXI-performance-monitor-driver-2222.patch index cf11339f23..e39279679f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0103-AXI-performance-monitor-driver-2222.patch +++ b/target/linux/brcm2708/patches-4.19/950-0103-AXI-performance-monitor-driver-2222.patch @@ -1,7 +1,7 @@ -From 648684da0a63367994b3dcf4ef942b7318e8241e Mon Sep 17 00:00:00 2001 +From b683c668fef086a8c723d55e88364405047d2196 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 14 Nov 2017 15:13:15 +0000 -Subject: [PATCH 103/773] AXI performance monitor driver (#2222) +Subject: [PATCH 103/806] AXI performance monitor driver (#2222) Uses the debugfs I/F to provide access to the AXI bus performance monitors. diff --git a/target/linux/brcm2708/patches-4.19/950-0104-mcp2515-Use-DT-supplied-interrupt-flags.patch b/target/linux/brcm2708/patches-4.19/950-0104-mcp2515-Use-DT-supplied-interrupt-flags.patch index 05f0b090c1..225f7d1600 100644 --- a/target/linux/brcm2708/patches-4.19/950-0104-mcp2515-Use-DT-supplied-interrupt-flags.patch +++ b/target/linux/brcm2708/patches-4.19/950-0104-mcp2515-Use-DT-supplied-interrupt-flags.patch @@ -1,7 +1,7 @@ -From 02d5e4bd4cc97f5560eae4a81213628223371f9b Mon Sep 17 00:00:00 2001 +From 612a3f0adcf98854dcbe8228551b941b76c6af2c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Nov 2017 11:03:22 +0000 -Subject: [PATCH 104/773] mcp2515: Use DT-supplied interrupt flags +Subject: [PATCH 104/806] mcp2515: Use DT-supplied interrupt flags The MCP2515 datasheet clearly describes a level-triggered interrupt pin. Therefore the receiving interrupt controller must also be diff --git a/target/linux/brcm2708/patches-4.19/950-0105-Tidy-up-of-the-ft5406-driver-to-use-DT-2189.patch b/target/linux/brcm2708/patches-4.19/950-0105-Tidy-up-of-the-ft5406-driver-to-use-DT-2189.patch index a38b091e72..fce6b864ec 100644 --- a/target/linux/brcm2708/patches-4.19/950-0105-Tidy-up-of-the-ft5406-driver-to-use-DT-2189.patch +++ b/target/linux/brcm2708/patches-4.19/950-0105-Tidy-up-of-the-ft5406-driver-to-use-DT-2189.patch @@ -1,7 +1,7 @@ -From 75e6be3515cf5adc08911c91257fe79ede211b40 Mon Sep 17 00:00:00 2001 +From 67acc12c996ef55038206de9e4220e69bf8dd517 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Thu, 16 Nov 2017 15:56:17 +0000 -Subject: [PATCH 105/773] Tidy up of the ft5406 driver to use DT (#2189) +Subject: [PATCH 105/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0106-cgroup-Disable-cgroup-memory-by-default.patch b/target/linux/brcm2708/patches-4.19/950-0106-cgroup-Disable-cgroup-memory-by-default.patch index a9f926f9f7..9650b6040c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0106-cgroup-Disable-cgroup-memory-by-default.patch +++ b/target/linux/brcm2708/patches-4.19/950-0106-cgroup-Disable-cgroup-memory-by-default.patch @@ -1,7 +1,7 @@ -From 93d1bb6413ea50140a7af5b14765b8805b1daa1c Mon Sep 17 00:00:00 2001 +From 7ae6ba03434344f90403936ae79bfd7ba005b49c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 27 Nov 2017 17:14:54 +0000 -Subject: [PATCH 106/773] cgroup: Disable cgroup "memory" by default +Subject: [PATCH 106/806] 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: diff --git a/target/linux/brcm2708/patches-4.19/950-0107-ARM-bcm2835-Set-Serial-number-and-Revision.patch b/target/linux/brcm2708/patches-4.19/950-0107-ARM-bcm2835-Set-Serial-number-and-Revision.patch index 2d4e59d3e6..2ea61494cc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0107-ARM-bcm2835-Set-Serial-number-and-Revision.patch +++ b/target/linux/brcm2708/patches-4.19/950-0107-ARM-bcm2835-Set-Serial-number-and-Revision.patch @@ -1,7 +1,7 @@ -From 16b1975469af109908a05ac3a1d03a3091332786 Mon Sep 17 00:00:00 2001 +From 6eb5a426229447a1045507fb63afdb11ddc5eda4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 107/773] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 107/806] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0108-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch b/target/linux/brcm2708/patches-4.19/950-0108-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch index af03ba7aa5..0ec0751a02 100644 --- a/target/linux/brcm2708/patches-4.19/950-0108-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch +++ b/target/linux/brcm2708/patches-4.19/950-0108-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch @@ -1,7 +1,7 @@ -From ba20268292856cc3949f441be006a2ca0c1c912e Mon Sep 17 00:00:00 2001 +From ffa437377a6121234cd85d3bd2a8d8c43f0bedd5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 Dec 2017 09:18:32 +0000 -Subject: [PATCH 108/773] ARM: Activate FIQs to avoid __irq_startup warnings +Subject: [PATCH 108/806] 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. diff --git a/target/linux/brcm2708/patches-4.19/950-0109-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch b/target/linux/brcm2708/patches-4.19/950-0109-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch index bd4f110c2d..5557b9d85d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0109-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch +++ b/target/linux/brcm2708/patches-4.19/950-0109-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch @@ -1,7 +1,7 @@ -From d5ffaa38d9c117b03dac00a07dbc67e3e2c34258 Mon Sep 17 00:00:00 2001 +From f12549c9f3aed64fae5fe2ebbc2e8568a78829a2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jan 2018 17:26:38 +0000 -Subject: [PATCH 109/773] serial: 8250: bcm2835aux - suppress EPROBE_DEFER +Subject: [PATCH 109/806] serial: 8250: bcm2835aux - suppress EPROBE_DEFER Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0110-raspberrypi-firmware-Export-the-general-transaction-.patch b/target/linux/brcm2708/patches-4.19/950-0110-raspberrypi-firmware-Export-the-general-transaction-.patch index 382abc1c36..9f5405334d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0110-raspberrypi-firmware-Export-the-general-transaction-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0110-raspberrypi-firmware-Export-the-general-transaction-.patch @@ -1,7 +1,7 @@ -From 95017b7441b7eddb6c9b6f372e447e739b25fca2 Mon Sep 17 00:00:00 2001 +From 79d09be78f74e3c81ff25f1f78fb17a2f112e3cd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 110/773] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 110/806] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. diff --git a/target/linux/brcm2708/patches-4.19/950-0111-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch b/target/linux/brcm2708/patches-4.19/950-0111-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch index 5bcd67509d..14d4ac9803 100644 --- a/target/linux/brcm2708/patches-4.19/950-0111-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch +++ b/target/linux/brcm2708/patches-4.19/950-0111-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch @@ -1,7 +1,7 @@ -From a59320bbcf8c137b180517324a4ba97debe0125e Mon Sep 17 00:00:00 2001 +From 3ddc9f2dc424c085ca646e92b40d156bb5318295 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 111/773] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 111/806] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt diff --git a/target/linux/brcm2708/patches-4.19/950-0112-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch b/target/linux/brcm2708/patches-4.19/950-0112-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch index a9f2e926fc..70b8aa22d7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0112-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0112-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch @@ -1,7 +1,7 @@ -From 7787724ab91459c78b5163e78a9e971f19fb3baf Mon Sep 17 00:00:00 2001 +From 15920eb72774682674a1e318146c1c009fd69e91 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 112/773] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 112/806] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. diff --git a/target/linux/brcm2708/patches-4.19/950-0113-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch b/target/linux/brcm2708/patches-4.19/950-0113-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch index 3b6d6ebfe9..32e966c29d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0113-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0113-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch @@ -1,7 +1,7 @@ -From 21bcc045d7da7c27ce9db10b188716ccfe9cd308 Mon Sep 17 00:00:00 2001 +From 90094103eaa17e147e30d910eb3ebdad663271be Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 113/773] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 113/806] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was diff --git a/target/linux/brcm2708/patches-4.19/950-0114-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch b/target/linux/brcm2708/patches-4.19/950-0114-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch index e708a4900f..1074decad3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0114-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch +++ b/target/linux/brcm2708/patches-4.19/950-0114-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch @@ -1,7 +1,7 @@ -From 78a937b1afc655d2b8f0db7058fedb5957667eb1 Mon Sep 17 00:00:00 2001 +From 562e0c66203a4f679c6adf6c0df91f7233df53b1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 114/773] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 114/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0115-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch b/target/linux/brcm2708/patches-4.19/950-0115-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch index 2266fccdd4..82bcbb396f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0115-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0115-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch @@ -1,7 +1,7 @@ -From 23eb470a4e4f6b377b623f7449a2cbfbd18e08ab Mon Sep 17 00:00:00 2001 +From c95479213d28d9866e617a54b0435c974874ce9d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 6 Jul 2017 11:45:48 -0700 -Subject: [PATCH 115/773] drm/vc4: Add support for setting DPMS in firmwarekms. +Subject: [PATCH 115/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0116-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch b/target/linux/brcm2708/patches-4.19/950-0116-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch index e8bb71aba1..af931a64d5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0116-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0116-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch @@ -1,7 +1,7 @@ -From 196ec3784c92a18582db5a64c5f4e3830467b0df Mon Sep 17 00:00:00 2001 +From 94db315153c83753aded66cf3ea1de2b95d37628 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 7 Jun 2017 14:39:49 -0700 -Subject: [PATCH 116/773] drm/vc4: Add FB modifier support to firmwarekms. +Subject: [PATCH 116/806] drm/vc4: Add FB modifier support to firmwarekms. Signed-off-by: Eric Anholt (cherry picked from commit 11752d73488e08aaeb65fe8289a9c016acde26c2) diff --git a/target/linux/brcm2708/patches-4.19/950-0117-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch b/target/linux/brcm2708/patches-4.19/950-0117-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch index 7e7ca0370e..9bc4a24416 100644 --- a/target/linux/brcm2708/patches-4.19/950-0117-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch +++ b/target/linux/brcm2708/patches-4.19/950-0117-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch @@ -1,7 +1,7 @@ -From 5b20c39c3e8890783c448bcc3887783ec4977ff5 Mon Sep 17 00:00:00 2001 +From 10d8194f8415a69d3ea049450e86e14572591a71 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 30 Jan 2018 14:21:02 -0800 -Subject: [PATCH 117/773] drm/vc4: Add missing enable/disable vblank handlers +Subject: [PATCH 117/806] drm/vc4: Add missing enable/disable vblank handlers in fkms. Fixes hang at boot in 4.14. diff --git a/target/linux/brcm2708/patches-4.19/950-0118-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch b/target/linux/brcm2708/patches-4.19/950-0118-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch index c761b4b616..8594c6c9c7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0118-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0118-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch @@ -1,7 +1,7 @@ -From aef749410ca9658579bbee07fa73d627fe916744 Mon Sep 17 00:00:00 2001 +From 5ef3d566615961b75f85868b028193bb54727140 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 118/773] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 118/806] vc4_fkms: Apply firmware overscan offset to hardware cursor --- diff --git a/target/linux/brcm2708/patches-4.19/950-0119-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch b/target/linux/brcm2708/patches-4.19/950-0119-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch index c7ed247f49..fcfbccc4ce 100644 --- a/target/linux/brcm2708/patches-4.19/950-0119-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch +++ b/target/linux/brcm2708/patches-4.19/950-0119-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch @@ -1,7 +1,7 @@ -From 36be247fe225fdfcad65d26f491eb876a6a656de Mon Sep 17 00:00:00 2001 +From 36e1081459121883f9881a579c809c7b87895146 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 5 Feb 2018 18:01:02 +0000 -Subject: [PATCH 119/773] drm/vc4: Fix warning about vblank interrupts before +Subject: [PATCH 119/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0120-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch b/target/linux/brcm2708/patches-4.19/950-0120-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch index dba30eeea4..6810169603 100644 --- a/target/linux/brcm2708/patches-4.19/950-0120-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch +++ b/target/linux/brcm2708/patches-4.19/950-0120-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch @@ -1,7 +1,7 @@ -From 071c2a05ae5ee85bf4a439a5b91e245238e3c39b Mon Sep 17 00:00:00 2001 +From a87af130d6feadfea3146a78c58408a8be9a0635 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 5 Feb 2018 18:02:30 +0000 -Subject: [PATCH 120/773] drm/vc4: Skip SET_CURSOR_INFO when the cursor +Subject: [PATCH 120/806] drm/vc4: Skip SET_CURSOR_INFO when the cursor contents didn't change. Signed-off-by: Eric Anholt diff --git a/target/linux/brcm2708/patches-4.19/950-0121-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch b/target/linux/brcm2708/patches-4.19/950-0121-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch index bd60c282fa..c6e5abde8e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0121-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0121-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch @@ -1,7 +1,7 @@ -From 8282169de778b3b84664ec322f0b1087635dda0c Mon Sep 17 00:00:00 2001 +From 9326eeda8a0ec622c94b063fe2aaee642a932cfa Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 5 Feb 2018 18:22:03 +0000 -Subject: [PATCH 121/773] drm/vc4: Remove duplicate primary/cursor fields from +Subject: [PATCH 121/806] drm/vc4: Remove duplicate primary/cursor fields from FKMS driver. The CRTC has those fields and we can just use them. diff --git a/target/linux/brcm2708/patches-4.19/950-0122-vc4_firmware_kms-fix-build.patch b/target/linux/brcm2708/patches-4.19/950-0122-vc4_firmware_kms-fix-build.patch index 7e8acc93a5..43dc0c2d35 100644 --- a/target/linux/brcm2708/patches-4.19/950-0122-vc4_firmware_kms-fix-build.patch +++ b/target/linux/brcm2708/patches-4.19/950-0122-vc4_firmware_kms-fix-build.patch @@ -1,7 +1,7 @@ -From bd64f735cce50326776752622fe572b07b2faa20 Mon Sep 17 00:00:00 2001 +From 8b9843afd665a52df07cc804d6fcb624b22cd85e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 17 Jun 2018 13:22:07 +0100 -Subject: [PATCH 122/773] vc4_firmware_kms: fix build +Subject: [PATCH 122/806] vc4_firmware_kms: fix build --- drivers/gpu/drm/vc4/vc4_firmware_kms.c | 6 ++++-- diff --git a/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch b/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch index b1e42c5ed4..bd9c838ef1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch +++ b/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch @@ -1,7 +1,7 @@ -From 98079eb738f177f7c1b70347756c975fd23f850e Mon Sep 17 00:00:00 2001 +From 7e26ec509af7279406042ecb776f173c487ffddc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 20 Feb 2018 20:53:46 +0000 -Subject: [PATCH 123/773] hack: cache: Fix linker error +Subject: [PATCH 123/806] hack: cache: Fix linker error --- arch/arm/mm/cache-v7.S | 2 ++ diff --git a/target/linux/brcm2708/patches-4.19/950-0124-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch b/target/linux/brcm2708/patches-4.19/950-0124-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch index 20c01ec5c4..873f0d9bda 100644 --- a/target/linux/brcm2708/patches-4.19/950-0124-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch +++ b/target/linux/brcm2708/patches-4.19/950-0124-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch @@ -1,7 +1,7 @@ -From 4d0036813f6436a4379b7e419a33b0f3133ab657 Mon Sep 17 00:00:00 2001 +From b7e22249959b8111e3d8fe7a78afa6a7b0420350 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 20 Feb 2018 10:07:27 +0000 -Subject: [PATCH 124/773] i2c-gpio: Also set bus numbers from reg property +Subject: [PATCH 124/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0125-sound-bcm-Fix-memset-dereference-warning.patch b/target/linux/brcm2708/patches-4.19/950-0125-sound-bcm-Fix-memset-dereference-warning.patch index db21dcfa86..d803335300 100644 --- a/target/linux/brcm2708/patches-4.19/950-0125-sound-bcm-Fix-memset-dereference-warning.patch +++ b/target/linux/brcm2708/patches-4.19/950-0125-sound-bcm-Fix-memset-dereference-warning.patch @@ -1,7 +1,7 @@ -From d59a35bbcea0558c6ce6d764c564e374cde349be Mon Sep 17 00:00:00 2001 +From b6258886ad6bd69b3d51b9c79ea6ada0e01b2db9 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Sun, 4 Mar 2018 17:20:25 -0700 -Subject: [PATCH 125/773] sound: bcm: Fix memset dereference warning +Subject: [PATCH 125/806] sound: bcm: Fix memset dereference warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0126-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch b/target/linux/brcm2708/patches-4.19/950-0126-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch index 034c03b078..9a9df8276d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0126-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0126-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch @@ -1,7 +1,7 @@ -From 09b89102daf86678498ce778006afea533191412 Mon Sep 17 00:00:00 2001 +From 8e3577ac67382beda74437cb6f6bff5dbdb83fc9 Mon Sep 17 00:00:00 2001 From: hdoverobinson Date: Tue, 13 Mar 2018 06:58:39 -0400 -Subject: [PATCH 126/773] added capture_clear option to pps-gpio via dtoverlay +Subject: [PATCH 126/806] added capture_clear option to pps-gpio via dtoverlay (#2433) --- diff --git a/target/linux/brcm2708/patches-4.19/950-0127-lan78xx-Read-initial-EEE-status-from-DT.patch b/target/linux/brcm2708/patches-4.19/950-0127-lan78xx-Read-initial-EEE-status-from-DT.patch index 5ae6eca38e..c302a13553 100644 --- a/target/linux/brcm2708/patches-4.19/950-0127-lan78xx-Read-initial-EEE-status-from-DT.patch +++ b/target/linux/brcm2708/patches-4.19/950-0127-lan78xx-Read-initial-EEE-status-from-DT.patch @@ -1,7 +1,7 @@ -From 41c60a1c9ca1c94d0b1ba3a0da01715df3371134 Mon Sep 17 00:00:00 2001 +From 26c3806ff17c6a7ed61ba127af36271390e86c89 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 9 Mar 2018 12:01:00 +0000 -Subject: [PATCH 127/773] lan78xx: Read initial EEE status from DT +Subject: [PATCH 127/806] lan78xx: Read initial EEE status from DT Add two new DT properties: * microchip,eee-enabled - a boolean to enable EEE diff --git a/target/linux/brcm2708/patches-4.19/950-0128-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch b/target/linux/brcm2708/patches-4.19/950-0128-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch index ce49e11cb9..360657fa1d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0128-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch +++ b/target/linux/brcm2708/patches-4.19/950-0128-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch @@ -1,7 +1,7 @@ -From 09a9d9f973f6425de4f0fa0e7f5e5c2ce88a5385 Mon Sep 17 00:00:00 2001 +From 119f98cc4c860085809584b7504ca61bac70586e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 128/773] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 128/806] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- diff --git a/target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch b/target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch index 5ceb007b19..d72064166d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch @@ -1,7 +1,7 @@ -From 08e8005d7c7b062cd2d19b836fc3299d8f95b299 Mon Sep 17 00:00:00 2001 +From 1929780cf2cc997f990085bd878112b28f4175c9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Apr 2018 14:42:27 +0100 -Subject: [PATCH 129/773] gpiolib: Don't prevent IRQ usage of output GPIOs +Subject: [PATCH 129/806] 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 @@ -26,7 +26,7 @@ Signed-off-by: Phil Elwell /* Device and char device-related information */ static DEFINE_IDA(gpio_ida); static dev_t gpio_devt; -@@ -2628,7 +2630,7 @@ int gpiod_direction_output(struct gpio_d +@@ -2634,7 +2636,7 @@ int gpiod_direction_output(struct gpio_d value = !!value; /* GPIOs used for IRQs shall not be set as output */ @@ -35,7 +35,7 @@ Signed-off-by: Phil Elwell gpiod_err(desc, "%s: tried to set a GPIO tied to an IRQ as output\n", __func__); -@@ -3316,7 +3318,7 @@ int gpiochip_lock_as_irq(struct gpio_chi +@@ -3322,7 +3324,7 @@ int gpiochip_lock_as_irq(struct gpio_chi } } diff --git a/target/linux/brcm2708/patches-4.19/950-0130-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch b/target/linux/brcm2708/patches-4.19/950-0130-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch index 62d53b71bc..f38cdce1b3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0130-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch +++ b/target/linux/brcm2708/patches-4.19/950-0130-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch @@ -1,7 +1,7 @@ -From 43f139a5ed053952593b71890caf5315993f873b Mon Sep 17 00:00:00 2001 +From 3e060982d93902bcca8503df4e33d6cd1e41e21b Mon Sep 17 00:00:00 2001 From: Nick Bulleid Date: Thu, 10 May 2018 21:57:02 +0100 -Subject: [PATCH 130/773] Add ability to export gpio used by gpio-poweroff +Subject: [PATCH 130/806] Add ability to export gpio used by gpio-poweroff Signed-off-by: Nick Bulleid diff --git a/target/linux/brcm2708/patches-4.19/950-0131-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch b/target/linux/brcm2708/patches-4.19/950-0131-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch index 67747481e8..34d2a8a241 100644 --- a/target/linux/brcm2708/patches-4.19/950-0131-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch +++ b/target/linux/brcm2708/patches-4.19/950-0131-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch @@ -1,7 +1,7 @@ -From 7e7ab8da578ae366a1563f2f28837967efdee39e Mon Sep 17 00:00:00 2001 +From 68aaa2f653c83f8fda6032153566b4f895dff524 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 12 May 2018 21:35:43 +0100 -Subject: [PATCH 131/773] firmware/raspberrypi: Notify firmware of a reboot +Subject: [PATCH 131/806] firmware/raspberrypi: Notify firmware of a reboot Register for reboot notifications, sending RPI_FIRMWARE_NOTIFY_REBOOT over the mailbox interface on reception. diff --git a/target/linux/brcm2708/patches-4.19/950-0132-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch b/target/linux/brcm2708/patches-4.19/950-0132-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch index 82cf6c4952..16145fed34 100644 --- a/target/linux/brcm2708/patches-4.19/950-0132-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch +++ b/target/linux/brcm2708/patches-4.19/950-0132-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch @@ -1,7 +1,7 @@ -From a5c612917a1a9ffe0d7ae7c080de1b26fda3b4ec Mon Sep 17 00:00:00 2001 +From 3166f055a568c4fe127b70b81a878ab59070a6f5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 14 Jun 2018 11:21:04 +0100 -Subject: [PATCH 132/773] irqchip: irq-bcm2835: Calc. FIQ_START at boot-time +Subject: [PATCH 132/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0133-of-configfs-Use-of_overlay_fdt_apply-API-call.patch b/target/linux/brcm2708/patches-4.19/950-0133-of-configfs-Use-of_overlay_fdt_apply-API-call.patch index 626a518571..7dbf51cb0f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0133-of-configfs-Use-of_overlay_fdt_apply-API-call.patch +++ b/target/linux/brcm2708/patches-4.19/950-0133-of-configfs-Use-of_overlay_fdt_apply-API-call.patch @@ -1,7 +1,7 @@ -From 5c2c8c9b74a2418a5eee4254ac73ce1cff1fd353 Mon Sep 17 00:00:00 2001 +From fe78e259c356ef883528c5ec3527c714a5966c0c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 14 Jun 2018 15:07:26 +0100 -Subject: [PATCH 133/773] of: configfs: Use of_overlay_fdt_apply API call +Subject: [PATCH 133/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0134-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch b/target/linux/brcm2708/patches-4.19/950-0134-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch index 1cacbb7492..f4bb93f426 100644 --- a/target/linux/brcm2708/patches-4.19/950-0134-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch +++ b/target/linux/brcm2708/patches-4.19/950-0134-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch @@ -1,7 +1,7 @@ -From adf49ae8478b25486ee0df306a4a7bb973694a45 Mon Sep 17 00:00:00 2001 +From 59555269e09f06ae0ded9007c4aa02fa55ce71ca Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Jun 2018 15:21:10 +0100 -Subject: [PATCH 134/773] net: lan78xx: Disable TCP Segmentation Offload (TSO) +Subject: [PATCH 134/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0135-brcmfmac-Re-enable-firmware-roaming-support.patch b/target/linux/brcm2708/patches-4.19/950-0135-brcmfmac-Re-enable-firmware-roaming-support.patch index 0490d90cd6..e14c0bbe50 100644 --- a/target/linux/brcm2708/patches-4.19/950-0135-brcmfmac-Re-enable-firmware-roaming-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0135-brcmfmac-Re-enable-firmware-roaming-support.patch @@ -1,7 +1,7 @@ -From 0da8a94476e36566743283e5037a2a964981f06e Mon Sep 17 00:00:00 2001 +From dbc2eb2f83607315c19b06fd23edec07a01d83db Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 20 Jun 2018 12:20:01 +0100 -Subject: [PATCH 135/773] brcmfmac: Re-enable firmware roaming support +Subject: [PATCH 135/806] brcmfmac: Re-enable firmware roaming support As of 4.18, a firmware that implements the update_connect_params method but doesn't claim to support roaming causes an error. We diff --git a/target/linux/brcm2708/patches-4.19/950-0136-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch b/target/linux/brcm2708/patches-4.19/950-0136-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch index ed26ed8314..a21f8eed12 100644 --- a/target/linux/brcm2708/patches-4.19/950-0136-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch +++ b/target/linux/brcm2708/patches-4.19/950-0136-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch @@ -1,7 +1,7 @@ -From 8defd8d174653daae7da39d815a4f59aa48f9b53 Mon Sep 17 00:00:00 2001 +From 75ec78040e02200dfc2ad4e35c289086334fbee2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 5 Apr 2018 14:46:11 +0100 -Subject: [PATCH 136/773] lan78xx: Move enabling of EEE into PHY init code +Subject: [PATCH 136/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0137-staging-vc04_services-Derive-g_cache_line_size.patch b/target/linux/brcm2708/patches-4.19/950-0137-staging-vc04_services-Derive-g_cache_line_size.patch index c1d07684be..c611322b8a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0137-staging-vc04_services-Derive-g_cache_line_size.patch +++ b/target/linux/brcm2708/patches-4.19/950-0137-staging-vc04_services-Derive-g_cache_line_size.patch @@ -1,7 +1,7 @@ -From 4be8b9877d1174efea1ece7b776940795e23bd61 Mon Sep 17 00:00:00 2001 +From 6bc13b1a867a5fd769f2be713ce9c9d863534bff Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Aug 2018 10:40:40 +0100 -Subject: [PATCH 137/773] staging/vc04_services: Derive g_cache_line_size +Subject: [PATCH 137/806] staging/vc04_services: Derive g_cache_line_size The ARM coprocessor registers include dcache line size, but there is no function to expose this value. Rather than create a new one, use the diff --git a/target/linux/brcm2708/patches-4.19/950-0138-Add-rpi-poe-fan-driver.patch b/target/linux/brcm2708/patches-4.19/950-0138-Add-rpi-poe-fan-driver.patch index 89e6dbc62a..d2e63910a9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0138-Add-rpi-poe-fan-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0138-Add-rpi-poe-fan-driver.patch @@ -1,7 +1,7 @@ -From dc8892d5b8d9a6dced6294477c33cdc9770de147 Mon Sep 17 00:00:00 2001 +From e6528f67b96f52ea77d95a59e75d8270bb53aade Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 9 Jul 2018 12:54:25 +0100 -Subject: [PATCH 138/773] Add rpi-poe-fan driver +Subject: [PATCH 138/806] Add rpi-poe-fan driver Signed-off-by: Serge Schneider diff --git a/target/linux/brcm2708/patches-4.19/950-0139-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch b/target/linux/brcm2708/patches-4.19/950-0139-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch index 928f4068f9..7125b19e61 100644 --- a/target/linux/brcm2708/patches-4.19/950-0139-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0139-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch @@ -1,7 +1,7 @@ -From c9c6842ecc6ac834d51b6368548fc9364ddc8465 Mon Sep 17 00:00:00 2001 +From a54bad2a438d7c67b1e012cf31fd2a112bc90e2a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 17 Sep 2018 17:31:18 +0100 -Subject: [PATCH 139/773] cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880 +Subject: [PATCH 139/806] cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880 with MEDIA_SUBDRV_AUTOSELECT --- diff --git a/target/linux/brcm2708/patches-4.19/950-0140-bcm2835-interpolate-audio-delay.patch b/target/linux/brcm2708/patches-4.19/950-0140-bcm2835-interpolate-audio-delay.patch index 28a29da152..5a54adda12 100644 --- a/target/linux/brcm2708/patches-4.19/950-0140-bcm2835-interpolate-audio-delay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0140-bcm2835-interpolate-audio-delay.patch @@ -1,7 +1,7 @@ -From 4d742a446559b31f189dba5cbcddae053e883eab Mon Sep 17 00:00:00 2001 +From 652b0ec2ab2d2e2af7bb4f7d62a4020a20720677 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:44:47 +0100 -Subject: [PATCH 140/773] bcm2835: interpolate audio delay +Subject: [PATCH 140/806] bcm2835: interpolate audio delay It appears the GPU only sends us a message all 10ms to update the playback progress. Other than this, the playback position diff --git a/target/linux/brcm2708/patches-4.19/950-0141-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch b/target/linux/brcm2708/patches-4.19/950-0141-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch index bef4606915..dd128a1618 100644 --- a/target/linux/brcm2708/patches-4.19/950-0141-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch +++ b/target/linux/brcm2708/patches-4.19/950-0141-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch @@ -1,7 +1,7 @@ -From d58a6bedcd9dc9afef4f9f56b553a03f01a7765a Mon Sep 17 00:00:00 2001 +From 75fdebcf15e8023b9640d9fc2e3ed227e5563968 Mon Sep 17 00:00:00 2001 From: detule Date: Tue, 2 Oct 2018 04:10:08 -0400 -Subject: [PATCH 141/773] vchiq_2835_arm: Implement a DMA pool for small bulk +Subject: [PATCH 141/806] vchiq_2835_arm: Implement a DMA pool for small bulk transfers (#2699) During a bulk transfer we request a DMA allocation to hold the diff --git a/target/linux/brcm2708/patches-4.19/950-0142-BCM2708_DT-Use-upstreamed-GPIO-expander-driver.patch b/target/linux/brcm2708/patches-4.19/950-0142-BCM2708_DT-Use-upstreamed-GPIO-expander-driver.patch index 80cd2da255..cc2fa3b792 100644 --- a/target/linux/brcm2708/patches-4.19/950-0142-BCM2708_DT-Use-upstreamed-GPIO-expander-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0142-BCM2708_DT-Use-upstreamed-GPIO-expander-driver.patch @@ -1,7 +1,7 @@ -From c74590643b336259b9dc2a378e2c71c3e7fd9db1 Mon Sep 17 00:00:00 2001 +From b44b364b2762579776addb7371f71b77fce62eb8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 Oct 2018 12:20:36 +0100 -Subject: [PATCH 142/773] BCM2708_DT: Use upstreamed GPIO expander driver +Subject: [PATCH 142/806] BCM2708_DT: Use upstreamed GPIO expander driver The upstreamed driver for the GPIO expander has a different compatible string. Change the relevant Device Tree files to match. diff --git a/target/linux/brcm2708/patches-4.19/950-0143-overlays-Fix-a-few-dtc-warnings.patch b/target/linux/brcm2708/patches-4.19/950-0143-overlays-Fix-a-few-dtc-warnings.patch index 8f1e5f30c9..5ed3a8fe36 100644 --- a/target/linux/brcm2708/patches-4.19/950-0143-overlays-Fix-a-few-dtc-warnings.patch +++ b/target/linux/brcm2708/patches-4.19/950-0143-overlays-Fix-a-few-dtc-warnings.patch @@ -1,7 +1,7 @@ -From e792cc6341ac1fe205bd57bb5c06dbd46c0d11d0 Mon Sep 17 00:00:00 2001 +From 13abcbfdc76f1a40c36367fe28b76e29742b2d05 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 Oct 2018 17:16:28 +0100 -Subject: [PATCH 143/773] overlays: Fix a few dtc warnings +Subject: [PATCH 143/806] overlays: Fix a few dtc warnings Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0144-bcm2708-rpi-Disable-txp-interrupt-unless-using-vc4-k.patch b/target/linux/brcm2708/patches-4.19/950-0144-bcm2708-rpi-Disable-txp-interrupt-unless-using-vc4-k.patch index 3d05fa0261..e4cead3b14 100644 --- a/target/linux/brcm2708/patches-4.19/950-0144-bcm2708-rpi-Disable-txp-interrupt-unless-using-vc4-k.patch +++ b/target/linux/brcm2708/patches-4.19/950-0144-bcm2708-rpi-Disable-txp-interrupt-unless-using-vc4-k.patch @@ -1,7 +1,7 @@ -From 2b98edf196878141997aae6acca84ec64ed72952 Mon Sep 17 00:00:00 2001 +From 44b80e04ec619a2e28ff150c3e09123399002d6d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Oct 2018 16:32:52 +0100 -Subject: [PATCH 144/773] bcm2708-rpi: Disable txp interrupt unless using +Subject: [PATCH 144/806] bcm2708-rpi: Disable txp interrupt unless using vc4-kms-v3d overlay Signed-off-by: popcornmix diff --git a/target/linux/brcm2708/patches-4.19/950-0145-config-Enable-Raspberry-Pi-voltage-monitor.patch b/target/linux/brcm2708/patches-4.19/950-0145-config-Enable-Raspberry-Pi-voltage-monitor.patch index 843a136426..e3cee3b41c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0145-config-Enable-Raspberry-Pi-voltage-monitor.patch +++ b/target/linux/brcm2708/patches-4.19/950-0145-config-Enable-Raspberry-Pi-voltage-monitor.patch @@ -1,7 +1,7 @@ -From 8444ee737e27effe16f419a5599263029ce775af Mon Sep 17 00:00:00 2001 +From 0c40bb7d88b385b31462bcdb9b9555791763b8a0 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 6 Oct 2018 16:45:41 +0200 -Subject: [PATCH 145/773] config: Enable Raspberry Pi voltage monitor +Subject: [PATCH 145/806] config: Enable Raspberry Pi voltage monitor This enables the Raspberry Pi voltage monitor as a replacement for the get_trottled sysfs approach in the firmware driver. diff --git a/target/linux/brcm2708/patches-4.19/950-0146-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch b/target/linux/brcm2708/patches-4.19/950-0146-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch index 4219d03d95..33ef6af085 100644 --- a/target/linux/brcm2708/patches-4.19/950-0146-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0146-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch @@ -1,7 +1,7 @@ -From 8c5cc4ccdeb3bfbd0fb93dff2ac8afd49cb1f839 Mon Sep 17 00:00:00 2001 +From e7056be388c7bbc6f0211f587643ff795ce30814 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 6 Oct 2018 16:46:18 +0200 -Subject: [PATCH 146/773] hwmon: raspberrypi: Prevent voltage low warnings from +Subject: [PATCH 146/806] hwmon: raspberrypi: Prevent voltage low warnings from filling log Although the correct fix for low voltage warnings is to diff --git a/target/linux/brcm2708/patches-4.19/950-0147-firmware-raspberrypi-Add-backward-compatible-get_thr.patch b/target/linux/brcm2708/patches-4.19/950-0147-firmware-raspberrypi-Add-backward-compatible-get_thr.patch index a7b6116526..dea72e690e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0147-firmware-raspberrypi-Add-backward-compatible-get_thr.patch +++ b/target/linux/brcm2708/patches-4.19/950-0147-firmware-raspberrypi-Add-backward-compatible-get_thr.patch @@ -1,7 +1,7 @@ -From 87e5b540bb37f8b767f7b5480f45a9d9da38f1f5 Mon Sep 17 00:00:00 2001 +From 4c26452ecee989e1f43a80654a0d5cd8ce64e49e Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 13 Oct 2018 13:31:21 +0200 -Subject: [PATCH 147/773] firmware: raspberrypi: Add backward compatible +Subject: [PATCH 147/806] firmware: raspberrypi: Add backward compatible get_throttled Avoid a hard userspace ABI change by adding a compatible get_throttled diff --git a/target/linux/brcm2708/patches-4.19/950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch b/target/linux/brcm2708/patches-4.19/950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch index 3bff8f5295..99e1679cdf 100644 --- a/target/linux/brcm2708/patches-4.19/950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch +++ b/target/linux/brcm2708/patches-4.19/950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch @@ -1,7 +1,7 @@ -From 9a94bd6bb43994d313fd8fc5ce7269985642d555 Mon Sep 17 00:00:00 2001 +From 3118f1a2f29ae802a334963c2aded87d60bddd56 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Wed, 31 Oct 2018 13:00:46 +0000 -Subject: [PATCH 148/773] Increase firmware call buffer size to 48 bytes +Subject: [PATCH 148/806] Increase firmware call buffer size to 48 bytes An assumption was made in commit a1547e0bc that 32 bytes would be enough data buffer size for all firmware calls. However, diff --git a/target/linux/brcm2708/patches-4.19/950-0149-sc16is7xx-Don-t-spin-if-no-data-received.patch b/target/linux/brcm2708/patches-4.19/950-0149-sc16is7xx-Don-t-spin-if-no-data-received.patch index 334214d3e9..2d6c86e8a0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0149-sc16is7xx-Don-t-spin-if-no-data-received.patch +++ b/target/linux/brcm2708/patches-4.19/950-0149-sc16is7xx-Don-t-spin-if-no-data-received.patch @@ -1,7 +1,7 @@ -From b3722cdaf35ac854458a513680792e7ddf40fbc3 Mon Sep 17 00:00:00 2001 +From 3f8c7542e12f23f6be2cd7206fbf808409db2848 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 6 Nov 2018 12:57:48 +0000 -Subject: [PATCH 149/773] sc16is7xx: Don't spin if no data received +Subject: [PATCH 149/806] sc16is7xx: Don't spin if no data received See: https://github.com/raspberrypi/linux/issues/2676 diff --git a/target/linux/brcm2708/patches-4.19/950-0150-configs-Rebuild-bcmrpi3_defconfig-to-fix-warnings.patch b/target/linux/brcm2708/patches-4.19/950-0150-configs-Rebuild-bcmrpi3_defconfig-to-fix-warnings.patch index 2788ad0028..bc7e0d2adc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0150-configs-Rebuild-bcmrpi3_defconfig-to-fix-warnings.patch +++ b/target/linux/brcm2708/patches-4.19/950-0150-configs-Rebuild-bcmrpi3_defconfig-to-fix-warnings.patch @@ -1,7 +1,7 @@ -From 6353f037ada4c36c7be8d56d58b3b709200e7793 Mon Sep 17 00:00:00 2001 +From 4e5178b323d2710d9cf8b0fcabfabc48400a3797 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 12 Nov 2018 21:42:00 +0000 -Subject: [PATCH 150/773] configs: Rebuild bcmrpi3_defconfig to fix warnings +Subject: [PATCH 150/806] configs: Rebuild bcmrpi3_defconfig to fix warnings Also disable CONFIG_MMC_BCM2835 to avoid a runtime conflict. diff --git a/target/linux/brcm2708/patches-4.19/950-0151-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch b/target/linux/brcm2708/patches-4.19/950-0151-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch index df947ae2fa..037700bfe6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0151-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch +++ b/target/linux/brcm2708/patches-4.19/950-0151-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch @@ -1,7 +1,7 @@ -From c39b385b5600918ab46d4ca2d42af6609eb8676e Mon Sep 17 00:00:00 2001 +From 87b707ed572548b3d332c327df5df9455dd98ca7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 24 Aug 2017 16:16:16 +0100 -Subject: [PATCH 151/773] brcmfmac: Disable ARP offloading when promiscuous +Subject: [PATCH 151/806] brcmfmac: Disable ARP offloading when promiscuous This is a test patch for brcmfmac from Franky Lin at Broadcom to disable ARP offloading when in promiscuous mode, re-enabling the ability to diff --git a/target/linux/brcm2708/patches-4.19/950-0152-config-enable-Audio-Graph-Card-module.patch b/target/linux/brcm2708/patches-4.19/950-0152-config-enable-Audio-Graph-Card-module.patch index 917af13d7d..045c1198f2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0152-config-enable-Audio-Graph-Card-module.patch +++ b/target/linux/brcm2708/patches-4.19/950-0152-config-enable-Audio-Graph-Card-module.patch @@ -1,7 +1,7 @@ -From 98d0c289a857a2c55f658a2ac1d21d28f4bf4ed2 Mon Sep 17 00:00:00 2001 +From 13ce1407d4c433a569f03edf732515311bdf20e0 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 6 Feb 2018 15:37:22 +0100 -Subject: [PATCH 152/773] config: enable Audio Graph Card module +Subject: [PATCH 152/806] config: enable Audio Graph Card module Signed-off-by: Matthias Reichl --- diff --git a/target/linux/brcm2708/patches-4.19/950-0153-config-Add-IPVLAN-module.patch b/target/linux/brcm2708/patches-4.19/950-0153-config-Add-IPVLAN-module.patch index 953696ad62..69c2be6130 100644 --- a/target/linux/brcm2708/patches-4.19/950-0153-config-Add-IPVLAN-module.patch +++ b/target/linux/brcm2708/patches-4.19/950-0153-config-Add-IPVLAN-module.patch @@ -1,7 +1,7 @@ -From 4e344198693b73c3e84548cf1d343633660cc55d Mon Sep 17 00:00:00 2001 +From 30bd0664d2209b641c0e8f01f151c35f6964882e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 29 Mar 2018 16:05:28 +0100 -Subject: [PATCH 153/773] config: Add IPVLAN module +Subject: [PATCH 153/806] config: Add IPVLAN module --- arch/arm/configs/bcm2709_defconfig | 1 + diff --git a/target/linux/brcm2708/patches-4.19/950-0154-config-Add-I2C_TINY_USB-m.patch b/target/linux/brcm2708/patches-4.19/950-0154-config-Add-I2C_TINY_USB-m.patch index 7721d58aec..fd5e9effdf 100644 --- a/target/linux/brcm2708/patches-4.19/950-0154-config-Add-I2C_TINY_USB-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0154-config-Add-I2C_TINY_USB-m.patch @@ -1,7 +1,7 @@ -From be41c6404280c690776bbd3a2c173e3468db582a Mon Sep 17 00:00:00 2001 +From 2112bcb0bdbc42581c2017c017277146a1297ec3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 27 Apr 2018 16:21:33 +0100 -Subject: [PATCH 154/773] config: Add I2C_TINY_USB=m +Subject: [PATCH 154/806] config: Add I2C_TINY_USB=m Enable the I2C Tiny USB module. diff --git a/target/linux/brcm2708/patches-4.19/950-0155-Add-device-tree-overlay-for-HD44780.patch b/target/linux/brcm2708/patches-4.19/950-0155-Add-device-tree-overlay-for-HD44780.patch index 9fa90c6546..5d5fd92825 100644 --- a/target/linux/brcm2708/patches-4.19/950-0155-Add-device-tree-overlay-for-HD44780.patch +++ b/target/linux/brcm2708/patches-4.19/950-0155-Add-device-tree-overlay-for-HD44780.patch @@ -1,7 +1,7 @@ -From 9b703ce83feacfe4215a392fd6b093fa624b971c Mon Sep 17 00:00:00 2001 +From b5ec75dab38af2429278df48121642cb5605e318 Mon Sep 17 00:00:00 2001 From: Jasper Boomer Date: Sun, 24 Jun 2018 12:20:27 -0400 -Subject: [PATCH 155/773] Add device tree overlay for HD44780 +Subject: [PATCH 155/806] Add device tree overlay for HD44780 --- arch/arm/boot/dts/overlays/Makefile | 1 + diff --git a/target/linux/brcm2708/patches-4.19/950-0156-Add-hd44780-module-to-defconfig.patch b/target/linux/brcm2708/patches-4.19/950-0156-Add-hd44780-module-to-defconfig.patch index d34b2d13b5..0a1d0a7d0c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0156-Add-hd44780-module-to-defconfig.patch +++ b/target/linux/brcm2708/patches-4.19/950-0156-Add-hd44780-module-to-defconfig.patch @@ -1,7 +1,7 @@ -From 331c984914ce7c4edc432930716a6aee9899231f Mon Sep 17 00:00:00 2001 +From 5dbc1ccbc52f57d98e193c496538e3a12c2c120c Mon Sep 17 00:00:00 2001 From: Jasper Boomer Date: Mon, 2 Jul 2018 13:16:22 -0400 -Subject: [PATCH 156/773] Add hd44780 module to defconfig +Subject: [PATCH 156/806] Add hd44780 module to defconfig --- arch/arm/configs/bcm2709_defconfig | 2 ++ diff --git a/target/linux/brcm2708/patches-4.19/950-0157-overlays-Add-addr-parameter-to-i2c-rtc-gpio.patch b/target/linux/brcm2708/patches-4.19/950-0157-overlays-Add-addr-parameter-to-i2c-rtc-gpio.patch index 212c40bd66..8d8742e251 100644 --- a/target/linux/brcm2708/patches-4.19/950-0157-overlays-Add-addr-parameter-to-i2c-rtc-gpio.patch +++ b/target/linux/brcm2708/patches-4.19/950-0157-overlays-Add-addr-parameter-to-i2c-rtc-gpio.patch @@ -1,7 +1,7 @@ -From 7d32f48d6e7ba3090b0eb4b19da444a7e17ce5f6 Mon Sep 17 00:00:00 2001 +From 20dbf906033167e7c4296eee07437d52627d8ccf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jul 2018 21:11:32 +0100 -Subject: [PATCH 157/773] overlays: Add addr parameter to i2c-rtc (& -gpio) +Subject: [PATCH 157/806] overlays: Add addr parameter to i2c-rtc (& -gpio) See: https://github.com/raspberrypi/linux/issues/2611 diff --git a/target/linux/brcm2708/patches-4.19/950-0158-ARM-BCM270X-Add-the-18-bit-DPI-pinmux-to-the-RPI-DTs.patch b/target/linux/brcm2708/patches-4.19/950-0158-ARM-BCM270X-Add-the-18-bit-DPI-pinmux-to-the-RPI-DTs.patch index dabfaec5b7..7875a374b3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0158-ARM-BCM270X-Add-the-18-bit-DPI-pinmux-to-the-RPI-DTs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0158-ARM-BCM270X-Add-the-18-bit-DPI-pinmux-to-the-RPI-DTs.patch @@ -1,7 +1,7 @@ -From fadd4b8432f04b11898b32715e40cf03f1cd0a5f Mon Sep 17 00:00:00 2001 +From 8a9c6862c6010b4500cb08c62ac4aea6897cf485 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 9 Mar 2018 14:24:05 -0800 -Subject: [PATCH 158/773] ARM: BCM270X: Add the 18-bit DPI pinmux to the RPI +Subject: [PATCH 158/806] ARM: BCM270X: Add the 18-bit DPI pinmux to the RPI DTs. This doesn't do anything by default, but trying to put the node in an diff --git a/target/linux/brcm2708/patches-4.19/950-0159-overlays-Add-an-overlay-for-the-Adafruit-Kippah-with.patch b/target/linux/brcm2708/patches-4.19/950-0159-overlays-Add-an-overlay-for-the-Adafruit-Kippah-with.patch index 3bad4bf9e7..775a69ee7f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0159-overlays-Add-an-overlay-for-the-Adafruit-Kippah-with.patch +++ b/target/linux/brcm2708/patches-4.19/950-0159-overlays-Add-an-overlay-for-the-Adafruit-Kippah-with.patch @@ -1,7 +1,7 @@ -From 78fa27dabb41e2409ee92b25c72b91e2bf8d919e Mon Sep 17 00:00:00 2001 +From 467e9cb87261c27b6c70ec714ae3cb58b48d0f6b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 9 Mar 2018 13:20:21 -0800 -Subject: [PATCH 159/773] overlays: Add an overlay for the Adafruit Kippah with +Subject: [PATCH 159/806] overlays: Add an overlay for the Adafruit Kippah with their 7" panel Signed-off-by: Eric Anholt diff --git a/target/linux/brcm2708/patches-4.19/950-0160-overlays-Remove-stale-notes-about-vc4-s-CMA-alignmen.patch b/target/linux/brcm2708/patches-4.19/950-0160-overlays-Remove-stale-notes-about-vc4-s-CMA-alignmen.patch index 5d2c45a1ad..6a97f4dec9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0160-overlays-Remove-stale-notes-about-vc4-s-CMA-alignmen.patch +++ b/target/linux/brcm2708/patches-4.19/950-0160-overlays-Remove-stale-notes-about-vc4-s-CMA-alignmen.patch @@ -1,7 +1,7 @@ -From ec2bfcc8a43b16a6892a8535bb094ad1666d16c3 Mon Sep 17 00:00:00 2001 +From a90677b7610230ed88bd1866684e05ac2a0321f6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 9 Mar 2018 13:26:33 -0800 -Subject: [PATCH 160/773] overlays: Remove stale notes about vc4's CMA +Subject: [PATCH 160/806] overlays: Remove stale notes about vc4's CMA alignment in the README. We haven't needed alignment since diff --git a/target/linux/brcm2708/patches-4.19/950-0161-spi-Make-GPIO-CSs-honour-the-SPI_NO_CS-flag.patch b/target/linux/brcm2708/patches-4.19/950-0161-spi-Make-GPIO-CSs-honour-the-SPI_NO_CS-flag.patch index a7f9835560..05b255dc8c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0161-spi-Make-GPIO-CSs-honour-the-SPI_NO_CS-flag.patch +++ b/target/linux/brcm2708/patches-4.19/950-0161-spi-Make-GPIO-CSs-honour-the-SPI_NO_CS-flag.patch @@ -1,7 +1,7 @@ -From 89502b903bcfb759933dab352341348c07171e7d Mon Sep 17 00:00:00 2001 +From d7aa9d52b7f9b2d600f9b2479767c24d438a2c68 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Jul 2018 14:23:47 +0100 -Subject: [PATCH 161/773] spi: Make GPIO CSs honour the SPI_NO_CS flag +Subject: [PATCH 161/806] spi: Make GPIO CSs honour the SPI_NO_CS flag The SPI configuration state includes an SPI_NO_CS flag that disables all CS line manipulation, for applications that want to manage their diff --git a/target/linux/brcm2708/patches-4.19/950-0162-devicetree-add-RPi-CM3-dts-to-arm64-mimic-the-RPi-3B.patch b/target/linux/brcm2708/patches-4.19/950-0162-devicetree-add-RPi-CM3-dts-to-arm64-mimic-the-RPi-3B.patch index 6708c08bf5..2ab50965bc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0162-devicetree-add-RPi-CM3-dts-to-arm64-mimic-the-RPi-3B.patch +++ b/target/linux/brcm2708/patches-4.19/950-0162-devicetree-add-RPi-CM3-dts-to-arm64-mimic-the-RPi-3B.patch @@ -1,7 +1,7 @@ -From effbee05f84d01577c8bd95a9e79f2183f590af2 Mon Sep 17 00:00:00 2001 +From 120cbbc17c917790fe523ee67a32e877e5592b93 Mon Sep 17 00:00:00 2001 From: Steve Pavao Date: Fri, 10 Aug 2018 17:09:50 -0400 -Subject: [PATCH 162/773] devicetree: add RPi CM3 dts to arm64; mimic the RPi +Subject: [PATCH 162/806] devicetree: add RPi CM3 dts to arm64; mimic the RPi 3B arm64 dts implementation, by referring to the actual dts file in the arm directory diff --git a/target/linux/brcm2708/patches-4.19/950-0163-Add-support-for-audioinjector.net-ultra-soundcard.-2.patch b/target/linux/brcm2708/patches-4.19/950-0163-Add-support-for-audioinjector.net-ultra-soundcard.-2.patch index 560e98f349..5e436392be 100644 --- a/target/linux/brcm2708/patches-4.19/950-0163-Add-support-for-audioinjector.net-ultra-soundcard.-2.patch +++ b/target/linux/brcm2708/patches-4.19/950-0163-Add-support-for-audioinjector.net-ultra-soundcard.-2.patch @@ -1,7 +1,7 @@ -From 703e6ff221abb10b9cd119166d4a29f5db9fd028 Mon Sep 17 00:00:00 2001 +From e2516e3a7d2244f74c3267be8bdc143448c278be Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 28 Aug 2018 18:42:13 +1000 -Subject: [PATCH 163/773] Add support for audioinjector.net ultra soundcard. +Subject: [PATCH 163/806] Add support for audioinjector.net ultra soundcard. (#2664) Uses the simple-audio-card ALSA machine driver. Sets up the machine diff --git a/target/linux/brcm2708/patches-4.19/950-0164-ASoC-cs4265-Add-a-S-PDIF-enable-switch.patch b/target/linux/brcm2708/patches-4.19/950-0164-ASoC-cs4265-Add-a-S-PDIF-enable-switch.patch index d86c82ed07..b8c17b83fc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0164-ASoC-cs4265-Add-a-S-PDIF-enable-switch.patch +++ b/target/linux/brcm2708/patches-4.19/950-0164-ASoC-cs4265-Add-a-S-PDIF-enable-switch.patch @@ -1,7 +1,7 @@ -From c42fc0c653cb19942b07ccae46e2b91346e28a2e Mon Sep 17 00:00:00 2001 +From 92d32a3a11bc8c290370ba37bf792996ce3da8bc Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Thu, 30 Aug 2018 09:38:02 +1000 -Subject: [PATCH 164/773] ASoC: cs4265: Add a S/PDIF enable switch +Subject: [PATCH 164/806] ASoC: cs4265: Add a S/PDIF enable switch commit f853d6b3ba345297974d877d8ed0f4a91eaca739 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0165-ASoC-cs4265-Add-native-32bit-I2S-transport.patch b/target/linux/brcm2708/patches-4.19/950-0165-ASoC-cs4265-Add-native-32bit-I2S-transport.patch index d798a4d18f..8e32928cf9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0165-ASoC-cs4265-Add-native-32bit-I2S-transport.patch +++ b/target/linux/brcm2708/patches-4.19/950-0165-ASoC-cs4265-Add-native-32bit-I2S-transport.patch @@ -1,7 +1,7 @@ -From 3c06ca7900d7c6ae6b84682d0e9f5d345d5166ca Mon Sep 17 00:00:00 2001 +From 8b81eec1fab393a4f0df4a77788aaaccb39e55dd Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Thu, 30 Aug 2018 09:38:01 +1000 -Subject: [PATCH 165/773] ASoC: cs4265: Add native 32bit I2S transport +Subject: [PATCH 165/806] ASoC: cs4265: Add native 32bit I2S transport commit be47e75eb1419ffc1d9c26230963fd5fa3055097 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0166-configs-Add-SENSOR_GPIO_FAN-m.patch b/target/linux/brcm2708/patches-4.19/950-0166-configs-Add-SENSOR_GPIO_FAN-m.patch index 493fea404c..629ad5dc32 100644 --- a/target/linux/brcm2708/patches-4.19/950-0166-configs-Add-SENSOR_GPIO_FAN-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0166-configs-Add-SENSOR_GPIO_FAN-m.patch @@ -1,7 +1,7 @@ -From 41a7e42755ef7b490c0058464ee97d11f1bdd461 Mon Sep 17 00:00:00 2001 +From 29c48a0c6b2a552fa0649b7049c67c66d1be326c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 18 Sep 2018 11:03:20 +0100 -Subject: [PATCH 166/773] configs: Add SENSOR_GPIO_FAN=m +Subject: [PATCH 166/806] configs: Add SENSOR_GPIO_FAN=m Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0167-BCM270X_DT-Add-gpio-fan-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0167-BCM270X_DT-Add-gpio-fan-overlay.patch index 9d3e9aaad5..f0cd000a2e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0167-BCM270X_DT-Add-gpio-fan-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0167-BCM270X_DT-Add-gpio-fan-overlay.patch @@ -1,7 +1,7 @@ -From b0d5a983269fef011d3e3abda047a8064f9af5e2 Mon Sep 17 00:00:00 2001 +From 9762b3a015886c42941f535e688ffac1f56e35aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 18 Sep 2018 11:08:07 +0100 -Subject: [PATCH 167/773] BCM270X_DT: Add gpio-fan overlay +Subject: [PATCH 167/806] BCM270X_DT: Add gpio-fan overlay Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0168-HID-hid-bigbenff-driver-for-BigBen-Interactive-PS3OF.patch b/target/linux/brcm2708/patches-4.19/950-0168-HID-hid-bigbenff-driver-for-BigBen-Interactive-PS3OF.patch index d2783b911d..693afc1818 100644 --- a/target/linux/brcm2708/patches-4.19/950-0168-HID-hid-bigbenff-driver-for-BigBen-Interactive-PS3OF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0168-HID-hid-bigbenff-driver-for-BigBen-Interactive-PS3OF.patch @@ -1,7 +1,7 @@ -From 0576572c83348bbe268349ebf12c092ca0fba48b Mon Sep 17 00:00:00 2001 +From 08e33d99152acc5e35fd94f9b443f38baaac93e1 Mon Sep 17 00:00:00 2001 From: Hanno Zulla Date: Thu, 23 Aug 2018 17:03:38 +0200 -Subject: [PATCH 168/773] HID: hid-bigbenff: driver for BigBen Interactive +Subject: [PATCH 168/806] HID: hid-bigbenff: driver for BigBen Interactive PS3OFMINIPAD gamepad commit 256a90ed9e46b270bbc4e15ef05216ff049c3721 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0169-configs-Add-CONFIG_HID_BIGBEN_FF-m.patch b/target/linux/brcm2708/patches-4.19/950-0169-configs-Add-CONFIG_HID_BIGBEN_FF-m.patch index 8e87e5870c..40f006fb6d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0169-configs-Add-CONFIG_HID_BIGBEN_FF-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0169-configs-Add-CONFIG_HID_BIGBEN_FF-m.patch @@ -1,7 +1,7 @@ -From f2dd7d8a2c1206d74eb84ef4f63b13a7f63392b1 Mon Sep 17 00:00:00 2001 +From 9e5b2be64b8a0184b60f659ceecfece572402929 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 24 Sep 2018 14:56:58 +0100 -Subject: [PATCH 169/773] configs: Add CONFIG_HID_BIGBEN_FF=m +Subject: [PATCH 169/806] configs: Add CONFIG_HID_BIGBEN_FF=m See: https://github.com/raspberrypi/linux/issues/2690 diff --git a/target/linux/brcm2708/patches-4.19/950-0170-ASoC-cs4265-Add-a-MIC-pre.-route-2696.patch b/target/linux/brcm2708/patches-4.19/950-0170-ASoC-cs4265-Add-a-MIC-pre.-route-2696.patch index cc4ef937be..9f67d8a1ff 100644 --- a/target/linux/brcm2708/patches-4.19/950-0170-ASoC-cs4265-Add-a-MIC-pre.-route-2696.patch +++ b/target/linux/brcm2708/patches-4.19/950-0170-ASoC-cs4265-Add-a-MIC-pre.-route-2696.patch @@ -1,7 +1,7 @@ -From cc2c7587954540fc1d2954151750271bc008cf62 Mon Sep 17 00:00:00 2001 +From f78b69873eb4839dd836b4a681ccce90aa8188f1 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Fri, 28 Sep 2018 15:13:28 +1000 -Subject: [PATCH 170/773] ASoC: cs4265: Add a MIC pre. route (#2696) +Subject: [PATCH 170/806] ASoC: cs4265: Add a MIC pre. route (#2696) Commit b0ef5011b981ece1fde8063243a56d3038b87adb upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0171-Update-gpio-fan-overlay.dts-2711.patch b/target/linux/brcm2708/patches-4.19/950-0171-Update-gpio-fan-overlay.dts-2711.patch index cbff8c7258..b95b2b92d0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0171-Update-gpio-fan-overlay.dts-2711.patch +++ b/target/linux/brcm2708/patches-4.19/950-0171-Update-gpio-fan-overlay.dts-2711.patch @@ -1,7 +1,7 @@ -From 88e367f987034c82be7a8d5c49e19ec3cad8eed1 Mon Sep 17 00:00:00 2001 +From 4a2be174938ac115beac4f07fa8b7ee33406cde8 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 11 Oct 2018 12:17:20 +0300 -Subject: [PATCH 171/773] Update gpio-fan-overlay.dts (#2711) +Subject: [PATCH 171/806] Update gpio-fan-overlay.dts (#2711) Add references, links, clear details, some typo correction. --- diff --git a/target/linux/brcm2708/patches-4.19/950-0172-drivers-thermal-step_wise-add-support-for-hysteresis.patch b/target/linux/brcm2708/patches-4.19/950-0172-drivers-thermal-step_wise-add-support-for-hysteresis.patch index 6581cf0aca..3043559c0f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0172-drivers-thermal-step_wise-add-support-for-hysteresis.patch +++ b/target/linux/brcm2708/patches-4.19/950-0172-drivers-thermal-step_wise-add-support-for-hysteresis.patch @@ -1,7 +1,7 @@ -From 6721879de09edff1a89b382b6e3914477ce08c5c Mon Sep 17 00:00:00 2001 +From 05a13bbd7fbb76b4f690042173749a55d85de831 Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Mon, 7 May 2018 11:54:08 -0600 -Subject: [PATCH 172/773] drivers: thermal: step_wise: add support for +Subject: [PATCH 172/806] drivers: thermal: step_wise: add support for hysteresis From: Ram Chandrasekar diff --git a/target/linux/brcm2708/patches-4.19/950-0173-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch b/target/linux/brcm2708/patches-4.19/950-0173-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch index e8dcf09814..8a07a46d24 100644 --- a/target/linux/brcm2708/patches-4.19/950-0173-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch +++ b/target/linux/brcm2708/patches-4.19/950-0173-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch @@ -1,7 +1,7 @@ -From f6614c4064acb5faaced0bb6597d7eac914c8ec5 Mon Sep 17 00:00:00 2001 +From c7c358c1ac991887b6d2c9193139f9f35a36e985 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 2 Oct 2018 11:14:15 +0100 -Subject: [PATCH 173/773] drivers: thermal: step_wise: avoid throttling at +Subject: [PATCH 173/806] drivers: thermal: step_wise: avoid throttling at hysteresis temperature after dropping below it Signed-off-by: Serge Schneider diff --git a/target/linux/brcm2708/patches-4.19/950-0174-hwmon-adjust-rpi-poe-fan-overlay-trip-points.patch b/target/linux/brcm2708/patches-4.19/950-0174-hwmon-adjust-rpi-poe-fan-overlay-trip-points.patch index c4963a72a1..37331d3aa3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0174-hwmon-adjust-rpi-poe-fan-overlay-trip-points.patch +++ b/target/linux/brcm2708/patches-4.19/950-0174-hwmon-adjust-rpi-poe-fan-overlay-trip-points.patch @@ -1,7 +1,7 @@ -From dfa854f6d944d5e6fa84588639f7e19dba9cc366 Mon Sep 17 00:00:00 2001 +From 018b90a28a06e351dc67db043e9889eeed33120c Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Wed, 26 Sep 2018 19:44:59 +0100 -Subject: [PATCH 174/773] hwmon: adjust rpi-poe-fan overlay trip points +Subject: [PATCH 174/806] hwmon: adjust rpi-poe-fan overlay trip points Signed-off-by: Serge Schneider --- diff --git a/target/linux/brcm2708/patches-4.19/950-0175-overlays-add-overrides-for-PoE-HAT-fan-control.patch b/target/linux/brcm2708/patches-4.19/950-0175-overlays-add-overrides-for-PoE-HAT-fan-control.patch index d2a25e982d..e795df16fd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0175-overlays-add-overrides-for-PoE-HAT-fan-control.patch +++ b/target/linux/brcm2708/patches-4.19/950-0175-overlays-add-overrides-for-PoE-HAT-fan-control.patch @@ -1,7 +1,7 @@ -From 684d123ddc0b21807daca521d3b96f53ca9d2c8f Mon Sep 17 00:00:00 2001 +From a6593a1bc8708f73c424c05c64d49d3868e1bdd5 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 2 Oct 2018 17:13:48 +0100 -Subject: [PATCH 175/773] overlays: add overrides for PoE HAT fan control +Subject: [PATCH 175/806] overlays: add overrides for PoE HAT fan control Signed-off-by: Serge Schneider --- diff --git a/target/linux/brcm2708/patches-4.19/950-0176-overlays-Add-gpio-no-bank0-irq-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0176-overlays-Add-gpio-no-bank0-irq-overlay.patch index 2e32163060..06026de969 100644 --- a/target/linux/brcm2708/patches-4.19/950-0176-overlays-Add-gpio-no-bank0-irq-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0176-overlays-Add-gpio-no-bank0-irq-overlay.patch @@ -1,7 +1,7 @@ -From 00a2e04120a68c286d7fd86ed28ea9214d7c110e Mon Sep 17 00:00:00 2001 +From afe88750090d60d94b365250968e116ec88448c1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 18 Jul 2018 17:25:00 +0100 -Subject: [PATCH 176/773] overlays: Add gpio-no-bank0-irq overlay +Subject: [PATCH 176/806] overlays: Add gpio-no-bank0-irq overlay See: https://github.com/raspberrypi/linux/issues/2590 diff --git a/target/linux/brcm2708/patches-4.19/950-0177-Add-hy28b-2017-model-device-tree-overlay-2721.patch b/target/linux/brcm2708/patches-4.19/950-0177-Add-hy28b-2017-model-device-tree-overlay-2721.patch index 0bcb74a1cd..a5914a5a77 100644 --- a/target/linux/brcm2708/patches-4.19/950-0177-Add-hy28b-2017-model-device-tree-overlay-2721.patch +++ b/target/linux/brcm2708/patches-4.19/950-0177-Add-hy28b-2017-model-device-tree-overlay-2721.patch @@ -1,7 +1,7 @@ -From c26aaad256a30f6643b13c51c474f73ddc687907 Mon Sep 17 00:00:00 2001 +From a64595c1bc19752dca712c6cd90692a2a0e7397b Mon Sep 17 00:00:00 2001 From: Hans-Wilhelm Warlo <5417271+hanswilw@users.noreply.github.com> Date: Tue, 16 Oct 2018 18:20:48 +0200 -Subject: [PATCH 177/773] Add hy28b 2017 model device tree overlay (#2721) +Subject: [PATCH 177/806] Add hy28b 2017 model device tree overlay (#2721) The 2017 version of the hy28b display requires a different initialisation sequence. diff --git a/target/linux/brcm2708/patches-4.19/950-0178-config-Add-CONFIG_USBIP_VUDC.patch b/target/linux/brcm2708/patches-4.19/950-0178-config-Add-CONFIG_USBIP_VUDC.patch index 1d79bcb43e..94bf9b81e1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0178-config-Add-CONFIG_USBIP_VUDC.patch +++ b/target/linux/brcm2708/patches-4.19/950-0178-config-Add-CONFIG_USBIP_VUDC.patch @@ -1,7 +1,7 @@ -From a8a78956e8ec25d8bb02a4c61ef3e3d79d76ea6e Mon Sep 17 00:00:00 2001 +From 375887ef7eb31dad988dd1fd97aa134d9b948b92 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 25 Oct 2018 14:08:43 +0100 -Subject: [PATCH 178/773] config: Add CONFIG_USBIP_VUDC +Subject: [PATCH 178/806] config: Add CONFIG_USBIP_VUDC See: https://github.com/raspberrypi/firmware/issues/353 --- diff --git a/target/linux/brcm2708/patches-4.19/950-0179-mmc-bcm2835-sdhost-Recover-from-MMC_SEND_EXT_CSD.patch b/target/linux/brcm2708/patches-4.19/950-0179-mmc-bcm2835-sdhost-Recover-from-MMC_SEND_EXT_CSD.patch index 2c4182389a..1b1f6da04c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0179-mmc-bcm2835-sdhost-Recover-from-MMC_SEND_EXT_CSD.patch +++ b/target/linux/brcm2708/patches-4.19/950-0179-mmc-bcm2835-sdhost-Recover-from-MMC_SEND_EXT_CSD.patch @@ -1,7 +1,7 @@ -From 867f8cafac844f77a96bd953e7062295c4c11e6e Mon Sep 17 00:00:00 2001 +From 5010dba0e3f6f2c9d623e265276d9b6993fa96b0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 Oct 2018 17:29:51 +0100 -Subject: [PATCH 179/773] mmc/bcm2835-sdhost: Recover from MMC_SEND_EXT_CSD +Subject: [PATCH 179/806] mmc/bcm2835-sdhost: Recover from MMC_SEND_EXT_CSD If the user issues an "mmc extcsd read", the SD controller receives what it thinks is a SEND_IF_COND command with an unexpected data block. diff --git a/target/linux/brcm2708/patches-4.19/950-0180-overlays-pi3-disable-bt-Clear-out-bt_pins-node.patch b/target/linux/brcm2708/patches-4.19/950-0180-overlays-pi3-disable-bt-Clear-out-bt_pins-node.patch index 80466c5899..73e69c69c9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0180-overlays-pi3-disable-bt-Clear-out-bt_pins-node.patch +++ b/target/linux/brcm2708/patches-4.19/950-0180-overlays-pi3-disable-bt-Clear-out-bt_pins-node.patch @@ -1,7 +1,7 @@ -From 61f8d9f6ea34868d97338bef3408402ffe3ada10 Mon Sep 17 00:00:00 2001 +From c0c9a631e7ca58cc31aafb14920c559552d3b810 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 29 Oct 2018 10:38:31 +0000 -Subject: [PATCH 180/773] overlays: pi3-disable-bt: Clear out bt_pins node +Subject: [PATCH 180/806] overlays: pi3-disable-bt: Clear out bt_pins node The pi3-disable-bt overlay does not (and cannot) delete the bt_pins node, but emptying its properties (including brcm,pins) is a way of diff --git a/target/linux/brcm2708/patches-4.19/950-0181-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch b/target/linux/brcm2708/patches-4.19/950-0181-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch index 0f8e67b49d..690345497d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0181-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch +++ b/target/linux/brcm2708/patches-4.19/950-0181-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch @@ -1,7 +1,7 @@ -From c1c90b4f7c49fc0372fa032387e9f34100dcd4bf Mon Sep 17 00:00:00 2001 +From 0557d41d861b8c214b3472749482efdc71363dbb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 29 Oct 2018 14:45:45 +0000 -Subject: [PATCH 181/773] Revert "rtc: pcf8523: properly handle oscillator stop +Subject: [PATCH 181/806] Revert "rtc: pcf8523: properly handle oscillator stop bit" This reverts commit ede44c908d44b166a5b6bd7caacd105c2ff5a70f. diff --git a/target/linux/brcm2708/patches-4.19/950-0182-Update-issue-templates-2736.patch b/target/linux/brcm2708/patches-4.19/950-0182-Update-issue-templates-2736.patch index 7ea2e40b91..0f40bdc244 100644 --- a/target/linux/brcm2708/patches-4.19/950-0182-Update-issue-templates-2736.patch +++ b/target/linux/brcm2708/patches-4.19/950-0182-Update-issue-templates-2736.patch @@ -1,7 +1,7 @@ -From d2dd787367a5ec388288f0de44e2723c01d067a0 Mon Sep 17 00:00:00 2001 +From af0a35f5aef1c4e945be56b06df59c560e1b4502 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Fri, 2 Nov 2018 11:55:49 +0000 -Subject: [PATCH 182/773] Update issue templates (#2736) +Subject: [PATCH 182/806] Update issue templates (#2736) --- .github/ISSUE_TEMPLATE/bug_report.md | 34 ++++++++++++++++++++++++++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0183-overlays-uart0-return-GPIOs-14-and-15-to-inputs.patch b/target/linux/brcm2708/patches-4.19/950-0183-overlays-uart0-return-GPIOs-14-and-15-to-inputs.patch index 43748027d1..5519a06936 100644 --- a/target/linux/brcm2708/patches-4.19/950-0183-overlays-uart0-return-GPIOs-14-and-15-to-inputs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0183-overlays-uart0-return-GPIOs-14-and-15-to-inputs.patch @@ -1,7 +1,7 @@ -From 1b6b32c9ea654fc7920093c007634495710bae95 Mon Sep 17 00:00:00 2001 +From 627f981e148bb9f7dc01df97fa20fe6124f417f7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 7 Nov 2018 17:43:10 +0000 -Subject: [PATCH 183/773] overlays: uart0 - return GPIOs 14 and 15 to inputs +Subject: [PATCH 183/806] overlays: uart0 - return GPIOs 14 and 15 to inputs In the event that alternate pins are used (only useful on Compute Modules), return the standard pins to inputs to avoid double-mapping diff --git a/target/linux/brcm2708/patches-4.19/950-0184-mmc-bcm2835-sdhost-Fix-warnings-on-arm64.patch b/target/linux/brcm2708/patches-4.19/950-0184-mmc-bcm2835-sdhost-Fix-warnings-on-arm64.patch index a21ee68d3c..8964a5905d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0184-mmc-bcm2835-sdhost-Fix-warnings-on-arm64.patch +++ b/target/linux/brcm2708/patches-4.19/950-0184-mmc-bcm2835-sdhost-Fix-warnings-on-arm64.patch @@ -1,7 +1,7 @@ -From 65f18edd464048b79cb099dce34be1598991fe62 Mon Sep 17 00:00:00 2001 +From c961f0534bdf659108eaf3352989683411767611 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 12 Nov 2018 22:54:40 +0000 -Subject: [PATCH 184/773] mmc: bcm2835-sdhost: Fix warnings on arm64 +Subject: [PATCH 184/806] mmc: bcm2835-sdhost: Fix warnings on arm64 Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0185-Fix-warning-in-bcm2835-smi-nand.patch b/target/linux/brcm2708/patches-4.19/950-0185-Fix-warning-in-bcm2835-smi-nand.patch index 210c41aa57..65eef5e448 100644 --- a/target/linux/brcm2708/patches-4.19/950-0185-Fix-warning-in-bcm2835-smi-nand.patch +++ b/target/linux/brcm2708/patches-4.19/950-0185-Fix-warning-in-bcm2835-smi-nand.patch @@ -1,7 +1,7 @@ -From 1129112e098f6e62294315dc648c3d087e9b22c6 Mon Sep 17 00:00:00 2001 +From 2f4524681c940887bc1e7d98b960719c731c85df Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 12 Nov 2018 22:56:35 +0000 -Subject: [PATCH 185/773] Fix warning in bcm2835-smi-nand +Subject: [PATCH 185/806] Fix warning in bcm2835-smi-nand Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0186-media-ov5647-Add-set_fmt-and-get_fmt-calls.patch b/target/linux/brcm2708/patches-4.19/950-0186-media-ov5647-Add-set_fmt-and-get_fmt-calls.patch index 1fb1e4788f..2ae108d079 100644 --- a/target/linux/brcm2708/patches-4.19/950-0186-media-ov5647-Add-set_fmt-and-get_fmt-calls.patch +++ b/target/linux/brcm2708/patches-4.19/950-0186-media-ov5647-Add-set_fmt-and-get_fmt-calls.patch @@ -1,7 +1,7 @@ -From c9193b85075262576cd7cfc841a62ff0e7337415 Mon Sep 17 00:00:00 2001 +From 5796bf25ff928fef204c7f53572f0fc5b8f79d45 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:55:37 +0000 -Subject: [PATCH 186/773] media: ov5647: Add set_fmt and get_fmt calls. +Subject: [PATCH 186/806] media: ov5647: Add set_fmt and get_fmt calls. There's no way to query the subdevice for the supported resolutions. diff --git a/target/linux/brcm2708/patches-4.19/950-0187-media-Documentation-DT-add-device-tree-for-PWDN-cont.patch b/target/linux/brcm2708/patches-4.19/950-0187-media-Documentation-DT-add-device-tree-for-PWDN-cont.patch index f7f4c32bf1..09fc61157d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0187-media-Documentation-DT-add-device-tree-for-PWDN-cont.patch +++ b/target/linux/brcm2708/patches-4.19/950-0187-media-Documentation-DT-add-device-tree-for-PWDN-cont.patch @@ -1,7 +1,7 @@ -From 77769b83fb4c81159a067832405ac5d6603658f7 Mon Sep 17 00:00:00 2001 +From 1c643cbdcfaa7e8b4a52bb8555cce60b48d822a2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:55:59 +0000 -Subject: [PATCH 187/773] [media] Documentation: DT: add device tree for PWDN +Subject: [PATCH 187/806] [media] Documentation: DT: add device tree for PWDN control Add optional GPIO pwdn to connect to the PWDN line on the sensor. diff --git a/target/linux/brcm2708/patches-4.19/950-0188-media-ov5647-Add-support-for-PWDN-GPIO.patch b/target/linux/brcm2708/patches-4.19/950-0188-media-ov5647-Add-support-for-PWDN-GPIO.patch index e5ec2c8b52..e758221d02 100644 --- a/target/linux/brcm2708/patches-4.19/950-0188-media-ov5647-Add-support-for-PWDN-GPIO.patch +++ b/target/linux/brcm2708/patches-4.19/950-0188-media-ov5647-Add-support-for-PWDN-GPIO.patch @@ -1,7 +1,7 @@ -From e145348320361d66bcc6e733be36849d22816dee Mon Sep 17 00:00:00 2001 +From f41fdda9ca98e675d7467cc352c678bbcdca2df1 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:56:33 +0000 -Subject: [PATCH 188/773] media: ov5647: Add support for PWDN GPIO. +Subject: [PATCH 188/806] media: ov5647: Add support for PWDN GPIO. Add support for an optional GPIO connected to PWDN on the sensor. diff --git a/target/linux/brcm2708/patches-4.19/950-0189-media-ov5647-Add-support-for-non-continuous-clock-mo.patch b/target/linux/brcm2708/patches-4.19/950-0189-media-ov5647-Add-support-for-non-continuous-clock-mo.patch index 620e0b2ea8..082a161443 100644 --- a/target/linux/brcm2708/patches-4.19/950-0189-media-ov5647-Add-support-for-non-continuous-clock-mo.patch +++ b/target/linux/brcm2708/patches-4.19/950-0189-media-ov5647-Add-support-for-non-continuous-clock-mo.patch @@ -1,7 +1,7 @@ -From db4060811ce6f11c7765201104292907d2e7a709 Mon Sep 17 00:00:00 2001 +From 79bbd278272416aa61c29bda88e79f8f6dd35903 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:56:47 +0000 -Subject: [PATCH 189/773] media: ov5647: Add support for non-continuous clock +Subject: [PATCH 189/806] media: ov5647: Add support for non-continuous clock mode The driver was only supporting continuous clock mode diff --git a/target/linux/brcm2708/patches-4.19/950-0190-media-tc358743-Increase-FIFO-level-to-374.patch b/target/linux/brcm2708/patches-4.19/950-0190-media-tc358743-Increase-FIFO-level-to-374.patch index 4c1edda378..d7438ef492 100644 --- a/target/linux/brcm2708/patches-4.19/950-0190-media-tc358743-Increase-FIFO-level-to-374.patch +++ b/target/linux/brcm2708/patches-4.19/950-0190-media-tc358743-Increase-FIFO-level-to-374.patch @@ -1,7 +1,7 @@ -From c2d3413f2eea6311207d90e6087ca9d0f26f0b51 Mon Sep 17 00:00:00 2001 +From 4f1be827b5873b2aaa9003a2d38ba6b941ceb66d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:56:59 +0000 -Subject: [PATCH 190/773] media: tc358743: Increase FIFO level to 374. +Subject: [PATCH 190/806] media: tc358743: Increase FIFO level to 374. The existing fixed value of 16 worked for UYVY 720P60 over 2 lanes at 594MHz, or UYVY 1080P60 over 4 lanes. (RGB888 diff --git a/target/linux/brcm2708/patches-4.19/950-0191-media-tc358743-fix-connected-active-CSI-2-lane-repor.patch b/target/linux/brcm2708/patches-4.19/950-0191-media-tc358743-fix-connected-active-CSI-2-lane-repor.patch index d7779b886c..999ad5f41a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0191-media-tc358743-fix-connected-active-CSI-2-lane-repor.patch +++ b/target/linux/brcm2708/patches-4.19/950-0191-media-tc358743-fix-connected-active-CSI-2-lane-repor.patch @@ -1,7 +1,7 @@ -From f0b7ea20f73980abefc5cf63bbb2550429a30213 Mon Sep 17 00:00:00 2001 +From f0a4354bf8d99532577a21bb99da792fe2691626 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Thu, 21 Sep 2017 17:30:24 +0200 -Subject: [PATCH 191/773] media: tc358743: fix connected/active CSI-2 lane +Subject: [PATCH 191/806] media: tc358743: fix connected/active CSI-2 lane reporting g_mbus_config was supposed to indicate all supported lane numbers, not diff --git a/target/linux/brcm2708/patches-4.19/950-0192-media-tc358743-Add-support-for-972Mbit-s-link-freq.patch b/target/linux/brcm2708/patches-4.19/950-0192-media-tc358743-Add-support-for-972Mbit-s-link-freq.patch index 4885470584..451be8ec5d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0192-media-tc358743-Add-support-for-972Mbit-s-link-freq.patch +++ b/target/linux/brcm2708/patches-4.19/950-0192-media-tc358743-Add-support-for-972Mbit-s-link-freq.patch @@ -1,7 +1,7 @@ -From 79aaa6bcdc029ca754ee00c79865d2a92eba63ec Mon Sep 17 00:00:00 2001 +From 745b0fc9c914437695c6098daecd311b2cd88204 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:21 +0000 -Subject: [PATCH 192/773] media: tc358743: Add support for 972Mbit/s link freq. +Subject: [PATCH 192/806] media: tc358743: Add support for 972Mbit/s link freq. Adds register setups for running the CSI lanes at 972Mbit/s, which allows 1080P50 UYVY down 2 lanes. diff --git a/target/linux/brcm2708/patches-4.19/950-0193-media-tc358743-Check-I2C-succeeded-during-probe.patch b/target/linux/brcm2708/patches-4.19/950-0193-media-tc358743-Check-I2C-succeeded-during-probe.patch index 776b3d098c..4df51feb64 100644 --- a/target/linux/brcm2708/patches-4.19/950-0193-media-tc358743-Check-I2C-succeeded-during-probe.patch +++ b/target/linux/brcm2708/patches-4.19/950-0193-media-tc358743-Check-I2C-succeeded-during-probe.patch @@ -1,7 +1,7 @@ -From 552313759a2e78b5cf9f912700632c2eedad86dc Mon Sep 17 00:00:00 2001 +From 6e089b7c2526037b0eaf9ecaed4d38957f33c19c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:34 +0000 -Subject: [PATCH 193/773] media: tc358743: Check I2C succeeded during probe. +Subject: [PATCH 193/806] media: tc358743: Check I2C succeeded during probe. The probe for the TC358743 reads the CHIPID register from the device and compares it to the expected value of 0. diff --git a/target/linux/brcm2708/patches-4.19/950-0194-media-adv7180-Default-to-the-first-valid-input.patch b/target/linux/brcm2708/patches-4.19/950-0194-media-adv7180-Default-to-the-first-valid-input.patch index 4939ea2b9f..332fc77e82 100644 --- a/target/linux/brcm2708/patches-4.19/950-0194-media-adv7180-Default-to-the-first-valid-input.patch +++ b/target/linux/brcm2708/patches-4.19/950-0194-media-adv7180-Default-to-the-first-valid-input.patch @@ -1,7 +1,7 @@ -From 22d9c8913dec1a208080a19f887c9139fe763c78 Mon Sep 17 00:00:00 2001 +From 1d6cba1999607bc911ee8d16323914058b06e8d8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:46 +0000 -Subject: [PATCH 194/773] media: adv7180: Default to the first valid input +Subject: [PATCH 194/806] media: adv7180: Default to the first valid input The hardware default is differential CVBS on AIN1 & 2, which isn't very useful. diff --git a/target/linux/brcm2708/patches-4.19/950-0195-media-adv7180-Add-YPrPb-support-for-ADV7282M.patch b/target/linux/brcm2708/patches-4.19/950-0195-media-adv7180-Add-YPrPb-support-for-ADV7282M.patch index 5d8b1b985a..563eb7ab11 100644 --- a/target/linux/brcm2708/patches-4.19/950-0195-media-adv7180-Add-YPrPb-support-for-ADV7282M.patch +++ b/target/linux/brcm2708/patches-4.19/950-0195-media-adv7180-Add-YPrPb-support-for-ADV7282M.patch @@ -1,7 +1,7 @@ -From 17bcb47714e64b5895cacd53c13256b71096ea4c Mon Sep 17 00:00:00 2001 +From b8a3ce970a70543aadd4b49a102b5cdaf2a62ed7 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:56 +0000 -Subject: [PATCH 195/773] media: adv7180: Add YPrPb support for ADV7282M +Subject: [PATCH 195/806] media: adv7180: Add YPrPb support for ADV7282M The ADV7282M can support YPbPr on AIN1-3, but this was not selectable from the driver. Add it to the list of diff --git a/target/linux/brcm2708/patches-4.19/950-0196-media-videodev2-Add-helper-defines-for-printing-FOUR.patch b/target/linux/brcm2708/patches-4.19/950-0196-media-videodev2-Add-helper-defines-for-printing-FOUR.patch index 3f22febc38..2ff08e7556 100644 --- a/target/linux/brcm2708/patches-4.19/950-0196-media-videodev2-Add-helper-defines-for-printing-FOUR.patch +++ b/target/linux/brcm2708/patches-4.19/950-0196-media-videodev2-Add-helper-defines-for-printing-FOUR.patch @@ -1,7 +1,7 @@ -From c657a29da3a1e182d04f109f6429f543ce628092 Mon Sep 17 00:00:00 2001 +From a7b5d64ec5cb63b6cf5f3eb8fd3bfa22f86d36c4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:58:08 +0000 -Subject: [PATCH 196/773] media: videodev2: Add helper defines for printing +Subject: [PATCH 196/806] media: videodev2: Add helper defines for printing FOURCCs New helper defines that allow printing of a FOURCC using diff --git a/target/linux/brcm2708/patches-4.19/950-0197-dt-bindings-Document-BCM283x-CSI2-CCP2-receiver.patch b/target/linux/brcm2708/patches-4.19/950-0197-dt-bindings-Document-BCM283x-CSI2-CCP2-receiver.patch index efb2e2e82c..63d3b3dce9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0197-dt-bindings-Document-BCM283x-CSI2-CCP2-receiver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0197-dt-bindings-Document-BCM283x-CSI2-CCP2-receiver.patch @@ -1,7 +1,7 @@ -From 87a265d7cc0ba5eab2089093900e16f0ba0d12d9 Mon Sep 17 00:00:00 2001 +From 8299df54f2016290eed7a2bece3885aad36d13e2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:59:06 +0000 -Subject: [PATCH 197/773] dt-bindings: Document BCM283x CSI2/CCP2 receiver +Subject: [PATCH 197/806] dt-bindings: Document BCM283x CSI2/CCP2 receiver Document the DT bindings for the CSI2/CCP2 receiver peripheral (known as Unicam) on BCM283x SoCs. diff --git a/target/linux/brcm2708/patches-4.19/950-0198-media-bcm2835-unicam-Driver-for-CCP2-CSI2-camera-int.patch b/target/linux/brcm2708/patches-4.19/950-0198-media-bcm2835-unicam-Driver-for-CCP2-CSI2-camera-int.patch index 71ee1f83f7..31ede702b7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0198-media-bcm2835-unicam-Driver-for-CCP2-CSI2-camera-int.patch +++ b/target/linux/brcm2708/patches-4.19/950-0198-media-bcm2835-unicam-Driver-for-CCP2-CSI2-camera-int.patch @@ -1,7 +1,7 @@ -From 9ab24ead3a088215161810d46eeac4c3e6f820df Mon Sep 17 00:00:00 2001 +From 7b7027a39b981e3d72a5876274e857615d5149e1 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:59:22 +0000 -Subject: [PATCH 198/773] media: bcm2835-unicam: Driver for CCP2/CSI2 camera +Subject: [PATCH 198/806] media: bcm2835-unicam: Driver for CCP2/CSI2 camera interface Add driver for the Unicam camera receiver block on diff --git a/target/linux/brcm2708/patches-4.19/950-0199-MAINTAINERS-Add-entry-for-BCM2835-Unicam-driver.patch b/target/linux/brcm2708/patches-4.19/950-0199-MAINTAINERS-Add-entry-for-BCM2835-Unicam-driver.patch index 86bd2e2c83..e7ea9e78c5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0199-MAINTAINERS-Add-entry-for-BCM2835-Unicam-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0199-MAINTAINERS-Add-entry-for-BCM2835-Unicam-driver.patch @@ -1,7 +1,7 @@ -From f307136bb1fa010970be201765c99a844631a382 Mon Sep 17 00:00:00 2001 +From 9e8b9e994d529140d8491543dfd82d83f536ef42 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:59:40 +0000 -Subject: [PATCH 199/773] MAINTAINERS: Add entry for BCM2835 Unicam driver +Subject: [PATCH 199/806] MAINTAINERS: Add entry for BCM2835 Unicam driver Adds entry for the new BCM2835 Unicam (CSI-2 receiver) driver diff --git a/target/linux/brcm2708/patches-4.19/950-0200-defconfig-Enable-Unicam-driver-and-various-sources-o.patch b/target/linux/brcm2708/patches-4.19/950-0200-defconfig-Enable-Unicam-driver-and-various-sources-o.patch index 0558f2ee19..ce78a42c88 100644 --- a/target/linux/brcm2708/patches-4.19/950-0200-defconfig-Enable-Unicam-driver-and-various-sources-o.patch +++ b/target/linux/brcm2708/patches-4.19/950-0200-defconfig-Enable-Unicam-driver-and-various-sources-o.patch @@ -1,7 +1,7 @@ -From 4b02f3a9eb7af5dd98e7481be7441a88d65d012e Mon Sep 17 00:00:00 2001 +From fe104e5cee14d09641c68343e5f56430f7ebec05 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:59:51 +0000 -Subject: [PATCH 200/773] defconfig: Enable Unicam driver and various sources +Subject: [PATCH 200/806] defconfig: Enable Unicam driver and various sources on Pi platforms. Enable: diff --git a/target/linux/brcm2708/patches-4.19/950-0201-media-adv7180-Nasty-hack-to-allow-input-selection.patch b/target/linux/brcm2708/patches-4.19/950-0201-media-adv7180-Nasty-hack-to-allow-input-selection.patch index 8b8f878765..1f039f1f83 100644 --- a/target/linux/brcm2708/patches-4.19/950-0201-media-adv7180-Nasty-hack-to-allow-input-selection.patch +++ b/target/linux/brcm2708/patches-4.19/950-0201-media-adv7180-Nasty-hack-to-allow-input-selection.patch @@ -1,7 +1,7 @@ -From 2338afc3ac82a113207a48d8b6cf70657570fc02 Mon Sep 17 00:00:00 2001 +From 34c4ee6f5d7143f6c8be604715f9b52b7540e38d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 15:00:04 +0000 -Subject: [PATCH 201/773] media: adv7180: Nasty hack to allow input selection. +Subject: [PATCH 201/806] media: adv7180: Nasty hack to allow input selection. Whilst the adv7180 driver support s_routing, nothing else does, and there is a missing lump of framework code to diff --git a/target/linux/brcm2708/patches-4.19/950-0202-BCM283x-DT-Add-CSI-nodes-to-the-device-tree.patch b/target/linux/brcm2708/patches-4.19/950-0202-BCM283x-DT-Add-CSI-nodes-to-the-device-tree.patch index ad4496d7c3..d0e8915a3b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0202-BCM283x-DT-Add-CSI-nodes-to-the-device-tree.patch +++ b/target/linux/brcm2708/patches-4.19/950-0202-BCM283x-DT-Add-CSI-nodes-to-the-device-tree.patch @@ -1,7 +1,7 @@ -From 4cd7ac090db0bb3deb0a6cb594eb27f4b296f388 Mon Sep 17 00:00:00 2001 +From 32282fb05466e5d5767b598e60136ef584847dc4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 15:00:20 +0000 -Subject: [PATCH 202/773] BCM283x DT: Add CSI nodes to the device tree. +Subject: [PATCH 202/806] BCM283x DT: Add CSI nodes to the device tree. Adds CSI nodes to all the upstream device tree configs diff --git a/target/linux/brcm2708/patches-4.19/950-0203-BCM270X_DT-Add-CSI-defines-for-all-the-downstream-Pi.patch b/target/linux/brcm2708/patches-4.19/950-0203-BCM270X_DT-Add-CSI-defines-for-all-the-downstream-Pi.patch index 491659e285..585fdc61aa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0203-BCM270X_DT-Add-CSI-defines-for-all-the-downstream-Pi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0203-BCM270X_DT-Add-CSI-defines-for-all-the-downstream-Pi.patch @@ -1,7 +1,7 @@ -From 92a1631e84ebe27e9ef9676a20bd7ce52bcb4e7d Mon Sep 17 00:00:00 2001 +From 831423a9f14d46f69c78136d37c2ab0cdaa5bdb1 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 15:00:45 +0000 -Subject: [PATCH 203/773] BCM270X_DT: Add CSI defines for all the downstream Pi +Subject: [PATCH 203/806] BCM270X_DT: Add CSI defines for all the downstream Pi platforms Adds the CSI device includes for the bcm27xx platform DTS files diff --git a/target/linux/brcm2708/patches-4.19/950-0204-arm-dt-Add-DT-overlays-for-ADV7282M-OV5647-and-TC358.patch b/target/linux/brcm2708/patches-4.19/950-0204-arm-dt-Add-DT-overlays-for-ADV7282M-OV5647-and-TC358.patch index 90f34e3d97..a39a7cee08 100644 --- a/target/linux/brcm2708/patches-4.19/950-0204-arm-dt-Add-DT-overlays-for-ADV7282M-OV5647-and-TC358.patch +++ b/target/linux/brcm2708/patches-4.19/950-0204-arm-dt-Add-DT-overlays-for-ADV7282M-OV5647-and-TC358.patch @@ -1,7 +1,7 @@ -From eb81063adcd2697b43ae48644d84ee333e7efa8b Mon Sep 17 00:00:00 2001 +From c3ea5332de058ee7b9139133f2f8103b6dff2478 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 15:01:59 +0000 -Subject: [PATCH 204/773] arm: dt: Add DT overlays for ADV7282M, OV5647, and +Subject: [PATCH 204/806] arm: dt: Add DT overlays for ADV7282M, OV5647, and TC358743 DT overlays to setup the above devices via i2c_arm and csi1. diff --git a/target/linux/brcm2708/patches-4.19/950-0205-dtoverlays-Add-support-for-ADV7280-M-ADV7281-M-and-A.patch b/target/linux/brcm2708/patches-4.19/950-0205-dtoverlays-Add-support-for-ADV7280-M-ADV7281-M-and-A.patch index 706be9c553..c52a54758c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0205-dtoverlays-Add-support-for-ADV7280-M-ADV7281-M-and-A.patch +++ b/target/linux/brcm2708/patches-4.19/950-0205-dtoverlays-Add-support-for-ADV7280-M-ADV7281-M-and-A.patch @@ -1,7 +1,7 @@ -From 0ed1f7b915bfd2167bed13b40e88cda57517faf8 Mon Sep 17 00:00:00 2001 +From 8ea13a43a77dfb45c836de2d6c747f630dd75275 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 15:02:18 +0000 -Subject: [PATCH 205/773] dtoverlays: Add support for ADV7280-M, ADV7281-M and +Subject: [PATCH 205/806] dtoverlays: Add support for ADV7280-M, ADV7281-M and ADV7281-MA chips. The driver that supports the ADV7282-M also supports the ADV7280-M, diff --git a/target/linux/brcm2708/patches-4.19/950-0206-Mailbox-firmware-calls-now-use-kmalloc-2749.patch b/target/linux/brcm2708/patches-4.19/950-0206-Mailbox-firmware-calls-now-use-kmalloc-2749.patch index eda8e121b1..aeb74b0741 100644 --- a/target/linux/brcm2708/patches-4.19/950-0206-Mailbox-firmware-calls-now-use-kmalloc-2749.patch +++ b/target/linux/brcm2708/patches-4.19/950-0206-Mailbox-firmware-calls-now-use-kmalloc-2749.patch @@ -1,7 +1,7 @@ -From 7f0ab028db7c5a56d77dcbc640c71c7ab6e03eca Mon Sep 17 00:00:00 2001 +From 01995961823e4185f687c02cf326d78ba1b6b7bf Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 13 Nov 2018 17:27:00 +0000 -Subject: [PATCH 206/773] Mailbox firmware calls now use kmalloc (#2749) +Subject: [PATCH 206/806] Mailbox firmware calls now use kmalloc (#2749) A previous change moved away from variable stack allocation of a data buffer to a fixed maximum size. diff --git a/target/linux/brcm2708/patches-4.19/950-0207-vcsm-Fix-an-NULL-dereference-in-the-import_dmabuf-er.patch b/target/linux/brcm2708/patches-4.19/950-0207-vcsm-Fix-an-NULL-dereference-in-the-import_dmabuf-er.patch index 7e5614df49..900b53ffca 100644 --- a/target/linux/brcm2708/patches-4.19/950-0207-vcsm-Fix-an-NULL-dereference-in-the-import_dmabuf-er.patch +++ b/target/linux/brcm2708/patches-4.19/950-0207-vcsm-Fix-an-NULL-dereference-in-the-import_dmabuf-er.patch @@ -1,7 +1,7 @@ -From b8b33d5d5ed79adf13940f0a220a19a6ca654464 Mon Sep 17 00:00:00 2001 +From 654ca15f2234ce3677ed7c9eef5de588285b529a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 14 Nov 2018 11:54:46 +0000 -Subject: [PATCH 207/773] vcsm: Fix an NULL dereference in the import_dmabuf +Subject: [PATCH 207/806] vcsm: Fix an NULL dereference in the import_dmabuf error path resource was dereferenced even though it was NULL. diff --git a/target/linux/brcm2708/patches-4.19/950-0208-Update-README-2750.patch b/target/linux/brcm2708/patches-4.19/950-0208-Update-README-2750.patch index 6612bf7d96..e9d7677401 100644 --- a/target/linux/brcm2708/patches-4.19/950-0208-Update-README-2750.patch +++ b/target/linux/brcm2708/patches-4.19/950-0208-Update-README-2750.patch @@ -1,7 +1,7 @@ -From b2a6f4c178700de320e2ef26998f1018186b4685 Mon Sep 17 00:00:00 2001 +From 5b4c913a00ac41766ba70104749aa1533a370996 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 13 Nov 2018 16:51:21 +0000 -Subject: [PATCH 208/773] Update README (#2750) +Subject: [PATCH 208/806] Update README (#2750) Small update to the DT blob docs to include the axiperf option. diff --git a/target/linux/brcm2708/patches-4.19/950-0209-overlays-Remove-superfluous-address-size-cells.patch b/target/linux/brcm2708/patches-4.19/950-0209-overlays-Remove-superfluous-address-size-cells.patch index 053aa9765a..594cef583a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0209-overlays-Remove-superfluous-address-size-cells.patch +++ b/target/linux/brcm2708/patches-4.19/950-0209-overlays-Remove-superfluous-address-size-cells.patch @@ -1,7 +1,7 @@ -From 8e81ea63bd78c944e2534844934e57b381db76ba Mon Sep 17 00:00:00 2001 +From 1648c72369a617b27193534f28fd86a1bdabd7b3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 14 Nov 2018 09:53:25 +0000 -Subject: [PATCH 209/773] overlays: Remove superfluous #address/size-cells +Subject: [PATCH 209/806] overlays: Remove superfluous #address/size-cells Newer versions of dtc warn about unnecessary usage of #address-cells and #size-cells, so remove them. diff --git a/target/linux/brcm2708/patches-4.19/950-0210-Revert-ASoC-wm8804-MCLK-configuration-options-32-bit.patch b/target/linux/brcm2708/patches-4.19/950-0210-Revert-ASoC-wm8804-MCLK-configuration-options-32-bit.patch index ea249914a7..545d4d1c14 100644 --- a/target/linux/brcm2708/patches-4.19/950-0210-Revert-ASoC-wm8804-MCLK-configuration-options-32-bit.patch +++ b/target/linux/brcm2708/patches-4.19/950-0210-Revert-ASoC-wm8804-MCLK-configuration-options-32-bit.patch @@ -1,7 +1,7 @@ -From 3c6e1660cc3ec16cff1c9d04559c6074378f7c06 Mon Sep 17 00:00:00 2001 +From 7c62d38653565e900504f821586e1b1d47f25594 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 18 Nov 2018 13:21:26 +0100 -Subject: [PATCH 210/773] Revert "ASoC: wm8804: MCLK configuration options, +Subject: [PATCH 210/806] Revert "ASoC: wm8804: MCLK configuration options, 32-bit" This reverts commit 3b12dcf797f5a4635aecd7f5c090dc507b124ffd. diff --git a/target/linux/brcm2708/patches-4.19/950-0211-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch b/target/linux/brcm2708/patches-4.19/950-0211-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch index 68b6ecb41a..c662d3fbdd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0211-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch +++ b/target/linux/brcm2708/patches-4.19/950-0211-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch @@ -1,7 +1,7 @@ -From 4477e66f7375862148dc1858328131cc1cfcaf6c Mon Sep 17 00:00:00 2001 +From 31b533207610f0f703cfdcba3baf404d000f1363 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 18 Nov 2018 15:24:16 +0100 -Subject: [PATCH 211/773] rpi-wm8804-soundcard: drop PWRDN register writes +Subject: [PATCH 211/806] rpi-wm8804-soundcard: drop PWRDN register writes Since kernel 4.0 the PWRDN register bits are under DAPM control from the wm8804 driver. diff --git a/target/linux/brcm2708/patches-4.19/950-0212-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch b/target/linux/brcm2708/patches-4.19/950-0212-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch index 88e6fce3c1..6f4d3a9195 100644 --- a/target/linux/brcm2708/patches-4.19/950-0212-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch +++ b/target/linux/brcm2708/patches-4.19/950-0212-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch @@ -1,7 +1,7 @@ -From 8ecd0e38be0422967e5323f5f276466e9d206d32 Mon Sep 17 00:00:00 2001 +From f6b133a056e8fde7f4707e2874e204c7d5d671a2 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 18 Nov 2018 15:32:28 +0100 -Subject: [PATCH 212/773] rpi-wm8804-soundcard: configure wm8804 clocks only on +Subject: [PATCH 212/806] rpi-wm8804-soundcard: configure wm8804 clocks only on rate change This should avoid clicks when stopping and immediately afterwards diff --git a/target/linux/brcm2708/patches-4.19/950-0213-dtoverlays-Add-i2c-on-0-1-option-to-TC358743-ADV7282.patch b/target/linux/brcm2708/patches-4.19/950-0213-dtoverlays-Add-i2c-on-0-1-option-to-TC358743-ADV7282.patch index 8a48fc6265..c7c3dc1c30 100644 --- a/target/linux/brcm2708/patches-4.19/950-0213-dtoverlays-Add-i2c-on-0-1-option-to-TC358743-ADV7282.patch +++ b/target/linux/brcm2708/patches-4.19/950-0213-dtoverlays-Add-i2c-on-0-1-option-to-TC358743-ADV7282.patch @@ -1,7 +1,7 @@ -From 894af91ef3da6a3d4290726d0be4a442f3757970 Mon Sep 17 00:00:00 2001 +From 83b839b8b3a599336c2d48ab22ed919a77666476 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 26 Nov 2018 17:02:15 +0000 -Subject: [PATCH 213/773] dtoverlays: Add i2c on 0&1 option to TC358743, +Subject: [PATCH 213/806] dtoverlays: Add i2c on 0&1 option to TC358743, ADV7282 and OV5647 Adds the option of configuring i2c0 to be on GPIOs 0&1 as diff --git a/target/linux/brcm2708/patches-4.19/950-0214-overlays-Update-upstream-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0214-overlays-Update-upstream-overlay.patch index 35157e9d4b..1b0a805dd5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0214-overlays-Update-upstream-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0214-overlays-Update-upstream-overlay.patch @@ -1,7 +1,7 @@ -From 17373c6f98cd1f09159af417aa10e243480f243c Mon Sep 17 00:00:00 2001 +From e62fed2c6b825e4b9d688dab7b7603fc95bb49cb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 26 Nov 2018 20:15:16 +0000 -Subject: [PATCH 214/773] overlays: Update upstream overlay +Subject: [PATCH 214/806] overlays: Update upstream overlay The vc4-kms-v3d overlay gained an extra fragment enabling the txp node, so rebuild the upstream overlay to match. diff --git a/target/linux/brcm2708/patches-4.19/950-0215-BCM2708_DT-update-firmware-node-binding.patch b/target/linux/brcm2708/patches-4.19/950-0215-BCM2708_DT-update-firmware-node-binding.patch index 179757a327..781032c48b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0215-BCM2708_DT-update-firmware-node-binding.patch +++ b/target/linux/brcm2708/patches-4.19/950-0215-BCM2708_DT-update-firmware-node-binding.patch @@ -1,7 +1,7 @@ -From 051d9855062ae38032a4438cefeb827286da8562 Mon Sep 17 00:00:00 2001 +From e07c078b68e1776fa10818a1586c23a98a21ebdd Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 28 Nov 2018 10:36:01 +0100 -Subject: [PATCH 215/773] BCM2708_DT: update firmware node binding +Subject: [PATCH 215/806] BCM2708_DT: update firmware node binding The upstreamed version of the firmware node has been updated to present it as a "simple-bus". We need to get this in order to accomodate other diff --git a/target/linux/brcm2708/patches-4.19/950-0216-BCM2710_DT-fix-gpio-expander-bindings.patch b/target/linux/brcm2708/patches-4.19/950-0216-BCM2710_DT-fix-gpio-expander-bindings.patch index d170caefdd..3ca3340097 100644 --- a/target/linux/brcm2708/patches-4.19/950-0216-BCM2710_DT-fix-gpio-expander-bindings.patch +++ b/target/linux/brcm2708/patches-4.19/950-0216-BCM2710_DT-fix-gpio-expander-bindings.patch @@ -1,7 +1,7 @@ -From 040353be1c2245f875b6be2c583dd769d945e34e Mon Sep 17 00:00:00 2001 +From d5a4fa7ba39e4f9e41271023e1be417204b8a2b7 Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Tue, 27 Nov 2018 16:59:10 +0100 -Subject: [PATCH 216/773] BCM2710_DT: fix gpio expander bindings +Subject: [PATCH 216/806] BCM2710_DT: fix gpio expander bindings The upstreamed driver for the GPIO expander expects to be a children of the "firmware" node. diff --git a/target/linux/brcm2708/patches-4.19/950-0217-ARM-dts-bcm283x-The-lan7515-PHY-node-has-moved.patch b/target/linux/brcm2708/patches-4.19/950-0217-ARM-dts-bcm283x-The-lan7515-PHY-node-has-moved.patch index e9fe23b2fa..4f7f451c45 100644 --- a/target/linux/brcm2708/patches-4.19/950-0217-ARM-dts-bcm283x-The-lan7515-PHY-node-has-moved.patch +++ b/target/linux/brcm2708/patches-4.19/950-0217-ARM-dts-bcm283x-The-lan7515-PHY-node-has-moved.patch @@ -1,7 +1,7 @@ -From 255c72ee64db2e0a7dd3626d7a8d72c6f9d9a1a0 Mon Sep 17 00:00:00 2001 +From eb6864f9dc059e86d057822b493feb8b4a9684ba Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 27 Nov 2018 16:33:31 +0000 -Subject: [PATCH 217/773] ARM: dts: bcm283x: The lan7515 PHY node has moved +Subject: [PATCH 217/806] ARM: dts: bcm283x: The lan7515 PHY node has moved The DT node describing the LAN7800s PHY has now moved inside an "mdio" node. Update the DT declarations accordingly. diff --git a/target/linux/brcm2708/patches-4.19/950-0218-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch b/target/linux/brcm2708/patches-4.19/950-0218-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch index b590f837d7..ab6c83db8c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0218-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch +++ b/target/linux/brcm2708/patches-4.19/950-0218-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch @@ -1,7 +1,7 @@ -From dd7a5e5494bf5a43f33aa20eb7a9ebf233bd5f06 Mon Sep 17 00:00:00 2001 +From a3c59bad71de2b3c09a25fd6ce5e3632c33c4bba Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 26 Nov 2018 19:46:58 +0000 -Subject: [PATCH 218/773] net: lan78xx: Support auto-downshift to 100Mb/s +Subject: [PATCH 218/806] net: lan78xx: Support auto-downshift to 100Mb/s Ethernet cables with faulty or missing pairs (specifically pairs C and D) allow auto-negotiation to 1000Mbs, but do not support the successful diff --git a/target/linux/brcm2708/patches-4.19/950-0219-dt-bindings-Document-microchip-downshift-after.patch b/target/linux/brcm2708/patches-4.19/950-0219-dt-bindings-Document-microchip-downshift-after.patch index 75d31022bd..2096f389db 100644 --- a/target/linux/brcm2708/patches-4.19/950-0219-dt-bindings-Document-microchip-downshift-after.patch +++ b/target/linux/brcm2708/patches-4.19/950-0219-dt-bindings-Document-microchip-downshift-after.patch @@ -1,7 +1,7 @@ -From 27d13833587a1c8655744d56b45ac2fdc2c5b483 Mon Sep 17 00:00:00 2001 +From 1654bdce95bd9a99e237b75fdcc0081b232c46b5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 28 Nov 2018 15:51:41 +0000 -Subject: [PATCH 219/773] dt-bindings: Document microchip,downshift-after +Subject: [PATCH 219/806] dt-bindings: Document microchip,downshift-after Document the optional downshift-after property of the lan78xx's PHY. diff --git a/target/linux/brcm2708/patches-4.19/950-0220-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch b/target/linux/brcm2708/patches-4.19/950-0220-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch index 27510c70b9..c5d7d6cd93 100644 --- a/target/linux/brcm2708/patches-4.19/950-0220-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch +++ b/target/linux/brcm2708/patches-4.19/950-0220-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch @@ -1,7 +1,7 @@ -From 649fc3935ba058e6ae4c97a02c2a0af24ef6de2a Mon Sep 17 00:00:00 2001 +From 036c72ed4475afb757af568d40db0973a5dafcc8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 27 Nov 2018 16:55:14 +0000 -Subject: [PATCH 220/773] ARM: dts: bcm283x: Set downshift-after for Pi 3B+ +Subject: [PATCH 220/806] ARM: dts: bcm283x: Set downshift-after for Pi 3B+ Enable the auto-downshift feature on Raspberry Pi 3B+ so that a link can eventually be established using a cable with pairs C and/or D diff --git a/target/linux/brcm2708/patches-4.19/950-0221-BCM270X_DT-Add-new-Ethernet-DT-parameters.patch b/target/linux/brcm2708/patches-4.19/950-0221-BCM270X_DT-Add-new-Ethernet-DT-parameters.patch index fe6d7ac58f..b4b2d28ce9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0221-BCM270X_DT-Add-new-Ethernet-DT-parameters.patch +++ b/target/linux/brcm2708/patches-4.19/950-0221-BCM270X_DT-Add-new-Ethernet-DT-parameters.patch @@ -1,7 +1,7 @@ -From f949d268f735033111e74d58046e6430e574543e Mon Sep 17 00:00:00 2001 +From 18867d71460b80385146e8d91a23cfb1729858f8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 27 Nov 2018 16:56:50 +0000 -Subject: [PATCH 221/773] BCM270X_DT: Add new Ethernet DT parameters +Subject: [PATCH 221/806] BCM270X_DT: Add new Ethernet DT parameters Add "eth_downshift_after" DT parameter to allow the delay before the downshift to be specified. The default is 2 auto-negotiation cycles, diff --git a/target/linux/brcm2708/patches-4.19/950-0222-BCM270X_DT-Mark-eth_downshift_after-as-an-integer.patch b/target/linux/brcm2708/patches-4.19/950-0222-BCM270X_DT-Mark-eth_downshift_after-as-an-integer.patch index 679a3af5a4..2489597359 100644 --- a/target/linux/brcm2708/patches-4.19/950-0222-BCM270X_DT-Mark-eth_downshift_after-as-an-integer.patch +++ b/target/linux/brcm2708/patches-4.19/950-0222-BCM270X_DT-Mark-eth_downshift_after-as-an-integer.patch @@ -1,7 +1,7 @@ -From e729d667463c4c012b2178fc793f03103ed7fadd Mon Sep 17 00:00:00 2001 +From 3cc51f4d633b33f732a52d1ec2b041a28b55c7d5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 29 Nov 2018 16:00:22 +0000 -Subject: [PATCH 222/773] BCM270X_DT: Mark eth_downshift_after as an integer +Subject: [PATCH 222/806] BCM270X_DT: Mark eth_downshift_after as an integer Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0223-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch b/target/linux/brcm2708/patches-4.19/950-0223-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch index 0940b0547e..56230e14ed 100644 --- a/target/linux/brcm2708/patches-4.19/950-0223-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch +++ b/target/linux/brcm2708/patches-4.19/950-0223-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch @@ -1,7 +1,7 @@ -From 5fc2a0f0fe8bb75b4c3d87e93049bba96320b1ce Mon Sep 17 00:00:00 2001 +From f36b3119d83e03c9d0c684b8712b66a979c48124 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 16 Jul 2018 14:40:13 +0100 -Subject: [PATCH 223/773] dwc-otg: FIQ: Fix "bad mode in data abort handler" +Subject: [PATCH 223/806] dwc-otg: FIQ: Fix "bad mode in data abort handler" Create a semi-static mapping for the USB registers early in the boot process, before additional kernel threads are started, so all threads diff --git a/target/linux/brcm2708/patches-4.19/950-0224-lirc-rpi-Remove-in-favour-of-gpio-ir.patch b/target/linux/brcm2708/patches-4.19/950-0224-lirc-rpi-Remove-in-favour-of-gpio-ir.patch index f338b0ad38..75a6d004ae 100644 --- a/target/linux/brcm2708/patches-4.19/950-0224-lirc-rpi-Remove-in-favour-of-gpio-ir.patch +++ b/target/linux/brcm2708/patches-4.19/950-0224-lirc-rpi-Remove-in-favour-of-gpio-ir.patch @@ -1,7 +1,7 @@ -From 20a8ea04c17931e9acbf3a6ced1a4eab10903df0 Mon Sep 17 00:00:00 2001 +From 28b591dadb504861cdc535d5705aa4c8c3d3420f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 30 Nov 2018 18:55:23 +0000 -Subject: [PATCH 224/773] lirc-rpi: Remove in favour of gpio-ir +Subject: [PATCH 224/806] lirc-rpi: Remove in favour of gpio-ir --- arch/arm/boot/dts/overlays/Makefile | 1 - diff --git a/target/linux/brcm2708/patches-4.19/950-0225-media-bcm2835-unicam-Pass-through-the-colorspace-on-.patch b/target/linux/brcm2708/patches-4.19/950-0225-media-bcm2835-unicam-Pass-through-the-colorspace-on-.patch index eb4dec9594..f5c9827151 100644 --- a/target/linux/brcm2708/patches-4.19/950-0225-media-bcm2835-unicam-Pass-through-the-colorspace-on-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0225-media-bcm2835-unicam-Pass-through-the-colorspace-on-.patch @@ -1,7 +1,7 @@ -From 847b20775351c9d1f0a5758415dc09e96fa5280b Mon Sep 17 00:00:00 2001 +From f1ab5c7dc1328f0baad2a437a80c792f725c455f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 22 Nov 2018 17:28:02 +0000 -Subject: [PATCH 225/773] media: bcm2835-unicam: Pass through the colorspace on +Subject: [PATCH 225/806] media: bcm2835-unicam: Pass through the colorspace on try_fmt The current colorspace was always returned from try_fmt for no diff --git a/target/linux/brcm2708/patches-4.19/950-0226-media-tc358743-Return-an-appropriate-colorspace-from.patch b/target/linux/brcm2708/patches-4.19/950-0226-media-tc358743-Return-an-appropriate-colorspace-from.patch index 4cf3c00134..f193d79f67 100644 --- a/target/linux/brcm2708/patches-4.19/950-0226-media-tc358743-Return-an-appropriate-colorspace-from.patch +++ b/target/linux/brcm2708/patches-4.19/950-0226-media-tc358743-Return-an-appropriate-colorspace-from.patch @@ -1,7 +1,7 @@ -From 9f831f53fc87c0e55106843dffb24f19047b42a5 Mon Sep 17 00:00:00 2001 +From c7a3697a4d4c2199f05ab3cd321138d464ca62db Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 22 Nov 2018 17:31:06 +0000 -Subject: [PATCH 226/773] media: tc358743: Return an appropriate colorspace +Subject: [PATCH 226/806] media: tc358743: Return an appropriate colorspace from tc358743_set_fmt When calling tc358743_set_fmt, the code was calling tc358743_get_fmt diff --git a/target/linux/brcm2708/patches-4.19/950-0227-staging-bcm2835-camera-fix-module-autoloading.patch b/target/linux/brcm2708/patches-4.19/950-0227-staging-bcm2835-camera-fix-module-autoloading.patch index 4c26e94cb3..85dd3fede3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0227-staging-bcm2835-camera-fix-module-autoloading.patch +++ b/target/linux/brcm2708/patches-4.19/950-0227-staging-bcm2835-camera-fix-module-autoloading.patch @@ -1,7 +1,7 @@ -From aca8d0ffa1ee9d051565f7baf2ac93a973b7407b Mon Sep 17 00:00:00 2001 +From 8b6e9f2a951b38becf5b8a1e99ba1993f7751aac Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 20 Oct 2018 19:26:18 +0200 -Subject: [PATCH 227/773] staging: bcm2835-camera: fix module autoloading +Subject: [PATCH 227/806] staging: bcm2835-camera: fix module autoloading In order to make the module bcm2835-camera load automatically, we need to add a module alias. diff --git a/target/linux/brcm2708/patches-4.19/950-0228-staging-bcm2835-camera-Move-module-info-to-the-end.patch b/target/linux/brcm2708/patches-4.19/950-0228-staging-bcm2835-camera-Move-module-info-to-the-end.patch index 7677e3be00..b4d1969ed9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0228-staging-bcm2835-camera-Move-module-info-to-the-end.patch +++ b/target/linux/brcm2708/patches-4.19/950-0228-staging-bcm2835-camera-Move-module-info-to-the-end.patch @@ -1,7 +1,7 @@ -From 2aaaf77d47a01c8234824cefaa1704801610e55e Mon Sep 17 00:00:00 2001 +From 3e8dfb23cfab3003ff83f4d32568ae4e38536572 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 20 Oct 2018 19:31:00 +0200 -Subject: [PATCH 228/773] staging: bcm2835-camera: Move module info to the end +Subject: [PATCH 228/806] staging: bcm2835-camera: Move module info to the end In order to have this more consistent between the vc04 services move the module information to the end of the file. diff --git a/target/linux/brcm2708/patches-4.19/950-0229-staging-vchiq_arm-Fix-platform-device-unregistration.patch b/target/linux/brcm2708/patches-4.19/950-0229-staging-vchiq_arm-Fix-platform-device-unregistration.patch index 2d4ef4c078..69bd520461 100644 --- a/target/linux/brcm2708/patches-4.19/950-0229-staging-vchiq_arm-Fix-platform-device-unregistration.patch +++ b/target/linux/brcm2708/patches-4.19/950-0229-staging-vchiq_arm-Fix-platform-device-unregistration.patch @@ -1,7 +1,7 @@ -From e6e647594bc4c533fb0f5b8a1158dd3747ab4dea Mon Sep 17 00:00:00 2001 +From 1ada615db1b97faec9c4625ccfd2cc35d54d850a Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 13 Oct 2018 20:51:23 +0200 -Subject: [PATCH 229/773] staging: vchiq_arm: Fix platform device +Subject: [PATCH 229/806] staging: vchiq_arm: Fix platform device unregistration In error case platform_device_register_data would return an ERR_PTR diff --git a/target/linux/brcm2708/patches-4.19/950-0230-staging-vchiq_arm-Fix-camera-device-registration.patch b/target/linux/brcm2708/patches-4.19/950-0230-staging-vchiq_arm-Fix-camera-device-registration.patch index c4bbd7934f..cb7edc4b11 100644 --- a/target/linux/brcm2708/patches-4.19/950-0230-staging-vchiq_arm-Fix-camera-device-registration.patch +++ b/target/linux/brcm2708/patches-4.19/950-0230-staging-vchiq_arm-Fix-camera-device-registration.patch @@ -1,7 +1,7 @@ -From 7a4ec3c9c597a39e3172eedb53565f00cc9f9241 Mon Sep 17 00:00:00 2001 +From 58ed78a70c3c3ef1ae99aefdd2c28ac81f66df85 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Mon, 22 Oct 2018 15:16:51 +0200 -Subject: [PATCH 230/773] staging: vchiq_arm: Fix camera device registration +Subject: [PATCH 230/806] staging: vchiq_arm: Fix camera device registration Since the camera driver isn't probed via DT, we need to properly setup DMA. diff --git a/target/linux/brcm2708/patches-4.19/950-0231-staging-vchiq_arm-Register-a-platform-device-for-the.patch b/target/linux/brcm2708/patches-4.19/950-0231-staging-vchiq_arm-Register-a-platform-device-for-the.patch index 8df99d6ead..511dee0b59 100644 --- a/target/linux/brcm2708/patches-4.19/950-0231-staging-vchiq_arm-Register-a-platform-device-for-the.patch +++ b/target/linux/brcm2708/patches-4.19/950-0231-staging-vchiq_arm-Register-a-platform-device-for-the.patch @@ -1,7 +1,7 @@ -From 8e02498b963eff87bda0a8a6d636b0b5740314fe Mon Sep 17 00:00:00 2001 +From 0ca486925a32b7c95752ff250afdd59bcf6c8574 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 20 Oct 2018 20:25:41 +0200 -Subject: [PATCH 231/773] staging: vchiq_arm: Register a platform device for +Subject: [PATCH 231/806] staging: vchiq_arm: Register a platform device for the audio driver Signed-off-by: Stefan Wahren diff --git a/target/linux/brcm2708/patches-4.19/950-0232-staging-bcm2835-audio-Enable-compile-test.patch b/target/linux/brcm2708/patches-4.19/950-0232-staging-bcm2835-audio-Enable-compile-test.patch index 46cac74fd2..c85e6bbe12 100644 --- a/target/linux/brcm2708/patches-4.19/950-0232-staging-bcm2835-audio-Enable-compile-test.patch +++ b/target/linux/brcm2708/patches-4.19/950-0232-staging-bcm2835-audio-Enable-compile-test.patch @@ -1,7 +1,7 @@ -From 020612c4edfda89d125e35abe8bb39a9d7e7cfd8 Mon Sep 17 00:00:00 2001 +From d08cc93a489df7707afaaa693afd2e7a153c85a3 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 13 Oct 2018 20:19:13 +0200 -Subject: [PATCH 232/773] staging: bcm2835-audio: Enable compile test +Subject: [PATCH 232/806] staging: bcm2835-audio: Enable compile test Enable the compilation test for bcm2835-audio. diff --git a/target/linux/brcm2708/patches-4.19/950-0233-staging-bcm2835-audio-use-module_platform_driver-mac.patch b/target/linux/brcm2708/patches-4.19/950-0233-staging-bcm2835-audio-use-module_platform_driver-mac.patch index 30f9e8f3e6..5920a012dc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0233-staging-bcm2835-audio-use-module_platform_driver-mac.patch +++ b/target/linux/brcm2708/patches-4.19/950-0233-staging-bcm2835-audio-use-module_platform_driver-mac.patch @@ -1,7 +1,7 @@ -From 3dbeaecc47252914318164e668e6cea6d01f774b Mon Sep 17 00:00:00 2001 +From f1aada1b4c974fa756e299c15b62c76e478e652e Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 18 Oct 2018 19:47:29 +0200 -Subject: [PATCH 233/773] staging: bcm2835-audio: use module_platform_driver() +Subject: [PATCH 233/806] staging: bcm2835-audio: use module_platform_driver() macro There is not much value behind this boilerplate, so use diff --git a/target/linux/brcm2708/patches-4.19/950-0234-staging-bcm2835-audio-Drop-DT-dependency.patch b/target/linux/brcm2708/patches-4.19/950-0234-staging-bcm2835-audio-Drop-DT-dependency.patch index 6833e3df99..62b4282efe 100644 --- a/target/linux/brcm2708/patches-4.19/950-0234-staging-bcm2835-audio-Drop-DT-dependency.patch +++ b/target/linux/brcm2708/patches-4.19/950-0234-staging-bcm2835-audio-Drop-DT-dependency.patch @@ -1,7 +1,7 @@ -From ff7a595f3acb9dad4674d740963715bba1cfe3de Mon Sep 17 00:00:00 2001 +From ba833c9b912d2ca6fe23d700c4bd6f61742d5e04 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 18 Oct 2018 19:54:01 +0200 -Subject: [PATCH 234/773] staging: bcm2835-audio: Drop DT dependency +Subject: [PATCH 234/806] staging: bcm2835-audio: Drop DT dependency Just like the bcm2835-video make this a platform driver which is probed by vchiq. In order to change the number of channels use a module diff --git a/target/linux/brcm2708/patches-4.19/950-0235-staging-bcm2835-camera-Provide-more-specific-probe-e.patch b/target/linux/brcm2708/patches-4.19/950-0235-staging-bcm2835-camera-Provide-more-specific-probe-e.patch index 6512eb6a2e..678dcc52fd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0235-staging-bcm2835-camera-Provide-more-specific-probe-e.patch +++ b/target/linux/brcm2708/patches-4.19/950-0235-staging-bcm2835-camera-Provide-more-specific-probe-e.patch @@ -1,7 +1,7 @@ -From ac66f1708e56da5463f0d5a88e03871deefa78f8 Mon Sep 17 00:00:00 2001 +From 94a174095f29c77574548eea17aacaed5c540757 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sun, 21 Oct 2018 18:40:07 +0200 -Subject: [PATCH 235/773] staging: bcm2835-camera: Provide more specific probe +Subject: [PATCH 235/806] staging: bcm2835-camera: Provide more specific probe error messages Currently there is only a catch-all info message which print the diff --git a/target/linux/brcm2708/patches-4.19/950-0236-staging-bcm2835-camera-Add-hint-about-possible-fault.patch b/target/linux/brcm2708/patches-4.19/950-0236-staging-bcm2835-camera-Add-hint-about-possible-fault.patch index c34b2b87e3..939fe99a0d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0236-staging-bcm2835-camera-Add-hint-about-possible-fault.patch +++ b/target/linux/brcm2708/patches-4.19/950-0236-staging-bcm2835-camera-Add-hint-about-possible-fault.patch @@ -1,7 +1,7 @@ -From 670fb10630bb53df3e216254be027910c4c70d00 Mon Sep 17 00:00:00 2001 +From 17eaf7c6e8dfcd76b4ed28587b07892e2a5a4ff5 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sun, 21 Oct 2018 19:08:29 +0200 -Subject: [PATCH 236/773] staging: bcm2835-camera: Add hint about possible +Subject: [PATCH 236/806] staging: bcm2835-camera: Add hint about possible faulty GPU mem config As per default the GPU memory config of the Raspberry Pi isn't sufficient diff --git a/target/linux/brcm2708/patches-4.19/950-0237-staging-bcm2835-Don-t-probe-if-no-camera-is-detected.patch b/target/linux/brcm2708/patches-4.19/950-0237-staging-bcm2835-Don-t-probe-if-no-camera-is-detected.patch index dc3b2da083..bd313cc9ff 100644 --- a/target/linux/brcm2708/patches-4.19/950-0237-staging-bcm2835-Don-t-probe-if-no-camera-is-detected.patch +++ b/target/linux/brcm2708/patches-4.19/950-0237-staging-bcm2835-Don-t-probe-if-no-camera-is-detected.patch @@ -1,7 +1,7 @@ -From 1508167e99ee5e5ee81030c4923aeafae48a6940 Mon Sep 17 00:00:00 2001 +From b0ebcf556b543b0b509ad071584ca6b41076a2da Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Mon, 22 Oct 2018 11:09:18 +0200 -Subject: [PATCH 237/773] staging: bcm2835: Don't probe if no camera is +Subject: [PATCH 237/806] staging: bcm2835: Don't probe if no camera is detected It is a waste of resources to load the camera driver in case there isn't diff --git a/target/linux/brcm2708/patches-4.19/950-0238-staging-vchiq_arm-Improve-error-handling-on-loading-.patch b/target/linux/brcm2708/patches-4.19/950-0238-staging-vchiq_arm-Improve-error-handling-on-loading-.patch index 8173005efa..574e550bf2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0238-staging-vchiq_arm-Improve-error-handling-on-loading-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0238-staging-vchiq_arm-Improve-error-handling-on-loading-.patch @@ -1,7 +1,7 @@ -From 71cbb943b8598f6f35f2d735e64608b60d61574f Mon Sep 17 00:00:00 2001 +From 73979b06255c3b7b536a53d09ea095aec8ed37aa Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 3 Dec 2018 12:50:38 +0000 -Subject: [PATCH 238/773] staging: vchiq_arm: Improve error handling on loading +Subject: [PATCH 238/806] staging: vchiq_arm: Improve error handling on loading drivers The handling of loading platform drivers requires checking IS_ERR diff --git a/target/linux/brcm2708/patches-4.19/950-0239-staging-bcm2835-camera-Do-not-bulk-receive-from-serv.patch b/target/linux/brcm2708/patches-4.19/950-0239-staging-bcm2835-camera-Do-not-bulk-receive-from-serv.patch index 9ee4840b2c..9bc9da01f9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0239-staging-bcm2835-camera-Do-not-bulk-receive-from-serv.patch +++ b/target/linux/brcm2708/patches-4.19/950-0239-staging-bcm2835-camera-Do-not-bulk-receive-from-serv.patch @@ -1,7 +1,7 @@ -From 6e119efbf757d22045039272b5b6f2aaf9b706fa Mon Sep 17 00:00:00 2001 +From 522f1499310d389e663a4e8dd0ccbb916b768766 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 14 Feb 2018 17:04:26 +0000 -Subject: [PATCH 239/773] staging: bcm2835-camera: Do not bulk receive from +Subject: [PATCH 239/806] staging: bcm2835-camera: Do not bulk receive from service thread vchi_bulk_queue_receive will queue up to a default of 4 diff --git a/target/linux/brcm2708/patches-4.19/950-0240-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch b/target/linux/brcm2708/patches-4.19/950-0240-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch index fbd003df19..b70a20e8ff 100644 --- a/target/linux/brcm2708/patches-4.19/950-0240-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0240-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch @@ -1,7 +1,7 @@ -From a89e41616615bc55db4946aad1b0ec0afeb71bb4 Mon Sep 17 00:00:00 2001 +From bf5bbfec3cb99c469eb59f2b19411146c47feb73 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 14:21:04 +0000 -Subject: [PATCH 240/773] staging: bcm2835-camera: Ensure H264 header bytes get +Subject: [PATCH 240/806] staging: bcm2835-camera: Ensure H264 header bytes get a sensible timestamp H264 header come from VC with 0 timestamps, which means they get a diff --git a/target/linux/brcm2708/patches-4.19/950-0241-staging-bcm2835-camera-Correctly-denote-key-frames-i.patch b/target/linux/brcm2708/patches-4.19/950-0241-staging-bcm2835-camera-Correctly-denote-key-frames-i.patch index 5eff37e309..4342338c2c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0241-staging-bcm2835-camera-Correctly-denote-key-frames-i.patch +++ b/target/linux/brcm2708/patches-4.19/950-0241-staging-bcm2835-camera-Correctly-denote-key-frames-i.patch @@ -1,7 +1,7 @@ -From a1a5660a9bd4b3a36759f7c8d2b7d7340c480445 Mon Sep 17 00:00:00 2001 +From 6c70a89ac19b1ead96be68002affcd1821014d52 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 13 Feb 2017 13:11:41 +0000 -Subject: [PATCH 241/773] staging: bcm2835-camera: Correctly denote key frames +Subject: [PATCH 241/806] staging: bcm2835-camera: Correctly denote key frames in encoded data Forward MMAL key frame flags to the V4L2 buffers. diff --git a/target/linux/brcm2708/patches-4.19/950-0242-staging-bcm2835-camera-Return-early-on-errors.patch b/target/linux/brcm2708/patches-4.19/950-0242-staging-bcm2835-camera-Return-early-on-errors.patch index d3a7c8ed58..2fd821b2cc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0242-staging-bcm2835-camera-Return-early-on-errors.patch +++ b/target/linux/brcm2708/patches-4.19/950-0242-staging-bcm2835-camera-Return-early-on-errors.patch @@ -1,7 +1,7 @@ -From 6220cc477c124471c69563230760c59f57806a67 Mon Sep 17 00:00:00 2001 +From 3cb19cb6b4d6dc86582abef6200c0fc663ae3f2a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 10 Mar 2017 17:27:56 +0000 -Subject: [PATCH 242/773] staging: bcm2835-camera: Return early on errors +Subject: [PATCH 242/806] staging: bcm2835-camera: Return early on errors Fix several instances where it is easier to return early on error conditions than handle it as an else diff --git a/target/linux/brcm2708/patches-4.19/950-0243-staging-bcm2835-camera-Remove-dead-email-addresses.patch b/target/linux/brcm2708/patches-4.19/950-0243-staging-bcm2835-camera-Remove-dead-email-addresses.patch index c94203d2a6..da9f4b33db 100644 --- a/target/linux/brcm2708/patches-4.19/950-0243-staging-bcm2835-camera-Remove-dead-email-addresses.patch +++ b/target/linux/brcm2708/patches-4.19/950-0243-staging-bcm2835-camera-Remove-dead-email-addresses.patch @@ -1,7 +1,7 @@ -From 388d6d769c8b2a93fe2e41cf381b3909a599865e Mon Sep 17 00:00:00 2001 +From b1d4e377b4a8c73396d50c45106f3d3a710b11f5 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 10 Mar 2017 17:35:38 +0000 -Subject: [PATCH 243/773] staging: bcm2835-camera: Remove dead email addresses +Subject: [PATCH 243/806] staging: bcm2835-camera: Remove dead email addresses None of the listed author email addresses were valid. Keep list of authors and the companies they represented. diff --git a/target/linux/brcm2708/patches-4.19/950-0244-staging-bcm2835-camera-Fix-comment-style-violations.patch b/target/linux/brcm2708/patches-4.19/950-0244-staging-bcm2835-camera-Fix-comment-style-violations.patch index 4157388b68..023871ca64 100644 --- a/target/linux/brcm2708/patches-4.19/950-0244-staging-bcm2835-camera-Fix-comment-style-violations.patch +++ b/target/linux/brcm2708/patches-4.19/950-0244-staging-bcm2835-camera-Fix-comment-style-violations.patch @@ -1,7 +1,7 @@ -From ca54d4eaacaf618ce0683ab7d980ca0b050bcefc Mon Sep 17 00:00:00 2001 +From 4fb0df1b29feafacc244ca512b152dd3b96c224c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 13:49:32 +0000 -Subject: [PATCH 244/773] staging: bcm2835-camera: Fix comment style +Subject: [PATCH 244/806] staging: bcm2835-camera: Fix comment style violations. Fix comment style violations in the header files. diff --git a/target/linux/brcm2708/patches-4.19/950-0245-staging-bcm2835-camera-Fix-spacing-around-operators.patch b/target/linux/brcm2708/patches-4.19/950-0245-staging-bcm2835-camera-Fix-spacing-around-operators.patch index 1e11d5daf2..0fb8fc34fb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0245-staging-bcm2835-camera-Fix-spacing-around-operators.patch +++ b/target/linux/brcm2708/patches-4.19/950-0245-staging-bcm2835-camera-Fix-spacing-around-operators.patch @@ -1,7 +1,7 @@ -From 76690b81775284e9974b3355922d530af2e3e8d6 Mon Sep 17 00:00:00 2001 +From 54fde7601287891754bef85efbbc9b5648d043f4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 14:13:03 +0000 -Subject: [PATCH 245/773] staging: bcm2835-camera: Fix spacing around operators +Subject: [PATCH 245/806] staging: bcm2835-camera: Fix spacing around operators Fix checkpatch warnings over spaces around operators. Many were around operations that can be replaced with the diff --git a/target/linux/brcm2708/patches-4.19/950-0246-staging-bcm2835-camera-Reduce-length-of-enum-names.patch b/target/linux/brcm2708/patches-4.19/950-0246-staging-bcm2835-camera-Reduce-length-of-enum-names.patch index d1f227605d..f6fa4ae3d6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0246-staging-bcm2835-camera-Reduce-length-of-enum-names.patch +++ b/target/linux/brcm2708/patches-4.19/950-0246-staging-bcm2835-camera-Reduce-length-of-enum-names.patch @@ -1,7 +1,7 @@ -From bc36f52a49bbb49b7770b57e32d2ec439a02aaa3 Mon Sep 17 00:00:00 2001 +From 75aca02c1449e3a97ec32de9974ad410f5d34463 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 15:23:35 +0000 -Subject: [PATCH 246/773] staging: bcm2835-camera: Reduce length of enum names +Subject: [PATCH 246/806] staging: bcm2835-camera: Reduce length of enum names We have numerous lines over 80 chars, or oddly split. Many of these are due to using long enum names such as diff --git a/target/linux/brcm2708/patches-4.19/950-0247-staging-bcm2835-camera-Fix-multiple-line-dereference.patch b/target/linux/brcm2708/patches-4.19/950-0247-staging-bcm2835-camera-Fix-multiple-line-dereference.patch index d0de7bd84a..dd0e05029d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0247-staging-bcm2835-camera-Fix-multiple-line-dereference.patch +++ b/target/linux/brcm2708/patches-4.19/950-0247-staging-bcm2835-camera-Fix-multiple-line-dereference.patch @@ -1,7 +1,7 @@ -From b466cb62aebf3b3821fe0607c7e0fa8ad8f9c00e Mon Sep 17 00:00:00 2001 +From 2730c4538b6edbe1e9d4071a8a64aa62f655eeaa Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 15:28:07 +0000 -Subject: [PATCH 247/773] staging: bcm2835-camera: Fix multiple line +Subject: [PATCH 247/806] staging: bcm2835-camera: Fix multiple line dereference errors Fix checkpatch errors "Avoid multiple line dereference" diff --git a/target/linux/brcm2708/patches-4.19/950-0248-staging-bcm2835-camera-Fix-brace-style-issues.patch b/target/linux/brcm2708/patches-4.19/950-0248-staging-bcm2835-camera-Fix-brace-style-issues.patch index 85b4425d53..93a1041394 100644 --- a/target/linux/brcm2708/patches-4.19/950-0248-staging-bcm2835-camera-Fix-brace-style-issues.patch +++ b/target/linux/brcm2708/patches-4.19/950-0248-staging-bcm2835-camera-Fix-brace-style-issues.patch @@ -1,7 +1,7 @@ -From 287c52b9d059cce51ae88a55a1ea56d3971db405 Mon Sep 17 00:00:00 2001 +From a023ee926b7e923058203e82edc5405c1e82842c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 15:37:11 +0000 -Subject: [PATCH 248/773] staging: bcm2835-camera: Fix brace style issues. +Subject: [PATCH 248/806] staging: bcm2835-camera: Fix brace style issues. Fix mismatched or missing brace issues flagged by checkpatch. diff --git a/target/linux/brcm2708/patches-4.19/950-0249-staging-bcm2835-camera-Fix-missing-lines-between-ite.patch b/target/linux/brcm2708/patches-4.19/950-0249-staging-bcm2835-camera-Fix-missing-lines-between-ite.patch index 0c0907212a..6cef86b4d4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0249-staging-bcm2835-camera-Fix-missing-lines-between-ite.patch +++ b/target/linux/brcm2708/patches-4.19/950-0249-staging-bcm2835-camera-Fix-missing-lines-between-ite.patch @@ -1,7 +1,7 @@ -From 7bf6ffcf043b908cebd92d37b9f946d359f3793f Mon Sep 17 00:00:00 2001 +From 6974c0c97b821c30af9f6f4ff9b4b6989cb5a573 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 15:39:26 +0000 -Subject: [PATCH 249/773] staging: bcm2835-camera: Fix missing lines between +Subject: [PATCH 249/806] staging: bcm2835-camera: Fix missing lines between items Fix checkpatch errors for missing blank lines after variable diff --git a/target/linux/brcm2708/patches-4.19/950-0250-staging-bcm2835-camera-Fix-logical-continuation-spli.patch b/target/linux/brcm2708/patches-4.19/950-0250-staging-bcm2835-camera-Fix-logical-continuation-spli.patch index a47fd0f764..88770c555c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0250-staging-bcm2835-camera-Fix-logical-continuation-spli.patch +++ b/target/linux/brcm2708/patches-4.19/950-0250-staging-bcm2835-camera-Fix-logical-continuation-spli.patch @@ -1,7 +1,7 @@ -From e0f8234cf59fcdcafe93bdfcf10409e46eb3853f Mon Sep 17 00:00:00 2001 +From 5056b62708ac730f36114e1d792d0cc878b43561 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 15:48:54 +0000 -Subject: [PATCH 250/773] staging: bcm2835-camera: Fix logical continuation +Subject: [PATCH 250/806] staging: bcm2835-camera: Fix logical continuation splits Fix checkpatch errors for "Logical continuations should be diff --git a/target/linux/brcm2708/patches-4.19/950-0251-staging-bcm2835-camera-Fix-open-parenthesis-alignmen.patch b/target/linux/brcm2708/patches-4.19/950-0251-staging-bcm2835-camera-Fix-open-parenthesis-alignmen.patch index 22ddbb98c2..2cbf11064d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0251-staging-bcm2835-camera-Fix-open-parenthesis-alignmen.patch +++ b/target/linux/brcm2708/patches-4.19/950-0251-staging-bcm2835-camera-Fix-open-parenthesis-alignmen.patch @@ -1,7 +1,7 @@ -From 591a1777d9be9229a90d40be00c204613c44524b Mon Sep 17 00:00:00 2001 +From 4ed895c5c9f55f565d5ecc19e799e109673db44f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 21 Feb 2018 15:53:59 +0000 -Subject: [PATCH 251/773] staging: bcm2835-camera: Fix open parenthesis +Subject: [PATCH 251/806] staging: bcm2835-camera: Fix open parenthesis alignment Fix checkpatch "Alignment should match open parenthesis" diff --git a/target/linux/brcm2708/patches-4.19/950-0252-staging-bcm2835-camera-Set-sequence-number-correctly.patch b/target/linux/brcm2708/patches-4.19/950-0252-staging-bcm2835-camera-Set-sequence-number-correctly.patch index e0221d5b7a..7bffc3cd65 100644 --- a/target/linux/brcm2708/patches-4.19/950-0252-staging-bcm2835-camera-Set-sequence-number-correctly.patch +++ b/target/linux/brcm2708/patches-4.19/950-0252-staging-bcm2835-camera-Set-sequence-number-correctly.patch @@ -1,7 +1,7 @@ -From 00ebef37248960b21f3f7586c22c009d22823d79 Mon Sep 17 00:00:00 2001 +From ba37d62e7bbdf42c2fa9ac3655354992da199a4b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 21 Jun 2018 17:02:14 +0100 -Subject: [PATCH 252/773] staging: bcm2835-camera: Set sequence number +Subject: [PATCH 252/806] staging: bcm2835-camera: Set sequence number correctly Set the sequence number in vb2_v4l2_buffer mainly so the diff --git a/target/linux/brcm2708/patches-4.19/950-0253-staging-bcm2835-camera-Ensure-timestamps-never-go-ba.patch b/target/linux/brcm2708/patches-4.19/950-0253-staging-bcm2835-camera-Ensure-timestamps-never-go-ba.patch index 976f882818..90433b732d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0253-staging-bcm2835-camera-Ensure-timestamps-never-go-ba.patch +++ b/target/linux/brcm2708/patches-4.19/950-0253-staging-bcm2835-camera-Ensure-timestamps-never-go-ba.patch @@ -1,7 +1,7 @@ -From fff5c759b7dbfc20ea446443586e5e0b1fad21cd Mon Sep 17 00:00:00 2001 +From 0d0b7a58ab065f72ffa55fbc7ab5436628694919 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 24 Jul 2018 12:08:29 +0100 -Subject: [PATCH 253/773] staging: bcm2835-camera: Ensure timestamps never go +Subject: [PATCH 253/806] staging: bcm2835-camera: Ensure timestamps never go backwards. There is an awkward situation with H264 header bytes. Currently diff --git a/target/linux/brcm2708/patches-4.19/950-0254-staging-bcm2835-camera-Avoid-unneeded-internal-decla.patch b/target/linux/brcm2708/patches-4.19/950-0254-staging-bcm2835-camera-Avoid-unneeded-internal-decla.patch index a5c83c6da1..1a83c3d128 100644 --- a/target/linux/brcm2708/patches-4.19/950-0254-staging-bcm2835-camera-Avoid-unneeded-internal-decla.patch +++ b/target/linux/brcm2708/patches-4.19/950-0254-staging-bcm2835-camera-Avoid-unneeded-internal-decla.patch @@ -1,7 +1,7 @@ -From 2da5f9c4a7e4cd332203bc5fc5febf91a51d7a5b Mon Sep 17 00:00:00 2001 +From f658f48d662c5ecd84af235f47cc48636b9a55e2 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Thu, 27 Sep 2018 17:50:39 -0700 -Subject: [PATCH 254/773] staging: bcm2835-camera: Avoid unneeded internal +Subject: [PATCH 254/806] staging: bcm2835-camera: Avoid unneeded internal declaration warning Clang warns: diff --git a/target/linux/brcm2708/patches-4.19/950-0255-staging-bcm2835-camera-Add-multiple-inclusion-protec.patch b/target/linux/brcm2708/patches-4.19/950-0255-staging-bcm2835-camera-Add-multiple-inclusion-protec.patch index ba6945802c..7af89b14ca 100644 --- a/target/linux/brcm2708/patches-4.19/950-0255-staging-bcm2835-camera-Add-multiple-inclusion-protec.patch +++ b/target/linux/brcm2708/patches-4.19/950-0255-staging-bcm2835-camera-Add-multiple-inclusion-protec.patch @@ -1,7 +1,7 @@ -From ea45d3cb3798a6714e060b66592b8869257aa4be Mon Sep 17 00:00:00 2001 +From c37e8c9137e4858ed86e211f3fddbb9d9af08532 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 16:21:06 +0100 -Subject: [PATCH 255/773] staging: bcm2835-camera: Add multiple inclusion +Subject: [PATCH 255/806] staging: bcm2835-camera: Add multiple inclusion protection to headers mmal-common.h and mmal-msg.h didn't have the normal diff --git a/target/linux/brcm2708/patches-4.19/950-0256-staging-bcm2835-camera-Unify-header-inclusion-define.patch b/target/linux/brcm2708/patches-4.19/950-0256-staging-bcm2835-camera-Unify-header-inclusion-define.patch index c3b2d8e5d5..a218295683 100644 --- a/target/linux/brcm2708/patches-4.19/950-0256-staging-bcm2835-camera-Unify-header-inclusion-define.patch +++ b/target/linux/brcm2708/patches-4.19/950-0256-staging-bcm2835-camera-Unify-header-inclusion-define.patch @@ -1,7 +1,7 @@ -From 66e6361afa8f222603b55dee1f788bc94aaeb0c4 Mon Sep 17 00:00:00 2001 +From 925b969a16a2e3503803c47a87f093f88d1b2060 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 3 Dec 2018 13:15:20 +0000 -Subject: [PATCH 256/773] staging: bcm2835-camera: Unify header inclusion +Subject: [PATCH 256/806] staging: bcm2835-camera: Unify header inclusion defines Most of the headers use ifndef FOO_H, whilst mmal-parameters.h diff --git a/target/linux/brcm2708/patches-4.19/950-0257-ARM-bcm2835_defconfig-Enable-bcm2835-camera.patch b/target/linux/brcm2708/patches-4.19/950-0257-ARM-bcm2835_defconfig-Enable-bcm2835-camera.patch index 03bbeac165..96f43571cc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0257-ARM-bcm2835_defconfig-Enable-bcm2835-camera.patch +++ b/target/linux/brcm2708/patches-4.19/950-0257-ARM-bcm2835_defconfig-Enable-bcm2835-camera.patch @@ -1,7 +1,7 @@ -From 4ee32ce3c2c062edd8e82c828f99ee908d3b27aa Mon Sep 17 00:00:00 2001 +From 0e706e956ec3974a08cefec00e7c411bd6dee03b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 15:50:50 +0000 -Subject: [PATCH 257/773] ARM: bcm2835_defconfig: Enable bcm2835-camera +Subject: [PATCH 257/806] ARM: bcm2835_defconfig: Enable bcm2835-camera Enables the V4L2 camera driver as a module. diff --git a/target/linux/brcm2708/patches-4.19/950-0258-staging-bcm2835-camera-Fix-alignment-should-match-op.patch b/target/linux/brcm2708/patches-4.19/950-0258-staging-bcm2835-camera-Fix-alignment-should-match-op.patch index b5384ed0ab..4409708982 100644 --- a/target/linux/brcm2708/patches-4.19/950-0258-staging-bcm2835-camera-Fix-alignment-should-match-op.patch +++ b/target/linux/brcm2708/patches-4.19/950-0258-staging-bcm2835-camera-Fix-alignment-should-match-op.patch @@ -1,7 +1,7 @@ -From 934b335cc97b8d29a93e669419fb23a58450a02d Mon Sep 17 00:00:00 2001 +From 11129d36669a3efee5dd0d49f969f11c42764f9d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 15:55:42 +0000 -Subject: [PATCH 258/773] staging: bcm2835-camera: Fix alignment should match +Subject: [PATCH 258/806] staging: bcm2835-camera: Fix alignment should match open parenthesis Fix up checkpatch "Alignment should match open parenthesis" errors diff --git a/target/linux/brcm2708/patches-4.19/950-0259-staging-bcm2835-camera-Fix-multiple-assignments-shou.patch b/target/linux/brcm2708/patches-4.19/950-0259-staging-bcm2835-camera-Fix-multiple-assignments-shou.patch index 8f95fe4072..c9f9e043a3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0259-staging-bcm2835-camera-Fix-multiple-assignments-shou.patch +++ b/target/linux/brcm2708/patches-4.19/950-0259-staging-bcm2835-camera-Fix-multiple-assignments-shou.patch @@ -1,7 +1,7 @@ -From 7be4e14ed4e4538d1872f75a34f740bf3908f94f Mon Sep 17 00:00:00 2001 +From d1f9d21346c642fadb2676077b050106afaf7579 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 15:58:14 +0000 -Subject: [PATCH 259/773] staging: bcm2835-camera: Fix multiple assignments +Subject: [PATCH 259/806] staging: bcm2835-camera: Fix multiple assignments should be avoided Clear checkpatch complaints of "multiple assignments should be avoided" diff --git a/target/linux/brcm2708/patches-4.19/950-0260-staging-bcm2835-camera-Fix-up-all-formatting-in-mmal.patch b/target/linux/brcm2708/patches-4.19/950-0260-staging-bcm2835-camera-Fix-up-all-formatting-in-mmal.patch index 79c89c8313..c497890344 100644 --- a/target/linux/brcm2708/patches-4.19/950-0260-staging-bcm2835-camera-Fix-up-all-formatting-in-mmal.patch +++ b/target/linux/brcm2708/patches-4.19/950-0260-staging-bcm2835-camera-Fix-up-all-formatting-in-mmal.patch @@ -1,7 +1,7 @@ -From 095ced68f4892a32981dbede20cee409d68d70cd Mon Sep 17 00:00:00 2001 +From be10ef41af683e175521f80b49b99d7ddeac2f2c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 16:08:41 +0000 -Subject: [PATCH 260/773] staging: bcm2835-camera: Fix up all formatting in +Subject: [PATCH 260/806] staging: bcm2835-camera: Fix up all formatting in mmal-paramters.h Fixes up all checkpatch errors in mmal-parameters.h diff --git a/target/linux/brcm2708/patches-4.19/950-0261-staging-bcm2835-camera-Use-enums-for-max-value-in-co.patch b/target/linux/brcm2708/patches-4.19/950-0261-staging-bcm2835-camera-Use-enums-for-max-value-in-co.patch index 61bc0db49c..ca4f0470bb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0261-staging-bcm2835-camera-Use-enums-for-max-value-in-co.patch +++ b/target/linux/brcm2708/patches-4.19/950-0261-staging-bcm2835-camera-Use-enums-for-max-value-in-co.patch @@ -1,7 +1,7 @@ -From 77643f0cb59ace8d5af28e9b220a03844ac98160 Mon Sep 17 00:00:00 2001 +From 316725374b7c221f5d43b31ee9cbe738d3df4709 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 28 Sep 2018 10:17:11 +0100 -Subject: [PATCH 261/773] staging: bcm2835-camera: Use enums for max value in +Subject: [PATCH 261/806] staging: bcm2835-camera: Use enums for max value in controls Controls of type MMAL_CONTROL_TYPE_STD_MENU call v4l2_ctrl_new_std_menu diff --git a/target/linux/brcm2708/patches-4.19/950-0262-staging-bcm2835-camera-Correct-V4L2_CID_COLORFX_CBCR.patch b/target/linux/brcm2708/patches-4.19/950-0262-staging-bcm2835-camera-Correct-V4L2_CID_COLORFX_CBCR.patch index 84642d2db8..21cbfca0a4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0262-staging-bcm2835-camera-Correct-V4L2_CID_COLORFX_CBCR.patch +++ b/target/linux/brcm2708/patches-4.19/950-0262-staging-bcm2835-camera-Correct-V4L2_CID_COLORFX_CBCR.patch @@ -1,7 +1,7 @@ -From 9b101f513a73bf19ab73f89b16b5c76396b0998d Mon Sep 17 00:00:00 2001 +From f07147faddeb0e99bfe181af78fcda9ea7f06c3d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 8 Oct 2018 18:26:15 +0100 -Subject: [PATCH 262/773] staging: bcm2835-camera: Correct +Subject: [PATCH 262/806] staging: bcm2835-camera: Correct V4L2_CID_COLORFX_CBCR behaviour With V4L2_CID_COLORFX_CBCR calling ctrl_set_colfx it was incorrectly diff --git a/target/linux/brcm2708/patches-4.19/950-0263-staging-bcm2835-camera-Remove-amend-some-obsolete-co.patch b/target/linux/brcm2708/patches-4.19/950-0263-staging-bcm2835-camera-Remove-amend-some-obsolete-co.patch index 29a1e834c7..7645cffac0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0263-staging-bcm2835-camera-Remove-amend-some-obsolete-co.patch +++ b/target/linux/brcm2708/patches-4.19/950-0263-staging-bcm2835-camera-Remove-amend-some-obsolete-co.patch @@ -1,7 +1,7 @@ -From 30e24c9adc26a51e03c22b98a4f75423b59f099b Mon Sep 17 00:00:00 2001 +From 37ede4f6a1771b09dea6e8b2fc4d2c5f085a33f3 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 28 Sep 2018 10:22:26 +0100 -Subject: [PATCH 263/773] staging: bcm2835-camera: Remove/amend some obsolete +Subject: [PATCH 263/806] staging: bcm2835-camera: Remove/amend some obsolete comments Remove a todo which has been done. diff --git a/target/linux/brcm2708/patches-4.19/950-0264-staging-vc04_services-Split-vchiq-mmal-into-a-module.patch b/target/linux/brcm2708/patches-4.19/950-0264-staging-vc04_services-Split-vchiq-mmal-into-a-module.patch index 7f3803467f..bbf5d36c2f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0264-staging-vc04_services-Split-vchiq-mmal-into-a-module.patch +++ b/target/linux/brcm2708/patches-4.19/950-0264-staging-vc04_services-Split-vchiq-mmal-into-a-module.patch @@ -1,7 +1,7 @@ -From 8ddad6ba50d786a57deb447c58aac5f57896be31 Mon Sep 17 00:00:00 2001 +From e7723c6bcf31a440b8762e9e22497ff3fbbb7056 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 16:30:37 +0100 -Subject: [PATCH 264/773] staging: vc04_services: Split vchiq-mmal into a +Subject: [PATCH 264/806] staging: vc04_services: Split vchiq-mmal into a module In preparation for adding a video codec V4L2 module which also diff --git a/target/linux/brcm2708/patches-4.19/950-0265-staging-mmal-vchiq-Allocate-and-free-components-as-r.patch b/target/linux/brcm2708/patches-4.19/950-0265-staging-mmal-vchiq-Allocate-and-free-components-as-r.patch index 8a90fd0c19..ce0b682849 100644 --- a/target/linux/brcm2708/patches-4.19/950-0265-staging-mmal-vchiq-Allocate-and-free-components-as-r.patch +++ b/target/linux/brcm2708/patches-4.19/950-0265-staging-mmal-vchiq-Allocate-and-free-components-as-r.patch @@ -1,7 +1,7 @@ -From e375e2bfbf4e76a2eab633576d13e7c957dc9dc1 Mon Sep 17 00:00:00 2001 +From f94642597f63c71b2ccffddd4f447190c131af56 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 16:51:13 +0100 -Subject: [PATCH 265/773] staging: mmal-vchiq: Allocate and free components as +Subject: [PATCH 265/806] staging: mmal-vchiq: Allocate and free components as required The existing code assumed that there would only ever be 4 components, diff --git a/target/linux/brcm2708/patches-4.19/950-0266-staging-mmal-vchiq-Avoid-use-of-bool-in-structures.patch b/target/linux/brcm2708/patches-4.19/950-0266-staging-mmal-vchiq-Avoid-use-of-bool-in-structures.patch index a5e8fbca4f..6d2f7fd560 100644 --- a/target/linux/brcm2708/patches-4.19/950-0266-staging-mmal-vchiq-Avoid-use-of-bool-in-structures.patch +++ b/target/linux/brcm2708/patches-4.19/950-0266-staging-mmal-vchiq-Avoid-use-of-bool-in-structures.patch @@ -1,7 +1,7 @@ -From 4c8770fc22d69cde5332c08abd2ff00eb50fb620 Mon Sep 17 00:00:00 2001 +From 3789c3b08b56f471878c493fd80a2eee776b527c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 16:20:46 +0000 -Subject: [PATCH 266/773] staging: mmal-vchiq: Avoid use of bool in structures +Subject: [PATCH 266/806] staging: mmal-vchiq: Avoid use of bool in structures Fixes up a checkpatch error "Avoid using bool structure members because of possible alignment issues". diff --git a/target/linux/brcm2708/patches-4.19/950-0267-staging-mmal-vchiq-Make-timeout-a-defined-parameter.patch b/target/linux/brcm2708/patches-4.19/950-0267-staging-mmal-vchiq-Make-timeout-a-defined-parameter.patch index bc6ea9b2f0..b9d1699c72 100644 --- a/target/linux/brcm2708/patches-4.19/950-0267-staging-mmal-vchiq-Make-timeout-a-defined-parameter.patch +++ b/target/linux/brcm2708/patches-4.19/950-0267-staging-mmal-vchiq-Make-timeout-a-defined-parameter.patch @@ -1,7 +1,7 @@ -From a7631f38aa3d8d5e704a1fa4e8553c76798a71bd Mon Sep 17 00:00:00 2001 +From 301a6a16ec8a8b1a7b89c0cc6df30e79a460214a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 16:57:09 +0100 -Subject: [PATCH 267/773] staging: mmal-vchiq: Make timeout a defined parameter +Subject: [PATCH 267/806] staging: mmal-vchiq: Make timeout a defined parameter The timeout period for VPU communications is a useful thing to extend when debugging. diff --git a/target/linux/brcm2708/patches-4.19/950-0268-staging-mmal-vchiq-Make-a-mmal_buf-struct-for-passin.patch b/target/linux/brcm2708/patches-4.19/950-0268-staging-mmal-vchiq-Make-a-mmal_buf-struct-for-passin.patch index 2087d735ae..b3c8c2ad0e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0268-staging-mmal-vchiq-Make-a-mmal_buf-struct-for-passin.patch +++ b/target/linux/brcm2708/patches-4.19/950-0268-staging-mmal-vchiq-Make-a-mmal_buf-struct-for-passin.patch @@ -1,7 +1,7 @@ -From a0fa0ee0757099fcbab15c668ec3b76e6dbffbaf Mon Sep 17 00:00:00 2001 +From 862ee4fbd8c6b984f920b88908e33951e51134ca Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 17:33:37 +0100 -Subject: [PATCH 268/773] staging: mmal-vchiq: Make a mmal_buf struct for +Subject: [PATCH 268/806] staging: mmal-vchiq: Make a mmal_buf struct for passing parameters The callback from vchi_mmal to the client was growing lots of extra diff --git a/target/linux/brcm2708/patches-4.19/950-0269-staging-mmal-vchiq-Add-support-for-event-callbacks.patch b/target/linux/brcm2708/patches-4.19/950-0269-staging-mmal-vchiq-Add-support-for-event-callbacks.patch index 8ec8d4406c..00b85e4388 100644 --- a/target/linux/brcm2708/patches-4.19/950-0269-staging-mmal-vchiq-Add-support-for-event-callbacks.patch +++ b/target/linux/brcm2708/patches-4.19/950-0269-staging-mmal-vchiq-Add-support-for-event-callbacks.patch @@ -1,7 +1,7 @@ -From b209e9d2fd89a0d1861cb5f43539bb44eb0135ad Mon Sep 17 00:00:00 2001 +From adab474d1f91594d6d96d44054586ba36d7f26d4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 18:15:38 +0100 -Subject: [PATCH 269/773] staging: mmal-vchiq: Add support for event callbacks. +Subject: [PATCH 269/806] staging: mmal-vchiq: Add support for event callbacks. (Preparation for the codec driver). The codec uses the event mechanism to report things such as diff --git a/target/linux/brcm2708/patches-4.19/950-0270-staging-vc04_services-Support-sending-data-to-MMAL-p.patch b/target/linux/brcm2708/patches-4.19/950-0270-staging-vc04_services-Support-sending-data-to-MMAL-p.patch index 149d858c9c..b414b32285 100644 --- a/target/linux/brcm2708/patches-4.19/950-0270-staging-vc04_services-Support-sending-data-to-MMAL-p.patch +++ b/target/linux/brcm2708/patches-4.19/950-0270-staging-vc04_services-Support-sending-data-to-MMAL-p.patch @@ -1,7 +1,7 @@ -From 234616b7ea364a57fa7d14b98b022d9633ca9e68 Mon Sep 17 00:00:00 2001 +From 483bef9dcddc4bcb9f4e250d91b31361a919b7ed Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 18:26:02 +0100 -Subject: [PATCH 270/773] staging: vc04_services: Support sending data to MMAL +Subject: [PATCH 270/806] staging: vc04_services: Support sending data to MMAL ports Add the ability to send data to ports. This only supports diff --git a/target/linux/brcm2708/patches-4.19/950-0271-staging-vc04_services-Fixup-vchiq-mmal-include-order.patch b/target/linux/brcm2708/patches-4.19/950-0271-staging-vc04_services-Fixup-vchiq-mmal-include-order.patch index cef8ff5cd2..31301e4ad3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0271-staging-vc04_services-Fixup-vchiq-mmal-include-order.patch +++ b/target/linux/brcm2708/patches-4.19/950-0271-staging-vc04_services-Fixup-vchiq-mmal-include-order.patch @@ -1,7 +1,7 @@ -From 552d912beb38481b95de0baef53420dd924208f6 Mon Sep 17 00:00:00 2001 +From 2a5a03926a8c6ae7375355de00814234e4e303ed Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 25 Sep 2018 16:57:40 +0100 -Subject: [PATCH 271/773] staging: vc04_services: Fixup vchiq-mmal include +Subject: [PATCH 271/806] staging: vc04_services: Fixup vchiq-mmal include ordering There were dependencies on including the headers in the correct diff --git a/target/linux/brcm2708/patches-4.19/950-0272-staging-vc04_services-Add-new-vc-sm-cma-driver.patch b/target/linux/brcm2708/patches-4.19/950-0272-staging-vc04_services-Add-new-vc-sm-cma-driver.patch index 7cc7ed3ca4..749fb9714b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0272-staging-vc04_services-Add-new-vc-sm-cma-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0272-staging-vc04_services-Add-new-vc-sm-cma-driver.patch @@ -1,7 +1,7 @@ -From 6cb5de8099e37a517174aec29ceb77959ef53063 Mon Sep 17 00:00:00 2001 +From 2994fdc0a9d48be68d6e403bc8ddadecfc8d8796 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 25 Sep 2018 10:27:11 +0100 -Subject: [PATCH 272/773] staging: vc04_services: Add new vc-sm-cma driver +Subject: [PATCH 272/806] staging: vc04_services: Add new vc-sm-cma driver This new driver allows contiguous memory blocks to be imported into the VideoCore VPU memory map, and manages the lifetime of diff --git a/target/linux/brcm2708/patches-4.19/950-0273-staging-vc-sm-cma-Fixup-driver-for-older-VCHI-APIs.patch b/target/linux/brcm2708/patches-4.19/950-0273-staging-vc-sm-cma-Fixup-driver-for-older-VCHI-APIs.patch index 0f7be4817e..7356e611f5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0273-staging-vc-sm-cma-Fixup-driver-for-older-VCHI-APIs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0273-staging-vc-sm-cma-Fixup-driver-for-older-VCHI-APIs.patch @@ -1,7 +1,7 @@ -From 0602ff25e62f5356e0e669b79c909a38c5fbc726 Mon Sep 17 00:00:00 2001 +From 9eb40722f3ef0d338ed97667a7391f3d74812332 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 30 Oct 2018 11:42:48 +0000 -Subject: [PATCH 273/773] staging: vc-sm-cma: Fixup driver for older VCHI APIs +Subject: [PATCH 273/806] staging: vc-sm-cma: Fixup driver for older VCHI APIs Original patch was based off staging which included some cleanups of the VCHI APIs. Those aren't present here, so switch back to diff --git a/target/linux/brcm2708/patches-4.19/950-0274-staging-vc04_services-Use-vc-sm-cma-to-support-zero-.patch b/target/linux/brcm2708/patches-4.19/950-0274-staging-vc04_services-Use-vc-sm-cma-to-support-zero-.patch index f825695937..22ca1de657 100644 --- a/target/linux/brcm2708/patches-4.19/950-0274-staging-vc04_services-Use-vc-sm-cma-to-support-zero-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0274-staging-vc04_services-Use-vc-sm-cma-to-support-zero-.patch @@ -1,7 +1,7 @@ -From 362a822169d4a589b803e270f1e2bf325d6f77a5 Mon Sep 17 00:00:00 2001 +From bcb0dccc1f02ed3dd01834ca0e35c4043df8988e Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 25 Sep 2018 16:07:55 +0100 -Subject: [PATCH 274/773] staging: vc04_services: Use vc-sm-cma to support zero +Subject: [PATCH 274/806] staging: vc04_services: Use vc-sm-cma to support zero copy With the vc-sm-cma driver we can support zero copy of buffers between diff --git a/target/linux/brcm2708/patches-4.19/950-0275-media-videobuf2-Allow-exporting-of-a-struct-dmabuf.patch b/target/linux/brcm2708/patches-4.19/950-0275-media-videobuf2-Allow-exporting-of-a-struct-dmabuf.patch index fa5e3ebf45..5ef425ca9c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0275-media-videobuf2-Allow-exporting-of-a-struct-dmabuf.patch +++ b/target/linux/brcm2708/patches-4.19/950-0275-media-videobuf2-Allow-exporting-of-a-struct-dmabuf.patch @@ -1,7 +1,7 @@ -From ac1d0e4556839b5297d05c2c2fc8eb7fd96fc263 Mon Sep 17 00:00:00 2001 +From 0b2a62596d0e6efe17bb87a3a5ebd91cee60c64b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 17:57:45 +0000 -Subject: [PATCH 275/773] media: videobuf2: Allow exporting of a struct dmabuf +Subject: [PATCH 275/806] media: videobuf2: Allow exporting of a struct dmabuf videobuf2 only allowed exporting a dmabuf as a file descriptor, but there are instances where having the struct dma_buf is diff --git a/target/linux/brcm2708/patches-4.19/950-0276-staging-vc04_services-Add-a-V4L2-M2M-codec-driver.patch b/target/linux/brcm2708/patches-4.19/950-0276-staging-vc04_services-Add-a-V4L2-M2M-codec-driver.patch index 3c40780c32..192e7d9db6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0276-staging-vc04_services-Add-a-V4L2-M2M-codec-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0276-staging-vc04_services-Add-a-V4L2-M2M-codec-driver.patch @@ -1,7 +1,7 @@ -From f9c24ad1d3a31cd0260b68238ebcaff6560dfed6 Mon Sep 17 00:00:00 2001 +From 2758fab4321519446fe5444769b6257dd18e794b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 25 Sep 2018 14:53:49 +0100 -Subject: [PATCH 276/773] staging: vc04_services: Add a V4L2 M2M codec driver +Subject: [PATCH 276/806] staging: vc04_services: Add a V4L2 M2M codec driver This adds a V4L2 memory to memory device that wraps the MMAL video decode and video_encode components for H264 and MJPEG encode diff --git a/target/linux/brcm2708/patches-4.19/950-0277-staging-vchiq_arm-Register-bcm2835-codec-as-a-platfo.patch b/target/linux/brcm2708/patches-4.19/950-0277-staging-vchiq_arm-Register-bcm2835-codec-as-a-platfo.patch index 8b80a0e13b..2325697c85 100644 --- a/target/linux/brcm2708/patches-4.19/950-0277-staging-vchiq_arm-Register-bcm2835-codec-as-a-platfo.patch +++ b/target/linux/brcm2708/patches-4.19/950-0277-staging-vchiq_arm-Register-bcm2835-codec-as-a-platfo.patch @@ -1,7 +1,7 @@ -From d3859630aa35969199fabcb084bd97719041158b Mon Sep 17 00:00:00 2001 +From b28dac3003b4c756b72201bb1d83647e33e2f4f1 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 26 Oct 2018 15:14:16 +0100 -Subject: [PATCH 277/773] staging: vchiq_arm: Register bcm2835-codec as a +Subject: [PATCH 277/806] staging: vchiq_arm: Register bcm2835-codec as a platform driver Following the same pattern as bcm2835-camera and bcm2835-audio, diff --git a/target/linux/brcm2708/patches-4.19/950-0278-staging-vchiq_arm-Register-vcsm-cma-as-a-platform-dr.patch b/target/linux/brcm2708/patches-4.19/950-0278-staging-vchiq_arm-Register-vcsm-cma-as-a-platform-dr.patch index 05b71539c4..a34e5d7f17 100644 --- a/target/linux/brcm2708/patches-4.19/950-0278-staging-vchiq_arm-Register-vcsm-cma-as-a-platform-dr.patch +++ b/target/linux/brcm2708/patches-4.19/950-0278-staging-vchiq_arm-Register-vcsm-cma-as-a-platform-dr.patch @@ -1,7 +1,7 @@ -From 11938496dd97f6cb8a79a27df293e23036153939 Mon Sep 17 00:00:00 2001 +From 69c5c6d62b457ee88e55c4090dc09c0441b059f2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 26 Oct 2018 15:19:40 +0100 -Subject: [PATCH 278/773] staging: vchiq_arm: Register vcsm-cma as a platform +Subject: [PATCH 278/806] staging: vchiq_arm: Register vcsm-cma as a platform driver Following the same pattern as bcm2835-camera and bcm2835-audio, diff --git a/target/linux/brcm2708/patches-4.19/950-0279-ARM-bcm2835_defconfig-Enable-bcm2835-codec.patch b/target/linux/brcm2708/patches-4.19/950-0279-ARM-bcm2835_defconfig-Enable-bcm2835-codec.patch index b6583bf275..1cd87c31fc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0279-ARM-bcm2835_defconfig-Enable-bcm2835-codec.patch +++ b/target/linux/brcm2708/patches-4.19/950-0279-ARM-bcm2835_defconfig-Enable-bcm2835-codec.patch @@ -1,7 +1,7 @@ -From 2c5b6f976b8cc7f221698c07a1030d130fe4d94a Mon Sep 17 00:00:00 2001 +From 8692aec0c7dd04fd36c94e6d4ad8b4f3626d17ce Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 17:49:04 +0000 -Subject: [PATCH 279/773] ARM: bcm2835_defconfig: Enable bcm2835-codec +Subject: [PATCH 279/806] ARM: bcm2835_defconfig: Enable bcm2835-codec Enables the V4L2 M2M codec driver as a module. diff --git a/target/linux/brcm2708/patches-4.19/950-0280-config-Add-bcm2835-codec-to-Pi-defconfigs.patch b/target/linux/brcm2708/patches-4.19/950-0280-config-Add-bcm2835-codec-to-Pi-defconfigs.patch index ad4c7957bc..7e8db03d8c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0280-config-Add-bcm2835-codec-to-Pi-defconfigs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0280-config-Add-bcm2835-codec-to-Pi-defconfigs.patch @@ -1,7 +1,7 @@ -From 47b107c813bc93334a6bb2177dcdf09cd0fe1ce3 Mon Sep 17 00:00:00 2001 +From dd25f103ae7cc51299f360edc1c7b3984fb38d09 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 30 Oct 2018 12:23:26 +0000 -Subject: [PATCH 280/773] config: Add bcm2835-codec to Pi defconfigs. +Subject: [PATCH 280/806] config: Add bcm2835-codec to Pi defconfigs. Adds the V4L2 M2M codec driver to the config. diff --git a/target/linux/brcm2708/patches-4.19/950-0281-staging-bcm2835-camera-Fix-stride-on-RGB3-BGR3-forma.patch b/target/linux/brcm2708/patches-4.19/950-0281-staging-bcm2835-camera-Fix-stride-on-RGB3-BGR3-forma.patch index 251f761f84..c4ef974a8c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0281-staging-bcm2835-camera-Fix-stride-on-RGB3-BGR3-forma.patch +++ b/target/linux/brcm2708/patches-4.19/950-0281-staging-bcm2835-camera-Fix-stride-on-RGB3-BGR3-forma.patch @@ -1,7 +1,7 @@ -From 79f3433a85bb8128dca78bd05588a2a4b7a389ae Mon Sep 17 00:00:00 2001 +From 69e42b6209062b9cd3fc9aea8fb53ed703509e51 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 30 Nov 2018 16:00:54 +0000 -Subject: [PATCH 281/773] staging: bcm2835-camera: Fix stride on RGB3/BGR3 +Subject: [PATCH 281/806] staging: bcm2835-camera: Fix stride on RGB3/BGR3 formats RGB3/BGR3 end up being 3 bytes per pixel, which meant that diff --git a/target/linux/brcm2708/patches-4.19/950-0282-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch b/target/linux/brcm2708/patches-4.19/950-0282-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch index f5fd30ab0e..b8bb7e23c0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0282-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0282-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch @@ -1,7 +1,7 @@ -From f3e2cc8a995e644fc5aca9a382643096084e6edc Mon Sep 17 00:00:00 2001 +From cf6f8129b6af78116e00b1d781e0bcc8c4b73890 Mon Sep 17 00:00:00 2001 From: John Sheu Date: Thu, 15 Oct 2015 18:05:25 +0900 -Subject: [PATCH 282/773] media: vb2: Allow reqbufs(0) with "in use" MMAP +Subject: [PATCH 282/806] media: vb2: Allow reqbufs(0) with "in use" MMAP buffers Videobuf2 presently does not allow VIDIOC_REQBUFS to destroy outstanding diff --git a/target/linux/brcm2708/patches-4.19/950-0283-tpm-Make-SECURITYFS-a-weak-dependency.patch b/target/linux/brcm2708/patches-4.19/950-0283-tpm-Make-SECURITYFS-a-weak-dependency.patch index 60f0ab3441..03dca98835 100644 --- a/target/linux/brcm2708/patches-4.19/950-0283-tpm-Make-SECURITYFS-a-weak-dependency.patch +++ b/target/linux/brcm2708/patches-4.19/950-0283-tpm-Make-SECURITYFS-a-weak-dependency.patch @@ -1,7 +1,7 @@ -From 875aab16fb495998df264f2d1c20ca68fcc27869 Mon Sep 17 00:00:00 2001 +From 38e82adecd1b7ae790a827c29e954d35a2bbee98 Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Mon, 3 Sep 2018 21:51:51 +0200 -Subject: [PATCH 283/773] tpm: Make SECURITYFS a weak dependency +Subject: [PATCH 283/806] tpm: Make SECURITYFS a weak dependency commit 2f7d8dbb11287cbe9da6380ca14ed5d38c9ed91f upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0284-Enable-TPM-TIS-SPI-support-for-TPM1.2-and-TPM2.0-chi.patch b/target/linux/brcm2708/patches-4.19/950-0284-Enable-TPM-TIS-SPI-support-for-TPM1.2-and-TPM2.0-chi.patch index 56fd1ef4c8..3ff807832f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0284-Enable-TPM-TIS-SPI-support-for-TPM1.2-and-TPM2.0-chi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0284-Enable-TPM-TIS-SPI-support-for-TPM1.2-and-TPM2.0-chi.patch @@ -1,7 +1,7 @@ -From 8e5de6a0565874b0531f4801bbb235444fad05d9 Mon Sep 17 00:00:00 2001 +From 17e1d4d6f8ce88fccc25c1e900eb985635737959 Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Thu, 14 Jun 2018 22:42:18 +0200 -Subject: [PATCH 284/773] Enable TPM TIS SPI support for TPM1.2 and TPM2.0 +Subject: [PATCH 284/806] Enable TPM TIS SPI support for TPM1.2 and TPM2.0 chips This patch enables the support for SPI TPMs which follow the TCG TIS diff --git a/target/linux/brcm2708/patches-4.19/950-0285-Add-overlay-for-SLB9760-Iridium-LetsTrust-TPM.patch b/target/linux/brcm2708/patches-4.19/950-0285-Add-overlay-for-SLB9760-Iridium-LetsTrust-TPM.patch index bfd1c0ce66..5867455529 100644 --- a/target/linux/brcm2708/patches-4.19/950-0285-Add-overlay-for-SLB9760-Iridium-LetsTrust-TPM.patch +++ b/target/linux/brcm2708/patches-4.19/950-0285-Add-overlay-for-SLB9760-Iridium-LetsTrust-TPM.patch @@ -1,7 +1,7 @@ -From 77616ebc4f63c6cd87dc81dc7e75805823348012 Mon Sep 17 00:00:00 2001 +From 82298c670f768f392f48526fe7c8a93682e83998 Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Thu, 14 Jun 2018 22:51:24 +0200 -Subject: [PATCH 285/773] Add overlay for SLB9760 Iridium /LetsTrust TPM +Subject: [PATCH 285/806] Add overlay for SLB9760 Iridium /LetsTrust TPM Device Tree overlay for the Infineon SLB9670 Trusted Platform Module add-on boards, which can be used as a secure key storage and hwrng. diff --git a/target/linux/brcm2708/patches-4.19/950-0286-Revert-staging-vchiq_arm-Register-a-platform-device-.patch b/target/linux/brcm2708/patches-4.19/950-0286-Revert-staging-vchiq_arm-Register-a-platform-device-.patch index 4382fd1ba1..fe7f0d98b8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0286-Revert-staging-vchiq_arm-Register-a-platform-device-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0286-Revert-staging-vchiq_arm-Register-a-platform-device-.patch @@ -1,7 +1,7 @@ -From 46ebb05d9d2f6f86b1e4f85475fd9a461261010f Mon Sep 17 00:00:00 2001 +From d679d6ff3fd138f55b8bbeaf7750c3c980944295 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 4 Dec 2018 19:40:12 +0000 -Subject: [PATCH 286/773] Revert "staging: vchiq_arm: Register a platform +Subject: [PATCH 286/806] Revert "staging: vchiq_arm: Register a platform device for the audio driver" This reverts commit ab59590ed562b89db51fe46cee5db96b9bc5abd8. diff --git a/target/linux/brcm2708/patches-4.19/950-0287-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch b/target/linux/brcm2708/patches-4.19/950-0287-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch index 547a98c5fb..d7e7ac71d0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0287-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch +++ b/target/linux/brcm2708/patches-4.19/950-0287-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch @@ -1,7 +1,7 @@ -From 627e9a60b75ebc7876c655fca169250adaad3199 Mon Sep 17 00:00:00 2001 +From 28e06d43dd44a45d307848bed588fc65d7c79d83 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 4 Dec 2018 20:41:19 +0000 -Subject: [PATCH 287/773] Revert "staging: bcm2835-audio: Drop DT dependency" +Subject: [PATCH 287/806] Revert "staging: bcm2835-audio: Drop DT dependency" This reverts commit 933bc853bb764e476b0b0f633588f46d20f1f76a. diff --git a/target/linux/brcm2708/patches-4.19/950-0288-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch b/target/linux/brcm2708/patches-4.19/950-0288-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch index dba6cdef8d..b9df446845 100644 --- a/target/linux/brcm2708/patches-4.19/950-0288-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch +++ b/target/linux/brcm2708/patches-4.19/950-0288-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch @@ -1,7 +1,7 @@ -From 545e6262c2218c2e6e440a08b72b58902646f654 Mon Sep 17 00:00:00 2001 +From e740bd2cc3fcd632fcd6c8881b1fc671bcde5914 Mon Sep 17 00:00:00 2001 From: dev-3Dlab <45081440+dev-3Dlab@users.noreply.github.com> Date: Wed, 5 Dec 2018 10:59:11 +0100 -Subject: [PATCH 288/773] ASoC: add driver for 3Dlab Nano soundcard (#2758) +Subject: [PATCH 288/806] ASoC: add driver for 3Dlab Nano soundcard (#2758) Signed-off-by: GT --- diff --git a/target/linux/brcm2708/patches-4.19/950-0289-overlays-Update-README-with-removal-of-lirc-rpi.patch b/target/linux/brcm2708/patches-4.19/950-0289-overlays-Update-README-with-removal-of-lirc-rpi.patch index 7b15e068ea..9886c85ac5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0289-overlays-Update-README-with-removal-of-lirc-rpi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0289-overlays-Update-README-with-removal-of-lirc-rpi.patch @@ -1,7 +1,7 @@ -From f5ac89eb4657ce4e43aba739a671fc475ba7099f Mon Sep 17 00:00:00 2001 +From f2c24ce7e03d059fa9f674d8ebf6286e8f0c38b6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 5 Dec 2018 11:56:40 +0000 -Subject: [PATCH 289/773] overlays: Update README with removal of lirc-rpi +Subject: [PATCH 289/806] overlays: Update README with removal of lirc-rpi Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0290-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch b/target/linux/brcm2708/patches-4.19/950-0290-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch index eff7983e78..b781c9eb36 100644 --- a/target/linux/brcm2708/patches-4.19/950-0290-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch +++ b/target/linux/brcm2708/patches-4.19/950-0290-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch @@ -1,7 +1,7 @@ -From 57c6930510fd76201fddc352d6b96f5b8d1a8911 Mon Sep 17 00:00:00 2001 +From 81f6d4e84fd127cf0b31c9822a2beb9b298aa7bb Mon Sep 17 00:00:00 2001 From: 6by9 <6by9@users.noreply.github.com> Date: Tue, 11 Dec 2018 15:18:02 +0000 -Subject: [PATCH 290/773] staging: bcm2835-camera: Check the error for +Subject: [PATCH 290/806] staging: bcm2835-camera: Check the error for REPEAT_SEQ_HEADER (#2782) When handling for V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER was added diff --git a/target/linux/brcm2708/patches-4.19/950-0291-gpio-ir-change-default-pull-configuration-to-up.patch b/target/linux/brcm2708/patches-4.19/950-0291-gpio-ir-change-default-pull-configuration-to-up.patch index 3e2f59fe78..d68ea95e58 100644 --- a/target/linux/brcm2708/patches-4.19/950-0291-gpio-ir-change-default-pull-configuration-to-up.patch +++ b/target/linux/brcm2708/patches-4.19/950-0291-gpio-ir-change-default-pull-configuration-to-up.patch @@ -1,7 +1,7 @@ -From ca04bf45b9d33ebc574d2fc6af5cca9a9e4ffc89 Mon Sep 17 00:00:00 2001 +From d1cf5fb57ee5ee4512a93614d67d15af9c8070b2 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 9 Jan 2019 14:51:01 +0100 -Subject: [PATCH 291/773] gpio-ir: change default pull configuration to up +Subject: [PATCH 291/806] gpio-ir: change default pull configuration to up IR receivers like the TSOP series from Vishay and compatible ones have active-low open collector outputs with an internal pull up of diff --git a/target/linux/brcm2708/patches-4.19/950-0292-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch b/target/linux/brcm2708/patches-4.19/950-0292-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch index 1ded1e08e9..36e57e825f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0292-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch +++ b/target/linux/brcm2708/patches-4.19/950-0292-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch @@ -1,7 +1,7 @@ -From cecf301be9223fef4eda71e48a12ead310ec6e89 Mon Sep 17 00:00:00 2001 +From dfd66230d2d538e7f290436d2952124d6eadeb3d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 10 Jan 2019 17:58:06 +0000 -Subject: [PATCH 292/773] firmware: raspberrypi: Report the fw variant during +Subject: [PATCH 292/806] firmware: raspberrypi: Report the fw variant during probe The driver already reported the firmware build date during probe. diff --git a/target/linux/brcm2708/patches-4.19/950-0293-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch b/target/linux/brcm2708/patches-4.19/950-0293-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch index 0dd22a247a..90fa066e32 100644 --- a/target/linux/brcm2708/patches-4.19/950-0293-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch +++ b/target/linux/brcm2708/patches-4.19/950-0293-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch @@ -1,7 +1,7 @@ -From b51dda6c8cca5db35f73a2f8a26396699cdebf77 Mon Sep 17 00:00:00 2001 +From 9abde0ff52268580501b3120629f3c92f0e5d589 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 10 Jan 2019 18:48:54 +0000 -Subject: [PATCH 293/773] firmware: raspberrypi: Report the fw git hash during +Subject: [PATCH 293/806] firmware: raspberrypi: Report the fw git hash during probe The firmware can now report the git hash from which it was built diff --git a/target/linux/brcm2708/patches-4.19/950-0294-arm64-dts-broadcom-Enable-fixups-for-overlays.patch b/target/linux/brcm2708/patches-4.19/950-0294-arm64-dts-broadcom-Enable-fixups-for-overlays.patch index b4900e3903..44c3429c8c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0294-arm64-dts-broadcom-Enable-fixups-for-overlays.patch +++ b/target/linux/brcm2708/patches-4.19/950-0294-arm64-dts-broadcom-Enable-fixups-for-overlays.patch @@ -1,7 +1,7 @@ -From 8390a0a036f76ab39bc8f44b6f29dd690318b4bd Mon Sep 17 00:00:00 2001 +From bb8f38337d08dc1ac78ab251aa0b515eea45a79e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Jan 2019 09:56:41 +0000 -Subject: [PATCH 294/773] arm64: dts: broadcom: Enable fixups for overlays +Subject: [PATCH 294/806] arm64: dts: broadcom: Enable fixups for overlays See: https://github.com/raspberrypi/linux/pull/2733 diff --git a/target/linux/brcm2708/patches-4.19/950-0295-sc16is7xx-Fix-for-Unexpected-interrupt-8.patch b/target/linux/brcm2708/patches-4.19/950-0295-sc16is7xx-Fix-for-Unexpected-interrupt-8.patch index 4791826170..614e1e9e24 100644 --- a/target/linux/brcm2708/patches-4.19/950-0295-sc16is7xx-Fix-for-Unexpected-interrupt-8.patch +++ b/target/linux/brcm2708/patches-4.19/950-0295-sc16is7xx-Fix-for-Unexpected-interrupt-8.patch @@ -1,7 +1,7 @@ -From 379ca7f3ea4501b11779bc6dd6a350873b6ff948 Mon Sep 17 00:00:00 2001 +From 53fc43d7a369bab50b4d3dce73adf7d522f0ee20 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 18 May 2018 10:26:59 +0100 -Subject: [PATCH 295/773] sc16is7xx: Fix for "Unexpected interrupt: 8" +Subject: [PATCH 295/806] 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 diff --git a/target/linux/brcm2708/patches-4.19/950-0296-dtoverlays-fe-pi-audio-fix-sgtl5000-compatible-strin.patch b/target/linux/brcm2708/patches-4.19/950-0296-dtoverlays-fe-pi-audio-fix-sgtl5000-compatible-strin.patch index 7853ba11ad..7e7dcd028e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0296-dtoverlays-fe-pi-audio-fix-sgtl5000-compatible-strin.patch +++ b/target/linux/brcm2708/patches-4.19/950-0296-dtoverlays-fe-pi-audio-fix-sgtl5000-compatible-strin.patch @@ -1,7 +1,7 @@ -From 93c7046bc6203b275a898a256c6777b7414d195c Mon Sep 17 00:00:00 2001 +From 1d26e4d72f2d0563cc6455e682a5d4c491de178c Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sun, 9 Dec 2018 16:46:00 -0500 -Subject: [PATCH 296/773] dtoverlays: fe-pi-audio: fix sgtl5000 compatible +Subject: [PATCH 296/806] dtoverlays: fe-pi-audio: fix sgtl5000 compatible string The compatible string was set to "fepi,sgtl5000", which worked for some diff --git a/target/linux/brcm2708/patches-4.19/950-0297-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch b/target/linux/brcm2708/patches-4.19/950-0297-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch index f37e9f4858..1c1f5e6e73 100644 --- a/target/linux/brcm2708/patches-4.19/950-0297-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0297-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch @@ -1,7 +1,7 @@ -From f59fbca1296b4d60bc82b636f4b3c86f76efdcd9 Mon Sep 17 00:00:00 2001 +From e5111d81c8efc17d8d585510980d3fe49c998741 Mon Sep 17 00:00:00 2001 From: Ezekiel Bethel Date: Wed, 12 Dec 2018 19:11:13 +0000 -Subject: [PATCH 297/773] bcm2835_smi: re-add dereference to fix DMA transfers +Subject: [PATCH 297/806] bcm2835_smi: re-add dereference to fix DMA transfers --- drivers/misc/bcm2835_smi.c | 2 +- diff --git a/target/linux/brcm2708/patches-4.19/950-0298-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch b/target/linux/brcm2708/patches-4.19/950-0298-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch index 20a2826d20..6759d3f154 100644 --- a/target/linux/brcm2708/patches-4.19/950-0298-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch +++ b/target/linux/brcm2708/patches-4.19/950-0298-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch @@ -1,7 +1,7 @@ -From 48f22938df85dab9dd9fb036f755f8e95ad64fe9 Mon Sep 17 00:00:00 2001 +From 020ee4d0d438b830ee40da8d9d3414de156a11e7 Mon Sep 17 00:00:00 2001 From: Joshua Emele Date: Wed, 7 Nov 2018 16:07:40 -0800 -Subject: [PATCH 298/773] lan78xx: Debounce link events to minimize poll storm +Subject: [PATCH 298/806] lan78xx: Debounce link events to minimize poll storm The bInterval is set to 4 (i.e. 8 microframes => 1ms) and the only bit that the driver pays attention to is "link was reset". If there's a diff --git a/target/linux/brcm2708/patches-4.19/950-0299-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch b/target/linux/brcm2708/patches-4.19/950-0299-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch index 1c0a498c09..400e38cba7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0299-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch +++ b/target/linux/brcm2708/patches-4.19/950-0299-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch @@ -1,7 +1,7 @@ -From a261f0db876f556d520c312f4b7730601f6fea62 Mon Sep 17 00:00:00 2001 +From 5705594ae56861cb63e7a3de1854e29ad1e830fd Mon Sep 17 00:00:00 2001 From: b-ak Date: Thu, 3 Jan 2019 00:01:08 +0530 -Subject: [PATCH 299/773] ASoC: Add support for AudioSense-Pi add-on soundcard +Subject: [PATCH 299/806] ASoC: Add support for AudioSense-Pi add-on soundcard AudioSense-Pi is a RPi HAT based on a TI's TLV320AIC32x4 stereo codec diff --git a/target/linux/brcm2708/patches-4.19/950-0300-BCM270X-Adding-device-tree-support-for-AudioSense-Pi.patch b/target/linux/brcm2708/patches-4.19/950-0300-BCM270X-Adding-device-tree-support-for-AudioSense-Pi.patch index 829d585933..4f64bd207c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0300-BCM270X-Adding-device-tree-support-for-AudioSense-Pi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0300-BCM270X-Adding-device-tree-support-for-AudioSense-Pi.patch @@ -1,7 +1,7 @@ -From 67aa948d8c028ae67697a06cd8cc88e8626a9d5f Mon Sep 17 00:00:00 2001 +From 0d2a0f4f4c00c958fb6e7a2673adbe51c2a932f2 Mon Sep 17 00:00:00 2001 From: b-ak Date: Thu, 3 Jan 2019 00:29:14 +0530 -Subject: [PATCH 300/773] BCM270X: Adding device tree support for AudioSense-Pi +Subject: [PATCH 300/806] BCM270X: Adding device tree support for AudioSense-Pi add-on soundcard Device tree overlay for AudioSense-Pi card. diff --git a/target/linux/brcm2708/patches-4.19/950-0301-configs-Add-CONFIG_SND_AUDIOSENSE_PI-m.patch b/target/linux/brcm2708/patches-4.19/950-0301-configs-Add-CONFIG_SND_AUDIOSENSE_PI-m.patch index 55ff323254..79fce63480 100644 --- a/target/linux/brcm2708/patches-4.19/950-0301-configs-Add-CONFIG_SND_AUDIOSENSE_PI-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0301-configs-Add-CONFIG_SND_AUDIOSENSE_PI-m.patch @@ -1,7 +1,7 @@ -From 60c0330e90ab343a36f65d91847a4271f90a45af Mon Sep 17 00:00:00 2001 +From fe1c38cdd947ffb68a006286d89e4eea32ccc451 Mon Sep 17 00:00:00 2001 From: b-ak Date: Fri, 4 Jan 2019 00:12:51 +0530 -Subject: [PATCH 301/773] configs: Add CONFIG_SND_AUDIOSENSE_PI=m +Subject: [PATCH 301/806] configs: Add CONFIG_SND_AUDIOSENSE_PI=m AudioSense-Pi add on soundcard configuration definitions diff --git a/target/linux/brcm2708/patches-4.19/950-0302-configs-Add-CONFIG_USB_TMC-m.patch b/target/linux/brcm2708/patches-4.19/950-0302-configs-Add-CONFIG_USB_TMC-m.patch index bdbbb31523..70fa002857 100644 --- a/target/linux/brcm2708/patches-4.19/950-0302-configs-Add-CONFIG_USB_TMC-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0302-configs-Add-CONFIG_USB_TMC-m.patch @@ -1,7 +1,7 @@ -From 15cf02160409bce25ba32acacf20f0afb30b5056 Mon Sep 17 00:00:00 2001 +From acbecc9a9a803bd580e6717f217cac1a13afa837 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 14 Jan 2019 08:50:55 +0000 -Subject: [PATCH 302/773] configs: Add CONFIG_USB_TMC=m +Subject: [PATCH 302/806] configs: Add CONFIG_USB_TMC=m Enable the Test & Measurement Class USB driver module. diff --git a/target/linux/brcm2708/patches-4.19/950-0303-overlays-sdio-Add-enhanced-1-bit-support.patch b/target/linux/brcm2708/patches-4.19/950-0303-overlays-sdio-Add-enhanced-1-bit-support.patch index e9d85028fe..35ebd59053 100644 --- a/target/linux/brcm2708/patches-4.19/950-0303-overlays-sdio-Add-enhanced-1-bit-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0303-overlays-sdio-Add-enhanced-1-bit-support.patch @@ -1,7 +1,7 @@ -From 89ddc12e60ce7da90c78d6710eca1904c8d48ad9 Mon Sep 17 00:00:00 2001 +From 788109b357ddb30a95be72ce46dc22e2335131af Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 10 Jan 2019 15:27:56 +0000 -Subject: [PATCH 303/773] overlays: sdio: Add enhanced 1-bit support +Subject: [PATCH 303/806] overlays: sdio: Add enhanced 1-bit support "dtoverlay=sdio,bus_width=1,gpios_22_25" is equivalent to the sdio-1bit overlay, which is now deprecated. diff --git a/target/linux/brcm2708/patches-4.19/950-0304-dwc_otg-fix-bug-with-port_addr-assignment-for-single.patch b/target/linux/brcm2708/patches-4.19/950-0304-dwc_otg-fix-bug-with-port_addr-assignment-for-single.patch index 0111cd0229..c80a2133e4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0304-dwc_otg-fix-bug-with-port_addr-assignment-for-single.patch +++ b/target/linux/brcm2708/patches-4.19/950-0304-dwc_otg-fix-bug-with-port_addr-assignment-for-single.patch @@ -1,7 +1,7 @@ -From ba152d9f0ed0b2d0cded255618a7d0b7150ac433 Mon Sep 17 00:00:00 2001 +From 6e56da00afdf11416045213552514d10bab845cc Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 16 Jan 2019 10:17:52 +0000 -Subject: [PATCH 304/773] dwc_otg: fix bug with port_addr assignment for +Subject: [PATCH 304/806] dwc_otg: fix bug with port_addr assignment for single-TT hubs See https://github.com/raspberrypi/linux/issues/2734 diff --git a/target/linux/brcm2708/patches-4.19/950-0305-configs-Add-CONFIG_USB_UAS-m.patch b/target/linux/brcm2708/patches-4.19/950-0305-configs-Add-CONFIG_USB_UAS-m.patch index b19fab0cb8..f5643daf55 100644 --- a/target/linux/brcm2708/patches-4.19/950-0305-configs-Add-CONFIG_USB_UAS-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0305-configs-Add-CONFIG_USB_UAS-m.patch @@ -1,7 +1,7 @@ -From 4e858578c2c96d5202d5eb73cf6cce4921f1edf6 Mon Sep 17 00:00:00 2001 +From 18a1208318d6ad321950aaed6d4a977c3dbacebd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 16 Jan 2019 21:26:13 +0000 -Subject: [PATCH 305/773] configs: Add CONFIG_USB_UAS=m +Subject: [PATCH 305/806] configs: Add CONFIG_USB_UAS=m Enable support for USB-attached-SCSI devicess. diff --git a/target/linux/brcm2708/patches-4.19/950-0306-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch b/target/linux/brcm2708/patches-4.19/950-0306-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch index 0f7a1ee0bd..136b7aa30f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0306-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch +++ b/target/linux/brcm2708/patches-4.19/950-0306-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch @@ -1,7 +1,7 @@ -From 4431d86306afc081e04532564614f3be7eb6094c Mon Sep 17 00:00:00 2001 +From dde0ec6b9fd5755de3a8962489cde9c0ce5e5005 Mon Sep 17 00:00:00 2001 From: HiFiBerry Date: Mon, 8 Oct 2018 18:10:12 +0200 -Subject: [PATCH 306/773] Added driver for the HiFiBerry DAC+ ADC (#2694) +Subject: [PATCH 306/806] Added driver for the HiFiBerry DAC+ ADC (#2694) Signed-off-by: Daniel Matuschek --- diff --git a/target/linux/brcm2708/patches-4.19/950-0308-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch b/target/linux/brcm2708/patches-4.19/950-0307-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0308-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch rename to target/linux/brcm2708/patches-4.19/950-0307-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch index 162a114da3..a7f526a038 100644 --- a/target/linux/brcm2708/patches-4.19/950-0308-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch +++ b/target/linux/brcm2708/patches-4.19/950-0307-pwm-Send-a-uevent-on-the-pwmchip-device-upon-channel.patch @@ -1,7 +1,7 @@ -From 8c2925d1981738ba8d8db4cbbb1052dfa2d42766 Mon Sep 17 00:00:00 2001 +From 20a5b38305df30e25b4429e0e34e35235dd57228 Mon Sep 17 00:00:00 2001 From: Fabrice Gasnier Date: Mon, 1 Oct 2018 15:23:57 +0200 -Subject: [PATCH 308/773] pwm: Send a uevent on the pwmchip device upon channel +Subject: [PATCH 307/806] pwm: Send a uevent on the pwmchip device upon channel sysfs (un)export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/target/linux/brcm2708/patches-4.19/950-0309-overlays-Add-ssd1306-overlay-for-OLED-display.patch b/target/linux/brcm2708/patches-4.19/950-0308-overlays-Add-ssd1306-overlay-for-OLED-display.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0309-overlays-Add-ssd1306-overlay-for-OLED-display.patch rename to target/linux/brcm2708/patches-4.19/950-0308-overlays-Add-ssd1306-overlay-for-OLED-display.patch index ea604d9800..703d3feb1f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0309-overlays-Add-ssd1306-overlay-for-OLED-display.patch +++ b/target/linux/brcm2708/patches-4.19/950-0308-overlays-Add-ssd1306-overlay-for-OLED-display.patch @@ -1,7 +1,7 @@ -From 120af8681859ee0b4d03ea9bd498075e21e6332b Mon Sep 17 00:00:00 2001 +From d8eac0d3e4f6c6f9e5f789c8e2288699b2afebcb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 21 Jan 2019 21:17:27 +0000 -Subject: [PATCH 309/773] overlays: Add ssd1306 overlay for OLED display +Subject: [PATCH 308/806] overlays: Add ssd1306 overlay for OLED display See: https://github.com/raspberrypi/firmware/issues/1098 diff --git a/target/linux/brcm2708/patches-4.19/950-0310-overlays-mcp23017-Support-the-MCP23008.patch b/target/linux/brcm2708/patches-4.19/950-0309-overlays-mcp23017-Support-the-MCP23008.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0310-overlays-mcp23017-Support-the-MCP23008.patch rename to target/linux/brcm2708/patches-4.19/950-0309-overlays-mcp23017-Support-the-MCP23008.patch index 494482bf14..94fc8ad55e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0310-overlays-mcp23017-Support-the-MCP23008.patch +++ b/target/linux/brcm2708/patches-4.19/950-0309-overlays-mcp23017-Support-the-MCP23008.patch @@ -1,7 +1,7 @@ -From 78d42658217a0301694564eb02d01e69ce326a32 Mon Sep 17 00:00:00 2001 +From c85a1ccbc6b1cab51a5fe5b916bcaf40bcd9096c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 21 Jan 2019 12:19:57 +0000 -Subject: [PATCH 310/773] overlays: mcp23017: Support the MCP23008 +Subject: [PATCH 309/806] overlays: mcp23017: Support the MCP23008 Add an 'mcp23008' parameter to enable support for the MCP23008 device. diff --git a/target/linux/brcm2708/patches-4.19/950-0311-overlays-Add-mcp342x-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0310-overlays-Add-mcp342x-overlay.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0311-overlays-Add-mcp342x-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0310-overlays-Add-mcp342x-overlay.patch index 02bd0c858e..3e4a4108cd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0311-overlays-Add-mcp342x-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0310-overlays-Add-mcp342x-overlay.patch @@ -1,7 +1,7 @@ -From a9f91d72dd27a97dd7a8547e52c2ee2ab945a26c Mon Sep 17 00:00:00 2001 +From b71f1fd962c66ba3fa46483f193cc2263146c5bf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 21 Jan 2019 12:23:55 +0000 -Subject: [PATCH 311/773] overlays: Add mcp342x overlay +Subject: [PATCH 310/806] overlays: Add mcp342x overlay Support the MCP342x family of ADCs from Microchip. diff --git a/target/linux/brcm2708/patches-4.19/950-0312-char-vcio-Add-compat-ioctl-handling.patch b/target/linux/brcm2708/patches-4.19/950-0311-char-vcio-Add-compat-ioctl-handling.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0312-char-vcio-Add-compat-ioctl-handling.patch rename to target/linux/brcm2708/patches-4.19/950-0311-char-vcio-Add-compat-ioctl-handling.patch index 5cfc932067..3f49bfed83 100644 --- a/target/linux/brcm2708/patches-4.19/950-0312-char-vcio-Add-compat-ioctl-handling.patch +++ b/target/linux/brcm2708/patches-4.19/950-0311-char-vcio-Add-compat-ioctl-handling.patch @@ -1,7 +1,7 @@ -From bd3e02b4297016f8d126f8caafdf7c50f7e27c44 Mon Sep 17 00:00:00 2001 +From 70194b474d22974cd46356e5b3d3b0582abd02da Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 24 Jan 2019 13:56:30 +0000 -Subject: [PATCH 312/773] char: vcio: Add compat ioctl handling +Subject: [PATCH 311/806] char: vcio: Add compat ioctl handling There was no compat ioctl handler, so 32 bit userspace on a 64 bit kernel failed as IOCTL_MBOX_PROPERTY used the size diff --git a/target/linux/brcm2708/patches-4.19/950-0313-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch b/target/linux/brcm2708/patches-4.19/950-0312-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0313-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch rename to target/linux/brcm2708/patches-4.19/950-0312-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch index 82a41e1225..2aadb3472e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0313-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch +++ b/target/linux/brcm2708/patches-4.19/950-0312-char-vcio-Fail-probe-if-rpi_firmware-is-not-found.patch @@ -1,7 +1,7 @@ -From 92f132ebff6c46e5a5cb5af689988c3a6e7725c8 Mon Sep 17 00:00:00 2001 +From 6880e5c73b75be683299debf391eba4f521cc20f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 24 Jan 2019 14:03:28 +0000 -Subject: [PATCH 313/773] char: vcio: Fail probe if rpi_firmware is not found. +Subject: [PATCH 312/806] char: vcio: Fail probe if rpi_firmware is not found. Device Tree is now the only supported config mechanism, therefore uncomment the block of code that fails the probe if the diff --git a/target/linux/brcm2708/patches-4.19/950-0314-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch b/target/linux/brcm2708/patches-4.19/950-0313-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0314-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch rename to target/linux/brcm2708/patches-4.19/950-0313-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch index c50292626b..02a5c62d86 100644 --- a/target/linux/brcm2708/patches-4.19/950-0314-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch +++ b/target/linux/brcm2708/patches-4.19/950-0313-staging-mmal-vchiq-Fix-client_component-for-64-bit-k.patch @@ -1,7 +1,7 @@ -From d8ef81fc96db5d2e11d4476435f5eb45ad7a2c66 Mon Sep 17 00:00:00 2001 +From 18511b66fee5967ed5631e7cbe2c263f07e956f9 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 22 Jan 2019 12:04:09 +0000 -Subject: [PATCH 314/773] staging: mmal-vchiq: Fix client_component for 64 bit +Subject: [PATCH 313/806] staging: mmal-vchiq: Fix client_component for 64 bit kernel The MMAL client_component field is used with the event diff --git a/target/linux/brcm2708/patches-4.19/950-0315-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch b/target/linux/brcm2708/patches-4.19/950-0314-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0315-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch rename to target/linux/brcm2708/patches-4.19/950-0314-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch index 827e8a9110..fadb149367 100644 --- a/target/linux/brcm2708/patches-4.19/950-0315-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch +++ b/target/linux/brcm2708/patches-4.19/950-0314-staging-bcm2835-camera-Add-sanity-checks-for-queue_s.patch @@ -1,7 +1,7 @@ -From 73ee9ac76651e7e52f23e0f69c2944918e659fe7 Mon Sep 17 00:00:00 2001 +From 6b3fde1207785584dbd1fdf65110cf60bd29b409 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 15 Jan 2019 15:35:24 +0000 -Subject: [PATCH 315/773] staging: bcm2835-camera: Add sanity checks for +Subject: [PATCH 314/806] staging: bcm2835-camera: Add sanity checks for queue_setup/CREATE_BUFS Fixes a v4l2-compliance failure when passed a buffer that is diff --git a/target/linux/brcm2708/patches-4.19/950-0316-staging-bcm2835-camera-Set-the-field-value-within-ea.patch b/target/linux/brcm2708/patches-4.19/950-0315-staging-bcm2835-camera-Set-the-field-value-within-ea.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0316-staging-bcm2835-camera-Set-the-field-value-within-ea.patch rename to target/linux/brcm2708/patches-4.19/950-0315-staging-bcm2835-camera-Set-the-field-value-within-ea.patch index fe2a76df91..46cbbba5e3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0316-staging-bcm2835-camera-Set-the-field-value-within-ea.patch +++ b/target/linux/brcm2708/patches-4.19/950-0315-staging-bcm2835-camera-Set-the-field-value-within-ea.patch @@ -1,7 +1,7 @@ -From 1cbfa86f148c2ab519b04ce9a3e3b21a9cb51f2e Mon Sep 17 00:00:00 2001 +From 7f67e8ed8ae17ddca0748975de0c0efad6a5e6bb Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 15 Jan 2019 16:32:33 +0000 -Subject: [PATCH 316/773] staging: bcm2835-camera: Set the field value within +Subject: [PATCH 315/806] staging: bcm2835-camera: Set the field value within each buffer Fixes a v4l2-compliance failure diff --git a/target/linux/brcm2708/patches-4.19/950-0317-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch b/target/linux/brcm2708/patches-4.19/950-0316-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0317-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch rename to target/linux/brcm2708/patches-4.19/950-0316-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch index 6d449e1730..866512859e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0317-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch +++ b/target/linux/brcm2708/patches-4.19/950-0316-char-vc_mem-Fix-up-compat-ioctls-for-64bit-kernel.patch @@ -1,7 +1,7 @@ -From 68d963b8d82f7fc5dcae235f3efb5151ea2ce258 Mon Sep 17 00:00:00 2001 +From 966ff2b4c758eb8c8c04f26422cd183e6aa8eda5 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 23 Jan 2019 18:25:50 +0000 -Subject: [PATCH 317/773] char: vc_mem: Fix up compat ioctls for 64bit kernel +Subject: [PATCH 316/806] char: vc_mem: Fix up compat ioctls for 64bit kernel compat_ioctl wasn't defined, so 32bit user/64bit kernel always failed. diff --git a/target/linux/brcm2708/patches-4.19/950-0318-char-vc_mem-Fix-all-coding-style-issues.patch b/target/linux/brcm2708/patches-4.19/950-0317-char-vc_mem-Fix-all-coding-style-issues.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0318-char-vc_mem-Fix-all-coding-style-issues.patch rename to target/linux/brcm2708/patches-4.19/950-0317-char-vc_mem-Fix-all-coding-style-issues.patch index 0723efff01..815900409d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0318-char-vc_mem-Fix-all-coding-style-issues.patch +++ b/target/linux/brcm2708/patches-4.19/950-0317-char-vc_mem-Fix-all-coding-style-issues.patch @@ -1,7 +1,7 @@ -From 13a47248597d82510f9a3ca2d17ff1214ad5216a Mon Sep 17 00:00:00 2001 +From 8d64f178c3568d212f3ddf05ea1ad7f103beeb86 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 23 Jan 2019 18:37:29 +0000 -Subject: [PATCH 318/773] char: vc_mem: Fix all coding style issues. +Subject: [PATCH 317/806] char: vc_mem: Fix all coding style issues. Cleans up all checkpatch errors in vc_mem.c and vc_mem.h No functional change to the code. diff --git a/target/linux/brcm2708/patches-4.19/950-0319-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch b/target/linux/brcm2708/patches-4.19/950-0318-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0319-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch rename to target/linux/brcm2708/patches-4.19/950-0318-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch index 604caec873..bb7c5b0173 100644 --- a/target/linux/brcm2708/patches-4.19/950-0319-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch +++ b/target/linux/brcm2708/patches-4.19/950-0318-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch @@ -1,7 +1,7 @@ -From bbfe2b3119cc3ee3656f059c17dc24260d0c54bf Mon Sep 17 00:00:00 2001 +From 83a7175c91133a3e7a746693847b447bf6297094 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 24 Jan 2019 15:09:28 +0000 -Subject: [PATCH 319/773] clk: clk-bcm2835: Use %zd when printing size_t +Subject: [PATCH 318/806] clk: clk-bcm2835: Use %zd when printing size_t The debug text for how many clocks have been registered uses "%d" with a size_t. Correct it to "%zd". diff --git a/target/linux/brcm2708/patches-4.19/950-0320-mfd-Add-rpi_sense_core-of-compatible-string.patch b/target/linux/brcm2708/patches-4.19/950-0319-mfd-Add-rpi_sense_core-of-compatible-string.patch similarity index 82% rename from target/linux/brcm2708/patches-4.19/950-0320-mfd-Add-rpi_sense_core-of-compatible-string.patch rename to target/linux/brcm2708/patches-4.19/950-0319-mfd-Add-rpi_sense_core-of-compatible-string.patch index 38487df178..8d51d63eee 100644 --- a/target/linux/brcm2708/patches-4.19/950-0320-mfd-Add-rpi_sense_core-of-compatible-string.patch +++ b/target/linux/brcm2708/patches-4.19/950-0319-mfd-Add-rpi_sense_core-of-compatible-string.patch @@ -1,7 +1,7 @@ -From a211e48e8dfe5d53f09f56d7c02519c3b18ec3bf Mon Sep 17 00:00:00 2001 +From 3e1371cc80a8153885cf87b06053ab2a2f1a1e66 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 29 Jan 2019 12:05:49 +0000 -Subject: [PATCH 320/773] mfd: Add rpi_sense_core of compatible string +Subject: [PATCH 319/806] mfd: Add rpi_sense_core of compatible string --- drivers/mfd/rpisense-core.c | 8 ++++++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0321-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch b/target/linux/brcm2708/patches-4.19/950-0320-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0321-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch rename to target/linux/brcm2708/patches-4.19/950-0320-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch index 3552e8b682..14116258da 100644 --- a/target/linux/brcm2708/patches-4.19/950-0321-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch +++ b/target/linux/brcm2708/patches-4.19/950-0320-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch @@ -1,7 +1,7 @@ -From 35f14d8d7ca31484d79e6ad8ec2f6ad1d15531f2 Mon Sep 17 00:00:00 2001 +From 32e0a9e2549c43d9abc03427ba6f3b7b8c2e1407 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 28 Jan 2019 14:40:16 +0000 -Subject: [PATCH 321/773] gpu: vc4_firmware_kms: Fix up 64 bit compile +Subject: [PATCH 320/806] gpu: vc4_firmware_kms: Fix up 64 bit compile warnings. Resolve two build warnings with regard using incorrectly diff --git a/target/linux/brcm2708/patches-4.19/950-0322-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch b/target/linux/brcm2708/patches-4.19/950-0321-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0322-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch rename to target/linux/brcm2708/patches-4.19/950-0321-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch index 1a27f9d1e3..de03d141d2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0322-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch +++ b/target/linux/brcm2708/patches-4.19/950-0321-input-rpi-ft5406-Clear-build-warning-on-64-bit-build.patch @@ -1,7 +1,7 @@ -From faacf8c01e29e8d1d8e8e6dae7c2f642c19a4049 Mon Sep 17 00:00:00 2001 +From 61ce13e4ab846aa035037217c5eec6aff229e539 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 28 Jan 2019 14:42:34 +0000 -Subject: [PATCH 322/773] input: rpi-ft5406: Clear build warning on 64 bit +Subject: [PATCH 321/806] input: rpi-ft5406: Clear build warning on 64 bit builds. Resolve 64 bit build warning over using %x with a dma_addr_t. diff --git a/target/linux/brcm2708/patches-4.19/950-0323-dtoverlays-Correct-DT-handling-camera-GPIOs.patch b/target/linux/brcm2708/patches-4.19/950-0322-dtoverlays-Correct-DT-handling-camera-GPIOs.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0323-dtoverlays-Correct-DT-handling-camera-GPIOs.patch rename to target/linux/brcm2708/patches-4.19/950-0322-dtoverlays-Correct-DT-handling-camera-GPIOs.patch index 2d22f6b136..3b8ccffa22 100644 --- a/target/linux/brcm2708/patches-4.19/950-0323-dtoverlays-Correct-DT-handling-camera-GPIOs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0322-dtoverlays-Correct-DT-handling-camera-GPIOs.patch @@ -1,7 +1,7 @@ -From 272b4a8b54d9aa54b889839f391062d167976d6c Mon Sep 17 00:00:00 2001 +From 5c0dfdba54fdaeb813d8535283aa8f75080e1055 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 18 Sep 2018 10:47:38 +0100 -Subject: [PATCH 323/773] dtoverlays: Correct DT handling camera GPIOs +Subject: [PATCH 322/806] dtoverlays: Correct DT handling camera GPIOs The firmware has support for updating overrides with the correct GPIO settings for the camera GPIOs, but the wrong device tree diff --git a/target/linux/brcm2708/patches-4.19/950-0324-media-ov5647-Use-gpiod_set_value_cansleep.patch b/target/linux/brcm2708/patches-4.19/950-0323-media-ov5647-Use-gpiod_set_value_cansleep.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0324-media-ov5647-Use-gpiod_set_value_cansleep.patch rename to target/linux/brcm2708/patches-4.19/950-0323-media-ov5647-Use-gpiod_set_value_cansleep.patch index f02ef1b947..84c09bb37f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0324-media-ov5647-Use-gpiod_set_value_cansleep.patch +++ b/target/linux/brcm2708/patches-4.19/950-0323-media-ov5647-Use-gpiod_set_value_cansleep.patch @@ -1,7 +1,7 @@ -From 1b288333b646bc496ffd12d1319bed07665fadd0 Mon Sep 17 00:00:00 2001 +From 3be30ee1b3aafd7c6cc45bcea77f25c9613732f4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 18 Sep 2018 11:08:51 +0100 -Subject: [PATCH 324/773] media: ov5647: Use gpiod_set_value_cansleep +Subject: [PATCH 323/806] media: ov5647: Use gpiod_set_value_cansleep All calls to the gpio library are in contexts that can sleep, therefore there is no issue with having those GPIOs controlled diff --git a/target/linux/brcm2708/patches-4.19/950-0325-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch b/target/linux/brcm2708/patches-4.19/950-0324-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0325-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch rename to target/linux/brcm2708/patches-4.19/950-0324-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch index 3acdacecd2..f7488593e2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0325-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch +++ b/target/linux/brcm2708/patches-4.19/950-0324-media-bcm2835-unicam-Power-on-subdev-on-open-release.patch @@ -1,7 +1,7 @@ -From 14dccf96c00c9c1cd18843e5a4bb37e12eebe01e Mon Sep 17 00:00:00 2001 +From bf1805e0c8c4fc05e2a13b0a03b510ff4e523418 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 29 Jan 2019 15:56:10 +0000 -Subject: [PATCH 325/773] media:bcm2835-unicam: Power on subdev on +Subject: [PATCH 324/806] media:bcm2835-unicam: Power on subdev on open/release, not streaming The driver was powering on the source subdevice as part of STREAMON, diff --git a/target/linux/brcm2708/patches-4.19/950-0326-audioinjector-octo-revert-to-dummy-supplies.patch b/target/linux/brcm2708/patches-4.19/950-0325-audioinjector-octo-revert-to-dummy-supplies.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0326-audioinjector-octo-revert-to-dummy-supplies.patch rename to target/linux/brcm2708/patches-4.19/950-0325-audioinjector-octo-revert-to-dummy-supplies.patch index b69a55e792..8b8842fd23 100644 --- a/target/linux/brcm2708/patches-4.19/950-0326-audioinjector-octo-revert-to-dummy-supplies.patch +++ b/target/linux/brcm2708/patches-4.19/950-0325-audioinjector-octo-revert-to-dummy-supplies.patch @@ -1,7 +1,7 @@ -From 310cdebd4b630b0b618595a3fd393ca8a80311d1 Mon Sep 17 00:00:00 2001 +From 0e69aceab4e7615cf631a8c7bdb25093cbba240a Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 29 Jan 2019 14:56:03 +1100 -Subject: [PATCH 326/773] audioinjector-octo: revert to dummy supplies +Subject: [PATCH 325/806] audioinjector-octo: revert to dummy supplies The Audio Injector Octo has had a lot of reports of not coming up on power cycles. By reverting to dummy supplies, the card comes up reliably. --- diff --git a/target/linux/brcm2708/patches-4.19/950-0327-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch b/target/linux/brcm2708/patches-4.19/950-0326-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0327-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch rename to target/linux/brcm2708/patches-4.19/950-0326-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch index 7167dbcc30..62d37c5e88 100644 --- a/target/linux/brcm2708/patches-4.19/950-0327-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch +++ b/target/linux/brcm2708/patches-4.19/950-0326-staging-bcm2835-camera-Correct-ctrl-min-max-step-def.patch @@ -1,7 +1,7 @@ -From 8894fd21a50523e30ce4bb478d54f2bd47098785 Mon Sep 17 00:00:00 2001 +From 8c420772ef0f15ebbc3f13ebcc340d34bbdfad71 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 24 Jan 2019 16:20:38 +0000 -Subject: [PATCH 327/773] staging: bcm2835-camera: Correct ctrl +Subject: [PATCH 326/806] staging: bcm2835-camera: Correct ctrl min/max/step/def to 64bit The V4L2 control API was expanded to take 64 bit values in commit diff --git a/target/linux/brcm2708/patches-4.19/950-0328-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch b/target/linux/brcm2708/patches-4.19/950-0327-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0328-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch rename to target/linux/brcm2708/patches-4.19/950-0327-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch index 5ead693be2..92796e7140 100644 --- a/target/linux/brcm2708/patches-4.19/950-0328-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch +++ b/target/linux/brcm2708/patches-4.19/950-0327-staging-bcm2835-codec-variable-vb2-may-be-used-unini.patch @@ -1,7 +1,7 @@ -From eecc64a7461ec622c1a52b95996475e05aa0805a Mon Sep 17 00:00:00 2001 +From 8920ce80058cfa3d18dc8bc7535119e9986dbad7 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 24 Jan 2019 16:40:01 +0000 -Subject: [PATCH 328/773] staging: bcm2835-codec: variable vb2 may be used +Subject: [PATCH 327/806] staging: bcm2835-codec: variable vb2 may be used uninitialised In op_buffer_cb, the failure path checked whether there was diff --git a/target/linux/brcm2708/patches-4.19/950-0329-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch b/target/linux/brcm2708/patches-4.19/950-0328-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0329-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch rename to target/linux/brcm2708/patches-4.19/950-0328-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch index 12f5826046..8d6cfda397 100644 --- a/target/linux/brcm2708/patches-4.19/950-0329-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0328-staging-bcm2835-codec-Fix-potentially-uninitialised-.patch @@ -1,7 +1,7 @@ -From c0414e76f810112e8aa12935f898048e42755309 Mon Sep 17 00:00:00 2001 +From 7e3cada9dae5d030256605a28df9537b26e776a8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 24 Jan 2019 16:36:19 +0000 -Subject: [PATCH 329/773] staging: bcm2835-codec: Fix potentially uninitialised +Subject: [PATCH 328/806] staging: bcm2835-codec: Fix potentially uninitialised vars src_m2m_buf and dst_m2m_buf were printed in log messages diff --git a/target/linux/brcm2708/patches-4.19/950-0330-video-bcm2708_fb-Add-compat_ioctl-support.patch b/target/linux/brcm2708/patches-4.19/950-0329-video-bcm2708_fb-Add-compat_ioctl-support.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0330-video-bcm2708_fb-Add-compat_ioctl-support.patch rename to target/linux/brcm2708/patches-4.19/950-0329-video-bcm2708_fb-Add-compat_ioctl-support.patch index 7a148b7f2c..9f3ea3015c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0330-video-bcm2708_fb-Add-compat_ioctl-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0329-video-bcm2708_fb-Add-compat_ioctl-support.patch @@ -1,7 +1,7 @@ -From 95ec26bfa0bb7a795f60f6689e959ed1f845c329 Mon Sep 17 00:00:00 2001 +From b5bd7b621f6ab2f29e9f18ec2a2720d702b9727c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 25 Jan 2019 17:12:54 +0000 -Subject: [PATCH 330/773] video: bcm2708_fb: Add compat_ioctl support. +Subject: [PATCH 329/806] video: bcm2708_fb: Add compat_ioctl support. When using a 64 bit kernel with 32 bit userspace we need compat ioctl handling for FBIODMACOPY as one of the diff --git a/target/linux/brcm2708/patches-4.19/950-0331-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch b/target/linux/brcm2708/patches-4.19/950-0330-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0331-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch rename to target/linux/brcm2708/patches-4.19/950-0330-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch index 3aa24171e7..7001c94953 100644 --- a/target/linux/brcm2708/patches-4.19/950-0331-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch +++ b/target/linux/brcm2708/patches-4.19/950-0330-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch @@ -1,7 +1,7 @@ -From f9b68cece60f58318b350772b732ddac81c6f0d4 Mon Sep 17 00:00:00 2001 +From ca128febc6abc040d747ddc0808fd203c135668e Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 25 Jan 2019 17:11:39 +0000 -Subject: [PATCH 331/773] video: bcm2708_fb: Fix warnings on 64 bit builds +Subject: [PATCH 330/806] video: bcm2708_fb: Fix warnings on 64 bit builds Fix up logging lines where the wrong format specifiers were being used. diff --git a/target/linux/brcm2708/patches-4.19/950-0332-video-bcm2708_fb-Clean-up-coding-style-issues.patch b/target/linux/brcm2708/patches-4.19/950-0331-video-bcm2708_fb-Clean-up-coding-style-issues.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0332-video-bcm2708_fb-Clean-up-coding-style-issues.patch rename to target/linux/brcm2708/patches-4.19/950-0331-video-bcm2708_fb-Clean-up-coding-style-issues.patch index e0ed5a9529..0ee91bf15e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0332-video-bcm2708_fb-Clean-up-coding-style-issues.patch +++ b/target/linux/brcm2708/patches-4.19/950-0331-video-bcm2708_fb-Clean-up-coding-style-issues.patch @@ -1,7 +1,7 @@ -From 8c765494f608d80c51ab19838ab428b5984ca684 Mon Sep 17 00:00:00 2001 +From 47f7687efaf3873fe8c0e47653515e9ada1b86da Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 25 Jan 2019 17:32:54 +0000 -Subject: [PATCH 332/773] video: bcm2708_fb: Clean up coding style issues +Subject: [PATCH 331/806] video: bcm2708_fb: Clean up coding style issues Now checkpatch clean except for 2 long lines, missing SPDX header, and no DT documentation. diff --git a/target/linux/brcm2708/patches-4.19/950-0333-bcm2835-dma-Add-support-for-per-channel-flags.patch b/target/linux/brcm2708/patches-4.19/950-0332-bcm2835-dma-Add-support-for-per-channel-flags.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0333-bcm2835-dma-Add-support-for-per-channel-flags.patch rename to target/linux/brcm2708/patches-4.19/950-0332-bcm2835-dma-Add-support-for-per-channel-flags.patch index d28321192b..566e67c4fe 100644 --- a/target/linux/brcm2708/patches-4.19/950-0333-bcm2835-dma-Add-support-for-per-channel-flags.patch +++ b/target/linux/brcm2708/patches-4.19/950-0332-bcm2835-dma-Add-support-for-per-channel-flags.patch @@ -1,7 +1,7 @@ -From f64a82df270c494b5857508d7e5287b1f3fee3e6 Mon Sep 17 00:00:00 2001 +From 4ebec374d97c0bba1e41558071bfa062894b07a0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 20 Jul 2018 22:03:41 +0100 -Subject: [PATCH 333/773] bcm2835-dma: Add support for per-channel flags +Subject: [PATCH 332/806] bcm2835-dma: Add support for per-channel flags Add the ability to interpret the high bits of the dreq specifier as flags to be included in the DMA_CS register. The motivation for this diff --git a/target/linux/brcm2708/patches-4.19/950-0334-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch b/target/linux/brcm2708/patches-4.19/950-0333-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch similarity index 80% rename from target/linux/brcm2708/patches-4.19/950-0334-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch rename to target/linux/brcm2708/patches-4.19/950-0333-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch index 0dd8ab5965..0aab4b67c1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0334-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0333-bcm283x-Set-the-DISDEBUG-flag-for-SD-transfers.patch @@ -1,7 +1,7 @@ -From d3f3bb6aa32c371b207db913d037775d3c07e872 Mon Sep 17 00:00:00 2001 +From 18a739ba2e76a5e2bb3a02d9083faeabdee93777 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 20 Jul 2018 22:08:05 +0100 -Subject: [PATCH 334/773] bcm283x: Set the DISDEBUG flag for SD transfers +Subject: [PATCH 333/806] bcm283x: Set the DISDEBUG flag for SD transfers Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0335-ASoC-pcm512x-Implement-the-digital_mute-interface.patch b/target/linux/brcm2708/patches-4.19/950-0334-ASoC-pcm512x-Implement-the-digital_mute-interface.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0335-ASoC-pcm512x-Implement-the-digital_mute-interface.patch rename to target/linux/brcm2708/patches-4.19/950-0334-ASoC-pcm512x-Implement-the-digital_mute-interface.patch index 103a3f66a4..3b9d93164d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0335-ASoC-pcm512x-Implement-the-digital_mute-interface.patch +++ b/target/linux/brcm2708/patches-4.19/950-0334-ASoC-pcm512x-Implement-the-digital_mute-interface.patch @@ -1,7 +1,7 @@ -From 6890e531417c6f03b9b65279d354622b40d0f685 Mon Sep 17 00:00:00 2001 +From 4a15efde52bb79bf44e63b998cd84f896404d728 Mon Sep 17 00:00:00 2001 From: Dimitris Papavasiliou Date: Sat, 24 Nov 2018 22:05:42 +0200 -Subject: [PATCH 335/773] ASoC: pcm512x: Implement the digital_mute interface +Subject: [PATCH 334/806] ASoC: pcm512x: Implement the digital_mute interface [ Upstream commit 3500f1c589e92e0b6b1f8d31b4084fbde08d49cb ] diff --git a/target/linux/brcm2708/patches-4.19/950-0336-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch b/target/linux/brcm2708/patches-4.19/950-0335-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0336-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch rename to target/linux/brcm2708/patches-4.19/950-0335-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch index b128545c17..7674de284b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0336-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch +++ b/target/linux/brcm2708/patches-4.19/950-0335-ASoC-pcm512x-Fix-a-double-unlock-in-pcm512x_digital_.patch @@ -1,7 +1,7 @@ -From 47b24be0bda7091c1caa52e2d376408d024cd951 Mon Sep 17 00:00:00 2001 +From 26001d54a7f803258b161f25f457ce11523695d7 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 21 Dec 2018 12:11:20 +0300 -Subject: [PATCH 336/773] ASoC: pcm512x: Fix a double unlock in +Subject: [PATCH 335/806] ASoC: pcm512x: Fix a double unlock in pcm512x_digital_mute() [ Upstream commit 28b698b7342c7d5300cfe217cd77ff7d2a55e03d ] diff --git a/target/linux/brcm2708/patches-4.19/950-0337-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch b/target/linux/brcm2708/patches-4.19/950-0336-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0337-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch rename to target/linux/brcm2708/patches-4.19/950-0336-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch index 54973c3f92..4e30ab8881 100644 --- a/target/linux/brcm2708/patches-4.19/950-0337-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch +++ b/target/linux/brcm2708/patches-4.19/950-0336-usb-dwc_otg-Clean-up-build-warnings-on-64bit-kernels.patch @@ -1,7 +1,7 @@ -From 58c69efc71cd89aa187b333df93bf0d59cb2f18c Mon Sep 17 00:00:00 2001 +From d2536830d8f1ef06afdc84c5ac6e1a70b3a2bc40 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 25 Jan 2019 16:03:31 +0000 -Subject: [PATCH 337/773] usb: dwc_otg: Clean up build warnings on 64bit +Subject: [PATCH 336/806] usb: dwc_otg: Clean up build warnings on 64bit kernels No functional changes. Almost all are changes to logging lines. diff --git a/target/linux/brcm2708/patches-4.19/950-0338-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch b/target/linux/brcm2708/patches-4.19/950-0337-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0338-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch rename to target/linux/brcm2708/patches-4.19/950-0337-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch index 62fca40ccc..49fb4d7dde 100644 --- a/target/linux/brcm2708/patches-4.19/950-0338-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch +++ b/target/linux/brcm2708/patches-4.19/950-0337-usb-dwc_otg-Use-dma-allocation-for-mphi-dummy_send-b.patch @@ -1,7 +1,7 @@ -From 1f3f31854a8f073ca97633192179055770d6bb88 Mon Sep 17 00:00:00 2001 +From f0d93c5098283f88ea1de3af152a190177da8f36 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 30 Jan 2019 17:47:51 +0000 -Subject: [PATCH 338/773] usb: dwc_otg: Use dma allocation for mphi dummy_send +Subject: [PATCH 337/806] usb: dwc_otg: Use dma allocation for mphi dummy_send buffer The FIQ driver used a kzalloc'ed buffer for dummy_send, diff --git a/target/linux/brcm2708/patches-4.19/950-0339-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch b/target/linux/brcm2708/patches-4.19/950-0338-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0339-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch rename to target/linux/brcm2708/patches-4.19/950-0338-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch index 0cdc812cf3..02cb74d9fa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0339-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch +++ b/target/linux/brcm2708/patches-4.19/950-0338-staging-vchiq_arm-Set-up-dma-ranges-on-child-devices.patch @@ -1,7 +1,7 @@ -From 40002e5f988a815a9bdfc20a015b64ebed0b7383 Mon Sep 17 00:00:00 2001 +From f03f60a51efdf7fbc1f7d2c5b120a7de93ea6d9e Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 29 Jan 2019 16:13:25 +0000 -Subject: [PATCH 339/773] staging: vchiq_arm: Set up dma ranges on child +Subject: [PATCH 338/806] staging: vchiq_arm: Set up dma ranges on child devices The VCHIQ driver now loads the audio, camera, codec, and vc-sm diff --git a/target/linux/brcm2708/patches-4.19/950-0340-staging-vc-sm-cma-Correct-DMA-configuration.patch b/target/linux/brcm2708/patches-4.19/950-0339-staging-vc-sm-cma-Correct-DMA-configuration.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0340-staging-vc-sm-cma-Correct-DMA-configuration.patch rename to target/linux/brcm2708/patches-4.19/950-0339-staging-vc-sm-cma-Correct-DMA-configuration.patch index db2cc1c617..fc5ffbd30b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0340-staging-vc-sm-cma-Correct-DMA-configuration.patch +++ b/target/linux/brcm2708/patches-4.19/950-0339-staging-vc-sm-cma-Correct-DMA-configuration.patch @@ -1,7 +1,7 @@ -From 6afaa5b0979652ba9cf1f6fc312089ac99b29264 Mon Sep 17 00:00:00 2001 +From ea000a969afa022776bdf8050aaa501b2679e028 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 29 Jan 2019 16:24:41 +0000 -Subject: [PATCH 340/773] staging: vc-sm-cma: Correct DMA configuration. +Subject: [PATCH 339/806] staging: vc-sm-cma: Correct DMA configuration. Now that VCHIQ is setting up the DMA configuration as our parent device, don't try to configure it during probe. diff --git a/target/linux/brcm2708/patches-4.19/950-0341-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch b/target/linux/brcm2708/patches-4.19/950-0340-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0341-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch rename to target/linux/brcm2708/patches-4.19/950-0340-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch index 7341ec49ed..13aba4f303 100644 --- a/target/linux/brcm2708/patches-4.19/950-0341-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch +++ b/target/linux/brcm2708/patches-4.19/950-0340-staging-vc-sm-cma-Use-a-void-pointer-as-the-handle-w.patch @@ -1,7 +1,7 @@ -From 214e70c418ffa33753c5e4cf9b9b79a45c5c7b10 Mon Sep 17 00:00:00 2001 +From df84621e5bd5cc206d1039ce0880ccd0b325525b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 29 Jan 2019 16:29:00 +0000 -Subject: [PATCH 341/773] staging: vc-sm-cma: Use a void* pointer as the handle +Subject: [PATCH 340/806] staging: vc-sm-cma: Use a void* pointer as the handle within the kernel The driver was using an unsigned int as the handle to the outside world, diff --git a/target/linux/brcm2708/patches-4.19/950-0342-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch b/target/linux/brcm2708/patches-4.19/950-0341-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0342-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch rename to target/linux/brcm2708/patches-4.19/950-0341-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch index 3d21876aab..7907a7ad5f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0342-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch +++ b/target/linux/brcm2708/patches-4.19/950-0341-staging-vc-sm-cma-Fix-up-for-64bit-builds.patch @@ -1,7 +1,7 @@ -From 089f8e668fc58953362a62e2031da7c194d96d31 Mon Sep 17 00:00:00 2001 +From 696aa66a971b20e4f00431cb53747f0e4b92bb03 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 29 Jan 2019 16:32:57 +0000 -Subject: [PATCH 342/773] staging: vc-sm-cma: Fix up for 64bit builds +Subject: [PATCH 341/806] staging: vc-sm-cma: Fix up for 64bit builds There were a number of logging lines that were using inappropriate formatting under 64bit kernels. diff --git a/target/linux/brcm2708/patches-4.19/950-0343-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch b/target/linux/brcm2708/patches-4.19/950-0342-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0343-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch rename to target/linux/brcm2708/patches-4.19/950-0342-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch index 7d4dec8e61..c4e668a6e8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0343-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch +++ b/target/linux/brcm2708/patches-4.19/950-0342-configs-Add-Unicam-and-subdevices-to-bcmrpi3_defconf.patch @@ -1,7 +1,7 @@ -From 4dc2f642e3be9005b29a1ed5b0d0418edda77264 Mon Sep 17 00:00:00 2001 +From 9e9600b345cfb1f5c15ed2425e711e08bb4e0b19 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 4 Feb 2019 12:35:06 +0000 -Subject: [PATCH 343/773] configs: Add Unicam and subdevices to +Subject: [PATCH 342/806] configs: Add Unicam and subdevices to bcmrpi3_defconfig The bcm2835-unicam, tc358743, adv7180 (for adv7282m) and ov5647 diff --git a/target/linux/brcm2708/patches-4.19/950-0344-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch b/target/linux/brcm2708/patches-4.19/950-0343-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0344-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch rename to target/linux/brcm2708/patches-4.19/950-0343-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch index 9ce9b5d6b8..3af3ad044e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0344-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch +++ b/target/linux/brcm2708/patches-4.19/950-0343-configs-Add-VIDEO_BCM2835-to-bcmrpi3_defconfig.patch @@ -1,7 +1,7 @@ -From a37d181c1f7a83fe929a3ce05f048b47bc309ac5 Mon Sep 17 00:00:00 2001 +From 07a1355117f3e1feb5e0b117b9f7cbe7205a40ee Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 4 Feb 2019 12:45:25 +0000 -Subject: [PATCH 344/773] configs: Add VIDEO_BCM2835 to bcmrpi3_defconfig +Subject: [PATCH 343/806] configs: Add VIDEO_BCM2835 to bcmrpi3_defconfig This is now shown to work with 64 bit kernels, so add it to the defconfig. diff --git a/target/linux/brcm2708/patches-4.19/950-0345-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch b/target/linux/brcm2708/patches-4.19/950-0344-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0345-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch rename to target/linux/brcm2708/patches-4.19/950-0344-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch index 9a52d5a4c7..1c807ac18b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0345-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch +++ b/target/linux/brcm2708/patches-4.19/950-0344-configs-Add-V4L2-codec-driver-to-bcmrpi3_defconfig.patch @@ -1,7 +1,7 @@ -From d9dc83cdca70487efcd71e7760388fa8952f7d88 Mon Sep 17 00:00:00 2001 +From 61a7807530c66312174b7088b4570491291592f8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 4 Feb 2019 13:42:51 +0000 -Subject: [PATCH 345/773] configs: Add V4L2 codec driver to bcmrpi3_defconfig +Subject: [PATCH 344/806] configs: Add V4L2 codec driver to bcmrpi3_defconfig As this is now fixed to work with 64bit kernels, add it to the defconfig. diff --git a/target/linux/brcm2708/patches-4.19/950-0346-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch b/target/linux/brcm2708/patches-4.19/950-0345-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch similarity index 81% rename from target/linux/brcm2708/patches-4.19/950-0346-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch rename to target/linux/brcm2708/patches-4.19/950-0345-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch index eb84d1882f..9086326ebb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0346-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch +++ b/target/linux/brcm2708/patches-4.19/950-0345-config-Add-IPVLAN-module-to-bcmrpi3_defconfig.patch @@ -1,7 +1,7 @@ -From 5ea3b3e2a280f4aa6191bd79a8c606b3d7ca78d6 Mon Sep 17 00:00:00 2001 +From 03d555e309627080adf8ba8f4eb28093f5d8e2ee Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 5 Feb 2019 12:31:23 +0000 -Subject: [PATCH 346/773] config: Add IPVLAN module to bcmrpi3_defconfig +Subject: [PATCH 345/806] config: Add IPVLAN module to bcmrpi3_defconfig It's built for the 32bit kernels, but not for the 64bit ones. diff --git a/target/linux/brcm2708/patches-4.19/950-0347-configs-Enable-the-AD193x-codecs.patch b/target/linux/brcm2708/patches-4.19/950-0346-configs-Enable-the-AD193x-codecs.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0347-configs-Enable-the-AD193x-codecs.patch rename to target/linux/brcm2708/patches-4.19/950-0346-configs-Enable-the-AD193x-codecs.patch index a6c7473129..f660d8f721 100644 --- a/target/linux/brcm2708/patches-4.19/950-0347-configs-Enable-the-AD193x-codecs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0346-configs-Enable-the-AD193x-codecs.patch @@ -1,7 +1,7 @@ -From 1b58612a44597525052617f2cb23e873ad433d2f Mon Sep 17 00:00:00 2001 +From 3ffbec3df726c6d36ef728d476cb3ff3fcc17c81 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 7 Feb 2019 18:16:25 +0000 -Subject: [PATCH 347/773] configs: Enable the AD193x codecs +Subject: [PATCH 346/806] configs: Enable the AD193x codecs See: https://github.com/raspberrypi/linux/issues/2850 diff --git a/target/linux/brcm2708/patches-4.19/950-0348-overlays-balenaFin-v1.1.0-carrier-board-update.patch b/target/linux/brcm2708/patches-4.19/950-0347-overlays-balenaFin-v1.1.0-carrier-board-update.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0348-overlays-balenaFin-v1.1.0-carrier-board-update.patch rename to target/linux/brcm2708/patches-4.19/950-0347-overlays-balenaFin-v1.1.0-carrier-board-update.patch index 565f1daae4..e07a005d6e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0348-overlays-balenaFin-v1.1.0-carrier-board-update.patch +++ b/target/linux/brcm2708/patches-4.19/950-0347-overlays-balenaFin-v1.1.0-carrier-board-update.patch @@ -1,7 +1,7 @@ -From 0ea3707233c090b6978f7cd941a75d5a3d1eacc8 Mon Sep 17 00:00:00 2001 +From 6cafe647492605d21c2418b6261bf3182b9229f2 Mon Sep 17 00:00:00 2001 From: Zahari Petkov Date: Fri, 8 Feb 2019 13:03:38 +0200 -Subject: [PATCH 348/773] overlays: balenaFin v1.1.0 carrier board update +Subject: [PATCH 347/806] overlays: balenaFin v1.1.0 carrier board update A backward compatible update for the balenaFin carrier board for the Raspberry Pi Compute Module 3/3+ Lite. diff --git a/target/linux/brcm2708/patches-4.19/950-0349-configs-Add-CONFIG_LEDS_PCA963X-m.patch b/target/linux/brcm2708/patches-4.19/950-0348-configs-Add-CONFIG_LEDS_PCA963X-m.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0349-configs-Add-CONFIG_LEDS_PCA963X-m.patch rename to target/linux/brcm2708/patches-4.19/950-0348-configs-Add-CONFIG_LEDS_PCA963X-m.patch index 39f96e534d..0777476f53 100644 --- a/target/linux/brcm2708/patches-4.19/950-0349-configs-Add-CONFIG_LEDS_PCA963X-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0348-configs-Add-CONFIG_LEDS_PCA963X-m.patch @@ -1,7 +1,7 @@ -From 4fba1540bd76c356a0c9930f5cccba019e6be3ad Mon Sep 17 00:00:00 2001 +From 850add91653a4f9f467b8d7ec0cc7633d8252c77 Mon Sep 17 00:00:00 2001 From: Zahari Petkov Date: Fri, 8 Feb 2019 13:33:47 +0200 -Subject: [PATCH 349/773] configs: Add CONFIG_LEDS_PCA963X=m +Subject: [PATCH 348/806] configs: Add CONFIG_LEDS_PCA963X=m Enable support for PCA963x I2C chip. diff --git a/target/linux/brcm2708/patches-4.19/950-0350-Revert-brcmfmac-Mute-expected-startup-errors.patch b/target/linux/brcm2708/patches-4.19/950-0349-Revert-brcmfmac-Mute-expected-startup-errors.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0350-Revert-brcmfmac-Mute-expected-startup-errors.patch rename to target/linux/brcm2708/patches-4.19/950-0349-Revert-brcmfmac-Mute-expected-startup-errors.patch index 673d2c102d..9c979c3e97 100644 --- a/target/linux/brcm2708/patches-4.19/950-0350-Revert-brcmfmac-Mute-expected-startup-errors.patch +++ b/target/linux/brcm2708/patches-4.19/950-0349-Revert-brcmfmac-Mute-expected-startup-errors.patch @@ -1,7 +1,7 @@ -From 206ac51ef76b535c3f37690189000d0a34b38282 Mon Sep 17 00:00:00 2001 +From 5d84bc88f90406e9db501dabc1bc519ae8b34d88 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 18 Feb 2019 15:43:30 +0000 -Subject: [PATCH 350/773] Revert "brcmfmac: Mute expected startup 'errors'" +Subject: [PATCH 349/806] Revert "brcmfmac: Mute expected startup 'errors'" This reverts commit 34eba9138ccf8d84552ab9dae37d8f348640e663. diff --git a/target/linux/brcm2708/patches-4.19/950-0351-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch b/target/linux/brcm2708/patches-4.19/950-0350-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0351-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch rename to target/linux/brcm2708/patches-4.19/950-0350-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch index 46a972ef22..d2089d7ca3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0351-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch +++ b/target/linux/brcm2708/patches-4.19/950-0350-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch @@ -1,7 +1,7 @@ -From a38d0527a01e53499a5c54b49c2e56b518b75b48 Mon Sep 17 00:00:00 2001 +From e5285033e0fbfb6750d7d39e7edebf67a16c8434 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 19 Feb 2019 15:06:31 +0000 -Subject: [PATCH 351/773] gpu:vc4-fkms: Update driver to not use plane->crtc. +Subject: [PATCH 350/806] gpu:vc4-fkms: Update driver to not use plane->crtc. Following on from commit 2f958af7fc248 ("drm/vc4: Stop updating plane->fb/crtc") diff --git a/target/linux/brcm2708/patches-4.19/950-0352-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch b/target/linux/brcm2708/patches-4.19/950-0351-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0352-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch rename to target/linux/brcm2708/patches-4.19/950-0351-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch index 2aefdc3c39..956b8107c1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0352-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch +++ b/target/linux/brcm2708/patches-4.19/950-0351-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch @@ -1,7 +1,7 @@ -From c4e9410fc4e06792f4b895b9bfbd70f5e842c7de Mon Sep 17 00:00:00 2001 +From bb8e85deab20dd38c26d354452e1ac42add37530 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 19 Feb 2019 15:18:25 +0000 -Subject: [PATCH 352/773] drm: vc4: Programming the CTM is conditional on +Subject: [PATCH 351/806] drm: vc4: Programming the CTM is conditional on running full KMS vc4_ctm_commit writes to HVS registers, so this is only applicable diff --git a/target/linux/brcm2708/patches-4.19/950-0353-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch b/target/linux/brcm2708/patches-4.19/950-0352-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0353-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch rename to target/linux/brcm2708/patches-4.19/950-0352-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch index 2d66559cbe..d7d2ae0d00 100644 --- a/target/linux/brcm2708/patches-4.19/950-0353-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch +++ b/target/linux/brcm2708/patches-4.19/950-0352-staging-mmal_vchiq-Add-in-the-Bayer-encoding-formats.patch @@ -1,7 +1,7 @@ -From 7b6ac66bdaa9740352437ee94b8bb63f579a13bd Mon Sep 17 00:00:00 2001 +From 39c4b77533bee8d88d2f4c9be9463041ec1dd483 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Feb 2019 12:33:29 +0000 -Subject: [PATCH 353/773] staging: mmal_vchiq: Add in the Bayer encoding +Subject: [PATCH 352/806] staging: mmal_vchiq: Add in the Bayer encoding formats The list of formats was copied before Bayer support was added. diff --git a/target/linux/brcm2708/patches-4.19/950-0354-staging-mmal-vchiq-Always-return-the-param-size-from.patch b/target/linux/brcm2708/patches-4.19/950-0353-staging-mmal-vchiq-Always-return-the-param-size-from.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0354-staging-mmal-vchiq-Always-return-the-param-size-from.patch rename to target/linux/brcm2708/patches-4.19/950-0353-staging-mmal-vchiq-Always-return-the-param-size-from.patch index de459236fc..d43c638fdc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0354-staging-mmal-vchiq-Always-return-the-param-size-from.patch +++ b/target/linux/brcm2708/patches-4.19/950-0353-staging-mmal-vchiq-Always-return-the-param-size-from.patch @@ -1,7 +1,7 @@ -From 2e3718da526ecc343731733439626a16be7518ac Mon Sep 17 00:00:00 2001 +From 0c0e55d9b04868733f30c348df7400fa5e6d30e2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Feb 2019 12:36:56 +0000 -Subject: [PATCH 354/773] staging: mmal-vchiq: Always return the param size +Subject: [PATCH 353/806] staging: mmal-vchiq: Always return the param size from param_get mmal-vchiq is a reimplementation of the userland library for MMAL. diff --git a/target/linux/brcm2708/patches-4.19/950-0355-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch b/target/linux/brcm2708/patches-4.19/950-0354-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0355-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch rename to target/linux/brcm2708/patches-4.19/950-0354-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch index 2d4134ea3e..04157a816e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0355-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch +++ b/target/linux/brcm2708/patches-4.19/950-0354-staging-mmal-vchiq-If-the-VPU-returns-an-error-don-t.patch @@ -1,7 +1,7 @@ -From c6cf0e080fcd24679c1ca26eb26896893f7f306b Mon Sep 17 00:00:00 2001 +From 78c34cf60b9ae8bf8aa797c72d2f1abdc0a0bb9d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Feb 2019 12:51:03 +0000 -Subject: [PATCH 355/773] staging: mmal-vchiq: If the VPU returns an error, +Subject: [PATCH 354/806] staging: mmal-vchiq: If the VPU returns an error, don't negate it There is an enum for the errors that the VPU can return. diff --git a/target/linux/brcm2708/patches-4.19/950-0356-staging-bcm2835_codec-Query-supported-formats-from-t.patch b/target/linux/brcm2708/patches-4.19/950-0355-staging-bcm2835_codec-Query-supported-formats-from-t.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0356-staging-bcm2835_codec-Query-supported-formats-from-t.patch rename to target/linux/brcm2708/patches-4.19/950-0355-staging-bcm2835_codec-Query-supported-formats-from-t.patch index b8f24c71ff..cee550272c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0356-staging-bcm2835_codec-Query-supported-formats-from-t.patch +++ b/target/linux/brcm2708/patches-4.19/950-0355-staging-bcm2835_codec-Query-supported-formats-from-t.patch @@ -1,7 +1,7 @@ -From 0b3a511aa20437ad3d4c0dc00f7b95dcb161d2d9 Mon Sep 17 00:00:00 2001 +From ce8cc7a85839af588b753ce4af0832db9c467f45 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Feb 2019 13:44:00 +0000 -Subject: [PATCH 356/773] staging: bcm2835_codec: Query supported formats from +Subject: [PATCH 355/806] staging: bcm2835_codec: Query supported formats from the component The driver was previously working with hard coded tables of diff --git a/target/linux/brcm2708/patches-4.19/950-0357-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch b/target/linux/brcm2708/patches-4.19/950-0356-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0357-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch rename to target/linux/brcm2708/patches-4.19/950-0356-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch index acc454a99a..30d99a0343 100644 --- a/target/linux/brcm2708/patches-4.19/950-0357-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0356-staging-bcm2835_codec-Add-support-for-the-ISP-as-an-.patch @@ -1,7 +1,7 @@ -From 6e89f0ac95adca46daa52324681edf43a2f6f613 Mon Sep 17 00:00:00 2001 +From 7afce6566802bcaa468f92b9e06da8b899161128 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Feb 2019 14:07:52 +0000 -Subject: [PATCH 357/773] staging: bcm2835_codec: Add support for the ISP as an +Subject: [PATCH 356/806] staging: bcm2835_codec: Add support for the ISP as an M2M device The MMAL ISP component can also use this same V4L2 wrapper to diff --git a/target/linux/brcm2708/patches-4.19/950-0358-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch b/target/linux/brcm2708/patches-4.19/950-0357-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0358-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch rename to target/linux/brcm2708/patches-4.19/950-0357-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch index 2198dff5e0..f46d05c59e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0358-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0357-staging-bcm2835_codec-Add-an-option-for-ignoring-Bay.patch @@ -1,7 +1,7 @@ -From 84d340e55471df729fb0c7b3cf37d160a03f8e67 Mon Sep 17 00:00:00 2001 +From a126fcc4ff38718e2e714fbb78db3ca1c4f8e564 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 15 Feb 2019 11:36:14 +0000 -Subject: [PATCH 358/773] staging: bcm2835_codec: Add an option for ignoring +Subject: [PATCH 357/806] staging: bcm2835_codec: Add an option for ignoring Bayer formats. This is a workaround for GStreamer currently not identifying Bayer diff --git a/target/linux/brcm2708/patches-4.19/950-0359-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch b/target/linux/brcm2708/patches-4.19/950-0358-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0359-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch rename to target/linux/brcm2708/patches-4.19/950-0358-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch index 64b2a982fd..1fd4db3bfd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0359-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch +++ b/target/linux/brcm2708/patches-4.19/950-0358-staging-bcm2835_codec-Fix-handling-of-VB2_MEMORY_DMA.patch @@ -1,7 +1,7 @@ -From bfdc0b6e57d8fe0cbfd141cf13c2443506450ff8 Mon Sep 17 00:00:00 2001 +From 0df32e2f563123166c20677f022d4a0f825c5df2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 15 Feb 2019 11:38:45 +0000 -Subject: [PATCH 359/773] staging: bcm2835_codec: Fix handling of +Subject: [PATCH 358/806] staging: bcm2835_codec: Fix handling of VB2_MEMORY_DMABUF buffers If the queue is configured as VB2_MEMORY_DMABUF then vb2_core_expbuf diff --git a/target/linux/brcm2708/patches-4.19/950-0360-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch b/target/linux/brcm2708/patches-4.19/950-0359-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0360-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch rename to target/linux/brcm2708/patches-4.19/950-0359-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch index d9fa0e64b8..52ade9d575 100644 --- a/target/linux/brcm2708/patches-4.19/950-0360-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch +++ b/target/linux/brcm2708/patches-4.19/950-0359-staging-mmal-vchiq-Update-mmal_parameters.h-with-rec.patch @@ -1,7 +1,7 @@ -From c301c3be5aefbb9fc6fb9070157d24105785815b Mon Sep 17 00:00:00 2001 +From f51a6ed76f6a59e65fe06d1f2e06e824f38ae604 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 18 Feb 2019 15:52:29 +0000 -Subject: [PATCH 360/773] staging: mmal-vchiq: Update mmal_parameters.h with +Subject: [PATCH 359/806] staging: mmal-vchiq: Update mmal_parameters.h with recently defined params mmal_parameters.h hasn't been updated to reflect additions made diff --git a/target/linux/brcm2708/patches-4.19/950-0361-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch b/target/linux/brcm2708/patches-4.19/950-0360-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0361-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch rename to target/linux/brcm2708/patches-4.19/950-0360-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch index d490dbd42a..33cd761a84 100644 --- a/target/linux/brcm2708/patches-4.19/950-0361-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch +++ b/target/linux/brcm2708/patches-4.19/950-0360-staging-bcm2835_codec-Include-timing-info-in-SPS-hea.patch @@ -1,7 +1,7 @@ -From 0cff1c25107689ee36e658b1bb85d83b0481ef17 Mon Sep 17 00:00:00 2001 +From 7f9fd2338e3a9d7b46b6904bbd7f97851e9b3f52 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 18 Feb 2019 15:56:42 +0000 -Subject: [PATCH 361/773] staging: bcm2835_codec: Include timing info in SPS +Subject: [PATCH 360/806] staging: bcm2835_codec: Include timing info in SPS headers Inserting timing information into the VUI block of the SPS is diff --git a/target/linux/brcm2708/patches-4.19/950-0362-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch b/target/linux/brcm2708/patches-4.19/950-0361-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0362-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch rename to target/linux/brcm2708/patches-4.19/950-0361-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch index 39e5b231d0..cbaffb4648 100644 --- a/target/linux/brcm2708/patches-4.19/950-0362-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch +++ b/target/linux/brcm2708/patches-4.19/950-0361-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch @@ -1,7 +1,7 @@ -From 93281e638545955769ee1706e510624b7d6073c4 Mon Sep 17 00:00:00 2001 +From dd5fa07672eb01a4d90dfa39a4c54eaa0e086386 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 5 Feb 2018 18:53:18 +0000 -Subject: [PATCH 362/773] drm/vc4: Don't wait for vblank on fkms cursor +Subject: [PATCH 361/806] 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, diff --git a/target/linux/brcm2708/patches-4.19/950-0363-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch b/target/linux/brcm2708/patches-4.19/950-0362-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0363-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch rename to target/linux/brcm2708/patches-4.19/950-0362-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch index 120b28da25..ce36179bc3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0363-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch +++ b/target/linux/brcm2708/patches-4.19/950-0362-Fix-for-Pisound-kernel-module-in-Real-Time-kernel-co.patch @@ -1,7 +1,7 @@ -From 8bf7bcb1cc1bb6e382445c50094f2fba2d0afcef Mon Sep 17 00:00:00 2001 +From c93b0344d24ba63e0e4caeb693a9fcb7320aae3a Mon Sep 17 00:00:00 2001 From: Giedrius Date: Wed, 27 Feb 2019 14:27:28 +0000 -Subject: [PATCH 363/773] Fix for Pisound kernel module in Real Time kernel +Subject: [PATCH 362/806] Fix for Pisound kernel module in Real Time kernel configuration. When handler of data_available interrupt is fired, queue_work ends up diff --git a/target/linux/brcm2708/patches-4.19/950-0364-config-Add-CONFIG_FB_TFT_SH1106-m.patch b/target/linux/brcm2708/patches-4.19/950-0363-config-Add-CONFIG_FB_TFT_SH1106-m.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0364-config-Add-CONFIG_FB_TFT_SH1106-m.patch rename to target/linux/brcm2708/patches-4.19/950-0363-config-Add-CONFIG_FB_TFT_SH1106-m.patch index e95a560fa2..ee2e359771 100644 --- a/target/linux/brcm2708/patches-4.19/950-0364-config-Add-CONFIG_FB_TFT_SH1106-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0363-config-Add-CONFIG_FB_TFT_SH1106-m.patch @@ -1,7 +1,7 @@ -From 512d3de73d6d05e683aef2f7626a75f01e5e0bab Mon Sep 17 00:00:00 2001 +From 5b904ae953179183256cee266fed3aa2ae638b75 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 27 Feb 2019 20:08:48 +0000 -Subject: [PATCH 364/773] config: Add CONFIG_FB_TFT_SH1106=m +Subject: [PATCH 363/806] config: Add CONFIG_FB_TFT_SH1106=m See: https://github.com/raspberrypi/linux/issues/2876 diff --git a/target/linux/brcm2708/patches-4.19/950-0365-Added-mute-stream-func.patch b/target/linux/brcm2708/patches-4.19/950-0364-Added-mute-stream-func.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0365-Added-mute-stream-func.patch rename to target/linux/brcm2708/patches-4.19/950-0364-Added-mute-stream-func.patch index 7445b44d18..d700348551 100644 --- a/target/linux/brcm2708/patches-4.19/950-0365-Added-mute-stream-func.patch +++ b/target/linux/brcm2708/patches-4.19/950-0364-Added-mute-stream-func.patch @@ -1,7 +1,7 @@ -From 5feb58606710065f2032817176560cdec72f1f40 Mon Sep 17 00:00:00 2001 +From 193dc2529db3cfee676aae2b18f059363e151e09 Mon Sep 17 00:00:00 2001 From: Jaikumar Date: Thu, 7 Jun 2018 21:22:45 +0530 -Subject: [PATCH 365/773] Added mute stream func +Subject: [PATCH 364/806] Added mute stream func Signed-off-by: Jaikumar --- diff --git a/target/linux/brcm2708/patches-4.19/950-0366-lan78xx-EEE-support-is-now-a-PHY-property.patch b/target/linux/brcm2708/patches-4.19/950-0365-lan78xx-EEE-support-is-now-a-PHY-property.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0366-lan78xx-EEE-support-is-now-a-PHY-property.patch rename to target/linux/brcm2708/patches-4.19/950-0365-lan78xx-EEE-support-is-now-a-PHY-property.patch index 61b18228c7..ea4a7187aa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0366-lan78xx-EEE-support-is-now-a-PHY-property.patch +++ b/target/linux/brcm2708/patches-4.19/950-0365-lan78xx-EEE-support-is-now-a-PHY-property.patch @@ -1,7 +1,7 @@ -From 818e8f77d76efd684b2ea5796d3866fdd4f0e768 Mon Sep 17 00:00:00 2001 +From 5917a0b0e56928aecd1270c85a79fce77a404629 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 5 Mar 2019 09:51:22 +0000 -Subject: [PATCH 366/773] lan78xx: EEE support is now a PHY property +Subject: [PATCH 365/806] lan78xx: EEE support is now a PHY property Now that EEE support is a property of the PHY, use the PHY's DT node when querying the EEE-related properties. diff --git a/target/linux/brcm2708/patches-4.19/950-0367-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch b/target/linux/brcm2708/patches-4.19/950-0366-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0367-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch rename to target/linux/brcm2708/patches-4.19/950-0366-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch index 3377405b95..476f2b8b1c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0367-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0366-video-bcm2708_fb-Try-allocating-on-the-ARM-and-passi.patch @@ -1,7 +1,7 @@ -From ea9d3e8b98633b3d449ec0a786be6a95c940b027 Mon Sep 17 00:00:00 2001 +From a9a47ea599c12d29526138cd6e48f6c9eac19358 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 27 Feb 2019 17:30:33 +0000 -Subject: [PATCH 367/773] video: bcm2708_fb: Try allocating on the ARM and +Subject: [PATCH 366/806] video: bcm2708_fb: Try allocating on the ARM and passing to VPU Currently the VPU allocates the contiguous buffer for the diff --git a/target/linux/brcm2708/patches-4.19/950-0368-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch b/target/linux/brcm2708/patches-4.19/950-0367-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0368-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch rename to target/linux/brcm2708/patches-4.19/950-0367-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch index 459b18c8e7..b1e0a83602 100644 --- a/target/linux/brcm2708/patches-4.19/950-0368-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch +++ b/target/linux/brcm2708/patches-4.19/950-0367-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch @@ -1,7 +1,7 @@ -From 5e4bc7e0e9ea34cabc14c6028fe2eaf7b8295999 Mon Sep 17 00:00:00 2001 +From 7b2fac96ce48939e399707c4b8bd9905d6274a05 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 8 Mar 2019 10:38:59 +0000 -Subject: [PATCH 368/773] staging: vc_sm_cma: Remove erroneous misc_deregister +Subject: [PATCH 367/806] staging: vc_sm_cma: Remove erroneous misc_deregister Code from the misc /dev node was still present in bcm2835_vc_sm_cma_remove, which caused a NULL deref. diff --git a/target/linux/brcm2708/patches-4.19/950-0369-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch b/target/linux/brcm2708/patches-4.19/950-0368-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0369-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch rename to target/linux/brcm2708/patches-4.19/950-0368-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch index a820a4a293..0f0a6a873e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0369-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch +++ b/target/linux/brcm2708/patches-4.19/950-0368-vcsm-Fix-makefile-include-on-out-of-tree-builds.patch @@ -1,7 +1,7 @@ -From 5cf95fae9985aa80ba36a47027a254a29fa92372 Mon Sep 17 00:00:00 2001 +From d36a5a94156ebe7e9906574fa8b01b200a15c11d Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 18 Mar 2019 17:14:51 +0000 -Subject: [PATCH 369/773] vcsm: Fix makefile include on out-of-tree builds +Subject: [PATCH 368/806] vcsm: Fix makefile include on out-of-tree builds The vc_sm module tries to include the 'fs' directory from the $(srctree). $(srctree) is already provided by the build system, and diff --git a/target/linux/brcm2708/patches-4.19/950-0370-vcsm-Remove-set-but-unused-variable.patch b/target/linux/brcm2708/patches-4.19/950-0369-vcsm-Remove-set-but-unused-variable.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0370-vcsm-Remove-set-but-unused-variable.patch rename to target/linux/brcm2708/patches-4.19/950-0369-vcsm-Remove-set-but-unused-variable.patch index 1cf6fb7483..cf6d0101fa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0370-vcsm-Remove-set-but-unused-variable.patch +++ b/target/linux/brcm2708/patches-4.19/950-0369-vcsm-Remove-set-but-unused-variable.patch @@ -1,7 +1,7 @@ -From 614592644f6c107d0f8cb6145d95437d53ac8dff Mon Sep 17 00:00:00 2001 +From 5a58b2bb907d57dc2b1cc2619bd5f1d948509e3e Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 18 Mar 2019 17:16:41 +0000 -Subject: [PATCH 370/773] vcsm: Remove set but unused variable +Subject: [PATCH 369/806] vcsm: Remove set but unused variable The 'success' variable is set by the call to vchi_service_close() but never checked. Remove it, keeping the call in place. diff --git a/target/linux/brcm2708/patches-4.19/950-0371-vcsm-Reduce-scope-of-local-functions.patch b/target/linux/brcm2708/patches-4.19/950-0370-vcsm-Reduce-scope-of-local-functions.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0371-vcsm-Reduce-scope-of-local-functions.patch rename to target/linux/brcm2708/patches-4.19/950-0370-vcsm-Reduce-scope-of-local-functions.patch index f48d116979..14b1c8bc7d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0371-vcsm-Reduce-scope-of-local-functions.patch +++ b/target/linux/brcm2708/patches-4.19/950-0370-vcsm-Reduce-scope-of-local-functions.patch @@ -1,7 +1,7 @@ -From dfc0c4f36a4ff2707a2c00117050f6465f94acb3 Mon Sep 17 00:00:00 2001 +From 2a1fd1a32b7355c6ae8c5fc1654a96fa42e00586 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 18 Mar 2019 17:17:40 +0000 -Subject: [PATCH 371/773] vcsm: Reduce scope of local functions +Subject: [PATCH 370/806] vcsm: Reduce scope of local functions The functions: diff --git a/target/linux/brcm2708/patches-4.19/950-0372-staging-bcm2835-codec-NULL-component-handle-on-queue.patch b/target/linux/brcm2708/patches-4.19/950-0371-staging-bcm2835-codec-NULL-component-handle-on-queue.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0372-staging-bcm2835-codec-NULL-component-handle-on-queue.patch rename to target/linux/brcm2708/patches-4.19/950-0371-staging-bcm2835-codec-NULL-component-handle-on-queue.patch index 6cc18e040d..9f87092656 100644 --- a/target/linux/brcm2708/patches-4.19/950-0372-staging-bcm2835-codec-NULL-component-handle-on-queue.patch +++ b/target/linux/brcm2708/patches-4.19/950-0371-staging-bcm2835-codec-NULL-component-handle-on-queue.patch @@ -1,7 +1,7 @@ -From e861be56136fd16394248f501bd3fbb327e40d1a Mon Sep 17 00:00:00 2001 +From 140c118a9886b0386d748e6aa7cbd8ba9f9b0ede Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 19 Mar 2019 17:55:09 +0000 -Subject: [PATCH 372/773] staging: bcm2835-codec: NULL component handle on +Subject: [PATCH 371/806] staging: bcm2835-codec: NULL component handle on queue_setup failure queue_setup tries creating the relevant MMAL component and configures diff --git a/target/linux/brcm2708/patches-4.19/950-0373-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch b/target/linux/brcm2708/patches-4.19/950-0372-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0373-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch rename to target/linux/brcm2708/patches-4.19/950-0372-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch index d0c19b11f6..4d16388828 100644 --- a/target/linux/brcm2708/patches-4.19/950-0373-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch +++ b/target/linux/brcm2708/patches-4.19/950-0372-staging-vc-sm-cma-Remove-the-debugfs-directory-on-re.patch @@ -1,7 +1,7 @@ -From 9c63a140609809ff686622090893ba69e3929019 Mon Sep 17 00:00:00 2001 +From 4857371a7cc5d371b1e4221fa38848716a779eb1 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 8 Mar 2019 10:49:17 +0000 -Subject: [PATCH 373/773] staging: vc-sm-cma: Remove the debugfs directory on +Subject: [PATCH 372/806] staging: vc-sm-cma: Remove the debugfs directory on remove Without removing that, reloading the driver fails. diff --git a/target/linux/brcm2708/patches-4.19/950-0374-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch b/target/linux/brcm2708/patches-4.19/950-0373-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0374-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch rename to target/linux/brcm2708/patches-4.19/950-0373-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch index e69285bcb1..3043111ead 100644 --- a/target/linux/brcm2708/patches-4.19/950-0374-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch +++ b/target/linux/brcm2708/patches-4.19/950-0373-staging-vc-sm-cma-Use-devm_-allocs-for-sm_state.patch @@ -1,7 +1,7 @@ -From 367031afc970012f096292691d9509382118fb02 Mon Sep 17 00:00:00 2001 +From 6214831525192a9eb665c67fe8c93006c17acbad Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 8 Mar 2019 11:06:41 +0000 -Subject: [PATCH 374/773] staging: vc-sm-cma: Use devm_ allocs for sm_state. +Subject: [PATCH 373/806] staging: vc-sm-cma: Use devm_ allocs for sm_state. Use managed allocations for sm_state, removing reliance on manual management. diff --git a/target/linux/brcm2708/patches-4.19/950-0375-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch b/target/linux/brcm2708/patches-4.19/950-0374-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0375-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch rename to target/linux/brcm2708/patches-4.19/950-0374-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch index 2a433499ff..6ad01d26a5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0375-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch +++ b/target/linux/brcm2708/patches-4.19/950-0374-staging-vc-sm-cma-Don-t-fail-if-debugfs-calls-fail.patch @@ -1,7 +1,7 @@ -From 1e49e92dc627e30dc329ee856a81d90d454bab03 Mon Sep 17 00:00:00 2001 +From 13572df6bba85d8fc91a212faa89b5b6147bdf94 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 8 Mar 2019 11:09:49 +0000 -Subject: [PATCH 375/773] staging: vc-sm-cma: Don't fail if debugfs calls fail. +Subject: [PATCH 374/806] staging: vc-sm-cma: Don't fail if debugfs calls fail. Return codes from debugfs calls should never alter the flow of the main code. diff --git a/target/linux/brcm2708/patches-4.19/950-0376-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch b/target/linux/brcm2708/patches-4.19/950-0375-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0376-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch rename to target/linux/brcm2708/patches-4.19/950-0375-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch index fb6ad95443..000248a4e2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0376-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch +++ b/target/linux/brcm2708/patches-4.19/950-0375-staging-vc-sm-cma-Ensure-mutex-and-idr-are-destroyed.patch @@ -1,7 +1,7 @@ -From 0382cc0391c16a76fdf6f1e53c17a0704648c6fb Mon Sep 17 00:00:00 2001 +From 4027b08d96c68919f51c768a23877283ef5aefb9 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 8 Mar 2019 11:11:46 +0000 -Subject: [PATCH 376/773] staging: vc-sm-cma: Ensure mutex and idr are +Subject: [PATCH 375/806] staging: vc-sm-cma: Ensure mutex and idr are destroyed map_lock and kernelid_map are created in probe, but not released diff --git a/target/linux/brcm2708/patches-4.19/950-0377-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch b/target/linux/brcm2708/patches-4.19/950-0376-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0377-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch rename to target/linux/brcm2708/patches-4.19/950-0376-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch index c8d81add89..c1a89ebf49 100644 --- a/target/linux/brcm2708/patches-4.19/950-0377-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0376-staging-bcm2835_codec-Clean-up-logging-on-unloading-.patch @@ -1,7 +1,7 @@ -From d0a4aa37997f5532159dc5f506b4bd1d533d1991 Mon Sep 17 00:00:00 2001 +From c42ae04bb6ed5be61d3b3e2e2c6004ae252ee34a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 8 Mar 2019 11:26:00 +0000 -Subject: [PATCH 377/773] staging: bcm2835_codec: Clean up logging on unloading +Subject: [PATCH 376/806] staging: bcm2835_codec: Clean up logging on unloading the driver The log line was missing a closing \n, so wasn't added to the diff --git a/target/linux/brcm2708/patches-4.19/950-0378-configs-Enable-MT76-USB-wifi.patch b/target/linux/brcm2708/patches-4.19/950-0377-configs-Enable-MT76-USB-wifi.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0378-configs-Enable-MT76-USB-wifi.patch rename to target/linux/brcm2708/patches-4.19/950-0377-configs-Enable-MT76-USB-wifi.patch index 44d0649452..2885ce8c8c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0378-configs-Enable-MT76-USB-wifi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0377-configs-Enable-MT76-USB-wifi.patch @@ -1,7 +1,7 @@ -From 7d2089d213ac26b66585c3573302ddc95ce06dc1 Mon Sep 17 00:00:00 2001 +From ff3653c152198b260d6fbbfa0bad6b2b225c2337 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 7 Mar 2019 19:27:05 +0100 -Subject: [PATCH 378/773] configs: Enable MT76 USB wifi +Subject: [PATCH 377/806] configs: Enable MT76 USB wifi Signed-off-by: Stefan Wahren --- diff --git a/target/linux/brcm2708/patches-4.19/950-0379-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch b/target/linux/brcm2708/patches-4.19/950-0378-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0379-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch rename to target/linux/brcm2708/patches-4.19/950-0378-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch index 5c8e80d089..15ac5ac229 100644 --- a/target/linux/brcm2708/patches-4.19/950-0379-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch +++ b/target/linux/brcm2708/patches-4.19/950-0378-bcm2835-sdhost-Allow-for-sg-entries-that-cross-pages.patch @@ -1,7 +1,7 @@ -From 5eb927e238d953d7b471d4c81cb6ba0303dad02c Mon Sep 17 00:00:00 2001 +From 44db7882be675cdf2d89741af5bbeba41b3e25af Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 13 Mar 2019 14:19:11 +0000 -Subject: [PATCH 379/773] bcm2835-sdhost: Allow for sg entries that cross pages +Subject: [PATCH 378/806] bcm2835-sdhost: Allow for sg entries that cross pages The dma_complete handling code calculates a virtual address for a page then adds an offset, but if the offset is more than a page and HIGHMEM diff --git a/target/linux/brcm2708/patches-4.19/950-0380-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch b/target/linux/brcm2708/patches-4.19/950-0379-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0380-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch rename to target/linux/brcm2708/patches-4.19/950-0379-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch index dd35926db0..3de9197d60 100644 --- a/target/linux/brcm2708/patches-4.19/950-0380-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch +++ b/target/linux/brcm2708/patches-4.19/950-0379-overlays-sdio-Added-4-bit-support-on-GPIOs-34-39.-29.patch @@ -1,7 +1,7 @@ -From 357aeb8b38198e59a5d62f966e945b6c08ae43e7 Mon Sep 17 00:00:00 2001 +From 7c23c772289fa31960b9e6969499aa93c92d842b Mon Sep 17 00:00:00 2001 From: Adrien RICCIARDI Date: Fri, 22 Mar 2019 11:35:30 +0100 -Subject: [PATCH 380/773] overlays: sdio: Added 4-bit support on GPIOs 34-39. +Subject: [PATCH 379/806] overlays: sdio: Added 4-bit support on GPIOs 34-39. (#2903) --- diff --git a/target/linux/brcm2708/patches-4.19/950-0381-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch b/target/linux/brcm2708/patches-4.19/950-0380-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0381-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch rename to target/linux/brcm2708/patches-4.19/950-0380-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch index 76a2066071..95455d7cc7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0381-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch +++ b/target/linux/brcm2708/patches-4.19/950-0380-overlays-Fix-multiple-instantiation-of-sc16is7xx.patch @@ -1,7 +1,7 @@ -From bf926c922d5cca1a0d2eacfea0c4803d3debc94a Mon Sep 17 00:00:00 2001 +From 649efe5db3900ed3bbfd3c3daa3b96d8fc0b9d68 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 22 Mar 2019 16:44:47 +0000 -Subject: [PATCH 381/773] overlays: Fix multiple-instantiation of sc16is7xx* +Subject: [PATCH 380/806] overlays: Fix multiple-instantiation of sc16is7xx* The registration of the fixed clocks uses the node name as the clock name, causing a clash if two clock nodes have the same name, regardless diff --git a/target/linux/brcm2708/patches-4.19/950-0382-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch b/target/linux/brcm2708/patches-4.19/950-0381-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0382-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch rename to target/linux/brcm2708/patches-4.19/950-0381-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch index 34c752bbbe..2708ee5673 100644 --- a/target/linux/brcm2708/patches-4.19/950-0382-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch +++ b/target/linux/brcm2708/patches-4.19/950-0381-configs-Re-enable-CONFIG_NETFILTER_XT_MATCH_SOCKET.patch @@ -1,7 +1,7 @@ -From 588ba94f9647b91ac205f296129548c5eb1265c6 Mon Sep 17 00:00:00 2001 +From f17c7a2c574468870256cb5e9c087c1856530018 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 24 Mar 2019 20:54:25 +0000 -Subject: [PATCH 382/773] configs: Re-enable CONFIG_NETFILTER_XT_MATCH_SOCKET +Subject: [PATCH 381/806] configs: Re-enable CONFIG_NETFILTER_XT_MATCH_SOCKET A Kconfig change in 4.10 caused the xt_socket module to no-longer be included in Raspbian builds. Fix the defconfigs to re-enable it. diff --git a/target/linux/brcm2708/patches-4.19/950-0383-bcm2835-mmc-Fix-DMA-channel-leak.patch b/target/linux/brcm2708/patches-4.19/950-0382-bcm2835-mmc-Fix-DMA-channel-leak.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0383-bcm2835-mmc-Fix-DMA-channel-leak.patch rename to target/linux/brcm2708/patches-4.19/950-0382-bcm2835-mmc-Fix-DMA-channel-leak.patch index ef87ed8476..3c62a9d10c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0383-bcm2835-mmc-Fix-DMA-channel-leak.patch +++ b/target/linux/brcm2708/patches-4.19/950-0382-bcm2835-mmc-Fix-DMA-channel-leak.patch @@ -1,7 +1,7 @@ -From 227e011d31adee13c727dd38f7e47895b3a8c49b Mon Sep 17 00:00:00 2001 +From 7458efc95816cc9d716d94a4894172c2a9d9fba7 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Wed, 16 Jan 2019 12:22:32 +0100 -Subject: [PATCH 383/773] bcm2835-mmc: Fix DMA channel leak +Subject: [PATCH 382/806] bcm2835-mmc: Fix DMA channel leak The BCM2835 MMC host driver requests a DMA channel on probe but neglects to release the channel in the probe error path and on driver unbind. diff --git a/target/linux/brcm2708/patches-4.19/950-0384-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch b/target/linux/brcm2708/patches-4.19/950-0383-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0384-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch rename to target/linux/brcm2708/patches-4.19/950-0383-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch index 3bb5d66fc7..b54374dfcd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0384-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch +++ b/target/linux/brcm2708/patches-4.19/950-0383-bcm2835-mmc-Fix-struct-mmc_host-leak-on-probe.patch @@ -1,7 +1,7 @@ -From dcf1a5feb6095c5aca75cc18330680778e59b517 Mon Sep 17 00:00:00 2001 +From 82ced13dc5805f6e49e2182269e672b20d8394bc Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sat, 19 Jan 2019 08:06:48 +0100 -Subject: [PATCH 384/773] bcm2835-mmc: Fix struct mmc_host leak on probe +Subject: [PATCH 383/806] bcm2835-mmc: Fix struct mmc_host leak on probe The BCM2835 MMC host driver requests the bus address of the host's register map on probe. If that fails, the driver leaks the struct diff --git a/target/linux/brcm2708/patches-4.19/950-0385-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch b/target/linux/brcm2708/patches-4.19/950-0384-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0385-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch rename to target/linux/brcm2708/patches-4.19/950-0384-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch index cee984f6b8..ecbffb4665 100644 --- a/target/linux/brcm2708/patches-4.19/950-0385-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch +++ b/target/linux/brcm2708/patches-4.19/950-0384-bcm2835-mmc-Fix-duplicate-free_irq-on-remove.patch @@ -1,7 +1,7 @@ -From 931465226104cb10935af8f66fe6fdd29d898ec9 Mon Sep 17 00:00:00 2001 +From 4a15e086fa9531f808c15b8fb8d7ed1fdb411b74 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sat, 19 Jan 2019 09:00:26 +0100 -Subject: [PATCH 385/773] bcm2835-mmc: Fix duplicate free_irq() on remove +Subject: [PATCH 384/806] bcm2835-mmc: Fix duplicate free_irq() on remove The BCM2835 MMC host driver requests its interrupt as a device-managed resource, so the interrupt is automatically freed after the driver is diff --git a/target/linux/brcm2708/patches-4.19/950-0386-bcm2835-mmc-Handle-mmc_add_host-errors.patch b/target/linux/brcm2708/patches-4.19/950-0385-bcm2835-mmc-Handle-mmc_add_host-errors.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0386-bcm2835-mmc-Handle-mmc_add_host-errors.patch rename to target/linux/brcm2708/patches-4.19/950-0385-bcm2835-mmc-Handle-mmc_add_host-errors.patch index 3680a66433..2635cf2dc4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0386-bcm2835-mmc-Handle-mmc_add_host-errors.patch +++ b/target/linux/brcm2708/patches-4.19/950-0385-bcm2835-mmc-Handle-mmc_add_host-errors.patch @@ -1,7 +1,7 @@ -From b511e73e01d03df0ee7fffeae26b8db6d138c82e Mon Sep 17 00:00:00 2001 +From 2e2f57e09e1ace18ae01a87d9fc4378c96c54370 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Tue, 22 Jan 2019 12:29:45 +0100 -Subject: [PATCH 386/773] bcm2835-mmc: Handle mmc_add_host() errors +Subject: [PATCH 385/806] bcm2835-mmc: Handle mmc_add_host() errors The BCM2835 MMC host driver calls mmc_add_host() but doesn't check its return value. Errors occurring in that function are therefore not diff --git a/target/linux/brcm2708/patches-4.19/950-0387-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch b/target/linux/brcm2708/patches-4.19/950-0386-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0387-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch rename to target/linux/brcm2708/patches-4.19/950-0386-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch index 4b21d53e0b..dfe2e81c2f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0387-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch +++ b/target/linux/brcm2708/patches-4.19/950-0386-bcm2835-mmc-Deduplicate-reset-of-driver-data-on-remo.patch @@ -1,7 +1,7 @@ -From 42c70eb8066b0e91cd184a5f166c391f82e3f4b5 Mon Sep 17 00:00:00 2001 +From 3f6e190df3989e10a9baf591a7bf67d754842533 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sat, 19 Jan 2019 08:42:40 +0100 -Subject: [PATCH 387/773] bcm2835-mmc: Deduplicate reset of driver data on +Subject: [PATCH 386/806] bcm2835-mmc: Deduplicate reset of driver data on remove The BCM2835 MMC host driver sets the device's driver data pointer to diff --git a/target/linux/brcm2708/patches-4.19/950-0388-configs-Add-CONFIG_BATTERY_MAX17040.patch b/target/linux/brcm2708/patches-4.19/950-0387-configs-Add-CONFIG_BATTERY_MAX17040.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0388-configs-Add-CONFIG_BATTERY_MAX17040.patch rename to target/linux/brcm2708/patches-4.19/950-0387-configs-Add-CONFIG_BATTERY_MAX17040.patch index 5a42d8c582..618df8e610 100644 --- a/target/linux/brcm2708/patches-4.19/950-0388-configs-Add-CONFIG_BATTERY_MAX17040.patch +++ b/target/linux/brcm2708/patches-4.19/950-0387-configs-Add-CONFIG_BATTERY_MAX17040.patch @@ -1,7 +1,7 @@ -From 0cdf702e5ea015c034fa222da1647baf0b0c42f3 Mon Sep 17 00:00:00 2001 +From 0e31734e44b3a55d58356aa9756c855f54661556 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 25 Mar 2019 17:54:05 +0000 -Subject: [PATCH 388/773] configs: Add CONFIG_BATTERY_MAX17040 +Subject: [PATCH 387/806] configs: Add CONFIG_BATTERY_MAX17040 See: https://github.com/raspberrypi/linux/issues/2906 diff --git a/target/linux/brcm2708/patches-4.19/950-0389-overlays-Add-max17040-support-to-i2c-sensor.patch b/target/linux/brcm2708/patches-4.19/950-0388-overlays-Add-max17040-support-to-i2c-sensor.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0389-overlays-Add-max17040-support-to-i2c-sensor.patch rename to target/linux/brcm2708/patches-4.19/950-0388-overlays-Add-max17040-support-to-i2c-sensor.patch index f8b3f66737..385363a012 100644 --- a/target/linux/brcm2708/patches-4.19/950-0389-overlays-Add-max17040-support-to-i2c-sensor.patch +++ b/target/linux/brcm2708/patches-4.19/950-0388-overlays-Add-max17040-support-to-i2c-sensor.patch @@ -1,7 +1,7 @@ -From 255761d610f7ef977196da27f13d702743cd99b7 Mon Sep 17 00:00:00 2001 +From fe6ccc8df700133615716df211f183c9c27d1e2e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 25 Mar 2019 18:03:48 +0000 -Subject: [PATCH 389/773] overlays: Add max17040 support to i2c-sensor +Subject: [PATCH 388/806] overlays: Add max17040 support to i2c-sensor See: https://github.com/raspberrypi/linux/issues/2906 diff --git a/target/linux/brcm2708/patches-4.19/950-0390-defconfigs-disable-memory-and-IO-cgroups-2908.patch b/target/linux/brcm2708/patches-4.19/950-0389-defconfigs-disable-memory-and-IO-cgroups-2908.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0390-defconfigs-disable-memory-and-IO-cgroups-2908.patch rename to target/linux/brcm2708/patches-4.19/950-0389-defconfigs-disable-memory-and-IO-cgroups-2908.patch index 2490b266c3..d201046258 100644 --- a/target/linux/brcm2708/patches-4.19/950-0390-defconfigs-disable-memory-and-IO-cgroups-2908.patch +++ b/target/linux/brcm2708/patches-4.19/950-0389-defconfigs-disable-memory-and-IO-cgroups-2908.patch @@ -1,7 +1,7 @@ -From 53986e21f8d6687c6266ec0daaa18c34630c5f98 Mon Sep 17 00:00:00 2001 +From d8c3886387714f69359e2fce74b114f44a9b79f8 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 26 Mar 2019 09:48:25 +0000 -Subject: [PATCH 390/773] defconfigs: disable memory and IO cgroups (#2908) +Subject: [PATCH 389/806] defconfigs: disable memory and IO cgroups (#2908) Due to an upstream bug, memory is leaked in the inode cache when cgroups are enabled. Disable as this is causing crashes. diff --git a/target/linux/brcm2708/patches-4.19/950-0391-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch b/target/linux/brcm2708/patches-4.19/950-0390-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0391-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch rename to target/linux/brcm2708/patches-4.19/950-0390-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch index 12e479abae..9d1e9469d3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0391-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch +++ b/target/linux/brcm2708/patches-4.19/950-0390-media-bcm2835-unicam-Add-support-for-enum-framesizes.patch @@ -1,7 +1,7 @@ -From faeaf9544c1803c77b6bd22b850360d15eba2eb9 Mon Sep 17 00:00:00 2001 +From 7c876909bc0a6d23124689d5fca89657a4fcb5a5 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 5 Mar 2019 15:43:27 +0000 -Subject: [PATCH 391/773] media: bcm2835-unicam: Add support for enum +Subject: [PATCH 390/806] media: bcm2835-unicam: Add support for enum framesizes and frameintervals vidioc_enum_framesizes and vidioc_enum_frameintervals weren't implemented, diff --git a/target/linux/brcm2708/patches-4.19/950-0392-staging-bcm2835-codec-Refactor-default-resolution-co.patch b/target/linux/brcm2708/patches-4.19/950-0391-staging-bcm2835-codec-Refactor-default-resolution-co.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0392-staging-bcm2835-codec-Refactor-default-resolution-co.patch rename to target/linux/brcm2708/patches-4.19/950-0391-staging-bcm2835-codec-Refactor-default-resolution-co.patch index 00b2d1767e..65ddac97de 100644 --- a/target/linux/brcm2708/patches-4.19/950-0392-staging-bcm2835-codec-Refactor-default-resolution-co.patch +++ b/target/linux/brcm2708/patches-4.19/950-0391-staging-bcm2835-codec-Refactor-default-resolution-co.patch @@ -1,7 +1,7 @@ -From 4a7501a80598c159be341d0b52011882556b077e Mon Sep 17 00:00:00 2001 +From a97baa799a8069fe965a4d194935c025e21acf8e Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 20 Mar 2019 10:06:51 +0000 -Subject: [PATCH 392/773] staging: bcm2835-codec: Refactor default resolution +Subject: [PATCH 391/806] staging: bcm2835-codec: Refactor default resolution code The default resolution code was different for each role diff --git a/target/linux/brcm2708/patches-4.19/950-0393-nvmem-add-type-attribute.patch b/target/linux/brcm2708/patches-4.19/950-0392-nvmem-add-type-attribute.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0393-nvmem-add-type-attribute.patch rename to target/linux/brcm2708/patches-4.19/950-0392-nvmem-add-type-attribute.patch index 2fe94a0b24..7e343f4dc7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0393-nvmem-add-type-attribute.patch +++ b/target/linux/brcm2708/patches-4.19/950-0392-nvmem-add-type-attribute.patch @@ -1,7 +1,7 @@ -From 855040143a256199d362f32d6de071ef5c801314 Mon Sep 17 00:00:00 2001 +From c9e76146066660a2884e61216c1ce227cf509bf8 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Fri, 30 Nov 2018 11:53:20 +0000 -Subject: [PATCH 393/773] nvmem: add type attribute +Subject: [PATCH 392/806] nvmem: add type attribute commit 16688453661b6d5159be558a1f8c1f54463a420f upstream. @@ -82,7 +82,7 @@ Signed-off-by: Greg Kroah-Hartman }; static const struct attribute_group *nvmem_ro_root_dev_groups[] = { -@@ -478,6 +498,7 @@ struct nvmem_device *nvmem_register(cons +@@ -485,6 +505,7 @@ struct nvmem_device *nvmem_register(cons nvmem->dev.bus = &nvmem_bus_type; nvmem->dev.parent = config->dev; nvmem->priv = config->priv; diff --git a/target/linux/brcm2708/patches-4.19/950-0394-rtc-rv3028-add-new-driver.patch b/target/linux/brcm2708/patches-4.19/950-0393-rtc-rv3028-add-new-driver.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0394-rtc-rv3028-add-new-driver.patch rename to target/linux/brcm2708/patches-4.19/950-0393-rtc-rv3028-add-new-driver.patch index 7c22dd99eb..72392512b3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0394-rtc-rv3028-add-new-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0393-rtc-rv3028-add-new-driver.patch @@ -1,7 +1,7 @@ -From 824810872428425fbf3e3e5d0b45e20ab8937b32 Mon Sep 17 00:00:00 2001 +From bb0e317bfc453877805a12f975490ad38b6413f1 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Wed, 13 Feb 2019 00:21:36 +0100 -Subject: [PATCH 394/773] rtc: rv3028: add new driver +Subject: [PATCH 393/806] rtc: rv3028: add new driver upstream commit e6e7376cfd7b3f9b63de3a22792f64d9bfb2ab53. diff --git a/target/linux/brcm2708/patches-4.19/950-0395-configs-Add-RTC_DRV_RV3028-m.patch b/target/linux/brcm2708/patches-4.19/950-0394-configs-Add-RTC_DRV_RV3028-m.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0395-configs-Add-RTC_DRV_RV3028-m.patch rename to target/linux/brcm2708/patches-4.19/950-0394-configs-Add-RTC_DRV_RV3028-m.patch index b2478922e3..4dedc0e3d9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0395-configs-Add-RTC_DRV_RV3028-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0394-configs-Add-RTC_DRV_RV3028-m.patch @@ -1,7 +1,7 @@ -From 9b996b5adaaff82f7752cc65dbcf5864277f22bf Mon Sep 17 00:00:00 2001 +From 76c91a0db681bda7dfa62da4b9a6c0a550e45bb5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 28 Mar 2019 13:13:52 +0000 -Subject: [PATCH 395/773] configs: Add RTC_DRV_RV3028=m +Subject: [PATCH 394/806] configs: Add RTC_DRV_RV3028=m See: https://github.com/raspberrypi/linux/issues/2912 diff --git a/target/linux/brcm2708/patches-4.19/950-0396-overlays-Add-rv3028-to-i2c-rtc.patch b/target/linux/brcm2708/patches-4.19/950-0395-overlays-Add-rv3028-to-i2c-rtc.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0396-overlays-Add-rv3028-to-i2c-rtc.patch rename to target/linux/brcm2708/patches-4.19/950-0395-overlays-Add-rv3028-to-i2c-rtc.patch index 7da20bfdb6..de637b3b27 100644 --- a/target/linux/brcm2708/patches-4.19/950-0396-overlays-Add-rv3028-to-i2c-rtc.patch +++ b/target/linux/brcm2708/patches-4.19/950-0395-overlays-Add-rv3028-to-i2c-rtc.patch @@ -1,7 +1,7 @@ -From a196d4df496546cf0e521c6aedf7e37025dde785 Mon Sep 17 00:00:00 2001 +From 67dd8e4c8ccf5d331960c7e936e5b03a9f92496d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 28 Mar 2019 13:26:59 +0000 -Subject: [PATCH 396/773] overlays: Add rv3028 to i2c-rtc +Subject: [PATCH 395/806] overlays: Add rv3028 to i2c-rtc See: https://github.com/raspberrypi/linux/issues/2912 diff --git a/target/linux/brcm2708/patches-4.19/950-0397-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch b/target/linux/brcm2708/patches-4.19/950-0396-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0397-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch rename to target/linux/brcm2708/patches-4.19/950-0396-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch index e539ab07fd..4b9d629e81 100644 --- a/target/linux/brcm2708/patches-4.19/950-0397-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch +++ b/target/linux/brcm2708/patches-4.19/950-0396-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch @@ -1,7 +1,7 @@ -From 6401f3831443dc2eeb588f8d08e7513298dd2c52 Mon Sep 17 00:00:00 2001 +From 053938f67f73773152f70d89aa32e7893ee19694 Mon Sep 17 00:00:00 2001 From: b-ak Date: Wed, 9 Jan 2019 22:41:21 +0530 -Subject: [PATCH 397/773] ASoC: tlv320aic32x4: SND_SOC_DAPM_MICBIAS is +Subject: [PATCH 396/806] ASoC: tlv320aic32x4: SND_SOC_DAPM_MICBIAS is deprecated commit 04d979d7a7bac2f645cd827ea37e5ffa5b4e1f97 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0398-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch b/target/linux/brcm2708/patches-4.19/950-0397-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0398-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch rename to target/linux/brcm2708/patches-4.19/950-0397-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch index f70bd20a2a..1b069f6f1c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0398-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch +++ b/target/linux/brcm2708/patches-4.19/950-0397-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch @@ -1,7 +1,7 @@ -From 27053ee9edee96b33fd8a6ff0311fa9ad17bb5cc Mon Sep 17 00:00:00 2001 +From 95b3311cbcd29e07af1ee96b6b37c9089567bcff Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Mon, 18 Mar 2019 20:37:44 -0700 -Subject: [PATCH 398/773] ASoC: tlv320aic32x4: Break out clock setting into +Subject: [PATCH 397/806] ASoC: tlv320aic32x4: Break out clock setting into separate function commit bf31cbfbe25001036e1e096b1c260bf871766ea5 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0399-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch b/target/linux/brcm2708/patches-4.19/950-0398-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0399-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch rename to target/linux/brcm2708/patches-4.19/950-0398-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch index 40c291e770..b405fd67b2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0399-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch +++ b/target/linux/brcm2708/patches-4.19/950-0398-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch @@ -1,7 +1,7 @@ -From 85c1b0992bb403298c7fe36a2d96cc9b4d888ec1 Mon Sep 17 00:00:00 2001 +From 6cc882cf38b62fce2a07640413b05b43b420c77a Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Wed, 20 Mar 2019 19:38:44 -0700 -Subject: [PATCH 399/773] ASoC: tlv320aic32x4: Properly Set Processing Blocks +Subject: [PATCH 398/806] ASoC: tlv320aic32x4: Properly Set Processing Blocks commit c95e3a4b96293403a427b5185e60fad28af51fdd upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0400-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch b/target/linux/brcm2708/patches-4.19/950-0399-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0400-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch rename to target/linux/brcm2708/patches-4.19/950-0399-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch index d04c87931d..fb6ab5db8e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0400-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0399-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch @@ -1,7 +1,7 @@ -From 5cf3feb4772646be2eac9f9e9bd730ede0be7568 Mon Sep 17 00:00:00 2001 +From 957ccf05060d65da074d019679ec7f486477e412 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:45 -0700 -Subject: [PATCH 400/773] ASoC: tlv320aic32x4: Model PLL in CCF +Subject: [PATCH 399/806] ASoC: tlv320aic32x4: Model PLL in CCF commit 514b044cba667e4b7c383ec79b42b997e624b91d upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0401-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch b/target/linux/brcm2708/patches-4.19/950-0400-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0401-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch rename to target/linux/brcm2708/patches-4.19/950-0400-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch index 041b01546a..3074140a6d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0401-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0400-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch @@ -1,7 +1,7 @@ -From ea2e656f039961331db8e83322d461f56feae325 Mon Sep 17 00:00:00 2001 +From c5f9d78ec34de15732bcbff52bedba7a840e42b2 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:46 -0700 -Subject: [PATCH 401/773] ASoC: tlv320aic32x4: Model CODEC_CLKIN in CCF +Subject: [PATCH 400/806] ASoC: tlv320aic32x4: Model CODEC_CLKIN in CCF commit fd2df3aeafa4b4cc468d58e147e0822967034b71 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0402-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch b/target/linux/brcm2708/patches-4.19/950-0401-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0402-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch rename to target/linux/brcm2708/patches-4.19/950-0401-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch index 6fb2d142de..6d9069323f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0402-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0401-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch @@ -1,7 +1,7 @@ -From e9c691396d5e78be3d71090924d42a19b4959ac2 Mon Sep 17 00:00:00 2001 +From 3bf2e5984ab7acb4469ab0f3dfee8b7392001bbf Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:47 -0700 -Subject: [PATCH 402/773] ASoC: tlv320aic32x4: Model DAC/ADC dividers in CCF +Subject: [PATCH 401/806] ASoC: tlv320aic32x4: Model DAC/ADC dividers in CCF commit a51b50062091619915c5155085bbe13a7aca6903 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0403-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch b/target/linux/brcm2708/patches-4.19/950-0402-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0403-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch rename to target/linux/brcm2708/patches-4.19/950-0402-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch index 629be51911..3bcc52e3e5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0403-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0402-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch @@ -1,7 +1,7 @@ -From e8a7d56b23d0caa7fbe0d6304fb73431229b2b9d Mon Sep 17 00:00:00 2001 +From 69f3f8c51077d0f3dc7f46c2c9a94da899d8eb7c Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:48 -0700 -Subject: [PATCH 403/773] ASoC: tlv320aic32x4: Model BDIV divider in CCF +Subject: [PATCH 402/806] ASoC: tlv320aic32x4: Model BDIV divider in CCF commit 9b484124ebd906c4d6bc826cc0d417e80cc1105c upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0404-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch b/target/linux/brcm2708/patches-4.19/950-0403-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0404-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch rename to target/linux/brcm2708/patches-4.19/950-0403-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch index 0b44538151..e601d8fb02 100644 --- a/target/linux/brcm2708/patches-4.19/950-0404-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0403-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch @@ -1,7 +1,7 @@ -From 0d5aca18bd8a4ad3fa82f1f7f82cc0b95575a492 Mon Sep 17 00:00:00 2001 +From f844ea32cba0c4030594a0f590725477a5751f32 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:49 -0700 -Subject: [PATCH 404/773] ASoC: tlv320aic32x4: Control clock gating with CCF +Subject: [PATCH 403/806] ASoC: tlv320aic32x4: Control clock gating with CCF commit d25970b5fd51e9fcf0afbe190908ea4049454da4 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0405-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch b/target/linux/brcm2708/patches-4.19/950-0404-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0405-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch rename to target/linux/brcm2708/patches-4.19/950-0404-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch index 723ff9c1d8..2a37d65abb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0405-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch +++ b/target/linux/brcm2708/patches-4.19/950-0404-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch @@ -1,7 +1,7 @@ -From fec4f0b76b1641917c9d2f60169194a00aee5916 Mon Sep 17 00:00:00 2001 +From a2d8d212b986e4a4ae52c748d246e4c28ebaf1bc Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:50 -0700 -Subject: [PATCH 405/773] ASoC: tlv320aic32x4: Move aosr and dosr setting to +Subject: [PATCH 404/806] ASoC: tlv320aic32x4: Move aosr and dosr setting to separate functions commit fbafbf6517274a797e6e6508c18dd8dba5920c89 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0406-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch b/target/linux/brcm2708/patches-4.19/950-0405-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0406-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch rename to target/linux/brcm2708/patches-4.19/950-0405-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch index 82f795a0d4..173af094d4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0406-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch +++ b/target/linux/brcm2708/patches-4.19/950-0405-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch @@ -1,7 +1,7 @@ -From bb3ce792b7f1064d7b9326714fc9ad3eb399fe2f Mon Sep 17 00:00:00 2001 +From 3e62c56daa1c799bb2a1d954ecfb88e8d37421bb Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:51 -0700 -Subject: [PATCH 406/773] ASoC: tlv320aic32x4: Dynamically Determine Clocking +Subject: [PATCH 405/806] ASoC: tlv320aic32x4: Dynamically Determine Clocking commit 96c3bb00239de4fb5f4ddca42c1f90d6d9b3c697 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0407-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch b/target/linux/brcm2708/patches-4.19/950-0406-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0407-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch rename to target/linux/brcm2708/patches-4.19/950-0406-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch index e225e8afbf..1f26a578db 100644 --- a/target/linux/brcm2708/patches-4.19/950-0407-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch +++ b/target/linux/brcm2708/patches-4.19/950-0406-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch @@ -1,7 +1,7 @@ -From 3dddc847d2889d096879b81480850ae4de1f3efe Mon Sep 17 00:00:00 2001 +From 5ec6ed3e423878cf975a955c8796c2cdb10b5ca7 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:52 -0700 -Subject: [PATCH 407/773] ASoC: tlv320aic32x4: Restructure set_dai_sysclk +Subject: [PATCH 406/806] ASoC: tlv320aic32x4: Restructure set_dai_sysclk commit aa6a60f7be925210d5156f0e8025f3afe1f4f54d upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0408-ASoC-tlv320aic32x4-Remove-mclk-references.patch b/target/linux/brcm2708/patches-4.19/950-0407-ASoC-tlv320aic32x4-Remove-mclk-references.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0408-ASoC-tlv320aic32x4-Remove-mclk-references.patch rename to target/linux/brcm2708/patches-4.19/950-0407-ASoC-tlv320aic32x4-Remove-mclk-references.patch index 9e25ce7065..7f3e708191 100644 --- a/target/linux/brcm2708/patches-4.19/950-0408-ASoC-tlv320aic32x4-Remove-mclk-references.patch +++ b/target/linux/brcm2708/patches-4.19/950-0407-ASoC-tlv320aic32x4-Remove-mclk-references.patch @@ -1,7 +1,7 @@ -From 061b34c3cce2b8d1d2039119137b943bf1934429 Mon Sep 17 00:00:00 2001 +From 3c7bf08e6b6bdc2e6005aaa5e6aa6d12ce40d406 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:53 -0700 -Subject: [PATCH 408/773] ASoC: tlv320aic32x4: Remove mclk references +Subject: [PATCH 407/806] ASoC: tlv320aic32x4: Remove mclk references commit 78f2d58a289302e56a7def96a783a7686ebf27e2 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0409-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch b/target/linux/brcm2708/patches-4.19/950-0408-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0409-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch rename to target/linux/brcm2708/patches-4.19/950-0408-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch index 66ded01b5c..c4673249c5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0409-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch +++ b/target/linux/brcm2708/patches-4.19/950-0408-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch @@ -1,7 +1,7 @@ -From 88410f24832eca9a9b7a870601f15226ced06b45 Mon Sep 17 00:00:00 2001 +From e54269cdeb78beb5131594de702daeecc2b05ec2 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Thu, 21 Mar 2019 17:58:54 -0700 -Subject: [PATCH 409/773] ASoC: tlv320aic32x4: Allow 192000 Sample Rate +Subject: [PATCH 408/806] ASoC: tlv320aic32x4: Allow 192000 Sample Rate commit 6d56ee1550b8a81bc63c80051ff78d8d704b09ba upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0410-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch b/target/linux/brcm2708/patches-4.19/950-0409-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0410-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch rename to target/linux/brcm2708/patches-4.19/950-0409-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch index 24a3c27b92..a27e720b82 100644 --- a/target/linux/brcm2708/patches-4.19/950-0410-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch +++ b/target/linux/brcm2708/patches-4.19/950-0409-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch @@ -1,7 +1,7 @@ -From f581673c8896d351653f85185ef27293d1359b44 Mon Sep 17 00:00:00 2001 +From 0ef20f96802fac1ce888a1e0b56e14b6b3fd4f72 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 26 Mar 2019 13:10:13 +0000 -Subject: [PATCH 410/773] ASoC: tlv320aic32x4: Only enable with common clock +Subject: [PATCH 409/806] ASoC: tlv320aic32x4: Only enable with common clock commit 64f01d2b5ccc621c3aa66b82daf9154f5581f36a upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0411-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch b/target/linux/brcm2708/patches-4.19/950-0410-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0411-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch rename to target/linux/brcm2708/patches-4.19/950-0410-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch index 9df74ac1bb..48d6c85e5a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0411-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0410-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch @@ -1,7 +1,7 @@ -From 0cf49c5a3e560901a98562abb00f8402f1ac3a14 Mon Sep 17 00:00:00 2001 +From c667b06f616d5dec68469ac73764abd5bcb1d694 Mon Sep 17 00:00:00 2001 From: FERHAT Nicolas Date: Fri, 5 Apr 2019 13:06:42 +0100 -Subject: [PATCH 411/773] Audiophonics I-Sabre 9038Q2M DAC driver +Subject: [PATCH 410/806] Audiophonics I-Sabre 9038Q2M DAC driver Signed-off-by: Audiophonics --- diff --git a/target/linux/brcm2708/patches-4.19/950-0412-ASoC-tlv320aic32x4-Change-author-s-name.patch b/target/linux/brcm2708/patches-4.19/950-0411-ASoC-tlv320aic32x4-Change-author-s-name.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0412-ASoC-tlv320aic32x4-Change-author-s-name.patch rename to target/linux/brcm2708/patches-4.19/950-0411-ASoC-tlv320aic32x4-Change-author-s-name.patch index fad5f034b0..558fddae57 100644 --- a/target/linux/brcm2708/patches-4.19/950-0412-ASoC-tlv320aic32x4-Change-author-s-name.patch +++ b/target/linux/brcm2708/patches-4.19/950-0411-ASoC-tlv320aic32x4-Change-author-s-name.patch @@ -1,7 +1,7 @@ -From e4e57bd8465edf59a02b8e2841c700dd7f454176 Mon Sep 17 00:00:00 2001 +From 5942d9e650ce419236d5a7dc53c2513889ed3453 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Wed, 3 Apr 2019 21:17:15 -0700 -Subject: [PATCH 412/773] ASoC: tlv320aic32x4: Change author's name +Subject: [PATCH 411/806] ASoC: tlv320aic32x4: Change author's name commit 7297ba6c74c5b9e78d8e936af82eecfcf7d32dfb upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0413-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch b/target/linux/brcm2708/patches-4.19/950-0412-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0413-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch rename to target/linux/brcm2708/patches-4.19/950-0412-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch index 5b8369604a..6341948129 100644 --- a/target/linux/brcm2708/patches-4.19/950-0413-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch +++ b/target/linux/brcm2708/patches-4.19/950-0412-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch @@ -1,7 +1,7 @@ -From c9508a7de9cac03d8fc482af363d886b17931e3d Mon Sep 17 00:00:00 2001 +From 1ed86adfa457ecd9668f2541dabfebd3ee82d035 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Wed, 3 Apr 2019 21:17:16 -0700 -Subject: [PATCH 413/773] ASoC: tlv320aic32x4: Update copyright and use SPDX +Subject: [PATCH 412/806] ASoC: tlv320aic32x4: Update copyright and use SPDX identifier commit 8a1d95c393d971e624fc28f11516b0bc3a7fa706 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0414-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch b/target/linux/brcm2708/patches-4.19/950-0413-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0414-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch rename to target/linux/brcm2708/patches-4.19/950-0413-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch index 6b8c2cc770..af7ff04a73 100644 --- a/target/linux/brcm2708/patches-4.19/950-0414-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch +++ b/target/linux/brcm2708/patches-4.19/950-0413-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch @@ -1,7 +1,7 @@ -From dd1eb4f52da71e7f8d44f96445129864ce25ec2a Mon Sep 17 00:00:00 2001 +From 0962637c67a56c1ae42ccb14c9e71c62f4aa1403 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Wed, 3 Apr 2019 21:01:54 -0700 -Subject: [PATCH 414/773] ASoC: tlv320aic32x4: Add Switch for Setting Common +Subject: [PATCH 413/806] ASoC: tlv320aic32x4: Add Switch for Setting Common Mode Voltage commit 44ceee847e27c828f2f1ef4e400e6bc0c8d04de3 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0415-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch b/target/linux/brcm2708/patches-4.19/950-0414-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0415-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch rename to target/linux/brcm2708/patches-4.19/950-0414-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch index c5f0da36ee..ed99515eb2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0415-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch +++ b/target/linux/brcm2708/patches-4.19/950-0414-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch @@ -1,7 +1,7 @@ -From a4e379a25c1f3a132e7508e59e44e2d58b322498 Mon Sep 17 00:00:00 2001 +From 6e5099288c946037476abd1488e4c7ab6b818e2b Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Wed, 3 Apr 2019 21:01:55 -0700 -Subject: [PATCH 415/773] ASoC: tlv320aic32x4: Add Playback PowerTune Controls +Subject: [PATCH 414/806] ASoC: tlv320aic32x4: Add Playback PowerTune Controls commit d3e6e374566e1154820a9a3dc82f7eef646fcf95 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0416-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch b/target/linux/brcm2708/patches-4.19/950-0415-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0416-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch rename to target/linux/brcm2708/patches-4.19/950-0415-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch index a37fbab51f..b244fec143 100644 --- a/target/linux/brcm2708/patches-4.19/950-0416-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch +++ b/target/linux/brcm2708/patches-4.19/950-0415-dtoverlays-Add-Support-for-the-UDRC-DRAWS.patch @@ -1,7 +1,7 @@ -From d6731331f00859fd9b172db1ae71eb76e4239c8c Mon Sep 17 00:00:00 2001 +From 1d3aeba25b10d1ed2b5ae4cf0b535d821539a531 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Sun, 17 Mar 2019 16:48:36 -0700 -Subject: [PATCH 416/773] dtoverlays: Add Support for the UDRC/DRAWS +Subject: [PATCH 415/806] dtoverlays: Add Support for the UDRC/DRAWS Adds a new overlay to support the Northwest Digital Radio DRAWS and UDRC HATs. See http://nwdigitalradio.com. diff --git a/target/linux/brcm2708/patches-4.19/950-0417-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch b/target/linux/brcm2708/patches-4.19/950-0416-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0417-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch rename to target/linux/brcm2708/patches-4.19/950-0416-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch index 0cc6eaeb3c..6b72edb0b3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0417-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0416-dwc_otg-only-do_split-when-we-actually-need-to-do-a-.patch @@ -1,7 +1,7 @@ -From 4bdf5b3f1aca778bfce24ffebf8d00db24321e36 Mon Sep 17 00:00:00 2001 +From 0c988aed71773be4481b886ccf03c40a52f57cdb Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 8 Apr 2019 12:45:23 +0100 -Subject: [PATCH 417/773] dwc_otg: only do_split when we actually need to do a +Subject: [PATCH 416/806] dwc_otg: only do_split when we actually need to do a split The previous test would fail if the root port was in fullspeed mode diff --git a/target/linux/brcm2708/patches-4.19/950-0418-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch b/target/linux/brcm2708/patches-4.19/950-0417-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0418-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch rename to target/linux/brcm2708/patches-4.19/950-0417-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch index 412400e14e..abe176ee1a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0418-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch +++ b/target/linux/brcm2708/patches-4.19/950-0417-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch @@ -1,7 +1,7 @@ -From 7b8839dc268225574109471283cd7c38618b68f2 Mon Sep 17 00:00:00 2001 +From 9c823e2ee1ec1b815b8ec29c231b112c5e397202 Mon Sep 17 00:00:00 2001 From: Samuel Hsu Date: Mon, 8 Apr 2019 16:42:17 +0200 -Subject: [PATCH 418/773] Input: ili210x - fetch touchscreen geometry from DT +Subject: [PATCH 417/806] Input: ili210x - fetch touchscreen geometry from DT commit f67cc3e927d8414ad3872e046764534ea1f5db0d upstream diff --git a/target/linux/brcm2708/patches-4.19/950-0419-Input-ili210x-add-DT-binding-document.patch b/target/linux/brcm2708/patches-4.19/950-0418-Input-ili210x-add-DT-binding-document.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0419-Input-ili210x-add-DT-binding-document.patch rename to target/linux/brcm2708/patches-4.19/950-0418-Input-ili210x-add-DT-binding-document.patch index a1f4d6c3a1..2d968fde69 100644 --- a/target/linux/brcm2708/patches-4.19/950-0419-Input-ili210x-add-DT-binding-document.patch +++ b/target/linux/brcm2708/patches-4.19/950-0418-Input-ili210x-add-DT-binding-document.patch @@ -1,7 +1,7 @@ -From f1676cc3d7dbeb175906cd1aafe7a39bbe08ce8a Mon Sep 17 00:00:00 2001 +From 9ee66e1acf33fd1dcf4beb8a6fce4fdade01ab05 Mon Sep 17 00:00:00 2001 From: Samuel Hsu Date: Mon, 8 Apr 2019 16:49:51 +0200 -Subject: [PATCH 419/773] Input: ili210x - add DT binding document +Subject: [PATCH 418/806] Input: ili210x - add DT binding document commit 41a852e002e65ab7a1e6841b485d72d022e95df2 upstream diff --git a/target/linux/brcm2708/patches-4.19/950-0420-configs-Add-TOUCHSCREEN_ILI210X-m.patch b/target/linux/brcm2708/patches-4.19/950-0419-configs-Add-TOUCHSCREEN_ILI210X-m.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0420-configs-Add-TOUCHSCREEN_ILI210X-m.patch rename to target/linux/brcm2708/patches-4.19/950-0419-configs-Add-TOUCHSCREEN_ILI210X-m.patch index 446d9ec286..c9218e9302 100644 --- a/target/linux/brcm2708/patches-4.19/950-0420-configs-Add-TOUCHSCREEN_ILI210X-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0419-configs-Add-TOUCHSCREEN_ILI210X-m.patch @@ -1,7 +1,7 @@ -From 14f64762184b51f575da05b5731e0a32a048c6bc Mon Sep 17 00:00:00 2001 +From b3ab4206dbc0f85248fac08e950c427922020e4d Mon Sep 17 00:00:00 2001 From: Samuel Hsu Date: Mon, 8 Apr 2019 16:54:34 +0200 -Subject: [PATCH 420/773] configs: Add TOUCHSCREEN_ILI210X=m +Subject: [PATCH 419/806] configs: Add TOUCHSCREEN_ILI210X=m Signed-off-by: Samuel Hsu --- diff --git a/target/linux/brcm2708/patches-4.19/950-0421-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch b/target/linux/brcm2708/patches-4.19/950-0420-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0421-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch rename to target/linux/brcm2708/patches-4.19/950-0420-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch index 83fac6fda0..b1c0b6ff4e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0421-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch +++ b/target/linux/brcm2708/patches-4.19/950-0420-BCM2708-Add-core-Device-Tree-support-ilitek251x.patch @@ -1,7 +1,7 @@ -From 63cbc9d36724e5f939f2003bdf73739cbfbac724 Mon Sep 17 00:00:00 2001 +From c0dfc87e355a7c6e434122e1a4fcc69729970610 Mon Sep 17 00:00:00 2001 From: Samuel Hsu Date: Mon, 8 Apr 2019 17:06:44 +0200 -Subject: [PATCH 421/773] BCM2708: Add core Device Tree support, ilitek251x +Subject: [PATCH 420/806] BCM2708: Add core Device Tree support, ilitek251x Signed-off-by: Samuel Hsu --- diff --git a/target/linux/brcm2708/patches-4.19/950-0422-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch b/target/linux/brcm2708/patches-4.19/950-0421-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0422-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch rename to target/linux/brcm2708/patches-4.19/950-0421-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch index 4121c867a6..dbf383f6c3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0422-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch +++ b/target/linux/brcm2708/patches-4.19/950-0421-dwc_otg-fix-locking-around-dequeueing-and-killing-UR.patch @@ -1,7 +1,7 @@ -From ae80b2795f6084ec8daa5840b3ea5dc70ffb0d3b Mon Sep 17 00:00:00 2001 +From ea7ff2070d564858c445cfdbd883ea00927c0ada Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 9 Apr 2019 16:40:48 +0100 -Subject: [PATCH 422/773] dwc_otg: fix locking around dequeueing and killing +Subject: [PATCH 421/806] dwc_otg: fix locking around dequeueing and killing URBs kill_urbs_in_qh_list() is practically only ever called with the fiq lock diff --git a/target/linux/brcm2708/patches-4.19/950-0423-rtc-rv3028-Add-backup-switchover-mode-support.patch b/target/linux/brcm2708/patches-4.19/950-0422-rtc-rv3028-Add-backup-switchover-mode-support.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0423-rtc-rv3028-Add-backup-switchover-mode-support.patch rename to target/linux/brcm2708/patches-4.19/950-0422-rtc-rv3028-Add-backup-switchover-mode-support.patch index 120bb38624..2b78e0bee4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0423-rtc-rv3028-Add-backup-switchover-mode-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0422-rtc-rv3028-Add-backup-switchover-mode-support.patch @@ -1,7 +1,7 @@ -From e3273d6c63ea4956b2ee428be1cf7cae9b848614 Mon Sep 17 00:00:00 2001 +From fb4e195012c405a04b1a7a86e240ceada0c8aa65 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Fri, 29 Mar 2019 10:53:14 +0000 -Subject: [PATCH 423/773] rtc: rv3028: Add backup switchover mode support +Subject: [PATCH 422/806] rtc: rv3028: Add backup switchover mode support Signed-off-by: Phil Howard --- diff --git a/target/linux/brcm2708/patches-4.19/950-0424-dt-bindings-rv3028-backup-switchover-support.patch b/target/linux/brcm2708/patches-4.19/950-0423-dt-bindings-rv3028-backup-switchover-support.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0424-dt-bindings-rv3028-backup-switchover-support.patch rename to target/linux/brcm2708/patches-4.19/950-0423-dt-bindings-rv3028-backup-switchover-support.patch index eac608b2e1..1482dc06bd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0424-dt-bindings-rv3028-backup-switchover-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0423-dt-bindings-rv3028-backup-switchover-support.patch @@ -1,7 +1,7 @@ -From b31ebf3a7ef8fb645ea199b90d0c568b85ee558f Mon Sep 17 00:00:00 2001 +From 48598900ebd06f5880b01fcc60e240ea4a04858c Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Fri, 29 Mar 2019 10:57:07 +0000 -Subject: [PATCH 424/773] dt-bindings: rv3028 backup switchover support +Subject: [PATCH 423/806] dt-bindings: rv3028 backup switchover support Signed-off-by: Phil Howard --- diff --git a/target/linux/brcm2708/patches-4.19/950-0425-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch b/target/linux/brcm2708/patches-4.19/950-0424-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0425-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch rename to target/linux/brcm2708/patches-4.19/950-0424-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch index 9a54ed5fa5..034d3fb493 100644 --- a/target/linux/brcm2708/patches-4.19/950-0425-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch +++ b/target/linux/brcm2708/patches-4.19/950-0424-overlays-Add-rv3028-backup-switchover-support-to-i2c.patch @@ -1,7 +1,7 @@ -From 918ce6082732828dd525c0a6a48e5232dadd4019 Mon Sep 17 00:00:00 2001 +From a2fdc7a590566d99d5261badeecb644664ff0fb3 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Fri, 29 Mar 2019 10:59:55 +0000 -Subject: [PATCH 425/773] overlays: Add rv3028 backup switchover support to +Subject: [PATCH 424/806] overlays: Add rv3028 backup switchover support to i2c-rtc Signed-off-by: Phil Howard diff --git a/target/linux/brcm2708/patches-4.19/950-0426-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch b/target/linux/brcm2708/patches-4.19/950-0425-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0426-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch rename to target/linux/brcm2708/patches-4.19/950-0425-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch index af540cd836..7fa37cb7b2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0426-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch +++ b/target/linux/brcm2708/patches-4.19/950-0425-Maxim-MAX98357A-I2S-DAC-overlay-2935.patch @@ -1,7 +1,7 @@ -From a1e9cfcbdb2182c6b9ee86403f2000907ff56d26 Mon Sep 17 00:00:00 2001 +From 5962d99b5efed4297ed5c1807d21b406ab86aef1 Mon Sep 17 00:00:00 2001 From: wavelet2 <20504977+wavelet2@users.noreply.github.com> Date: Mon, 15 Apr 2019 10:00:20 +0100 -Subject: [PATCH 426/773] Maxim MAX98357A I2S DAC overlay (#2935) +Subject: [PATCH 425/806] Maxim MAX98357A I2S DAC overlay (#2935) Add overlay for Maxim MAX98357A I2S DAC. diff --git a/target/linux/brcm2708/patches-4.19/950-0427-sound-Fixes-for-audioinjector-octo-under-4.19.patch b/target/linux/brcm2708/patches-4.19/950-0426-sound-Fixes-for-audioinjector-octo-under-4.19.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0427-sound-Fixes-for-audioinjector-octo-under-4.19.patch rename to target/linux/brcm2708/patches-4.19/950-0426-sound-Fixes-for-audioinjector-octo-under-4.19.patch index f2306d671c..63c71221a1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0427-sound-Fixes-for-audioinjector-octo-under-4.19.patch +++ b/target/linux/brcm2708/patches-4.19/950-0426-sound-Fixes-for-audioinjector-octo-under-4.19.patch @@ -1,7 +1,7 @@ -From b0acc464355ae39bff22f99cf8b63636ce246da4 Mon Sep 17 00:00:00 2001 +From d003eff5bc4d19902867ad585292780a94746705 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Mar 2019 11:19:46 +0000 -Subject: [PATCH 427/773] sound: Fixes for audioinjector-octo under 4.19 +Subject: [PATCH 426/806] sound: Fixes for audioinjector-octo under 4.19 1. Move the DT alias declaration to the I2C shim in the cases where the shim is enabled. This works around a problem caused by a diff --git a/target/linux/brcm2708/patches-4.19/950-0428-Revert-cgroup-Disable-cgroup-memory-by-default.patch b/target/linux/brcm2708/patches-4.19/950-0427-Revert-cgroup-Disable-cgroup-memory-by-default.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0428-Revert-cgroup-Disable-cgroup-memory-by-default.patch rename to target/linux/brcm2708/patches-4.19/950-0427-Revert-cgroup-Disable-cgroup-memory-by-default.patch index 8892ebef7f..3a0539fc51 100644 --- a/target/linux/brcm2708/patches-4.19/950-0428-Revert-cgroup-Disable-cgroup-memory-by-default.patch +++ b/target/linux/brcm2708/patches-4.19/950-0427-Revert-cgroup-Disable-cgroup-memory-by-default.patch @@ -1,7 +1,7 @@ -From 058236ea822406c145b76174c8833e46a6b0a4a7 Mon Sep 17 00:00:00 2001 +From 49b6bb41655247c123cdc46dd49276a107c8b1d2 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 24 Apr 2019 14:25:09 +0100 -Subject: [PATCH 428/773] Revert "cgroup: Disable cgroup "memory" by default" +Subject: [PATCH 427/806] Revert "cgroup: Disable cgroup "memory" by default" This reverts commit cd6ce4d0ded13c94ff5208c679ed5e030263149b. --- diff --git a/target/linux/brcm2708/patches-4.19/950-0429-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch b/target/linux/brcm2708/patches-4.19/950-0428-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0429-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch rename to target/linux/brcm2708/patches-4.19/950-0428-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch index a13afb5b84..e68ebf2007 100644 --- a/target/linux/brcm2708/patches-4.19/950-0429-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch +++ b/target/linux/brcm2708/patches-4.19/950-0428-Revert-defconfigs-disable-memory-and-IO-cgroups-2908.patch @@ -1,7 +1,7 @@ -From 437f429eabf773fe5e50d13b98b341eb6969b349 Mon Sep 17 00:00:00 2001 +From d4de8d2873994b22855d57ccdc21b52d2c7bbd7b Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 24 Apr 2019 14:25:41 +0100 -Subject: [PATCH 429/773] Revert "defconfigs: disable memory and IO cgroups +Subject: [PATCH 428/806] Revert "defconfigs: disable memory and IO cgroups (#2908)" This reverts commit 9881cdbf446081f71c62f39f4c56a21001baea73. diff --git a/target/linux/brcm2708/patches-4.19/950-0430-overlays-Add-PiGlow-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0429-overlays-Add-PiGlow-overlay.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0430-overlays-Add-PiGlow-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0429-overlays-Add-PiGlow-overlay.patch index 9df5b5f2a0..ee04fc7d80 100644 --- a/target/linux/brcm2708/patches-4.19/950-0430-overlays-Add-PiGlow-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0429-overlays-Add-PiGlow-overlay.patch @@ -1,7 +1,7 @@ -From 02b423ddf63dfd3c34619923b4052f120f5d0807 Mon Sep 17 00:00:00 2001 +From 615467f56356a2054d3a86854d391b7a2e0d5811 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Mon, 29 Apr 2019 19:35:33 +0200 -Subject: [PATCH 430/773] overlays: Add PiGlow overlay +Subject: [PATCH 429/806] overlays: Add PiGlow overlay The PiGlow is a small add-on board for the Raspberry Pi that provides 18 individually controllable LEDs (SN3218) and uses the following pins: diff --git a/target/linux/brcm2708/patches-4.19/950-0431-configs-enable-LED-driver-for-PiGlow.patch b/target/linux/brcm2708/patches-4.19/950-0430-configs-enable-LED-driver-for-PiGlow.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0431-configs-enable-LED-driver-for-PiGlow.patch rename to target/linux/brcm2708/patches-4.19/950-0430-configs-enable-LED-driver-for-PiGlow.patch index 6ea7815bb4..15873d11fc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0431-configs-enable-LED-driver-for-PiGlow.patch +++ b/target/linux/brcm2708/patches-4.19/950-0430-configs-enable-LED-driver-for-PiGlow.patch @@ -1,7 +1,7 @@ -From 9ce243fb88cc752a4a807e19277f0203376a2796 Mon Sep 17 00:00:00 2001 +From c9f47471ab4a4a1d9d96eaca2260cad7dfefa371 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Mon, 29 Apr 2019 19:28:51 +0200 -Subject: [PATCH 431/773] configs: enable LED driver for PiGlow +Subject: [PATCH 430/806] configs: enable LED driver for PiGlow Signed-off-by: Stefan Wahren --- diff --git a/target/linux/brcm2708/patches-4.19/950-0432-Revert-bcm2835-interpolate-audio-delay.patch b/target/linux/brcm2708/patches-4.19/950-0431-Revert-bcm2835-interpolate-audio-delay.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0432-Revert-bcm2835-interpolate-audio-delay.patch rename to target/linux/brcm2708/patches-4.19/950-0431-Revert-bcm2835-interpolate-audio-delay.patch index 6881db06e1..ec87a5b397 100644 --- a/target/linux/brcm2708/patches-4.19/950-0432-Revert-bcm2835-interpolate-audio-delay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0431-Revert-bcm2835-interpolate-audio-delay.patch @@ -1,7 +1,7 @@ -From 2b37269c2b8987fd4cb548c63bff824e73b35c99 Mon Sep 17 00:00:00 2001 +From 83251570f16ec848694dac016cbdb55b1d28496d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 29 Apr 2019 19:16:14 +0100 -Subject: [PATCH 432/773] Revert "bcm2835: interpolate audio delay" +Subject: [PATCH 431/806] Revert "bcm2835: interpolate audio delay" commit fb4b9f02986fcb5ae751106ef9b027806b5dd750 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0433-Revert-staging-bcm2835-audio-Enable-compile-test.patch b/target/linux/brcm2708/patches-4.19/950-0432-Revert-staging-bcm2835-audio-Enable-compile-test.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0433-Revert-staging-bcm2835-audio-Enable-compile-test.patch rename to target/linux/brcm2708/patches-4.19/950-0432-Revert-staging-bcm2835-audio-Enable-compile-test.patch index 78154c42a8..d5d74f1854 100644 --- a/target/linux/brcm2708/patches-4.19/950-0433-Revert-staging-bcm2835-audio-Enable-compile-test.patch +++ b/target/linux/brcm2708/patches-4.19/950-0432-Revert-staging-bcm2835-audio-Enable-compile-test.patch @@ -1,7 +1,7 @@ -From 008aadaeb36373557d79b0e092cd54016230231b Mon Sep 17 00:00:00 2001 +From e276e2d7b80259819e399eb3956ca92e5ddafbc3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 29 Apr 2019 19:16:15 +0100 -Subject: [PATCH 433/773] Revert "staging: bcm2835-audio: Enable compile test" +Subject: [PATCH 432/806] Revert "staging: bcm2835-audio: Enable compile test" commit 4eae66777a262ac9707980ea0cfe902afadfb577 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0434-Revert-staging-bcm2835-audio-use-module_platform_dri.patch b/target/linux/brcm2708/patches-4.19/950-0433-Revert-staging-bcm2835-audio-use-module_platform_dri.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0434-Revert-staging-bcm2835-audio-use-module_platform_dri.patch rename to target/linux/brcm2708/patches-4.19/950-0433-Revert-staging-bcm2835-audio-use-module_platform_dri.patch index 3690b12a46..e211161496 100644 --- a/target/linux/brcm2708/patches-4.19/950-0434-Revert-staging-bcm2835-audio-use-module_platform_dri.patch +++ b/target/linux/brcm2708/patches-4.19/950-0433-Revert-staging-bcm2835-audio-use-module_platform_dri.patch @@ -1,7 +1,7 @@ -From 77f4c32bb54987b8bf1682fea6ccf40e1da5a5a2 Mon Sep 17 00:00:00 2001 +From 576521feaa6a03f45839c28f1ce0588e4e49b0ca Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 29 Apr 2019 19:16:16 +0100 -Subject: [PATCH 434/773] Revert "staging: bcm2835-audio: use +Subject: [PATCH 433/806] Revert "staging: bcm2835-audio: use module_platform_driver() macro" commit ed4c2e5dc4216d5dded502bfcf594d3984e6bccd upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0435-staging-bcm2835-audio-Clean-up-mutex-locks.patch b/target/linux/brcm2708/patches-4.19/950-0434-staging-bcm2835-audio-Clean-up-mutex-locks.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0435-staging-bcm2835-audio-Clean-up-mutex-locks.patch rename to target/linux/brcm2708/patches-4.19/950-0434-staging-bcm2835-audio-Clean-up-mutex-locks.patch index 0c23471625..b102e1c36d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0435-staging-bcm2835-audio-Clean-up-mutex-locks.patch +++ b/target/linux/brcm2708/patches-4.19/950-0434-staging-bcm2835-audio-Clean-up-mutex-locks.patch @@ -1,7 +1,7 @@ -From 6d623d81da84bf401e64bc0be1fc0c7db67d3ce0 Mon Sep 17 00:00:00 2001 +From 96588b9ccaddd69a832a07e2e3f2f3299e6d6c3a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:30 +0200 -Subject: [PATCH 435/773] staging: bcm2835-audio: Clean up mutex locks +Subject: [PATCH 434/806] staging: bcm2835-audio: Clean up mutex locks commit ce4bb1aa271a97047b80ac917a5d91b54925913b upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0436-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch b/target/linux/brcm2708/patches-4.19/950-0435-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0436-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch rename to target/linux/brcm2708/patches-4.19/950-0435-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch index c8d4e84918..9b5ff7a762 100644 --- a/target/linux/brcm2708/patches-4.19/950-0436-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0435-staging-bcm2835-audio-Remove-redundant-spdif-stream-.patch @@ -1,7 +1,7 @@ -From b6225a1d58d920b8c013fbc9b8e6c8674e6cfdb6 Mon Sep 17 00:00:00 2001 +From a1a77a925422be3f0c48002c2aa6c6d898a37f95 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:31 +0200 -Subject: [PATCH 436/773] staging: bcm2835-audio: Remove redundant spdif stream +Subject: [PATCH 435/806] staging: bcm2835-audio: Remove redundant spdif stream ctls commit ab91e26229eaca2832df51e13c1285aea3be33ab upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0437-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch b/target/linux/brcm2708/patches-4.19/950-0436-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0437-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch rename to target/linux/brcm2708/patches-4.19/950-0436-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch index 676220d870..ab61997c74 100644 --- a/target/linux/brcm2708/patches-4.19/950-0437-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch +++ b/target/linux/brcm2708/patches-4.19/950-0436-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch @@ -1,7 +1,7 @@ -From c71543e34229b46f05ecbe83a1202a08baed8f74 Mon Sep 17 00:00:00 2001 +From 8eb8e04a27188f6abc22d09b4a1fffbec10d45f4 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:32 +0200 -Subject: [PATCH 437/773] staging: bcm2835-audio: Clean up include files in +Subject: [PATCH 436/806] staging: bcm2835-audio: Clean up include files in bcm2835-ctl.c commit 821950d3da4bf97bcfedcb812176a0f26b833db0 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0438-staging-bcm2835-audio-Remove-redundant-substream-mas.patch b/target/linux/brcm2708/patches-4.19/950-0437-staging-bcm2835-audio-Remove-redundant-substream-mas.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0438-staging-bcm2835-audio-Remove-redundant-substream-mas.patch rename to target/linux/brcm2708/patches-4.19/950-0437-staging-bcm2835-audio-Remove-redundant-substream-mas.patch index 77cf99201b..2c052b16bc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0438-staging-bcm2835-audio-Remove-redundant-substream-mas.patch +++ b/target/linux/brcm2708/patches-4.19/950-0437-staging-bcm2835-audio-Remove-redundant-substream-mas.patch @@ -1,7 +1,7 @@ -From cbe5f48a35763e4414305be5e607a3cc327230e9 Mon Sep 17 00:00:00 2001 +From 1120b4699738a3ee748314c433a96e45182a3411 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:33 +0200 -Subject: [PATCH 438/773] staging: bcm2835-audio: Remove redundant substream +Subject: [PATCH 437/806] staging: bcm2835-audio: Remove redundant substream mask checks commit 14b1f4cba853a11c7b381ad919622f38eb194bd7 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0439-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch b/target/linux/brcm2708/patches-4.19/950-0438-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0439-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch rename to target/linux/brcm2708/patches-4.19/950-0438-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch index dabf5fc97c..4a478fce42 100644 --- a/target/linux/brcm2708/patches-4.19/950-0439-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch +++ b/target/linux/brcm2708/patches-4.19/950-0438-staging-bcm2835-audio-Fix-mute-controls-volume-handl.patch @@ -1,7 +1,7 @@ -From 9d218cda96bad69fb3281c67b225cf1a312ede37 Mon Sep 17 00:00:00 2001 +From 31e4f118a750f4ddb2aeaaf02c5f3630fb50a176 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:34 +0200 -Subject: [PATCH 439/773] staging: bcm2835-audio: Fix mute controls, volume +Subject: [PATCH 438/806] staging: bcm2835-audio: Fix mute controls, volume handling cleanup commit 495e5a0d83d3902c741771f267a702ae19da8ab6 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0440-staging-bcm2835-audio-Remove-redundant-function-call.patch b/target/linux/brcm2708/patches-4.19/950-0439-staging-bcm2835-audio-Remove-redundant-function-call.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0440-staging-bcm2835-audio-Remove-redundant-function-call.patch rename to target/linux/brcm2708/patches-4.19/950-0439-staging-bcm2835-audio-Remove-redundant-function-call.patch index ef131591e9..acae9e896e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0440-staging-bcm2835-audio-Remove-redundant-function-call.patch +++ b/target/linux/brcm2708/patches-4.19/950-0439-staging-bcm2835-audio-Remove-redundant-function-call.patch @@ -1,7 +1,7 @@ -From 481546fda1bf4b63b668d50211f982ac06fda073 Mon Sep 17 00:00:00 2001 +From 79a3c1a4419b2bf04f6ff5ef84cd74b0456fdd9a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:35 +0200 -Subject: [PATCH 440/773] staging: bcm2835-audio: Remove redundant function +Subject: [PATCH 439/806] staging: bcm2835-audio: Remove redundant function calls commit 124950ebe9fa8547c59e8d4acc8d6c59e6278ed6 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0441-staging-bcm2835-audio-Remove-superfluous-open-flag.patch b/target/linux/brcm2708/patches-4.19/950-0440-staging-bcm2835-audio-Remove-superfluous-open-flag.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0441-staging-bcm2835-audio-Remove-superfluous-open-flag.patch rename to target/linux/brcm2708/patches-4.19/950-0440-staging-bcm2835-audio-Remove-superfluous-open-flag.patch index e4aa7ce22b..b471e3bc89 100644 --- a/target/linux/brcm2708/patches-4.19/950-0441-staging-bcm2835-audio-Remove-superfluous-open-flag.patch +++ b/target/linux/brcm2708/patches-4.19/950-0440-staging-bcm2835-audio-Remove-superfluous-open-flag.patch @@ -1,7 +1,7 @@ -From e09b2224769855077ccd9a16efb5949b6520b6ee Mon Sep 17 00:00:00 2001 +From af2fe52ef43c1aa6a24d1c51ad3ccddc39a12c51 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:36 +0200 -Subject: [PATCH 441/773] staging: bcm2835-audio: Remove superfluous open flag +Subject: [PATCH 440/806] staging: bcm2835-audio: Remove superfluous open flag commit ad13924de6b07cb52714ea1809c57b2e72a24504 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0442-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch b/target/linux/brcm2708/patches-4.19/950-0441-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0442-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch rename to target/linux/brcm2708/patches-4.19/950-0441-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch index 289fa9d515..d690ee1b98 100644 --- a/target/linux/brcm2708/patches-4.19/950-0442-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0441-staging-bcm2835-audio-Drop-useless-running-flag-and-.patch @@ -1,7 +1,7 @@ -From 4629c2d6374924f28ee9e23eaa0b44215ffc7a5c Mon Sep 17 00:00:00 2001 +From e8a202b4d06a07ba42b91a1dd3c2d9e9cedff32d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:37 +0200 -Subject: [PATCH 442/773] staging: bcm2835-audio: Drop useless running flag and +Subject: [PATCH 441/806] staging: bcm2835-audio: Drop useless running flag and check commit 02f2376321d75e78117f39ff81f215254ee6b4ef upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0443-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch b/target/linux/brcm2708/patches-4.19/950-0442-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0443-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch rename to target/linux/brcm2708/patches-4.19/950-0442-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch index b2a1309777..ab305096aa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0443-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch +++ b/target/linux/brcm2708/patches-4.19/950-0442-staging-bcm2835-audio-Fix-incorrect-draining-handlin.patch @@ -1,7 +1,7 @@ -From 79b036b042717037d23760dd94ba87ee6ddd5a33 Mon Sep 17 00:00:00 2001 +From e5414b543a330c64b2e0b5e96d604cf580c2b9b7 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:38 +0200 -Subject: [PATCH 443/773] staging: bcm2835-audio: Fix incorrect draining +Subject: [PATCH 442/806] staging: bcm2835-audio: Fix incorrect draining handling commit 7d2a91f5f1bcf08ca257bcf1ed9721fcd341f834 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0444-staging-bcm2835-audio-Kill-unused-spinlock.patch b/target/linux/brcm2708/patches-4.19/950-0443-staging-bcm2835-audio-Kill-unused-spinlock.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0444-staging-bcm2835-audio-Kill-unused-spinlock.patch rename to target/linux/brcm2708/patches-4.19/950-0443-staging-bcm2835-audio-Kill-unused-spinlock.patch index c2e12ef0d7..bdd8f2aa98 100644 --- a/target/linux/brcm2708/patches-4.19/950-0444-staging-bcm2835-audio-Kill-unused-spinlock.patch +++ b/target/linux/brcm2708/patches-4.19/950-0443-staging-bcm2835-audio-Kill-unused-spinlock.patch @@ -1,7 +1,7 @@ -From 75d41a9194b0f67725d47a767815ea917c7a2016 Mon Sep 17 00:00:00 2001 +From d9aef1329c29c20d8e0db9929a3235bfb1d718d3 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:39 +0200 -Subject: [PATCH 444/773] staging: bcm2835-audio: Kill unused spinlock +Subject: [PATCH 443/806] staging: bcm2835-audio: Kill unused spinlock commit 5332f6f012c0bf3a45c77dbc0f79814443a884d4 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0445-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch b/target/linux/brcm2708/patches-4.19/950-0444-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0445-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch rename to target/linux/brcm2708/patches-4.19/950-0444-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch index 0a44e5aa87..2912998f6a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0445-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch +++ b/target/linux/brcm2708/patches-4.19/950-0444-staging-bcm2835-audio-Use-PCM-runtime-values-instead.patch @@ -1,7 +1,7 @@ -From 41bf796b8c7b904b293c51331096ee4b7123c344 Mon Sep 17 00:00:00 2001 +From 4efb059f297f8234bc188b6bc1e4af673ce9f9e3 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:40 +0200 -Subject: [PATCH 445/773] staging: bcm2835-audio: Use PCM runtime values +Subject: [PATCH 444/806] staging: bcm2835-audio: Use PCM runtime values instead commit b8f7fdd50890b848e085c0519469aed4ff4d9b54 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0446-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch b/target/linux/brcm2708/patches-4.19/950-0445-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0446-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch rename to target/linux/brcm2708/patches-4.19/950-0445-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch index 858d53de49..8ae584c0af 100644 --- a/target/linux/brcm2708/patches-4.19/950-0446-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0445-staging-bcm2835-audio-Drop-unnecessary-pcm-indirect-.patch @@ -1,7 +1,7 @@ -From 0e087050b07f96f05537f986918f265dce8ce5d4 Mon Sep 17 00:00:00 2001 +From a08260154f88b0b97e3c8de6b3cdb7187e8c3d8a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:41 +0200 -Subject: [PATCH 446/773] staging: bcm2835-audio: Drop unnecessary pcm indirect +Subject: [PATCH 445/806] staging: bcm2835-audio: Drop unnecessary pcm indirect setup commit 7318ec896f4856fae2bb013858e422fa078201e1 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch b/target/linux/brcm2708/patches-4.19/950-0446-staging-bcm2835-audio-Drop-useless-NULL-check.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch rename to target/linux/brcm2708/patches-4.19/950-0446-staging-bcm2835-audio-Drop-useless-NULL-check.patch index 8fa6b31a8f..5c00d52f16 100644 --- a/target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch +++ b/target/linux/brcm2708/patches-4.19/950-0446-staging-bcm2835-audio-Drop-useless-NULL-check.patch @@ -1,7 +1,7 @@ -From 59aebb4b935a7f4a7aaf17e91746190ce50460aa Mon Sep 17 00:00:00 2001 +From 9f3956e7bbf868894b5aee41110dbe28f117918c Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:42 +0200 -Subject: [PATCH 447/773] staging: bcm2835-audio: Drop useless NULL check +Subject: [PATCH 446/806] staging: bcm2835-audio: Drop useless NULL check commit 8bcf9f252c29c2d5bcce3db605c0ebf1ef230f9c upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0448-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch b/target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0448-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch rename to target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch index 426817d9bc..8132a5a799 100644 --- a/target/linux/brcm2708/patches-4.19/950-0448-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch +++ b/target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Propagate-parameter-setup-erro.patch @@ -1,7 +1,7 @@ -From 444b043248d5dc8949cc3ccea92ce1a1ae281401 Mon Sep 17 00:00:00 2001 +From 2ab24bca59da765a12f4617527e671170230bf3a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:43 +0200 -Subject: [PATCH 448/773] staging: bcm2835-audio: Propagate parameter setup +Subject: [PATCH 447/806] staging: bcm2835-audio: Propagate parameter setup error commit fee5638fe552ff8222c3a5bdcc4a34255e248d8c upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0449-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch b/target/linux/brcm2708/patches-4.19/950-0448-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0449-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch rename to target/linux/brcm2708/patches-4.19/950-0448-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch index 704e7a22f4..ac3c922402 100644 --- a/target/linux/brcm2708/patches-4.19/950-0449-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch +++ b/target/linux/brcm2708/patches-4.19/950-0448-staging-bcm2835-audio-Drop-debug-messages-in-bcm2835.patch @@ -1,7 +1,7 @@ -From f28e4fbf66332a2f9f14b43191ef3f208eff2bd2 Mon Sep 17 00:00:00 2001 +From e109804fa00a139a05626c1b8ceebcfe3577fc6d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:44 +0200 -Subject: [PATCH 449/773] staging: bcm2835-audio: Drop debug messages in +Subject: [PATCH 448/806] staging: bcm2835-audio: Drop debug messages in bcm2835-pcm.c commit 055e1c330d04df87d4730a5db837161c11ddaafc upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0450-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch b/target/linux/brcm2708/patches-4.19/950-0449-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0450-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch rename to target/linux/brcm2708/patches-4.19/950-0449-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch index bd0f757bc7..e32c0b014d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0450-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch +++ b/target/linux/brcm2708/patches-4.19/950-0449-staging-bcm2835-audio-Drop-superfluous-mutex-lock-du.patch @@ -1,7 +1,7 @@ -From 5d5721bc8f85b12e9064655020761edba10ba9ce Mon Sep 17 00:00:00 2001 +From 3c7663a9b1763f64250db4b975a3ce246ef32e0f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:45 +0200 -Subject: [PATCH 450/773] staging: bcm2835-audio: Drop superfluous mutex lock +Subject: [PATCH 449/806] staging: bcm2835-audio: Drop superfluous mutex lock during prepare commit f0eb15d055380ff127e5f12c8fad2b36bdb3c006 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0451-staging-bcm2835-audio-Add-10ms-period-constraint.patch b/target/linux/brcm2708/patches-4.19/950-0450-staging-bcm2835-audio-Add-10ms-period-constraint.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0451-staging-bcm2835-audio-Add-10ms-period-constraint.patch rename to target/linux/brcm2708/patches-4.19/950-0450-staging-bcm2835-audio-Add-10ms-period-constraint.patch index 9121f5f986..2c294b54df 100644 --- a/target/linux/brcm2708/patches-4.19/950-0451-staging-bcm2835-audio-Add-10ms-period-constraint.patch +++ b/target/linux/brcm2708/patches-4.19/950-0450-staging-bcm2835-audio-Add-10ms-period-constraint.patch @@ -1,7 +1,7 @@ -From 4f25670ed874ada94086d930e3d9349b359fe089 Mon Sep 17 00:00:00 2001 +From daa78c198ece1ec901ee565c869ee1a60a95061d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:46 +0200 -Subject: [PATCH 451/773] staging: bcm2835-audio: Add 10ms period constraint +Subject: [PATCH 450/806] staging: bcm2835-audio: Add 10ms period constraint commit 93c66acaf68b5247c3121a46a71ff6a70fc1d492 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0452-staging-bcm2835-audio-Make-single-vchi-handle.patch b/target/linux/brcm2708/patches-4.19/950-0451-staging-bcm2835-audio-Make-single-vchi-handle.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0452-staging-bcm2835-audio-Make-single-vchi-handle.patch rename to target/linux/brcm2708/patches-4.19/950-0451-staging-bcm2835-audio-Make-single-vchi-handle.patch index ae45d3198e..e2cc298f4a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0452-staging-bcm2835-audio-Make-single-vchi-handle.patch +++ b/target/linux/brcm2708/patches-4.19/950-0451-staging-bcm2835-audio-Make-single-vchi-handle.patch @@ -1,7 +1,7 @@ -From 367a95c4865c984877834ac5f36e103c9153d236 Mon Sep 17 00:00:00 2001 +From 98a1612b199cb3060306c05d1a6d7ca18ef08475 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:47 +0200 -Subject: [PATCH 452/773] staging: bcm2835-audio: Make single vchi handle +Subject: [PATCH 451/806] staging: bcm2835-audio: Make single vchi handle commit 326a6edcb2ada56375bd7d3fc24c83f58e8da7f3 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0453-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch b/target/linux/brcm2708/patches-4.19/950-0452-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0453-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch rename to target/linux/brcm2708/patches-4.19/950-0452-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch index ecc692b466..38fcd39cd3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0453-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch +++ b/target/linux/brcm2708/patches-4.19/950-0452-staging-bcm2835-audio-Code-refactoring-of-vchiq-acce.patch @@ -1,7 +1,7 @@ -From a7bf741a30699a4144415cb33c249749da047402 Mon Sep 17 00:00:00 2001 +From 43f89ac74f3f221e3036a1ec311b24016860d15e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:48 +0200 -Subject: [PATCH 453/773] staging: bcm2835-audio: Code refactoring of vchiq +Subject: [PATCH 452/806] staging: bcm2835-audio: Code refactoring of vchiq accessor codes commit 769a8e9bf5cf39813f52962fdafdf7e4d52ad585 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0454-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch b/target/linux/brcm2708/patches-4.19/950-0453-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0454-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch rename to target/linux/brcm2708/patches-4.19/950-0453-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch index f562004d93..e12d29bbb4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0454-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch +++ b/target/linux/brcm2708/patches-4.19/950-0453-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch @@ -1,7 +1,7 @@ -From 911255bc6a42edd994f4bd5423af4a37ea6dc014 Mon Sep 17 00:00:00 2001 +From 87ba8310e9f0882e85926ac1ef91333f8906b303 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:49 +0200 -Subject: [PATCH 454/773] staging: bcm2835-audio: Operate non-atomic PCM ops +Subject: [PATCH 453/806] staging: bcm2835-audio: Operate non-atomic PCM ops commit 5c7883e5f27e829f3f3a2ba174d4a724bfd5f026 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0455-staging-bcm2835-audio-Use-card-private_data.patch b/target/linux/brcm2708/patches-4.19/950-0454-staging-bcm2835-audio-Use-card-private_data.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0455-staging-bcm2835-audio-Use-card-private_data.patch rename to target/linux/brcm2708/patches-4.19/950-0454-staging-bcm2835-audio-Use-card-private_data.patch index 7a9ccc3659..ba6a5b58b0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0455-staging-bcm2835-audio-Use-card-private_data.patch +++ b/target/linux/brcm2708/patches-4.19/950-0454-staging-bcm2835-audio-Use-card-private_data.patch @@ -1,7 +1,7 @@ -From 8b93d558dd51a625eef6d79472831768bd20eedd Mon Sep 17 00:00:00 2001 +From af0ded6e9dd38f08a9ee621066e583b5cf972926 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:50 +0200 -Subject: [PATCH 455/773] staging: bcm2835-audio: Use card->private_data +Subject: [PATCH 454/806] staging: bcm2835-audio: Use card->private_data commit 898001a0c845cefe5d47d133485712412853f0a8 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0456-staging-bcm2835-audio-Use-standard-error-print-helpe.patch b/target/linux/brcm2708/patches-4.19/950-0455-staging-bcm2835-audio-Use-standard-error-print-helpe.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0456-staging-bcm2835-audio-Use-standard-error-print-helpe.patch rename to target/linux/brcm2708/patches-4.19/950-0455-staging-bcm2835-audio-Use-standard-error-print-helpe.patch index d408bdb212..14dd044d1c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0456-staging-bcm2835-audio-Use-standard-error-print-helpe.patch +++ b/target/linux/brcm2708/patches-4.19/950-0455-staging-bcm2835-audio-Use-standard-error-print-helpe.patch @@ -1,7 +1,7 @@ -From eae9d25dcb7710311db48f0e0a4d2f522c69c693 Mon Sep 17 00:00:00 2001 +From ec788d7c115d3ec59b39b6aac17d57ad86b7fbfe Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:51 +0200 -Subject: [PATCH 456/773] staging: bcm2835-audio: Use standard error print +Subject: [PATCH 455/806] staging: bcm2835-audio: Use standard error print helpers commit b7584b64168208ebc14160770c0966b8b12fc16b upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0457-staging-bcm2835-audio-Remove-unnecessary-header-file.patch b/target/linux/brcm2708/patches-4.19/950-0456-staging-bcm2835-audio-Remove-unnecessary-header-file.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0457-staging-bcm2835-audio-Remove-unnecessary-header-file.patch rename to target/linux/brcm2708/patches-4.19/950-0456-staging-bcm2835-audio-Remove-unnecessary-header-file.patch index 6a05ecfe7e..171bca11fe 100644 --- a/target/linux/brcm2708/patches-4.19/950-0457-staging-bcm2835-audio-Remove-unnecessary-header-file.patch +++ b/target/linux/brcm2708/patches-4.19/950-0456-staging-bcm2835-audio-Remove-unnecessary-header-file.patch @@ -1,7 +1,7 @@ -From 609c0f2acb7e19cac5729cd50a5d20c1f052f81e Mon Sep 17 00:00:00 2001 +From 8deead340379eeb09571476e0412ce50036c08d1 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:52 +0200 -Subject: [PATCH 457/773] staging: bcm2835-audio: Remove unnecessary header +Subject: [PATCH 456/806] staging: bcm2835-audio: Remove unnecessary header file includes commit 7e46fff5f19ce2b8a9891e4c08631c64d06e9e17 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0458-staging-bcm2835-audio-Move-module-parameter-descript.patch b/target/linux/brcm2708/patches-4.19/950-0457-staging-bcm2835-audio-Move-module-parameter-descript.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0458-staging-bcm2835-audio-Move-module-parameter-descript.patch rename to target/linux/brcm2708/patches-4.19/950-0457-staging-bcm2835-audio-Move-module-parameter-descript.patch index 1fb737ec53..b29639be8a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0458-staging-bcm2835-audio-Move-module-parameter-descript.patch +++ b/target/linux/brcm2708/patches-4.19/950-0457-staging-bcm2835-audio-Move-module-parameter-descript.patch @@ -1,7 +1,7 @@ -From 5e3435522b2244bd41f6450c1833f4f6b7c5d88f Mon Sep 17 00:00:00 2001 +From fb05aeb91f3e94e89ad2d9aa68104e6e4cc97239 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:53 +0200 -Subject: [PATCH 458/773] staging: bcm2835-audio: Move module parameter +Subject: [PATCH 457/806] staging: bcm2835-audio: Move module parameter description commit b876f2075808e95e244053caa53fa7e86e929a99 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0459-staging-bcm2835-audio-Use-coherent-device-buffers.patch b/target/linux/brcm2708/patches-4.19/950-0458-staging-bcm2835-audio-Use-coherent-device-buffers.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0459-staging-bcm2835-audio-Use-coherent-device-buffers.patch rename to target/linux/brcm2708/patches-4.19/950-0458-staging-bcm2835-audio-Use-coherent-device-buffers.patch index 4cae7f821b..e794a65354 100644 --- a/target/linux/brcm2708/patches-4.19/950-0459-staging-bcm2835-audio-Use-coherent-device-buffers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0458-staging-bcm2835-audio-Use-coherent-device-buffers.patch @@ -1,7 +1,7 @@ -From 94f44e5e684f35345de973b7df022ce1d4d124fa Mon Sep 17 00:00:00 2001 +From 8a01a25d0ad7e9d06f64fddae871deb91c3988ac Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:54 +0200 -Subject: [PATCH 459/773] staging: bcm2835-audio: Use coherent device buffers +Subject: [PATCH 458/806] staging: bcm2835-audio: Use coherent device buffers commit ad29c6e6cbf6f2af7362b043adad51a3be3d39c7 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0460-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch b/target/linux/brcm2708/patches-4.19/950-0459-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0460-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch rename to target/linux/brcm2708/patches-4.19/950-0459-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch index 72266fb8c6..29567f59e3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0460-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch +++ b/target/linux/brcm2708/patches-4.19/950-0459-staging-bcm2835-audio-Set-SNDRV_PCM_INFO_SYNC_APPLPT.patch @@ -1,7 +1,7 @@ -From f7b0fa3d8c5bdb4f7271dd291ef8d9f3636633a6 Mon Sep 17 00:00:00 2001 +From 27417ac1fa4894dc46d71cc34af17fe6a5186f2f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:55 +0200 -Subject: [PATCH 460/773] staging: bcm2835-audio: Set +Subject: [PATCH 459/806] staging: bcm2835-audio: Set SNDRV_PCM_INFO_SYNC_APPLPTR commit b59d6a5f73501f74848d6700101e7736afe3d54a upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0461-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch b/target/linux/brcm2708/patches-4.19/950-0460-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0461-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch rename to target/linux/brcm2708/patches-4.19/950-0460-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch index 20f1874603..8da7d94162 100644 --- a/target/linux/brcm2708/patches-4.19/950-0461-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0460-staging-bcm2835-audio-Simplify-PCM-creation-helpers.patch @@ -1,7 +1,7 @@ -From 45b83d5330c46aa1ce7263efba96cf14817e3b5f Mon Sep 17 00:00:00 2001 +From 706f9b2b95a2fff44f92deada99545036c249658 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:56 +0200 -Subject: [PATCH 461/773] staging: bcm2835-audio: Simplify PCM creation helpers +Subject: [PATCH 460/806] staging: bcm2835-audio: Simplify PCM creation helpers commit 74470ffeb9aed5548654cfca881bf1d7469fe9c4 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0462-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch b/target/linux/brcm2708/patches-4.19/950-0461-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0462-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch rename to target/linux/brcm2708/patches-4.19/950-0461-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch index f2f760f6dc..aeb0c3f0d6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0462-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0461-staging-bcm2835-audio-Simplify-kctl-creation-helpers.patch @@ -1,7 +1,7 @@ -From 7dcdb52543c4d3d1a203b563d02ac9b1e2fe145a Mon Sep 17 00:00:00 2001 +From c4766c1589a25608ffe6848722632be2f65d0951 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:57 +0200 -Subject: [PATCH 462/773] staging: bcm2835-audio: Simplify kctl creation +Subject: [PATCH 461/806] staging: bcm2835-audio: Simplify kctl creation helpers commit dc5c0eb1e8601206dffbfc302cbd190f89dcd040 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0463-staging-bcm2835-audio-Simplify-card-object-managemen.patch b/target/linux/brcm2708/patches-4.19/950-0462-staging-bcm2835-audio-Simplify-card-object-managemen.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0463-staging-bcm2835-audio-Simplify-card-object-managemen.patch rename to target/linux/brcm2708/patches-4.19/950-0462-staging-bcm2835-audio-Simplify-card-object-managemen.patch index 9a550edf42..9fe519586f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0463-staging-bcm2835-audio-Simplify-card-object-managemen.patch +++ b/target/linux/brcm2708/patches-4.19/950-0462-staging-bcm2835-audio-Simplify-card-object-managemen.patch @@ -1,7 +1,7 @@ -From c69fbfe4f9dde3389f982a41a2d66db1c49f722d Mon Sep 17 00:00:00 2001 +From b19ed31a1ced7b6d4c4c04967a509d91a134e5bb Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 Sep 2018 17:58:58 +0200 -Subject: [PATCH 463/773] staging: bcm2835-audio: Simplify card object +Subject: [PATCH 462/806] staging: bcm2835-audio: Simplify card object management commit 872ae2d63d516a2a3b9c833d8685afcfa7814542 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0464-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch b/target/linux/brcm2708/patches-4.19/950-0463-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0464-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch rename to target/linux/brcm2708/patches-4.19/950-0463-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch index 04311b92b2..367a3214fa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0464-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch +++ b/target/linux/brcm2708/patches-4.19/950-0463-staging-bcm2835-audio-unify-FOURCC-command-definitio.patch @@ -1,7 +1,7 @@ -From ddd93720464f96d17d04cd4327276a24b8f92958 Mon Sep 17 00:00:00 2001 +From 26693d4d1239b8239644ce6da50b8ce06ff18ae5 Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 17 Oct 2018 21:01:50 +0200 -Subject: [PATCH 464/773] staging: bcm2835-audio: unify FOURCC command +Subject: [PATCH 463/806] staging: bcm2835-audio: unify FOURCC command definitions commit a90d8f49cc7fd7220aa24b85fc74ef3cfd62b96f upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0465-staging-bcm2835-audio-don-t-initialize-memory-twice.patch b/target/linux/brcm2708/patches-4.19/950-0464-staging-bcm2835-audio-don-t-initialize-memory-twice.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0465-staging-bcm2835-audio-don-t-initialize-memory-twice.patch rename to target/linux/brcm2708/patches-4.19/950-0464-staging-bcm2835-audio-don-t-initialize-memory-twice.patch index a1ced31859..239712fac7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0465-staging-bcm2835-audio-don-t-initialize-memory-twice.patch +++ b/target/linux/brcm2708/patches-4.19/950-0464-staging-bcm2835-audio-don-t-initialize-memory-twice.patch @@ -1,7 +1,7 @@ -From 85b86a93d240f28c10bb0dced805e1921ba3200c Mon Sep 17 00:00:00 2001 +From 7250c9d3d3f1b861d8f0c6220a81a465e45d70eb Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 17 Oct 2018 21:01:51 +0200 -Subject: [PATCH 465/773] staging: bcm2835-audio: don't initialize memory twice +Subject: [PATCH 464/806] staging: bcm2835-audio: don't initialize memory twice commit 2e5f59fb77397cab3bc3d156e8be4164a67d32ef upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0466-staging-bcm2835-audio-reorder-variable-declarations-.patch b/target/linux/brcm2708/patches-4.19/950-0465-staging-bcm2835-audio-reorder-variable-declarations-.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0466-staging-bcm2835-audio-reorder-variable-declarations-.patch rename to target/linux/brcm2708/patches-4.19/950-0465-staging-bcm2835-audio-reorder-variable-declarations-.patch index 21fcdff527..b00e632124 100644 --- a/target/linux/brcm2708/patches-4.19/950-0466-staging-bcm2835-audio-reorder-variable-declarations-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0465-staging-bcm2835-audio-reorder-variable-declarations-.patch @@ -1,7 +1,7 @@ -From dd4a89f63d646fb22aa92d84a5f56b0afed4490b Mon Sep 17 00:00:00 2001 +From 604f0019cc1eaed6a316d7875fe697e53f5f105c Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 17 Oct 2018 21:01:52 +0200 -Subject: [PATCH 466/773] staging: bcm2835-audio: reorder variable declarations +Subject: [PATCH 465/806] staging: bcm2835-audio: reorder variable declarations & remove trivial comments commit d048385a070552ae819f99f05bd03ec41072783d upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0467-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch b/target/linux/brcm2708/patches-4.19/950-0466-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0467-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch rename to target/linux/brcm2708/patches-4.19/950-0466-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch index 94381dd764..b41a233e04 100644 --- a/target/linux/brcm2708/patches-4.19/950-0467-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0466-staging-bcm2835-audio-use-anonymous-union-in-struct-.patch @@ -1,7 +1,7 @@ -From 6a13b16a222f0bcf5477eaed697860f3d9f25bbd Mon Sep 17 00:00:00 2001 +From 23b89436030e64196a1bc317901d08edd54fb772 Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 17 Oct 2018 21:01:53 +0200 -Subject: [PATCH 467/773] staging: bcm2835-audio: use anonymous union in struct +Subject: [PATCH 466/806] staging: bcm2835-audio: use anonymous union in struct vc_audio_msg commit 9c2eaf7da855d314a369d48b9cbf8ac80717a1d0 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-more-generic-probe-function-na.patch b/target/linux/brcm2708/patches-4.19/950-0467-staging-bcm2835-audio-more-generic-probe-function-na.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-more-generic-probe-function-na.patch rename to target/linux/brcm2708/patches-4.19/950-0467-staging-bcm2835-audio-more-generic-probe-function-na.patch index 77e1fa3551..510d2b5f2a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-more-generic-probe-function-na.patch +++ b/target/linux/brcm2708/patches-4.19/950-0467-staging-bcm2835-audio-more-generic-probe-function-na.patch @@ -1,7 +1,7 @@ -From 31408d8f63e0ab590b209e9896482819c42c1b8d Mon Sep 17 00:00:00 2001 +From 0b7d959b0d0c18959c66696844a1c9956370ab99 Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 17 Oct 2018 21:01:54 +0200 -Subject: [PATCH 468/773] staging: bcm2835-audio: more generic probe function +Subject: [PATCH 467/806] staging: bcm2835-audio: more generic probe function name commit 96f3bd8ae6516898c7b411ecb87064bb0dd25415 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0469-staging-bcm2835-audio-rename-platform_driver-structu.patch b/target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0469-staging-bcm2835-audio-rename-platform_driver-structu.patch rename to target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch index 5cd2ad3109..a25b5923c8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0469-staging-bcm2835-audio-rename-platform_driver-structu.patch +++ b/target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch @@ -1,7 +1,7 @@ -From d51fefa5d289a940bf2632d6d76a6a1acb8fe0f3 Mon Sep 17 00:00:00 2001 +From b06f01038711efc5182267cfc68e358a89ee2502 Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 17 Oct 2018 21:01:55 +0200 -Subject: [PATCH 469/773] staging: bcm2835-audio: rename platform_driver +Subject: [PATCH 468/806] staging: bcm2835-audio: rename platform_driver structure commit 82cdc0c6b6faf877e2aecb957cffa9cb578cc572 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0470-staging-bcm2835-audio-update-TODO.patch b/target/linux/brcm2708/patches-4.19/950-0469-staging-bcm2835-audio-update-TODO.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0470-staging-bcm2835-audio-update-TODO.patch rename to target/linux/brcm2708/patches-4.19/950-0469-staging-bcm2835-audio-update-TODO.patch index 19a5ee47e4..da2a032deb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0470-staging-bcm2835-audio-update-TODO.patch +++ b/target/linux/brcm2708/patches-4.19/950-0469-staging-bcm2835-audio-update-TODO.patch @@ -1,7 +1,7 @@ -From 7a5c01bf9a68549e4224dcaa4fe3e1a32f6540ac Mon Sep 17 00:00:00 2001 +From 56b704581afbd8d9ccd73cfa7935b6178749a3e9 Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne Date: Wed, 17 Oct 2018 21:01:56 +0200 -Subject: [PATCH 470/773] staging: bcm2835-audio: update TODO +Subject: [PATCH 469/806] staging: bcm2835-audio: update TODO commit 01ec7398c56e8f1b903ecb3c5c75400e263eef43 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0471-staging-bcm2835-audio-interpolate-audio-delay.patch b/target/linux/brcm2708/patches-4.19/950-0470-staging-bcm2835-audio-interpolate-audio-delay.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0471-staging-bcm2835-audio-interpolate-audio-delay.patch rename to target/linux/brcm2708/patches-4.19/950-0470-staging-bcm2835-audio-interpolate-audio-delay.patch index 09f0cc46cb..d5da293593 100644 --- a/target/linux/brcm2708/patches-4.19/950-0471-staging-bcm2835-audio-interpolate-audio-delay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0470-staging-bcm2835-audio-interpolate-audio-delay.patch @@ -1,7 +1,7 @@ -From 15bf3de940ef7ea2e3ec4fde51f530b5f2b9b516 Mon Sep 17 00:00:00 2001 +From 2ba82d9516203ce41f33e98adb667bedee3622bc Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 22 Oct 2018 20:17:08 +0100 -Subject: [PATCH 471/773] staging: bcm2835-audio: interpolate audio delay +Subject: [PATCH 470/806] staging: bcm2835-audio: interpolate audio delay commit a105a3a72824e0ac685a0711a67e4dbe29de62d0 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0472-staging-bcm2835-audio-Enable-compile-test.patch b/target/linux/brcm2708/patches-4.19/950-0471-staging-bcm2835-audio-Enable-compile-test.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0472-staging-bcm2835-audio-Enable-compile-test.patch rename to target/linux/brcm2708/patches-4.19/950-0471-staging-bcm2835-audio-Enable-compile-test.patch index 193b657c21..086f9e4c68 100644 --- a/target/linux/brcm2708/patches-4.19/950-0472-staging-bcm2835-audio-Enable-compile-test.patch +++ b/target/linux/brcm2708/patches-4.19/950-0471-staging-bcm2835-audio-Enable-compile-test.patch @@ -1,7 +1,7 @@ -From 64132a3d49d2458d946499bc236d54c34a370a83 Mon Sep 17 00:00:00 2001 +From b338fbb56955b74b5f41a623aceab4d74ba7c173 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 6 Dec 2018 19:28:56 +0100 -Subject: [PATCH 472/773] staging: bcm2835-audio: Enable compile test +Subject: [PATCH 471/806] staging: bcm2835-audio: Enable compile test commit 458d4866a34d0c129ffc3bd56345b2166ba46d77 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0473-staging-bcm2835-audio-use-module_platform_driver-mac.patch b/target/linux/brcm2708/patches-4.19/950-0472-staging-bcm2835-audio-use-module_platform_driver-mac.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0473-staging-bcm2835-audio-use-module_platform_driver-mac.patch rename to target/linux/brcm2708/patches-4.19/950-0472-staging-bcm2835-audio-use-module_platform_driver-mac.patch index 645e10c8cc..da783a5d77 100644 --- a/target/linux/brcm2708/patches-4.19/950-0473-staging-bcm2835-audio-use-module_platform_driver-mac.patch +++ b/target/linux/brcm2708/patches-4.19/950-0472-staging-bcm2835-audio-use-module_platform_driver-mac.patch @@ -1,7 +1,7 @@ -From 5a4fdee47fc5368c1be2184a0bb1069773b58a74 Mon Sep 17 00:00:00 2001 +From 72c059360457babd76009697e652c96cb282856e Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 6 Dec 2018 19:28:57 +0100 -Subject: [PATCH 473/773] staging: bcm2835-audio: use module_platform_driver() +Subject: [PATCH 472/806] staging: bcm2835-audio: use module_platform_driver() macro commit 1e55d56344b0777d6cee9b9e4a813d53728ee798 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0474-staging-bcm2835-audio-Drop-DT-dependency.patch b/target/linux/brcm2708/patches-4.19/950-0473-staging-bcm2835-audio-Drop-DT-dependency.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0474-staging-bcm2835-audio-Drop-DT-dependency.patch rename to target/linux/brcm2708/patches-4.19/950-0473-staging-bcm2835-audio-Drop-DT-dependency.patch index 56853eda4a..b2668283e1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0474-staging-bcm2835-audio-Drop-DT-dependency.patch +++ b/target/linux/brcm2708/patches-4.19/950-0473-staging-bcm2835-audio-Drop-DT-dependency.patch @@ -1,7 +1,7 @@ -From 9031c962b5f4ad439441eb9d82633c469ff1678e Mon Sep 17 00:00:00 2001 +From 1ddeeda8208bc269c90aad4bd8bb878f7436f62d Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 6 Dec 2018 19:28:58 +0100 -Subject: [PATCH 474/773] staging: bcm2835-audio: Drop DT dependency +Subject: [PATCH 473/806] staging: bcm2835-audio: Drop DT dependency commit 438fc48260a0afc4cee733e5bc20234ff2bbef56 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0475-staging-bcm2835-audio-double-free-in-init-error-path.patch b/target/linux/brcm2708/patches-4.19/950-0474-staging-bcm2835-audio-double-free-in-init-error-path.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0475-staging-bcm2835-audio-double-free-in-init-error-path.patch rename to target/linux/brcm2708/patches-4.19/950-0474-staging-bcm2835-audio-double-free-in-init-error-path.patch index 9bcdf08408..8c350f74de 100644 --- a/target/linux/brcm2708/patches-4.19/950-0475-staging-bcm2835-audio-double-free-in-init-error-path.patch +++ b/target/linux/brcm2708/patches-4.19/950-0474-staging-bcm2835-audio-double-free-in-init-error-path.patch @@ -1,7 +1,7 @@ -From bd76661620e6389823baf3a64d47996923133604 Mon Sep 17 00:00:00 2001 +From 360a1982333c8e8f583663155479115d6eb7cd14 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 17 Dec 2018 10:08:54 +0300 -Subject: [PATCH 475/773] staging: bcm2835-audio: double free in init error +Subject: [PATCH 474/806] staging: bcm2835-audio: double free in init error path commit 136ff5e49271c4c8fceeca5491c48e66b961564b upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0476-dts-Increase-default-coherent-pool-size.patch b/target/linux/brcm2708/patches-4.19/950-0475-dts-Increase-default-coherent-pool-size.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0476-dts-Increase-default-coherent-pool-size.patch rename to target/linux/brcm2708/patches-4.19/950-0475-dts-Increase-default-coherent-pool-size.patch index adcc72b638..a8bd364465 100644 --- a/target/linux/brcm2708/patches-4.19/950-0476-dts-Increase-default-coherent-pool-size.patch +++ b/target/linux/brcm2708/patches-4.19/950-0475-dts-Increase-default-coherent-pool-size.patch @@ -1,7 +1,7 @@ -From a22984710359546d84ab80232856b21ed9843925 Mon Sep 17 00:00:00 2001 +From e13c663bfc75a628ba25afdf3f3b4a40a2c0250e Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 1 May 2019 15:00:05 +0100 -Subject: [PATCH 476/773] dts: Increase default coherent pool size +Subject: [PATCH 475/806] dts: Increase default coherent pool size dwc_otg allocates DMA-coherent buffers in atomic context for misaligned transfer buffers. The pool that these allocations come from is set up diff --git a/target/linux/brcm2708/patches-4.19/950-0477-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch b/target/linux/brcm2708/patches-4.19/950-0476-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0477-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch rename to target/linux/brcm2708/patches-4.19/950-0476-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch index a7daf296f1..5cb6d061cf 100644 --- a/target/linux/brcm2708/patches-4.19/950-0477-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch +++ b/target/linux/brcm2708/patches-4.19/950-0476-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch @@ -1,7 +1,7 @@ -From b91f6229cdbf53e27cc2ceb7539208c31aacae84 Mon Sep 17 00:00:00 2001 +From 369f591ee78af2d53c67f561daeb963cc4aa60aa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2019 14:23:39 +0100 -Subject: [PATCH 477/773] Revert "staging: bcm2835-audio: Drop DT dependency" +Subject: [PATCH 476/806] Revert "staging: bcm2835-audio: Drop DT dependency" This reverts commit 60a2e557a4f81480216066f22b84c3dda31b3470. --- diff --git a/target/linux/brcm2708/patches-4.19/950-0478-configs-Enable-netdev-LED-trigger.patch b/target/linux/brcm2708/patches-4.19/950-0477-configs-Enable-netdev-LED-trigger.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0478-configs-Enable-netdev-LED-trigger.patch rename to target/linux/brcm2708/patches-4.19/950-0477-configs-Enable-netdev-LED-trigger.patch index 9f99676308..012f483f36 100644 --- a/target/linux/brcm2708/patches-4.19/950-0478-configs-Enable-netdev-LED-trigger.patch +++ b/target/linux/brcm2708/patches-4.19/950-0477-configs-Enable-netdev-LED-trigger.patch @@ -1,7 +1,7 @@ -From d9956ad9c4c17a8221c65689cb0e634cdcea1d7c Mon Sep 17 00:00:00 2001 +From 989bb04dc3a1c0819c715566e465b9b28a4878fb Mon Sep 17 00:00:00 2001 From: Russell Joyce Date: Wed, 1 May 2019 16:43:27 +0100 -Subject: [PATCH 478/773] configs: Enable netdev LED trigger +Subject: [PATCH 477/806] configs: Enable netdev LED trigger Signed-off-by: Russell Joyce --- diff --git a/target/linux/brcm2708/patches-4.19/950-0479-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch b/target/linux/brcm2708/patches-4.19/950-0478-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0479-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch rename to target/linux/brcm2708/patches-4.19/950-0478-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch index 477754dc44..149e2c035f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0479-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch +++ b/target/linux/brcm2708/patches-4.19/950-0478-smsc95xx-dynamically-fix-up-TX-buffer-alignment-with.patch @@ -1,7 +1,7 @@ -From 3ba615169e1f9866f70c2967a664f0fac36c5699 Mon Sep 17 00:00:00 2001 +From 26c79197da4b2911e10c600d79839a82a43a06ff Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 1 May 2019 17:04:32 +0100 -Subject: [PATCH 479/773] smsc95xx: dynamically fix up TX buffer alignment with +Subject: [PATCH 478/806] smsc95xx: dynamically fix up TX buffer alignment with padding bytes dwc_otg requires a 32-bit aligned buffer start address, otherwise diff --git a/target/linux/brcm2708/patches-4.19/950-0480-lan78xx-use-default-alignment-for-rx-buffers.patch b/target/linux/brcm2708/patches-4.19/950-0479-lan78xx-use-default-alignment-for-rx-buffers.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0480-lan78xx-use-default-alignment-for-rx-buffers.patch rename to target/linux/brcm2708/patches-4.19/950-0479-lan78xx-use-default-alignment-for-rx-buffers.patch index 1edc32d4d7..9ef0928084 100644 --- a/target/linux/brcm2708/patches-4.19/950-0480-lan78xx-use-default-alignment-for-rx-buffers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0479-lan78xx-use-default-alignment-for-rx-buffers.patch @@ -1,7 +1,7 @@ -From 60970bd8d01c0557d1bdd2a9af322b6033c6a0c0 Mon Sep 17 00:00:00 2001 +From fdbe849f960ee92befd781cff14d9b76142b0981 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 2 May 2019 11:53:45 +0100 -Subject: [PATCH 480/773] lan78xx: use default alignment for rx buffers +Subject: [PATCH 479/806] lan78xx: use default alignment for rx buffers The lan78xx uses a 12-byte hardware rx header, so there is no need to allocate SKBs with NET_IP_ALIGN set. Removes alignment faults diff --git a/target/linux/brcm2708/patches-4.19/950-0481-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch b/target/linux/brcm2708/patches-4.19/950-0480-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0481-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch rename to target/linux/brcm2708/patches-4.19/950-0480-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch index 75f42c2ad9..5f73a1ef91 100644 --- a/target/linux/brcm2708/patches-4.19/950-0481-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch +++ b/target/linux/brcm2708/patches-4.19/950-0480-staging-bcm2835-codec-Correct-port-width-calc-for-tr.patch @@ -1,7 +1,7 @@ -From 142f63ac7af5a318bcba7ff6ebac94a52ddf53c2 Mon Sep 17 00:00:00 2001 +From 453caa19909edf2de1add80b369fb30570a440ed Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 2 May 2019 14:30:24 +0100 -Subject: [PATCH 481/773] staging: bcm2835-codec: Correct port width calc for +Subject: [PATCH 480/806] staging: bcm2835-codec: Correct port width calc for truncation The calculation converting from V4L2 bytesperline to MMAL diff --git a/target/linux/brcm2708/patches-4.19/950-0482-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch b/target/linux/brcm2708/patches-4.19/950-0481-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0482-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch rename to target/linux/brcm2708/patches-4.19/950-0481-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch index f5a6d6c8b8..cdb57e12e3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0482-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0481-staging-bcm2835-codec-Remove-height-padding-for-ISP-.patch @@ -1,7 +1,7 @@ -From 3543d5bc1e7ea7df27daa91353001fa401581532 Mon Sep 17 00:00:00 2001 +From 52e50b0f5017e823428849c42c1029306d790939 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 2 May 2019 14:32:21 +0100 -Subject: [PATCH 482/773] staging: bcm2835-codec: Remove height padding for ISP +Subject: [PATCH 481/806] staging: bcm2835-codec: Remove height padding for ISP role The ISP has no need for heights to be a multiple of macroblock diff --git a/target/linux/brcm2708/patches-4.19/950-0483-staging-mmal-vchiq-Free-the-event-context-for-contro.patch b/target/linux/brcm2708/patches-4.19/950-0482-staging-mmal-vchiq-Free-the-event-context-for-contro.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0483-staging-mmal-vchiq-Free-the-event-context-for-contro.patch rename to target/linux/brcm2708/patches-4.19/950-0482-staging-mmal-vchiq-Free-the-event-context-for-contro.patch index 49d72dbcd7..f3cf64b554 100644 --- a/target/linux/brcm2708/patches-4.19/950-0483-staging-mmal-vchiq-Free-the-event-context-for-contro.patch +++ b/target/linux/brcm2708/patches-4.19/950-0482-staging-mmal-vchiq-Free-the-event-context-for-contro.patch @@ -1,7 +1,7 @@ -From e8ebe52344c73c8edad490c0ff601a763893c276 Mon Sep 17 00:00:00 2001 +From 6737574b4d3af54a56d2f9c49f516fb75d06a556 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 1 May 2019 13:27:23 +0100 -Subject: [PATCH 483/773] staging: mmal-vchiq: Free the event context for +Subject: [PATCH 482/806] staging: mmal-vchiq: Free the event context for control ports vchiq_mmal_component_init calls init_event_context for the diff --git a/target/linux/brcm2708/patches-4.19/950-0484-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch b/target/linux/brcm2708/patches-4.19/950-0483-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0484-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch rename to target/linux/brcm2708/patches-4.19/950-0483-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch index ad5ebeb236..7808301963 100644 --- a/target/linux/brcm2708/patches-4.19/950-0484-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch +++ b/target/linux/brcm2708/patches-4.19/950-0483-BCM270X_DT-Also-set-coherent_pool-1M-for-BT-Pis.patch @@ -1,7 +1,7 @@ -From 9e95568ba995f644f6523689a07ca49867b50693 Mon Sep 17 00:00:00 2001 +From f9c0f8057ffee5c039fe20c3e2dcd7fea70222e9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 2 May 2019 22:14:34 +0100 -Subject: [PATCH 484/773] BCM270X_DT: Also set coherent_pool=1M for BT Pis +Subject: [PATCH 483/806] BCM270X_DT: Also set coherent_pool=1M for BT Pis See: https://github.com/raspberrypi/linux/issues/2924 diff --git a/target/linux/brcm2708/patches-4.19/950-0485-configs-Enable-ICS-43432-I2S-microphone-module.patch b/target/linux/brcm2708/patches-4.19/950-0484-configs-Enable-ICS-43432-I2S-microphone-module.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0485-configs-Enable-ICS-43432-I2S-microphone-module.patch rename to target/linux/brcm2708/patches-4.19/950-0484-configs-Enable-ICS-43432-I2S-microphone-module.patch index c95ce6a652..e431e2ec55 100644 --- a/target/linux/brcm2708/patches-4.19/950-0485-configs-Enable-ICS-43432-I2S-microphone-module.patch +++ b/target/linux/brcm2708/patches-4.19/950-0484-configs-Enable-ICS-43432-I2S-microphone-module.patch @@ -1,7 +1,7 @@ -From 87e3efd10789a1dadcf0058409f9422ae1b2f5c7 Mon Sep 17 00:00:00 2001 +From 812fee9b653e50fec627349dc69480a31c2a5e21 Mon Sep 17 00:00:00 2001 From: Russell Joyce Date: Thu, 2 May 2019 15:18:36 +0100 -Subject: [PATCH 485/773] configs: Enable ICS-43432 I2S microphone module +Subject: [PATCH 484/806] configs: Enable ICS-43432 I2S microphone module Signed-off-by: Russell Joyce --- diff --git a/target/linux/brcm2708/patches-4.19/950-0486-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch b/target/linux/brcm2708/patches-4.19/950-0485-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0486-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch rename to target/linux/brcm2708/patches-4.19/950-0485-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch index 13906450c9..ced476fa69 100644 --- a/target/linux/brcm2708/patches-4.19/950-0486-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch +++ b/target/linux/brcm2708/patches-4.19/950-0485-arm-dts-overlays-rpi-sense-add-upstream-humidity-com.patch @@ -1,7 +1,7 @@ -From 8513e54e9ed5d448fb11cc10e346962a2418d822 Mon Sep 17 00:00:00 2001 +From 50d3f15ea5d6ca2705a009722dd7d4108c9f75d9 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 5 May 2019 21:07:12 +0100 -Subject: [PATCH 486/773] arm: dts: overlays: rpi-sense: add upstream humidity +Subject: [PATCH 485/806] arm: dts: overlays: rpi-sense: add upstream humidity compatible The upstream humidiity driver uses "st,hts221" for the compatible diff --git a/target/linux/brcm2708/patches-4.19/950-0487-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch b/target/linux/brcm2708/patches-4.19/950-0486-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0487-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch rename to target/linux/brcm2708/patches-4.19/950-0486-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch index ef4b8bbbbd..d973c56985 100644 --- a/target/linux/brcm2708/patches-4.19/950-0487-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch +++ b/target/linux/brcm2708/patches-4.19/950-0486-staging-mmal-vchiq-Fix-memory-leak-in-error-path.patch @@ -1,7 +1,7 @@ -From 93fc53b9daca722f049a8eeef75c2300de724f09 Mon Sep 17 00:00:00 2001 +From 250db0df9643d122e00313313102c642f1adac72 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 2 May 2019 15:50:01 +0100 -Subject: [PATCH 487/773] staging: mmal-vchiq: Fix memory leak in error path +Subject: [PATCH 486/806] staging: mmal-vchiq: Fix memory leak in error path On error, vchiq_mmal_component_init could leave the event context allocated for ports. diff --git a/target/linux/brcm2708/patches-4.19/950-0488-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch b/target/linux/brcm2708/patches-4.19/950-0487-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0488-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch rename to target/linux/brcm2708/patches-4.19/950-0487-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch index 01e9a8a9e8..e354ddb6ba 100644 --- a/target/linux/brcm2708/patches-4.19/950-0488-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch +++ b/target/linux/brcm2708/patches-4.19/950-0487-staging-vchiq-mmal-Fix-memory-leak-of-vchiq-instance.patch @@ -1,7 +1,7 @@ -From 81a3b647e09fdd8258bf24479fd5bc8ce99b861e Mon Sep 17 00:00:00 2001 +From 3e246d402582c6f19e5e636f89952d11e18e6442 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 3 May 2019 13:27:51 +0100 -Subject: [PATCH 488/773] staging: vchiq-mmal: Fix memory leak of vchiq +Subject: [PATCH 487/806] staging: vchiq-mmal: Fix memory leak of vchiq instance The vchiq instance was allocated from vchiq_mmal_init via diff --git a/target/linux/brcm2708/patches-4.19/950-0489-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch b/target/linux/brcm2708/patches-4.19/950-0488-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0489-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch rename to target/linux/brcm2708/patches-4.19/950-0488-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch index ff62315111..924e863a45 100644 --- a/target/linux/brcm2708/patches-4.19/950-0489-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch +++ b/target/linux/brcm2708/patches-4.19/950-0488-Revert-video-bcm2708_fb-Try-allocating-on-the-ARM-an.patch @@ -1,7 +1,7 @@ -From 04480e9068abb6ce7f0bf7ee73c5a00cc854a04d Mon Sep 17 00:00:00 2001 +From 71a27bf49d7a64959b7e60d780a1f899ead34f5f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 13 May 2019 17:34:29 +0100 -Subject: [PATCH 489/773] Revert "video: bcm2708_fb: Try allocating on the ARM +Subject: [PATCH 488/806] Revert "video: bcm2708_fb: Try allocating on the ARM and passing to VPU" This reverts commit ca36c709fce57e8023d2b8b354376bf161601a49. diff --git a/target/linux/brcm2708/patches-4.19/950-0490-Added-IQaudIO-Pi-Codec-board-support-2969.patch b/target/linux/brcm2708/patches-4.19/950-0489-Added-IQaudIO-Pi-Codec-board-support-2969.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0490-Added-IQaudIO-Pi-Codec-board-support-2969.patch rename to target/linux/brcm2708/patches-4.19/950-0489-Added-IQaudIO-Pi-Codec-board-support-2969.patch index 32f26d4450..41ccda0486 100644 --- a/target/linux/brcm2708/patches-4.19/950-0490-Added-IQaudIO-Pi-Codec-board-support-2969.patch +++ b/target/linux/brcm2708/patches-4.19/950-0489-Added-IQaudIO-Pi-Codec-board-support-2969.patch @@ -1,7 +1,7 @@ -From d7653f82018e4621c7ec046b0f40e0c7a316bbce Mon Sep 17 00:00:00 2001 +From 930c49de8674acda0f143f7bc182ed2fad8c4f9d Mon Sep 17 00:00:00 2001 From: IQaudIO Date: Mon, 13 May 2019 21:53:05 +0100 -Subject: [PATCH 490/773] Added IQaudIO Pi-Codec board support (#2969) +Subject: [PATCH 489/806] Added IQaudIO Pi-Codec board support (#2969) Add support for the IQaudIO Pi-Codec board. diff --git a/target/linux/brcm2708/patches-4.19/950-0491-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch b/target/linux/brcm2708/patches-4.19/950-0490-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0491-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch rename to target/linux/brcm2708/patches-4.19/950-0490-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch index 675ac01b6b..7eea87d0dc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0491-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch +++ b/target/linux/brcm2708/patches-4.19/950-0490-Revert-smsc95xx-dynamically-fix-up-TX-buffer-alignme.patch @@ -1,7 +1,7 @@ -From d7126c242190ab444fe69a0e323700887c5a5a56 Mon Sep 17 00:00:00 2001 +From 89bb75e008adf061e3e396de76020b00ea0d6123 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 14 May 2019 14:55:19 +0100 -Subject: [PATCH 491/773] Revert "smsc95xx: dynamically fix up TX buffer +Subject: [PATCH 490/806] Revert "smsc95xx: dynamically fix up TX buffer alignment with padding bytes" As reported in https://github.com/raspberrypi/linux/issues/2964 this diff --git a/target/linux/brcm2708/patches-4.19/950-0492-configs-Enable-PIDs-cgroup.patch b/target/linux/brcm2708/patches-4.19/950-0491-configs-Enable-PIDs-cgroup.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0492-configs-Enable-PIDs-cgroup.patch rename to target/linux/brcm2708/patches-4.19/950-0491-configs-Enable-PIDs-cgroup.patch index 231cca3a50..ce3fec1d70 100644 --- a/target/linux/brcm2708/patches-4.19/950-0492-configs-Enable-PIDs-cgroup.patch +++ b/target/linux/brcm2708/patches-4.19/950-0491-configs-Enable-PIDs-cgroup.patch @@ -1,7 +1,7 @@ -From d6fe3387911dea5b07c0d30874f96c38942e2926 Mon Sep 17 00:00:00 2001 +From 28b2ce05cbdac453fee235983d090783313d0111 Mon Sep 17 00:00:00 2001 From: Henrique Gontijo Date: Sun, 12 May 2019 17:11:02 -0700 -Subject: [PATCH 492/773] configs: Enable PIDs cgroup +Subject: [PATCH 491/806] configs: Enable PIDs cgroup My use case to is to allow Kubernetes master to run on Raspberry Pi 3. Kubernetes introduced [Pid limiting](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190129-pid-limiting.md), diff --git a/target/linux/brcm2708/patches-4.19/950-0493-w1-ds2408-reset-on-output_write-retry-with-readback.patch b/target/linux/brcm2708/patches-4.19/950-0492-w1-ds2408-reset-on-output_write-retry-with-readback.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0493-w1-ds2408-reset-on-output_write-retry-with-readback.patch rename to target/linux/brcm2708/patches-4.19/950-0492-w1-ds2408-reset-on-output_write-retry-with-readback.patch index 30ec2474e0..e6978b7409 100644 --- a/target/linux/brcm2708/patches-4.19/950-0493-w1-ds2408-reset-on-output_write-retry-with-readback.patch +++ b/target/linux/brcm2708/patches-4.19/950-0492-w1-ds2408-reset-on-output_write-retry-with-readback.patch @@ -1,7 +1,7 @@ -From b2cedbb455090a3ffce788a74a5290fa193782db Mon Sep 17 00:00:00 2001 +From 714580d7c11f81afb5e08c71f79a03a1ed4ae44e Mon Sep 17 00:00:00 2001 From: Jean-Francois Dagenais Date: Thu, 28 Mar 2019 12:41:11 -0400 -Subject: [PATCH 493/773] w1: ds2408: reset on output_write retry with readback +Subject: [PATCH 492/806] w1: ds2408: reset on output_write retry with readback commit 49695ac46861180baf2b2b92c62da8619b6bf28f upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0494-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch b/target/linux/brcm2708/patches-4.19/950-0493-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0494-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch rename to target/linux/brcm2708/patches-4.19/950-0493-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch index 95d6a7f265..c58b2bf8e5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0494-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch +++ b/target/linux/brcm2708/patches-4.19/950-0493-w1-ds2482-cosmetic-fixes-after-54865314f5a1.patch @@ -1,7 +1,7 @@ -From 2310c816beacba84d544e0ffc54b51ecba7ca853 Mon Sep 17 00:00:00 2001 +From 2bf6a79fb6555b5ebf21d03b1295e017804474c4 Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Mon, 4 Mar 2019 12:23:36 +0100 -Subject: [PATCH 494/773] w1: ds2482: cosmetic fixes after 54865314f5a1 +Subject: [PATCH 493/806] w1: ds2482: cosmetic fixes after 54865314f5a1 commit 5cb27d30fc3a281e830a2099d520b469e2b82008 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0495-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch b/target/linux/brcm2708/patches-4.19/950-0494-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch similarity index 82% rename from target/linux/brcm2708/patches-4.19/950-0495-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch rename to target/linux/brcm2708/patches-4.19/950-0494-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch index bd932fdd87..1c58b9cd93 100644 --- a/target/linux/brcm2708/patches-4.19/950-0495-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch +++ b/target/linux/brcm2708/patches-4.19/950-0494-sound-pcm512x-codec-Adding-352.8kHz-samplerate-suppo.patch @@ -1,7 +1,7 @@ -From 298b6f8174623c1893ac9a4d93bc60b3ca151c76 Mon Sep 17 00:00:00 2001 +From 2c1e36e477550ea66824433c132fdff03b4ee020 Mon Sep 17 00:00:00 2001 From: Klaus Schulz Date: Thu, 16 May 2019 13:35:32 +0200 -Subject: [PATCH 495/773] sound: pcm512x-codec: Adding 352.8kHz samplerate +Subject: [PATCH 494/806] sound: pcm512x-codec: Adding 352.8kHz samplerate support --- diff --git a/target/linux/brcm2708/patches-4.19/950-0496-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch b/target/linux/brcm2708/patches-4.19/950-0495-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0496-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch rename to target/linux/brcm2708/patches-4.19/950-0495-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch index aa26939096..ea8cbfe786 100644 --- a/target/linux/brcm2708/patches-4.19/950-0496-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch +++ b/target/linux/brcm2708/patches-4.19/950-0495-ASoC-decommissioning-driver-for-3Dlab-Nano-soundcard.patch @@ -1,7 +1,7 @@ -From a75cd9664fb5a0a7e691ccd3643fc8016bb4dc55 Mon Sep 17 00:00:00 2001 +From 3150326498ba9388b85e5af2c8fcfeafc46eeaad Mon Sep 17 00:00:00 2001 From: GT Date: Sat, 6 Apr 2019 21:16:39 +0100 -Subject: [PATCH 496/773] ASoC: decommissioning driver for 3Dlab Nano soundcard +Subject: [PATCH 495/806] ASoC: decommissioning driver for 3Dlab Nano soundcard --- .../overlays/3dlab-nano-player-overlay.dts | 32 -- diff --git a/target/linux/brcm2708/patches-4.19/950-0497-.gitignore-Add-.dtbo-explicitly.patch b/target/linux/brcm2708/patches-4.19/950-0496-.gitignore-Add-.dtbo-explicitly.patch similarity index 73% rename from target/linux/brcm2708/patches-4.19/950-0497-.gitignore-Add-.dtbo-explicitly.patch rename to target/linux/brcm2708/patches-4.19/950-0496-.gitignore-Add-.dtbo-explicitly.patch index d686a5f045..524c7d2361 100644 --- a/target/linux/brcm2708/patches-4.19/950-0497-.gitignore-Add-.dtbo-explicitly.patch +++ b/target/linux/brcm2708/patches-4.19/950-0496-.gitignore-Add-.dtbo-explicitly.patch @@ -1,7 +1,7 @@ -From 013e2879b14dc488b5e81c39f4aa96461a69161f Mon Sep 17 00:00:00 2001 +From bd4e0a6ad64c1211094776923bf61bd6ede3f043 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 21 May 2019 15:17:33 +0100 -Subject: [PATCH 497/773] .gitignore: Add *.dtbo explicitly +Subject: [PATCH 496/806] .gitignore: Add *.dtbo explicitly Signed-off-by: popcornmix --- diff --git a/target/linux/brcm2708/patches-4.19/950-0498-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch b/target/linux/brcm2708/patches-4.19/950-0497-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0498-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch rename to target/linux/brcm2708/patches-4.19/950-0497-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch index a2b158f632..d80b0e3551 100644 --- a/target/linux/brcm2708/patches-4.19/950-0498-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch +++ b/target/linux/brcm2708/patches-4.19/950-0497-Bluetooth-Check-key-sizes-only-when-Secure-Simple-Pa.patch @@ -1,7 +1,7 @@ -From 435aff3962d16737376bdfb2d6f71b33802011c9 Mon Sep 17 00:00:00 2001 +From 83f0a8986ae42e33bc16acda0451dce2cf4dfb55 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 22 May 2019 09:05:40 +0200 -Subject: [PATCH 498/773] Bluetooth: Check key sizes only when Secure Simple +Subject: [PATCH 497/806] Bluetooth: Check key sizes only when Secure Simple Pairing is enabled The encryption is only mandatory to be enforced when both sides are using diff --git a/target/linux/brcm2708/patches-4.19/950-0499-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch b/target/linux/brcm2708/patches-4.19/950-0498-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0499-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch rename to target/linux/brcm2708/patches-4.19/950-0498-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch index 00abded894..3f6bb4e97d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0499-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch +++ b/target/linux/brcm2708/patches-4.19/950-0498-usb-dwc_otg-Clean-up-interrupt-claiming-code.patch @@ -1,7 +1,7 @@ -From f88e6077d4043c58da9a57f850bca89d594a84d3 Mon Sep 17 00:00:00 2001 +From efb54d0f0445f3d279a7eae7395b566c96d080de Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 7 May 2019 17:23:41 +0100 -Subject: [PATCH 499/773] usb: dwc_otg: Clean up interrupt claiming code +Subject: [PATCH 498/806] usb: dwc_otg: Clean up interrupt claiming code The FIQ/IRQ interrupt number identification code is scattered through the dwc_otg driver. Rationalise it, simplifying the code and solving diff --git a/target/linux/brcm2708/patches-4.19/950-0500-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0499-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0500-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0499-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch index 4c04a3f1bd..b9fa9fa7da 100644 --- a/target/linux/brcm2708/patches-4.19/950-0500-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0499-overlays-Delete-the-deprecated-sdio-1bit-overlay.patch @@ -1,7 +1,7 @@ -From 3054d166c457fb4782075068d5e72bd6db4e96f2 Mon Sep 17 00:00:00 2001 +From 5edb8789ba5f9694698386683f2e4e97c70e765a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 7 May 2019 14:27:35 +0100 -Subject: [PATCH 500/773] overlays: Delete the deprecated sdio-1bit overlay +Subject: [PATCH 499/806] overlays: Delete the deprecated sdio-1bit overlay Use dtoverlay=sdio,bus_width=1,gpios_22_25 instead. diff --git a/target/linux/brcm2708/patches-4.19/950-0501-overlays-Remove-upstream-aux-interrupt-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0500-overlays-Remove-upstream-aux-interrupt-overlay.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0501-overlays-Remove-upstream-aux-interrupt-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0500-overlays-Remove-upstream-aux-interrupt-overlay.patch index f33bb9c72d..e44967a9c6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0501-overlays-Remove-upstream-aux-interrupt-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0500-overlays-Remove-upstream-aux-interrupt-overlay.patch @@ -1,7 +1,7 @@ -From 444d27bbcc7017061a2a49c5dbc5865d34fc7a65 Mon Sep 17 00:00:00 2001 +From 2b584d25f295e07ef58efc2a60057be58015d693 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 7 May 2019 10:06:04 +0100 -Subject: [PATCH 501/773] overlays: Remove upstream-aux-interrupt overlay +Subject: [PATCH 500/806] overlays: Remove upstream-aux-interrupt overlay We no longer have a downstream-specific auxilliary interrupt driver, so the overlay to disable it is no longer needed. diff --git a/target/linux/brcm2708/patches-4.19/950-0502-overlays-Standardise-on-compatible-brcm-bcm2835.patch b/target/linux/brcm2708/patches-4.19/950-0501-overlays-Standardise-on-compatible-brcm-bcm2835.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0502-overlays-Standardise-on-compatible-brcm-bcm2835.patch rename to target/linux/brcm2708/patches-4.19/950-0501-overlays-Standardise-on-compatible-brcm-bcm2835.patch index 3cba644a93..1a49b1ff44 100644 --- a/target/linux/brcm2708/patches-4.19/950-0502-overlays-Standardise-on-compatible-brcm-bcm2835.patch +++ b/target/linux/brcm2708/patches-4.19/950-0501-overlays-Standardise-on-compatible-brcm-bcm2835.patch @@ -1,7 +1,7 @@ -From afef44707505b1f8ab6e3ca026dfdc890b485c8e Mon Sep 17 00:00:00 2001 +From ba6646d6bc62108f33a7a3e95367534a0a634beb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 May 2019 13:33:05 +0100 -Subject: [PATCH 502/773] overlays: Standardise on compatible="brcm,bcm2835" +Subject: [PATCH 501/806] overlays: Standardise on compatible="brcm,bcm2835" Curb the proliferation of compatible string combinations by standardising on "brcm,bcm2835" to denote BCM2835 and its descendants. diff --git a/target/linux/brcm2708/patches-4.19/950-0503-vc4-Remove-interrupt-and-DMA-trampling.patch b/target/linux/brcm2708/patches-4.19/950-0502-vc4-Remove-interrupt-and-DMA-trampling.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0503-vc4-Remove-interrupt-and-DMA-trampling.patch rename to target/linux/brcm2708/patches-4.19/950-0502-vc4-Remove-interrupt-and-DMA-trampling.patch index 421016efe3..8417a2ebdc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0503-vc4-Remove-interrupt-and-DMA-trampling.patch +++ b/target/linux/brcm2708/patches-4.19/950-0502-vc4-Remove-interrupt-and-DMA-trampling.patch @@ -1,7 +1,7 @@ -From 1c25162b7357dcdcf2370e9c2ec37ed8b2c9feb8 Mon Sep 17 00:00:00 2001 +From 343e24f4a112e1118e955fd58316e71b208a22f3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 22 May 2019 12:58:47 +0100 -Subject: [PATCH 503/773] vc4: Remove interrupt and DMA trampling +Subject: [PATCH 502/806] vc4: Remove interrupt and DMA trampling As part of the effort to clean up the overlays, remove the interrupt and DMA mask declarations from the vc4 overlays which just duplicate diff --git a/target/linux/brcm2708/patches-4.19/950-0504-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch b/target/linux/brcm2708/patches-4.19/950-0503-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0504-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch rename to target/linux/brcm2708/patches-4.19/950-0503-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch index 6d3aafff8c..b4a0b4c9f0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0504-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch +++ b/target/linux/brcm2708/patches-4.19/950-0503-BCM270X_DT-Add-non-removable-clone-of-mmc-node.patch @@ -1,7 +1,7 @@ -From e577bda00e07473910a871108d154e7a5f83d648 Mon Sep 17 00:00:00 2001 +From c63b13bddf317347ba0b69807c1591526d50ba47 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 7 May 2019 14:29:38 +0100 -Subject: [PATCH 504/773] BCM270X_DT: Add non-removable clone of mmc node +Subject: [PATCH 503/806] BCM270X_DT: Add non-removable clone of mmc node non-removable is a boolean property, and as such can't be unset by an overlay if it is set in a base DTB. Until now the workaround for this diff --git a/target/linux/brcm2708/patches-4.19/950-0505-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch b/target/linux/brcm2708/patches-4.19/950-0504-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0505-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch rename to target/linux/brcm2708/patches-4.19/950-0504-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch index 8f4d5aaeec..7e207842b3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0505-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch +++ b/target/linux/brcm2708/patches-4.19/950-0504-BCM270X_DT-usb-Refactor-DTS-and-overlays.patch @@ -1,7 +1,7 @@ -From d6feb60e7835a4f5dd0f29b636c7a39cea58abc6 Mon Sep 17 00:00:00 2001 +From 61c44e24ea212b92bf6a420b94070ee6fc715811 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 8 May 2019 10:08:31 +0100 -Subject: [PATCH 505/773] BCM270X_DT: usb: Refactor DTS and overlays +Subject: [PATCH 504/806] BCM270X_DT: usb: Refactor DTS and overlays Move the IRQ interrupt declaration in the usb node before the FIQ declaration, so that the dwc2 driver will find it. Name the diff --git a/target/linux/brcm2708/patches-4.19/950-0506-overlays-Update-upstream-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0505-overlays-Update-upstream-overlay.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0506-overlays-Update-upstream-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0505-overlays-Update-upstream-overlay.patch index f92a33ceb3..066c6898d0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0506-overlays-Update-upstream-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0505-overlays-Update-upstream-overlay.patch @@ -1,7 +1,7 @@ -From 66fc53c0825adeabc6c5bb5cd9fc7ce172c60549 Mon Sep 17 00:00:00 2001 +From 61c487e6a1985e52307d6df5834b610a50219819 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 22 May 2019 13:29:56 +0100 -Subject: [PATCH 506/773] overlays: Update upstream overlay +Subject: [PATCH 505/806] overlays: Update upstream overlay The recent DT/overlay changes have had a corresponding effect on the upstream overlay, which is a composite of the vc4-kms-v3d and dwc2 diff --git a/target/linux/brcm2708/patches-4.19/950-0507-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch b/target/linux/brcm2708/patches-4.19/950-0506-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0507-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch rename to target/linux/brcm2708/patches-4.19/950-0506-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch index c9c6f94d80..d7b3ed560d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0507-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch +++ b/target/linux/brcm2708/patches-4.19/950-0506-w1-ds2408-Fix-typo-after-49695ac46861-reset-on-outpu.patch @@ -1,7 +1,7 @@ -From 4d0427080ea4dc06a4a068bb246bbf960aedc792 Mon Sep 17 00:00:00 2001 +From f74fe07cab3e8816c029de25029b71c80004619c Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Thu, 16 May 2019 14:39:21 +0200 -Subject: [PATCH 507/773] w1: ds2408: Fix typo after 49695ac46861 (reset on +Subject: [PATCH 506/806] w1: ds2408: Fix typo after 49695ac46861 (reset on output_write retry with readback) commit 6660a04feb7ef648e50c792e19084d675fa6f3a2 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0508-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch b/target/linux/brcm2708/patches-4.19/950-0507-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0508-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch rename to target/linux/brcm2708/patches-4.19/950-0507-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch index 406595a3e3..1156325aa8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0508-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch +++ b/target/linux/brcm2708/patches-4.19/950-0507-BCM270X_DT-Rename-Pi-Zero-W-DT-files.patch @@ -1,7 +1,7 @@ -From 3f5b0f5bbd6bcc236999b79389dd30c728a3a047 Mon Sep 17 00:00:00 2001 +From 9542646d9211ab4305beb75da97f61cc1968ae6c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 May 2019 16:36:04 +0100 -Subject: [PATCH 508/773] BCM270X_DT: Rename Pi Zero W DT files +Subject: [PATCH 507/806] BCM270X_DT: Rename Pi Zero W DT files The downtream Pi Zero W dts file uses the digit 0, whereas upstream chose to spell it out - "zero-w". The firmware has, for a long time, diff --git a/target/linux/brcm2708/patches-4.19/950-0509-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch b/target/linux/brcm2708/patches-4.19/950-0508-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0509-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch rename to target/linux/brcm2708/patches-4.19/950-0508-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch index c3184975a2..ff74b418fa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0509-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch +++ b/target/linux/brcm2708/patches-4.19/950-0508-BCM270X_DT-Create-bcm2708-rpi-zero.dts.patch @@ -1,7 +1,7 @@ -From 2dd2eff4a3bb8b1069b28f68c636f2cf03479638 Mon Sep 17 00:00:00 2001 +From e819b50b0c384f11f4eaf6e1ea76030c320f4511 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 May 2019 16:23:51 +0100 -Subject: [PATCH 509/773] BCM270X_DT: Create bcm2708-rpi-zero.dts +Subject: [PATCH 508/806] BCM270X_DT: Create bcm2708-rpi-zero.dts The Pi Zero deserves a dedicated .dtb file - sharing the b-plus .dtb has been observed to cause an issue with the MAC address of some diff --git a/target/linux/brcm2708/patches-4.19/950-0510-overlays-Fix-mmc-related-overlays-after-refactor.patch b/target/linux/brcm2708/patches-4.19/950-0509-overlays-Fix-mmc-related-overlays-after-refactor.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0510-overlays-Fix-mmc-related-overlays-after-refactor.patch rename to target/linux/brcm2708/patches-4.19/950-0509-overlays-Fix-mmc-related-overlays-after-refactor.patch index ef46b9fab2..3b5b562568 100644 --- a/target/linux/brcm2708/patches-4.19/950-0510-overlays-Fix-mmc-related-overlays-after-refactor.patch +++ b/target/linux/brcm2708/patches-4.19/950-0509-overlays-Fix-mmc-related-overlays-after-refactor.patch @@ -1,7 +1,7 @@ -From 45f37ac857d1700c810deb154a60415212f7f4bf Mon Sep 17 00:00:00 2001 +From dadcb33e1f4ee70bc77da7fa7054b8571a22d5ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 30 May 2019 12:25:29 +0100 -Subject: [PATCH 510/773] overlays: Fix mmc-related overlays after refactor +Subject: [PATCH 509/806] overlays: Fix mmc-related overlays after refactor The addition of the mmcnr node to the base dtbs caused some overlays to not work as they should. Patch up pi3-disable-wifi, balena-fin and diff --git a/target/linux/brcm2708/patches-4.19/950-0511-config-Add-NF_TABLES-support.patch b/target/linux/brcm2708/patches-4.19/950-0510-config-Add-NF_TABLES-support.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0511-config-Add-NF_TABLES-support.patch rename to target/linux/brcm2708/patches-4.19/950-0510-config-Add-NF_TABLES-support.patch index 9896e337e3..02de3919e2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0511-config-Add-NF_TABLES-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0510-config-Add-NF_TABLES-support.patch @@ -1,7 +1,7 @@ -From b491245e487b15b57e543c18cdc3e5236ddbf6a7 Mon Sep 17 00:00:00 2001 +From 9d96c80ddbea92f8aaba3a90980e6afb25e5016a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Jun 2019 14:57:56 +0100 -Subject: [PATCH 511/773] config: Add NF_TABLES support +Subject: [PATCH 510/806] config: Add NF_TABLES support --- arch/arm/configs/bcm2709_defconfig | 48 ++++++++++++++++++++++++++++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0512-Fixed-48k-timing-issue.patch b/target/linux/brcm2708/patches-4.19/950-0511-Fixed-48k-timing-issue.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0512-Fixed-48k-timing-issue.patch rename to target/linux/brcm2708/patches-4.19/950-0511-Fixed-48k-timing-issue.patch index 55faabb7dd..ab4b1f0b26 100644 --- a/target/linux/brcm2708/patches-4.19/950-0512-Fixed-48k-timing-issue.patch +++ b/target/linux/brcm2708/patches-4.19/950-0511-Fixed-48k-timing-issue.patch @@ -1,7 +1,7 @@ -From 503981056ebed755cb46a721cad6067598fe80f1 Mon Sep 17 00:00:00 2001 +From 539e2eef7dbfb58ab028a5530430611973dd4c84 Mon Sep 17 00:00:00 2001 From: IQaudIO Date: Thu, 6 Jun 2019 10:20:55 +0100 -Subject: [PATCH 512/773] Fixed 48k timing issue +Subject: [PATCH 511/806] Fixed 48k timing issue --- sound/soc/bcm/iqaudio-codec.c | 33 ++++++++++++++++++++++++++++----- diff --git a/target/linux/brcm2708/patches-4.19/950-0513-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch b/target/linux/brcm2708/patches-4.19/950-0512-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0513-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch rename to target/linux/brcm2708/patches-4.19/950-0512-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch index eb3d68f9b3..63eae876d6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0513-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch +++ b/target/linux/brcm2708/patches-4.19/950-0512-staging-bcm2835-codec-Convert-V4L2-nsec-timestamps-t.patch @@ -1,7 +1,7 @@ -From ab4be0bc5cce7c699d654d7f88a3c1bec57b5570 Mon Sep 17 00:00:00 2001 +From 3da653227926705fe0dcb7b6057be1ca811f47b8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 10 May 2019 14:11:58 +0100 -Subject: [PATCH 513/773] staging: bcm2835-codec: Convert V4L2 nsec timestamps +Subject: [PATCH 512/806] staging: bcm2835-codec: Convert V4L2 nsec timestamps to MMAL usec V4L2 uses nsecs, whilst MMAL uses usecs, but the code wasn't converting diff --git a/target/linux/brcm2708/patches-4.19/950-0514-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch b/target/linux/brcm2708/patches-4.19/950-0513-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0514-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch rename to target/linux/brcm2708/patches-4.19/950-0513-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch index 7851532691..aea33ff02e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0514-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch +++ b/target/linux/brcm2708/patches-4.19/950-0513-staging-bcm2835-codec-Add-support-for-setting-S_PARM.patch @@ -1,7 +1,7 @@ -From 4a4c0e852e353c27a806ee393bf365213e34267b Mon Sep 17 00:00:00 2001 +From 67c1f9dd0253a1175f77e801b19bd9d923225f9c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 10 May 2019 14:13:11 +0100 -Subject: [PATCH 514/773] staging: bcm2835-codec: Add support for setting +Subject: [PATCH 513/806] staging: bcm2835-codec: Add support for setting S_PARM and G_PARM Video encode can use the frame rate for rate control calculations, diff --git a/target/linux/brcm2708/patches-4.19/950-0515-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch b/target/linux/brcm2708/patches-4.19/950-0514-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0515-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch rename to target/linux/brcm2708/patches-4.19/950-0514-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch index eb62057354..64e670b710 100644 --- a/target/linux/brcm2708/patches-4.19/950-0515-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch +++ b/target/linux/brcm2708/patches-4.19/950-0514-w1-w1-gpio-Make-GPIO-an-output-for-strong-pullup.patch @@ -1,7 +1,7 @@ -From c348ccd68f85473e13faaaba6f409b00fa06efff Mon Sep 17 00:00:00 2001 +From afea1f84cbda94c47ba4a8f84d16c4330e145a0a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 12 Jun 2019 17:15:05 +0100 -Subject: [PATCH 515/773] w1: w1-gpio: Make GPIO an output for strong pullup +Subject: [PATCH 514/806] w1: w1-gpio: Make GPIO an output for strong pullup The logic to drive the data line high to implement a strong pullup assumed that the pin was already an output - setting a value does diff --git a/target/linux/brcm2708/patches-4.19/950-0516-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch b/target/linux/brcm2708/patches-4.19/950-0515-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0516-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch rename to target/linux/brcm2708/patches-4.19/950-0515-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch index 017926b61e..fed2149355 100644 --- a/target/linux/brcm2708/patches-4.19/950-0516-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch +++ b/target/linux/brcm2708/patches-4.19/950-0515-overlays-Update-w1-gpio-and-w1-gpio-pullup.patch @@ -1,7 +1,7 @@ -From 56108cfacde8cb051126de99092e67ca02635184 Mon Sep 17 00:00:00 2001 +From 531ae7af75b2be2867814693f069fb51e3155341 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 12 Jun 2019 17:32:11 +0100 -Subject: [PATCH 516/773] overlays: Update w1-gpio and w1-gpio-pullup +Subject: [PATCH 515/806] overlays: Update w1-gpio and w1-gpio-pullup The parasitic power (power on data) feature is now enabled by default in the w1-gpio driver, so update the README and make the diff --git a/target/linux/brcm2708/patches-4.19/950-0517-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch b/target/linux/brcm2708/patches-4.19/950-0516-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0517-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch rename to target/linux/brcm2708/patches-4.19/950-0516-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch index 202e6b83f8..47e236916e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0517-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch +++ b/target/linux/brcm2708/patches-4.19/950-0516-bcm2835-sdhost-Fix-DMA-channel-leak-on-error-remove.patch @@ -1,7 +1,7 @@ -From 0e3b70d74a8ab5187a05e48dfec974f650cfbd83 Mon Sep 17 00:00:00 2001 +From 73623c76c8bc8c41a4afefc1eee84dfc5979d652 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 12 Jun 2019 20:45:17 +0100 -Subject: [PATCH 517/773] bcm2835-sdhost: Fix DMA channel leak on error/remove +Subject: [PATCH 516/806] bcm2835-sdhost: Fix DMA channel leak on error/remove Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0518-i2c-bcm2835-Model-Divider-in-CCF.patch b/target/linux/brcm2708/patches-4.19/950-0517-i2c-bcm2835-Model-Divider-in-CCF.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0518-i2c-bcm2835-Model-Divider-in-CCF.patch rename to target/linux/brcm2708/patches-4.19/950-0517-i2c-bcm2835-Model-Divider-in-CCF.patch index 140d994f48..f584989598 100644 --- a/target/linux/brcm2708/patches-4.19/950-0518-i2c-bcm2835-Model-Divider-in-CCF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0517-i2c-bcm2835-Model-Divider-in-CCF.patch @@ -1,7 +1,7 @@ -From 060db9ab233a8d887adfbfa0dc4357b620d8182e Mon Sep 17 00:00:00 2001 +From ffbb6cc14b8fb1876b249048284a5fe30f48c693 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Sat, 8 Jun 2019 10:14:43 -0700 -Subject: [PATCH 518/773] i2c: bcm2835: Model Divider in CCF +Subject: [PATCH 517/806] i2c: bcm2835: Model Divider in CCF Commit bebff81fb8b9216eb4fba22cf910553621ae3477 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0519-staging-vc04_services-Use-correct-cache-line-size.patch b/target/linux/brcm2708/patches-4.19/950-0518-staging-vc04_services-Use-correct-cache-line-size.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0519-staging-vc04_services-Use-correct-cache-line-size.patch rename to target/linux/brcm2708/patches-4.19/950-0518-staging-vc04_services-Use-correct-cache-line-size.patch index 40995e1246..e9b4825bb3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0519-staging-vc04_services-Use-correct-cache-line-size.patch +++ b/target/linux/brcm2708/patches-4.19/950-0518-staging-vc04_services-Use-correct-cache-line-size.patch @@ -1,7 +1,7 @@ -From 58bf0ee75ceb54208037f0e4f3b3896aeda443de Mon Sep 17 00:00:00 2001 +From 63079fbe20c954140f8eb61f858b0774890f301c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 17 Sep 2018 09:22:21 +0100 -Subject: [PATCH 519/773] staging/vc04_services: Use correct cache line size +Subject: [PATCH 518/806] staging/vc04_services: Use correct cache line size Use the compatible string in the DTB to select the correct cache line size for the SoC - 32 for BCM2835, and 64 for BCM2836 and BCM2837. diff --git a/target/linux/brcm2708/patches-4.19/950-0520-tty-amba-pl011-allow-shared-interrupt.patch b/target/linux/brcm2708/patches-4.19/950-0519-tty-amba-pl011-allow-shared-interrupt.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0520-tty-amba-pl011-allow-shared-interrupt.patch rename to target/linux/brcm2708/patches-4.19/950-0519-tty-amba-pl011-allow-shared-interrupt.patch index d1c01d06da..ae9036755f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0520-tty-amba-pl011-allow-shared-interrupt.patch +++ b/target/linux/brcm2708/patches-4.19/950-0519-tty-amba-pl011-allow-shared-interrupt.patch @@ -1,7 +1,7 @@ -From f7b4af251d2e0f80ef21c9be6969bfca0fcd8955 Mon Sep 17 00:00:00 2001 +From ea75a716955e85ad076dd2861ca9e41def406a1b Mon Sep 17 00:00:00 2001 From: Doug Berger Date: Mon, 13 May 2019 20:59:45 +0200 -Subject: [PATCH 520/773] tty: amba-pl011: allow shared interrupt +Subject: [PATCH 519/806] tty: amba-pl011: allow shared interrupt The PL011 register space includes all necessary status bits to determine whether a device instance requires handling in response diff --git a/target/linux/brcm2708/patches-4.19/950-0521-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch b/target/linux/brcm2708/patches-4.19/950-0520-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0521-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch rename to target/linux/brcm2708/patches-4.19/950-0520-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch index ac2066ea8b..ce9409e36a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0521-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0520-ARM-bcm283x-Reduce-register-ranges-for-UART-SPI-and-.patch @@ -1,7 +1,7 @@ -From 74a4dd8daf47253654d13143608b6b3518d8dc42 Mon Sep 17 00:00:00 2001 +From 3f6fe9da303fc01fb754a0a639ec3cdb813e8780 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sun, 19 May 2019 12:20:00 +0200 -Subject: [PATCH 521/773] ARM: bcm283x: Reduce register ranges for UART, SPI +Subject: [PATCH 520/806] ARM: bcm283x: Reduce register ranges for UART, SPI and I2C The assigned register ranges for UART, SPI and I2C were too wasteful. diff --git a/target/linux/brcm2708/patches-4.19/950-0522-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch b/target/linux/brcm2708/patches-4.19/950-0521-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0522-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch rename to target/linux/brcm2708/patches-4.19/950-0521-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch index e72ed25360..ac3adb9492 100644 --- a/target/linux/brcm2708/patches-4.19/950-0522-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0521-ARM-bcm283x-Extend-the-WDT-DT-node-out-to-cover-the-.patch @@ -1,7 +1,7 @@ -From 195eb3a9fc9a03bf6cbd4cd95c39ca7d9f9df4d5 Mon Sep 17 00:00:00 2001 +From 9f889edf282d1d9a21c921e6cd33cebe22bcc4d4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 12 Dec 2018 15:51:49 -0800 -Subject: [PATCH 522/773] ARM: bcm283x: Extend the WDT DT node out to cover the +Subject: [PATCH 521/806] ARM: bcm283x: Extend the WDT DT node out to cover the whole PM block. (v4) It was covering part of the PM block's range, up to the WDT regs. To diff --git a/target/linux/brcm2708/patches-4.19/950-0523-ARM-dts-Add-label-to-bcm2835-RNG.patch b/target/linux/brcm2708/patches-4.19/950-0522-ARM-dts-Add-label-to-bcm2835-RNG.patch similarity index 78% rename from target/linux/brcm2708/patches-4.19/950-0523-ARM-dts-Add-label-to-bcm2835-RNG.patch rename to target/linux/brcm2708/patches-4.19/950-0522-ARM-dts-Add-label-to-bcm2835-RNG.patch index 48fa85fe85..b9d29b7454 100644 --- a/target/linux/brcm2708/patches-4.19/950-0523-ARM-dts-Add-label-to-bcm2835-RNG.patch +++ b/target/linux/brcm2708/patches-4.19/950-0522-ARM-dts-Add-label-to-bcm2835-RNG.patch @@ -1,7 +1,7 @@ -From 31462c12bc2bb4d20fa6f5b30bb39d91eaa78363 Mon Sep 17 00:00:00 2001 +From 1297aac31942e596e6888d772ba49393a9f59417 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 4 May 2019 17:06:54 +0200 -Subject: [PATCH 523/773] ARM: dts: Add label to bcm2835 RNG +Subject: [PATCH 522/806] ARM: dts: Add label to bcm2835 RNG --- arch/arm/boot/dts/bcm283x.dtsi | 2 +- diff --git a/target/linux/brcm2708/patches-4.19/950-0524-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0523-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0524-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0523-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch index 3d80ceac09..0d79d9047e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0524-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0523-dts-Use-fb-rather-than-leds-for-dpi-overlay.patch @@ -1,7 +1,7 @@ -From 48a12a229f61b9f86fa09d44cd04a4e2c3ca9879 Mon Sep 17 00:00:00 2001 +From 4a09c51bc328b2b83ffa20a6db02ac18139a963d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 12 Oct 2017 18:11:32 +0100 -Subject: [PATCH 524/773] dts: Use fb rather than leds for dpi overlay +Subject: [PATCH 523/806] dts: Use fb rather than leds for dpi overlay --- arch/arm/boot/dts/overlays/dpi18-overlay.dts | 2 +- diff --git a/target/linux/brcm2708/patches-4.19/950-0525-BCM270X_DT-Minor-tidy-up.patch b/target/linux/brcm2708/patches-4.19/950-0524-BCM270X_DT-Minor-tidy-up.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0525-BCM270X_DT-Minor-tidy-up.patch rename to target/linux/brcm2708/patches-4.19/950-0524-BCM270X_DT-Minor-tidy-up.patch index e06362c115..b6f801de3b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0525-BCM270X_DT-Minor-tidy-up.patch +++ b/target/linux/brcm2708/patches-4.19/950-0524-BCM270X_DT-Minor-tidy-up.patch @@ -1,7 +1,7 @@ -From e6f7fd2d2124fe71f5c3f44034a1911221ff6dda Mon Sep 17 00:00:00 2001 +From 021d54e3ae67e2b02310b9e3e871876a2c3b7eee Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 May 2019 15:19:21 +0100 -Subject: [PATCH 525/773] BCM270X_DT: Minor tidy up +Subject: [PATCH 524/806] BCM270X_DT: Minor tidy up Move arm_pmu out of soc on bcm2710, and labels aren't aliases. diff --git a/target/linux/brcm2708/patches-4.19/950-0526-arm-bcm2835-Fix-FIQ-early-ioremap.patch b/target/linux/brcm2708/patches-4.19/950-0525-arm-bcm2835-Fix-FIQ-early-ioremap.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0526-arm-bcm2835-Fix-FIQ-early-ioremap.patch rename to target/linux/brcm2708/patches-4.19/950-0525-arm-bcm2835-Fix-FIQ-early-ioremap.patch index 6e49bf52ac..4d472eb3f9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0526-arm-bcm2835-Fix-FIQ-early-ioremap.patch +++ b/target/linux/brcm2708/patches-4.19/950-0525-arm-bcm2835-Fix-FIQ-early-ioremap.patch @@ -1,7 +1,7 @@ -From 1b6929dcb41f65f6edc10c59d9ed6aeda413640d Mon Sep 17 00:00:00 2001 +From 51d6e1924fd0e9d075bcef61bea5a475a0ad6634 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 20 Feb 2019 08:49:39 +0000 -Subject: [PATCH 526/773] arm: bcm2835: Fix FIQ early ioremap +Subject: [PATCH 525/806] arm: bcm2835: Fix FIQ early ioremap The ioremapping creates mappings within the vmalloc area. The equivalent early function, create_mapping, now checks that the diff --git a/target/linux/brcm2708/patches-4.19/950-0527-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch b/target/linux/brcm2708/patches-4.19/950-0526-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0527-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch rename to target/linux/brcm2708/patches-4.19/950-0526-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch index 5b02cb2153..932d9eb004 100644 --- a/target/linux/brcm2708/patches-4.19/950-0527-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch +++ b/target/linux/brcm2708/patches-4.19/950-0526-Fix-copy_from_user-if-BCM2835_FAST_MEMCPY-n.patch @@ -1,7 +1,7 @@ -From 87bf382f67d4c10eddb9dacf545c03877feb95a6 Mon Sep 17 00:00:00 2001 +From ab2695d38f4ffadde05c2275ac68f4aad68ef336 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Thu, 14 Mar 2019 10:16:02 +0000 -Subject: [PATCH 527/773] Fix copy_from_user if BCM2835_FAST_MEMCPY=n +Subject: [PATCH 526/806] Fix copy_from_user if BCM2835_FAST_MEMCPY=n The change which introduced CONFIG_BCM2835_FAST_MEMCPY unconditionally changed the behaviour of arm_copy_from_user. The page pinning code diff --git a/target/linux/brcm2708/patches-4.19/950-0528-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch b/target/linux/brcm2708/patches-4.19/950-0527-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0528-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch rename to target/linux/brcm2708/patches-4.19/950-0527-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch index 2a5b7d12ca..3d9cc8c660 100644 --- a/target/linux/brcm2708/patches-4.19/950-0528-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch +++ b/target/linux/brcm2708/patches-4.19/950-0527-PCI-brcmstb-Add-Broadcom-STB-PCIe-host-controller-dr.patch @@ -1,7 +1,7 @@ -From 4b37db9986aab268e474226fc02edc5c32002f55 Mon Sep 17 00:00:00 2001 +From ac1212c0f8b611be6df28f252ebbad80b775ee0f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Feb 2019 22:06:59 +0000 -Subject: [PATCH 528/773] PCI: brcmstb: Add Broadcom STB PCIe host controller +Subject: [PATCH 527/806] PCI: brcmstb: Add Broadcom STB PCIe host controller driver This commit adds the basic Broadcom STB PCIe controller. Missing is diff --git a/target/linux/brcm2708/patches-4.19/950-0529-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch b/target/linux/brcm2708/patches-4.19/950-0528-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0529-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch rename to target/linux/brcm2708/patches-4.19/950-0528-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch index 3d4ba0ad9b..804432d48d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0529-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0528-PCI-brcmstb-Add-dma-range-mapping-for-inbound-traffi.patch @@ -1,7 +1,7 @@ -From 8c846a50fd244e719c7f463c38e9333c7bd95977 Mon Sep 17 00:00:00 2001 +From d3cc1c713b9436a7dc72788caa1d8de63ac3a01b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Feb 2019 22:06:59 +0000 -Subject: [PATCH 529/773] PCI: brcmstb: Add dma-range mapping for inbound +Subject: [PATCH 528/806] PCI: brcmstb: Add dma-range mapping for inbound traffic The Broadcom STB PCIe host controller is intimately related to the diff --git a/target/linux/brcm2708/patches-4.19/950-0530-PCI-brcmstb-Add-MSI-capability.patch b/target/linux/brcm2708/patches-4.19/950-0529-PCI-brcmstb-Add-MSI-capability.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0530-PCI-brcmstb-Add-MSI-capability.patch rename to target/linux/brcm2708/patches-4.19/950-0529-PCI-brcmstb-Add-MSI-capability.patch index d698cf37f9..b8b61aa614 100644 --- a/target/linux/brcm2708/patches-4.19/950-0530-PCI-brcmstb-Add-MSI-capability.patch +++ b/target/linux/brcm2708/patches-4.19/950-0529-PCI-brcmstb-Add-MSI-capability.patch @@ -1,7 +1,7 @@ -From 267ce95d56a523e7720f1da5ed1b8f9c3c7e7420 Mon Sep 17 00:00:00 2001 +From cd3af4fa73ab25353f0865ebe8e0d2af1fd2a50b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Feb 2019 22:06:59 +0000 -Subject: [PATCH 530/773] PCI: brcmstb: Add MSI capability +Subject: [PATCH 529/806] PCI: brcmstb: Add MSI capability This commit adds MSI to the Broadcom STB PCIe host controller. It does not add MSIX since that functionality is not in the HW. The MSI diff --git a/target/linux/brcm2708/patches-4.19/950-0531-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch b/target/linux/brcm2708/patches-4.19/950-0530-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0531-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch rename to target/linux/brcm2708/patches-4.19/950-0530-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch index 50d8089fdd..8cd51b7961 100644 --- a/target/linux/brcm2708/patches-4.19/950-0531-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch +++ b/target/linux/brcm2708/patches-4.19/950-0530-dt-bindings-pci-Add-DT-docs-for-Brcmstb-PCIe-device.patch @@ -1,7 +1,7 @@ -From c5a1328b9ddca9db14b25ff8a5c3ead24ec32dff Mon Sep 17 00:00:00 2001 +From cb1acabb459677efbf95c54ce1dc5252be30a018 Mon Sep 17 00:00:00 2001 From: Jim Quinlan Date: Mon, 15 Jan 2018 18:28:39 -0500 -Subject: [PATCH 531/773] dt-bindings: pci: Add DT docs for Brcmstb PCIe device +Subject: [PATCH 530/806] dt-bindings: pci: Add DT docs for Brcmstb PCIe device The DT bindings description of the Brcmstb PCIe device is described. This node can be used by almost all Broadcom settop box chips, using diff --git a/target/linux/brcm2708/patches-4.19/950-0532-pcie-brcmstb-Changes-for-BCM2711.patch b/target/linux/brcm2708/patches-4.19/950-0531-pcie-brcmstb-Changes-for-BCM2711.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0532-pcie-brcmstb-Changes-for-BCM2711.patch rename to target/linux/brcm2708/patches-4.19/950-0531-pcie-brcmstb-Changes-for-BCM2711.patch index 1a252e916b..86f638e736 100644 --- a/target/linux/brcm2708/patches-4.19/950-0532-pcie-brcmstb-Changes-for-BCM2711.patch +++ b/target/linux/brcm2708/patches-4.19/950-0531-pcie-brcmstb-Changes-for-BCM2711.patch @@ -1,7 +1,7 @@ -From 4cf752e8c6b0ec63f932d28c48a652ff682be861 Mon Sep 17 00:00:00 2001 +From 545951be6cabac8b1df85771c44335a0eaaa3c5d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Feb 2019 22:06:59 +0000 -Subject: [PATCH 532/773] pcie-brcmstb: Changes for BCM2711 +Subject: [PATCH 531/806] pcie-brcmstb: Changes for BCM2711 The initial brcmstb PCIe driver - originally taken from the V3(?) patch set - has been modified significantly for the BCM2711. diff --git a/target/linux/brcm2708/patches-4.19/950-0533-arm-bcm2835-DMA-can-only-address-1GB.patch b/target/linux/brcm2708/patches-4.19/950-0532-arm-bcm2835-DMA-can-only-address-1GB.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0533-arm-bcm2835-DMA-can-only-address-1GB.patch rename to target/linux/brcm2708/patches-4.19/950-0532-arm-bcm2835-DMA-can-only-address-1GB.patch index 9350bc26e9..29942be1f5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0533-arm-bcm2835-DMA-can-only-address-1GB.patch +++ b/target/linux/brcm2708/patches-4.19/950-0532-arm-bcm2835-DMA-can-only-address-1GB.patch @@ -1,7 +1,7 @@ -From 163210578ebc3365d92bb292666583dceb28a947 Mon Sep 17 00:00:00 2001 +From 9334afe7293b3a78b7e070a70880b2db7aa98365 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 May 2019 15:47:42 +0100 -Subject: [PATCH 533/773] arm: bcm2835: DMA can only address 1GB +Subject: [PATCH 532/806] arm: bcm2835: DMA can only address 1GB The legacy peripherals can only address the first gigabyte of RAM, so ensure that DMA allocations are restricted to that region. diff --git a/target/linux/brcm2708/patches-4.19/950-0534-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch b/target/linux/brcm2708/patches-4.19/950-0533-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0534-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch rename to target/linux/brcm2708/patches-4.19/950-0533-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch index 100fd74f58..bf0b19b30e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0534-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch +++ b/target/linux/brcm2708/patches-4.19/950-0533-mmc-bcm2835-sdhost-Support-64-bit-physical-addresses.patch @@ -1,7 +1,7 @@ -From 660caa15e0857ec1e6d443907d846bafd45b28be Mon Sep 17 00:00:00 2001 +From 8a58288d710a817b5dc7747f0bec1fb167368e7e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 Aug 2018 09:05:15 +0100 -Subject: [PATCH 534/773] mmc: bcm2835-sdhost: Support 64-bit physical +Subject: [PATCH 533/806] mmc: bcm2835-sdhost: Support 64-bit physical addresses Signed-off-by: Phil Elwell diff --git a/target/linux/brcm2708/patches-4.19/950-0535-mmc-sdhci-Mask-spurious-interrupts.patch b/target/linux/brcm2708/patches-4.19/950-0534-mmc-sdhci-Mask-spurious-interrupts.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0535-mmc-sdhci-Mask-spurious-interrupts.patch rename to target/linux/brcm2708/patches-4.19/950-0534-mmc-sdhci-Mask-spurious-interrupts.patch index 6c9d7180cd..280c032c16 100644 --- a/target/linux/brcm2708/patches-4.19/950-0535-mmc-sdhci-Mask-spurious-interrupts.patch +++ b/target/linux/brcm2708/patches-4.19/950-0534-mmc-sdhci-Mask-spurious-interrupts.patch @@ -1,7 +1,7 @@ -From 7028b50bd6d167a4bc57b9a356235d21ace20d55 Mon Sep 17 00:00:00 2001 +From be309b7db77215610d5ac15bf0aacd47ea5b3433 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 28 Sep 2018 16:24:05 +0100 -Subject: [PATCH 535/773] mmc: sdhci: Mask "spurious" interrupts +Subject: [PATCH 534/806] mmc: sdhci: Mask "spurious" interrupts Add a filter for "spurious" Transfer Complete interrupts, attempting to make it as specific as possible: diff --git a/target/linux/brcm2708/patches-4.19/950-0536-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch b/target/linux/brcm2708/patches-4.19/950-0535-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0536-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch rename to target/linux/brcm2708/patches-4.19/950-0535-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch index 094c2fae76..14b4289696 100644 --- a/target/linux/brcm2708/patches-4.19/950-0536-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch +++ b/target/linux/brcm2708/patches-4.19/950-0535-mmc-sdhci-iproc-Add-support-for-emmc2-of-the-BCM2838.patch @@ -1,7 +1,7 @@ -From f17934b2f3f7ccf2d20ff37b7f7b72675b73cfd4 Mon Sep 17 00:00:00 2001 +From 0a1c3ff378e60f2a59153cfc1c7529bfe05eb115 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 27 Apr 2019 12:33:57 +0200 -Subject: [PATCH 536/773] mmc: sdhci-iproc: Add support for emmc2 of the +Subject: [PATCH 535/806] mmc: sdhci-iproc: Add support for emmc2 of the BCM2838 The emmc2 interface of the BCM2838 should be integrated in sdhci-iproc diff --git a/target/linux/brcm2708/patches-4.19/950-0537-hwrng-iproc-rng200-Add-BCM2838-support.patch b/target/linux/brcm2708/patches-4.19/950-0536-hwrng-iproc-rng200-Add-BCM2838-support.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0537-hwrng-iproc-rng200-Add-BCM2838-support.patch rename to target/linux/brcm2708/patches-4.19/950-0536-hwrng-iproc-rng200-Add-BCM2838-support.patch index bbbca2bd23..daa10d10be 100644 --- a/target/linux/brcm2708/patches-4.19/950-0537-hwrng-iproc-rng200-Add-BCM2838-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0536-hwrng-iproc-rng200-Add-BCM2838-support.patch @@ -1,7 +1,7 @@ -From e6a56923caeb2d27d86d049cf11a3af6cf6dd6e7 Mon Sep 17 00:00:00 2001 +From e9c0fd87b6169baf5bd10293a85675d505086191 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 4 May 2019 17:06:15 +0200 -Subject: [PATCH 537/773] hwrng: iproc-rng200: Add BCM2838 support +Subject: [PATCH 536/806] hwrng: iproc-rng200: Add BCM2838 support The HWRNG on the BCM2838 is compatible to iproc-rng200, so add the support to this driver instead of bcm2835-rng. diff --git a/target/linux/brcm2708/patches-4.19/950-0538-thermal-brcmstb_thermal-Add-BCM2838-support.patch b/target/linux/brcm2708/patches-4.19/950-0537-thermal-brcmstb_thermal-Add-BCM2838-support.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0538-thermal-brcmstb_thermal-Add-BCM2838-support.patch rename to target/linux/brcm2708/patches-4.19/950-0537-thermal-brcmstb_thermal-Add-BCM2838-support.patch index 07b3b216e6..5a59adc788 100644 --- a/target/linux/brcm2708/patches-4.19/950-0538-thermal-brcmstb_thermal-Add-BCM2838-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0537-thermal-brcmstb_thermal-Add-BCM2838-support.patch @@ -1,7 +1,7 @@ -From 001069da98632fa4b268c4c8906c448ff3ed3fdc Mon Sep 17 00:00:00 2001 +From d49649e2dcf0d5775e92677d37e229e0387fe82a Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 18 May 2019 12:26:11 +0200 -Subject: [PATCH 538/773] thermal: brcmstb_thermal: Add BCM2838 support +Subject: [PATCH 537/806] thermal: brcmstb_thermal: Add BCM2838 support The BCM2838 has an AVS TMON hardware block. This adds the necessary support to the brcmstb_thermal driver ( no trip handling ). diff --git a/target/linux/brcm2708/patches-4.19/950-0539-vchiq-Add-36-bit-address-support.patch b/target/linux/brcm2708/patches-4.19/950-0538-vchiq-Add-36-bit-address-support.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0539-vchiq-Add-36-bit-address-support.patch rename to target/linux/brcm2708/patches-4.19/950-0538-vchiq-Add-36-bit-address-support.patch index 2860b307bd..871ab1effd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0539-vchiq-Add-36-bit-address-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0538-vchiq-Add-36-bit-address-support.patch @@ -1,7 +1,7 @@ -From 2c52bddb08678377ba855256b3b5dc8aa7ee72f1 Mon Sep 17 00:00:00 2001 +From d5c6191cc94b358de183cc8c88a5722a79445202 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 1 Nov 2018 17:31:37 +0000 -Subject: [PATCH 539/773] vchiq: Add 36-bit address support +Subject: [PATCH 538/806] vchiq: Add 36-bit address support Conditional on a new compatible string, change the pagelist encoding such that the top 24 bits are the pfn, leaving 8 bits for run length diff --git a/target/linux/brcm2708/patches-4.19/950-0540-bcm2835-pcm.c-Support-multichannel-audio.patch b/target/linux/brcm2708/patches-4.19/950-0539-bcm2835-pcm.c-Support-multichannel-audio.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0540-bcm2835-pcm.c-Support-multichannel-audio.patch rename to target/linux/brcm2708/patches-4.19/950-0539-bcm2835-pcm.c-Support-multichannel-audio.patch index 111688a43c..781d372630 100644 --- a/target/linux/brcm2708/patches-4.19/950-0540-bcm2835-pcm.c-Support-multichannel-audio.patch +++ b/target/linux/brcm2708/patches-4.19/950-0539-bcm2835-pcm.c-Support-multichannel-audio.patch @@ -1,7 +1,7 @@ -From e69a797a57b9e0fd52bed980c2cd7bee41d7b664 Mon Sep 17 00:00:00 2001 +From 69d7e7d0f958186a0f7667ebeefdb50d1c5c3bd3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 30 Apr 2019 19:15:30 +0100 -Subject: [PATCH 540/773] bcm2835-pcm.c: Support multichannel audio +Subject: [PATCH 539/806] bcm2835-pcm.c: Support multichannel audio --- .../vc04_services/bcm2835-audio/bcm2835-pcm.c | 17 +++++++++-------- diff --git a/target/linux/brcm2708/patches-4.19/950-0541-bcmgenet-constrain-max-DMA-burst-length.patch b/target/linux/brcm2708/patches-4.19/950-0540-bcmgenet-constrain-max-DMA-burst-length.patch similarity index 82% rename from target/linux/brcm2708/patches-4.19/950-0541-bcmgenet-constrain-max-DMA-burst-length.patch rename to target/linux/brcm2708/patches-4.19/950-0540-bcmgenet-constrain-max-DMA-burst-length.patch index 315569a8b0..55af70e98f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0541-bcmgenet-constrain-max-DMA-burst-length.patch +++ b/target/linux/brcm2708/patches-4.19/950-0540-bcmgenet-constrain-max-DMA-burst-length.patch @@ -1,7 +1,7 @@ -From 5f0a793c24abfa5fa33ecc2eb1cc0a9083336854 Mon Sep 17 00:00:00 2001 +From 12865021c91e21ca7189c6a84688459d400de204 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Wed, 12 Sep 2018 14:44:53 +0100 -Subject: [PATCH 541/773] bcmgenet: constrain max DMA burst length +Subject: [PATCH 540/806] bcmgenet: constrain max DMA burst length --- drivers/net/ethernet/broadcom/genet/bcmgenet.h | 2 +- diff --git a/target/linux/brcm2708/patches-4.19/950-0542-bcmgenet-Better-coalescing-parameter-defaults.patch b/target/linux/brcm2708/patches-4.19/950-0541-bcmgenet-Better-coalescing-parameter-defaults.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0542-bcmgenet-Better-coalescing-parameter-defaults.patch rename to target/linux/brcm2708/patches-4.19/950-0541-bcmgenet-Better-coalescing-parameter-defaults.patch index 835f69dc36..95806baa96 100644 --- a/target/linux/brcm2708/patches-4.19/950-0542-bcmgenet-Better-coalescing-parameter-defaults.patch +++ b/target/linux/brcm2708/patches-4.19/950-0541-bcmgenet-Better-coalescing-parameter-defaults.patch @@ -1,7 +1,7 @@ -From 57f174958ca1e2579c020ff0eb876f7052aba402 Mon Sep 17 00:00:00 2001 +From bb3075a2edb5c55d0ea7470da8bb44cc9f36aa02 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 27 Mar 2019 13:45:46 +0000 -Subject: [PATCH 542/773] bcmgenet: Better coalescing parameter defaults +Subject: [PATCH 541/806] bcmgenet: Better coalescing parameter defaults Set defaults for TX and RX packet coalescing to be equivalent to: diff --git a/target/linux/brcm2708/patches-4.19/950-0543-net-genet-enable-link-energy-detect-powerdown-for-ex.patch b/target/linux/brcm2708/patches-4.19/950-0542-net-genet-enable-link-energy-detect-powerdown-for-ex.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0543-net-genet-enable-link-energy-detect-powerdown-for-ex.patch rename to target/linux/brcm2708/patches-4.19/950-0542-net-genet-enable-link-energy-detect-powerdown-for-ex.patch index 59898da5c0..2b6af21898 100644 --- a/target/linux/brcm2708/patches-4.19/950-0543-net-genet-enable-link-energy-detect-powerdown-for-ex.patch +++ b/target/linux/brcm2708/patches-4.19/950-0542-net-genet-enable-link-energy-detect-powerdown-for-ex.patch @@ -1,7 +1,7 @@ -From 259098c80b022b81abf94a37f3928c3fc4f2455e Mon Sep 17 00:00:00 2001 +From d8b59e9245f8b2a231eeaa35b4a42f30cdbd5304 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 14 May 2019 17:17:59 +0100 -Subject: [PATCH 543/773] net: genet: enable link energy detect powerdown for +Subject: [PATCH 542/806] net: genet: enable link energy detect powerdown for external PHYs There are several warts surrounding bcmgenet_mii_probe() as this diff --git a/target/linux/brcm2708/patches-4.19/950-0544-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch b/target/linux/brcm2708/patches-4.19/950-0543-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0544-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch rename to target/linux/brcm2708/patches-4.19/950-0543-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch index 04d266032a..633ec4714c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0544-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch +++ b/target/linux/brcm2708/patches-4.19/950-0543-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch @@ -1,7 +1,7 @@ -From 6d674e0c255b0a4f2ec2211fbfdf3b73265cc843 Mon Sep 17 00:00:00 2001 +From 8eb54bbd5e6ebb929d390432163589f4c3dc0c14 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 14 May 2019 17:00:41 +0100 -Subject: [PATCH 544/773] phy: broadcom: split out the BCM54213PE from the +Subject: [PATCH 543/806] phy: broadcom: split out the BCM54213PE from the BCM54210E IDs The last nibble is a revision ID, and the 54213pe is a later rev diff --git a/target/linux/brcm2708/patches-4.19/950-0545-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch b/target/linux/brcm2708/patches-4.19/950-0544-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0545-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch rename to target/linux/brcm2708/patches-4.19/950-0544-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch index 318541203f..8c620803db 100644 --- a/target/linux/brcm2708/patches-4.19/950-0545-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0544-phy-bcm54213pe-configure-the-LED-outputs-to-be-more-.patch @@ -1,7 +1,7 @@ -From 3e82f4b81c49f3a4406930080b21bd985453d036 Mon Sep 17 00:00:00 2001 +From dc2550fdfd0a46c3ec67e5003b3d69c29141406b Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Fri, 17 May 2019 13:31:21 +0100 -Subject: [PATCH 545/773] phy: bcm54213pe: configure the LED outputs to be more +Subject: [PATCH 544/806] phy: bcm54213pe: configure the LED outputs to be more user-friendly The default state was both LEDs indicating link speed. diff --git a/target/linux/brcm2708/patches-4.19/950-0546-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch b/target/linux/brcm2708/patches-4.19/950-0545-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0546-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch rename to target/linux/brcm2708/patches-4.19/950-0545-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch index e8c50321e8..db66e84a38 100644 --- a/target/linux/brcm2708/patches-4.19/950-0546-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch +++ b/target/linux/brcm2708/patches-4.19/950-0545-dwc_otg-Choose-appropriate-IRQ-handover-strategy.patch @@ -1,7 +1,7 @@ -From 8d81496c0b751297bc6f847268e1e278f958de24 Mon Sep 17 00:00:00 2001 +From 856c8fdf68e589c89ed0518aab727c54fdff5afa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 21 May 2019 13:36:52 +0100 -Subject: [PATCH 546/773] dwc_otg: Choose appropriate IRQ handover strategy +Subject: [PATCH 545/806] dwc_otg: Choose appropriate IRQ handover strategy 2711 has no MPHI peripheral, but the ARM Control block can fake interrupts. Use the size of the DTB "mphi" reg block to determine diff --git a/target/linux/brcm2708/patches-4.19/950-0547-usb-xhci-Disable-the-XHCI-5-second-timeout.patch b/target/linux/brcm2708/patches-4.19/950-0546-usb-xhci-Disable-the-XHCI-5-second-timeout.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0547-usb-xhci-Disable-the-XHCI-5-second-timeout.patch rename to target/linux/brcm2708/patches-4.19/950-0546-usb-xhci-Disable-the-XHCI-5-second-timeout.patch index 37cf3942e6..f7c2ad866a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0547-usb-xhci-Disable-the-XHCI-5-second-timeout.patch +++ b/target/linux/brcm2708/patches-4.19/950-0546-usb-xhci-Disable-the-XHCI-5-second-timeout.patch @@ -1,7 +1,7 @@ -From c322d8eeee2d186b790fced2e567101d165a7452 Mon Sep 17 00:00:00 2001 +From ff7222c0771a5e28666335663571058e560ad32b Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Fri, 22 Mar 2019 09:47:14 +0000 -Subject: [PATCH 547/773] usb: xhci: Disable the XHCI 5 second timeout +Subject: [PATCH 546/806] usb: xhci: Disable the XHCI 5 second timeout If the VL805 EEPROM has not been programmed then boot will hang for five seconds. The timeout seems to be arbitrary and is an unecessary diff --git a/target/linux/brcm2708/patches-4.19/950-0548-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch b/target/linux/brcm2708/patches-4.19/950-0547-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0548-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch rename to target/linux/brcm2708/patches-4.19/950-0547-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch index 8743cc5f05..496fb61525 100644 --- a/target/linux/brcm2708/patches-4.19/950-0548-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch +++ b/target/linux/brcm2708/patches-4.19/950-0547-usb-xhci-Show-that-the-VIA-VL805-supports-LPM.patch @@ -1,7 +1,7 @@ -From f9aa5f43485741d4f866070ffe4dbdd28a1937e4 Mon Sep 17 00:00:00 2001 +From 94a960e8933fb94b979f88c319aa54c304004b35 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 May 2019 15:08:30 +0100 -Subject: [PATCH 548/773] usb: xhci: Show that the VIA VL805 supports LPM +Subject: [PATCH 547/806] usb: xhci: Show that the VIA VL805 supports LPM Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0549-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch b/target/linux/brcm2708/patches-4.19/950-0548-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0549-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch rename to target/linux/brcm2708/patches-4.19/950-0548-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch index 7790ae5d50..06a0a5abf2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0549-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch +++ b/target/linux/brcm2708/patches-4.19/950-0548-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.mousep.patch @@ -1,7 +1,7 @@ -From 2b9c74a0458e9f1e27feb27086e841f773530401 Mon Sep 17 00:00:00 2001 +From fa776ef749c924cd3ff3ffa257d7a63a27224399 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 30 May 2019 10:38:40 +0100 -Subject: [PATCH 549/773] usb: xhci: hack xhci_urb_enqueue to support +Subject: [PATCH 548/806] usb: xhci: hack xhci_urb_enqueue to support hid.mousepoll behaviour xHCI creates endpoint contexts directly from the device's endpoint diff --git a/target/linux/brcm2708/patches-4.19/950-0550-pinctrl-bcm2835-Add-support-for-BCM2838.patch b/target/linux/brcm2708/patches-4.19/950-0549-pinctrl-bcm2835-Add-support-for-BCM2838.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0550-pinctrl-bcm2835-Add-support-for-BCM2838.patch rename to target/linux/brcm2708/patches-4.19/950-0549-pinctrl-bcm2835-Add-support-for-BCM2838.patch index 5bf8a40db2..d7103c5822 100644 --- a/target/linux/brcm2708/patches-4.19/950-0550-pinctrl-bcm2835-Add-support-for-BCM2838.patch +++ b/target/linux/brcm2708/patches-4.19/950-0549-pinctrl-bcm2835-Add-support-for-BCM2838.patch @@ -1,7 +1,7 @@ -From 34e6cb1e6f79b24d66353f7c0ac75cd0ae749208 Mon Sep 17 00:00:00 2001 +From 9fdab9bd6324314cbdfe96a6da5edef6c29ed5e6 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Wed, 9 Jan 2019 14:43:36 +0000 -Subject: [PATCH 550/773] pinctrl-bcm2835: Add support for BCM2838 +Subject: [PATCH 549/806] pinctrl-bcm2835: Add support for BCM2838 GPIO configuration on BCM2838 is largely the same as BCM2835 except for the pull up/down configuration. The old mechanism has been replaced diff --git a/target/linux/brcm2708/patches-4.19/950-0551-spi-bcm2835-enable-shared-interrupt-support.patch b/target/linux/brcm2708/patches-4.19/950-0550-spi-bcm2835-enable-shared-interrupt-support.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0551-spi-bcm2835-enable-shared-interrupt-support.patch rename to target/linux/brcm2708/patches-4.19/950-0550-spi-bcm2835-enable-shared-interrupt-support.patch index 62b45d5ef9..9c0a956215 100644 --- a/target/linux/brcm2708/patches-4.19/950-0551-spi-bcm2835-enable-shared-interrupt-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0550-spi-bcm2835-enable-shared-interrupt-support.patch @@ -1,7 +1,7 @@ -From 9d848c0af8245c674ad7a91d157362334e822361 Mon Sep 17 00:00:00 2001 +From 21dd7cd6dc231287b92a8c8b9ecf9d0844c2d325 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Mon, 13 May 2019 11:05:27 +0000 -Subject: [PATCH 551/773] spi: bcm2835: enable shared interrupt support +Subject: [PATCH 550/806] spi: bcm2835: enable shared interrupt support Add shared interrupt support for this driver. diff --git a/target/linux/brcm2708/patches-4.19/950-0552-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch b/target/linux/brcm2708/patches-4.19/950-0551-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0552-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch rename to target/linux/brcm2708/patches-4.19/950-0551-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch index e82bb77b38..0601ecb872 100644 --- a/target/linux/brcm2708/patches-4.19/950-0552-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0551-drivers-char-add-chardev-for-mmap-ing-Argon-control-.patch @@ -1,7 +1,7 @@ -From 910f74bae7c97fafd4a834b9a5e261d4ef2d9676 Mon Sep 17 00:00:00 2001 +From 0be0d6439128366a8d2ac0afaf88f19209171e51 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 9 May 2019 14:30:37 +0100 -Subject: [PATCH 552/773] drivers: char: add chardev for mmap'ing Argon control +Subject: [PATCH 551/806] drivers: char: add chardev for mmap'ing Argon control registers Based on the gpiomem driver, allow mapping of the decoder register diff --git a/target/linux/brcm2708/patches-4.19/950-0553-clk-bcm2835-Don-t-wait-for-pllh-lock.patch b/target/linux/brcm2708/patches-4.19/950-0552-clk-bcm2835-Don-t-wait-for-pllh-lock.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0553-clk-bcm2835-Don-t-wait-for-pllh-lock.patch rename to target/linux/brcm2708/patches-4.19/950-0552-clk-bcm2835-Don-t-wait-for-pllh-lock.patch index 22f0f603b4..ef5d5dfacf 100644 --- a/target/linux/brcm2708/patches-4.19/950-0553-clk-bcm2835-Don-t-wait-for-pllh-lock.patch +++ b/target/linux/brcm2708/patches-4.19/950-0552-clk-bcm2835-Don-t-wait-for-pllh-lock.patch @@ -1,7 +1,7 @@ -From 47b633ce2623b1108224bf3b80c8827a7a85d556 Mon Sep 17 00:00:00 2001 +From 3924edc9bd3c55d48c383c1046d75e163ce3cddb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Jan 2019 16:11:50 +0000 -Subject: [PATCH 553/773] clk-bcm2835: Don't wait for pllh lock +Subject: [PATCH 552/806] clk-bcm2835: Don't wait for pllh lock Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0554-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch b/target/linux/brcm2708/patches-4.19/950-0553-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0554-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch rename to target/linux/brcm2708/patches-4.19/950-0553-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch index a6dee332db..de360d28cd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0554-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch +++ b/target/linux/brcm2708/patches-4.19/950-0553-bcm2835-pm-Move-bcm2835-watchdog-s-DT-probe-to-an-MF.patch @@ -1,7 +1,7 @@ -From 0718ee0a5ed119e57e69307baced70e1dd2236df Mon Sep 17 00:00:00 2001 +From 90964ab2d00546a59086ffd08964da3d2a5cefc9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 12 Dec 2018 15:51:47 -0800 -Subject: [PATCH 554/773] bcm2835-pm: Move bcm2835-watchdog's DT probe to an +Subject: [PATCH 553/806] bcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD. The PM block that the wdt driver was binding to actually has multiple diff --git a/target/linux/brcm2708/patches-4.19/950-0555-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch b/target/linux/brcm2708/patches-4.19/950-0554-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0555-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch rename to target/linux/brcm2708/patches-4.19/950-0554-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch index bde9988ebd..2c046a75c1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0555-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch +++ b/target/linux/brcm2708/patches-4.19/950-0554-soc-bcm-bcm2835-pm-Add-support-for-power-domains-und.patch @@ -1,7 +1,7 @@ -From 00be0bc0ae077a87cb8660af2204aaa2e092af56 Mon Sep 17 00:00:00 2001 +From fd8ca458728baabe9cae37836088a33c8642d420 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 12 Dec 2018 15:51:48 -0800 -Subject: [PATCH 555/773] soc: bcm: bcm2835-pm: Add support for power domains +Subject: [PATCH 554/806] soc: bcm: bcm2835-pm: Add support for power domains under a new binding. This provides a free software alternative to raspberrypi-power.c's diff --git a/target/linux/brcm2708/patches-4.19/950-0556-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch b/target/linux/brcm2708/patches-4.19/950-0555-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0556-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch rename to target/linux/brcm2708/patches-4.19/950-0555-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch index 25111af2fe..5c6f027745 100644 --- a/target/linux/brcm2708/patches-4.19/950-0556-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch +++ b/target/linux/brcm2708/patches-4.19/950-0555-soc-bcm-bcm2835-pm-Fix-PM_IMAGE_PERI-power-domain-su.patch @@ -1,7 +1,7 @@ -From cfa59f455705193753c58674490791627b093410 Mon Sep 17 00:00:00 2001 +From ea44a81b7daf511788aecaee7575feff359c5d19 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 11 Jan 2019 17:29:10 -0800 -Subject: [PATCH 556/773] soc: bcm: bcm2835-pm: Fix PM_IMAGE_PERI power domain +Subject: [PATCH 555/806] soc: bcm: bcm2835-pm: Fix PM_IMAGE_PERI power domain support. We don't have ASB master/slave regs for this domain, so just skip that diff --git a/target/linux/brcm2708/patches-4.19/950-0557-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch b/target/linux/brcm2708/patches-4.19/950-0556-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0557-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch rename to target/linux/brcm2708/patches-4.19/950-0556-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch index 141ac8b923..d873ec6335 100644 --- a/target/linux/brcm2708/patches-4.19/950-0557-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch +++ b/target/linux/brcm2708/patches-4.19/950-0556-soc-bcm-bcm2835-pm-Fix-error-paths-of-initialization.patch @@ -1,7 +1,7 @@ -From b2b716960b1e007900b3b423bad133b0cc37c975 Mon Sep 17 00:00:00 2001 +From 8d9f3526529d857376c661c21820a0049c2e62de Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 12 Jan 2019 08:07:43 -0800 -Subject: [PATCH 557/773] soc: bcm: bcm2835-pm: Fix error paths of +Subject: [PATCH 556/806] soc: bcm: bcm2835-pm: Fix error paths of initialization. The clock driver may probe after ours and so we need to pass the diff --git a/target/linux/brcm2708/patches-4.19/950-0558-soc-bcm-bcm2835-pm-Add-support-for-2711.patch b/target/linux/brcm2708/patches-4.19/950-0557-soc-bcm-bcm2835-pm-Add-support-for-2711.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0558-soc-bcm-bcm2835-pm-Add-support-for-2711.patch rename to target/linux/brcm2708/patches-4.19/950-0557-soc-bcm-bcm2835-pm-Add-support-for-2711.patch index 82c3b80fb7..5f547fddfe 100644 --- a/target/linux/brcm2708/patches-4.19/950-0558-soc-bcm-bcm2835-pm-Add-support-for-2711.patch +++ b/target/linux/brcm2708/patches-4.19/950-0557-soc-bcm-bcm2835-pm-Add-support-for-2711.patch @@ -1,7 +1,7 @@ -From 03e675c9f6504a799f89e319419aa3ff4188e6d3 Mon Sep 17 00:00:00 2001 +From f3470769d4e64084fc7f3060d634aff8fdf8f75d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 11 Jan 2019 17:31:07 -0800 -Subject: [PATCH 558/773] soc: bcm: bcm2835-pm: Add support for 2711. +Subject: [PATCH 557/806] soc: bcm: bcm2835-pm: Add support for 2711. Without the actual power management part any more, there's a lot less to set up for V3D. We just need to clear the RSTN field for the power diff --git a/target/linux/brcm2708/patches-4.19/950-0559-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch b/target/linux/brcm2708/patches-4.19/950-0558-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0559-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch rename to target/linux/brcm2708/patches-4.19/950-0558-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch index 9c8a9b5e8a..1dc154ba47 100644 --- a/target/linux/brcm2708/patches-4.19/950-0559-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch +++ b/target/linux/brcm2708/patches-4.19/950-0558-drm-expand-drm_syncobj_find_fence-to-support-timelin.patch @@ -1,7 +1,7 @@ -From 0738d9361eaebde9a4ad058f7fb5d554d2ad803c Mon Sep 17 00:00:00 2001 +From 7e891cb1f9f57c87706b1292f186d65e1640e0e7 Mon Sep 17 00:00:00 2001 From: Chunming Zhou Date: Thu, 30 Aug 2018 14:48:29 +0800 -Subject: [PATCH 559/773] drm: expand drm_syncobj_find_fence to support +Subject: [PATCH 558/806] drm: expand drm_syncobj_find_fence to support timeline point v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/target/linux/brcm2708/patches-4.19/950-0560-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch b/target/linux/brcm2708/patches-4.19/950-0559-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0560-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch rename to target/linux/brcm2708/patches-4.19/950-0559-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch index 903ca8f2c6..1692bac2a0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0560-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch +++ b/target/linux/brcm2708/patches-4.19/950-0559-drm-v3d-Fix-a-use-after-free-race-accessing-the-sche.patch @@ -1,7 +1,7 @@ -From c21e17ec6f4525ccf85ca496f8ffe19ce88db7c2 Mon Sep 17 00:00:00 2001 +From f5f3df2b1746a9ba9420ae11988fc37a7b93691d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 28 Sep 2018 16:21:23 -0700 -Subject: [PATCH 560/773] drm/v3d: Fix a use-after-free race accessing the +Subject: [PATCH 559/806] drm/v3d: Fix a use-after-free race accessing the scheduler's fences. Once we push the job, the scheduler could run it and free it. So, if diff --git a/target/linux/brcm2708/patches-4.19/950-0561-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch b/target/linux/brcm2708/patches-4.19/950-0560-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0561-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch rename to target/linux/brcm2708/patches-4.19/950-0560-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch index 2af0b7b176..0daf48360c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0561-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch +++ b/target/linux/brcm2708/patches-4.19/950-0560-drm-v3d-Add-a-little-debugfs-entry-for-measuring-the.patch @@ -1,7 +1,7 @@ -From 2c0ed343c8ded92db2a93ef58eef03774409bc66 Mon Sep 17 00:00:00 2001 +From 18f93916e42ea25fc77cab20d1e038620e33d741 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 28 Sep 2018 16:21:24 -0700 -Subject: [PATCH 561/773] drm/v3d: Add a little debugfs entry for measuring the +Subject: [PATCH 560/806] drm/v3d: Add a little debugfs entry for measuring the core clock. This adds just enough performance counter support to measure the diff --git a/target/linux/brcm2708/patches-4.19/950-0562-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch b/target/linux/brcm2708/patches-4.19/950-0561-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0562-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch rename to target/linux/brcm2708/patches-4.19/950-0561-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch index bd553bc012..2401885e26 100644 --- a/target/linux/brcm2708/patches-4.19/950-0562-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch +++ b/target/linux/brcm2708/patches-4.19/950-0561-drm-v3d-Update-a-comment-about-what-uses-v3d_job_dep.patch @@ -1,7 +1,7 @@ -From daff6b7eeba8a177a2d406531807143d0dd497bc Mon Sep 17 00:00:00 2001 +From 6351d93a0f1a18c45c4407c472195d957da5d3d0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 8 Nov 2018 08:16:52 -0800 -Subject: [PATCH 562/773] drm/v3d: Update a comment about what uses +Subject: [PATCH 561/806] drm/v3d: Update a comment about what uses v3d_job_dependency(). I merged bin and render's paths in a late refactoring. diff --git a/target/linux/brcm2708/patches-4.19/950-0563-drm-v3d-Clean-up-the-reservation-object-setup.patch b/target/linux/brcm2708/patches-4.19/950-0562-drm-v3d-Clean-up-the-reservation-object-setup.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0563-drm-v3d-Clean-up-the-reservation-object-setup.patch rename to target/linux/brcm2708/patches-4.19/950-0562-drm-v3d-Clean-up-the-reservation-object-setup.patch index 2efd1ac18d..ec26c53997 100644 --- a/target/linux/brcm2708/patches-4.19/950-0563-drm-v3d-Clean-up-the-reservation-object-setup.patch +++ b/target/linux/brcm2708/patches-4.19/950-0562-drm-v3d-Clean-up-the-reservation-object-setup.patch @@ -1,7 +1,7 @@ -From e2f393595cec106de3656854084f77f7dc06c111 Mon Sep 17 00:00:00 2001 +From 5ca5bd799b4f4a065b969461fa7852415bfb8c6f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 8 Nov 2018 08:16:53 -0800 -Subject: [PATCH 563/773] drm/v3d: Clean up the reservation object setup. +Subject: [PATCH 562/806] drm/v3d: Clean up the reservation object setup. The extra to_v3d_bo() calls came from copying this from the vc4 driver, which stored the cma gem object in the structs. diff --git a/target/linux/brcm2708/patches-4.19/950-0564-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch b/target/linux/brcm2708/patches-4.19/950-0563-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0564-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch rename to target/linux/brcm2708/patches-4.19/950-0563-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch index b488285c21..095a4c8962 100644 --- a/target/linux/brcm2708/patches-4.19/950-0564-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch +++ b/target/linux/brcm2708/patches-4.19/950-0563-drm-v3d-Add-support-for-submitting-jobs-to-the-TFU.patch @@ -1,7 +1,7 @@ -From f2589a672830d7c71a98fdbbcd6e009a033e6491 Mon Sep 17 00:00:00 2001 +From ba1e90b6c3b3bf0e88ab01c824c4f8fde582e878 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 28 Nov 2018 15:09:25 -0800 -Subject: [PATCH 564/773] drm/v3d: Add support for submitting jobs to the TFU. +Subject: [PATCH 563/806] drm/v3d: Add support for submitting jobs to the TFU. The TFU can copy from raster, UIF, and SAND input images to UIF output images, with optional mipmap generation. This will certainly be diff --git a/target/linux/brcm2708/patches-4.19/950-0565-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch b/target/linux/brcm2708/patches-4.19/950-0564-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0565-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch rename to target/linux/brcm2708/patches-4.19/950-0564-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch index 9169b7ecfb..83ee5e3cae 100644 --- a/target/linux/brcm2708/patches-4.19/950-0565-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch +++ b/target/linux/brcm2708/patches-4.19/950-0564-drm-v3d-Drop-the-dev-argument-to-lock-unlock-of-BO-r.patch @@ -1,7 +1,7 @@ -From 47ca36207d373c1114e9c19d68d0548bfa74e96d Mon Sep 17 00:00:00 2001 +From c95a4208ef87c56349d35480e68304562c7612bd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 28 Nov 2018 15:09:26 -0800 -Subject: [PATCH 565/773] drm/v3d: Drop the "dev" argument to lock/unlock of BO +Subject: [PATCH 564/806] drm/v3d: Drop the "dev" argument to lock/unlock of BO reservations. They were unused, as Dave Emett noticed in TFU review. diff --git a/target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch b/target/linux/brcm2708/patches-4.19/950-0565-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch rename to target/linux/brcm2708/patches-4.19/950-0565-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch index 0ab6214a49..12e00cbd53 100644 --- a/target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch +++ b/target/linux/brcm2708/patches-4.19/950-0565-drm-v3d-Add-missing-fence-timeline-name-for-TFU.patch @@ -1,7 +1,7 @@ -From dc3e81ebd4f232646e10e63e25b048edb4ebc007 Mon Sep 17 00:00:00 2001 +From 49281ec9b6f3c7bda94c798133dd35d50eb69649 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Nov 2018 16:57:59 -0800 -Subject: [PATCH 566/773] drm/v3d: Add missing fence timeline name for TFU. +Subject: [PATCH 565/806] drm/v3d: Add missing fence timeline name for TFU. We shouldn't be returning v3d-render for our new queue. diff --git a/target/linux/brcm2708/patches-4.19/950-0567-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch b/target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0567-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch rename to target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch index 36cac3fba0..b3bb3c7848 100644 --- a/target/linux/brcm2708/patches-4.19/950-0567-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch +++ b/target/linux/brcm2708/patches-4.19/950-0566-drm-v3d-Add-more-tracepoints-for-V3D-GPU-rendering.patch @@ -1,7 +1,7 @@ -From 45825b7a8fe40a6b8d03312cc433713b0cc4b63f Mon Sep 17 00:00:00 2001 +From 128adbc39c9826ca137ca3627cff17644e786fdb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Nov 2018 16:57:58 -0800 -Subject: [PATCH 567/773] drm/v3d: Add more tracepoints for V3D GPU rendering. +Subject: [PATCH 566/806] drm/v3d: Add more tracepoints for V3D GPU rendering. The core scheduler tells us when the job is pushed to the scheduler's queue, and I had the job_run functions saying when they actually queue diff --git a/target/linux/brcm2708/patches-4.19/950-0568-drm-v3d-Drop-unused-v3d_flush_caches.patch b/target/linux/brcm2708/patches-4.19/950-0567-drm-v3d-Drop-unused-v3d_flush_caches.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0568-drm-v3d-Drop-unused-v3d_flush_caches.patch rename to target/linux/brcm2708/patches-4.19/950-0567-drm-v3d-Drop-unused-v3d_flush_caches.patch index d585821a20..e238f32a98 100644 --- a/target/linux/brcm2708/patches-4.19/950-0568-drm-v3d-Drop-unused-v3d_flush_caches.patch +++ b/target/linux/brcm2708/patches-4.19/950-0567-drm-v3d-Drop-unused-v3d_flush_caches.patch @@ -1,7 +1,7 @@ -From a29692f6e1d732419ba24fb51959597514eda190 Mon Sep 17 00:00:00 2001 +From 065c8947cb7c40bfb3e76dcbb9d901b5e8fe0ea4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Dec 2018 14:24:34 -0800 -Subject: [PATCH 568/773] drm/v3d: Drop unused v3d_flush_caches(). +Subject: [PATCH 567/806] drm/v3d: Drop unused v3d_flush_caches(). Now that I've specified how the end-of-pipeline flushing should work, we're never going to use this function. diff --git a/target/linux/brcm2708/patches-4.19/950-0569-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch b/target/linux/brcm2708/patches-4.19/950-0568-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0569-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch rename to target/linux/brcm2708/patches-4.19/950-0568-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch index fcc021a487..f7195c4d23 100644 --- a/target/linux/brcm2708/patches-4.19/950-0569-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch +++ b/target/linux/brcm2708/patches-4.19/950-0568-drm-v3d-Don-t-bother-flushing-L1TD-at-job-start.patch @@ -1,7 +1,7 @@ -From c44a4bd02a38b30b58e61ead45c4b530a87568c6 Mon Sep 17 00:00:00 2001 +From 4a6410a53059d6505680b70fc438b7cfbf8939ca Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Dec 2018 14:24:35 -0800 -Subject: [PATCH 569/773] drm/v3d: Don't bother flushing L1TD at job start. +Subject: [PATCH 568/806] drm/v3d: Don't bother flushing L1TD at job start. This is the write combiner for TMU writes. You're supposed to flush that at job end if you had dirtied any cachelines. Flushing it at job diff --git a/target/linux/brcm2708/patches-4.19/950-0570-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch b/target/linux/brcm2708/patches-4.19/950-0569-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0570-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch rename to target/linux/brcm2708/patches-4.19/950-0569-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch index 77f74539f4..70c14f1826 100644 --- a/target/linux/brcm2708/patches-4.19/950-0570-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch +++ b/target/linux/brcm2708/patches-4.19/950-0569-drm-v3d-Drop-the-wait-for-L2T-flush-to-complete.patch @@ -1,7 +1,7 @@ -From 384cb5c7acae08a9ec07b8eaa67de697b7ad9a5a Mon Sep 17 00:00:00 2001 +From 9d8fa62500ae52348d36766e70b49c7508addaf3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Dec 2018 14:24:36 -0800 -Subject: [PATCH 570/773] drm/v3d: Drop the wait for L2T flush to complete. +Subject: [PATCH 569/806] drm/v3d: Drop the wait for L2T flush to complete. According to Dave, once you've started an L2T flush, all L2T accesses will be blocked until the flush completes. This fixes a consistent diff --git a/target/linux/brcm2708/patches-4.19/950-0571-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch b/target/linux/brcm2708/patches-4.19/950-0570-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0571-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch rename to target/linux/brcm2708/patches-4.19/950-0570-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch index a71cffe1b5..442eb63c54 100644 --- a/target/linux/brcm2708/patches-4.19/950-0571-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch +++ b/target/linux/brcm2708/patches-4.19/950-0570-drm-v3d-Stop-trying-to-flush-L2C-on-V3D-3.3.patch @@ -1,7 +1,7 @@ -From 1e22cd2f91ce5abc1587f14c7cafb72f12334fe8 Mon Sep 17 00:00:00 2001 +From abee30ca29ec11b62842934de04b5a0033bff21b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Dec 2018 14:24:37 -0800 -Subject: [PATCH 571/773] drm/v3d: Stop trying to flush L2C on V3D 3.3+ +Subject: [PATCH 570/806] drm/v3d: Stop trying to flush L2C on V3D 3.3+ This cache was replaced with the slice accessing the L2T in the newer generations. Noted by Dave during review. diff --git a/target/linux/brcm2708/patches-4.19/950-0572-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch b/target/linux/brcm2708/patches-4.19/950-0571-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0572-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch rename to target/linux/brcm2708/patches-4.19/950-0571-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch index b7c706508f..3348f43d2a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0572-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch +++ b/target/linux/brcm2708/patches-4.19/950-0571-drm-v3d-Invalidate-the-caches-from-the-outside-in.patch @@ -1,7 +1,7 @@ -From e106cc466d4e85d294dd211984d9bc2aeb926f5a Mon Sep 17 00:00:00 2001 +From 514653cd51ff6bc14268dc0f98ebb37daa8f0e88 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Dec 2018 14:24:38 -0800 -Subject: [PATCH 572/773] drm/v3d: Invalidate the caches from the outside in. +Subject: [PATCH 571/806] drm/v3d: Invalidate the caches from the outside in. This would be a fairly obscure race, but let's make sure we don't ever lose it. diff --git a/target/linux/brcm2708/patches-4.19/950-0573-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch b/target/linux/brcm2708/patches-4.19/950-0572-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0573-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch rename to target/linux/brcm2708/patches-4.19/950-0572-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch index 76905fa165..6dd89a9ed3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0573-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch +++ b/target/linux/brcm2708/patches-4.19/950-0572-drm-v3d-Fix-BO-stats-accounting-for-dma-buf-imported.patch @@ -1,7 +1,7 @@ -From 0e031dc68877a44cc11e2692b3f4b46164330db2 Mon Sep 17 00:00:00 2001 +From f91d0382b735a3d7711f6b160d80627cd4be54af Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 7 Feb 2019 15:26:13 -0800 -Subject: [PATCH 573/773] drm/v3d: Fix BO stats accounting for dma-buf-imported +Subject: [PATCH 572/806] drm/v3d: Fix BO stats accounting for dma-buf-imported buffers. We always decrement at GEM free, so make sure we increment at GEM diff --git a/target/linux/brcm2708/patches-4.19/950-0574-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch b/target/linux/brcm2708/patches-4.19/950-0573-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0574-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch rename to target/linux/brcm2708/patches-4.19/950-0573-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch index 33d5f6167e..99a7680e06 100644 --- a/target/linux/brcm2708/patches-4.19/950-0574-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0573-drm-v3d-Update-top-level-kerneldoc-for-the-addition-.patch @@ -1,7 +1,7 @@ -From a86b8d88a3bad7cb79ec7e4abd6e5395d5fe8159 Mon Sep 17 00:00:00 2001 +From 752f66d4482db75db81e5255f5071de1e47ac121 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 7 Feb 2019 12:09:58 -0800 -Subject: [PATCH 574/773] drm/v3d: Update top-level kerneldoc for the addition +Subject: [PATCH 573/806] drm/v3d: Update top-level kerneldoc for the addition of TFU. Signed-off-by: Eric Anholt diff --git a/target/linux/brcm2708/patches-4.19/950-0575-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch b/target/linux/brcm2708/patches-4.19/950-0574-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0575-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch rename to target/linux/brcm2708/patches-4.19/950-0574-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch index 03ca8ee7ae..34e10fdd42 100644 --- a/target/linux/brcm2708/patches-4.19/950-0575-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch +++ b/target/linux/brcm2708/patches-4.19/950-0574-drm-vc4-Fix-oops-at-boot-with-firmwarekms-on-4.19.patch @@ -1,7 +1,7 @@ -From d231c07d344ad8259bb88ba12497346d61050821 Mon Sep 17 00:00:00 2001 +From ec551e663ddd1be9140cc23f1eff33b8d270ed60 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 4 Mar 2019 11:59:34 -0800 -Subject: [PATCH 575/773] drm/vc4: Fix oops at boot with firmwarekms on 4.19. +Subject: [PATCH 574/806] drm/vc4: Fix oops at boot with firmwarekms on 4.19. Signed-off-by: Eric Anholt --- diff --git a/target/linux/brcm2708/patches-4.19/950-0576-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch b/target/linux/brcm2708/patches-4.19/950-0575-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0576-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch rename to target/linux/brcm2708/patches-4.19/950-0575-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch index c61479d7f0..eec645b2b3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0576-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch +++ b/target/linux/brcm2708/patches-4.19/950-0575-drm-vc4-Disable-V3D-interactions-if-the-v3d-componen.patch @@ -1,7 +1,7 @@ -From 54fb807d394537bbe866c30b1bad30244e374f01 Mon Sep 17 00:00:00 2001 +From f69f2b1354e0a548d2cb6dfdc07d37efb426eee0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 20 Feb 2019 13:03:41 -0800 -Subject: [PATCH 576/773] drm/vc4: Disable V3D interactions if the v3d +Subject: [PATCH 575/806] drm/vc4: Disable V3D interactions if the v3d component didn't probe. One might want to use the VC4 display stack without using Mesa. diff --git a/target/linux/brcm2708/patches-4.19/950-0577-drm-v3d-Add-support-for-V3D-v4.2.patch b/target/linux/brcm2708/patches-4.19/950-0576-drm-v3d-Add-support-for-V3D-v4.2.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0577-drm-v3d-Add-support-for-V3D-v4.2.patch rename to target/linux/brcm2708/patches-4.19/950-0576-drm-v3d-Add-support-for-V3D-v4.2.patch index a8b6a797f5..0873dbad63 100644 --- a/target/linux/brcm2708/patches-4.19/950-0577-drm-v3d-Add-support-for-V3D-v4.2.patch +++ b/target/linux/brcm2708/patches-4.19/950-0576-drm-v3d-Add-support-for-V3D-v4.2.patch @@ -1,7 +1,7 @@ -From 5aaf1e394512bf2f1486f19c69fd0ee83d6e1a6a Mon Sep 17 00:00:00 2001 +From b0e7b8814e74be0559e07f737ef18cc3709d4ac4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Oct 2018 17:22:43 -0700 -Subject: [PATCH 577/773] drm/v3d: Add support for V3D v4.2. +Subject: [PATCH 576/806] drm/v3d: Add support for V3D v4.2. No compatible string for it yet, just the version-dependent changes. They've now tied the hub and the core interrupt lines into a single diff --git a/target/linux/brcm2708/patches-4.19/950-0578-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch b/target/linux/brcm2708/patches-4.19/950-0577-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0578-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch rename to target/linux/brcm2708/patches-4.19/950-0577-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch index 7bbeec693a..3feec5f58d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0578-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch +++ b/target/linux/brcm2708/patches-4.19/950-0577-drm-v3d-Don-t-try-to-set-OVRTMUOUT-on-V3D-4.x.patch @@ -1,7 +1,7 @@ -From 157d2df805d880b7ba014ae7c89b2d1d90c77bb2 Mon Sep 17 00:00:00 2001 +From 8011a92f6eabd682e62e268bcd80b45ce3f06af4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 16 Oct 2018 10:13:41 -0700 -Subject: [PATCH 578/773] drm/v3d: Don't try to set OVRTMUOUT on V3D 4.x. +Subject: [PATCH 577/806] drm/v3d: Don't try to set OVRTMUOUT on V3D 4.x. The old field is gone and the register now has a different field, QRMAXCNT for how many TMU requests get serviced before thread switch. diff --git a/target/linux/brcm2708/patches-4.19/950-0579-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch b/target/linux/brcm2708/patches-4.19/950-0578-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0579-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch rename to target/linux/brcm2708/patches-4.19/950-0578-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch index 5fd889f473..a7840c97ca 100644 --- a/target/linux/brcm2708/patches-4.19/950-0579-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch +++ b/target/linux/brcm2708/patches-4.19/950-0578-drm-v3d-Make-sure-the-GPU-is-on-when-measuring-clock.patch @@ -1,7 +1,7 @@ -From 452de2d412157502f7365517eb21d2aaa25d5133 Mon Sep 17 00:00:00 2001 +From 19846d53c32be7c9d8d46b369910374c5ea9b9d5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Jan 2019 17:26:04 -0800 -Subject: [PATCH 579/773] drm/v3d: Make sure the GPU is on when measuring +Subject: [PATCH 578/806] drm/v3d: Make sure the GPU is on when measuring clocks. You'll get garbage measurements if the registers always read back diff --git a/target/linux/brcm2708/patches-4.19/950-0580-drm-v3d-Add-support-for-2711.patch b/target/linux/brcm2708/patches-4.19/950-0579-drm-v3d-Add-support-for-2711.patch similarity index 81% rename from target/linux/brcm2708/patches-4.19/950-0580-drm-v3d-Add-support-for-2711.patch rename to target/linux/brcm2708/patches-4.19/950-0579-drm-v3d-Add-support-for-2711.patch index ef98a649cf..d6fa8cb1a0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0580-drm-v3d-Add-support-for-2711.patch +++ b/target/linux/brcm2708/patches-4.19/950-0579-drm-v3d-Add-support-for-2711.patch @@ -1,7 +1,7 @@ -From cd166c9bfda92698961f76e9807da6e6cfcbab16 Mon Sep 17 00:00:00 2001 +From ffd9543f2d74e9215996ce6500fc34dcf7976462 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Oct 2018 17:22:43 -0700 -Subject: [PATCH 580/773] drm/v3d: Add support for 2711. +Subject: [PATCH 579/806] drm/v3d: Add support for 2711. Signed-off-by: Eric Anholt --- diff --git a/target/linux/brcm2708/patches-4.19/950-0581-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch b/target/linux/brcm2708/patches-4.19/950-0580-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0581-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch rename to target/linux/brcm2708/patches-4.19/950-0580-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch index ef313b81fe..ea5044c1f7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0581-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch +++ b/target/linux/brcm2708/patches-4.19/950-0580-drm-v3d-Skip-MMU-flush-if-the-device-is-currently-of.patch @@ -1,7 +1,7 @@ -From 3a371c1a0d3e574faac4d1ce87c9577c34a966e8 Mon Sep 17 00:00:00 2001 +From f389abea861f9bd3165f98a8d3a1f3407e9fc01a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Jan 2019 12:35:43 -0800 -Subject: [PATCH 581/773] drm/v3d: Skip MMU flush if the device is currently +Subject: [PATCH 580/806] drm/v3d: Skip MMU flush if the device is currently off. If it's off, we know it will be reset on poweron, so the MMU won't diff --git a/target/linux/brcm2708/patches-4.19/950-0582-drm-v3d-Hook-up-the-runtime-PM-ops.patch b/target/linux/brcm2708/patches-4.19/950-0581-drm-v3d-Hook-up-the-runtime-PM-ops.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0582-drm-v3d-Hook-up-the-runtime-PM-ops.patch rename to target/linux/brcm2708/patches-4.19/950-0581-drm-v3d-Hook-up-the-runtime-PM-ops.patch index 8979336fed..55ad2b5f3b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0582-drm-v3d-Hook-up-the-runtime-PM-ops.patch +++ b/target/linux/brcm2708/patches-4.19/950-0581-drm-v3d-Hook-up-the-runtime-PM-ops.patch @@ -1,7 +1,7 @@ -From 9b25c56a149566181394f8d005413513e8bea63c Mon Sep 17 00:00:00 2001 +From 30dd82d785715b2ed52a5079595ffcd2ec1f728d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Jan 2019 14:47:57 -0800 -Subject: [PATCH 582/773] drm/v3d: Hook up the runtime PM ops. +Subject: [PATCH 581/806] drm/v3d: Hook up the runtime PM ops. In translating the runtime PM code from vc4, I missed the ".pm" assignment to actually connect them up. Fixes missing MMU setup if diff --git a/target/linux/brcm2708/patches-4.19/950-0583-drm-v3d-HACK-gut-runtime-pm-for-now.patch b/target/linux/brcm2708/patches-4.19/950-0582-drm-v3d-HACK-gut-runtime-pm-for-now.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0583-drm-v3d-HACK-gut-runtime-pm-for-now.patch rename to target/linux/brcm2708/patches-4.19/950-0582-drm-v3d-HACK-gut-runtime-pm-for-now.patch index 31eadbaaa9..6b2db7306e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0583-drm-v3d-HACK-gut-runtime-pm-for-now.patch +++ b/target/linux/brcm2708/patches-4.19/950-0582-drm-v3d-HACK-gut-runtime-pm-for-now.patch @@ -1,7 +1,7 @@ -From d33359888913c1317afa8bf22d755807b24899ef Mon Sep 17 00:00:00 2001 +From 2d4f38abdc2a919d8002fbec7bc0be7c1312786a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Jan 2019 15:13:17 -0800 -Subject: [PATCH 583/773] drm/v3d: HACK: gut runtime pm for now. +Subject: [PATCH 582/806] drm/v3d: HACK: gut runtime pm for now. Something is still unstable -- on starting a new glxgears from an idle X11, I get an MMU violation in high addresses. The CTS also failed diff --git a/target/linux/brcm2708/patches-4.19/950-0584-drm-v3d-Update-to-upstream-IRQ-code.patch b/target/linux/brcm2708/patches-4.19/950-0583-drm-v3d-Update-to-upstream-IRQ-code.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0584-drm-v3d-Update-to-upstream-IRQ-code.patch rename to target/linux/brcm2708/patches-4.19/950-0583-drm-v3d-Update-to-upstream-IRQ-code.patch index a4e9e6fea3..c3e547aa3d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0584-drm-v3d-Update-to-upstream-IRQ-code.patch +++ b/target/linux/brcm2708/patches-4.19/950-0583-drm-v3d-Update-to-upstream-IRQ-code.patch @@ -1,7 +1,7 @@ -From c6e6c508b5ab90ac310b9686fd63732c05e07b06 Mon Sep 17 00:00:00 2001 +From 50088003d803f04e536eb09ac2635df35b5c8ae4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 12 Mar 2019 09:08:10 -0700 -Subject: [PATCH 584/773] drm/v3d: Update to upstream IRQ code. +Subject: [PATCH 583/806] drm/v3d: Update to upstream IRQ code. --- drivers/gpu/drm/v3d/v3d_irq.c | 25 +++++++++++++++---------- diff --git a/target/linux/brcm2708/patches-4.19/950-0585-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch b/target/linux/brcm2708/patches-4.19/950-0584-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0585-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch rename to target/linux/brcm2708/patches-4.19/950-0584-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch index 930476659c..3cb72bdefa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0585-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch +++ b/target/linux/brcm2708/patches-4.19/950-0584-drm-v3d-Rename-the-fence-signaled-from-IRQs-to-irq_f.patch @@ -1,7 +1,7 @@ -From 64f7c33da2df2c9b7d92652142bfe7ac5602b99e Mon Sep 17 00:00:00 2001 +From 0d00e0340c1aa9ce36bdff46f927916fe4903cee Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 27 Dec 2018 14:04:44 -0800 -Subject: [PATCH 585/773] drm/v3d: Rename the fence signaled from IRQs to +Subject: [PATCH 584/806] drm/v3d: Rename the fence signaled from IRQs to "irq_fence". We have another thing called the "done fence" that tracks when the diff --git a/target/linux/brcm2708/patches-4.19/950-0586-drm-v3d-Refactor-job-management.patch b/target/linux/brcm2708/patches-4.19/950-0585-drm-v3d-Refactor-job-management.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0586-drm-v3d-Refactor-job-management.patch rename to target/linux/brcm2708/patches-4.19/950-0585-drm-v3d-Refactor-job-management.patch index 9ae8185c2d..64be2b080d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0586-drm-v3d-Refactor-job-management.patch +++ b/target/linux/brcm2708/patches-4.19/950-0585-drm-v3d-Refactor-job-management.patch @@ -1,7 +1,7 @@ -From af7079937088946ade149f0bfbb553d6fe51ce7f Mon Sep 17 00:00:00 2001 +From ccf319a0265bfdb4a622a52645f159461bc88079 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 27 Dec 2018 12:11:52 -0800 -Subject: [PATCH 586/773] drm/v3d: Refactor job management. +Subject: [PATCH 585/806] drm/v3d: Refactor job management. The CL submission had two jobs embedded in an exec struct. When I added TFU support, I had to replicate some of the exec stuff and some diff --git a/target/linux/brcm2708/patches-4.19/950-0587-drm-v3d-Add-missing-implicit-synchronization.patch b/target/linux/brcm2708/patches-4.19/950-0586-drm-v3d-Add-missing-implicit-synchronization.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0587-drm-v3d-Add-missing-implicit-synchronization.patch rename to target/linux/brcm2708/patches-4.19/950-0586-drm-v3d-Add-missing-implicit-synchronization.patch index f4fe613310..f9c49fc517 100644 --- a/target/linux/brcm2708/patches-4.19/950-0587-drm-v3d-Add-missing-implicit-synchronization.patch +++ b/target/linux/brcm2708/patches-4.19/950-0586-drm-v3d-Add-missing-implicit-synchronization.patch @@ -1,7 +1,7 @@ -From 9691f6245f13a92f49143602f47f6e7f0b6b5f55 Mon Sep 17 00:00:00 2001 +From 7713f79b0a5473eb0b8456d36b99ae00815dd8a1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 27 Mar 2019 17:44:40 -0700 -Subject: [PATCH 587/773] drm/v3d: Add missing implicit synchronization. +Subject: [PATCH 586/806] drm/v3d: Add missing implicit synchronization. It is the expectation of existing userspace (X11 + Mesa, in particular) that jobs submitted to the kernel against a shared BO will diff --git a/target/linux/brcm2708/patches-4.19/950-0588-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch b/target/linux/brcm2708/patches-4.19/950-0587-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0588-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch rename to target/linux/brcm2708/patches-4.19/950-0587-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch index 48a62216bf..27f0d8f707 100644 --- a/target/linux/brcm2708/patches-4.19/950-0588-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch +++ b/target/linux/brcm2708/patches-4.19/950-0587-drm-vc4-Fix-synchronization-firmwarekms-against-GL-r.patch @@ -1,7 +1,7 @@ -From 0a27b06c9a1dd637abc5940a318620b539a75b5b Mon Sep 17 00:00:00 2001 +From b0fedd829bb6725fef7b2667c85badc6b4a8e5e0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 28 Mar 2019 11:58:51 -0700 -Subject: [PATCH 588/773] drm/vc4: Fix synchronization firmwarekms against GL +Subject: [PATCH 587/806] drm/vc4: Fix synchronization firmwarekms against GL rendering. We would present the framebuffer immediately without waiting for diff --git a/target/linux/brcm2708/patches-4.19/950-0589-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch b/target/linux/brcm2708/patches-4.19/950-0588-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0589-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch rename to target/linux/brcm2708/patches-4.19/950-0588-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch index 2e19509d56..bb0c8552a2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0589-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch +++ b/target/linux/brcm2708/patches-4.19/950-0588-drm-vc4-Make-sure-that-vblank-waits-work-without-v3d.patch @@ -1,7 +1,7 @@ -From 31290e7ce363dc0bf6e3bae9c7b879e52f2e2a55 Mon Sep 17 00:00:00 2001 +From 561918ec5e668f9d940051737d861ee0592816f6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 29 Mar 2019 12:04:36 -0700 -Subject: [PATCH 589/773] drm/vc4: Make sure that vblank waits work without v3d +Subject: [PATCH 588/806] drm/vc4: Make sure that vblank waits work without v3d loaded. This flag exists to protect legacy drivers, but when vc4's v3d doesn't diff --git a/target/linux/brcm2708/patches-4.19/950-0590-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch b/target/linux/brcm2708/patches-4.19/950-0589-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0590-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch rename to target/linux/brcm2708/patches-4.19/950-0589-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch index d9b8a54685..a25c567645 100644 --- a/target/linux/brcm2708/patches-4.19/950-0590-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0589-drm-vc4-Expose-the-format-modifiers-for-firmware-kms.patch @@ -1,7 +1,7 @@ -From c4d47982f89af5e6b87f35e95ef4529561ada6c4 Mon Sep 17 00:00:00 2001 +From c7fc1e1cf922bd548ac983ef48b883b6f83e35ae Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 18 Mar 2019 16:38:32 -0700 -Subject: [PATCH 590/773] drm/vc4: Expose the format modifiers for firmware +Subject: [PATCH 589/806] drm/vc4: Expose the format modifiers for firmware kms. This should technically not expose VC4_T_TILED on pi4. However, if we diff --git a/target/linux/brcm2708/patches-4.19/950-0591-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch b/target/linux/brcm2708/patches-4.19/950-0590-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0591-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch rename to target/linux/brcm2708/patches-4.19/950-0590-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch index 979dfc7b8a..2ad88a4b39 100644 --- a/target/linux/brcm2708/patches-4.19/950-0591-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0590-drm-vc4-Fix-vblank-timestamping-for-firmwarekms.patch @@ -1,7 +1,7 @@ -From 2372381c6850bf862a43997d95f4a5abcde156e9 Mon Sep 17 00:00:00 2001 +From c0041a9fe33d6031267d9f3e2372833908e97337 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 2 Apr 2019 13:29:00 -0700 -Subject: [PATCH 591/773] drm/vc4: Fix vblank timestamping for firmwarekms. +Subject: [PATCH 590/806] drm/vc4: Fix vblank timestamping for firmwarekms. The core doesn't expect a false return from the scanoutpos function in normal usage, so we were doing the precise vblank timestamping path diff --git a/target/linux/brcm2708/patches-4.19/950-0592-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch b/target/linux/brcm2708/patches-4.19/950-0591-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0592-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch rename to target/linux/brcm2708/patches-4.19/950-0591-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch index a07295e426..0b2e2d7d47 100644 --- a/target/linux/brcm2708/patches-4.19/950-0592-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch +++ b/target/linux/brcm2708/patches-4.19/950-0591-gpu-vc4-fkms-Switch-to-the-newer-mailbox-frame-buffe.patch @@ -1,7 +1,7 @@ -From 8a64687192f4bbe09c9c365fdcff8207fe2004d4 Mon Sep 17 00:00:00 2001 +From 3819888738de087ba726ceaa2ab20503f164f1ed Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 26 Mar 2019 14:43:06 +0000 -Subject: [PATCH 592/773] gpu: vc4-fkms: Switch to the newer mailbox frame +Subject: [PATCH 591/806] gpu: vc4-fkms: Switch to the newer mailbox frame buffer API. The old mailbox FB API was ideally deprecated but still used by diff --git a/target/linux/brcm2708/patches-4.19/950-0593-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch b/target/linux/brcm2708/patches-4.19/950-0592-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0593-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch rename to target/linux/brcm2708/patches-4.19/950-0592-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch index e0786d2e0b..f374c2a0a4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0593-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0592-drm-vc4-Add-an-overlay-plane-to-vc4-firmware-kms.patch @@ -1,7 +1,7 @@ -From 129c59fcd6a75f718c5d6dd1042fc0c7e33f70a3 Mon Sep 17 00:00:00 2001 +From 953d85d97f59691dccbbca743c478a8b01f92b59 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 27 Mar 2019 17:45:01 +0000 -Subject: [PATCH 593/773] drm: vc4: Add an overlay plane to vc4-firmware-kms +Subject: [PATCH 592/806] drm: vc4: Add an overlay plane to vc4-firmware-kms This uses a new API that is exposed via the mailbox service to stick an element straight on the screen using DispmanX. diff --git a/target/linux/brcm2708/patches-4.19/950-0594-drm-vc4-Increase-max-screen-size-to-4096x4096.patch b/target/linux/brcm2708/patches-4.19/950-0593-drm-vc4-Increase-max-screen-size-to-4096x4096.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0594-drm-vc4-Increase-max-screen-size-to-4096x4096.patch rename to target/linux/brcm2708/patches-4.19/950-0593-drm-vc4-Increase-max-screen-size-to-4096x4096.patch index ca989617bd..844bdcbb6b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0594-drm-vc4-Increase-max-screen-size-to-4096x4096.patch +++ b/target/linux/brcm2708/patches-4.19/950-0593-drm-vc4-Increase-max-screen-size-to-4096x4096.patch @@ -1,7 +1,7 @@ -From 25b8ee91f37d732a47c25bfb81921c0ae52a5643 Mon Sep 17 00:00:00 2001 +From 7c4a99448be56e288a5845f3de77b7eef006a450 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 3 Apr 2019 15:20:05 +0100 -Subject: [PATCH 594/773] drm: vc4: Increase max screen size to 4096x4096. +Subject: [PATCH 593/806] drm: vc4: Increase max screen size to 4096x4096. We now should support 4k screens, therefore this limit needs to be increased. diff --git a/target/linux/brcm2708/patches-4.19/950-0595-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch b/target/linux/brcm2708/patches-4.19/950-0594-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0595-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch rename to target/linux/brcm2708/patches-4.19/950-0594-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch index 7ff841c477..b93fa8e121 100644 --- a/target/linux/brcm2708/patches-4.19/950-0595-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0594-drm-vc4-Add-support-for-multiple-displays-to-fkms.patch @@ -1,7 +1,7 @@ -From ab8a7cf65365cd1639ae4f24efe8d6e6be2c828e Mon Sep 17 00:00:00 2001 +From 4817db177a74ac58671e1fe84d98d584375d9697 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 3 Apr 2019 17:15:45 +0100 -Subject: [PATCH 595/773] drm: vc4: Add support for multiple displays to fkms +Subject: [PATCH 594/806] drm: vc4: Add support for multiple displays to fkms There is a slightly nasty hack in that all crtcs share the same SMI interrupt from the firmware. This seems to currently diff --git a/target/linux/brcm2708/patches-4.19/950-0596-drm-vc4-Fix-build-warning.patch b/target/linux/brcm2708/patches-4.19/950-0595-drm-vc4-Fix-build-warning.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0596-drm-vc4-Fix-build-warning.patch rename to target/linux/brcm2708/patches-4.19/950-0595-drm-vc4-Fix-build-warning.patch index a47949fa5a..837141c8e1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0596-drm-vc4-Fix-build-warning.patch +++ b/target/linux/brcm2708/patches-4.19/950-0595-drm-vc4-Fix-build-warning.patch @@ -1,7 +1,7 @@ -From f112dfa1500ce107f5cddac5da6d5802245ae800 Mon Sep 17 00:00:00 2001 +From 52d2903959ff9a1d68701a04884e18b31d051f30 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 5 Apr 2019 17:21:56 +0100 -Subject: [PATCH 596/773] drm: vc4: Fix build warning +Subject: [PATCH 595/806] drm: vc4: Fix build warning Signed-off-by: Dave Stevenson --- diff --git a/target/linux/brcm2708/patches-4.19/950-0597-drm-vc4-Select-display-to-blank-during-initialisatio.patch b/target/linux/brcm2708/patches-4.19/950-0596-drm-vc4-Select-display-to-blank-during-initialisatio.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0597-drm-vc4-Select-display-to-blank-during-initialisatio.patch rename to target/linux/brcm2708/patches-4.19/950-0596-drm-vc4-Select-display-to-blank-during-initialisatio.patch index 6bda7b8fad..7a20bff629 100644 --- a/target/linux/brcm2708/patches-4.19/950-0597-drm-vc4-Select-display-to-blank-during-initialisatio.patch +++ b/target/linux/brcm2708/patches-4.19/950-0596-drm-vc4-Select-display-to-blank-during-initialisatio.patch @@ -1,7 +1,7 @@ -From ce058e6a897ddd5103248b4c2a143f9e11c0ad9f Mon Sep 17 00:00:00 2001 +From a267031f384a4433fdcd662a97bce7c4949d3fd6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 5 Apr 2019 17:23:15 +0100 -Subject: [PATCH 597/773] drm: vc4: Select display to blank during +Subject: [PATCH 596/806] drm: vc4: Select display to blank during initialisation Otherwise the rainbow splash screen remained in the display list diff --git a/target/linux/brcm2708/patches-4.19/950-0598-drm-vc4-Remove-now-unused-structure.patch b/target/linux/brcm2708/patches-4.19/950-0597-drm-vc4-Remove-now-unused-structure.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0598-drm-vc4-Remove-now-unused-structure.patch rename to target/linux/brcm2708/patches-4.19/950-0597-drm-vc4-Remove-now-unused-structure.patch index bf21824709..2e0655b858 100644 --- a/target/linux/brcm2708/patches-4.19/950-0598-drm-vc4-Remove-now-unused-structure.patch +++ b/target/linux/brcm2708/patches-4.19/950-0597-drm-vc4-Remove-now-unused-structure.patch @@ -1,7 +1,7 @@ -From 0b1a0ecc378cc8587de0345a2239290dc31384dd Mon Sep 17 00:00:00 2001 +From 0bbbf4f4a618072e6987f439784f2d24a81b8f2d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 5 Apr 2019 17:24:20 +0100 -Subject: [PATCH 598/773] drm: vc4: Remove now unused structure. +Subject: [PATCH 597/806] drm: vc4: Remove now unused structure. Cleaning up structure that was unused after fbb59a2 drm: vc4: Add an overlay plane to vc4-firmware-kms diff --git a/target/linux/brcm2708/patches-4.19/950-0599-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch b/target/linux/brcm2708/patches-4.19/950-0598-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0599-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch rename to target/linux/brcm2708/patches-4.19/950-0598-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch index 372fe2c962..d37b2d1695 100644 --- a/target/linux/brcm2708/patches-4.19/950-0599-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch +++ b/target/linux/brcm2708/patches-4.19/950-0598-drm-vc4-Query-the-display-ID-for-each-display-in-FKM.patch @@ -1,7 +1,7 @@ -From 7029b71f2c474c3dc80beeec61ac89b01d56f32f Mon Sep 17 00:00:00 2001 +From 13723c680a129d79a7872ee131c0201374ba62ce Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 9 Apr 2019 12:37:28 +0100 -Subject: [PATCH 599/773] drm: vc4: Query the display ID for each display in +Subject: [PATCH 598/806] drm: vc4: Query the display ID for each display in FKMS Replace the hard coded list of display IDs for a mailbox call diff --git a/target/linux/brcm2708/patches-4.19/950-0600-drm-vc4-Set-the-display-number-when-querying-the-dis.patch b/target/linux/brcm2708/patches-4.19/950-0599-drm-vc4-Set-the-display-number-when-querying-the-dis.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0600-drm-vc4-Set-the-display-number-when-querying-the-dis.patch rename to target/linux/brcm2708/patches-4.19/950-0599-drm-vc4-Set-the-display-number-when-querying-the-dis.patch index 3cb39fa6e6..9f09809f1e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0600-drm-vc4-Set-the-display-number-when-querying-the-dis.patch +++ b/target/linux/brcm2708/patches-4.19/950-0599-drm-vc4-Set-the-display-number-when-querying-the-dis.patch @@ -1,7 +1,7 @@ -From 47700425df8d50679d75ba663cb7aa5d43138156 Mon Sep 17 00:00:00 2001 +From 1b9eb8d557c692e5f1dd831b5e7134e6d07a4dd4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 9 Apr 2019 14:00:07 +0100 -Subject: [PATCH 600/773] drm/vc4: Set the display number when querying the +Subject: [PATCH 599/806] drm/vc4: Set the display number when querying the display resolution Without this the two displays got set to the same resolution. diff --git a/target/linux/brcm2708/patches-4.19/950-0601-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch b/target/linux/brcm2708/patches-4.19/950-0600-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0601-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch rename to target/linux/brcm2708/patches-4.19/950-0600-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch index a146cd5e38..50f893413e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0601-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch +++ b/target/linux/brcm2708/patches-4.19/950-0600-drm-vc4-Need-to-call-drm_crtc_vblank_-on-off-from-vc.patch @@ -1,7 +1,7 @@ -From 1f2718aa829aac2c918f48bad20e686add305819 Mon Sep 17 00:00:00 2001 +From fe2432615ecc3500cc265d6b84334950b9cbd4bf Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 9 Apr 2019 18:14:44 +0100 -Subject: [PATCH 601/773] drm: vc4: Need to call drm_crtc_vblank_[on|off] from +Subject: [PATCH 600/806] drm: vc4: Need to call drm_crtc_vblank_[on|off] from vc4_crtc_[en|dis]able vblank needs to be enabled and disabled by the driver to avoid the diff --git a/target/linux/brcm2708/patches-4.19/950-0602-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch b/target/linux/brcm2708/patches-4.19/950-0601-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0602-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch rename to target/linux/brcm2708/patches-4.19/950-0601-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch index 1002fe43c3..2322a66f51 100644 --- a/target/linux/brcm2708/patches-4.19/950-0602-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0601-drm-vc4-Add-support-for-H-V-flips-on-each-plane-for-.patch @@ -1,7 +1,7 @@ -From 73d9ab0eca460e20dfa3856195a618241842cf63 Mon Sep 17 00:00:00 2001 +From 129100bd38125bef5fe237ab867349dbe8b210ba Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 9 Apr 2019 17:19:51 +0100 -Subject: [PATCH 602/773] drm: vc4: Add support for H & V flips on each plane +Subject: [PATCH 601/806] drm: vc4: Add support for H & V flips on each plane for FKMS They are near zero cost options for the HVS, therefore they diff --git a/target/linux/brcm2708/patches-4.19/950-0603-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch b/target/linux/brcm2708/patches-4.19/950-0602-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0603-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch rename to target/linux/brcm2708/patches-4.19/950-0602-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch index 550cbfbec9..0da4923729 100644 --- a/target/linux/brcm2708/patches-4.19/950-0603-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch +++ b/target/linux/brcm2708/patches-4.19/950-0602-drm-vc4-Remove-unused-vc4_fkms_cancel_page_flip-func.patch @@ -1,7 +1,7 @@ -From 6f97c5f506b5d3044b6475c0526a81eba9205097 Mon Sep 17 00:00:00 2001 +From 6885af169f6eeb386f410e556029c6518c6b67b2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 10 Apr 2019 17:35:05 +0100 -Subject: [PATCH 603/773] drm: vc4: Remove unused vc4_fkms_cancel_page_flip +Subject: [PATCH 602/806] drm: vc4: Remove unused vc4_fkms_cancel_page_flip function "32a3dbe drm/vc4: Nuke preclose hook" removed vc4_cancel_page_flip, diff --git a/target/linux/brcm2708/patches-4.19/950-0604-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch b/target/linux/brcm2708/patches-4.19/950-0603-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0604-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch rename to target/linux/brcm2708/patches-4.19/950-0603-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch index b26f225439..d7b3a50c54 100644 --- a/target/linux/brcm2708/patches-4.19/950-0604-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0603-drm-vc4-Iterate-over-all-planes-in-vc4_crtc_-dis-en-.patch @@ -1,7 +1,7 @@ -From 3e4d01d192cf5ecb7c79e77ab7bdda166d3ad036 Mon Sep 17 00:00:00 2001 +From 501dabdd480e2da1b3b1395b5ebf9d5306fec689 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 10 Apr 2019 17:42:37 +0100 -Subject: [PATCH 604/773] drm: vc4: Iterate over all planes in +Subject: [PATCH 603/806] drm: vc4: Iterate over all planes in vc4_crtc_[dis|en]able Fixes a FIXME where the overlay plane wouldn't be restored. diff --git a/target/linux/brcm2708/patches-4.19/950-0605-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch b/target/linux/brcm2708/patches-4.19/950-0604-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0605-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch rename to target/linux/brcm2708/patches-4.19/950-0604-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch index 1b65bcc48d..8ced2a2b2d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0605-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch +++ b/target/linux/brcm2708/patches-4.19/950-0604-drm-vc4-Bring-fkms-into-line-with-kms-in-blocking-do.patch @@ -1,7 +1,7 @@ -From 496a9697b13e4a03c3b2272601f2040e6a5e41bf Mon Sep 17 00:00:00 2001 +From d4df2766945e0410d1975434f34e647e7e13b992 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 10 Apr 2019 17:43:57 +0100 -Subject: [PATCH 605/773] drm: vc4: Bring fkms into line with kms in blocking +Subject: [PATCH 604/806] drm: vc4: Bring fkms into line with kms in blocking doublescan modes Implement vc4_crtc_mode_valid so that it blocks doublescan modes diff --git a/target/linux/brcm2708/patches-4.19/950-0606-drm-vc4-Increase-max_width-height-to-7680.patch b/target/linux/brcm2708/patches-4.19/950-0605-drm-vc4-Increase-max_width-height-to-7680.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0606-drm-vc4-Increase-max_width-height-to-7680.patch rename to target/linux/brcm2708/patches-4.19/950-0605-drm-vc4-Increase-max_width-height-to-7680.patch index 802d7dfeea..3f05bc1138 100644 --- a/target/linux/brcm2708/patches-4.19/950-0606-drm-vc4-Increase-max_width-height-to-7680.patch +++ b/target/linux/brcm2708/patches-4.19/950-0605-drm-vc4-Increase-max_width-height-to-7680.patch @@ -1,7 +1,7 @@ -From 00937ea83ad39562fe1b57a423f9648ac8266810 Mon Sep 17 00:00:00 2001 +From b4ed0c4f55542b642f16ee6376b69968d6bafc3b Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Apr 2019 18:45:00 +0100 -Subject: [PATCH 606/773] drm: vc4: Increase max_width/height to 7680. +Subject: [PATCH 605/806] drm: vc4: Increase max_width/height to 7680. There are some limits still being investigated that stop us going up to 8192, but 7680 is sufficient for dual 4k diff --git a/target/linux/brcm2708/patches-4.19/950-0607-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch b/target/linux/brcm2708/patches-4.19/950-0606-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0607-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch rename to target/linux/brcm2708/patches-4.19/950-0606-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch index 072a9c79e9..b56f97005d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0607-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch +++ b/target/linux/brcm2708/patches-4.19/950-0606-drm-vc4-FKMS-reads-the-EDID-from-fw-and-supports-mod.patch @@ -1,7 +1,7 @@ -From 8909268e4c9bbd1854ad12e4cde6b53346198e90 Mon Sep 17 00:00:00 2001 +From 9536044338d9c341e805e288a58090c49a793638 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 9 Apr 2019 18:23:41 +0100 -Subject: [PATCH 607/773] drm: vc4: FKMS reads the EDID from fw, and supports +Subject: [PATCH 606/806] drm: vc4: FKMS reads the EDID from fw, and supports mode setting This extends FKMS to read the EDID from the display, and support diff --git a/target/linux/brcm2708/patches-4.19/950-0608-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch b/target/linux/brcm2708/patches-4.19/950-0607-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0608-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch rename to target/linux/brcm2708/patches-4.19/950-0607-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch index 0b65c700ba..e47071c0f8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0608-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch +++ b/target/linux/brcm2708/patches-4.19/950-0607-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch @@ -1,7 +1,7 @@ -From 6c11f6cfbd34888b476e2f0eb9df0f165b5e945f Mon Sep 17 00:00:00 2001 +From bf85b92a97a95161d98874571c520fb1395c5aa2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 May 2019 15:11:05 -0700 -Subject: [PATCH 608/773] clk: bcm2835: Add support for setting leaf clock +Subject: [PATCH 607/806] clk: bcm2835: Add support for setting leaf clock rates while running. As long as you wait for !BUSY, you can do glitch-free updates of clock diff --git a/target/linux/brcm2708/patches-4.19/950-0609-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch b/target/linux/brcm2708/patches-4.19/950-0608-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0609-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch rename to target/linux/brcm2708/patches-4.19/950-0608-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch index f43c0c2f5f..71b7b07b30 100644 --- a/target/linux/brcm2708/patches-4.19/950-0609-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch +++ b/target/linux/brcm2708/patches-4.19/950-0608-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch @@ -1,7 +1,7 @@ -From fed6543dedef6a7863bcc54911adc54de3f238d5 Mon Sep 17 00:00:00 2001 +From d46285327ba5961c992643d468b2862c70f4c7e5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 May 2019 15:24:04 -0700 -Subject: [PATCH 609/773] clk: bcm2835: Allow reparenting leaf clocks while +Subject: [PATCH 608/806] clk: bcm2835: Allow reparenting leaf clocks while they're running. This falls under the same "we can reprogram glitch-free as long as we diff --git a/target/linux/brcm2708/patches-4.19/950-0610-drm-v3d-Add-support-for-compute-shader-dispatch.patch b/target/linux/brcm2708/patches-4.19/950-0609-drm-v3d-Add-support-for-compute-shader-dispatch.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0610-drm-v3d-Add-support-for-compute-shader-dispatch.patch rename to target/linux/brcm2708/patches-4.19/950-0609-drm-v3d-Add-support-for-compute-shader-dispatch.patch index e8007f7456..dc230621dc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0610-drm-v3d-Add-support-for-compute-shader-dispatch.patch +++ b/target/linux/brcm2708/patches-4.19/950-0609-drm-v3d-Add-support-for-compute-shader-dispatch.patch @@ -1,7 +1,7 @@ -From 0e26e8b14d72d122ed1a3f66a53829944980fd4e Mon Sep 17 00:00:00 2001 +From 22dbf1420a552d1952d22b92d8c30f8162b026b5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 16 Apr 2019 15:58:54 -0700 -Subject: [PATCH 610/773] drm/v3d: Add support for compute shader dispatch. +Subject: [PATCH 609/806] drm/v3d: Add support for compute shader dispatch. The compute shader dispatch interface is pretty simple -- just pass in the regs that userspace has passed us, with no CLs to run. However, diff --git a/target/linux/brcm2708/patches-4.19/950-0611-drm-v3d-Clock-V3D-down-when-not-in-use.patch b/target/linux/brcm2708/patches-4.19/950-0610-drm-v3d-Clock-V3D-down-when-not-in-use.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0611-drm-v3d-Clock-V3D-down-when-not-in-use.patch rename to target/linux/brcm2708/patches-4.19/950-0610-drm-v3d-Clock-V3D-down-when-not-in-use.patch index 224b9bc61b..d44f76cb39 100644 --- a/target/linux/brcm2708/patches-4.19/950-0611-drm-v3d-Clock-V3D-down-when-not-in-use.patch +++ b/target/linux/brcm2708/patches-4.19/950-0610-drm-v3d-Clock-V3D-down-when-not-in-use.patch @@ -1,7 +1,7 @@ -From b8634066965cc851b112290e5f2cd8c437a065d3 Mon Sep 17 00:00:00 2001 +From 3e6b687bae81bdf5a430ffaa04aa04ee195a866c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 May 2019 13:22:53 -0700 -Subject: [PATCH 611/773] drm/v3d: Clock V3D down when not in use. +Subject: [PATCH 610/806] drm/v3d: Clock V3D down when not in use. My various attempts at re-enabling runtime PM have failed, so just crank the clock down when V3D is idle to reduce power consumption. diff --git a/target/linux/brcm2708/patches-4.19/950-0612-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch b/target/linux/brcm2708/patches-4.19/950-0611-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0612-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch rename to target/linux/brcm2708/patches-4.19/950-0611-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch index 705db1ab7b..8313799f53 100644 --- a/target/linux/brcm2708/patches-4.19/950-0612-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0611-HACK-clk-bcm2835-Add-BCM2838_CLOCK_EMMC2-support.patch @@ -1,7 +1,7 @@ -From 57c5dc71b8727396309b9572724ae2dd1ec69ba7 Mon Sep 17 00:00:00 2001 +From e5cefebc24b7684f4f84a539259612c8f5a4975b Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 2 May 2019 23:42:29 +0200 -Subject: [PATCH 612/773] HACK: clk-bcm2835: Add BCM2838_CLOCK_EMMC2 support +Subject: [PATCH 611/806] HACK: clk-bcm2835: Add BCM2838_CLOCK_EMMC2 support The new BCM2838 supports an additional emmc2 clock. So add a new compatible to register this clock only for BCM2838. diff --git a/target/linux/brcm2708/patches-4.19/950-0613-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch b/target/linux/brcm2708/patches-4.19/950-0612-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0613-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch rename to target/linux/brcm2708/patches-4.19/950-0612-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch index 6a0ecb9ff3..9119ce1ef3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0613-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch +++ b/target/linux/brcm2708/patches-4.19/950-0612-drm-vc4-firmware-kms-Remove-incorrect-overscan-suppo.patch @@ -1,7 +1,7 @@ -From bafadb1b6a91fe020fdbf637f295003c4b919a0d Mon Sep 17 00:00:00 2001 +From 3cd15f787b391db5224a27715fe9dc6fc8559bee Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 3 May 2019 13:58:03 +0100 -Subject: [PATCH 613/773] drm: vc4-firmware-kms: Remove incorrect overscan +Subject: [PATCH 612/806] drm: vc4-firmware-kms: Remove incorrect overscan support. The overscan support was required for the old mailbox API diff --git a/target/linux/brcm2708/patches-4.19/950-0614-drm-vc4-Log-flags-in-fkms-mode-set.patch b/target/linux/brcm2708/patches-4.19/950-0613-drm-vc4-Log-flags-in-fkms-mode-set.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0614-drm-vc4-Log-flags-in-fkms-mode-set.patch rename to target/linux/brcm2708/patches-4.19/950-0613-drm-vc4-Log-flags-in-fkms-mode-set.patch index da77bf1c2e..ae6f69267f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0614-drm-vc4-Log-flags-in-fkms-mode-set.patch +++ b/target/linux/brcm2708/patches-4.19/950-0613-drm-vc4-Log-flags-in-fkms-mode-set.patch @@ -1,7 +1,7 @@ -From dc10fecf7ecb39ff236e26879cb02d2f781b6b09 Mon Sep 17 00:00:00 2001 +From 07288c2bd9733dc9317c5f9b02980a59a05ce3af Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 May 2019 12:13:34 +0100 -Subject: [PATCH 614/773] drm: vc4: Log flags in fkms mode set +Subject: [PATCH 613/806] drm: vc4: Log flags in fkms mode set The flags contain info such as limited/full range RGB, aspect ratio, and a fwe other useful things. diff --git a/target/linux/brcm2708/patches-4.19/950-0615-drm-vc4-firmware-kms-Fix-DSI-display-support.patch b/target/linux/brcm2708/patches-4.19/950-0614-drm-vc4-firmware-kms-Fix-DSI-display-support.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0615-drm-vc4-firmware-kms-Fix-DSI-display-support.patch rename to target/linux/brcm2708/patches-4.19/950-0614-drm-vc4-firmware-kms-Fix-DSI-display-support.patch index af560e1755..9ed0c6f48c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0615-drm-vc4-firmware-kms-Fix-DSI-display-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0614-drm-vc4-firmware-kms-Fix-DSI-display-support.patch @@ -1,7 +1,7 @@ -From bf373ea14cb8d5b0691953dfb5398e3e34dfb54d Mon Sep 17 00:00:00 2001 +From d66b1d056d07b27803ba0756ecdb0d4419bcaaa2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 16 May 2019 17:49:42 +0100 -Subject: [PATCH 615/773] drm: vc4-firmware-kms: Fix DSI display support +Subject: [PATCH 614/806] drm: vc4-firmware-kms: Fix DSI display support The mode was incorrectly listed as interlaced, which was then rejected. diff --git a/target/linux/brcm2708/patches-4.19/950-0616-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch b/target/linux/brcm2708/patches-4.19/950-0615-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0616-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch rename to target/linux/brcm2708/patches-4.19/950-0615-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch index c4f84d4912..0440bd7fc3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0616-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch +++ b/target/linux/brcm2708/patches-4.19/950-0615-drm-vc4-Probe-DPI-DSI-timings-from-the-firmware.patch @@ -1,7 +1,7 @@ -From 2787e876c661f4cec8d05de0e7cc2ec033a8a7bf Mon Sep 17 00:00:00 2001 +From b4ffa49d762a4af832d0d8660caf59722c0ff75a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 21 May 2019 11:50:00 +0100 -Subject: [PATCH 616/773] drm: vc4: Probe DPI/DSI timings from the firmware +Subject: [PATCH 615/806] drm: vc4: Probe DPI/DSI timings from the firmware For DPI and DSI displays query the firmware as to the configuration and add it as the only mode for DRM. diff --git a/target/linux/brcm2708/patches-4.19/950-0617-drm-vc4-handle-the-case-where-there-are-no-available.patch b/target/linux/brcm2708/patches-4.19/950-0616-drm-vc4-handle-the-case-where-there-are-no-available.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0617-drm-vc4-handle-the-case-where-there-are-no-available.patch rename to target/linux/brcm2708/patches-4.19/950-0616-drm-vc4-handle-the-case-where-there-are-no-available.patch index 39728c8090..4de134efb0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0617-drm-vc4-handle-the-case-where-there-are-no-available.patch +++ b/target/linux/brcm2708/patches-4.19/950-0616-drm-vc4-handle-the-case-where-there-are-no-available.patch @@ -1,7 +1,7 @@ -From a39d6a00d02a2e1d1afce976ded233bc40bf6b33 Mon Sep 17 00:00:00 2001 +From dd99aa50a3ea7f7fe1ddfd59b1a2e969c744b8a0 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 28 May 2019 13:56:06 +0100 -Subject: [PATCH 617/773] drm: vc4: handle the case where there are no +Subject: [PATCH 616/806] drm: vc4: handle the case where there are no available displays It's reasonable for the firmware to return zero as the number of diff --git a/target/linux/brcm2708/patches-4.19/950-0618-drm-vc4-Support-the-VEC-in-FKMS.patch b/target/linux/brcm2708/patches-4.19/950-0617-drm-vc4-Support-the-VEC-in-FKMS.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0618-drm-vc4-Support-the-VEC-in-FKMS.patch rename to target/linux/brcm2708/patches-4.19/950-0617-drm-vc4-Support-the-VEC-in-FKMS.patch index 5b7891ba54..80f9c81d48 100644 --- a/target/linux/brcm2708/patches-4.19/950-0618-drm-vc4-Support-the-VEC-in-FKMS.patch +++ b/target/linux/brcm2708/patches-4.19/950-0617-drm-vc4-Support-the-VEC-in-FKMS.patch @@ -1,7 +1,7 @@ -From 54ffea83f539f01436acaa73df648a8279c77918 Mon Sep 17 00:00:00 2001 +From 82ef7a95f5ae86df811253d58d93ca4fb2cbd45a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 24 May 2019 17:59:01 +0100 -Subject: [PATCH 618/773] drm/vc4: Support the VEC in FKMS +Subject: [PATCH 617/806] drm/vc4: Support the VEC in FKMS Extends the DPI/DSI support to also report the VEC output which supports interlacing too. diff --git a/target/linux/brcm2708/patches-4.19/950-0619-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch b/target/linux/brcm2708/patches-4.19/950-0618-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0619-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch rename to target/linux/brcm2708/patches-4.19/950-0618-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch index e9144d1476..19ac6cb4e0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0619-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch +++ b/target/linux/brcm2708/patches-4.19/950-0618-drm-vc4-Fixup-typo-when-setting-HDMI-aspect-ratio.patch @@ -1,7 +1,7 @@ -From 8181d789a017ae9e5c0503f2878add96d4b83197 Mon Sep 17 00:00:00 2001 +From 2d35ddcd988499ac7bfd08997086cecfc6b5acb3 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 May 2019 15:00:02 +0100 -Subject: [PATCH 619/773] drm: vc4: Fixup typo when setting HDMI aspect ratio +Subject: [PATCH 618/806] drm: vc4: Fixup typo when setting HDMI aspect ratio Assignment was to the wrong structure. diff --git a/target/linux/brcm2708/patches-4.19/950-0620-drm-vc4-Correct-SAND-support-for-FKMS.patch b/target/linux/brcm2708/patches-4.19/950-0619-drm-vc4-Correct-SAND-support-for-FKMS.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0620-drm-vc4-Correct-SAND-support-for-FKMS.patch rename to target/linux/brcm2708/patches-4.19/950-0619-drm-vc4-Correct-SAND-support-for-FKMS.patch index 18157fac0d..07ecf6ef8e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0620-drm-vc4-Correct-SAND-support-for-FKMS.patch +++ b/target/linux/brcm2708/patches-4.19/950-0619-drm-vc4-Correct-SAND-support-for-FKMS.patch @@ -1,7 +1,7 @@ -From 0489db39ef4afce7fe37ca7ec8ff5858ec04fe31 Mon Sep 17 00:00:00 2001 +From 0dbdeb9e76e956df275e162224e12eacb0cc8b02 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 May 2019 15:44:11 +0100 -Subject: [PATCH 620/773] drm/vc4: Correct SAND support for FKMS. +Subject: [PATCH 619/806] drm/vc4: Correct SAND support for FKMS. It was accepting NV21 which doesn't map through, but also wasn't advertising the modifier so nothing would know diff --git a/target/linux/brcm2708/patches-4.19/950-0621-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch b/target/linux/brcm2708/patches-4.19/950-0620-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0621-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch rename to target/linux/brcm2708/patches-4.19/950-0620-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch index 1275656317..a228910d24 100644 --- a/target/linux/brcm2708/patches-4.19/950-0621-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch +++ b/target/linux/brcm2708/patches-4.19/950-0620-drm-vc4-fkms-to-query-the-VPU-for-HDMI-clock-limits.patch @@ -1,7 +1,7 @@ -From 430e4ee48af03ffccfcd51fb7bb07663eff0cc7e Mon Sep 17 00:00:00 2001 +From 23e6a2c2d33050255c76a499ea080e5279d6edfc Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 30 May 2019 13:56:15 +0100 -Subject: [PATCH 621/773] drm/vc4: fkms to query the VPU for HDMI clock limits +Subject: [PATCH 620/806] drm/vc4: fkms to query the VPU for HDMI clock limits The VPU has configured clocks for 4k (or not) via config.txt, and will limit the choice of video modes based on that. diff --git a/target/linux/brcm2708/patches-4.19/950-0622-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch b/target/linux/brcm2708/patches-4.19/950-0621-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0622-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch rename to target/linux/brcm2708/patches-4.19/950-0621-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch index 8ebccec2e7..0b45bb1ae7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0622-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch +++ b/target/linux/brcm2708/patches-4.19/950-0621-drm-vc4-Max-resolution-of-7680-is-conditional-on-bei.patch @@ -1,7 +1,7 @@ -From 06ca175284fcd32c7aa9198d05fb3ef87e33cf52 Mon Sep 17 00:00:00 2001 +From bce8c3dc146e3287519d5f6bb965dc2458e6684d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 30 May 2019 15:55:15 +0100 -Subject: [PATCH 622/773] drm/vc4: Max resolution of 7680 is conditional on +Subject: [PATCH 621/806] drm/vc4: Max resolution of 7680 is conditional on being Pi4 The max resolution had been increased from 2048 to 7680 for all diff --git a/target/linux/brcm2708/patches-4.19/950-0623-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch b/target/linux/brcm2708/patches-4.19/950-0622-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0623-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch rename to target/linux/brcm2708/patches-4.19/950-0622-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch index cfc35a6964..468b21e939 100644 --- a/target/linux/brcm2708/patches-4.19/950-0623-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch +++ b/target/linux/brcm2708/patches-4.19/950-0622-staging-vc-sm-cma-Remove-obsolete-comment-and-make-f.patch @@ -1,7 +1,7 @@ -From 38030171e53bf65ba74f57fc66cd797b106af834 Mon Sep 17 00:00:00 2001 +From 84b54ee2ff01005f0201c51f50985faf4e79edc6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 10 Dec 2018 17:35:58 +0000 -Subject: [PATCH 623/773] staging: vc-sm-cma: Remove obsolete comment and make +Subject: [PATCH 622/806] staging: vc-sm-cma: Remove obsolete comment and make function static Removes obsolete comment about wanting to pass a function diff --git a/target/linux/brcm2708/patches-4.19/950-0624-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch b/target/linux/brcm2708/patches-4.19/950-0623-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0624-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch rename to target/linux/brcm2708/patches-4.19/950-0623-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch index b17ca81eb2..f7501a184c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0624-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch +++ b/target/linux/brcm2708/patches-4.19/950-0623-staging-vc-sm-cma-Add-in-allocation-for-VPU-requests.patch @@ -1,7 +1,7 @@ -From 8986657f9145f5d5a2c3389aaa063a67965cd606 Mon Sep 17 00:00:00 2001 +From 275f4673d8c0601e5dbb16e743187d264e7dbed6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 21 Dec 2018 16:50:53 +0000 -Subject: [PATCH 624/773] staging: vc-sm-cma: Add in allocation for VPU +Subject: [PATCH 623/806] staging: vc-sm-cma: Add in allocation for VPU requests. Module has to change from tristate to bool as all CMA functions diff --git a/target/linux/brcm2708/patches-4.19/950-0625-staging-vc-sm-cma-Update-TODO.patch b/target/linux/brcm2708/patches-4.19/950-0624-staging-vc-sm-cma-Update-TODO.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0625-staging-vc-sm-cma-Update-TODO.patch rename to target/linux/brcm2708/patches-4.19/950-0624-staging-vc-sm-cma-Update-TODO.patch index c2af1cecd7..658fda4887 100644 --- a/target/linux/brcm2708/patches-4.19/950-0625-staging-vc-sm-cma-Update-TODO.patch +++ b/target/linux/brcm2708/patches-4.19/950-0624-staging-vc-sm-cma-Update-TODO.patch @@ -1,7 +1,7 @@ -From 011333a8c778023081a176de7b5d09d91980568d Mon Sep 17 00:00:00 2001 +From 753e73267994a88505b6883cdf463d1d0bacf090 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 11 Mar 2019 16:38:32 +0000 -Subject: [PATCH 625/773] staging: vc-sm-cma: Update TODO. +Subject: [PATCH 624/806] staging: vc-sm-cma: Update TODO. The driver is already a platform driver, so that can be deleted from the TODO. diff --git a/target/linux/brcm2708/patches-4.19/950-0626-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch b/target/linux/brcm2708/patches-4.19/950-0625-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0626-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch rename to target/linux/brcm2708/patches-4.19/950-0625-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch index f323fa2f3a..4ab944eec9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0626-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch +++ b/target/linux/brcm2708/patches-4.19/950-0625-staging-vc-sm-cma-Add-in-userspace-allocation-API.patch @@ -1,7 +1,7 @@ -From b55553b491ccfb9fc7b9b3b399c4796bd802c812 Mon Sep 17 00:00:00 2001 +From 549c0266e570da686f19e4435d76411cd7137954 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 11 Mar 2019 16:35:23 +0000 -Subject: [PATCH 626/773] staging: vc-sm-cma: Add in userspace allocation API +Subject: [PATCH 625/806] staging: vc-sm-cma: Add in userspace allocation API Replacing the functionality from the older vc-sm driver, add in a userspace API that allows allocation of buffers, diff --git a/target/linux/brcm2708/patches-4.19/950-0627-staging-vcsm-cma-Add-cache-control-ioctls.patch b/target/linux/brcm2708/patches-4.19/950-0626-staging-vcsm-cma-Add-cache-control-ioctls.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0627-staging-vcsm-cma-Add-cache-control-ioctls.patch rename to target/linux/brcm2708/patches-4.19/950-0626-staging-vcsm-cma-Add-cache-control-ioctls.patch index e8e7f5a8b6..35d1e49e5e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0627-staging-vcsm-cma-Add-cache-control-ioctls.patch +++ b/target/linux/brcm2708/patches-4.19/950-0626-staging-vcsm-cma-Add-cache-control-ioctls.patch @@ -1,7 +1,7 @@ -From 18b1d1f37982d617bda0cac175d117a4d43ea4c2 Mon Sep 17 00:00:00 2001 +From b17f6dc1d79ae057294ac2d8d824aa2258ab09a8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 20 Mar 2019 10:40:00 +0000 -Subject: [PATCH 627/773] staging: vcsm-cma: Add cache control ioctls +Subject: [PATCH 626/806] staging: vcsm-cma: Add cache control ioctls The old driver allowed for direct cache manipulation and that was used by various clients. Replicate here. diff --git a/target/linux/brcm2708/patches-4.19/950-0628-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch b/target/linux/brcm2708/patches-4.19/950-0627-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0628-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch rename to target/linux/brcm2708/patches-4.19/950-0627-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch index 0ff2f77d5f..3acfe65b52 100644 --- a/target/linux/brcm2708/patches-4.19/950-0628-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch +++ b/target/linux/brcm2708/patches-4.19/950-0627-staging-vcsm-cma-Alter-dev-node-permissions-to-0666.patch @@ -1,7 +1,7 @@ -From 55eeb95f5c99e15c86ff9c67c2cfe0ee4a409031 Mon Sep 17 00:00:00 2001 +From 4b78daea312bd39e892eb94f8c7905e2d5b682b4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 13 May 2019 16:47:54 +0100 -Subject: [PATCH 628/773] staging: vcsm-cma: Alter dev node permissions to 0666 +Subject: [PATCH 627/806] staging: vcsm-cma: Alter dev node permissions to 0666 Until the udev rules are updated, open up access to this node by default. diff --git a/target/linux/brcm2708/patches-4.19/950-0629-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch b/target/linux/brcm2708/patches-4.19/950-0628-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0629-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch rename to target/linux/brcm2708/patches-4.19/950-0628-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch index 4354c4f90d..e237407081 100644 --- a/target/linux/brcm2708/patches-4.19/950-0629-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch +++ b/target/linux/brcm2708/patches-4.19/950-0628-staging-vcsm-cma-Drop-logging-level-on-messages-in-v.patch @@ -1,7 +1,7 @@ -From 1d9c0a0c7681824a0168dc19cebb2975cfae5efb Mon Sep 17 00:00:00 2001 +From c38256621d4dffbbc0c19737d724724f04b0df9a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 16 May 2019 15:17:19 +0100 -Subject: [PATCH 629/773] staging: vcsm-cma: Drop logging level on messages in +Subject: [PATCH 628/806] staging: vcsm-cma: Drop logging level on messages in vc_sm_release_resource They weren't errors but were logged as such. diff --git a/target/linux/brcm2708/patches-4.19/950-0630-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch b/target/linux/brcm2708/patches-4.19/950-0629-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0630-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch rename to target/linux/brcm2708/patches-4.19/950-0629-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch index f2e5acacd7..24c4fe8044 100644 --- a/target/linux/brcm2708/patches-4.19/950-0630-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch +++ b/target/linux/brcm2708/patches-4.19/950-0629-staging-vcsm-cma-Fixup-the-alloc-code-handling-of-ke.patch @@ -1,7 +1,7 @@ -From 7966c5cd279f808fa6d62dd5b22bb4837456e972 Mon Sep 17 00:00:00 2001 +From 52f881e3afa89bb1ca9e8b037f7600bcc97626e8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 22 May 2019 15:40:37 +0100 -Subject: [PATCH 630/773] staging: vcsm-cma: Fixup the alloc code handling of +Subject: [PATCH 629/806] staging: vcsm-cma: Fixup the alloc code handling of kernel_id The allocation code had been copied in from an old branch prior diff --git a/target/linux/brcm2708/patches-4.19/950-0631-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch b/target/linux/brcm2708/patches-4.19/950-0630-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0631-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch rename to target/linux/brcm2708/patches-4.19/950-0630-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch index ca908c2cd2..eb07457cb2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0631-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch +++ b/target/linux/brcm2708/patches-4.19/950-0630-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch @@ -1,7 +1,7 @@ -From 180af60db3526e997b4363925a6c181c21c00bbb Mon Sep 17 00:00:00 2001 +From 3e33fb46eb8791ba39fe4781f278487bcc2c3356 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Thu, 14 Mar 2019 13:27:54 +0000 -Subject: [PATCH 631/773] Pulled in the multi frame buffer support from the Pi3 +Subject: [PATCH 630/806] Pulled in the multi frame buffer support from the Pi3 repo --- diff --git a/target/linux/brcm2708/patches-4.19/950-0632-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch b/target/linux/brcm2708/patches-4.19/950-0631-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0632-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch rename to target/linux/brcm2708/patches-4.19/950-0631-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch index 16ee96a4dd..6a10e58288 100644 --- a/target/linux/brcm2708/patches-4.19/950-0632-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch +++ b/target/linux/brcm2708/patches-4.19/950-0631-ARM-dts-bcm283x-Move-BCM2835-6-7-specific-to-bcm2835.patch @@ -1,7 +1,7 @@ -From d6c8d3492b8204d2da0c94a22e8e7087f50604b8 Mon Sep 17 00:00:00 2001 +From 545c00748a070340e9669740e45afc2672e1fcb6 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sun, 19 May 2019 12:26:21 +0200 -Subject: [PATCH 632/773] ARM: dts: bcm283x: Move BCM2835/6/7 specific to +Subject: [PATCH 631/806] ARM: dts: bcm283x: Move BCM2835/6/7 specific to bcm2835-common.dtsi We want all common BCM2835/6/7/8 functions in bcm283x.dtsi and all diff --git a/target/linux/brcm2708/patches-4.19/950-0633-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch b/target/linux/brcm2708/patches-4.19/950-0632-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0633-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch rename to target/linux/brcm2708/patches-4.19/950-0632-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch index 1366f207a4..9be01fb6bf 100644 --- a/target/linux/brcm2708/patches-4.19/950-0633-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch +++ b/target/linux/brcm2708/patches-4.19/950-0632-ARM-dts-Add-bcm2711-rpi-4-b.dts-and-components.patch @@ -1,7 +1,7 @@ -From c71ece7992a28b9b58f4b5fffc688b91985bc841 Mon Sep 17 00:00:00 2001 +From ff78cbcd8d7d656a5f43abd2c744e610b8c6c740 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 May 2019 13:54:21 +0100 -Subject: [PATCH 633/773] ARM: dts: Add bcm2711-rpi-4-b.dts and components +Subject: [PATCH 632/806] ARM: dts: Add bcm2711-rpi-4-b.dts and components Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0634-overlays-Add-i2c3-6-and-uart2-5-overlays.patch b/target/linux/brcm2708/patches-4.19/950-0633-overlays-Add-i2c3-6-and-uart2-5-overlays.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0634-overlays-Add-i2c3-6-and-uart2-5-overlays.patch rename to target/linux/brcm2708/patches-4.19/950-0633-overlays-Add-i2c3-6-and-uart2-5-overlays.patch index c80dada512..84e015aa67 100644 --- a/target/linux/brcm2708/patches-4.19/950-0634-overlays-Add-i2c3-6-and-uart2-5-overlays.patch +++ b/target/linux/brcm2708/patches-4.19/950-0633-overlays-Add-i2c3-6-and-uart2-5-overlays.patch @@ -1,7 +1,7 @@ -From eee4d80265dc70bec12445e2271077bec86f7e09 Mon Sep 17 00:00:00 2001 +From 13be2bbd1a22f1b4d9fd260d80b561698f623ac1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 30 May 2019 16:44:24 +0100 -Subject: [PATCH 634/773] overlays: Add i2c3-6 and uart2-5 overlays +Subject: [PATCH 633/806] overlays: Add i2c3-6 and uart2-5 overlays Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0635-spi-devicetree-add-overlays-for-spi-3-to-6.patch b/target/linux/brcm2708/patches-4.19/950-0634-spi-devicetree-add-overlays-for-spi-3-to-6.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0635-spi-devicetree-add-overlays-for-spi-3-to-6.patch rename to target/linux/brcm2708/patches-4.19/950-0634-spi-devicetree-add-overlays-for-spi-3-to-6.patch index 5e8bce2dc3..a59cd5cecf 100644 --- a/target/linux/brcm2708/patches-4.19/950-0635-spi-devicetree-add-overlays-for-spi-3-to-6.patch +++ b/target/linux/brcm2708/patches-4.19/950-0634-spi-devicetree-add-overlays-for-spi-3-to-6.patch @@ -1,7 +1,7 @@ -From 3873070310f64046c1e0ee27a2d9568a3eabb0d9 Mon Sep 17 00:00:00 2001 +From a4ea446a07d7ba010c3c32286a22dc89cffa1e54 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Sun, 12 May 2019 16:17:08 +0000 -Subject: [PATCH 635/773] spi: devicetree: add overlays for spi 3 to 6 +Subject: [PATCH 634/806] spi: devicetree: add overlays for spi 3 to 6 Signed-off-by: Martin Sperl --- diff --git a/target/linux/brcm2708/patches-4.19/950-0636-overlays-Add-the-spi-gpio40-45-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0635-overlays-Add-the-spi-gpio40-45-overlay.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0636-overlays-Add-the-spi-gpio40-45-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0635-overlays-Add-the-spi-gpio40-45-overlay.patch index d22cc5d70d..7315658408 100644 --- a/target/linux/brcm2708/patches-4.19/950-0636-overlays-Add-the-spi-gpio40-45-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0635-overlays-Add-the-spi-gpio40-45-overlay.patch @@ -1,7 +1,7 @@ -From 49ef6fe265b68e0229ba5cb9f4a6169800eb8b02 Mon Sep 17 00:00:00 2001 +From 726da40b8c272d181a41686195f91b914363167b Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jan 2019 10:49:41 +0000 -Subject: [PATCH 636/773] overlays: Add the spi-gpio40-45 overlay +Subject: [PATCH 635/806] overlays: Add the spi-gpio40-45 overlay The 2711 B0 boot EEPROM is programmed via SPI0 on GPIO pins 40-43 CS0. Add a device tree overlay to optionally diff --git a/target/linux/brcm2708/patches-4.19/950-0637-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch b/target/linux/brcm2708/patches-4.19/950-0636-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0637-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch rename to target/linux/brcm2708/patches-4.19/950-0636-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch index 75cb0fd775..8f990e1eef 100644 --- a/target/linux/brcm2708/patches-4.19/950-0637-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch +++ b/target/linux/brcm2708/patches-4.19/950-0636-config-Permit-LPAE-and-PCIE_BRCMSTB-on-BCM2835.patch @@ -1,7 +1,7 @@ -From 46a1fe9e384cdb9d0e38fc2d34bc09f589119736 Mon Sep 17 00:00:00 2001 +From 0e8ed7a892a510383017cdddee7b772473f1f7c8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 4 Sep 2018 11:50:25 +0100 -Subject: [PATCH 637/773] config: Permit LPAE and PCIE_BRCMSTB on BCM2835 +Subject: [PATCH 636/806] config: Permit LPAE and PCIE_BRCMSTB on BCM2835 --- arch/arm/mach-bcm/Kconfig | 4 ++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0638-configs-Add-bcm2711_defconfig.patch b/target/linux/brcm2708/patches-4.19/950-0637-configs-Add-bcm2711_defconfig.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0638-configs-Add-bcm2711_defconfig.patch rename to target/linux/brcm2708/patches-4.19/950-0637-configs-Add-bcm2711_defconfig.patch index dfe9f9c54f..ecd329b977 100644 --- a/target/linux/brcm2708/patches-4.19/950-0638-configs-Add-bcm2711_defconfig.patch +++ b/target/linux/brcm2708/patches-4.19/950-0637-configs-Add-bcm2711_defconfig.patch @@ -1,7 +1,7 @@ -From 964cdb9a447cbc0f797e6a47158eaeead4a000a4 Mon Sep 17 00:00:00 2001 +From dd6d7c3408eadd9e7ffe899d6ba2c751fd7ef0d5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 May 2019 15:40:21 +0100 -Subject: [PATCH 638/773] configs: Add bcm2711_defconfig +Subject: [PATCH 637/806] configs: Add bcm2711_defconfig --- arch/arm/configs/bcm2711_defconfig | 1330 ++++++++++++++++++++++++++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0639-2711-Add-basic-64-bit-support.patch b/target/linux/brcm2708/patches-4.19/950-0638-2711-Add-basic-64-bit-support.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0639-2711-Add-basic-64-bit-support.patch rename to target/linux/brcm2708/patches-4.19/950-0638-2711-Add-basic-64-bit-support.patch index 72c7bfe1c6..5ab55241e8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0639-2711-Add-basic-64-bit-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0638-2711-Add-basic-64-bit-support.patch @@ -1,7 +1,7 @@ -From 2444150b95e0fba1bcbdb28ceaf682d30023e929 Mon Sep 17 00:00:00 2001 +From 0e7db01b8ce2c2fb5596e7a9b7104e9947e5c269 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Mar 2019 21:12:39 +0000 -Subject: [PATCH 639/773] 2711: Add basic 64-bit support +Subject: [PATCH 638/806] 2711: Add basic 64-bit support This commit adds initial support for 64-bit 2711 builds. However, it will only work as much as it does if the Pi4 RAM is limited to diff --git a/target/linux/brcm2708/patches-4.19/950-0640-config-Add-NF_TABLES-support.patch b/target/linux/brcm2708/patches-4.19/950-0639-config-Add-NF_TABLES-support.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0640-config-Add-NF_TABLES-support.patch rename to target/linux/brcm2708/patches-4.19/950-0639-config-Add-NF_TABLES-support.patch index cf2d35a38d..7e6a34494a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0640-config-Add-NF_TABLES-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0639-config-Add-NF_TABLES-support.patch @@ -1,7 +1,7 @@ -From 5edcf271242f01646376a3850312f94da3d90f75 Mon Sep 17 00:00:00 2001 +From 668cc6c966616bdbb5b497d7f3868fc7e0b8821f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Jun 2019 14:57:56 +0100 -Subject: [PATCH 640/773] config: Add NF_TABLES support +Subject: [PATCH 639/806] config: Add NF_TABLES support --- arch/arm/configs/bcm2711_defconfig | 48 ++++++++++++++++++++++++++++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0641-bcm2711_defconfig-add-xhci-platform-support.patch b/target/linux/brcm2708/patches-4.19/950-0640-bcm2711_defconfig-add-xhci-platform-support.patch similarity index 80% rename from target/linux/brcm2708/patches-4.19/950-0641-bcm2711_defconfig-add-xhci-platform-support.patch rename to target/linux/brcm2708/patches-4.19/950-0640-bcm2711_defconfig-add-xhci-platform-support.patch index dd39924224..44501fe1a5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0641-bcm2711_defconfig-add-xhci-platform-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0640-bcm2711_defconfig-add-xhci-platform-support.patch @@ -1,7 +1,7 @@ -From 7272cd8bbc0ac6c5ef86d7512f213babf011ecb2 Mon Sep 17 00:00:00 2001 +From 8ffeba7588263f956501cc461e8c515cc02a848d Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Mon, 3 Jun 2019 15:33:02 +0100 -Subject: [PATCH 641/773] bcm2711_defconfig: add xhci platform support +Subject: [PATCH 640/806] bcm2711_defconfig: add xhci platform support Signed-off-by: Jonathan Bell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0642-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch b/target/linux/brcm2708/patches-4.19/950-0641-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0642-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch rename to target/linux/brcm2708/patches-4.19/950-0641-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch index 9d3c23bcbf..fd0fce1db8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0642-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch +++ b/target/linux/brcm2708/patches-4.19/950-0641-ARM-dts-bcm283x-Correct-vchiq-compatible-string-2840.patch @@ -1,7 +1,7 @@ -From 5da18ac4c71393a00a31921b26e64eaf40636943 Mon Sep 17 00:00:00 2001 +From 91aa97cc3a193cfd29962e328f9d1da0d8e0aaff Mon Sep 17 00:00:00 2001 From: 6by9 <6by9@users.noreply.github.com> Date: Wed, 30 Jan 2019 14:22:03 +0000 -Subject: [PATCH 642/773] ARM: dts: bcm283x: Correct vchiq compatible string +Subject: [PATCH 641/806] ARM: dts: bcm283x: Correct vchiq compatible string (#2840) commit 499770ede3f829e80539f46b59b5f460dc327aa6 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0643-arm-dts-Change-downstream-vchiq-compatible-string.patch b/target/linux/brcm2708/patches-4.19/950-0642-arm-dts-Change-downstream-vchiq-compatible-string.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0643-arm-dts-Change-downstream-vchiq-compatible-string.patch rename to target/linux/brcm2708/patches-4.19/950-0642-arm-dts-Change-downstream-vchiq-compatible-string.patch index 2f1b43d649..a4e4da5e96 100644 --- a/target/linux/brcm2708/patches-4.19/950-0643-arm-dts-Change-downstream-vchiq-compatible-string.patch +++ b/target/linux/brcm2708/patches-4.19/950-0642-arm-dts-Change-downstream-vchiq-compatible-string.patch @@ -1,7 +1,7 @@ -From 3fea68f6c39f83bfcd8de2c52351e82a82ed05aa Mon Sep 17 00:00:00 2001 +From 00d8817ab207a9f60e94e87acf4f170155aecd48 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 6 Feb 2019 20:45:16 +0000 -Subject: [PATCH 643/773] arm: dts: Change downstream vchiq compatible string +Subject: [PATCH 642/806] arm: dts: Change downstream vchiq compatible string The new cache line size mechanism requires a different vchiq compatible string on BCM2836 and BCM2837, but the downstream dts files didn't diff --git a/target/linux/brcm2708/patches-4.19/950-0644-bcm2835-dma-Add-proper-40-bit-DMA-support.patch b/target/linux/brcm2708/patches-4.19/950-0643-bcm2835-dma-Add-proper-40-bit-DMA-support.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0644-bcm2835-dma-Add-proper-40-bit-DMA-support.patch rename to target/linux/brcm2708/patches-4.19/950-0643-bcm2835-dma-Add-proper-40-bit-DMA-support.patch index 3f6cc3550d..c43939ec6d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0644-bcm2835-dma-Add-proper-40-bit-DMA-support.patch +++ b/target/linux/brcm2708/patches-4.19/950-0643-bcm2835-dma-Add-proper-40-bit-DMA-support.patch @@ -1,7 +1,7 @@ -From 87da99333106c7933d81371db471e98bc5795ae8 Mon Sep 17 00:00:00 2001 +From 621fb1606217c3e72feda69255ae6cb6a7ccfec2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 4 Apr 2019 13:33:47 +0100 -Subject: [PATCH 644/773] bcm2835-dma: Add proper 40-bit DMA support +Subject: [PATCH 643/806] bcm2835-dma: Add proper 40-bit DMA support The 40-bit additions are not fully tested, but it should be capable of supporting both 40-bit memcpy on BCM2711 and regular diff --git a/target/linux/brcm2708/patches-4.19/950-0645-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch b/target/linux/brcm2708/patches-4.19/950-0644-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch similarity index 82% rename from target/linux/brcm2708/patches-4.19/950-0645-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch rename to target/linux/brcm2708/patches-4.19/950-0644-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch index feb195e195..157566aef2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0645-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch +++ b/target/linux/brcm2708/patches-4.19/950-0644-BCM270X_DT-Leave-bulk-channel-in-dma-channel-mask.patch @@ -1,7 +1,7 @@ -From 5aacd9e3b4c30316abb4e037604f43d9ecd315b3 Mon Sep 17 00:00:00 2001 +From db81536216256cdd4b8a17879e6628be47c74414 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 5 Jun 2019 21:32:03 +0100 -Subject: [PATCH 645/773] BCM270X_DT: Leave bulk channel in dma channel mask +Subject: [PATCH 644/806] BCM270X_DT: Leave bulk channel in dma channel mask The updated bcm2835-dma driver does not require the BULK channel to be removed from the set of available channels, as provided by diff --git a/target/linux/brcm2708/patches-4.19/950-0646-SQUASH-bcm2835-dma-Remove-debugging.patch b/target/linux/brcm2708/patches-4.19/950-0645-SQUASH-bcm2835-dma-Remove-debugging.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0646-SQUASH-bcm2835-dma-Remove-debugging.patch rename to target/linux/brcm2708/patches-4.19/950-0645-SQUASH-bcm2835-dma-Remove-debugging.patch index 0c93cf0f63..11b4805b06 100644 --- a/target/linux/brcm2708/patches-4.19/950-0646-SQUASH-bcm2835-dma-Remove-debugging.patch +++ b/target/linux/brcm2708/patches-4.19/950-0645-SQUASH-bcm2835-dma-Remove-debugging.patch @@ -1,7 +1,7 @@ -From 241ac53547a6d427835e52f52764dfafe33fcfde Mon Sep 17 00:00:00 2001 +From eecf4b8568f0a0d6b90364299eed6b12ce63c245 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 6 Jun 2019 09:35:08 +0100 -Subject: [PATCH 646/773] SQUASH: bcm2835-dma: Remove debugging +Subject: [PATCH 645/806] SQUASH: bcm2835-dma: Remove debugging Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0647-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch b/target/linux/brcm2708/patches-4.19/950-0646-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0647-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch rename to target/linux/brcm2708/patches-4.19/950-0646-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch index 917d746f0d..871b82833e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0647-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch +++ b/target/linux/brcm2708/patches-4.19/950-0646-defconfig-Update-bcm2711-to-match-bcm2709-on-extra-m.patch @@ -1,7 +1,7 @@ -From ae5791e01639ece446aa59eb2af40b46138cbc4a Mon Sep 17 00:00:00 2001 +From 42722b9ed2d2ba6648501df269bc337ca931a8c8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 6 Jun 2019 15:22:29 +0100 -Subject: [PATCH 647/773] defconfig: Update bcm2711 to match bcm2709 on extra +Subject: [PATCH 646/806] defconfig: Update bcm2711 to match bcm2709 on extra modules Lots of things like USB DVB tuners were missing from the diff --git a/target/linux/brcm2708/patches-4.19/950-0648-dts-Include-CSI-lane-config-for-csi1.patch b/target/linux/brcm2708/patches-4.19/950-0647-dts-Include-CSI-lane-config-for-csi1.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0648-dts-Include-CSI-lane-config-for-csi1.patch rename to target/linux/brcm2708/patches-4.19/950-0647-dts-Include-CSI-lane-config-for-csi1.patch index 96bb2a01d7..0bca2ae787 100644 --- a/target/linux/brcm2708/patches-4.19/950-0648-dts-Include-CSI-lane-config-for-csi1.patch +++ b/target/linux/brcm2708/patches-4.19/950-0647-dts-Include-CSI-lane-config-for-csi1.patch @@ -1,7 +1,7 @@ -From c6d6956b9083b654c86e2ab3feb19c9867c01c28 Mon Sep 17 00:00:00 2001 +From 2fcb94a04778708b13b6d36390000e97063460e6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 31 May 2019 17:57:26 +0100 -Subject: [PATCH 648/773] dts: Include CSI lane config for csi1 +Subject: [PATCH 647/806] dts: Include CSI lane config for csi1 Without the include the peripheral is configured to have 0 data lanes, which doesn't allow much data to be passed. diff --git a/target/linux/brcm2708/patches-4.19/950-0649-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch b/target/linux/brcm2708/patches-4.19/950-0648-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0649-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch rename to target/linux/brcm2708/patches-4.19/950-0648-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch index cafb27ebef..4098d15e9b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0649-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch +++ b/target/linux/brcm2708/patches-4.19/950-0648-drm-vc4-Fix-T-format-modifiers-in-FKMS.patch @@ -1,7 +1,7 @@ -From 2fb2e6ea673d427dbc37654d258df59059cfab4b Mon Sep 17 00:00:00 2001 +From ba21a5129def696c154c84df087f07bc748abe7d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 7 Jun 2019 11:31:21 +0100 -Subject: [PATCH 649/773] drm/vc4: Fix T-format modifiers in FKMS. +Subject: [PATCH 648/806] drm/vc4: Fix T-format modifiers in FKMS. The wrong vc_image formats were being checked for in the switch statement. Correct these. diff --git a/target/linux/brcm2708/patches-4.19/950-0650-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch b/target/linux/brcm2708/patches-4.19/950-0649-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0650-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch rename to target/linux/brcm2708/patches-4.19/950-0649-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch index 715222ce31..bf602aca93 100644 --- a/target/linux/brcm2708/patches-4.19/950-0650-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0649-defconfigs-Add-FB_SIMPLE-to-both-bcmrpi-and-bcm2709-.patch @@ -1,7 +1,7 @@ -From 854ab95d215c4824b785e49c9ca3b90796d2bc6a Mon Sep 17 00:00:00 2001 +From c487813250414cac0337987b668d180b7380b474 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 7 Jun 2019 11:35:01 +0100 -Subject: [PATCH 650/773] defconfigs: Add FB_SIMPLE to both bcmrpi and bcm2709 +Subject: [PATCH 649/806] defconfigs: Add FB_SIMPLE to both bcmrpi and bcm2709 configs The firmware sets up simple fb should one of the KMS drivers diff --git a/target/linux/brcm2708/patches-4.19/950-0651-bcm2711-dts-Disable-the-v3d-node-by-default.patch b/target/linux/brcm2708/patches-4.19/950-0650-bcm2711-dts-Disable-the-v3d-node-by-default.patch similarity index 76% rename from target/linux/brcm2708/patches-4.19/950-0651-bcm2711-dts-Disable-the-v3d-node-by-default.patch rename to target/linux/brcm2708/patches-4.19/950-0650-bcm2711-dts-Disable-the-v3d-node-by-default.patch index 1a26675f7f..935aa157a4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0651-bcm2711-dts-Disable-the-v3d-node-by-default.patch +++ b/target/linux/brcm2708/patches-4.19/950-0650-bcm2711-dts-Disable-the-v3d-node-by-default.patch @@ -1,7 +1,7 @@ -From f5d74e55edf6504f6f857b23b06dca7b4d3d3306 Mon Sep 17 00:00:00 2001 +From 27fc1dbeee2a58abcb80ffc1c8f161d3abfeac9a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Jun 2019 17:22:44 +0100 -Subject: [PATCH 651/773] bcm2711 dts: Disable the v3d node by default +Subject: [PATCH 650/806] bcm2711 dts: Disable the v3d node by default Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0652-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch b/target/linux/brcm2708/patches-4.19/950-0651-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0652-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch rename to target/linux/brcm2708/patches-4.19/950-0651-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch index f8e0c0dc2b..44e63de562 100644 --- a/target/linux/brcm2708/patches-4.19/950-0652-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch +++ b/target/linux/brcm2708/patches-4.19/950-0651-drm-vc4-Remove-340MHz-clock-limit-from-FKMS-now-scra.patch @@ -1,7 +1,7 @@ -From 3f57e5c46db3cf27a36b61534238fbd8903390fe Mon Sep 17 00:00:00 2001 +From d4a180e5b67c3ca9b8559d4f926f22b6c6705082 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 10 Jun 2019 16:32:51 +0100 -Subject: [PATCH 652/773] drm/vc4: Remove 340MHz clock limit from FKMS now +Subject: [PATCH 651/806] drm/vc4: Remove 340MHz clock limit from FKMS now scrambling issues resolved Firmware TMDS scrambling is now being correctly configured, so diff --git a/target/linux/brcm2708/patches-4.19/950-0653-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch b/target/linux/brcm2708/patches-4.19/950-0652-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0653-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch rename to target/linux/brcm2708/patches-4.19/950-0652-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch index 59d490a432..6dd938b6d9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0653-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch +++ b/target/linux/brcm2708/patches-4.19/950-0652-Revert-usb-xhci-hack-xhci_urb_enqueue-to-support-hid.patch @@ -1,7 +1,7 @@ -From 729a88af476bf34a7b76d4dfdf7723c57cfd1533 Mon Sep 17 00:00:00 2001 +From 5f6feeaf528cf922a82f11e5b0711f5fe9d7538d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 7 Jun 2019 14:50:12 +0100 -Subject: [PATCH 653/773] Revert "usb: xhci: hack xhci_urb_enqueue to support +Subject: [PATCH 652/806] Revert "usb: xhci: hack xhci_urb_enqueue to support hid.mousepoll behaviour" This reverts commit 1cf1071a79f320bc4497a3ade77431f04442eb17. diff --git a/target/linux/brcm2708/patches-4.19/950-0654-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch b/target/linux/brcm2708/patches-4.19/950-0653-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0654-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch rename to target/linux/brcm2708/patches-4.19/950-0653-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch index bdf6bfb73a..25faf7a7b5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0654-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch +++ b/target/linux/brcm2708/patches-4.19/950-0653-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch @@ -1,7 +1,7 @@ -From 8a84d16debf7243c49bc63a38732c51e16781bc1 Mon Sep 17 00:00:00 2001 +From f9c01b35ec7ea3f981c414af38c92c508487671a Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 11 Jun 2019 10:55:00 +0100 -Subject: [PATCH 654/773] usb: add plumbing for updating interrupt endpoint +Subject: [PATCH 653/806] usb: add plumbing for updating interrupt endpoint interval state xHCI caches device and endpoint data after the interface is configured, diff --git a/target/linux/brcm2708/patches-4.19/950-0655-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch b/target/linux/brcm2708/patches-4.19/950-0654-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0655-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch rename to target/linux/brcm2708/patches-4.19/950-0654-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch index f816055d4e..6288944519 100644 --- a/target/linux/brcm2708/patches-4.19/950-0655-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch +++ b/target/linux/brcm2708/patches-4.19/950-0654-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch @@ -1,7 +1,7 @@ -From 44943168f36c02b224a963c805a100f47c58a9c6 Mon Sep 17 00:00:00 2001 +From 903af89ac9a9b82b6e736ab04e3848672a0ab364 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 11 Jun 2019 11:33:39 +0100 -Subject: [PATCH 655/773] xhci: implement xhci_fixup_endpoint for interval +Subject: [PATCH 654/806] xhci: implement xhci_fixup_endpoint for interval adjustments Must be called in a non-atomic context, after the endpoint diff --git a/target/linux/brcm2708/patches-4.19/950-0656-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch b/target/linux/brcm2708/patches-4.19/950-0655-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch similarity index 82% rename from target/linux/brcm2708/patches-4.19/950-0656-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch rename to target/linux/brcm2708/patches-4.19/950-0655-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch index b443c64965..2fa7e317dc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0656-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch +++ b/target/linux/brcm2708/patches-4.19/950-0655-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch @@ -1,7 +1,7 @@ -From 383795def3c6401a3f596f5cd657c2ce86cb544a Mon Sep 17 00:00:00 2001 +From f2c46d48d1aa0f7b87b179434162eac6624122f7 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 11 Jun 2019 11:42:03 +0100 -Subject: [PATCH 656/773] usbhid: call usb_fixup_endpoint after mangling +Subject: [PATCH 655/806] usbhid: call usb_fixup_endpoint after mangling intervals Lets the mousepoll override mechanism work with xhci. diff --git a/target/linux/brcm2708/patches-4.19/950-0657-drm-vc4-Add-status-of-which-display-is-updated-throu.patch b/target/linux/brcm2708/patches-4.19/950-0656-drm-vc4-Add-status-of-which-display-is-updated-throu.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0657-drm-vc4-Add-status-of-which-display-is-updated-throu.patch rename to target/linux/brcm2708/patches-4.19/950-0656-drm-vc4-Add-status-of-which-display-is-updated-throu.patch index 523c3823a4..c477a3c50d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0657-drm-vc4-Add-status-of-which-display-is-updated-throu.patch +++ b/target/linux/brcm2708/patches-4.19/950-0656-drm-vc4-Add-status-of-which-display-is-updated-throu.patch @@ -1,7 +1,7 @@ -From 1b8faaeb3d705b1babc5de8cbd1f32653d1c5d64 Mon Sep 17 00:00:00 2001 +From 77ae227664bc2460a5341be765044d0b8fb184ac Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 4 Jun 2019 12:14:30 +0100 -Subject: [PATCH 657/773] drm: vc4: Add status of which display is updated +Subject: [PATCH 656/806] drm: vc4: Add status of which display is updated through vblank Previously multiple displays were slaved off the same SMI diff --git a/target/linux/brcm2708/patches-4.19/950-0658-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch b/target/linux/brcm2708/patches-4.19/950-0657-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0658-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch rename to target/linux/brcm2708/patches-4.19/950-0657-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch index 2080bf7658..8434033b32 100644 --- a/target/linux/brcm2708/patches-4.19/950-0658-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0657-drm-vc4-In-FKMS-look-at-the-modifiers-correctly-for-.patch @@ -1,7 +1,7 @@ -From 8f897344c4828db157231786326ea865cbfb6582 Mon Sep 17 00:00:00 2001 +From 5643e47700d3c1b2a8a1aca56629f12e90df407c Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 12 Jun 2019 17:13:21 +0100 -Subject: [PATCH 658/773] drm/vc4: In FKMS look at the modifiers correctly for +Subject: [PATCH 657/806] drm/vc4: In FKMS look at the modifiers correctly for SAND Incorrect masking was used in the switch for the modifier, diff --git a/target/linux/brcm2708/patches-4.19/950-0659-arm-dts-Fix-Pi4-PWR-LED-configuration.patch b/target/linux/brcm2708/patches-4.19/950-0658-arm-dts-Fix-Pi4-PWR-LED-configuration.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0659-arm-dts-Fix-Pi4-PWR-LED-configuration.patch rename to target/linux/brcm2708/patches-4.19/950-0658-arm-dts-Fix-Pi4-PWR-LED-configuration.patch index 0206f633a3..8abb4db634 100644 --- a/target/linux/brcm2708/patches-4.19/950-0659-arm-dts-Fix-Pi4-PWR-LED-configuration.patch +++ b/target/linux/brcm2708/patches-4.19/950-0658-arm-dts-Fix-Pi4-PWR-LED-configuration.patch @@ -1,7 +1,7 @@ -From d0e00483c95c2d67b42ac74a60cfc424cc75c089 Mon Sep 17 00:00:00 2001 +From 4d4d714061ee6f54dc5feeaeda4389e2346386aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 17 Jun 2019 10:06:55 +0100 -Subject: [PATCH 659/773] arm: dts: Fix Pi4 PWR LED configuration +Subject: [PATCH 658/806] arm: dts: Fix Pi4 PWR LED configuration Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0660-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch b/target/linux/brcm2708/patches-4.19/950-0659-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0660-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch rename to target/linux/brcm2708/patches-4.19/950-0659-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch index bc089dcf4a..cb76771149 100644 --- a/target/linux/brcm2708/patches-4.19/950-0660-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch +++ b/target/linux/brcm2708/patches-4.19/950-0659-bcm2838.dtsi-Correct-gic400-memory-address-ranges.patch @@ -1,7 +1,7 @@ -From 6b38721bd9dc2a3e604c77c6ca2e908064f36162 Mon Sep 17 00:00:00 2001 +From 43420c9bb90d4290e02bbcaa40c19e00fb347615 Mon Sep 17 00:00:00 2001 From: dp111 Date: Sat, 15 Jun 2019 18:19:50 +0100 -Subject: [PATCH 660/773] bcm2838.dtsi : Correct gic400 memory address ranges +Subject: [PATCH 659/806] bcm2838.dtsi : Correct gic400 memory address ranges It appears to me the addresses for the gic400 are slightly wrong . See section 3.2 https://static.docs.arm.com/ddi0471/a/DDI0471A_gic400_r0p0_trm.pdf --- diff --git a/target/linux/brcm2708/patches-4.19/950-0661-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch b/target/linux/brcm2708/patches-4.19/950-0660-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0661-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch rename to target/linux/brcm2708/patches-4.19/950-0660-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch index 5a1578d92f..59e9ebdb40 100644 --- a/target/linux/brcm2708/patches-4.19/950-0661-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch +++ b/target/linux/brcm2708/patches-4.19/950-0660-staging-vchiq-Use-the-old-dma-controller-for-OF-conf.patch @@ -1,7 +1,7 @@ -From 01f43125781d5558b82f87fbb2f9a6745e3942a6 Mon Sep 17 00:00:00 2001 +From 65a5b304668ed6cb4568ac1a0ffbeabb28208b38 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 18 Jun 2019 12:15:50 +0100 -Subject: [PATCH 661/773] staging: vchiq: Use the old dma controller for OF +Subject: [PATCH 660/806] staging: vchiq: Use the old dma controller for OF config on platform devices vchiq on Pi4 is no longer under the soc node, therefore it diff --git a/target/linux/brcm2708/patches-4.19/950-0662-drm-vc4-Limit-fkms-to-modes-85Hz.patch b/target/linux/brcm2708/patches-4.19/950-0661-drm-vc4-Limit-fkms-to-modes-85Hz.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0662-drm-vc4-Limit-fkms-to-modes-85Hz.patch rename to target/linux/brcm2708/patches-4.19/950-0661-drm-vc4-Limit-fkms-to-modes-85Hz.patch index 97d376c85d..a2bed490d1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0662-drm-vc4-Limit-fkms-to-modes-85Hz.patch +++ b/target/linux/brcm2708/patches-4.19/950-0661-drm-vc4-Limit-fkms-to-modes-85Hz.patch @@ -1,7 +1,7 @@ -From d9656156d4c00d678e0c3a684af3f2fc953daf63 Mon Sep 17 00:00:00 2001 +From 06a0e398e7dcd6ba0a61713596c32ec6d43b47c8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 18 Jun 2019 21:37:45 +0100 -Subject: [PATCH 662/773] drm/vc4: Limit fkms to modes <= 85Hz +Subject: [PATCH 661/806] drm/vc4: Limit fkms to modes <= 85Hz Selecting 1080p100 and 120 has very limited gain, but don't want to block VGA85 and similar. diff --git a/target/linux/brcm2708/patches-4.19/950-0663-arm-bcm2835-Add-bcm2838-compatible-string.patch b/target/linux/brcm2708/patches-4.19/950-0662-arm-bcm2835-Add-bcm2838-compatible-string.patch similarity index 78% rename from target/linux/brcm2708/patches-4.19/950-0663-arm-bcm2835-Add-bcm2838-compatible-string.patch rename to target/linux/brcm2708/patches-4.19/950-0662-arm-bcm2835-Add-bcm2838-compatible-string.patch index cb020ad3b0..14d289660a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0663-arm-bcm2835-Add-bcm2838-compatible-string.patch +++ b/target/linux/brcm2708/patches-4.19/950-0662-arm-bcm2835-Add-bcm2838-compatible-string.patch @@ -1,7 +1,7 @@ -From 4517180418205e454d6d200d4b015aab2f5aeed8 Mon Sep 17 00:00:00 2001 +From aca60a3944ff6a4da66e96d9ae54f4bca271b600 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 11 Jun 2019 17:38:28 +0100 -Subject: [PATCH 663/773] arm: bcm2835: Add bcm2838 compatible string. +Subject: [PATCH 662/806] arm: bcm2835: Add bcm2838 compatible string. Signed-off-by: Phil Elwell --- diff --git a/target/linux/brcm2708/patches-4.19/950-0664-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch b/target/linux/brcm2708/patches-4.19/950-0663-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0664-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch rename to target/linux/brcm2708/patches-4.19/950-0663-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch index 2f66ce480a..cf364e05d9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0664-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch +++ b/target/linux/brcm2708/patches-4.19/950-0663-arm-dts-Improve-the-bcm27xx-inclusion-hierarchy.patch @@ -1,7 +1,7 @@ -From 6198fc61e2a06a6ac7b2f264368b882905dfda71 Mon Sep 17 00:00:00 2001 +From d27f2b90df0b787859c2f5665feaecbe87e6b1ff Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 4 Jun 2019 16:22:22 +0100 -Subject: [PATCH 664/773] arm: dts: Improve the bcm27xx inclusion hierarchy +Subject: [PATCH 663/806] arm: dts: Improve the bcm27xx inclusion hierarchy 1) The top-level .dts files now include parallel chains of bcm27xx.dtsi and bcm27xx-rpi.dtsi files, with no cross-inclusion between the two diff --git a/target/linux/brcm2708/patches-4.19/950-0665-arm-dts-First-draft-of-upstream-Pi4-DTS.patch b/target/linux/brcm2708/patches-4.19/950-0664-arm-dts-First-draft-of-upstream-Pi4-DTS.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0665-arm-dts-First-draft-of-upstream-Pi4-DTS.patch rename to target/linux/brcm2708/patches-4.19/950-0664-arm-dts-First-draft-of-upstream-Pi4-DTS.patch index b4973e986a..af5e22da11 100644 --- a/target/linux/brcm2708/patches-4.19/950-0665-arm-dts-First-draft-of-upstream-Pi4-DTS.patch +++ b/target/linux/brcm2708/patches-4.19/950-0664-arm-dts-First-draft-of-upstream-Pi4-DTS.patch @@ -1,7 +1,7 @@ -From f906d34555ffd801f91cd8c93385395d189c308a Mon Sep 17 00:00:00 2001 +From 5216bb8a1257a8216362affe4757a96a36b60b32 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 11 Jun 2019 18:08:05 +0100 -Subject: [PATCH 665/773] arm: dts: First draft of upstream Pi4 DTS +Subject: [PATCH 664/806] arm: dts: First draft of upstream Pi4 DTS I've attempted to follow the upstream conventions in the DT commits, but this is just presented here initially as a talking point. diff --git a/target/linux/brcm2708/patches-4.19/950-0666-overlays-Fix-compatible-string-for-ds1307-RTC.patch b/target/linux/brcm2708/patches-4.19/950-0665-overlays-Fix-compatible-string-for-ds1307-RTC.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0666-overlays-Fix-compatible-string-for-ds1307-RTC.patch rename to target/linux/brcm2708/patches-4.19/950-0665-overlays-Fix-compatible-string-for-ds1307-RTC.patch index 1c961261a6..f1279f6ca0 100644 --- a/target/linux/brcm2708/patches-4.19/950-0666-overlays-Fix-compatible-string-for-ds1307-RTC.patch +++ b/target/linux/brcm2708/patches-4.19/950-0665-overlays-Fix-compatible-string-for-ds1307-RTC.patch @@ -1,7 +1,7 @@ -From 32097e77387b54b4757e2a92c63523b4a9ecbc75 Mon Sep 17 00:00:00 2001 +From 4a5715f95d8865c817c9a747f28f38b234f5df42 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 17 Jun 2019 14:36:12 +0100 -Subject: [PATCH 666/773] overlays: Fix compatible string for ds1307 RTC +Subject: [PATCH 665/806] overlays: Fix compatible string for ds1307 RTC Kernels since 4.19 have required the correct manufacture name in the compatible string for I2C devices, and unfortunately the one for the diff --git a/target/linux/brcm2708/patches-4.19/950-0667-overlays-Fix-further-maxim-ds1307-references.patch b/target/linux/brcm2708/patches-4.19/950-0666-overlays-Fix-further-maxim-ds1307-references.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0667-overlays-Fix-further-maxim-ds1307-references.patch rename to target/linux/brcm2708/patches-4.19/950-0666-overlays-Fix-further-maxim-ds1307-references.patch index 0323821cad..703d92dcc7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0667-overlays-Fix-further-maxim-ds1307-references.patch +++ b/target/linux/brcm2708/patches-4.19/950-0666-overlays-Fix-further-maxim-ds1307-references.patch @@ -1,7 +1,7 @@ -From f9e286bc95f5441c321a8a04cef61ab3815cbbbb Mon Sep 17 00:00:00 2001 +From ff25f8c70fd995e4f76a3c1245556cc0ec3db19d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 18 Jun 2019 11:16:13 +0100 -Subject: [PATCH 667/773] overlays: Fix further maxim,ds1307 references +Subject: [PATCH 666/806] overlays: Fix further maxim,ds1307 references See: https://github.com/raspberrypi/linux/issues/3013 diff --git a/target/linux/brcm2708/patches-4.19/950-0668-overlays-Cosmetic-change-to-upstream-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0667-overlays-Cosmetic-change-to-upstream-overlay.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0668-overlays-Cosmetic-change-to-upstream-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0667-overlays-Cosmetic-change-to-upstream-overlay.patch index 616d267d15..34272ca87f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0668-overlays-Cosmetic-change-to-upstream-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0667-overlays-Cosmetic-change-to-upstream-overlay.patch @@ -1,7 +1,7 @@ -From 08cbbda5b4c0a52965ac5ba008c1de4f241c2abd Mon Sep 17 00:00:00 2001 +From ce7469a397da34a19112b8d14eb283e02088755b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 18 Jun 2019 11:19:59 +0100 -Subject: [PATCH 668/773] overlays: Cosmetic change to upstream overlay +Subject: [PATCH 667/806] overlays: Cosmetic change to upstream overlay The dwc2 overlay no longer uses the dwc2_usb label, and the latest ovmerge (which generates the upstream overlay) removes unused labels. diff --git a/target/linux/brcm2708/patches-4.19/950-0669-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch b/target/linux/brcm2708/patches-4.19/950-0668-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0669-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch rename to target/linux/brcm2708/patches-4.19/950-0668-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch index 1a45373609..353a71d66a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0669-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch +++ b/target/linux/brcm2708/patches-4.19/950-0668-w1-ds2805-rename-w1_family-struct-fixing-c-p-typo.patch @@ -1,7 +1,7 @@ -From f7250362d2619244fb4fa3ddcf26c2872ff0097a Mon Sep 17 00:00:00 2001 +From 4f1fd30b76c1bec76069483b88747783a0654f38 Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Sat, 25 May 2019 10:45:38 +0200 -Subject: [PATCH 669/773] w1: ds2805: rename w1_family struct, fixing c-p typo +Subject: [PATCH 668/806] w1: ds2805: rename w1_family struct, fixing c-p typo commit 0e3743d870711ae4daf1e7170c8d9381564e244d upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0670-w1-ds2413-output_write-cosmetic-fixes-simplify.patch b/target/linux/brcm2708/patches-4.19/950-0669-w1-ds2413-output_write-cosmetic-fixes-simplify.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0670-w1-ds2413-output_write-cosmetic-fixes-simplify.patch rename to target/linux/brcm2708/patches-4.19/950-0669-w1-ds2413-output_write-cosmetic-fixes-simplify.patch index b1490acdca..f158d5def1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0670-w1-ds2413-output_write-cosmetic-fixes-simplify.patch +++ b/target/linux/brcm2708/patches-4.19/950-0669-w1-ds2413-output_write-cosmetic-fixes-simplify.patch @@ -1,7 +1,7 @@ -From c87eb45563002656a45b51573bc2051c671734d9 Mon Sep 17 00:00:00 2001 +From 3280ce5f5483a351f49e84b48ad98df87989346a Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Mon, 20 May 2019 09:05:55 +0200 -Subject: [PATCH 670/773] w1: ds2413: output_write() cosmetic fixes / simplify +Subject: [PATCH 669/806] w1: ds2413: output_write() cosmetic fixes / simplify commit ae2ee27aa985232f66421d7cd1c7f4b87c7dba7d upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0671-w1-ds2413-add-retry-support-to-state_read.patch b/target/linux/brcm2708/patches-4.19/950-0670-w1-ds2413-add-retry-support-to-state_read.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0671-w1-ds2413-add-retry-support-to-state_read.patch rename to target/linux/brcm2708/patches-4.19/950-0670-w1-ds2413-add-retry-support-to-state_read.patch index 4dd57e0985..4e532df12d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0671-w1-ds2413-add-retry-support-to-state_read.patch +++ b/target/linux/brcm2708/patches-4.19/950-0670-w1-ds2413-add-retry-support-to-state_read.patch @@ -1,7 +1,7 @@ -From d6f29e7be3c7b181cf2d630bfeec9b3499eae2e6 Mon Sep 17 00:00:00 2001 +From 91e443597cdd8f89d2b68ea5bf0f0823d1853ab7 Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Mon, 20 May 2019 09:05:56 +0200 -Subject: [PATCH 671/773] w1: ds2413: add retry support to state_read() +Subject: [PATCH 670/806] w1: ds2413: add retry support to state_read() commit c50d09a86172073f55ebac0b92ad5a75907d64e7 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0672-w1-ds2413-when-the-slave-is-not-responding-during-re.patch b/target/linux/brcm2708/patches-4.19/950-0671-w1-ds2413-when-the-slave-is-not-responding-during-re.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0672-w1-ds2413-when-the-slave-is-not-responding-during-re.patch rename to target/linux/brcm2708/patches-4.19/950-0671-w1-ds2413-when-the-slave-is-not-responding-during-re.patch index 31bf46da50..43d4a5e859 100644 --- a/target/linux/brcm2708/patches-4.19/950-0672-w1-ds2413-when-the-slave-is-not-responding-during-re.patch +++ b/target/linux/brcm2708/patches-4.19/950-0671-w1-ds2413-when-the-slave-is-not-responding-during-re.patch @@ -1,7 +1,7 @@ -From 2c5817c444e95254ed4888c12345c2dabe401fda Mon Sep 17 00:00:00 2001 +From c84676e57896fedb47a69739fb82bb9941f624c4 Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Wed, 22 May 2019 12:40:53 +0200 -Subject: [PATCH 672/773] w1: ds2413: when the slave is not responding during +Subject: [PATCH 671/806] w1: ds2413: when the slave is not responding during read, select it again commit 3856032a0628e6b94badb9131a706dda185e071d upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0673-w1-ds2413-fix-state-byte-comparision.patch b/target/linux/brcm2708/patches-4.19/950-0672-w1-ds2413-fix-state-byte-comparision.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0673-w1-ds2413-fix-state-byte-comparision.patch rename to target/linux/brcm2708/patches-4.19/950-0672-w1-ds2413-fix-state-byte-comparision.patch index 0c866dada4..dc99ef9ea6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0673-w1-ds2413-fix-state-byte-comparision.patch +++ b/target/linux/brcm2708/patches-4.19/950-0672-w1-ds2413-fix-state-byte-comparision.patch @@ -1,7 +1,7 @@ -From d928cdb13ddd26dd4695d8626990303e9f348a8d Mon Sep 17 00:00:00 2001 +From 38ca046063ee6fcef66c9c3bec5844a65f9d48d9 Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Thu, 30 May 2019 09:51:25 +0200 -Subject: [PATCH 673/773] w1: ds2413: fix state byte comparision +Subject: [PATCH 672/806] w1: ds2413: fix state byte comparision commit aacd152ecd7b18af5d2d96dea9e7284c1c93abea upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0674-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch b/target/linux/brcm2708/patches-4.19/950-0673-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0674-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch rename to target/linux/brcm2708/patches-4.19/950-0673-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch index 6599d400e4..6414ceb062 100644 --- a/target/linux/brcm2708/patches-4.19/950-0674-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch +++ b/target/linux/brcm2708/patches-4.19/950-0673-drm-vc4_dsi-Fix-DMA-channel-and-memory-leak-in-vc4-3.patch @@ -1,7 +1,7 @@ -From 322895008e3f342c3363a6c92e4a04e35ecb5892 Mon Sep 17 00:00:00 2001 +From 496b26b154da9a962a5310641d8f4b73200fe590 Mon Sep 17 00:00:00 2001 From: Chris Miller Date: Wed, 26 Jun 2019 10:40:30 +0100 -Subject: [PATCH 674/773] drm: vc4_dsi: Fix DMA channel and memory leak in vc4 +Subject: [PATCH 673/806] drm: vc4_dsi: Fix DMA channel and memory leak in vc4 (#3012) Signed-off-by: Chris G Miller diff --git a/target/linux/brcm2708/patches-4.19/950-0675-video-bcm2708_fb-Revert-cma-allocation-attempt.patch b/target/linux/brcm2708/patches-4.19/950-0674-video-bcm2708_fb-Revert-cma-allocation-attempt.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0675-video-bcm2708_fb-Revert-cma-allocation-attempt.patch rename to target/linux/brcm2708/patches-4.19/950-0674-video-bcm2708_fb-Revert-cma-allocation-attempt.patch index 4dfb2cedb0..dd2c150d01 100644 --- a/target/linux/brcm2708/patches-4.19/950-0675-video-bcm2708_fb-Revert-cma-allocation-attempt.patch +++ b/target/linux/brcm2708/patches-4.19/950-0674-video-bcm2708_fb-Revert-cma-allocation-attempt.patch @@ -1,7 +1,7 @@ -From 97371a5040a9ac012d1e057a10e188f15dcc8e8e Mon Sep 17 00:00:00 2001 +From b3fe618a47d770f6c9808ade14360fd81a599789 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 19 Jun 2019 03:55:50 +0100 -Subject: [PATCH 675/773] video/bcm2708_fb: Revert cma allocation attempt +Subject: [PATCH 674/806] video/bcm2708_fb: Revert cma allocation attempt "4600e91 Pulled in the multi frame buffer support from the Pi3 repo" pulled back in the code for allocating the framebuffer from the CMA diff --git a/target/linux/brcm2708/patches-4.19/950-0676-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch b/target/linux/brcm2708/patches-4.19/950-0675-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0676-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch rename to target/linux/brcm2708/patches-4.19/950-0675-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch index c5964c660d..aa430490fc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0676-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch +++ b/target/linux/brcm2708/patches-4.19/950-0675-drm-vc4-Add-support-for-color-encoding-on-YUV-planes.patch @@ -1,7 +1,7 @@ -From c89ee8bbd3fb045bf610e8ea8f59b2db3d3f88b6 Mon Sep 17 00:00:00 2001 +From ee96684cb2f528ad1036ae9a9126c9118a80dfbe Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Jun 2019 02:29:40 +0100 -Subject: [PATCH 676/773] drm/vc4: Add support for color encoding on YUV planes +Subject: [PATCH 675/806] drm/vc4: Add support for color encoding on YUV planes Adds signalling for BT601/709/2020, and limited/full range (on BT601). diff --git a/target/linux/brcm2708/patches-4.19/950-0677-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch b/target/linux/brcm2708/patches-4.19/950-0676-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0677-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch rename to target/linux/brcm2708/patches-4.19/950-0676-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch index 518e23207e..c1034b7955 100644 --- a/target/linux/brcm2708/patches-4.19/950-0677-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch +++ b/target/linux/brcm2708/patches-4.19/950-0676-configs-Drop-V4L2-camera-and-codec-drivers-from-bcmr.patch @@ -1,7 +1,7 @@ -From 891a7d8b2309f2526c1746e5be026915f27af5ec Mon Sep 17 00:00:00 2001 +From 21d3c0d88bc64c91b2be082360cb0a319d412dc8 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 28 Jun 2019 16:05:25 +0100 -Subject: [PATCH 677/773] configs: Drop V4L2 camera and codec drivers from +Subject: [PATCH 676/806] configs: Drop V4L2 camera and codec drivers from bcmrpi3_defconfig They rely on mmal_vchiq, which in turn wants vc-sm-cma. diff --git a/target/linux/brcm2708/patches-4.19/950-0678-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch b/target/linux/brcm2708/patches-4.19/950-0677-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0678-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch rename to target/linux/brcm2708/patches-4.19/950-0677-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch index a91c8a453c..e283d880dc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0678-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch +++ b/target/linux/brcm2708/patches-4.19/950-0677-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM2835.patch @@ -1,7 +1,7 @@ -From ebc5880578193fa828a26beaa91ffd9a90d69cd2 Mon Sep 17 00:00:00 2001 +From bc411a220205eeb29ed8130451c67927e88a30b9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 28 Jun 2019 22:44:09 +0100 -Subject: [PATCH 678/773] configs: arm64/bcm2711: Remove CONFIG_VIDEO_BCM2835 +Subject: [PATCH 677/806] configs: arm64/bcm2711: Remove CONFIG_VIDEO_BCM2835 Undefine CONFIG_VIDEO_BCM2835 until it builds for arm64. diff --git a/target/linux/brcm2708/patches-4.19/950-0679-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch b/target/linux/brcm2708/patches-4.19/950-0678-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0679-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch rename to target/linux/brcm2708/patches-4.19/950-0678-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch index 7c2547b325..1ef5063079 100644 --- a/target/linux/brcm2708/patches-4.19/950-0679-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0678-arm-dts-Add-coherent_pool-1M-to-Pi-4-bootargs.patch @@ -1,7 +1,7 @@ -From 57539d5c7be69774e030825b0b6ec7979956182f Mon Sep 17 00:00:00 2001 +From f9dfd577dcc8e3173ddce79bca535eeee0fad1a4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 2 Jul 2019 17:13:05 +0100 -Subject: [PATCH 679/773] arm: dts: Add coherent_pool=1M to Pi 4 bootargs +Subject: [PATCH 678/806] arm: dts: Add coherent_pool=1M to Pi 4 bootargs Downstream Raspberry Pi dts files add "coherent_pool=1M" to the kernel command line to aid the dwc_otg driver, but this excluded Pi 4 which diff --git a/target/linux/brcm2708/patches-4.19/950-0680-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch b/target/linux/brcm2708/patches-4.19/950-0679-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch similarity index 81% rename from target/linux/brcm2708/patches-4.19/950-0680-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch rename to target/linux/brcm2708/patches-4.19/950-0679-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch index 20b258baa9..bb0dc8637d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0680-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch +++ b/target/linux/brcm2708/patches-4.19/950-0679-configs-Enable-USB_CONFIGFS-m-in-bcmrpi_defconfig.patch @@ -1,7 +1,7 @@ -From eccada7c8b878c0caf164b3e3a68ad8c9176a2ac Mon Sep 17 00:00:00 2001 +From 18d077b0d146f452a89da52994b8fb6a673ea4ce Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 2 Jul 2019 21:25:59 +0100 -Subject: [PATCH 680/773] configs: Enable USB_CONFIGFS=m in bcmrpi_defconfig +Subject: [PATCH 679/806] configs: Enable USB_CONFIGFS=m in bcmrpi_defconfig See: https://github.com/raspberrypi/linux/issues/3042 diff --git a/target/linux/brcm2708/patches-4.19/950-0681-configs-And-all-the-other-USB_CONFIGFS-options.patch b/target/linux/brcm2708/patches-4.19/950-0680-configs-And-all-the-other-USB_CONFIGFS-options.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0681-configs-And-all-the-other-USB_CONFIGFS-options.patch rename to target/linux/brcm2708/patches-4.19/950-0680-configs-And-all-the-other-USB_CONFIGFS-options.patch index ef36f11701..bafc986bbd 100644 --- a/target/linux/brcm2708/patches-4.19/950-0681-configs-And-all-the-other-USB_CONFIGFS-options.patch +++ b/target/linux/brcm2708/patches-4.19/950-0680-configs-And-all-the-other-USB_CONFIGFS-options.patch @@ -1,7 +1,7 @@ -From 4112f55d9486a663a572593741b2b47ba59c017d Mon Sep 17 00:00:00 2001 +From aad75b3a551071c69f94d0c04f75d01599d85039 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 2 Jul 2019 21:43:13 +0100 -Subject: [PATCH 681/773] configs: And all the other USB_CONFIGFS options +Subject: [PATCH 680/806] configs: And all the other USB_CONFIGFS options And all Rabbit's friends-and-relations. diff --git a/target/linux/brcm2708/patches-4.19/950-0682-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch b/target/linux/brcm2708/patches-4.19/950-0681-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch similarity index 82% rename from target/linux/brcm2708/patches-4.19/950-0682-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch rename to target/linux/brcm2708/patches-4.19/950-0681-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch index ecc6e43768..835a69b1a7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0682-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch +++ b/target/linux/brcm2708/patches-4.19/950-0681-configs-arm64-bcm2711-Add-MMC_SDHCI_IPROC.patch @@ -1,7 +1,7 @@ -From beae1957f04c31207a69e293bb4c595e4aa4480d Mon Sep 17 00:00:00 2001 +From a4978d43b829c144cb795ba092655d9713ed7438 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Wed, 3 Jul 2019 13:53:29 +0100 -Subject: [PATCH 682/773] configs: arm64/bcm2711: Add MMC_SDHCI_IPROC +Subject: [PATCH 681/806] configs: arm64/bcm2711: Add MMC_SDHCI_IPROC This driver is used in the device tree for the emmc2 node. diff --git a/target/linux/brcm2708/patches-4.19/950-0683-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch b/target/linux/brcm2708/patches-4.19/950-0682-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0683-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch rename to target/linux/brcm2708/patches-4.19/950-0682-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch index cfe16618dd..0e4a020e54 100644 --- a/target/linux/brcm2708/patches-4.19/950-0683-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch +++ b/target/linux/brcm2708/patches-4.19/950-0682-overlays-Correct-gpio-fan-gpio-flags-for-4.19.patch @@ -1,7 +1,7 @@ -From 755c7c9c4f39b690892d2b38a2fd44f4dd602d4a Mon Sep 17 00:00:00 2001 +From 21e4c9306bd20ab4e02f90cd452d90bc4e4a0a98 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 3 Jul 2019 20:37:14 +0100 -Subject: [PATCH 683/773] overlays: Correct gpio-fan gpio flags for 4.19 +Subject: [PATCH 682/806] overlays: Correct gpio-fan gpio flags for 4.19 The gpio-fan overlay was submitted for the 4.14 kernel where the second value in the Device Tree gpios declaration was ignored (thanks to an diff --git a/target/linux/brcm2708/patches-4.19/950-0684-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch b/target/linux/brcm2708/patches-4.19/950-0683-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0684-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch rename to target/linux/brcm2708/patches-4.19/950-0683-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch index e981939b5e..7463d0750c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0684-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch +++ b/target/linux/brcm2708/patches-4.19/950-0683-staging-vcsm-cma-Remove-cache-manipulation-ioctl-fro.patch @@ -1,7 +1,7 @@ -From 9fce5008a9183cfe5dc5393b726e93020b21f580 Mon Sep 17 00:00:00 2001 +From b30537425b4bf90311b8d43c95484d9d339be25f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 25 Jun 2019 00:29:44 +0100 -Subject: [PATCH 684/773] staging: vcsm-cma: Remove cache manipulation ioctl +Subject: [PATCH 683/806] staging: vcsm-cma: Remove cache manipulation ioctl from ARM64 The cache flushing ioctls are used by the Pi3 HEVC hw-assisted diff --git a/target/linux/brcm2708/patches-4.19/950-0685-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch b/target/linux/brcm2708/patches-4.19/950-0684-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0685-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch rename to target/linux/brcm2708/patches-4.19/950-0684-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch index f982d838d9..f0f51ef1f3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0685-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch +++ b/target/linux/brcm2708/patches-4.19/950-0684-staging-vcsm-cma-Rework-to-use-dma-APIs-not-CMA.patch @@ -1,7 +1,7 @@ -From d35867a1bb8e7f963132e626f5432239969e92c9 Mon Sep 17 00:00:00 2001 +From e4cb138abe457a6ab9b98458660a1c8e548fab7f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 1 Jul 2019 11:57:25 +0100 -Subject: [PATCH 685/773] staging: vcsm-cma: Rework to use dma APIs, not CMA +Subject: [PATCH 684/806] staging: vcsm-cma: Rework to use dma APIs, not CMA Due to a misunderstanding of the DMA mapping APIs, I made the wrong decision on how to implement this. diff --git a/target/linux/brcm2708/patches-4.19/950-0686-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch b/target/linux/brcm2708/patches-4.19/950-0685-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0686-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch rename to target/linux/brcm2708/patches-4.19/950-0685-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch index bc67adc0d9..00e9ec7631 100644 --- a/target/linux/brcm2708/patches-4.19/950-0686-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch +++ b/target/linux/brcm2708/patches-4.19/950-0685-Revert-configs-Drop-V4L2-camera-and-codec-drivers-fr.patch @@ -1,7 +1,7 @@ -From 69a0a11878ffe57f71232872b3971670dfec3b21 Mon Sep 17 00:00:00 2001 +From c47b7c02d7977a0490cdcbfec7e0d3cede0766e9 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 1 Jul 2019 12:00:27 +0100 -Subject: [PATCH 686/773] Revert "configs: Drop V4L2 camera and codec drivers +Subject: [PATCH 685/806] Revert "configs: Drop V4L2 camera and codec drivers from bcmrpi3_defconfig" This reverts commit e8a66b4f610b3a20bae8f706256d230135916c26. diff --git a/target/linux/brcm2708/patches-4.19/950-0687-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch b/target/linux/brcm2708/patches-4.19/950-0686-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0687-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch rename to target/linux/brcm2708/patches-4.19/950-0686-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch index 340808e984..64227fce55 100644 --- a/target/linux/brcm2708/patches-4.19/950-0687-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch +++ b/target/linux/brcm2708/patches-4.19/950-0686-Revert-configs-arm64-bcm2711-Remove-CONFIG_VIDEO_BCM.patch @@ -1,7 +1,7 @@ -From 06ab322c9baaa3e2c8bcb0609ccbf858b5444150 Mon Sep 17 00:00:00 2001 +From 5db1c2a6358d855a3dbda77980c0f4f08ddfd9f2 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 1 Jul 2019 12:06:54 +0100 -Subject: [PATCH 687/773] Revert "configs: arm64/bcm2711: Remove +Subject: [PATCH 686/806] Revert "configs: arm64/bcm2711: Remove CONFIG_VIDEO_BCM2835" This reverts commit 9d1deec93fa8b1b4953ff5e9210349f3c85b9a8d. diff --git a/target/linux/brcm2708/patches-4.19/950-0688-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch b/target/linux/brcm2708/patches-4.19/950-0687-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0688-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch rename to target/linux/brcm2708/patches-4.19/950-0687-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch index bfdf996fa6..1f2878eaf6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0688-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch +++ b/target/linux/brcm2708/patches-4.19/950-0687-staging-vc-sm-cma-Fix-the-few-remaining-coding-style.patch @@ -1,7 +1,7 @@ -From d3075e61796e6748b238203d5c5c852a1a5727ea Mon Sep 17 00:00:00 2001 +From 38ae4957840ff9578a497422a8ca758549f734d5 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 2 Jul 2019 17:19:04 +0100 -Subject: [PATCH 688/773] staging: vc-sm-cma: Fix the few remaining coding +Subject: [PATCH 687/806] staging: vc-sm-cma: Fix the few remaining coding style issues Fix a few minor checkpatch complaints to make the driver clean diff --git a/target/linux/brcm2708/patches-4.19/950-0689-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch b/target/linux/brcm2708/patches-4.19/950-0688-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0689-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch rename to target/linux/brcm2708/patches-4.19/950-0688-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch index a643ed94b6..c8e68bdadb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0689-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch +++ b/target/linux/brcm2708/patches-4.19/950-0688-configs-Drop-MMC_SDHCI_BCM2711-from-arm64-bcm2711_de.patch @@ -1,7 +1,7 @@ -From 79edd467648bbd35cfb01574800edd8e435cdc2f Mon Sep 17 00:00:00 2001 +From 0388e7d5e95a193c4e223cbbab5fd5de27b50d9f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 4 Jul 2019 11:52:43 +0100 -Subject: [PATCH 689/773] configs: Drop MMC_SDHCI_BCM2711 from +Subject: [PATCH 688/806] configs: Drop MMC_SDHCI_BCM2711 from arm64/bcm2711_defconfig Apparently this is a vestigial setting and should be removed. diff --git a/target/linux/brcm2708/patches-4.19/950-0690-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch b/target/linux/brcm2708/patches-4.19/950-0689-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0690-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch rename to target/linux/brcm2708/patches-4.19/950-0689-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch index 32e4cd705c..4c05cc3978 100644 --- a/target/linux/brcm2708/patches-4.19/950-0690-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch +++ b/target/linux/brcm2708/patches-4.19/950-0689-Revert-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-bu.patch @@ -1,7 +1,7 @@ -From db26693701ac11d20a16ca455886d810a6b67c2c Mon Sep 17 00:00:00 2001 +From 768ab361410487b05561de854a994a2888cd430a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 28 Jun 2019 11:30:49 +0100 -Subject: [PATCH 690/773] Revert "media: vb2: Allow reqbufs(0) with "in use" +Subject: [PATCH 689/806] Revert "media: vb2: Allow reqbufs(0) with "in use" MMAP buffers" This reverts commit a2c73e18c1f657de6d654f51effa0a94863abbd8. diff --git a/target/linux/brcm2708/patches-4.19/950-0691-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch b/target/linux/brcm2708/patches-4.19/950-0690-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0691-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch rename to target/linux/brcm2708/patches-4.19/950-0690-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch index 499bba6f59..ffe6237bce 100644 --- a/target/linux/brcm2708/patches-4.19/950-0691-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch +++ b/target/linux/brcm2708/patches-4.19/950-0690-media-videodev2.h-add-new-capabilities-for-buffer-ty.patch @@ -1,7 +1,7 @@ -From 948ebd5405bde063d68cb05e5250eefe167fd48c Mon Sep 17 00:00:00 2001 +From ebd995296afa99a5c53f164e595f7a6d41d32a01 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Thu, 23 Aug 2018 09:56:22 -0400 -Subject: [PATCH 691/773] media: videodev2.h: add new capabilities for buffer +Subject: [PATCH 690/806] media: videodev2.h: add new capabilities for buffer types Upstream commit f35f5d72e70e6b91389eb98fcabf43b79f40587f diff --git a/target/linux/brcm2708/patches-4.19/950-0692-media-vb2-set-reqbufs-create_bufs-capabilities.patch b/target/linux/brcm2708/patches-4.19/950-0691-media-vb2-set-reqbufs-create_bufs-capabilities.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0692-media-vb2-set-reqbufs-create_bufs-capabilities.patch rename to target/linux/brcm2708/patches-4.19/950-0691-media-vb2-set-reqbufs-create_bufs-capabilities.patch index 102301ead4..233857f5d1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0692-media-vb2-set-reqbufs-create_bufs-capabilities.patch +++ b/target/linux/brcm2708/patches-4.19/950-0691-media-vb2-set-reqbufs-create_bufs-capabilities.patch @@ -1,7 +1,7 @@ -From 8867c69465720f32ae8be1271ab5d6237757bf39 Mon Sep 17 00:00:00 2001 +From 7410e35a4936b89f2e227c52058c11f1574bbfca Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Thu, 23 Aug 2018 10:18:35 -0400 -Subject: [PATCH 692/773] media: vb2: set reqbufs/create_bufs capabilities +Subject: [PATCH 691/806] media: vb2: set reqbufs/create_bufs capabilities Upstream commit e5079cf11373e4cc98be8b1072aece429eb2d4d2. @@ -80,7 +80,7 @@ Minor modifications required on the backport * Any -EBUSY result from vb2_verify_memory_type can be mapped to 0. --- a/drivers/media/platform/vim2m.c +++ b/drivers/media/platform/vim2m.c -@@ -841,6 +841,7 @@ static int queue_init(void *priv, struct +@@ -840,6 +840,7 @@ static int queue_init(void *priv, struct src_vq->mem_ops = &vb2_vmalloc_memops; src_vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_COPY; src_vq->lock = &ctx->dev->dev_mutex; diff --git a/target/linux/brcm2708/patches-4.19/950-0693-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch b/target/linux/brcm2708/patches-4.19/950-0692-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0693-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch rename to target/linux/brcm2708/patches-4.19/950-0692-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch index 42919f553e..0a6f540145 100644 --- a/target/linux/brcm2708/patches-4.19/950-0693-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0692-media-vb2-Allow-reqbufs-0-with-in-use-MMAP-buffers.patch @@ -1,7 +1,7 @@ -From 5f17a43ba98013bf6683a50faabef29c3bdc3117 Mon Sep 17 00:00:00 2001 +From 16cf378051d7fff6772a7acaecbacddec7822330 Mon Sep 17 00:00:00 2001 From: John Sheu Date: Thu, 15 Nov 2018 10:57:16 -0500 -Subject: [PATCH 693/773] media: vb2: Allow reqbufs(0) with "in use" MMAP +Subject: [PATCH 692/806] media: vb2: Allow reqbufs(0) with "in use" MMAP buffers Upstream commit d644cca50f366cd109845ae92e37c09ed79adf81 diff --git a/target/linux/brcm2708/patches-4.19/950-0694-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0693-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0694-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0693-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch index 662139bb2f..efc5964afc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0694-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0693-overlays-Add-real-parameters-to-the-rpi-poe-overlay.patch @@ -1,7 +1,7 @@ -From 437170389e1ec50855f000d6a6043474b8af85d4 Mon Sep 17 00:00:00 2001 +From a11b6221e69ba4177ee428e2cb6fb4e4bd68c5f4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 5 Jul 2019 09:22:10 +0100 -Subject: [PATCH 694/773] overlays: Add real parameters to the rpi-poe overlay +Subject: [PATCH 693/806] overlays: Add real parameters to the rpi-poe overlay As a result of being loaded by the POE HAT EEPROM, the rpi-poe overlay doesn't expose parameters in the usual way; instead it adds them to diff --git a/target/linux/brcm2708/patches-4.19/950-0695-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch b/target/linux/brcm2708/patches-4.19/950-0694-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0695-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch rename to target/linux/brcm2708/patches-4.19/950-0694-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch index aa3118f038..f4137bbdd9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0695-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch +++ b/target/linux/brcm2708/patches-4.19/950-0694-overlays-Rename-pi3-overlays-to-be-less-model-specif.patch @@ -1,7 +1,7 @@ -From efd44306b7202c5e038cc98ea213e1146a93a960 Mon Sep 17 00:00:00 2001 +From c46811a3b0e0fb76015ac956172e40bce4e6d9b3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 5 Jul 2019 14:49:22 +0100 -Subject: [PATCH 695/773] overlays: Rename pi3- overlays to be less +Subject: [PATCH 694/806] overlays: Rename pi3- overlays to be less model-specific (#3052) Rename the various pi3- overlays to be more generic, listing diff --git a/target/linux/brcm2708/patches-4.19/950-0696-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch b/target/linux/brcm2708/patches-4.19/950-0695-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0696-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch rename to target/linux/brcm2708/patches-4.19/950-0695-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch index bb94fab607..ef556367f3 100644 --- a/target/linux/brcm2708/patches-4.19/950-0696-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch +++ b/target/linux/brcm2708/patches-4.19/950-0695-i2c-bcm2835-Move-IRQ-request-after-clock-code-in-pro.patch @@ -1,7 +1,7 @@ -From b085eb8eed7f2da7c76ec0cea3abd70953367093 Mon Sep 17 00:00:00 2001 +From 614cade3a68f7214939e1c72acd5fcc9d49beeef Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Fri, 21 Jun 2019 03:52:49 -0700 -Subject: [PATCH 696/773] i2c: bcm2835: Move IRQ request after clock code in +Subject: [PATCH 695/806] i2c: bcm2835: Move IRQ request after clock code in probe Commit 4a5cfa39465cad25dd736d7ceba8a5d32eea4ecc upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0697-i2c-bcm2835-Ensure-clock-exists-when-probing.patch b/target/linux/brcm2708/patches-4.19/950-0696-i2c-bcm2835-Ensure-clock-exists-when-probing.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0697-i2c-bcm2835-Ensure-clock-exists-when-probing.patch rename to target/linux/brcm2708/patches-4.19/950-0696-i2c-bcm2835-Ensure-clock-exists-when-probing.patch index 11673f1662..3cd1d376b1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0697-i2c-bcm2835-Ensure-clock-exists-when-probing.patch +++ b/target/linux/brcm2708/patches-4.19/950-0696-i2c-bcm2835-Ensure-clock-exists-when-probing.patch @@ -1,7 +1,7 @@ -From 5b395c9b5adc1bcb42b1ca473de2a3fb478efd1b Mon Sep 17 00:00:00 2001 +From 1a5122f1756ef4fc5779324ad26b6a04142166b5 Mon Sep 17 00:00:00 2001 From: Annaliese McDermond Date: Fri, 21 Jun 2019 03:52:50 -0700 -Subject: [PATCH 697/773] i2c: bcm2835: Ensure clock exists when probing +Subject: [PATCH 696/806] i2c: bcm2835: Ensure clock exists when probing Commit 9de93b04df16b055824e3f1f13fedb90fbcf2e4f upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0698-overlays-i2c-gpio-Fix-the-bus-parameter.patch b/target/linux/brcm2708/patches-4.19/950-0697-overlays-i2c-gpio-Fix-the-bus-parameter.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0698-overlays-i2c-gpio-Fix-the-bus-parameter.patch rename to target/linux/brcm2708/patches-4.19/950-0697-overlays-i2c-gpio-Fix-the-bus-parameter.patch index 9cf2f83bcf..32c19a5412 100644 --- a/target/linux/brcm2708/patches-4.19/950-0698-overlays-i2c-gpio-Fix-the-bus-parameter.patch +++ b/target/linux/brcm2708/patches-4.19/950-0697-overlays-i2c-gpio-Fix-the-bus-parameter.patch @@ -1,7 +1,7 @@ -From 903fe021059f70162175066f034de618064ca0bb Mon Sep 17 00:00:00 2001 +From d562b2187263b40aacc1a50d3f25db2cf28696d6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 9 Jul 2019 10:32:40 +0100 -Subject: [PATCH 698/773] overlays: i2c-gpio: Fix the "bus" parameter +Subject: [PATCH 697/806] overlays: i2c-gpio: Fix the "bus" parameter The "bus" parameter has two functions - providing unique names for multiple instances of the overlay, and allowing the number of the bus diff --git a/target/linux/brcm2708/patches-4.19/950-0699-tty-amba-pl011-Make-TX-optimisation-conditional.patch b/target/linux/brcm2708/patches-4.19/950-0698-tty-amba-pl011-Make-TX-optimisation-conditional.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0699-tty-amba-pl011-Make-TX-optimisation-conditional.patch rename to target/linux/brcm2708/patches-4.19/950-0698-tty-amba-pl011-Make-TX-optimisation-conditional.patch index ec6958949a..d6a9cdde35 100644 --- a/target/linux/brcm2708/patches-4.19/950-0699-tty-amba-pl011-Make-TX-optimisation-conditional.patch +++ b/target/linux/brcm2708/patches-4.19/950-0698-tty-amba-pl011-Make-TX-optimisation-conditional.patch @@ -1,7 +1,7 @@ -From bad29ba77266dd37bdaf3bded68111c8a0a9de15 Mon Sep 17 00:00:00 2001 +From 3e3c13488e4efa0236c47a98ee5e759bf1f7c757 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 11 Jul 2019 13:13:39 +0100 -Subject: [PATCH 699/773] tty: amba-pl011: Make TX optimisation conditional +Subject: [PATCH 698/806] tty: amba-pl011: Make TX optimisation conditional pl011_tx_chars takes a "from_irq" parameter to reduce the number of register accesses. When from_irq is true the function assumes that the diff --git a/target/linux/brcm2708/patches-4.19/950-0700-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch b/target/linux/brcm2708/patches-4.19/950-0699-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0700-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch rename to target/linux/brcm2708/patches-4.19/950-0699-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch index e9360b0187..becbe1502e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0700-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch +++ b/target/linux/brcm2708/patches-4.19/950-0699-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch @@ -1,7 +1,7 @@ -From d01af13ec60ee5b8ee944a4e38986b13fea701eb Mon Sep 17 00:00:00 2001 +From 705bc230789927f96d6c9c70dc5475ebaf08aa54 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 11 Jul 2019 17:55:43 +0100 -Subject: [PATCH 700/773] xhci: add quirk for host controllers that don't +Subject: [PATCH 699/806] xhci: add quirk for host controllers that don't update endpoint DCS Seen on a VLI VL805 PCIe to USB controller. For non-stream endpoints diff --git a/target/linux/brcm2708/patches-4.19/950-0701-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch b/target/linux/brcm2708/patches-4.19/950-0700-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0701-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch rename to target/linux/brcm2708/patches-4.19/950-0700-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch index 2829f54a01..cd2394d23e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0701-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0700-i2c-bcm2835-Set-clock-stretch-timeout-to-35ms.patch @@ -1,7 +1,7 @@ -From 26d8063c76c0243c0a12e59e37b9efd3fb100326 Mon Sep 17 00:00:00 2001 +From 8d453e2193951057db696e37b9c10e7e35c18cb0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 12 Jul 2019 15:38:35 +0100 -Subject: [PATCH 701/773] i2c: bcm2835: Set clock-stretch timeout to 35ms +Subject: [PATCH 700/806] i2c: bcm2835: Set clock-stretch timeout to 35ms The BCM2835 I2C blocks have a register to set the clock-stretch timeout - how long the device is allowed to hold SCL low - in bus diff --git a/target/linux/brcm2708/patches-4.19/950-0702-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch b/target/linux/brcm2708/patches-4.19/950-0701-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0702-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch rename to target/linux/brcm2708/patches-4.19/950-0701-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch index 04eac6ab80..f6befd75aa 100644 --- a/target/linux/brcm2708/patches-4.19/950-0702-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch +++ b/target/linux/brcm2708/patches-4.19/950-0701-arm64-bcm2835-Add-missing-dependency-on-MFD_CORE.patch @@ -1,7 +1,7 @@ -From 2dbe147b0baa9ad36dd5150f249d48ef3cb0a524 Mon Sep 17 00:00:00 2001 +From 39964e4a3a2ea18b48be5c31d7980895f0bdd99c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 8 Mar 2019 13:02:16 -0800 -Subject: [PATCH 702/773] arm64: bcm2835: Add missing dependency on MFD_CORE. +Subject: [PATCH 701/806] arm64: bcm2835: Add missing dependency on MFD_CORE. commit 7a9b6be9fe58194d9a349159176e8cc0d8f10ef8 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0703-overlays-Add-PCF2129-RTC.patch b/target/linux/brcm2708/patches-4.19/950-0702-overlays-Add-PCF2129-RTC.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0703-overlays-Add-PCF2129-RTC.patch rename to target/linux/brcm2708/patches-4.19/950-0702-overlays-Add-PCF2129-RTC.patch index f356df90ff..9eaa75ac50 100644 --- a/target/linux/brcm2708/patches-4.19/950-0703-overlays-Add-PCF2129-RTC.patch +++ b/target/linux/brcm2708/patches-4.19/950-0702-overlays-Add-PCF2129-RTC.patch @@ -1,7 +1,7 @@ -From 747a71aefc4990f9db830f18c41e0a52b0d7b4e0 Mon Sep 17 00:00:00 2001 +From 2308f60bb68de69306c542de3983be0007cad37b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 15 Jul 2019 10:39:05 +0100 -Subject: [PATCH 703/773] overlays: Add PCF2129 RTC +Subject: [PATCH 702/806] overlays: Add PCF2129 RTC Add support for the PCF2129 RTC to i2c-rtc and i2c-rtc-gpio overlays. Also add rv3028 to i2c-rtc-gpio (it was missed previously), and don't diff --git a/target/linux/brcm2708/patches-4.19/950-0704-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch b/target/linux/brcm2708/patches-4.19/950-0703-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0704-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch rename to target/linux/brcm2708/patches-4.19/950-0703-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch index 26394f438d..8d587cf191 100644 --- a/target/linux/brcm2708/patches-4.19/950-0704-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch +++ b/target/linux/brcm2708/patches-4.19/950-0703-configs-arm64-bcm2711-Use-CONFIG_BRCMSTB_THERMAL-ins.patch @@ -1,7 +1,7 @@ -From 37dac3b99a4e26d0d9df3f5297da90e65f5ed978 Mon Sep 17 00:00:00 2001 +From 55eb88a80c9bdda3a54a3f9a05ec89509edeb40f Mon Sep 17 00:00:00 2001 From: Allen Wild Date: Sat, 13 Jul 2019 11:14:02 -0400 -Subject: [PATCH 704/773] configs: arm64/bcm2711: Use CONFIG_BRCMSTB_THERMAL +Subject: [PATCH 703/806] configs: arm64/bcm2711: Use CONFIG_BRCMSTB_THERMAL instead of CONFIG_BCM2835_THERMAL The Raspberry Pi 4 uses the brcmstb thermal driver rather than brcm2835, diff --git a/target/linux/brcm2708/patches-4.19/950-0705-overlays-dpi18-and-dpi24-vc4-compatibility.patch b/target/linux/brcm2708/patches-4.19/950-0704-overlays-dpi18-and-dpi24-vc4-compatibility.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0705-overlays-dpi18-and-dpi24-vc4-compatibility.patch rename to target/linux/brcm2708/patches-4.19/950-0704-overlays-dpi18-and-dpi24-vc4-compatibility.patch index b4b26dde7e..8b3c75c4de 100644 --- a/target/linux/brcm2708/patches-4.19/950-0705-overlays-dpi18-and-dpi24-vc4-compatibility.patch +++ b/target/linux/brcm2708/patches-4.19/950-0704-overlays-dpi18-and-dpi24-vc4-compatibility.patch @@ -1,7 +1,7 @@ -From e398200b9e0746bb9bcdf4900ed8fc6f7f813cb6 Mon Sep 17 00:00:00 2001 +From a5e0d604116189331d5608c9d128f37df17db2e3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 Jul 2019 15:24:12 +0100 -Subject: [PATCH 705/773] overlays: dpi18 and dpi24 vc4 compatibility +Subject: [PATCH 704/806] overlays: dpi18 and dpi24 vc4 compatibility The dpi overlays use the fb device tree node as a place to hang the necessary pinctrl changes. With one of the VC4 overlays loaded, the diff --git a/target/linux/brcm2708/patches-4.19/950-0706-overlays-Add-i2c0-and-i2c1-for-regularity.patch b/target/linux/brcm2708/patches-4.19/950-0705-overlays-Add-i2c0-and-i2c1-for-regularity.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0706-overlays-Add-i2c0-and-i2c1-for-regularity.patch rename to target/linux/brcm2708/patches-4.19/950-0705-overlays-Add-i2c0-and-i2c1-for-regularity.patch index f9ad1e47b2..ba5383c86b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0706-overlays-Add-i2c0-and-i2c1-for-regularity.patch +++ b/target/linux/brcm2708/patches-4.19/950-0705-overlays-Add-i2c0-and-i2c1-for-regularity.patch @@ -1,7 +1,7 @@ -From 50be150dc853d2ce75215cc220cc6ff0def89a3a Mon Sep 17 00:00:00 2001 +From 9c0f4b3e3b197d5c81f4bd6679f2c2456ab45c9e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 17 Jul 2019 10:08:55 +0100 -Subject: [PATCH 706/773] overlays: Add i2c0 and i2c1 for regularity +Subject: [PATCH 705/806] overlays: Add i2c0 and i2c1 for regularity The new i2c overlays for pi4 (i2c3, i2c4, i2c5, i2c6) have a standardised interface that allows pin groups to be chosen diff --git a/target/linux/brcm2708/patches-4.19/950-0707-Pisound-Remove-spinlock-usage-around-spi_sync.patch b/target/linux/brcm2708/patches-4.19/950-0706-Pisound-Remove-spinlock-usage-around-spi_sync.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0707-Pisound-Remove-spinlock-usage-around-spi_sync.patch rename to target/linux/brcm2708/patches-4.19/950-0706-Pisound-Remove-spinlock-usage-around-spi_sync.patch index 95f8f71dfa..50803008e6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0707-Pisound-Remove-spinlock-usage-around-spi_sync.patch +++ b/target/linux/brcm2708/patches-4.19/950-0706-Pisound-Remove-spinlock-usage-around-spi_sync.patch @@ -1,7 +1,7 @@ -From e7bf2e5b1b86a11a0ccf59222cb31b06213d9276 Mon Sep 17 00:00:00 2001 +From ace4e8240d581e6053f0165b2682a2db745d49dc Mon Sep 17 00:00:00 2001 From: Giedrius Date: Fri, 12 Jul 2019 17:45:55 +0300 -Subject: [PATCH 707/773] Pisound: Remove spinlock usage around spi_sync +Subject: [PATCH 706/806] Pisound: Remove spinlock usage around spi_sync --- sound/soc/bcm/pisound.c | 5 ----- diff --git a/target/linux/brcm2708/patches-4.19/950-0708-arm64-mm-Limit-the-DMA-zone-for-arm64.patch b/target/linux/brcm2708/patches-4.19/950-0707-arm64-mm-Limit-the-DMA-zone-for-arm64.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0708-arm64-mm-Limit-the-DMA-zone-for-arm64.patch rename to target/linux/brcm2708/patches-4.19/950-0707-arm64-mm-Limit-the-DMA-zone-for-arm64.patch index 87863259c3..1715165b68 100644 --- a/target/linux/brcm2708/patches-4.19/950-0708-arm64-mm-Limit-the-DMA-zone-for-arm64.patch +++ b/target/linux/brcm2708/patches-4.19/950-0707-arm64-mm-Limit-the-DMA-zone-for-arm64.patch @@ -1,7 +1,7 @@ -From 5f7837a8024b971e5cdb338d6e41007be77cc31e Mon Sep 17 00:00:00 2001 +From 2722f08c4c59901bd506184e2dcbbbd532aef0b3 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Tue, 16 Jul 2019 13:28:22 +0100 -Subject: [PATCH 708/773] arm64/mm: Limit the DMA zone for arm64 +Subject: [PATCH 707/806] arm64/mm: Limit the DMA zone for arm64 On RaspberryPi, only the first 1Gb can be used for DMA[1]. diff --git a/target/linux/brcm2708/patches-4.19/950-0709-configs-Enable-iio-driver-for-TI-ADS1015.patch b/target/linux/brcm2708/patches-4.19/950-0708-configs-Enable-iio-driver-for-TI-ADS1015.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0709-configs-Enable-iio-driver-for-TI-ADS1015.patch rename to target/linux/brcm2708/patches-4.19/950-0708-configs-Enable-iio-driver-for-TI-ADS1015.patch index de43d9df04..93d187439d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0709-configs-Enable-iio-driver-for-TI-ADS1015.patch +++ b/target/linux/brcm2708/patches-4.19/950-0708-configs-Enable-iio-driver-for-TI-ADS1015.patch @@ -1,7 +1,7 @@ -From c9f653b477a97ef65ac69c8bdb27a4bc790fe2d0 Mon Sep 17 00:00:00 2001 +From 8a6a26418999cc7eacc411bf0aa0c9681da7afb0 Mon Sep 17 00:00:00 2001 From: Aapo Vienamo Date: Wed, 17 Jul 2019 11:05:20 +0300 -Subject: [PATCH 709/773] configs: Enable iio driver for TI ADS1015 +Subject: [PATCH 708/806] configs: Enable iio driver for TI ADS1015 Signed-off-by: Aapo Vienamo --- diff --git a/target/linux/brcm2708/patches-4.19/950-0710-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch b/target/linux/brcm2708/patches-4.19/950-0709-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0710-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch rename to target/linux/brcm2708/patches-4.19/950-0709-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch index ff4a5c0c8b..e8459e799a 100644 --- a/target/linux/brcm2708/patches-4.19/950-0710-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch +++ b/target/linux/brcm2708/patches-4.19/950-0709-bcm2711_defconfig-enable-PCI-portbus-support-and-imp.patch @@ -1,7 +1,7 @@ -From cafde1b8ce97409f642c0a851e6a8b98f7cbd295 Mon Sep 17 00:00:00 2001 +From 5a3c042a92632f661e3ca4688d60bcca6b8cc2da Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 18 Jul 2019 13:05:35 +0100 -Subject: [PATCH 710/773] bcm2711_defconfig: enable PCI portbus support (and +Subject: [PATCH 709/806] bcm2711_defconfig: enable PCI portbus support (and implicitly, PCIe AER) PCIe advanced error reporting is supported by the root complex, so make diff --git a/target/linux/brcm2708/patches-4.19/950-0711-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch b/target/linux/brcm2708/patches-4.19/950-0710-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0711-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch rename to target/linux/brcm2708/patches-4.19/950-0710-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch index 97d73a4056..af49437cc2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0711-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch +++ b/target/linux/brcm2708/patches-4.19/950-0710-drm-vc4-Query-firmware-for-custom-HDMI-mode.patch @@ -1,7 +1,7 @@ -From 0b83bc12aa07be8457f9de2d3ad25fbb48a82fe5 Mon Sep 17 00:00:00 2001 +From 5620f5eda349027a6e00e23391bc59617d25b449 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 3 Jul 2019 17:44:53 +0100 -Subject: [PATCH 711/773] drm/vc4: Query firmware for custom HDMI mode +Subject: [PATCH 710/806] drm/vc4: Query firmware for custom HDMI mode Allow custom HDMI modes to be specified from config.txt, and these then override EDID parsing. diff --git a/target/linux/brcm2708/patches-4.19/950-0712-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch b/target/linux/brcm2708/patches-4.19/950-0711-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0712-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch rename to target/linux/brcm2708/patches-4.19/950-0711-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch index d6e0efb2ed..ec8a468d63 100644 --- a/target/linux/brcm2708/patches-4.19/950-0712-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch +++ b/target/linux/brcm2708/patches-4.19/950-0711-drm-vc4-Pass-the-drm-vrefresh-to-the-firmware-on-mod.patch @@ -1,7 +1,7 @@ -From 3d15f23340782daa9f244e725df3770d5634fcfe Mon Sep 17 00:00:00 2001 +From 2c0bfade955e4e660941db287020d06c9e22267f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jul 2019 15:12:05 +0100 -Subject: [PATCH 712/773] drm/vc4: Pass the drm vrefresh to the firmware on +Subject: [PATCH 711/806] drm/vc4: Pass the drm vrefresh to the firmware on mode set More for completeness than need, but use drm_mode_vrefresh diff --git a/target/linux/brcm2708/patches-4.19/950-0713-overlays-audremap-Support-GPIOs-18-19.patch b/target/linux/brcm2708/patches-4.19/950-0712-overlays-audremap-Support-GPIOs-18-19.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0713-overlays-audremap-Support-GPIOs-18-19.patch rename to target/linux/brcm2708/patches-4.19/950-0712-overlays-audremap-Support-GPIOs-18-19.patch index 873aaa0562..a14a603f8c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0713-overlays-audremap-Support-GPIOs-18-19.patch +++ b/target/linux/brcm2708/patches-4.19/950-0712-overlays-audremap-Support-GPIOs-18-19.patch @@ -1,7 +1,7 @@ -From 17f3a0913e581da33dc7bed5f526e1c4c3181937 Mon Sep 17 00:00:00 2001 +From f42cc245e1f3e586f1a26550e5760489b6c329ab Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Jul 2019 12:55:07 +0100 -Subject: [PATCH 713/773] overlays: audremap: Support GPIOs 18 & 19 +Subject: [PATCH 712/806] overlays: audremap: Support GPIOs 18 & 19 PWM audio can also be used on GPIOs 18 and 19, so add the pins_18_19 parameter to select that location. pins_12_13 explicitly chooses GPIOs diff --git a/target/linux/brcm2708/patches-4.19/950-0714-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch b/target/linux/brcm2708/patches-4.19/950-0713-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0714-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch rename to target/linux/brcm2708/patches-4.19/950-0713-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch index 2b14aaa973..7ab0f36c3b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0714-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch +++ b/target/linux/brcm2708/patches-4.19/950-0713-drm-connector-Fix-drm_mode_create_tv_properties-doc.patch @@ -1,7 +1,7 @@ -From 734ea10c982bde32609d05be84d9c3a32830540b Mon Sep 17 00:00:00 2001 +From ce5c3d732efb5e3da50119ed876f0d6661f08b84 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 6 Dec 2018 15:24:35 +0100 -Subject: [PATCH 714/773] drm/connector: Fix drm_mode_create_tv_properties() +Subject: [PATCH 713/806] drm/connector: Fix drm_mode_create_tv_properties() doc Commit eda6887f1961e0d2fb866b1a520b2de5b3828de5 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0715-drm-connector-Clarify-the-unit-of-TV-margins.patch b/target/linux/brcm2708/patches-4.19/950-0714-drm-connector-Clarify-the-unit-of-TV-margins.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0715-drm-connector-Clarify-the-unit-of-TV-margins.patch rename to target/linux/brcm2708/patches-4.19/950-0714-drm-connector-Clarify-the-unit-of-TV-margins.patch index b75fd8be6e..04d022ab11 100644 --- a/target/linux/brcm2708/patches-4.19/950-0715-drm-connector-Clarify-the-unit-of-TV-margins.patch +++ b/target/linux/brcm2708/patches-4.19/950-0714-drm-connector-Clarify-the-unit-of-TV-margins.patch @@ -1,7 +1,7 @@ -From 96ed8334b9bf4cd4ddb95a4f4324bda6adee40d1 Mon Sep 17 00:00:00 2001 +From 4589a8a086094061e7476d41578e31349accc190 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 6 Dec 2018 15:24:36 +0100 -Subject: [PATCH 715/773] drm/connector: Clarify the unit of TV margins +Subject: [PATCH 714/806] drm/connector: Clarify the unit of TV margins Commit 56406e15b5e83256151ef74eb1a219cbf13d91c8 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0716-drm-connector-Allow-creation-of-margin-props-alone.patch b/target/linux/brcm2708/patches-4.19/950-0715-drm-connector-Allow-creation-of-margin-props-alone.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0716-drm-connector-Allow-creation-of-margin-props-alone.patch rename to target/linux/brcm2708/patches-4.19/950-0715-drm-connector-Allow-creation-of-margin-props-alone.patch index 87c29aa87b..c048f26241 100644 --- a/target/linux/brcm2708/patches-4.19/950-0716-drm-connector-Allow-creation-of-margin-props-alone.patch +++ b/target/linux/brcm2708/patches-4.19/950-0715-drm-connector-Allow-creation-of-margin-props-alone.patch @@ -1,7 +1,7 @@ -From a39d399ecb26cad762a057cabceb965ffda71d81 Mon Sep 17 00:00:00 2001 +From 4f2277b18d6bbb6fac50b751c4e513619849b23c Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 6 Dec 2018 15:24:37 +0100 -Subject: [PATCH 716/773] drm/connector: Allow creation of margin props alone +Subject: [PATCH 715/806] drm/connector: Allow creation of margin props alone Commit 6c4f52dca36f5e3e2354c30591d38e92f4657ed9 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0717-drm-vc4-Take-margin-setup-into-account-when-updating.patch b/target/linux/brcm2708/patches-4.19/950-0716-drm-vc4-Take-margin-setup-into-account-when-updating.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0717-drm-vc4-Take-margin-setup-into-account-when-updating.patch rename to target/linux/brcm2708/patches-4.19/950-0716-drm-vc4-Take-margin-setup-into-account-when-updating.patch index c1ed83a722..22b909efe8 100644 --- a/target/linux/brcm2708/patches-4.19/950-0717-drm-vc4-Take-margin-setup-into-account-when-updating.patch +++ b/target/linux/brcm2708/patches-4.19/950-0716-drm-vc4-Take-margin-setup-into-account-when-updating.patch @@ -1,7 +1,7 @@ -From ec6240540c2467c6d34c8e7bc6dbb8ac50dbccd8 Mon Sep 17 00:00:00 2001 +From 0d592a7685e41d0bb1816a4fedb11d3570474417 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 6 Dec 2018 15:24:38 +0100 -Subject: [PATCH 717/773] drm/vc4: Take margin setup into account when updating +Subject: [PATCH 716/806] drm/vc4: Take margin setup into account when updating planes Commit 666e73587f90f42d90385c1bea1009a650bf73f4 upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0718-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch b/target/linux/brcm2708/patches-4.19/950-0717-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0718-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch rename to target/linux/brcm2708/patches-4.19/950-0717-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch index 94c691a0c0..4aa19c59c7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0718-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch +++ b/target/linux/brcm2708/patches-4.19/950-0717-drm-vc4-Attach-margin-props-to-the-HDMI-connector.patch @@ -1,7 +1,7 @@ -From cd63ed6ede9cad42a556710dddb776614d15c0fa Mon Sep 17 00:00:00 2001 +From efd1df5cd92e4436f863730f666117494613693b Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 6 Dec 2018 15:24:39 +0100 -Subject: [PATCH 718/773] drm/vc4: Attach margin props to the HDMI connector +Subject: [PATCH 717/806] drm/vc4: Attach margin props to the HDMI connector Commit db999538fdb0679629d90652f8a1437df1e85a7d upstream. diff --git a/target/linux/brcm2708/patches-4.19/950-0719-drm-vc4-Add-support-for-margins-to-fkms.patch b/target/linux/brcm2708/patches-4.19/950-0718-drm-vc4-Add-support-for-margins-to-fkms.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0719-drm-vc4-Add-support-for-margins-to-fkms.patch rename to target/linux/brcm2708/patches-4.19/950-0718-drm-vc4-Add-support-for-margins-to-fkms.patch index 1dbe656abd..1e937cdd89 100644 --- a/target/linux/brcm2708/patches-4.19/950-0719-drm-vc4-Add-support-for-margins-to-fkms.patch +++ b/target/linux/brcm2708/patches-4.19/950-0718-drm-vc4-Add-support-for-margins-to-fkms.patch @@ -1,7 +1,7 @@ -From e1c466862ce282dd632ef03dd396b56f04d51732 Mon Sep 17 00:00:00 2001 +From a4e8051901a5d858a69732a3f9734835afc00af5 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 19 Jul 2019 15:35:13 +0100 -Subject: [PATCH 719/773] drm/vc4: Add support for margins to fkms +Subject: [PATCH 718/806] drm/vc4: Add support for margins to fkms Allows for overscan to be configured under FKMS. NB This is rescaling the planes, not reducing the size of the diff --git a/target/linux/brcm2708/patches-4.19/950-0720-drm-vc4-Ensure-zpos-is-always-initialised.patch b/target/linux/brcm2708/patches-4.19/950-0719-drm-vc4-Ensure-zpos-is-always-initialised.patch similarity index 85% rename from target/linux/brcm2708/patches-4.19/950-0720-drm-vc4-Ensure-zpos-is-always-initialised.patch rename to target/linux/brcm2708/patches-4.19/950-0719-drm-vc4-Ensure-zpos-is-always-initialised.patch index fa4f89f2a0..2eba1bdd42 100644 --- a/target/linux/brcm2708/patches-4.19/950-0720-drm-vc4-Ensure-zpos-is-always-initialised.patch +++ b/target/linux/brcm2708/patches-4.19/950-0719-drm-vc4-Ensure-zpos-is-always-initialised.patch @@ -1,7 +1,7 @@ -From 330b973824c6d835fd8c43f56d2bc05f931fc919 Mon Sep 17 00:00:00 2001 +From cf80e05ebb55c121c1567ac42b9e1a885fc346a3 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 19 Jul 2019 17:49:00 +0100 -Subject: [PATCH 720/773] drm/vc4: Ensure zpos is always initialised +Subject: [PATCH 719/806] drm/vc4: Ensure zpos is always initialised The compiler is warning that default_zpos can be used uninitialised as there is no default case to catch all plane diff --git a/target/linux/brcm2708/patches-4.19/950-0721-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch b/target/linux/brcm2708/patches-4.19/950-0720-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0721-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch rename to target/linux/brcm2708/patches-4.19/950-0720-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch index c2ef591f0c..d850ca7512 100644 --- a/target/linux/brcm2708/patches-4.19/950-0721-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch +++ b/target/linux/brcm2708/patches-4.19/950-0720-dts-bcm2838-add-missing-properties-for-pmu-and-gic-n.patch @@ -1,7 +1,7 @@ -From b20c06f84d29855ce2400d7012b990196b70e6d1 Mon Sep 17 00:00:00 2001 +From a78d4d81c585a5de61e7fc7d574e6e3f769c18a6 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Wed, 24 Jul 2019 14:36:53 +0100 -Subject: [PATCH 721/773] dts: bcm2838: add missing properties for pmu and gic +Subject: [PATCH 720/806] dts: bcm2838: add missing properties for pmu and gic nodes The GIC has a virtual interface maintenance interrupt and the PMU diff --git a/target/linux/brcm2708/patches-4.19/950-0722-adds-the-Hifiberry-DAC-ADC-PRO-version.patch b/target/linux/brcm2708/patches-4.19/950-0721-adds-the-Hifiberry-DAC-ADC-PRO-version.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0722-adds-the-Hifiberry-DAC-ADC-PRO-version.patch rename to target/linux/brcm2708/patches-4.19/950-0721-adds-the-Hifiberry-DAC-ADC-PRO-version.patch index 8c5bd4674e..dd12319d32 100644 --- a/target/linux/brcm2708/patches-4.19/950-0722-adds-the-Hifiberry-DAC-ADC-PRO-version.patch +++ b/target/linux/brcm2708/patches-4.19/950-0721-adds-the-Hifiberry-DAC-ADC-PRO-version.patch @@ -1,7 +1,7 @@ -From efdfbd4028324a38a55ea81036012da9988388ff Mon Sep 17 00:00:00 2001 +From bab5f8832c6b2859caea1cb5af1ffcb6276c2f74 Mon Sep 17 00:00:00 2001 From: Joerg Schambacher Date: Tue, 23 Jul 2019 16:57:35 +0200 -Subject: [PATCH 722/773] adds the Hifiberry DAC+ADC PRO version +Subject: [PATCH 721/806] adds the Hifiberry DAC+ADC PRO version This adds the driver for the DAC+ADC PRO version of the Hifiberry soundcard with software controlled PCM1863 ADC Signed-off-by: Joerg Schambacher joerg@i2audio.com diff --git a/target/linux/brcm2708/patches-4.19/950-0723-codecs-Correct-Katana-minimum-volume.patch b/target/linux/brcm2708/patches-4.19/950-0722-codecs-Correct-Katana-minimum-volume.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0723-codecs-Correct-Katana-minimum-volume.patch rename to target/linux/brcm2708/patches-4.19/950-0722-codecs-Correct-Katana-minimum-volume.patch index 57561c1572..0ec68610dc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0723-codecs-Correct-Katana-minimum-volume.patch +++ b/target/linux/brcm2708/patches-4.19/950-0722-codecs-Correct-Katana-minimum-volume.patch @@ -1,7 +1,7 @@ -From 47f8fa0e373037e0c3ee9d6915546bd30226a9ed Mon Sep 17 00:00:00 2001 +From 43866e3396623775215943f3062a98c642fcae95 Mon Sep 17 00:00:00 2001 From: allo-com Date: Mon, 29 Jul 2019 15:06:57 +0530 -Subject: [PATCH 723/773] codecs: Correct Katana minimum volume +Subject: [PATCH 722/806] codecs: Correct Katana minimum volume Update Katana minimum volume to get the exact 0.5 dB value in each step. diff --git a/target/linux/brcm2708/patches-4.19/950-0724-drm-vc4-A-present-but-empty-dmas-disables-audio.patch b/target/linux/brcm2708/patches-4.19/950-0723-drm-vc4-A-present-but-empty-dmas-disables-audio.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0724-drm-vc4-A-present-but-empty-dmas-disables-audio.patch rename to target/linux/brcm2708/patches-4.19/950-0723-drm-vc4-A-present-but-empty-dmas-disables-audio.patch index 2c599c0896..b84ed733a7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0724-drm-vc4-A-present-but-empty-dmas-disables-audio.patch +++ b/target/linux/brcm2708/patches-4.19/950-0723-drm-vc4-A-present-but-empty-dmas-disables-audio.patch @@ -1,7 +1,7 @@ -From e23eda71bf8f1180f6d9491be8eda93e11ec39f2 Mon Sep 17 00:00:00 2001 +From 8befbf55f2668a4dae739588ed3c0b0d06fccacd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 Jul 2019 17:36:34 +0100 -Subject: [PATCH 724/773] drm/vc4: A present but empty dmas disables audio +Subject: [PATCH 723/806] drm/vc4: A present but empty dmas disables audio Overlays are unable to remove properties in the base DTB, but they can overwrite them. Allow a present but empty 'dmas' property diff --git a/target/linux/brcm2708/patches-4.19/950-0725-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch b/target/linux/brcm2708/patches-4.19/950-0724-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0725-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch rename to target/linux/brcm2708/patches-4.19/950-0724-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch index 19e89ed11c..5394faa1cc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0725-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch +++ b/target/linux/brcm2708/patches-4.19/950-0724-overlays-Add-audio-parameter-to-vc4-kms-v3d.patch @@ -1,7 +1,7 @@ -From 3c9e313f7ff7d1649a137834ba205c665c2ab007 Mon Sep 17 00:00:00 2001 +From 418ca5973ad807f9d7f99e68af2bd21c7e8baa4d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 Jul 2019 17:39:37 +0100 -Subject: [PATCH 725/773] overlays: Add audio parameter to vc4-kms-v3d +Subject: [PATCH 724/806] overlays: Add audio parameter to vc4-kms-v3d The audio parameter to the vc4-kms-v3d overlay allows audio support to be disabled (it defaults to on) by adding "audio=off" to the diff --git a/target/linux/brcm2708/patches-4.19/950-0726-overlays-Update-the-upstream-overlay.patch b/target/linux/brcm2708/patches-4.19/950-0725-overlays-Update-the-upstream-overlay.patch similarity index 83% rename from target/linux/brcm2708/patches-4.19/950-0726-overlays-Update-the-upstream-overlay.patch rename to target/linux/brcm2708/patches-4.19/950-0725-overlays-Update-the-upstream-overlay.patch index d767ecb393..7bd6f9cfc1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0726-overlays-Update-the-upstream-overlay.patch +++ b/target/linux/brcm2708/patches-4.19/950-0725-overlays-Update-the-upstream-overlay.patch @@ -1,7 +1,7 @@ -From fa65229070744c7c073f8869d34ba778b5d79a86 Mon Sep 17 00:00:00 2001 +From a14162d8da62fb570df916d7386febe51d6ed2bc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 Jul 2019 17:41:47 +0100 -Subject: [PATCH 726/773] overlays: Update the upstream overlay +Subject: [PATCH 725/806] overlays: Update the upstream overlay The recent vc4-kms-v3d commit has changed the content of the upstream overlay (even though the extra fragment is disabled). diff --git a/target/linux/brcm2708/patches-4.19/950-0727-can-mcp251x-Allow-more-time-after-a-reset.patch b/target/linux/brcm2708/patches-4.19/950-0726-can-mcp251x-Allow-more-time-after-a-reset.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0727-can-mcp251x-Allow-more-time-after-a-reset.patch rename to target/linux/brcm2708/patches-4.19/950-0726-can-mcp251x-Allow-more-time-after-a-reset.patch index ad05f54cc1..a5863dff3b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0727-can-mcp251x-Allow-more-time-after-a-reset.patch +++ b/target/linux/brcm2708/patches-4.19/950-0726-can-mcp251x-Allow-more-time-after-a-reset.patch @@ -1,7 +1,7 @@ -From 0bcf10eaed142257cbac31a6bcf18de03379fe38 Mon Sep 17 00:00:00 2001 +From 9f29c6c8865de6f2dc200cb4c59a447d0884a6b3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 1 Aug 2019 08:58:48 +0100 -Subject: [PATCH 727/773] can: mcp251x: Allow more time after a reset +Subject: [PATCH 726/806] can: mcp251x: Allow more time after a reset Some boards take longer than 5ms to power up after a reset, so allow a few retry attempts before giving up. diff --git a/target/linux/brcm2708/patches-4.19/950-0728-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch b/target/linux/brcm2708/patches-4.19/950-0727-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0728-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch rename to target/linux/brcm2708/patches-4.19/950-0727-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch index b3374ff4ab..cf29f5b4dc 100644 --- a/target/linux/brcm2708/patches-4.19/950-0728-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch +++ b/target/linux/brcm2708/patches-4.19/950-0727-Fixup-FKMS-interrupt-handing-for-non-existent-displa.patch @@ -1,7 +1,7 @@ -From 7a6d95656a758098058460b9635f37338a2a22cf Mon Sep 17 00:00:00 2001 +From c2957d7709a43c81e5345d537feaa6980ffcc1a4 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Mon, 29 Jul 2019 12:02:59 +0100 -Subject: [PATCH 728/773] Fixup FKMS interrupt handing for non-existent display +Subject: [PATCH 727/806] Fixup FKMS interrupt handing for non-existent display If an errant interrupt flag was received from a non-existent display, a NULL pointer access was made. Protect against this by checking if a diff --git a/target/linux/brcm2708/patches-4.19/950-0729-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch b/target/linux/brcm2708/patches-4.19/950-0728-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0729-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch rename to target/linux/brcm2708/patches-4.19/950-0728-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch index 3847d10848..dde8c347ad 100644 --- a/target/linux/brcm2708/patches-4.19/950-0729-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch +++ b/target/linux/brcm2708/patches-4.19/950-0728-drivers-char-Use-correct-name-for-the-Raspberry-Pi-v.patch @@ -1,7 +1,7 @@ -From 171e91bd7e8f9541aabae98e6b39ea61a31f2c3f Mon Sep 17 00:00:00 2001 +From 6c8c9ca56ce6039ade09d26c069132538e4de9f0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 28 Jul 2019 22:22:36 +0100 -Subject: [PATCH 729/773] drivers: char: Use correct name for the Raspberry Pi +Subject: [PATCH 728/806] drivers: char: Use correct name for the Raspberry Pi video decoder Replace the old code name with a more appropriate name - RPiVid. diff --git a/target/linux/brcm2708/patches-4.19/950-0730-driver-char-rpivid-also-support-legacy-name.patch b/target/linux/brcm2708/patches-4.19/950-0729-driver-char-rpivid-also-support-legacy-name.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0730-driver-char-rpivid-also-support-legacy-name.patch rename to target/linux/brcm2708/patches-4.19/950-0729-driver-char-rpivid-also-support-legacy-name.patch index 3bebfca6e5..cffd29eda1 100644 --- a/target/linux/brcm2708/patches-4.19/950-0730-driver-char-rpivid-also-support-legacy-name.patch +++ b/target/linux/brcm2708/patches-4.19/950-0729-driver-char-rpivid-also-support-legacy-name.patch @@ -1,7 +1,7 @@ -From 597375f0bc034cbef2f3ab23a926445f1e7879c4 Mon Sep 17 00:00:00 2001 +From 80c20ff00542b050733780ae6088e50663ee8d78 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 29 Jul 2019 12:03:21 +0100 -Subject: [PATCH 730/773] driver: char: rpivid - also support legacy name +Subject: [PATCH 729/806] driver: char: rpivid - also support legacy name Provide transitional support for the previous names of the character devices. diff --git a/target/linux/brcm2708/patches-4.19/950-0731-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch b/target/linux/brcm2708/patches-4.19/950-0730-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0731-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch rename to target/linux/brcm2708/patches-4.19/950-0730-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch index 41ad8b4db8..8a26421511 100644 --- a/target/linux/brcm2708/patches-4.19/950-0731-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch +++ b/target/linux/brcm2708/patches-4.19/950-0730-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch @@ -1,7 +1,7 @@ -From ae90a6635a8f8d2265999b9374d490da1fe3bf9c Mon Sep 17 00:00:00 2001 +From 16c1e20b50e121f836f434bb6c22c73e2f51d29f Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 1 Aug 2019 16:41:20 +0100 -Subject: [PATCH 731/773] hid: usb: Add device quirks for Freeway Airmouse T3 +Subject: [PATCH 730/806] hid: usb: Add device quirks for Freeway Airmouse T3 and MX3 These wireless mouse/keyboard combo remote control devices specify diff --git a/target/linux/brcm2708/patches-4.19/950-0732-drm-vc4-Add-Broadcast-RGB-connector-property.patch b/target/linux/brcm2708/patches-4.19/950-0731-drm-vc4-Add-Broadcast-RGB-connector-property.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0732-drm-vc4-Add-Broadcast-RGB-connector-property.patch rename to target/linux/brcm2708/patches-4.19/950-0731-drm-vc4-Add-Broadcast-RGB-connector-property.patch index 670ca86b6b..2d1f9b9643 100644 --- a/target/linux/brcm2708/patches-4.19/950-0732-drm-vc4-Add-Broadcast-RGB-connector-property.patch +++ b/target/linux/brcm2708/patches-4.19/950-0731-drm-vc4-Add-Broadcast-RGB-connector-property.patch @@ -1,7 +1,7 @@ -From d59aba5dd2232295486e4fc4f3843b8a47596f3f Mon Sep 17 00:00:00 2001 +From b96e24487cc48a2cb593f27c24074087a21de848 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 14 Jun 2019 10:12:07 +0100 -Subject: [PATCH 732/773] drm/vc4: Add "Broadcast RGB" connector property +Subject: [PATCH 731/806] drm/vc4: Add "Broadcast RGB" connector property Some HDMI monitors do not abide by the full or limited (16-235) range RGB flags in the AVI infoframe. This can diff --git a/target/linux/brcm2708/patches-4.19/950-0733-drm-connector-Add-documentation-for-drm_cmdline_mode.patch b/target/linux/brcm2708/patches-4.19/950-0732-drm-connector-Add-documentation-for-drm_cmdline_mode.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0733-drm-connector-Add-documentation-for-drm_cmdline_mode.patch rename to target/linux/brcm2708/patches-4.19/950-0732-drm-connector-Add-documentation-for-drm_cmdline_mode.patch index a7eb85827f..215b944d59 100644 --- a/target/linux/brcm2708/patches-4.19/950-0733-drm-connector-Add-documentation-for-drm_cmdline_mode.patch +++ b/target/linux/brcm2708/patches-4.19/950-0732-drm-connector-Add-documentation-for-drm_cmdline_mode.patch @@ -1,7 +1,7 @@ -From 0e3126a6288c7816c30075369332ccf5f614f2dc Mon Sep 17 00:00:00 2001 +From 7c0f4f4d81958f63abf696e71b342e8b75a6e530 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:48 +0200 -Subject: [PATCH 733/773] drm/connector: Add documentation for drm_cmdline_mode +Subject: [PATCH 732/806] drm/connector: Add documentation for drm_cmdline_mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0734-drm-modes-Rewrite-the-command-line-parser.patch b/target/linux/brcm2708/patches-4.19/950-0733-drm-modes-Rewrite-the-command-line-parser.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0734-drm-modes-Rewrite-the-command-line-parser.patch rename to target/linux/brcm2708/patches-4.19/950-0733-drm-modes-Rewrite-the-command-line-parser.patch index bf4b584504..1c0e2d372c 100644 --- a/target/linux/brcm2708/patches-4.19/950-0734-drm-modes-Rewrite-the-command-line-parser.patch +++ b/target/linux/brcm2708/patches-4.19/950-0733-drm-modes-Rewrite-the-command-line-parser.patch @@ -1,7 +1,7 @@ -From c9a5e3181442ca4558c8c1ca4438b153b87a1b3f Mon Sep 17 00:00:00 2001 +From 3508a8548f13be68b6d098ad99a7bc1fc1810f76 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:49 +0200 -Subject: [PATCH 734/773] drm/modes: Rewrite the command line parser +Subject: [PATCH 733/806] drm/modes: Rewrite the command line parser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0735-drm-modes-Support-modes-names-on-the-command-line.patch b/target/linux/brcm2708/patches-4.19/950-0734-drm-modes-Support-modes-names-on-the-command-line.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0735-drm-modes-Support-modes-names-on-the-command-line.patch rename to target/linux/brcm2708/patches-4.19/950-0734-drm-modes-Support-modes-names-on-the-command-line.patch index 6196abdcb0..0ab7cd2abb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0735-drm-modes-Support-modes-names-on-the-command-line.patch +++ b/target/linux/brcm2708/patches-4.19/950-0734-drm-modes-Support-modes-names-on-the-command-line.patch @@ -1,7 +1,7 @@ -From aec195ba9d647eb9e70e77c68c04e073a7c0e75e Mon Sep 17 00:00:00 2001 +From 2cea4924c69b6be5cfe8d976810ccf76a3991230 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:50 +0200 -Subject: [PATCH 735/773] drm/modes: Support modes names on the command line +Subject: [PATCH 734/806] drm/modes: Support modes names on the command line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0736-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch b/target/linux/brcm2708/patches-4.19/950-0735-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch similarity index 98% rename from target/linux/brcm2708/patches-4.19/950-0736-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch rename to target/linux/brcm2708/patches-4.19/950-0735-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch index 9b144953d7..aeb60d182b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0736-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch +++ b/target/linux/brcm2708/patches-4.19/950-0735-drm-modes-Allow-to-specify-rotation-and-reflection-o.patch @@ -1,7 +1,7 @@ -From 5c884f9e2ff691d972f86677167fa2bda5c8221a Mon Sep 17 00:00:00 2001 +From 5a8ccd79b6bad32e52620a94199bf1af2e19708e Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:51 +0200 -Subject: [PATCH 736/773] drm/modes: Allow to specify rotation and reflection +Subject: [PATCH 735/806] drm/modes: Allow to specify rotation and reflection on the commandline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/target/linux/brcm2708/patches-4.19/950-0737-drm-connector-Introduce-a-TV-margins-structure.patch b/target/linux/brcm2708/patches-4.19/950-0736-drm-connector-Introduce-a-TV-margins-structure.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0737-drm-connector-Introduce-a-TV-margins-structure.patch rename to target/linux/brcm2708/patches-4.19/950-0736-drm-connector-Introduce-a-TV-margins-structure.patch index f2db63acf7..ee4cc20b92 100644 --- a/target/linux/brcm2708/patches-4.19/950-0737-drm-connector-Introduce-a-TV-margins-structure.patch +++ b/target/linux/brcm2708/patches-4.19/950-0736-drm-connector-Introduce-a-TV-margins-structure.patch @@ -1,7 +1,7 @@ -From 4b97b05ce469797c0e16e5e164dc6a0dae7f520b Mon Sep 17 00:00:00 2001 +From 6261047a83258900e57a0a699ec7954360c6e7f3 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:51 +0200 -Subject: [PATCH 737/773] drm/connector: Introduce a TV margins structure +Subject: [PATCH 736/806] drm/connector: Introduce a TV margins structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0738-drm-modes-Parse-overscan-properties.patch b/target/linux/brcm2708/patches-4.19/950-0737-drm-modes-Parse-overscan-properties.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0738-drm-modes-Parse-overscan-properties.patch rename to target/linux/brcm2708/patches-4.19/950-0737-drm-modes-Parse-overscan-properties.patch index dcf7ae9d47..9077034af6 100644 --- a/target/linux/brcm2708/patches-4.19/950-0738-drm-modes-Parse-overscan-properties.patch +++ b/target/linux/brcm2708/patches-4.19/950-0737-drm-modes-Parse-overscan-properties.patch @@ -1,7 +1,7 @@ -From 31205d1091f42eb6c9efc38243fd473c29ae1537 Mon Sep 17 00:00:00 2001 +From 99b367ee521e48beae92bea59515dd0f08f2e55b Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:51 +0200 -Subject: [PATCH 738/773] drm/modes: Parse overscan properties +Subject: [PATCH 737/806] drm/modes: Parse overscan properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0739-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch b/target/linux/brcm2708/patches-4.19/950-0738-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0739-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch rename to target/linux/brcm2708/patches-4.19/950-0738-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch index 9f0c0ebc5c..cc02184516 100644 --- a/target/linux/brcm2708/patches-4.19/950-0739-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch +++ b/target/linux/brcm2708/patches-4.19/950-0738-drm-atomic-Add-a-function-to-reset-connector-TV-prop.patch @@ -1,7 +1,7 @@ -From deec13c32eadba904622dd65e8ed0a8c641e4c83 Mon Sep 17 00:00:00 2001 +From 8dd1e4d73fdbc4a533a58c2c74a72877257c558c Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:52 +0200 -Subject: [PATCH 739/773] drm/atomic: Add a function to reset connector TV +Subject: [PATCH 738/806] drm/atomic: Add a function to reset connector TV properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/target/linux/brcm2708/patches-4.19/950-0740-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch b/target/linux/brcm2708/patches-4.19/950-0739-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0740-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch rename to target/linux/brcm2708/patches-4.19/950-0739-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch index ec60b29299..9ee07712f5 100644 --- a/target/linux/brcm2708/patches-4.19/950-0740-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch +++ b/target/linux/brcm2708/patches-4.19/950-0739-drm-vc4-hdmi-Set-default-state-margin-at-reset.patch @@ -1,7 +1,7 @@ -From f5b8fc2a73c5f7d5bc64ec5a9e3019372a0ac4fb Mon Sep 17 00:00:00 2001 +From 1adef5f9443f148db0817099504df0a7fb7350dd Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 19 Jun 2019 12:17:53 +0200 -Subject: [PATCH 740/773] drm/vc4: hdmi: Set default state margin at reset +Subject: [PATCH 739/806] drm/vc4: hdmi: Set default state margin at reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/target/linux/brcm2708/patches-4.19/950-0741-drm-vc4-fkms-Set-default-state-margin-at-reset.patch b/target/linux/brcm2708/patches-4.19/950-0740-drm-vc4-fkms-Set-default-state-margin-at-reset.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0741-drm-vc4-fkms-Set-default-state-margin-at-reset.patch rename to target/linux/brcm2708/patches-4.19/950-0740-drm-vc4-fkms-Set-default-state-margin-at-reset.patch index 3f1af8b7f8..649f36c3ea 100644 --- a/target/linux/brcm2708/patches-4.19/950-0741-drm-vc4-fkms-Set-default-state-margin-at-reset.patch +++ b/target/linux/brcm2708/patches-4.19/950-0740-drm-vc4-fkms-Set-default-state-margin-at-reset.patch @@ -1,7 +1,7 @@ -From 6eb133cbb462898a897b5206ac0ce75eebf43c3f Mon Sep 17 00:00:00 2001 +From 2cf6bd979b0a5fdb179842308b1670691f6a2ce4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 23 Jul 2019 11:09:26 +0100 -Subject: [PATCH 741/773] drm/vc4: fkms: Set default state margin at reset +Subject: [PATCH 740/806] drm/vc4: fkms: Set default state margin at reset Now that the TV margins are properly parsed and filled into drm_cmdline_mode, we just need to initialise the first state at reset to diff --git a/target/linux/brcm2708/patches-4.19/950-0742-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch b/target/linux/brcm2708/patches-4.19/950-0741-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch similarity index 90% rename from target/linux/brcm2708/patches-4.19/950-0742-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch rename to target/linux/brcm2708/patches-4.19/950-0741-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch index 838fc4f496..b7691f1b35 100644 --- a/target/linux/brcm2708/patches-4.19/950-0742-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0741-drm-modes-Don-t-apply-cmdline-s-rotation-if-it-wasn-.patch @@ -1,7 +1,7 @@ -From 2c5f444ed22474f3c61a3d242d67b6aa6c523009 Mon Sep 17 00:00:00 2001 +From 6eb9a89c28590203658c0ebcbf29d5b41eb8596a Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 23 Jul 2019 14:10:31 +0100 -Subject: [PATCH 742/773] drm/modes: Don't apply cmdline's rotation if it +Subject: [PATCH 741/806] drm/modes: Don't apply cmdline's rotation if it wasn't specified Taken from the dri-devel mailing list (11/7/2019) to fixup the cmdline diff --git a/target/linux/brcm2708/patches-4.19/950-0743-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch b/target/linux/brcm2708/patches-4.19/950-0742-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0743-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch rename to target/linux/brcm2708/patches-4.19/950-0742-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch index 10c5ff38b9..a9d7de51b9 100644 --- a/target/linux/brcm2708/patches-4.19/950-0743-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch +++ b/target/linux/brcm2708/patches-4.19/950-0742-configs-Add-CONFIG_FRAMEBUFFER_CONSOLE_ROTATION-to-P.patch @@ -1,7 +1,7 @@ -From 80bd4ddd5332820668f6ab7aa8e76ddd2e9c1083 Mon Sep 17 00:00:00 2001 +From a88a2374eba11050b26408c793f54cc786663f7f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 23 Jul 2019 14:14:05 +0100 -Subject: [PATCH 743/773] configs: Add CONFIG_FRAMEBUFFER_CONSOLE_ROTATION to +Subject: [PATCH 742/806] configs: Add CONFIG_FRAMEBUFFER_CONSOLE_ROTATION to Pi configs To allow for console rotation under DRM (where the firmware diff --git a/target/linux/brcm2708/patches-4.19/950-0744-staging-bcm2835-codec-switch-to-multi-planar-API.patch b/target/linux/brcm2708/patches-4.19/950-0743-staging-bcm2835-codec-switch-to-multi-planar-API.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0744-staging-bcm2835-codec-switch-to-multi-planar-API.patch rename to target/linux/brcm2708/patches-4.19/950-0743-staging-bcm2835-codec-switch-to-multi-planar-API.patch index f35a410351..f45dd0bb79 100644 --- a/target/linux/brcm2708/patches-4.19/950-0744-staging-bcm2835-codec-switch-to-multi-planar-API.patch +++ b/target/linux/brcm2708/patches-4.19/950-0743-staging-bcm2835-codec-switch-to-multi-planar-API.patch @@ -1,7 +1,7 @@ -From 25f880ad558d2738fa88825124afc5b342777d6f Mon Sep 17 00:00:00 2001 +From cb053a15c5c23e775647d6b65fef4c378bf34b5b Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Thu, 18 Jul 2019 17:07:05 +0800 -Subject: [PATCH 744/773] staging: bcm2835-codec: switch to multi-planar API +Subject: [PATCH 743/806] staging: bcm2835-codec: switch to multi-planar API There are two APIs for mem2mem devices, the older single-planar API and the newer multi-planar one. Without making things overly complex, the diff --git a/target/linux/brcm2708/patches-4.19/950-0745-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch b/target/linux/brcm2708/patches-4.19/950-0744-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0745-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch rename to target/linux/brcm2708/patches-4.19/950-0744-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch index f5f2d914c1..372d17a812 100644 --- a/target/linux/brcm2708/patches-4.19/950-0745-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch +++ b/target/linux/brcm2708/patches-4.19/950-0744-staging-bcm2835-codec-implement-V4L2_CID_MIN_BUFFERS.patch @@ -1,7 +1,7 @@ -From bf7f91921fd94c1599b515fa8a94197bad3a294b Mon Sep 17 00:00:00 2001 +From 1f524b04b040978e2d96380ff40c3e80feba49a5 Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Mon, 22 Jul 2019 22:13:30 +0800 -Subject: [PATCH 745/773] staging: bcm2835-codec: implement +Subject: [PATCH 744/806] staging: bcm2835-codec: implement V4L2_CID_MIN_BUFFERS_FOR_CAPTURE The stateful decoder specification shows an optional step for retrieving diff --git a/target/linux/brcm2708/patches-4.19/950-0746-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch b/target/linux/brcm2708/patches-4.19/950-0745-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0746-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch rename to target/linux/brcm2708/patches-4.19/950-0745-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch index 7eb0bcff40..a5202e826f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0746-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch +++ b/target/linux/brcm2708/patches-4.19/950-0745-staging-bcm2835-codec-set-device_caps-in-struct-vide.patch @@ -1,7 +1,7 @@ -From f0c7dafd823a7b5fc53566f51baaceaf7663ddcc Mon Sep 17 00:00:00 2001 +From c369e173f9ff254ed3c3b9062e04917122e3536e Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai Date: Mon, 22 Jul 2019 22:20:55 +0800 -Subject: [PATCH 746/773] staging: bcm2835-codec: set device_caps in struct +Subject: [PATCH 745/806] staging: bcm2835-codec: set device_caps in struct video_device Instead of filling in the struct v4l2_capability device_caps diff --git a/target/linux/brcm2708/patches-4.19/950-0747-Add-HDMI1-facility-to-the-driver.patch b/target/linux/brcm2708/patches-4.19/950-0746-Add-HDMI1-facility-to-the-driver.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0747-Add-HDMI1-facility-to-the-driver.patch rename to target/linux/brcm2708/patches-4.19/950-0746-Add-HDMI1-facility-to-the-driver.patch index 8ba5f214c7..eaa6318d3d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0747-Add-HDMI1-facility-to-the-driver.patch +++ b/target/linux/brcm2708/patches-4.19/950-0746-Add-HDMI1-facility-to-the-driver.patch @@ -1,7 +1,7 @@ -From fdda86a2f220d10e5feeeb19972142da1694cb40 Mon Sep 17 00:00:00 2001 +From 0a37470a112260ef1c9a016a400fdf1f8792eadc Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 16 Jul 2019 12:18:21 +0100 -Subject: [PATCH 747/773] Add HDMI1 facility to the driver. +Subject: [PATCH 746/806] Add HDMI1 facility to the driver. For generic ALSA, all you need is the bcm2835.h change, but have also added structures for IEC958 HDMI. Not sure how to diff --git a/target/linux/brcm2708/patches-4.19/950-0748-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch b/target/linux/brcm2708/patches-4.19/950-0747-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0748-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch rename to target/linux/brcm2708/patches-4.19/950-0747-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch index bdbdcbb20f..6d8a803524 100644 --- a/target/linux/brcm2708/patches-4.19/950-0748-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch +++ b/target/linux/brcm2708/patches-4.19/950-0747-overlays-Add-baudrate-parameter-to-i2c3-i2c6.patch @@ -1,7 +1,7 @@ -From 73d2665f0756435e50bb94039a28d47f6134bcb9 Mon Sep 17 00:00:00 2001 +From 114845b6010b6e6a320804f2d86ab4d5dc5a06de Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 5 Aug 2019 14:17:14 +0100 -Subject: [PATCH 748/773] overlays: Add baudrate parameter to i2c3-i2c6 +Subject: [PATCH 747/806] overlays: Add baudrate parameter to i2c3-i2c6 The overlays for enabling the new BCM2711 I2C interfaces were lacking the means to configure the baud/clock rate. diff --git a/target/linux/brcm2708/patches-4.19/950-0749-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch b/target/linux/brcm2708/patches-4.19/950-0748-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0749-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch rename to target/linux/brcm2708/patches-4.19/950-0748-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch index 7cb26f10d3..8d5b1ae54e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0749-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch +++ b/target/linux/brcm2708/patches-4.19/950-0748-net-bcmgenet-Workaround-for-Pi-4B-network-issue.patch @@ -1,7 +1,7 @@ -From 29109f495f5842f4e9a09ffb54ae3e13298fff07 Mon Sep 17 00:00:00 2001 +From 82a6bacc6df57c05093bea3f628d4d0b5f7a49a2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 2 Aug 2019 22:25:27 +0100 -Subject: [PATCH 749/773] net: bcmgenet: Workaround for Pi 4B network issue +Subject: [PATCH 748/806] net: bcmgenet: Workaround for Pi 4B network issue Some combinations of Pi 4Bs and Ethernet switches don't reliably get a DCHP-assigned IP address, leaving the unit with a self=assigned 169.254 diff --git a/target/linux/brcm2708/patches-4.19/950-0750-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch b/target/linux/brcm2708/patches-4.19/950-0749-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0750-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch rename to target/linux/brcm2708/patches-4.19/950-0749-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch index b35b0b7d34..a80cfba3e4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0750-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch +++ b/target/linux/brcm2708/patches-4.19/950-0749-drm-vc4-Resolve-the-vblank-warnings-on-mode-switchin.patch @@ -1,7 +1,7 @@ -From ae0ab9791a91359d280c6a73f338fd697eb453cc Mon Sep 17 00:00:00 2001 +From df276f0a5aa865c7926d9d148605d1a59d1d4fbb Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jul 2019 17:27:44 +0100 -Subject: [PATCH 750/773] drm/vc4: Resolve the vblank warnings on mode +Subject: [PATCH 749/806] drm/vc4: Resolve the vblank warnings on mode switching The details over when and how a driver is to service the diff --git a/target/linux/brcm2708/patches-4.19/950-0751-drm-vc4-Remove-unused-mode-variable.patch b/target/linux/brcm2708/patches-4.19/950-0750-drm-vc4-Remove-unused-mode-variable.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0751-drm-vc4-Remove-unused-mode-variable.patch rename to target/linux/brcm2708/patches-4.19/950-0750-drm-vc4-Remove-unused-mode-variable.patch index df181bd006..af6109b511 100644 --- a/target/linux/brcm2708/patches-4.19/950-0751-drm-vc4-Remove-unused-mode-variable.patch +++ b/target/linux/brcm2708/patches-4.19/950-0750-drm-vc4-Remove-unused-mode-variable.patch @@ -1,7 +1,7 @@ -From 12fa5c539dd001cba73195a4a94ce08eb1834345 Mon Sep 17 00:00:00 2001 +From b2f463facb358b917380683b5e86c5d1cb3db123 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jul 2019 17:34:29 +0100 -Subject: [PATCH 751/773] drm/vc4: Remove unused mode variable +Subject: [PATCH 750/806] drm/vc4: Remove unused mode variable "89d1376 drm/vc4: Add support for margins to fkms" removed the requirement for having the mode structure from vc4_plane_to_mb, diff --git a/target/linux/brcm2708/patches-4.19/950-0752-staging-bcm2835-codec-Expand-logging-on-format-setti.patch b/target/linux/brcm2708/patches-4.19/950-0751-staging-bcm2835-codec-Expand-logging-on-format-setti.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0752-staging-bcm2835-codec-Expand-logging-on-format-setti.patch rename to target/linux/brcm2708/patches-4.19/950-0751-staging-bcm2835-codec-Expand-logging-on-format-setti.patch index 4284348241..d36226a6b7 100644 --- a/target/linux/brcm2708/patches-4.19/950-0752-staging-bcm2835-codec-Expand-logging-on-format-setti.patch +++ b/target/linux/brcm2708/patches-4.19/950-0751-staging-bcm2835-codec-Expand-logging-on-format-setti.patch @@ -1,7 +1,7 @@ -From e22301426242b180ed0511da2a0846ddc3ac802f Mon Sep 17 00:00:00 2001 +From 9a9ef8123467579c431ced1e98827364d66c615f Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jul 2019 14:57:09 +0100 -Subject: [PATCH 752/773] staging:bcm2835-codec: Expand logging on format +Subject: [PATCH 751/806] staging:bcm2835-codec: Expand logging on format setting Adds some more useful logging during format changed events and diff --git a/target/linux/brcm2708/patches-4.19/950-0753-staging-bcm2835-codec-Correct-bytesperline-on-format.patch b/target/linux/brcm2708/patches-4.19/950-0752-staging-bcm2835-codec-Correct-bytesperline-on-format.patch similarity index 89% rename from target/linux/brcm2708/patches-4.19/950-0753-staging-bcm2835-codec-Correct-bytesperline-on-format.patch rename to target/linux/brcm2708/patches-4.19/950-0752-staging-bcm2835-codec-Correct-bytesperline-on-format.patch index f0dab972a8..9625f9604d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0753-staging-bcm2835-codec-Correct-bytesperline-on-format.patch +++ b/target/linux/brcm2708/patches-4.19/950-0752-staging-bcm2835-codec-Correct-bytesperline-on-format.patch @@ -1,7 +1,7 @@ -From f486c102af723f7de4a0f2a3426986ce574d96ee Mon Sep 17 00:00:00 2001 +From bcb6e267ca61ce685ed2debc0cee327527cea20d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jul 2019 14:58:35 +0100 -Subject: [PATCH 753/773] staging: bcm2835-codec: Correct bytesperline on +Subject: [PATCH 752/806] staging: bcm2835-codec: Correct bytesperline on format changed The handling of format changed events incorrectly set bytesperline diff --git a/target/linux/brcm2708/patches-4.19/950-0754-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch b/target/linux/brcm2708/patches-4.19/950-0753-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch similarity index 86% rename from target/linux/brcm2708/patches-4.19/950-0754-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch rename to target/linux/brcm2708/patches-4.19/950-0753-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch index e876b1a2ef..8d4effacdb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0754-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch +++ b/target/linux/brcm2708/patches-4.19/950-0753-drm-vc4-Add-missing-NULL-check-to-vc4_crtc_consume_e.patch @@ -1,7 +1,7 @@ -From 3d00cd70d91f7839ed62b283e9141dfebeda0ffc Mon Sep 17 00:00:00 2001 +From cbe5c2a67fb145b210652be20a84690e09e4eb25 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 7 Aug 2019 11:31:08 +0100 -Subject: [PATCH 754/773] drm/vc4: Add missing NULL check to +Subject: [PATCH 753/806] drm/vc4: Add missing NULL check to vc4_crtc_consume_event vc4_crtc_consume_event wasn't checking crtc->state->event was diff --git a/target/linux/brcm2708/patches-4.19/950-0755-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch b/target/linux/brcm2708/patches-4.19/950-0754-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0755-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch rename to target/linux/brcm2708/patches-4.19/950-0754-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch index 651de22fb1..65f96bd65e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0755-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch +++ b/target/linux/brcm2708/patches-4.19/950-0754-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch @@ -1,7 +1,7 @@ -From 4c247e982b2e0f35371195241528282aade02899 Mon Sep 17 00:00:00 2001 +From 024173b78ac6c6ce9dca879274b1e8a8e9000738 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 9 Aug 2019 08:52:16 +0100 -Subject: [PATCH 755/773] Revert "net: bcmgenet: Workaround for Pi 4B network +Subject: [PATCH 754/806] Revert "net: bcmgenet: Workaround for Pi 4B network issue" This reverts commit 9c0770ea7682a84a22c33410ef6870af258abacc. diff --git a/target/linux/brcm2708/patches-4.19/950-0756-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch b/target/linux/brcm2708/patches-4.19/950-0755-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0756-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch rename to target/linux/brcm2708/patches-4.19/950-0755-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch index a5fa479b6d..fbce45ed20 100644 --- a/target/linux/brcm2708/patches-4.19/950-0756-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch +++ b/target/linux/brcm2708/patches-4.19/950-0755-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch @@ -1,7 +1,7 @@ -From 692d62e8ae7ed39115465aac95a7737c92b07f66 Mon Sep 17 00:00:00 2001 +From 103afc4641ab8d6587e981a5e3fda27427a8bf4b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 9 Aug 2019 08:51:43 +0100 -Subject: [PATCH 756/773] net: bcmgenet: Workaround #2 for Pi4 Ethernet fail +Subject: [PATCH 755/806] net: bcmgenet: Workaround #2 for Pi4 Ethernet fail Some combinations of Pi 4Bs and Ethernet switches don't reliably get a DCHP-assigned IP address, leaving the unit with a self=assigned 169.254 diff --git a/target/linux/brcm2708/patches-4.19/950-0757-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch b/target/linux/brcm2708/patches-4.19/950-0756-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch similarity index 88% rename from target/linux/brcm2708/patches-4.19/950-0757-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch rename to target/linux/brcm2708/patches-4.19/950-0756-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch index bbea110022..5854d1f51f 100644 --- a/target/linux/brcm2708/patches-4.19/950-0757-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch +++ b/target/linux/brcm2708/patches-4.19/950-0756-drm-vc4-Fix-TILE_Y_OFFSET-definitions.patch @@ -1,7 +1,7 @@ -From d48758030d1c09b7ce8a757637086e94a4f57968 Mon Sep 17 00:00:00 2001 +From c1fffc2a7dbf7e59aaef36378fb14d1c3dc016a6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 3 Aug 2018 11:22:27 +0200 -Subject: [PATCH 757/773] drm/vc4: Fix TILE_Y_OFFSET definitions +Subject: [PATCH 756/806] drm/vc4: Fix TILE_Y_OFFSET definitions Y_OFFSET field starts at bit 8 not 7. diff --git a/target/linux/brcm2708/patches-4.19/950-0758-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch b/target/linux/brcm2708/patches-4.19/950-0757-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch similarity index 87% rename from target/linux/brcm2708/patches-4.19/950-0758-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch rename to target/linux/brcm2708/patches-4.19/950-0757-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch index 40f56b2231..34eb57c4d2 100644 --- a/target/linux/brcm2708/patches-4.19/950-0758-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch +++ b/target/linux/brcm2708/patches-4.19/950-0757-drm-vc4-Define-missing-PITCH0_SINK_PIX-field.patch @@ -1,7 +1,7 @@ -From 8becab5374fb24f266017024d2c0650899c4ab22 Mon Sep 17 00:00:00 2001 +From d0b90f9c68a96f2bee66d796cb33367d205e586a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 3 Aug 2018 11:22:28 +0200 -Subject: [PATCH 758/773] drm/vc4: Define missing PITCH0_SINK_PIX field +Subject: [PATCH 757/806] drm/vc4: Define missing PITCH0_SINK_PIX field This is needed to support X/Y negative placement of planes using T-format buffers. diff --git a/target/linux/brcm2708/patches-4.19/950-0759-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch b/target/linux/brcm2708/patches-4.19/950-0758-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch similarity index 97% rename from target/linux/brcm2708/patches-4.19/950-0759-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch rename to target/linux/brcm2708/patches-4.19/950-0758-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch index a6649caaaa..fa0fa6b208 100644 --- a/target/linux/brcm2708/patches-4.19/950-0759-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch +++ b/target/linux/brcm2708/patches-4.19/950-0758-drm-vc4-Use-drm_atomic_helper_check_plane_state-to-s.patch @@ -1,7 +1,7 @@ -From b4bd8206c0c1e8f0cfa07c19f0b77ad2ff23d662 Mon Sep 17 00:00:00 2001 +From 2a98dc34696c6510a49a684eb56d3a9c2a150571 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 3 Aug 2018 11:22:29 +0200 -Subject: [PATCH 759/773] drm/vc4: Use drm_atomic_helper_check_plane_state() to +Subject: [PATCH 758/806] drm/vc4: Use drm_atomic_helper_check_plane_state() to simplify the logic drm_atomic_helper_check_plane_state() takes care of checking the diff --git a/target/linux/brcm2708/patches-4.19/950-0760-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch b/target/linux/brcm2708/patches-4.19/950-0759-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0760-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch rename to target/linux/brcm2708/patches-4.19/950-0759-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch index 0d13b4dcc4..20a543d762 100644 --- a/target/linux/brcm2708/patches-4.19/950-0760-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch +++ b/target/linux/brcm2708/patches-4.19/950-0759-drm-vc4-Move-offsets-adjustment-out-of-setup_clippin.patch @@ -1,7 +1,7 @@ -From b371e04f38668a3dcde575879c557a5a8e348829 Mon Sep 17 00:00:00 2001 +From 58a92eae6ed463c294381e72eefec701d23fcdaf Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 3 Aug 2018 11:22:30 +0200 -Subject: [PATCH 760/773] drm/vc4: Move ->offsets[] adjustment out of +Subject: [PATCH 759/806] drm/vc4: Move ->offsets[] adjustment out of setup_clipping_and_scaling() The offset adjustment depends on the framebuffer modified, so let's diff --git a/target/linux/brcm2708/patches-4.19/950-0761-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch b/target/linux/brcm2708/patches-4.19/950-0760-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch similarity index 96% rename from target/linux/brcm2708/patches-4.19/950-0761-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch rename to target/linux/brcm2708/patches-4.19/950-0760-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch index 949d637e41..765ace65bb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0761-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0760-drm-vc4-Fix-X-Y-positioning-of-planes-using-T_TILES-.patch @@ -1,7 +1,7 @@ -From f55f26750fa582a9ab9eddc0980b0633bb42d75b Mon Sep 17 00:00:00 2001 +From 010e3665babdf589e26e2fb098ac1f39e519c0f6 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 3 Aug 2018 11:22:31 +0200 -Subject: [PATCH 761/773] drm/vc4: Fix X/Y positioning of planes using T_TILES +Subject: [PATCH 760/806] drm/vc4: Fix X/Y positioning of planes using T_TILES modifier X/Y positioning of T-format buffers is quite tricky and the current diff --git a/target/linux/brcm2708/patches-4.19/950-0762-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch b/target/linux/brcm2708/patches-4.19/950-0761-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0762-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch rename to target/linux/brcm2708/patches-4.19/950-0761-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch index 27bc30b005..ef4da86e14 100644 --- a/target/linux/brcm2708/patches-4.19/950-0762-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch +++ b/target/linux/brcm2708/patches-4.19/950-0761-drm-vc4-Fix-NULL-pointer-dereference-in-the-async-up.patch @@ -1,7 +1,7 @@ -From 8f73c4a08531d65fc4ce12d9a61deb16a7d601cb Mon Sep 17 00:00:00 2001 +From 0e81807e647c5e12fd897f3d520252ea60de3ff9 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 15 Nov 2018 11:58:51 +0100 -Subject: [PATCH 762/773] drm/vc4: Fix NULL pointer dereference in the async +Subject: [PATCH 761/806] drm/vc4: Fix NULL pointer dereference in the async update path vc4_plane_atomic_async_update() calls vc4_plane_atomic_check() diff --git a/target/linux/brcm2708/patches-4.19/950-0763-configs-Regenerate-the-defconfigs.patch b/target/linux/brcm2708/patches-4.19/950-0762-configs-Regenerate-the-defconfigs.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0763-configs-Regenerate-the-defconfigs.patch rename to target/linux/brcm2708/patches-4.19/950-0762-configs-Regenerate-the-defconfigs.patch index c83396de93..5c33d7a859 100644 --- a/target/linux/brcm2708/patches-4.19/950-0763-configs-Regenerate-the-defconfigs.patch +++ b/target/linux/brcm2708/patches-4.19/950-0762-configs-Regenerate-the-defconfigs.patch @@ -1,7 +1,7 @@ -From b67dc43c90c8d9871d79313c4d5b04368bd6859c Mon Sep 17 00:00:00 2001 +From ad010fe745475896b3251e1e8132a21d8f9df1a5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 11 Aug 2019 21:31:46 +0100 -Subject: [PATCH 763/773] configs: Regenerate the defconfigs +Subject: [PATCH 762/806] configs: Regenerate the defconfigs Update bcm2709_defconfig to match the output from savedefconfig. diff --git a/target/linux/brcm2708/patches-4.19/950-0764-configs-Enable-building-the-DS28E17-driver-module.patch b/target/linux/brcm2708/patches-4.19/950-0763-configs-Enable-building-the-DS28E17-driver-module.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0764-configs-Enable-building-the-DS28E17-driver-module.patch rename to target/linux/brcm2708/patches-4.19/950-0763-configs-Enable-building-the-DS28E17-driver-module.patch index ea3184013d..e81b4a9af4 100644 --- a/target/linux/brcm2708/patches-4.19/950-0764-configs-Enable-building-the-DS28E17-driver-module.patch +++ b/target/linux/brcm2708/patches-4.19/950-0763-configs-Enable-building-the-DS28E17-driver-module.patch @@ -1,7 +1,7 @@ -From 739a3cd3ae724818dc3d93fc98141e59077932c8 Mon Sep 17 00:00:00 2001 +From a1358ca295698dcbcf284e4859756d7cbeaac59b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 11 Aug 2019 21:34:43 +0100 -Subject: [PATCH 764/773] configs: Enable building the DS28E17 driver module +Subject: [PATCH 763/806] configs: Enable building the DS28E17 driver module See: https://github.com/raspberrypi/linux/issues/3141 diff --git a/target/linux/brcm2708/patches-4.19/950-0765-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch b/target/linux/brcm2708/patches-4.19/950-0764-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0765-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch rename to target/linux/brcm2708/patches-4.19/950-0764-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch index 70101eb1ef..3434aec44d 100644 --- a/target/linux/brcm2708/patches-4.19/950-0765-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch +++ b/target/linux/brcm2708/patches-4.19/950-0764-ARM-dts-bcm2711-rpi-4-b-I2C-aliases-and-pulls.patch @@ -1,7 +1,7 @@ -From 633d53276f8a94025f0cf60df37519136272434d Mon Sep 17 00:00:00 2001 +From 188bd7c0085ac5b3d966aa899c6be644907157ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 12 Aug 2019 15:48:39 +0100 -Subject: [PATCH 765/773] ARM: dts: bcm2711-rpi-4-b: I2C aliases and pulls +Subject: [PATCH 764/806] ARM: dts: bcm2711-rpi-4-b: I2C aliases and pulls The I2C interface nodes need aliases to give them fixed bus numbers, and setting the pulls on the GPIOs (particularly 9-13) increases the diff --git a/target/linux/brcm2708/patches-4.19/950-0766-xhci-Use-more-event-ring-segment-table-entries.patch b/target/linux/brcm2708/patches-4.19/950-0765-xhci-Use-more-event-ring-segment-table-entries.patch similarity index 95% rename from target/linux/brcm2708/patches-4.19/950-0766-xhci-Use-more-event-ring-segment-table-entries.patch rename to target/linux/brcm2708/patches-4.19/950-0765-xhci-Use-more-event-ring-segment-table-entries.patch index 9812db2d32..ef1349153e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0766-xhci-Use-more-event-ring-segment-table-entries.patch +++ b/target/linux/brcm2708/patches-4.19/950-0765-xhci-Use-more-event-ring-segment-table-entries.patch @@ -1,7 +1,7 @@ -From cba43f76fe083fb735257410b10d3904355207fe Mon Sep 17 00:00:00 2001 +From c2e02902a3b75b24306dac06cb6f75b683fa0267 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 13 Aug 2019 15:53:29 +0100 -Subject: [PATCH 766/773] xhci: Use more event ring segment table entries +Subject: [PATCH 765/806] xhci: Use more event ring segment table entries Users have reported log spam created by "Event Ring Full" xHC event TRBs. These are caused by interrupt latency in conjunction with a very diff --git a/target/linux/brcm2708/patches-4.19/950-0767-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch b/target/linux/brcm2708/patches-4.19/950-0766-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch similarity index 94% rename from target/linux/brcm2708/patches-4.19/950-0767-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch rename to target/linux/brcm2708/patches-4.19/950-0766-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch index d36459fa70..a2065c8261 100644 --- a/target/linux/brcm2708/patches-4.19/950-0767-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch +++ b/target/linux/brcm2708/patches-4.19/950-0766-dwc_otg-use-align_buf-for-small-IN-control-transfers.patch @@ -1,7 +1,7 @@ -From e6510a4c6b282ccbf8fdb6d8e035a72ac88aa94b Mon Sep 17 00:00:00 2001 +From 0c6190fa3cfeafd773b51b751a473d6775c23309 Mon Sep 17 00:00:00 2001 From: P33M <2474547+P33M@users.noreply.github.com> Date: Wed, 14 Aug 2019 14:35:50 +0100 -Subject: [PATCH 767/773] dwc_otg: use align_buf for small IN control transfers +Subject: [PATCH 766/806] dwc_otg: use align_buf for small IN control transfers (#3150) The hardware will do a 4-byte write to memory on any IN packet received diff --git a/target/linux/brcm2708/patches-4.19/950-0768-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch b/target/linux/brcm2708/patches-4.19/950-0767-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch similarity index 99% rename from target/linux/brcm2708/patches-4.19/950-0768-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch rename to target/linux/brcm2708/patches-4.19/950-0767-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch index df682766c3..a8f0b0186b 100644 --- a/target/linux/brcm2708/patches-4.19/950-0768-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch +++ b/target/linux/brcm2708/patches-4.19/950-0767-Ported-pcie-brcmstb-bounce-buffer-implementation-to-.patch @@ -1,7 +1,7 @@ -From 2f9799e1c9bd7f03792a89ff7c9d55f0c570d661 Mon Sep 17 00:00:00 2001 +From ccd23ce562e8223ba7c6acf7dcb7058ff89ff7ec Mon Sep 17 00:00:00 2001 From: yaroslavros Date: Wed, 14 Aug 2019 15:22:55 +0100 -Subject: [PATCH 768/773] Ported pcie-brcmstb bounce buffer implementation to +Subject: [PATCH 767/806] Ported pcie-brcmstb bounce buffer implementation to ARM64. (#3144) Ported pcie-brcmstb bounce buffer implementation to ARM64. diff --git a/target/linux/brcm2708/patches-4.19/950-0769-configs-arm64-vcm2711-Enable-V3D.patch b/target/linux/brcm2708/patches-4.19/950-0768-configs-arm64-vcm2711-Enable-V3D.patch similarity index 91% rename from target/linux/brcm2708/patches-4.19/950-0769-configs-arm64-vcm2711-Enable-V3D.patch rename to target/linux/brcm2708/patches-4.19/950-0768-configs-arm64-vcm2711-Enable-V3D.patch index 9b694a9947..fdd7710afb 100644 --- a/target/linux/brcm2708/patches-4.19/950-0769-configs-arm64-vcm2711-Enable-V3D.patch +++ b/target/linux/brcm2708/patches-4.19/950-0768-configs-arm64-vcm2711-Enable-V3D.patch @@ -1,7 +1,7 @@ -From 8a537f8c712f837ac154fb91e90f136ffa304882 Mon Sep 17 00:00:00 2001 +From 709962264bec8f8483df374da5e946c982348e87 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 15 Aug 2019 12:02:34 +0100 -Subject: [PATCH 769/773] configs: arm64/vcm2711: Enable V3D +Subject: [PATCH 768/806] configs: arm64/vcm2711: Enable V3D Enable the V3D driver, which depends on BCM2835_POWER. diff --git a/target/linux/brcm2708/patches-4.19/950-0770-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch b/target/linux/brcm2708/patches-4.19/950-0769-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch similarity index 84% rename from target/linux/brcm2708/patches-4.19/950-0770-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch rename to target/linux/brcm2708/patches-4.19/950-0769-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch index 1675167b97..1e3147f00e 100644 --- a/target/linux/brcm2708/patches-4.19/950-0770-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch +++ b/target/linux/brcm2708/patches-4.19/950-0769-overlays-sc16ic752-i2c-Fix-xtal-parameter.patch @@ -1,7 +1,7 @@ -From 1a0aa89304eba1b10a0d122501af7f2b96b36fda Mon Sep 17 00:00:00 2001 +From ee24998ecaed3d03890a7a5e04dddb8c5d073e97 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 17 Aug 2019 19:47:30 +0100 -Subject: [PATCH 770/773] overlays: sc16ic752-i2c: Fix xtal parameter +Subject: [PATCH 769/806] overlays: sc16ic752-i2c: Fix xtal parameter The xtal parameter is targetting the wrong node - fix it. diff --git a/target/linux/brcm2708/patches-4.19/950-0771-vc-sm-cma-Fix-compatibility-ioctl.patch b/target/linux/brcm2708/patches-4.19/950-0770-vc-sm-cma-Fix-compatibility-ioctl.patch similarity index 93% rename from target/linux/brcm2708/patches-4.19/950-0771-vc-sm-cma-Fix-compatibility-ioctl.patch rename to target/linux/brcm2708/patches-4.19/950-0770-vc-sm-cma-Fix-compatibility-ioctl.patch index 39c09bb8ae..fe67ab1e06 100644 --- a/target/linux/brcm2708/patches-4.19/950-0771-vc-sm-cma-Fix-compatibility-ioctl.patch +++ b/target/linux/brcm2708/patches-4.19/950-0770-vc-sm-cma-Fix-compatibility-ioctl.patch @@ -1,7 +1,7 @@ -From 907be7d1c6c442cb20c0731026d119f9017dd375 Mon Sep 17 00:00:00 2001 +From a24a0a621486b36bcdf5c5e0afb05a5d1dd30003 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 19 Aug 2019 15:45:20 +0100 -Subject: [PATCH 771/773] vc-sm-cma: Fix compatibility ioctl +Subject: [PATCH 770/806] vc-sm-cma: Fix compatibility ioctl This code path hasn't been used previously. Fixed up after testing with kodi on 32-bit userland and 64-bit kernel diff --git a/target/linux/brcm2708/patches-4.19/950-0772-configs-Add-TINYDRM-modules.patch b/target/linux/brcm2708/patches-4.19/950-0771-configs-Add-TINYDRM-modules.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0772-configs-Add-TINYDRM-modules.patch rename to target/linux/brcm2708/patches-4.19/950-0771-configs-Add-TINYDRM-modules.patch index b35aaf22c6..87be4e1177 100644 --- a/target/linux/brcm2708/patches-4.19/950-0772-configs-Add-TINYDRM-modules.patch +++ b/target/linux/brcm2708/patches-4.19/950-0771-configs-Add-TINYDRM-modules.patch @@ -1,7 +1,7 @@ -From 931cfc501b0df7513f7aa30f96a9f26043de89cb Mon Sep 17 00:00:00 2001 +From cf0c78c1e5dfe21f3912a7a9958c9e3978b1f1cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 22 Aug 2019 17:20:58 +0100 -Subject: [PATCH 772/773] configs: Add TINYDRM modules +Subject: [PATCH 771/806] configs: Add TINYDRM modules --- arch/arm/configs/bcm2709_defconfig | 4 ++++ diff --git a/target/linux/brcm2708/patches-4.19/950-0773-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch b/target/linux/brcm2708/patches-4.19/950-0772-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch similarity index 92% rename from target/linux/brcm2708/patches-4.19/950-0773-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch rename to target/linux/brcm2708/patches-4.19/950-0772-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch index 0e0de56b59..01795ba0db 100644 --- a/target/linux/brcm2708/patches-4.19/950-0773-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch +++ b/target/linux/brcm2708/patches-4.19/950-0772-staging-bcm2835-codec-add-support-for-V4L2_CID_MPEG_.patch @@ -1,7 +1,7 @@ -From 9392bdcc241adb527dcb42caab2204c59c02cef3 Mon Sep 17 00:00:00 2001 +From ae6dba510ac29ef7b0e6c838fb1bcc8b9eb474b7 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Thu, 22 Aug 2019 22:31:37 +0000 -Subject: [PATCH 773/773] staging: bcm2835-codec: add support for +Subject: [PATCH 772/806] staging: bcm2835-codec: add support for V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME fixes #3171 diff --git a/target/linux/brcm2708/patches-4.19/950-0773-staging-bcm2835-codec-remove-unnecessary-padding-on-.patch b/target/linux/brcm2708/patches-4.19/950-0773-staging-bcm2835-codec-remove-unnecessary-padding-on-.patch new file mode 100644 index 0000000000..bf1b347aa1 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0773-staging-bcm2835-codec-remove-unnecessary-padding-on-.patch @@ -0,0 +1,30 @@ +From 9a2eab654b11d27bcc5a32ebd374f6c9acc38ce4 Mon Sep 17 00:00:00 2001 +From: Aman Gupta +Date: Fri, 23 Aug 2019 16:29:07 -0700 +Subject: [PATCH 773/806] staging: bcm2835-codec: remove unnecessary padding on + encoder input + +The ISP and ENCODE roles have the same underlying hardware. Neither requires vertical alignment. + +Signed-off-by: Aman Gupta +--- + .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -1050,12 +1050,12 @@ static int vidioc_try_fmt(struct bcm2835 + f->fmt.pix_mp.height = MIN_H; + + /* +- * For codecs the buffer must have a vertical alignment of 16 ++ * For decoders the buffer must have a vertical alignment of 16 + * lines. + * The selection will reflect any cropping rectangle when only + * some of the pixels are active. + */ +- if (ctx->dev->role != ISP) ++ if (ctx->dev->role == DECODE) + f->fmt.pix_mp.height = ALIGN(f->fmt.pix_mp.height, 16); + } + f->fmt.pix_mp.num_planes = 1; diff --git a/target/linux/brcm2708/patches-4.19/960-add-rasbperrypi-compatible.patch b/target/linux/brcm2708/patches-4.19/950-0774-arm-dts-add-missing-Raspberry-Pi-model-names.patch similarity index 58% rename from target/linux/brcm2708/patches-4.19/960-add-rasbperrypi-compatible.patch rename to target/linux/brcm2708/patches-4.19/950-0774-arm-dts-add-missing-Raspberry-Pi-model-names.patch index 002b4b32e8..e4593e8371 100644 --- a/target/linux/brcm2708/patches-4.19/960-add-rasbperrypi-compatible.patch +++ b/target/linux/brcm2708/patches-4.19/950-0774-arm-dts-add-missing-Raspberry-Pi-model-names.patch @@ -1,3 +1,21 @@ +From ac6c4a17f6f7aeb977b04dd4dc7e801b7776499f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= +Date: Thu, 29 Aug 2019 16:26:22 +0200 +Subject: [PATCH 774/806] arm: dts: add missing Raspberry Pi model names +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This is needed to identify the different models on distributions like OpenWrt. + +Signed-off-by: Álvaro Fernández Rojas +--- + arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 1 + + arch/arm/boot/dts/bcm2708-rpi-b.dts | 1 + + arch/arm/boot/dts/bcm2708-rpi-cm.dts | 1 + + arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 1 + + 4 files changed, 4 insertions(+) + --- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts +++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts @@ -6,6 +6,7 @@ @@ -28,17 +46,6 @@ model = "Raspberry Pi Compute Module"; }; ---- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts -+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts -@@ -6,7 +6,7 @@ - #include "bcm283x-rpi-csi1-2lane.dtsi" - - / { -- compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; -+ compatible = "raspberrypi,3-model-b", "brcm,bcm2837", "brcm,bcm2836"; - model = "Raspberry Pi 3 Model B"; - - chosen { --- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts +++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts @@ -6,6 +6,7 @@ diff --git a/target/linux/brcm2708/patches-4.19/950-0775-Add-support-for-the-Audio-Injector-Ultra-in-64-bit-l.patch b/target/linux/brcm2708/patches-4.19/950-0775-Add-support-for-the-Audio-Injector-Ultra-in-64-bit-l.patch new file mode 100644 index 0000000000..210f63068e --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0775-Add-support-for-the-Audio-Injector-Ultra-in-64-bit-l.patch @@ -0,0 +1,32 @@ +From 0f7c79b7c3dc3a10dcbb0f52b29bccf63f8f2d8d Mon Sep 17 00:00:00 2001 +From: Trevor Stiles +Date: Wed, 28 Aug 2019 15:07:18 -0700 +Subject: [PATCH 775/806] Add support for the Audio Injector Ultra in 64-bit + land. + +Signed-off-by: Trevor Stiles +--- + arch/arm64/configs/bcm2711_defconfig | 1 + + arch/arm64/configs/bcmrpi3_defconfig | 1 + + 2 files changed, 2 insertions(+) + +--- a/arch/arm64/configs/bcm2711_defconfig ++++ b/arch/arm64/configs/bcm2711_defconfig +@@ -856,6 +856,7 @@ CONFIG_SND_PISOUND=m + CONFIG_SND_SOC_ADAU1701=m + CONFIG_SND_SOC_ADAU7002=m + CONFIG_SND_SOC_AK4554=m ++CONFIG_SND_SOC_CS4265=m + CONFIG_SND_SOC_CS4271_I2C=m + CONFIG_SND_SOC_SPDIF=m + CONFIG_SND_SOC_WM8804_I2C=m +--- a/arch/arm64/configs/bcmrpi3_defconfig ++++ b/arch/arm64/configs/bcmrpi3_defconfig +@@ -823,6 +823,7 @@ CONFIG_SND_SOC_AD193X_SPI=m + CONFIG_SND_SOC_AD193X_I2C=m + CONFIG_SND_SOC_ADAU1701=m + CONFIG_SND_SOC_AK4554=m ++CONFIG_SND_SOC_CS4265=m + CONFIG_SND_SOC_CS4271_I2C=m + CONFIG_SND_SOC_ICS43432=m + CONFIG_SND_SOC_WM8804_I2C=m diff --git a/target/linux/brcm2708/patches-4.19/950-0776-arch-arm-Add-model-string-to-cpuinfo.patch b/target/linux/brcm2708/patches-4.19/950-0776-arch-arm-Add-model-string-to-cpuinfo.patch new file mode 100644 index 0000000000..e298f85db1 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0776-arch-arm-Add-model-string-to-cpuinfo.patch @@ -0,0 +1,36 @@ +From d9f55647637be79ff42cb85497e43ca8b9a69a7b Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 3 Sep 2019 18:16:56 +0100 +Subject: [PATCH 776/806] arch/arm: Add model string to cpuinfo + +Signed-off-by: Phil Elwell +--- + arch/arm/kernel/setup.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/arch/arm/kernel/setup.c ++++ b/arch/arm/kernel/setup.c +@@ -1238,6 +1238,8 @@ static int c_show(struct seq_file *m, vo + { + int i, j; + u32 cpuid; ++ struct device_node *np; ++ const char *model; + + for_each_online_cpu(i) { + /* +@@ -1297,6 +1299,14 @@ static int c_show(struct seq_file *m, vo + seq_printf(m, "Revision\t: %04x\n", system_rev); + seq_printf(m, "Serial\t\t: %s\n", system_serial); + ++ np = of_find_node_by_path("/"); ++ if (np) { ++ if (!of_property_read_string(np, "model", ++ &model)) ++ seq_printf(m, "Model\t\t: %s\n", model); ++ of_node_put(np); ++ } ++ + return 0; + } + diff --git a/target/linux/brcm2708/patches-4.19/950-0777-arch-arm64-Add-Revision-Serial-Model-to-cpuinfo.patch b/target/linux/brcm2708/patches-4.19/950-0777-arch-arm64-Add-Revision-Serial-Model-to-cpuinfo.patch new file mode 100644 index 0000000000..fec15a9ce7 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0777-arch-arm64-Add-Revision-Serial-Model-to-cpuinfo.patch @@ -0,0 +1,58 @@ +From aabfcb0abbc34ca5f3c4b4f872123166eca2e100 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 3 Sep 2019 18:17:25 +0100 +Subject: [PATCH 777/806] arch/arm64: Add Revision, Serial, Model to cpuinfo + +Signed-off-by: Phil Elwell +--- + arch/arm64/kernel/cpuinfo.c | 25 +++++++++++++++++++++++++ + 1 file changed, 25 insertions(+) + +--- a/arch/arm64/kernel/cpuinfo.c ++++ b/arch/arm64/kernel/cpuinfo.c +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -125,6 +126,10 @@ static int c_show(struct seq_file *m, vo + { + int i, j; + bool compat = personality(current->personality) == PER_LINUX32; ++ struct device_node *np; ++ const char *model; ++ const char *serial; ++ u32 revision; + + for_each_online_cpu(i) { + struct cpuinfo_arm64 *cpuinfo = &per_cpu(cpu_data, i); +@@ -176,6 +181,26 @@ static int c_show(struct seq_file *m, vo + seq_printf(m, "CPU revision\t: %d\n\n", MIDR_REVISION(midr)); + } + ++ seq_printf(m, "Hardware\t: BCM2835\n"); ++ ++ np = of_find_node_by_path("/system"); ++ if (np) { ++ if (!of_property_read_u32(np, "linux,revision", &revision)) ++ seq_printf(m, "Revision\t: %04x\n", revision); ++ of_node_put(np); ++ } ++ ++ np = of_find_node_by_path("/"); ++ if (np) { ++ if (!of_property_read_string(np, "serial-number", ++ &serial)) ++ seq_printf(m, "Serial\t\t: %s\n", serial); ++ if (!of_property_read_string(np, "model", ++ &model)) ++ seq_printf(m, "Model\t\t: %s\n", model); ++ of_node_put(np); ++ } ++ + return 0; + } + diff --git a/target/linux/brcm2708/patches-4.19/950-0778-media-dt-bindings-Add-binding-for-the-Sony-IMX219-se.patch b/target/linux/brcm2708/patches-4.19/950-0778-media-dt-bindings-Add-binding-for-the-Sony-IMX219-se.patch new file mode 100644 index 0000000000..5aecde540a --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0778-media-dt-bindings-Add-binding-for-the-Sony-IMX219-se.patch @@ -0,0 +1,77 @@ +From 2d8a780a994098f7c532b712abd7298e0bca5a12 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Wed, 28 Aug 2019 13:34:30 +0100 +Subject: [PATCH 778/806] media: dt-bindings: Add binding for the Sony IMX219 + sensor + +The IMX219 is an 8MPix CSI2 sensor, supporting 2 or 4 data lanes. +Document the binding for this device. + +Signed-off-by: Dave Stevenson +--- + .../devicetree/bindings/media/i2c/imx219.txt | 59 +++++++++++++++++++ + 1 file changed, 59 insertions(+) + create mode 100644 Documentation/devicetree/bindings/media/i2c/imx219.txt + +--- /dev/null ++++ b/Documentation/devicetree/bindings/media/i2c/imx219.txt +@@ -0,0 +1,59 @@ ++* Sony 1/4.0-Inch 8Mpixel CMOS Digital Image Sensor ++ ++The Sony imx219 is a 1/4.0-inch CMOS active pixel digital image sensor with ++an active array size of 3280H x 2464V. It is programmable through I2C ++interface. The I2C address is fixed to 0x10 as per sensor data sheet. ++Image data is sent through MIPI CSI-2, which is configured as either 2 or 4 ++data lanes. ++ ++Required Properties: ++- compatible: value should be "sony,imx219" for imx219 sensor ++- reg: I2C bus address of the device ++- clocks: reference to the xclk input clock. ++- clock-names: should be "xclk". ++- DOVDD-supply: Digital I/O voltage supply, 1.8 volts ++- AVDD-supply: Analog voltage supply, 2.8 volts ++- DVDD-supply: Digital core voltage supply, 1.2 volts ++ ++Optional Properties: ++- xclr-gpios: reference to the GPIO connected to the xclr pin, if any. Must be ++ released after all supplies are applied. ++ This is an active high signal to the imx219. ++ ++The imx219 device node should contain one 'port' child node with ++an 'endpoint' subnode. For further reading on port node refer to ++Documentation/devicetree/bindings/media/video-interfaces.txt. ++ ++Endpoint node required properties for CSI-2 connection are: ++- remote-endpoint: a phandle to the bus receiver's endpoint node. ++- clock-lanes: should be set to <0> (clock lane on hardware lane 0) ++- data-lanes: should be set to <1 2>, or <1 2 3 4> (two or four lane CSI-2 ++ supported) ++ ++Example: ++ sensor@10 { ++ compatible = "sony,imx219"; ++ reg = <0x10>; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ clocks = <&imx219_clk>; ++ clock-names = "xclk"; ++ xclr-gpios = <&gpio_sensor 0 0>; ++ DOVDD-supply = <&vgen4_reg>; /* 1.8v */ ++ AVDD-supply = <&vgen3_reg>; /* 2.8v */ ++ DVDD-supply = <&vgen2_reg>; /* 1.2v */ ++ ++ imx219_clk: camera-clk { ++ compatible = "fixed-clock"; ++ #clock-cells = <0>; ++ clock-frequency = <24000000>; ++ }; ++ ++ port { ++ sensor_out: endpoint { ++ remote-endpoint = <&csiss_in>; ++ clock-lanes = <0>; ++ data-lanes = <1 2>; ++ }; ++ }; ++ }; diff --git a/target/linux/brcm2708/patches-4.19/950-0779-media-i2c-Add-driver-for-Sony-IMX219-sensor.patch b/target/linux/brcm2708/patches-4.19/950-0779-media-i2c-Add-driver-for-Sony-IMX219-sensor.patch new file mode 100644 index 0000000000..be6430ea5e --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0779-media-i2c-Add-driver-for-Sony-IMX219-sensor.patch @@ -0,0 +1,1146 @@ +From 2186344c6d83ccd169e16c048c8b43aff95545e2 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Wed, 28 Aug 2019 13:34:49 +0100 +Subject: [PATCH 779/806] media: i2c: Add driver for Sony IMX219 sensor + +Adds a driver for the 8MPix Sony IMX219 CSI2 sensor. +Whilst the sensor supports 2 or 4 CSI2 data lanes, this driver +currently only supports 2 lanes. +8MPix @ 15fps, 1080P @ 30fps (cropped FOV), and 1640x1232 (2x2 binned) +@ 30fps are currently supported. + +Signed-off-by: Dave Stevenson +Tested-by: Kieran Bingham +--- + drivers/media/i2c/Kconfig | 11 + + drivers/media/i2c/Makefile | 1 + + drivers/media/i2c/imx219.c | 1093 ++++++++++++++++++++++++++++++++++++ + 3 files changed, 1105 insertions(+) + create mode 100644 drivers/media/i2c/imx219.c + +--- a/drivers/media/i2c/Kconfig ++++ b/drivers/media/i2c/Kconfig +@@ -597,6 +597,17 @@ config VIDEO_APTINA_PLL + config VIDEO_SMIAPP_PLL + tristate + ++config VIDEO_IMX219 ++ tristate "Sony IMX219 sensor support" ++ depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API ++ depends on MEDIA_CAMERA_SUPPORT ++ help ++ This is a Video4Linux2 sensor driver for the Sony ++ IMX219 camera. ++ ++ To compile this driver as a module, choose M here: the ++ module will be called imx219. ++ + config VIDEO_IMX258 + tristate "Sony IMX258 sensor support" + depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API +--- a/drivers/media/i2c/Makefile ++++ b/drivers/media/i2c/Makefile +@@ -106,6 +106,7 @@ obj-$(CONFIG_VIDEO_I2C) += video-i2c.o + obj-$(CONFIG_VIDEO_ML86V7667) += ml86v7667.o + obj-$(CONFIG_VIDEO_OV2659) += ov2659.o + obj-$(CONFIG_VIDEO_TC358743) += tc358743.o ++obj-$(CONFIG_VIDEO_IMX219) += imx219.o + obj-$(CONFIG_VIDEO_IMX258) += imx258.o + obj-$(CONFIG_VIDEO_IMX274) += imx274.o + +--- /dev/null ++++ b/drivers/media/i2c/imx219.c +@@ -0,0 +1,1093 @@ ++// SPDX-License-Identifier: GPL-2.0 ++/* ++ * A V4L2 driver for Sony IMX219 cameras. ++ * Copyright (C) 2019, Raspberry Pi (Trading) Ltd ++ * ++ * Based on Sony imx258 camera driver ++ * Copyright (C) 2018 Intel Corporation ++ * ++ * DT / fwnode changes, and regulator / GPIO control taken from ov5640.c ++ * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved. ++ * Copyright (C) 2014-2017 Mentor Graphics Inc. ++ * ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#define IMX219_REG_VALUE_08BIT 1 ++#define IMX219_REG_VALUE_16BIT 2 ++ ++#define IMX219_REG_MODE_SELECT 0x0100 ++#define IMX219_MODE_STANDBY 0x00 ++#define IMX219_MODE_STREAMING 0x01 ++ ++/* Chip ID */ ++#define IMX219_REG_CHIP_ID 0x0000 ++#define IMX219_CHIP_ID 0x0219 ++ ++/* V_TIMING internal */ ++#define IMX219_REG_VTS 0x0160 ++#define IMX219_VTS_15FPS 0x0dc6 ++#define IMX219_VTS_30FPS_1080P 0x06e3 ++#define IMX219_VTS_30FPS_BINNED 0x06e3 ++#define IMX219_VTS_MAX 0xffff ++ ++/*Frame Length Line*/ ++#define IMX219_FLL_MIN 0x08a6 ++#define IMX219_FLL_MAX 0xffff ++#define IMX219_FLL_STEP 1 ++#define IMX219_FLL_DEFAULT 0x0c98 ++ ++/* HBLANK control - read only */ ++#define IMX219_PPL_DEFAULT 5352 ++ ++/* Exposure control */ ++#define IMX219_REG_EXPOSURE 0x015a ++#define IMX219_EXPOSURE_MIN 4 ++#define IMX219_EXPOSURE_STEP 1 ++#define IMX219_EXPOSURE_DEFAULT 0x640 ++#define IMX219_EXPOSURE_MAX 65535 ++ ++/* Analog gain control */ ++#define IMX219_REG_ANALOG_GAIN 0x0157 ++#define IMX219_ANA_GAIN_MIN 0 ++#define IMX219_ANA_GAIN_MAX 232 ++#define IMX219_ANA_GAIN_STEP 1 ++#define IMX219_ANA_GAIN_DEFAULT 0x0 ++ ++/* Digital gain control */ ++#define IMX219_REG_DIGITAL_GAIN 0x0158 ++#define IMX219_DGTL_GAIN_MIN 0x0100 ++#define IMX219_DGTL_GAIN_MAX 0x0fff ++#define IMX219_DGTL_GAIN_DEFAULT 0x0100 ++#define IMX219_DGTL_GAIN_STEP 1 ++ ++/* Test Pattern Control */ ++#define IMX219_REG_TEST_PATTERN 0x0600 ++#define IMX219_TEST_PATTERN_DISABLE 0 ++#define IMX219_TEST_PATTERN_SOLID_COLOR 1 ++#define IMX219_TEST_PATTERN_COLOR_BARS 2 ++#define IMX219_TEST_PATTERN_GREY_COLOR 3 ++#define IMX219_TEST_PATTERN_PN9 4 ++ ++struct imx219_reg { ++ u16 address; ++ u8 val; ++}; ++ ++struct imx219_reg_list { ++ u32 num_of_regs; ++ const struct imx219_reg *regs; ++}; ++ ++/* Mode : resolution and related config&values */ ++struct imx219_mode { ++ /* Frame width */ ++ u32 width; ++ /* Frame height */ ++ u32 height; ++ ++ /* V-timing */ ++ u32 vts_def; ++ ++ /* Default register values */ ++ struct imx219_reg_list reg_list; ++}; ++ ++/* ++ * Register sets lifted off the i2C interface from the Raspberry Pi firmware ++ * driver. ++ * 3280x2464 = mode 2, 1920x1080 = mode 1, and 1640x1232 = mode 4. ++ */ ++static const struct imx219_reg mode_3280x2464_regs[] = { ++ {0x0100, 0x00}, ++ {0x30eb, 0x0c}, ++ {0x30eb, 0x05}, ++ {0x300a, 0xff}, ++ {0x300b, 0xff}, ++ {0x30eb, 0x05}, ++ {0x30eb, 0x09}, ++ {0x0114, 0x01}, ++ {0x0128, 0x00}, ++ {0x012a, 0x18}, ++ {0x012b, 0x00}, ++ {0x0164, 0x00}, ++ {0x0165, 0x00}, ++ {0x0166, 0x0c}, ++ {0x0167, 0xcf}, ++ {0x0168, 0x00}, ++ {0x0169, 0x00}, ++ {0x016a, 0x09}, ++ {0x016b, 0x9f}, ++ {0x016c, 0x0c}, ++ {0x016d, 0xd0}, ++ {0x016e, 0x09}, ++ {0x016f, 0xa0}, ++ {0x0170, 0x01}, ++ {0x0171, 0x01}, ++ {0x0174, 0x00}, ++ {0x0175, 0x00}, ++ {0x018c, 0x0a}, ++ {0x018d, 0x0a}, ++ {0x0301, 0x05}, ++ {0x0303, 0x01}, ++ {0x0304, 0x03}, ++ {0x0305, 0x03}, ++ {0x0306, 0x00}, ++ {0x0307, 0x39}, ++ {0x0309, 0x0a}, ++ {0x030b, 0x01}, ++ {0x030c, 0x00}, ++ {0x030d, 0x72}, ++ {0x0624, 0x0c}, ++ {0x0625, 0xd0}, ++ {0x0626, 0x09}, ++ {0x0627, 0xa0}, ++ {0x455e, 0x00}, ++ {0x471e, 0x4b}, ++ {0x4767, 0x0f}, ++ {0x4750, 0x14}, ++ {0x4540, 0x00}, ++ {0x47b4, 0x14}, ++ {0x4713, 0x30}, ++ {0x478b, 0x10}, ++ {0x478f, 0x10}, ++ {0x4793, 0x10}, ++ {0x4797, 0x0e}, ++ {0x479b, 0x0e}, ++ ++ {0x0172, 0x03}, ++ {0x0162, 0x0d}, ++ {0x0163, 0x78}, ++}; ++ ++static const struct imx219_reg mode_1920_1080_regs[] = { ++ {0x0100, 0x00}, ++ {0x30eb, 0x05}, ++ {0x30eb, 0x0c}, ++ {0x300a, 0xff}, ++ {0x300b, 0xff}, ++ {0x30eb, 0x05}, ++ {0x30eb, 0x09}, ++ {0x0114, 0x01}, ++ {0x0128, 0x00}, ++ {0x012a, 0x18}, ++ {0x012b, 0x00}, ++ {0x0162, 0x0d}, ++ {0x0163, 0x78}, ++ {0x0164, 0x02}, ++ {0x0165, 0xa8}, ++ {0x0166, 0x0a}, ++ {0x0167, 0x27}, ++ {0x0168, 0x02}, ++ {0x0169, 0xb4}, ++ {0x016a, 0x06}, ++ {0x016b, 0xeb}, ++ {0x016c, 0x07}, ++ {0x016d, 0x80}, ++ {0x016e, 0x04}, ++ {0x016f, 0x38}, ++ {0x0170, 0x01}, ++ {0x0171, 0x01}, ++ {0x0174, 0x00}, ++ {0x0175, 0x00}, ++ {0x018c, 0x0a}, ++ {0x018d, 0x0a}, ++ {0x0301, 0x05}, ++ {0x0303, 0x01}, ++ {0x0304, 0x03}, ++ {0x0305, 0x03}, ++ {0x0306, 0x00}, ++ {0x0307, 0x39}, ++ {0x0309, 0x0a}, ++ {0x030b, 0x01}, ++ {0x030c, 0x00}, ++ {0x030d, 0x72}, ++ {0x455e, 0x00}, ++ {0x471e, 0x4b}, ++ {0x4767, 0x0f}, ++ {0x4750, 0x14}, ++ {0x4540, 0x00}, ++ {0x47b4, 0x14}, ++ {0x4713, 0x30}, ++ {0x478b, 0x10}, ++ {0x478f, 0x10}, ++ {0x4793, 0x10}, ++ {0x4797, 0x0e}, ++ {0x479b, 0x0e}, ++ ++ {0x0172, 0x03}, ++ {0x0162, 0x0d}, ++ {0x0163, 0x78}, ++}; ++ ++static const struct imx219_reg mode_1640_1232_regs[] = { ++ {0x30eb, 0x0c}, ++ {0x30eb, 0x05}, ++ {0x300a, 0xff}, ++ {0x300b, 0xff}, ++ {0x30eb, 0x05}, ++ {0x30eb, 0x09}, ++ {0x0114, 0x01}, ++ {0x0128, 0x00}, ++ {0x012a, 0x18}, ++ {0x012b, 0x00}, ++ {0x0164, 0x00}, ++ {0x0165, 0x00}, ++ {0x0166, 0x0c}, ++ {0x0167, 0xcf}, ++ {0x0168, 0x00}, ++ {0x0169, 0x00}, ++ {0x016a, 0x09}, ++ {0x016b, 0x9f}, ++ {0x016c, 0x06}, ++ {0x016d, 0x68}, ++ {0x016e, 0x04}, ++ {0x016f, 0xd0}, ++ {0x0170, 0x01}, ++ {0x0171, 0x01}, ++ {0x0174, 0x01}, ++ {0x0175, 0x01}, ++ {0x018c, 0x0a}, ++ {0x018d, 0x0a}, ++ {0x0301, 0x05}, ++ {0x0303, 0x01}, ++ {0x0304, 0x03}, ++ {0x0305, 0x03}, ++ {0x0306, 0x00}, ++ {0x0307, 0x39}, ++ {0x0309, 0x0a}, ++ {0x030b, 0x01}, ++ {0x030c, 0x00}, ++ {0x030d, 0x72}, ++ {0x455e, 0x00}, ++ {0x471e, 0x4b}, ++ {0x4767, 0x0f}, ++ {0x4750, 0x14}, ++ {0x4540, 0x00}, ++ {0x47b4, 0x14}, ++ {0x4713, 0x30}, ++ {0x478b, 0x10}, ++ {0x478f, 0x10}, ++ {0x4793, 0x10}, ++ {0x4797, 0x0e}, ++ {0x479b, 0x0e}, ++ ++ {0x0172, 0x03}, ++ {0x0162, 0x0d}, ++ {0x0163, 0x78}, ++}; ++ ++static const char * const imx219_test_pattern_menu[] = { ++ "Disabled", ++ "Color Bars", ++ "Solid Color", ++ "Grey Color Bars", ++ "PN9" ++}; ++ ++static const int imx219_test_pattern_val[] = { ++ IMX219_TEST_PATTERN_DISABLE, ++ IMX219_TEST_PATTERN_COLOR_BARS, ++ IMX219_TEST_PATTERN_SOLID_COLOR, ++ IMX219_TEST_PATTERN_GREY_COLOR, ++ IMX219_TEST_PATTERN_PN9, ++}; ++ ++/* regulator supplies */ ++static const char * const imx219_supply_name[] = { ++ /* Supplies can be enabled in any order */ ++ "VANA", /* Analog (2.8V) supply */ ++ "VDIG", /* Digital Core (1.8V) supply */ ++ "VDDL", /* IF (1.2V) supply */ ++}; ++ ++#define IMX219_NUM_SUPPLIES ARRAY_SIZE(imx219_supply_name) ++ ++#define IMX219_XCLR_DELAY_MS 10 /* Initialisation delay after XCLR low->high */ ++ ++/* Mode configs */ ++static const struct imx219_mode supported_modes[] = { ++ { ++ /* 8MPix 15fps mode */ ++ .width = 3280, ++ .height = 2464, ++ .vts_def = IMX219_VTS_15FPS, ++ .reg_list = { ++ .num_of_regs = ARRAY_SIZE(mode_3280x2464_regs), ++ .regs = mode_3280x2464_regs, ++ }, ++ }, ++ { ++ /* 1080P 30fps cropped */ ++ .width = 1920, ++ .height = 1080, ++ .vts_def = IMX219_VTS_30FPS_1080P, ++ .reg_list = { ++ .num_of_regs = ARRAY_SIZE(mode_1920_1080_regs), ++ .regs = mode_1920_1080_regs, ++ }, ++ }, ++ { ++ /* 2x2 binned 30fps mode */ ++ .width = 1640, ++ .height = 1232, ++ .vts_def = IMX219_VTS_30FPS_BINNED, ++ .reg_list = { ++ .num_of_regs = ARRAY_SIZE(mode_1640_1232_regs), ++ .regs = mode_1640_1232_regs, ++ }, ++ }, ++}; ++ ++struct imx219 { ++ struct v4l2_subdev sd; ++ struct media_pad pad; ++ ++ struct v4l2_fwnode_endpoint ep; /* the parsed DT endpoint info */ ++ struct clk *xclk; /* system clock to IMX219 */ ++ u32 xclk_freq; ++ ++ struct gpio_desc *xclr_gpio; ++ struct regulator_bulk_data supplies[IMX219_NUM_SUPPLIES]; ++ ++ struct v4l2_ctrl_handler ctrl_handler; ++ /* V4L2 Controls */ ++ struct v4l2_ctrl *pixel_rate; ++ struct v4l2_ctrl *exposure; ++ ++ /* Current mode */ ++ const struct imx219_mode *mode; ++ ++ /* ++ * Mutex for serialized access: ++ * Protect sensor module set pad format and start/stop streaming safely. ++ */ ++ struct mutex mutex; ++ ++ int power_count; ++ /* Streaming on/off */ ++ bool streaming; ++}; ++ ++static inline struct imx219 *to_imx219(struct v4l2_subdev *_sd) ++{ ++ return container_of(_sd, struct imx219, sd); ++} ++ ++/* Read registers up to 2 at a time */ ++static int imx219_read_reg(struct imx219 *imx219, u16 reg, u32 len, u32 *val) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ struct i2c_msg msgs[2]; ++ u8 addr_buf[2] = { reg >> 8, reg & 0xff }; ++ u8 data_buf[4] = { 0, }; ++ int ret; ++ ++ if (len > 4) ++ return -EINVAL; ++ ++ /* Write register address */ ++ msgs[0].addr = client->addr; ++ msgs[0].flags = 0; ++ msgs[0].len = ARRAY_SIZE(addr_buf); ++ msgs[0].buf = addr_buf; ++ ++ /* Read data from register */ ++ msgs[1].addr = client->addr; ++ msgs[1].flags = I2C_M_RD; ++ msgs[1].len = len; ++ msgs[1].buf = &data_buf[4 - len]; ++ ++ ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); ++ if (ret != ARRAY_SIZE(msgs)) ++ return -EIO; ++ ++ *val = get_unaligned_be32(data_buf); ++ ++ return 0; ++} ++ ++/* Write registers up to 2 at a time */ ++static int imx219_write_reg(struct imx219 *imx219, u16 reg, u32 len, u32 val) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ u8 buf[6]; ++ ++ if (len > 4) ++ return -EINVAL; ++ ++ put_unaligned_be16(reg, buf); ++ put_unaligned_be32(val << (8 * (4 - len)), buf + 2); ++ if (i2c_master_send(client, buf, len + 2) != len + 2) ++ return -EIO; ++ ++ return 0; ++} ++ ++/* Write a list of registers */ ++static int imx219_write_regs(struct imx219 *imx219, ++ const struct imx219_reg *regs, u32 len) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ unsigned int i; ++ int ret; ++ ++ for (i = 0; i < len; i++) { ++ ret = imx219_write_reg(imx219, regs[i].address, 1, regs[i].val); ++ if (ret) { ++ dev_err_ratelimited(&client->dev, ++ "Failed to write reg 0x%4.4x. error = %d\n", ++ regs[i].address, ret); ++ ++ return ret; ++ } ++ } ++ ++ return 0; ++} ++ ++/* Power/clock management functions */ ++static void imx219_power(struct imx219 *imx219, bool enable) ++{ ++ gpiod_set_value_cansleep(imx219->xclr_gpio, enable ? 1 : 0); ++} ++ ++static int imx219_set_power_on(struct imx219 *imx219) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ int ret; ++ ++ ret = clk_prepare_enable(imx219->xclk); ++ if (ret) { ++ dev_err(&client->dev, "%s: failed to enable clock\n", ++ __func__); ++ return ret; ++ } ++ ++ ret = regulator_bulk_enable(IMX219_NUM_SUPPLIES, ++ imx219->supplies); ++ if (ret) { ++ dev_err(&client->dev, "%s: failed to enable regulators\n", ++ __func__); ++ goto xclk_off; ++ } ++ ++ imx219_power(imx219, true); ++ msleep(IMX219_XCLR_DELAY_MS); ++ ++ return 0; ++xclk_off: ++ clk_disable_unprepare(imx219->xclk); ++ return ret; ++} ++ ++static void imx219_set_power_off(struct imx219 *imx219) ++{ ++ imx219_power(imx219, false); ++ regulator_bulk_disable(IMX219_NUM_SUPPLIES, imx219->supplies); ++ clk_disable_unprepare(imx219->xclk); ++} ++ ++static int imx219_set_power(struct imx219 *imx219, bool on) ++{ ++ int ret = 0; ++ ++ if (on) { ++ ret = imx219_set_power_on(imx219); ++ if (ret) ++ return ret; ++ } else { ++ imx219_set_power_off(imx219); ++ } ++ ++ return 0; ++} ++ ++/* Open sub-device */ ++static int imx219_s_power(struct v4l2_subdev *sd, int on) ++{ ++ struct imx219 *imx219 = to_imx219(sd); ++ int ret = 0; ++ ++ mutex_lock(&imx219->mutex); ++ ++ /* ++ * If the power count is modified from 0 to != 0 or from != 0 to 0, ++ * update the power state. ++ */ ++ if (imx219->power_count == !on) { ++ ret = imx219_set_power(imx219, !!on); ++ if (ret) ++ goto out; ++ } ++ ++ /* Update the power count. */ ++ imx219->power_count += on ? 1 : -1; ++ WARN_ON(imx219->power_count < 0); ++out: ++ mutex_unlock(&imx219->mutex); ++ ++ return ret; ++} ++ ++static int imx219_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) ++{ ++ struct v4l2_mbus_framefmt *try_fmt = ++ v4l2_subdev_get_try_format(sd, fh->pad, 0); ++ ++ /* Initialize try_fmt */ ++ try_fmt->width = supported_modes[0].width; ++ try_fmt->height = supported_modes[0].height; ++ try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; ++ try_fmt->field = V4L2_FIELD_NONE; ++ ++ return 0; ++} ++ ++static int imx219_set_ctrl(struct v4l2_ctrl *ctrl) ++{ ++ struct imx219 *imx219 = ++ container_of(ctrl->handler, struct imx219, ctrl_handler); ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ int ret = 0; ++ ++ /* ++ * Applying V4L2 control value only happens ++ * when power is up for streaming ++ */ ++ if (pm_runtime_get_if_in_use(&client->dev) == 0) ++ return 0; ++ ++ switch (ctrl->id) { ++ case V4L2_CID_ANALOGUE_GAIN: ++ ret = imx219_write_reg(imx219, IMX219_REG_ANALOG_GAIN, ++ IMX219_REG_VALUE_08BIT, ctrl->val); ++ break; ++ case V4L2_CID_EXPOSURE: ++ ret = imx219_write_reg(imx219, IMX219_REG_EXPOSURE, ++ IMX219_REG_VALUE_16BIT, ctrl->val); ++ break; ++ case V4L2_CID_DIGITAL_GAIN: ++ ret = imx219_write_reg(imx219, IMX219_REG_DIGITAL_GAIN, ++ IMX219_REG_VALUE_16BIT, ctrl->val); ++ break; ++ case V4L2_CID_TEST_PATTERN: ++ ret = imx219_write_reg(imx219, IMX219_REG_TEST_PATTERN, ++ IMX219_REG_VALUE_16BIT, ++ imx219_test_pattern_val[ctrl->val]); ++ break; ++ default: ++ dev_info(&client->dev, ++ "ctrl(id:0x%x,val:0x%x) is not handled\n", ++ ctrl->id, ctrl->val); ++ ret = -EINVAL; ++ break; ++ } ++ ++ pm_runtime_put(&client->dev); ++ ++ return ret; ++} ++ ++static const struct v4l2_ctrl_ops imx219_ctrl_ops = { ++ .s_ctrl = imx219_set_ctrl, ++}; ++ ++static int imx219_enum_mbus_code(struct v4l2_subdev *sd, ++ struct v4l2_subdev_pad_config *cfg, ++ struct v4l2_subdev_mbus_code_enum *code) ++{ ++ /* Only one bayer order(GRBG) is supported */ ++ if (code->index > 0) ++ return -EINVAL; ++ ++ code->code = MEDIA_BUS_FMT_SBGGR10_1X10; ++ ++ return 0; ++} ++ ++static int imx219_enum_frame_size(struct v4l2_subdev *sd, ++ struct v4l2_subdev_pad_config *cfg, ++ struct v4l2_subdev_frame_size_enum *fse) ++{ ++ if (fse->index >= ARRAY_SIZE(supported_modes)) ++ return -EINVAL; ++ ++ if (fse->code != MEDIA_BUS_FMT_SBGGR10_1X10) ++ return -EINVAL; ++ ++ fse->min_width = supported_modes[fse->index].width; ++ fse->max_width = fse->min_width; ++ fse->min_height = supported_modes[fse->index].height; ++ fse->max_height = fse->min_height; ++ ++ return 0; ++} ++ ++static void imx219_update_pad_format(const struct imx219_mode *mode, ++ struct v4l2_subdev_format *fmt) ++{ ++ fmt->format.width = mode->width; ++ fmt->format.height = mode->height; ++ fmt->format.code = MEDIA_BUS_FMT_SBGGR10_1X10; ++ fmt->format.field = V4L2_FIELD_NONE; ++} ++ ++static int __imx219_get_pad_format(struct imx219 *imx219, ++ struct v4l2_subdev_pad_config *cfg, ++ struct v4l2_subdev_format *fmt) ++{ ++ if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) ++ fmt->format = *v4l2_subdev_get_try_format(&imx219->sd, cfg, ++ fmt->pad); ++ else ++ imx219_update_pad_format(imx219->mode, fmt); ++ ++ return 0; ++} ++ ++static int imx219_get_pad_format(struct v4l2_subdev *sd, ++ struct v4l2_subdev_pad_config *cfg, ++ struct v4l2_subdev_format *fmt) ++{ ++ struct imx219 *imx219 = to_imx219(sd); ++ int ret; ++ ++ mutex_lock(&imx219->mutex); ++ ret = __imx219_get_pad_format(imx219, cfg, fmt); ++ mutex_unlock(&imx219->mutex); ++ ++ return ret; ++} ++ ++static int imx219_set_pad_format(struct v4l2_subdev *sd, ++ struct v4l2_subdev_pad_config *cfg, ++ struct v4l2_subdev_format *fmt) ++{ ++ struct imx219 *imx219 = to_imx219(sd); ++ const struct imx219_mode *mode; ++ struct v4l2_mbus_framefmt *framefmt; ++ ++ mutex_lock(&imx219->mutex); ++ ++ /* Only one raw bayer(BGGR) order is supported */ ++ fmt->format.code = MEDIA_BUS_FMT_SBGGR10_1X10; ++ ++ mode = v4l2_find_nearest_size(supported_modes, ++ ARRAY_SIZE(supported_modes), ++ width, height, ++ fmt->format.width, fmt->format.height); ++ imx219_update_pad_format(mode, fmt); ++ if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { ++ framefmt = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); ++ *framefmt = fmt->format; ++ } else { ++ imx219->mode = mode; ++ } ++ ++ mutex_unlock(&imx219->mutex); ++ ++ return 0; ++} ++ ++/* Start streaming */ ++static int imx219_start_streaming(struct imx219 *imx219) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ const struct imx219_reg_list *reg_list; ++ int ret; ++ ++ /* Apply default values of current mode */ ++ reg_list = &imx219->mode->reg_list; ++ ret = imx219_write_regs(imx219, reg_list->regs, reg_list->num_of_regs); ++ if (ret) { ++ dev_err(&client->dev, "%s failed to set mode\n", __func__); ++ return ret; ++ } ++ ++ /* ++ * Set VTS appropriately for frame rate control. ++ * Currently fixed per mode. ++ */ ++ ret = imx219_write_reg(imx219, IMX219_REG_VTS, ++ IMX219_REG_VALUE_16BIT, imx219->mode->vts_def); ++ if (ret) ++ return ret; ++ ++ /* Apply customized values from user */ ++ ret = __v4l2_ctrl_handler_setup(imx219->sd.ctrl_handler); ++ if (ret) ++ return ret; ++ ++ /* set stream on register */ ++ return imx219_write_reg(imx219, IMX219_REG_MODE_SELECT, ++ IMX219_REG_VALUE_08BIT, IMX219_MODE_STREAMING); ++} ++ ++/* Stop streaming */ ++static int imx219_stop_streaming(struct imx219 *imx219) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ int ret; ++ ++ /* set stream off register */ ++ ret = imx219_write_reg(imx219, IMX219_REG_MODE_SELECT, ++ IMX219_REG_VALUE_08BIT, IMX219_MODE_STANDBY); ++ if (ret) ++ dev_err(&client->dev, "%s failed to set stream\n", __func__); ++ ++ /* ++ * Return success even if it was an error, as there is nothing the ++ * caller can do about it. ++ */ ++ return 0; ++} ++ ++static int imx219_set_stream(struct v4l2_subdev *sd, int enable) ++{ ++ struct imx219 *imx219 = to_imx219(sd); ++ struct i2c_client *client = v4l2_get_subdevdata(sd); ++ int ret = 0; ++ ++ mutex_lock(&imx219->mutex); ++ if (imx219->streaming == enable) { ++ mutex_unlock(&imx219->mutex); ++ return 0; ++ } ++ ++ if (enable) { ++ ret = pm_runtime_get_sync(&client->dev); ++ if (ret < 0) { ++ pm_runtime_put_noidle(&client->dev); ++ goto err_unlock; ++ } ++ ++ /* ++ * Apply default & customized values ++ * and then start streaming. ++ */ ++ ret = imx219_start_streaming(imx219); ++ if (ret) { ++ pm_runtime_put(&client->dev); ++ goto err_unlock; ++ } ++ } else { ++ imx219_stop_streaming(imx219); ++ pm_runtime_put(&client->dev); ++ } ++ ++ imx219->streaming = enable; ++ mutex_unlock(&imx219->mutex); ++ ++ return ret; ++ ++err_unlock: ++ mutex_unlock(&imx219->mutex); ++ ++ return ret; ++} ++ ++static int __maybe_unused imx219_suspend(struct device *dev) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct v4l2_subdev *sd = i2c_get_clientdata(client); ++ struct imx219 *imx219 = to_imx219(sd); ++ ++ if (imx219->streaming) ++ imx219_stop_streaming(imx219); ++ ++ return 0; ++} ++ ++static int __maybe_unused imx219_resume(struct device *dev) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct v4l2_subdev *sd = i2c_get_clientdata(client); ++ struct imx219 *imx219 = to_imx219(sd); ++ int ret; ++ ++ if (imx219->streaming) { ++ ret = imx219_start_streaming(imx219); ++ if (ret) ++ goto error; ++ } ++ ++ return 0; ++ ++error: ++ imx219_stop_streaming(imx219); ++ imx219->streaming = 0; ++ return ret; ++} ++ ++static int imx219_get_regulators(struct imx219 *imx219) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ int i; ++ ++ for (i = 0; i < IMX219_NUM_SUPPLIES; i++) ++ imx219->supplies[i].supply = imx219_supply_name[i]; ++ ++ return devm_regulator_bulk_get(&client->dev, ++ IMX219_NUM_SUPPLIES, ++ imx219->supplies); ++} ++ ++/* Verify chip ID */ ++static int imx219_identify_module(struct imx219 *imx219) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ int ret; ++ u32 val; ++ ++ ret = imx219_set_power_on(imx219); ++ if (ret) ++ return ret; ++ ++ ret = imx219_read_reg(imx219, IMX219_REG_CHIP_ID, ++ IMX219_REG_VALUE_16BIT, &val); ++ if (ret) { ++ dev_err(&client->dev, "failed to read chip id %x\n", ++ IMX219_CHIP_ID); ++ goto power_off; ++ } ++ ++ if (val != IMX219_CHIP_ID) { ++ dev_err(&client->dev, "chip id mismatch: %x!=%x\n", ++ IMX219_CHIP_ID, val); ++ ret = -EIO; ++ } ++ ++power_off: ++ imx219_set_power_off(imx219); ++ return ret; ++} ++ ++static const struct v4l2_subdev_core_ops imx219_core_ops = { ++ .s_power = imx219_s_power, ++}; ++ ++static const struct v4l2_subdev_video_ops imx219_video_ops = { ++ .s_stream = imx219_set_stream, ++}; ++ ++static const struct v4l2_subdev_pad_ops imx219_pad_ops = { ++ .enum_mbus_code = imx219_enum_mbus_code, ++ .get_fmt = imx219_get_pad_format, ++ .set_fmt = imx219_set_pad_format, ++ .enum_frame_size = imx219_enum_frame_size, ++}; ++ ++static const struct v4l2_subdev_ops imx219_subdev_ops = { ++ .core = &imx219_core_ops, ++ .video = &imx219_video_ops, ++ .pad = &imx219_pad_ops, ++}; ++ ++static const struct v4l2_subdev_internal_ops imx219_internal_ops = { ++ .open = imx219_open, ++}; ++ ++/* Initialize control handlers */ ++static int imx219_init_controls(struct imx219 *imx219) ++{ ++ struct i2c_client *client = v4l2_get_subdevdata(&imx219->sd); ++ struct v4l2_ctrl_handler *ctrl_hdlr; ++ int ret; ++ ++ ctrl_hdlr = &imx219->ctrl_handler; ++ ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); ++ if (ret) ++ return ret; ++ ++ mutex_init(&imx219->mutex); ++ ctrl_hdlr->lock = &imx219->mutex; ++ ++ imx219->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &imx219_ctrl_ops, ++ V4L2_CID_EXPOSURE, ++ IMX219_EXPOSURE_MIN, ++ IMX219_EXPOSURE_MAX, ++ IMX219_EXPOSURE_STEP, ++ IMX219_EXPOSURE_DEFAULT); ++ ++ v4l2_ctrl_new_std(ctrl_hdlr, &imx219_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, ++ IMX219_ANA_GAIN_MIN, IMX219_ANA_GAIN_MAX, ++ IMX219_ANA_GAIN_STEP, IMX219_ANA_GAIN_DEFAULT); ++ ++ v4l2_ctrl_new_std(ctrl_hdlr, &imx219_ctrl_ops, V4L2_CID_DIGITAL_GAIN, ++ IMX219_DGTL_GAIN_MIN, IMX219_DGTL_GAIN_MAX, ++ IMX219_DGTL_GAIN_STEP, IMX219_DGTL_GAIN_DEFAULT); ++ ++ v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &imx219_ctrl_ops, ++ V4L2_CID_TEST_PATTERN, ++ ARRAY_SIZE(imx219_test_pattern_menu) - 1, ++ 0, 0, imx219_test_pattern_menu); ++ ++ if (ctrl_hdlr->error) { ++ ret = ctrl_hdlr->error; ++ dev_err(&client->dev, "%s control init failed (%d)\n", ++ __func__, ret); ++ goto error; ++ } ++ ++ imx219->sd.ctrl_handler = ctrl_hdlr; ++ ++ return 0; ++ ++error: ++ v4l2_ctrl_handler_free(ctrl_hdlr); ++ mutex_destroy(&imx219->mutex); ++ ++ return ret; ++} ++ ++static void imx219_free_controls(struct imx219 *imx219) ++{ ++ v4l2_ctrl_handler_free(imx219->sd.ctrl_handler); ++ mutex_destroy(&imx219->mutex); ++} ++ ++static int imx219_probe(struct i2c_client *client, ++ const struct i2c_device_id *id) ++{ ++ struct device *dev = &client->dev; ++ struct fwnode_handle *endpoint; ++ struct imx219 *imx219; ++ int ret; ++ ++ imx219 = devm_kzalloc(&client->dev, sizeof(*imx219), GFP_KERNEL); ++ if (!imx219) ++ return -ENOMEM; ++ ++ /* Initialize subdev */ ++ v4l2_i2c_subdev_init(&imx219->sd, client, &imx219_subdev_ops); ++ ++ /* Get CSI2 bus config */ ++ endpoint = fwnode_graph_get_next_endpoint(dev_fwnode(&client->dev), ++ NULL); ++ if (!endpoint) { ++ dev_err(dev, "endpoint node not found\n"); ++ return -EINVAL; ++ } ++ ++ ret = v4l2_fwnode_endpoint_parse(endpoint, &imx219->ep); ++ fwnode_handle_put(endpoint); ++ if (ret) { ++ dev_err(dev, "Could not parse endpoint\n"); ++ return ret; ++ } ++ ++ /* Get system clock (xclk) */ ++ imx219->xclk = devm_clk_get(dev, "xclk"); ++ if (IS_ERR(imx219->xclk)) { ++ dev_err(dev, "failed to get xclk\n"); ++ return PTR_ERR(imx219->xclk); ++ } ++ ++ imx219->xclk_freq = clk_get_rate(imx219->xclk); ++ if (imx219->xclk_freq != 24000000) { ++ dev_err(dev, "xclk frequency not supported: %d Hz\n", ++ imx219->xclk_freq); ++ return -EINVAL; ++ } ++ ++ ret = imx219_get_regulators(imx219); ++ if (ret) ++ return ret; ++ ++ /* request optional power down pin */ ++ imx219->xclr_gpio = devm_gpiod_get_optional(dev, "xclr", ++ GPIOD_OUT_HIGH); ++ ++ /* Check module identity */ ++ ret = imx219_identify_module(imx219); ++ if (ret) ++ return ret; ++ ++ /* Set default mode to max resolution */ ++ imx219->mode = &supported_modes[0]; ++ ++ ret = imx219_init_controls(imx219); ++ if (ret) ++ return ret; ++ ++ /* Initialize subdev */ ++ imx219->sd.internal_ops = &imx219_internal_ops; ++ imx219->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; ++ imx219->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR; ++ ++ /* Initialize source pad */ ++ imx219->pad.flags = MEDIA_PAD_FL_SOURCE; ++ ++ ret = media_entity_pads_init(&imx219->sd.entity, 1, &imx219->pad); ++ if (ret) ++ goto error_handler_free; ++ ++ ret = v4l2_async_register_subdev_sensor_common(&imx219->sd); ++ if (ret < 0) ++ goto error_media_entity; ++ ++ pm_runtime_set_active(&client->dev); ++ pm_runtime_enable(&client->dev); ++ pm_runtime_idle(&client->dev); ++ ++ return 0; ++ ++error_media_entity: ++ media_entity_cleanup(&imx219->sd.entity); ++ ++error_handler_free: ++ imx219_free_controls(imx219); ++ ++ return ret; ++} ++ ++static int imx219_remove(struct i2c_client *client) ++{ ++ struct v4l2_subdev *sd = i2c_get_clientdata(client); ++ struct imx219 *imx219 = to_imx219(sd); ++ ++ v4l2_async_unregister_subdev(sd); ++ media_entity_cleanup(&sd->entity); ++ imx219_free_controls(imx219); ++ ++ pm_runtime_disable(&client->dev); ++ pm_runtime_set_suspended(&client->dev); ++ ++ return 0; ++} ++ ++static const struct of_device_id imx219_dt_ids[] = { ++ { .compatible = "sony,imx219" }, ++ { /* sentinel */ } ++}; ++MODULE_DEVICE_TABLE(of, imx219_dt_ids); ++ ++static struct i2c_driver imx219_i2c_driver = { ++ .driver = { ++ .name = "imx219", ++ .of_match_table = imx219_dt_ids, ++ }, ++ .probe = imx219_probe, ++ .remove = imx219_remove, ++}; ++ ++module_i2c_driver(imx219_i2c_driver); ++ ++MODULE_AUTHOR("Dave Stevenson +Date: Wed, 28 Aug 2019 13:35:10 +0100 +Subject: [PATCH 780/806] defconfigs: Add Sony IMX219 driver to RPi defconfigs + +Signed-off-by: Dave Stevenson +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcm2711_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + arch/arm64/configs/bcm2711_defconfig | 1 + + arch/arm64/configs/bcmrpi3_defconfig | 1 + + 5 files changed, 5 insertions(+) + +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -914,6 +914,7 @@ CONFIG_VIDEO_TVP5150=m + CONFIG_VIDEO_TW2804=m + CONFIG_VIDEO_TW9903=m + CONFIG_VIDEO_TW9906=m ++CONFIG_VIDEO_IMX219=m + CONFIG_VIDEO_OV5647=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m +--- a/arch/arm/configs/bcm2711_defconfig ++++ b/arch/arm/configs/bcm2711_defconfig +@@ -924,6 +924,7 @@ CONFIG_VIDEO_TVP5150=m + CONFIG_VIDEO_TW2804=m + CONFIG_VIDEO_TW9903=m + CONFIG_VIDEO_TW9906=m ++CONFIG_VIDEO_IMX219=m + CONFIG_VIDEO_OV5647=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -906,6 +906,7 @@ CONFIG_VIDEO_TVP5150=m + CONFIG_VIDEO_TW2804=m + CONFIG_VIDEO_TW9903=m + CONFIG_VIDEO_TW9906=m ++CONFIG_VIDEO_IMX219=m + CONFIG_VIDEO_OV5647=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m +--- a/arch/arm64/configs/bcm2711_defconfig ++++ b/arch/arm64/configs/bcm2711_defconfig +@@ -784,6 +784,7 @@ CONFIG_VIDEO_TVP5150=m + CONFIG_VIDEO_TW2804=m + CONFIG_VIDEO_TW9903=m + CONFIG_VIDEO_TW9906=m ++CONFIG_VIDEO_IMX219=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m + CONFIG_DRM=m +--- a/arch/arm64/configs/bcmrpi3_defconfig ++++ b/arch/arm64/configs/bcmrpi3_defconfig +@@ -761,6 +761,7 @@ CONFIG_VIDEO_TVP5150=m + CONFIG_VIDEO_TW2804=m + CONFIG_VIDEO_TW9903=m + CONFIG_VIDEO_TW9906=m ++CONFIG_VIDEO_IMX219=m + CONFIG_VIDEO_OV5647=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m diff --git a/target/linux/brcm2708/patches-4.19/950-0781-dtoverlays-Add-overlay-for-the-Sony-IMX219-image-sen.patch b/target/linux/brcm2708/patches-4.19/950-0781-dtoverlays-Add-overlay-for-the-Sony-IMX219-image-sen.patch new file mode 100644 index 0000000000..dca8481ec4 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0781-dtoverlays-Add-overlay-for-the-Sony-IMX219-image-sen.patch @@ -0,0 +1,180 @@ +From 7a4d12054b24c8cb980be4c6466b50c14beb78d3 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Wed, 28 Aug 2019 13:35:19 +0100 +Subject: [PATCH 781/806] dtoverlays: Add overlay for the Sony IMX219 image + sensor. + +Adds an overlay for the IMX219 image sensor, connected to the +Unicam CSI2 receiver peripheral. + +Signed-off-by: Dave Stevenson +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 12 ++ + arch/arm/boot/dts/overlays/imx219-overlay.dts | 129 ++++++++++++++++++ + 3 files changed, 142 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/imx219-overlay.dts + +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -77,6 +77,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ + i2c6.dtbo \ + i2s-gpio28-31.dtbo \ + ilitek251x.dtbo \ ++ imx219.dtbo \ + iqaudio-codec.dtbo \ + iqaudio-dac.dtbo \ + iqaudio-dacplus.dtbo \ +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -1269,6 +1269,18 @@ Params: interrupt GPIO use + touchscreen (in pixels) + + ++Name: imx219 ++Info: Sony IMX219 camera module. ++ Uses Unicam 1, which is the standard camera connector on most Pi ++ variants. ++Load: dtoverlay=imx219,= ++Params: i2c_pins_0_1 Use pins 0&1 for the I2C instead of 44&45. ++ Useful on Compute Modules. ++ ++ i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45. ++ This is required for Pi B+, 2, 0, and 0W. ++ ++ + Name: iqaudio-codec + Info: Configures the IQaudio Codec audio card + Load: dtoverlay=iqaudio-codec +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/imx219-overlay.dts +@@ -0,0 +1,129 @@ ++// SPDX-License-Identifier: GPL-2.0-only ++// Definitions for IMX219 camera module on VC I2C bus ++/dts-v1/; ++/plugin/; ++ ++#include ++ ++/{ ++ compatible = "brcm,bcm2835"; ++ ++ fragment@0 { ++ target = <&i2c_vc>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ imx219: imx219@10 { ++ compatible = "sony,imx219"; ++ reg = <0x10>; ++ status = "okay"; ++ ++ clocks = <&imx219_clk>; ++ clock-names = "xclk"; ++ ++ VANA-supply = <&imx219_vana>; /* 2.8v */ ++ VDIG-supply = <&imx219_vdig>; /* 1.8v */ ++ VDDL-supply = <&imx219_vddl>; /* 1.2v */ ++ ++ imx219_clk: camera-clk { ++ compatible = "fixed-clock"; ++ #clock-cells = <0>; ++ clock-frequency = <24000000>; ++ }; ++ ++ port { ++ imx219_0: endpoint { ++ remote-endpoint = <&csi1_ep>; ++ clock-lanes = <0>; ++ data-lanes = <1 2>; ++ clock-noncontinuous; ++ link-frequencies = ++ /bits/ 64 <297000000>; ++ }; ++ }; ++ }; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&csi1>; ++ __overlay__ { ++ status = "okay"; ++ ++ port { ++ csi1_ep: endpoint { ++ remote-endpoint = <&imx219_0>; ++ }; ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2c0_pins>; ++ __dormant__ { ++ brcm,pins = <28 29>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ }; ++ fragment@3 { ++ target = <&i2c0_pins>; ++ __overlay__ { ++ brcm,pins = <44 45>; ++ brcm,function = <5>; /* alt1 */ ++ }; ++ }; ++ fragment@4 { ++ target = <&i2c0_pins>; ++ __dormant__ { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ }; ++ fragment@5 { ++ target = <&i2c_vc>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@6 { ++ target-path="/"; ++ __overlay__ { ++ imx219_vana: fixedregulator@0 { ++ compatible = "regulator-fixed"; ++ regulator-name = "imx219_vana"; ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; ++ gpio = <&gpio 41 GPIO_ACTIVE_HIGH>; ++ enable-active-high; ++ }; ++ imx219_vdig: fixedregulator@1 { ++ compatible = "regulator-fixed"; ++ regulator-name = "imx219_vdig"; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ }; ++ imx219_vddl: fixedregulator@2 { ++ compatible = "regulator-fixed"; ++ regulator-name = "imx219_vddl"; ++ regulator-min-microvolt = <1200000>; ++ regulator-max-microvolt = <1200000>; ++ }; ++ }; ++ }; ++ ++ fragment@7 { ++ target-path="/__overrides__"; ++ __overlay__ { ++ cam0-pwdn-ctrl = <&imx219_vana>,"gpio:0"; ++ cam0-pwdn = <&imx219_vana>,"gpio:4"; ++ }; ++ }; ++ ++ __overrides__ { ++ i2c_pins_0_1 = <0>,"-2-3+4"; ++ i2c_pins_28_29 = <0>,"+2-3-4"; ++ }; ++}; diff --git a/target/linux/brcm2708/patches-4.19/950-0782-staging-bcm2835-codec-Fix-non-documentation-comment-.patch b/target/linux/brcm2708/patches-4.19/950-0782-staging-bcm2835-codec-Fix-non-documentation-comment-.patch new file mode 100644 index 0000000000..2f9cc38d01 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0782-staging-bcm2835-codec-Fix-non-documentation-comment-.patch @@ -0,0 +1,27 @@ +From d4fc8b1d50522b416baeb1d1f5e5498000af5a7f Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Sun, 28 Apr 2019 12:15:35 +0200 +Subject: [PATCH 782/806] staging: bcm2835-codec: Fix non-documentation comment + block + +The job_ready comment is incorrectly using the documentation prefix +(/**) which causes a warning at build time. + +Simplify it. + +Signed-off-by: Kieran Bingham +--- + .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -557,7 +557,7 @@ static struct vchiq_mmal_port *get_port_ + * mem2mem callbacks + */ + +-/** ++/* + * job_ready() - check whether an instance is ready to be scheduled to run + */ + static int job_ready(void *priv) diff --git a/target/linux/brcm2708/patches-4.19/950-0783-staging-bcm2835-codec-Fix-declaration-of-roles.patch b/target/linux/brcm2708/patches-4.19/950-0783-staging-bcm2835-codec-Fix-declaration-of-roles.patch new file mode 100644 index 0000000000..98bc159bc7 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0783-staging-bcm2835-codec-Fix-declaration-of-roles.patch @@ -0,0 +1,26 @@ +From 2d17824e8e5b2b6a6b830b8fe26c71a7d396f760 Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Wed, 20 Mar 2019 11:42:39 +0000 +Subject: [PATCH 783/806] staging: bcm2835-codec: Fix declaration of roles + +The static role text is declared incorrectly. The static should be +first, and the roles should also be constified. + +Convert from "const static char *" to "static const char * const". + +Signed-off-by: Kieran Bingham +--- + .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -77,7 +77,7 @@ enum bcm2835_codec_role { + ISP, + }; + +-const static char *roles[] = { ++static const char * const roles[] = { + "decode", + "encode", + "isp" diff --git a/target/linux/brcm2708/patches-4.19/950-0784-staging-bcm2835-codec-Add-role-to-device-name.patch b/target/linux/brcm2708/patches-4.19/950-0784-staging-bcm2835-codec-Add-role-to-device-name.patch new file mode 100644 index 0000000000..de7263ba64 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0784-staging-bcm2835-codec-Add-role-to-device-name.patch @@ -0,0 +1,45 @@ +From ca613ed735fc52e68189d2ad0880f1007b931d78 Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Wed, 20 Mar 2019 11:55:43 +0000 +Subject: [PATCH 784/806] staging: bcm2835-codec: Add role to device name + +Three entities are created, Decode, Encode and ISP but all of the video +nodes use the same video name string "bcm2835-codec" which makes it +difficult to identify each role. + +Append the role-name to the video name to facilitate identifying a +specific instance from userspace. + +The Card-Type is also extended with the role name to support identifying +the device context from within QUERY_CAP operations. + +Signed-off-by: Kieran Bingham +--- + .../vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -947,8 +947,10 @@ static void device_run(void *priv) + static int vidioc_querycap(struct file *file, void *priv, + struct v4l2_capability *cap) + { ++ struct bcm2835_codec_dev *dev = video_drvdata(file); ++ + strncpy(cap->driver, MEM2MEM_NAME, sizeof(cap->driver) - 1); +- strncpy(cap->card, MEM2MEM_NAME, sizeof(cap->card) - 1); ++ strncpy(cap->card, dev->vfd.name, sizeof(cap->card) - 1); + snprintf(cap->bus_info, sizeof(cap->bus_info), "platform:%s", + MEM2MEM_NAME); + return 0; +@@ -2657,8 +2659,8 @@ static int bcm2835_codec_create(struct p + } + + video_set_drvdata(vfd, dev); +- snprintf(vfd->name, sizeof(vfd->name), "%s", +- bcm2835_codec_videodev.name); ++ snprintf(vfd->name, sizeof(vfd->name), "%s-%s", ++ bcm2835_codec_videodev.name, roles[role]); + v4l2_info(&dev->v4l2_dev, "Device registered as /dev/video%d\n", + vfd->num); + diff --git a/target/linux/brcm2708/patches-4.19/950-0785-staging-bcm2835-codec-Pass-driver-context-to-create-.patch b/target/linux/brcm2708/patches-4.19/950-0785-staging-bcm2835-codec-Pass-driver-context-to-create-.patch new file mode 100644 index 0000000000..514d1cc731 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0785-staging-bcm2835-codec-Pass-driver-context-to-create-.patch @@ -0,0 +1,61 @@ +From 9243f7de67345adfcac52198f78bd12cfebb6867 Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Wed, 20 Mar 2019 11:35:26 +0000 +Subject: [PATCH 785/806] staging: bcm2835-codec: Pass driver context to create + entities + +Pass the bcm2835_codec_driver driver context directly into the +bcm2835_codec_create() so that it can be used to store driver global +state. Pass the struct platform_device *pdev by adding it to the driver +global state. + +Signed-off-by: Kieran Bingham +--- + .../bcm2835-codec/bcm2835-v4l2-codec.c | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -457,6 +457,8 @@ struct bcm2835_codec_ctx { + }; + + struct bcm2835_codec_driver { ++ struct platform_device *pdev; ++ + struct bcm2835_codec_dev *encode; + struct bcm2835_codec_dev *decode; + struct bcm2835_codec_dev *isp; +@@ -2587,10 +2589,11 @@ destroy_component: + return ret; + } + +-static int bcm2835_codec_create(struct platform_device *pdev, ++static int bcm2835_codec_create(struct bcm2835_codec_driver *drv, + struct bcm2835_codec_dev **new_dev, + enum bcm2835_codec_role role) + { ++ struct platform_device *pdev = drv->pdev; + struct bcm2835_codec_dev *dev; + struct video_device *vfd; + int video_nr; +@@ -2711,15 +2714,17 @@ static int bcm2835_codec_probe(struct pl + if (!drv) + return -ENOMEM; + +- ret = bcm2835_codec_create(pdev, &drv->decode, DECODE); ++ drv->pdev = pdev; ++ ++ ret = bcm2835_codec_create(drv, &drv->decode, DECODE); + if (ret) + goto out; + +- ret = bcm2835_codec_create(pdev, &drv->encode, ENCODE); ++ ret = bcm2835_codec_create(drv, &drv->encode, ENCODE); + if (ret) + goto out; + +- ret = bcm2835_codec_create(pdev, &drv->isp, ISP); ++ ret = bcm2835_codec_create(drv, &drv->isp, ISP); + if (ret) + goto out; + diff --git a/target/linux/brcm2708/patches-4.19/950-0786-staging-bcm2835-codec-add-media-controller-support.patch b/target/linux/brcm2708/patches-4.19/950-0786-staging-bcm2835-codec-add-media-controller-support.patch new file mode 100644 index 0000000000..c910bf1a87 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0786-staging-bcm2835-codec-add-media-controller-support.patch @@ -0,0 +1,163 @@ +From d1ceb85b7c6c7c3eec8b424e0172c29e93a570f2 Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Wed, 20 Mar 2019 12:54:15 +0000 +Subject: [PATCH 786/806] staging: bcm2835-codec: add media controller support + +Provide a single media device to contain all of the bcm2835_codec +devices created. + +Signed-off-by: Kieran Bingham +--- + .../vc04_services/bcm2835-codec/Kconfig | 2 +- + .../bcm2835-codec/bcm2835-v4l2-codec.c | 41 +++++++++++++++++-- + 2 files changed, 38 insertions(+), 5 deletions(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/Kconfig ++++ b/drivers/staging/vc04_services/bcm2835-codec/Kconfig +@@ -1,6 +1,6 @@ + config VIDEO_CODEC_BCM2835 + tristate "BCM2835 Video codec support" +- depends on MEDIA_SUPPORT ++ depends on MEDIA_SUPPORT && MEDIA_CONTROLLER + depends on VIDEO_V4L2 && (ARCH_BCM2835 || COMPILE_TEST) + select BCM2835_VCHIQ_MMAL + select VIDEOBUF2_DMA_CONTIG +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -458,6 +458,7 @@ struct bcm2835_codec_ctx { + + struct bcm2835_codec_driver { + struct platform_device *pdev; ++ struct media_device mdev; + + struct bcm2835_codec_dev *encode; + struct bcm2835_codec_dev *decode; +@@ -2596,6 +2597,7 @@ static int bcm2835_codec_create(struct b + struct platform_device *pdev = drv->pdev; + struct bcm2835_codec_dev *dev; + struct video_device *vfd; ++ int function; + int video_nr; + int ret; + +@@ -2615,18 +2617,21 @@ static int bcm2835_codec_create(struct b + if (ret) + goto vchiq_finalise; + +- ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); +- if (ret) +- goto vchiq_finalise; +- + atomic_set(&dev->num_inst, 0); + mutex_init(&dev->dev_mutex); + ++ /* Initialise the video device */ + dev->vfd = bcm2835_codec_videodev; ++ + vfd = &dev->vfd; + vfd->lock = &dev->dev_mutex; + vfd->v4l2_dev = &dev->v4l2_dev; + vfd->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | V4L2_CAP_STREAMING; ++ vfd->v4l2_dev->mdev = &drv->mdev; ++ ++ ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); ++ if (ret) ++ goto vchiq_finalise; + + switch (role) { + case DECODE: +@@ -2634,11 +2639,13 @@ static int bcm2835_codec_create(struct b + v4l2_disable_ioctl(vfd, VIDIOC_TRY_ENCODER_CMD); + v4l2_disable_ioctl(vfd, VIDIOC_S_PARM); + v4l2_disable_ioctl(vfd, VIDIOC_G_PARM); ++ function = MEDIA_ENT_F_PROC_VIDEO_DECODER; + video_nr = decode_video_nr; + break; + case ENCODE: + v4l2_disable_ioctl(vfd, VIDIOC_DECODER_CMD); + v4l2_disable_ioctl(vfd, VIDIOC_TRY_DECODER_CMD); ++ function = MEDIA_ENT_F_PROC_VIDEO_ENCODER; + video_nr = encode_video_nr; + break; + case ISP: +@@ -2648,6 +2655,7 @@ static int bcm2835_codec_create(struct b + v4l2_disable_ioctl(vfd, VIDIOC_TRY_DECODER_CMD); + v4l2_disable_ioctl(vfd, VIDIOC_S_PARM); + v4l2_disable_ioctl(vfd, VIDIOC_G_PARM); ++ function = MEDIA_ENT_F_PROC_VIDEO_SCALER; + video_nr = isp_video_nr; + break; + default: +@@ -2676,6 +2684,10 @@ static int bcm2835_codec_create(struct b + goto err_m2m; + } + ++ ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, function); ++ if (ret) ++ goto err_m2m; ++ + v4l2_info(&dev->v4l2_dev, "Loaded V4L2 %s\n", + roles[role]); + return 0; +@@ -2697,6 +2709,7 @@ static int bcm2835_codec_destroy(struct + + v4l2_info(&dev->v4l2_dev, "Removing " MEM2MEM_NAME ", %s\n", + roles[dev->role]); ++ v4l2_m2m_unregister_media_controller(dev->m2m_dev); + v4l2_m2m_release(dev->m2m_dev); + video_unregister_device(&dev->vfd); + v4l2_device_unregister(&dev->v4l2_dev); +@@ -2708,6 +2721,7 @@ static int bcm2835_codec_destroy(struct + static int bcm2835_codec_probe(struct platform_device *pdev) + { + struct bcm2835_codec_driver *drv; ++ struct media_device *mdev; + int ret = 0; + + drv = devm_kzalloc(&pdev->dev, sizeof(*drv), GFP_KERNEL); +@@ -2715,6 +2729,17 @@ static int bcm2835_codec_probe(struct pl + return -ENOMEM; + + drv->pdev = pdev; ++ mdev = &drv->mdev; ++ mdev->dev = &pdev->dev; ++ ++ strscpy(mdev->model, bcm2835_codec_videodev.name, sizeof(mdev->model)); ++ strscpy(mdev->serial, "0000", sizeof(mdev->serial)); ++ snprintf(mdev->bus_info, sizeof(mdev->bus_info), "platform:%s", ++ pdev->name); ++ ++ /* This should return the vgencmd version information or such .. */ ++ mdev->hw_revision = 1; ++ media_device_init(mdev); + + ret = bcm2835_codec_create(drv, &drv->decode, DECODE); + if (ret) +@@ -2728,6 +2753,10 @@ static int bcm2835_codec_probe(struct pl + if (ret) + goto out; + ++ /* Register the media device node */ ++ if (media_device_register(mdev) < 0) ++ goto out; ++ + platform_set_drvdata(pdev, drv); + + return 0; +@@ -2748,12 +2777,16 @@ static int bcm2835_codec_remove(struct p + { + struct bcm2835_codec_driver *drv = platform_get_drvdata(pdev); + ++ media_device_unregister(&drv->mdev); ++ + bcm2835_codec_destroy(drv->isp); + + bcm2835_codec_destroy(drv->encode); + + bcm2835_codec_destroy(drv->decode); + ++ media_device_cleanup(&drv->mdev); ++ + return 0; + } + diff --git a/target/linux/brcm2708/patches-4.19/950-0787-media-bcm2835-unicam-Reduce-scope-of-local-function.patch b/target/linux/brcm2708/patches-4.19/950-0787-media-bcm2835-unicam-Reduce-scope-of-local-function.patch new file mode 100644 index 0000000000..31567c0fce --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0787-media-bcm2835-unicam-Reduce-scope-of-local-function.patch @@ -0,0 +1,29 @@ +From 4924b7b5517c9c334cf5faa3c7a29adf9a0c0ba1 Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Wed, 28 Aug 2019 15:54:19 +0100 +Subject: [PATCH 787/806] media: bcm2835: unicam: Reduce scope of local + function + +unicam_start_rx() is not used outside of the unicam module. Its current +definition produces a compiler warning, that no function prototype +exists. + +As the function is only used within the local scope of the module, +convert it to a static function. + +Signed-off-by: Kieran Bingham +--- + drivers/media/platform/bcm2835/bcm2835-unicam.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/media/platform/bcm2835/bcm2835-unicam.c ++++ b/drivers/media/platform/bcm2835/bcm2835-unicam.c +@@ -963,7 +963,7 @@ static void unicam_cfg_image_id(struct u + } + } + +-void unicam_start_rx(struct unicam_device *dev, unsigned long addr) ++static void unicam_start_rx(struct unicam_device *dev, unsigned long addr) + { + struct unicam_cfg *cfg = &dev->cfg; + int line_int_freq = dev->v_fmt.fmt.pix.height >> 2; diff --git a/target/linux/brcm2708/patches-4.19/950-0788-media-bcm2835-unicam-add-media-controller-support.patch b/target/linux/brcm2708/patches-4.19/950-0788-media-bcm2835-unicam-add-media-controller-support.patch new file mode 100644 index 0000000000..2209841dc6 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0788-media-bcm2835-unicam-add-media-controller-support.patch @@ -0,0 +1,128 @@ +From 06cd9857f8faa63321506a75988c475906a32970 Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Wed, 20 Mar 2019 12:54:47 +0000 +Subject: [PATCH 788/806] media: bcm2835: unicam: add media controller support + +Add a media controller device node to represent the Unicam device. +The attached sensor will be automatically added to the media graph by +V4L2 core. + +Signed-off-by: Kieran Bingham +--- + drivers/media/platform/bcm2835/Kconfig | 2 +- + .../media/platform/bcm2835/bcm2835-unicam.c | 46 ++++++++++++++++++- + 2 files changed, 45 insertions(+), 3 deletions(-) + +--- a/drivers/media/platform/bcm2835/Kconfig ++++ b/drivers/media/platform/bcm2835/Kconfig +@@ -2,7 +2,7 @@ + + config VIDEO_BCM2835_UNICAM + tristate "Broadcom BCM2835 Unicam video capture driver" +- depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API ++ depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER + depends on ARCH_BCM2835 || COMPILE_TEST + select VIDEOBUF2_DMA_CONTIG + select V4L2_FWNODE +--- a/drivers/media/platform/bcm2835/bcm2835-unicam.c ++++ b/drivers/media/platform/bcm2835/bcm2835-unicam.c +@@ -314,6 +314,9 @@ struct unicam_device { + struct clk *clock; + /* V4l2 device */ + struct v4l2_device v4l2_dev; ++ struct media_device mdev; ++ struct media_pad pad; ++ + /* parent device */ + struct platform_device *pdev; + /* subdevice async Notifier */ +@@ -1912,6 +1915,8 @@ static int unicam_probe_complete(struct + unicam->v4l2_dev.ctrl_handler = NULL; + + video_set_drvdata(vdev, unicam); ++ vdev->entity.flags |= MEDIA_ENT_FL_DEFAULT; ++ + ret = video_register_device(vdev, VFL_TYPE_GRABBER, -1); + if (ret) { + unicam_err(unicam, "Unable to register video device.\n"); +@@ -1953,6 +1958,16 @@ static int unicam_probe_complete(struct + return ret; + } + ++ ret = media_create_pad_link(&unicam->sensor->entity, 0, ++ &unicam->video_dev.entity, 0, ++ MEDIA_LNK_FL_ENABLED | ++ MEDIA_LNK_FL_IMMUTABLE); ++ if (ret) { ++ unicam_err(unicam, "Unable to create pad links.\n"); ++ video_unregister_device(&unicam->video_dev); ++ return ret; ++ } ++ + return 0; + } + +@@ -2155,18 +2170,38 @@ static int unicam_probe(struct platform_ + return -EINVAL; + } + ++ unicam->mdev.dev = &pdev->dev; ++ strscpy(unicam->mdev.model, UNICAM_MODULE_NAME, ++ sizeof(unicam->mdev.model)); ++ strscpy(unicam->mdev.serial, "", sizeof(unicam->mdev.serial)); ++ snprintf(unicam->mdev.bus_info, sizeof(unicam->mdev.bus_info), ++ "platform:%s", pdev->name); ++ unicam->mdev.hw_revision = 1; ++ ++ media_entity_pads_init(&unicam->video_dev.entity, 1, &unicam->pad); ++ media_device_init(&unicam->mdev); ++ ++ unicam->v4l2_dev.mdev = &unicam->mdev; ++ + ret = v4l2_device_register(&pdev->dev, &unicam->v4l2_dev); + if (ret) { + unicam_err(unicam, + "Unable to register v4l2 device.\n"); +- return ret; ++ goto media_cleanup; ++ } ++ ++ ret = media_device_register(&unicam->mdev); ++ if (ret < 0) { ++ unicam_err(unicam, ++ "Unable to register media-controller device.\n"); ++ goto probe_out_v4l2_unregister; + } + + /* Reserve space for the controls */ + hdl = &unicam->ctrl_handler; + ret = v4l2_ctrl_handler_init(hdl, 16); + if (ret < 0) +- goto probe_out_v4l2_unregister; ++ goto media_unregister; + unicam->v4l2_dev.ctrl_handler = hdl; + + /* set the driver data in platform device */ +@@ -2185,8 +2220,13 @@ static int unicam_probe(struct platform_ + + free_hdl: + v4l2_ctrl_handler_free(hdl); ++media_unregister: ++ media_device_unregister(&unicam->mdev); + probe_out_v4l2_unregister: + v4l2_device_unregister(&unicam->v4l2_dev); ++media_cleanup: ++ media_device_cleanup(&unicam->mdev); ++ + return ret; + } + +@@ -2204,6 +2244,8 @@ static int unicam_remove(struct platform + video_unregister_device(&unicam->video_dev); + if (unicam->sensor_config) + v4l2_subdev_free_pad_config(unicam->sensor_config); ++ media_device_unregister(&unicam->mdev); ++ media_device_cleanup(&unicam->mdev); + + return 0; + } diff --git a/target/linux/brcm2708/patches-4.19/952-0002-Limit-max_req_size-under-arm64-or-any-other-platform.patch b/target/linux/brcm2708/patches-4.19/950-0789-Limit-max_req_size-under-arm64-or-any-other-platform.patch similarity index 80% rename from target/linux/brcm2708/patches-4.19/952-0002-Limit-max_req_size-under-arm64-or-any-other-platform.patch rename to target/linux/brcm2708/patches-4.19/950-0789-Limit-max_req_size-under-arm64-or-any-other-platform.patch index 7c5806d1a0..9bb869fe8a 100644 --- a/target/linux/brcm2708/patches-4.19/952-0002-Limit-max_req_size-under-arm64-or-any-other-platform.patch +++ b/target/linux/brcm2708/patches-4.19/950-0789-Limit-max_req_size-under-arm64-or-any-other-platform.patch @@ -1,7 +1,7 @@ -From ea1ecb2257bef3cc0b23c08364436103141999c7 Mon Sep 17 00:00:00 2001 +From 7bfcb31431f06efc233e4cc4d7ab65e10a6522cd Mon Sep 17 00:00:00 2001 From: Yaroslav Rosomakho Date: Fri, 23 Aug 2019 11:02:22 +0200 -Subject: [PATCH 2/2] Limit max_req_size under arm64 (or any other platform +Subject: [PATCH 789/806] Limit max_req_size under arm64 (or any other platform that uses swiotlb) to prevent potential buffer overflow due to bouncing. Signed-off-by: Yaroslav Rosomakho @@ -19,7 +19,7 @@ Signed-off-by: Yaroslav Rosomakho #include "sdhci.h" -@@ -1377,7 +1378,10 @@ static int bcm2835_mmc_add_host(struct b +@@ -1374,7 +1375,10 @@ static int bcm2835_mmc_add_host(struct b } #endif mmc->max_segs = 128; diff --git a/target/linux/brcm2708/patches-4.19/951-0001-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch b/target/linux/brcm2708/patches-4.19/950-0790-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch similarity index 79% rename from target/linux/brcm2708/patches-4.19/951-0001-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch rename to target/linux/brcm2708/patches-4.19/950-0790-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch index 3c59d2d322..f4413c8fd9 100644 --- a/target/linux/brcm2708/patches-4.19/951-0001-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch +++ b/target/linux/brcm2708/patches-4.19/950-0790-Add-missing-dma_unmap_sg-calls-to-free-relevant-swio.patch @@ -1,8 +1,8 @@ -From 51487e55ceabd24572bdd12ed7fd45e20676f399 Mon Sep 17 00:00:00 2001 +From f8554985b77df2dac55f2d7c85e0f0cc3497a1fd Mon Sep 17 00:00:00 2001 From: Yaroslav Rosomakho Date: Fri, 23 Aug 2019 11:05:51 +0200 -Subject: [PATCH 1/2] Add missing dma_unmap_sg calls to free relevant swiotlb - bounce buffers. This prevents DMA leaks. +Subject: [PATCH 790/806] Add missing dma_unmap_sg calls to free relevant + swiotlb bounce buffers. This prevents DMA leaks. Signed-off-by: Yaroslav Rosomakho --- @@ -11,7 +11,7 @@ Signed-off-by: Yaroslav Rosomakho --- a/drivers/mmc/host/bcm2835-mmc.c +++ b/drivers/mmc/host/bcm2835-mmc.c -@@ -344,16 +344,17 @@ static void bcm2835_mmc_dma_complete(voi +@@ -345,16 +345,17 @@ static void bcm2835_mmc_dma_complete(voi host->use_dma = false; @@ -35,7 +35,7 @@ Signed-off-by: Yaroslav Rosomakho } else if (host->wait_for_dma) { host->wait_for_dma = false; tasklet_schedule(&host->finish_tasklet); -@@ -539,6 +540,8 @@ static void bcm2835_mmc_transfer_dma(str +@@ -540,6 +541,8 @@ static void bcm2835_mmc_transfer_dma(str spin_unlock_irqrestore(&host->lock, flags); dmaengine_submit(desc); dma_async_issue_pending(dma_chan); diff --git a/target/linux/brcm2708/patches-4.19/950-0791-overlays-mcp23017-rename-the-GPIO-pins-node-with-the.patch b/target/linux/brcm2708/patches-4.19/950-0791-overlays-mcp23017-rename-the-GPIO-pins-node-with-the.patch new file mode 100644 index 0000000000..e72d775cc9 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0791-overlays-mcp23017-rename-the-GPIO-pins-node-with-the.patch @@ -0,0 +1,37 @@ +From 9802671acf4250d6541d175ba599da03cee8acc1 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Thu, 5 Sep 2019 17:36:38 +0100 +Subject: [PATCH 791/806] overlays: mcp23017: rename the GPIO pins node with + the device + +In order to allow the overlay to be loaded multiple times the +GPIO node for the interrupt line needs to be unique. +Rename it based on the MCP23017 I2C address + +https://github.com/raspberrypi/linux/issues/3207 + +Signed-off-by: Dave Stevenson +--- + arch/arm/boot/dts/overlays/mcp23017-overlay.dts | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/arch/arm/boot/dts/overlays/mcp23017-overlay.dts ++++ b/arch/arm/boot/dts/overlays/mcp23017-overlay.dts +@@ -16,7 +16,7 @@ + fragment@1 { + target = <&gpio>; + __overlay__ { +- mcp23017_pins: mcp23017_pins { ++ mcp23017_pins: mcp23017_pins@20 { + brcm,pins = <4>; + brcm,function = <0>; + }; +@@ -55,7 +55,7 @@ + __overrides__ { + gpiopin = <&mcp23017_pins>,"brcm,pins:0", + <&mcp23017>,"interrupts:0"; +- addr = <&mcp23017>,"reg:0"; ++ addr = <&mcp23017>,"reg:0", <&mcp23017_pins>,"reg:0"; + mcp23008 = <0>,"=3"; + }; + }; diff --git a/target/linux/brcm2708/patches-4.19/950-0792-overlays-mcp23017-Add-option-for-not-connecting-the-.patch b/target/linux/brcm2708/patches-4.19/950-0792-overlays-mcp23017-Add-option-for-not-connecting-the-.patch new file mode 100644 index 0000000000..f9a1208dca --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0792-overlays-mcp23017-Add-option-for-not-connecting-the-.patch @@ -0,0 +1,66 @@ +From b37ac8c50684c3517fb9c6f737e7ea444a7d7405 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Thu, 5 Sep 2019 17:41:46 +0100 +Subject: [PATCH 792/806] overlays: mcp23017: Add option for not connecting the + int GPIO + +The interrupt GPIO is optional to the driver, therefore add an +option to not configure it. + +Signed-off-by: Dave Stevenson +--- + arch/arm/boot/dts/overlays/README | 1 + + .../boot/dts/overlays/mcp23017-overlay.dts | 21 +++++++++++++------ + 2 files changed, 16 insertions(+), 6 deletions(-) + +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -1427,6 +1427,7 @@ Params: gpiopin Gpio pin + addr I2C address of the MCP23017 (default: 0x20) + + mcp23008 Configure an MCP23008 instead. ++ noints Disable the interrupt GPIO line. + + + Name: mcp23s17 +--- a/arch/arm/boot/dts/overlays/mcp23017-overlay.dts ++++ b/arch/arm/boot/dts/overlays/mcp23017-overlay.dts +@@ -34,11 +34,6 @@ + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; +- #interrupt-cells=<2>; +- interrupt-parent = <&gpio>; +- interrupts = <4 2>; +- interrupt-controller; +- microchip,irq-mirror; + + status = "okay"; + }; +@@ -52,11 +47,25 @@ + }; + }; + ++ fragment@4 { ++ target = <&i2c1>; ++ __overlay__ { ++ mcp23017_irq: mcp@20 { ++ #interrupt-cells=<2>; ++ interrupt-parent = <&gpio>; ++ interrupts = <4 2>; ++ interrupt-controller; ++ microchip,irq-mirror; ++ }; ++ }; ++ }; ++ + __overrides__ { + gpiopin = <&mcp23017_pins>,"brcm,pins:0", +- <&mcp23017>,"interrupts:0"; ++ <&mcp23017_irq>,"interrupts:0"; + addr = <&mcp23017>,"reg:0", <&mcp23017_pins>,"reg:0"; + mcp23008 = <0>,"=3"; ++ noints = <0>,"!1!4"; + }; + }; + diff --git a/target/linux/brcm2708/patches-4.19/950-0793-v4l2-Add-a-Greyworld-AWB-mode.patch b/target/linux/brcm2708/patches-4.19/950-0793-v4l2-Add-a-Greyworld-AWB-mode.patch new file mode 100644 index 0000000000..6f8ba62b4d --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0793-v4l2-Add-a-Greyworld-AWB-mode.patch @@ -0,0 +1,34 @@ +From c8f63d006ff5f84ad629f4c06cdc9fee34fdfe3d Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Fri, 6 Sep 2019 15:04:51 +0100 +Subject: [PATCH 793/806] v4l2: Add a Greyworld AWB mode. + +Adds a simple greyworld white balance preset, mainly for use +with cameras without an IR filter (eg Raspberry Pi NoIR) + +Signed-off-by: Dave Stevenson +--- + drivers/media/v4l2-core/v4l2-ctrls.c | 1 + + include/uapi/linux/v4l2-controls.h | 1 + + 2 files changed, 2 insertions(+) + +--- a/drivers/media/v4l2-core/v4l2-ctrls.c ++++ b/drivers/media/v4l2-core/v4l2-ctrls.c +@@ -275,6 +275,7 @@ const char * const *v4l2_ctrl_get_menu(u + "Flash", + "Cloudy", + "Shade", ++ "Greyworld", + NULL, + }; + static const char * const camera_iso_sensitivity_auto[] = { +--- a/include/uapi/linux/v4l2-controls.h ++++ b/include/uapi/linux/v4l2-controls.h +@@ -815,6 +815,7 @@ enum v4l2_auto_n_preset_white_balance { + V4L2_WHITE_BALANCE_FLASH = 7, + V4L2_WHITE_BALANCE_CLOUDY = 8, + V4L2_WHITE_BALANCE_SHADE = 9, ++ V4L2_WHITE_BALANCE_GREYWORLD = 10, + }; + + #define V4L2_CID_WIDE_DYNAMIC_RANGE (V4L2_CID_CAMERA_CLASS_BASE+21) diff --git a/target/linux/brcm2708/patches-4.19/950-0794-staging-bcm2835-camera-Add-greyworld-AWB-mode.patch b/target/linux/brcm2708/patches-4.19/950-0794-staging-bcm2835-camera-Add-greyworld-AWB-mode.patch new file mode 100644 index 0000000000..241875d67f --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0794-staging-bcm2835-camera-Add-greyworld-AWB-mode.patch @@ -0,0 +1,48 @@ +From b5ec436637af67f37efad1550945b750101527d4 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Fri, 6 Sep 2019 15:13:06 +0100 +Subject: [PATCH 794/806] staging: bcm2835-camera: Add greyworld AWB mode + +This is mainly used for the NoIR camera which has no IR +filter and can completely confuse normal AWB presets. + +Signed-off-by: Dave Stevenson +--- + drivers/staging/vc04_services/bcm2835-camera/controls.c | 8 ++++++-- + .../staging/vc04_services/vchiq-mmal/mmal-parameters.h | 1 + + 2 files changed, 7 insertions(+), 2 deletions(-) + +--- a/drivers/staging/vc04_services/bcm2835-camera/controls.c ++++ b/drivers/staging/vc04_services/bcm2835-camera/controls.c +@@ -481,6 +481,10 @@ static int ctrl_set_awb_mode(struct bm28 + case V4L2_WHITE_BALANCE_SHADE: + u32_value = MMAL_PARAM_AWBMODE_SHADE; + break; ++ ++ case V4L2_WHITE_BALANCE_GREYWORLD: ++ u32_value = MMAL_PARAM_AWBMODE_GREYWORLD; ++ break; + } + + return vchiq_mmal_port_parameter_set(dev->instance, control, +@@ -1008,8 +1012,8 @@ static const struct bm2835_mmal_v4l2_ctr + { + V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE, + MMAL_CONTROL_TYPE_STD_MENU, +- ~0x3ff, V4L2_WHITE_BALANCE_SHADE, V4L2_WHITE_BALANCE_AUTO, 0, +- NULL, ++ ~0x7ff, V4L2_WHITE_BALANCE_GREYWORLD, V4L2_WHITE_BALANCE_AUTO, ++ 0, NULL, + MMAL_PARAMETER_AWB_MODE, + &ctrl_set_awb_mode, + false +--- a/drivers/staging/vc04_services/vchiq-mmal/mmal-parameters.h ++++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-parameters.h +@@ -313,6 +313,7 @@ enum mmal_parameter_awbmode { + MMAL_PARAM_AWBMODE_INCANDESCENT, + MMAL_PARAM_AWBMODE_FLASH, + MMAL_PARAM_AWBMODE_HORIZON, ++ MMAL_PARAM_AWBMODE_GREYWORLD, + }; + + enum mmal_parameter_imagefx { diff --git a/target/linux/brcm2708/patches-4.19/950-0795-configs-Add-GPIO_PCA953X-LEDS_PCA9532-PCA955X.patch b/target/linux/brcm2708/patches-4.19/950-0795-configs-Add-GPIO_PCA953X-LEDS_PCA9532-PCA955X.patch new file mode 100644 index 0000000000..4b22f97771 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0795-configs-Add-GPIO_PCA953X-LEDS_PCA9532-PCA955X.patch @@ -0,0 +1,116 @@ +From d86c0634fb27fdb6c01e93d93aeea2703e66c791 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 6 Sep 2019 17:31:51 +0100 +Subject: [PATCH 795/806] configs: Add GPIO_PCA953X, LEDS_PCA9532/PCA955X + +See: https://github.com/raspberrypi/linux/issues/3182 + +Signed-off-by: Phil Elwell +--- + arch/arm/configs/bcm2709_defconfig | 3 +++ + arch/arm/configs/bcm2711_defconfig | 3 +++ + arch/arm/configs/bcmrpi_defconfig | 3 +++ + arch/arm64/configs/bcm2711_defconfig | 3 +++ + arch/arm64/configs/bcmrpi3_defconfig | 3 +++ + 5 files changed, 15 insertions(+) + +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -686,6 +686,7 @@ CONFIG_PPS_CLIENT_GPIO=m + CONFIG_PINCTRL_MCP23S08=m + CONFIG_GPIO_BCM_VIRT=y + CONFIG_GPIO_MOCKUP=m ++CONFIG_GPIO_PCA953X=m + CONFIG_GPIO_PCF857X=m + CONFIG_GPIO_ARIZONA=m + CONFIG_GPIO_STMPE=y +@@ -1188,7 +1189,9 @@ CONFIG_MMC_SDHCI=y + CONFIG_MMC_SDHCI_PLTFM=y + CONFIG_MMC_SPI=m + CONFIG_LEDS_CLASS=y ++CONFIG_LEDS_PCA9532=m + CONFIG_LEDS_GPIO=y ++CONFIG_LEDS_PCA955X=m + CONFIG_LEDS_PCA963X=m + CONFIG_LEDS_IS31FL32XX=m + CONFIG_LEDS_TRIGGER_TIMER=y +--- a/arch/arm/configs/bcm2711_defconfig ++++ b/arch/arm/configs/bcm2711_defconfig +@@ -694,6 +694,7 @@ CONFIG_PPS_CLIENT_GPIO=m + CONFIG_PINCTRL_MCP23S08=m + CONFIG_GPIO_BCM_VIRT=y + CONFIG_GPIO_MOCKUP=m ++CONFIG_GPIO_PCA953X=m + CONFIG_GPIO_PCF857X=m + CONFIG_GPIO_ARIZONA=m + CONFIG_GPIO_STMPE=y +@@ -1220,7 +1221,9 @@ CONFIG_MMC_SDHCI_PLTFM=y + CONFIG_MMC_SDHCI_IPROC=y + CONFIG_MMC_SPI=m + CONFIG_LEDS_CLASS=y ++CONFIG_LEDS_PCA9532=m + CONFIG_LEDS_GPIO=y ++CONFIG_LEDS_PCA955X=m + CONFIG_LEDS_PCA963X=m + CONFIG_LEDS_IS31FL32XX=m + CONFIG_LEDS_TRIGGER_TIMER=y +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -678,6 +678,7 @@ CONFIG_PPS_CLIENT_LDISC=m + CONFIG_PPS_CLIENT_GPIO=m + CONFIG_PINCTRL_MCP23S08=m + CONFIG_GPIO_MOCKUP=m ++CONFIG_GPIO_PCA953X=m + CONFIG_GPIO_PCF857X=m + CONFIG_GPIO_ARIZONA=m + CONFIG_GPIO_STMPE=y +@@ -1198,7 +1199,9 @@ CONFIG_MMC_SDHCI=y + CONFIG_MMC_SDHCI_PLTFM=y + CONFIG_MMC_SPI=m + CONFIG_LEDS_CLASS=y ++CONFIG_LEDS_PCA9532=m + CONFIG_LEDS_GPIO=y ++CONFIG_LEDS_PCA955X=m + CONFIG_LEDS_PCA963X=m + CONFIG_LEDS_IS31FL32XX=m + CONFIG_LEDS_TRIGGER_TIMER=y +--- a/arch/arm64/configs/bcm2711_defconfig ++++ b/arch/arm64/configs/bcm2711_defconfig +@@ -624,6 +624,7 @@ CONFIG_PPS_CLIENT_GPIO=m + CONFIG_PINCTRL_MCP23S08=m + CONFIG_GPIO_BCM_VIRT=y + CONFIG_GPIO_MOCKUP=m ++CONFIG_GPIO_PCA953X=m + CONFIG_GPIO_PCF857X=m + CONFIG_GPIO_ARIZONA=m + CONFIG_GPIO_STMPE=y +@@ -1043,7 +1044,9 @@ CONFIG_MMC_SDHCI_PLTFM=y + CONFIG_MMC_SDHCI_IPROC=y + CONFIG_MMC_SPI=m + CONFIG_LEDS_CLASS=y ++CONFIG_LEDS_PCA9532=m + CONFIG_LEDS_GPIO=y ++CONFIG_LEDS_PCA955X=m + CONFIG_LEDS_TRIGGER_TIMER=y + CONFIG_LEDS_TRIGGER_ONESHOT=y + CONFIG_LEDS_TRIGGER_HEARTBEAT=y +--- a/arch/arm64/configs/bcmrpi3_defconfig ++++ b/arch/arm64/configs/bcmrpi3_defconfig +@@ -610,6 +610,7 @@ CONFIG_PPS_CLIENT_LDISC=m + CONFIG_PPS_CLIENT_GPIO=m + CONFIG_GPIO_SYSFS=y + CONFIG_GPIO_BCM_VIRT=y ++CONFIG_GPIO_PCA953X=m + CONFIG_GPIO_ARIZONA=m + CONFIG_GPIO_STMPE=y + CONFIG_W1=m +@@ -994,7 +995,9 @@ CONFIG_MMC_SDHCI_PLTFM=y + CONFIG_MMC_SDHCI_IPROC=m + CONFIG_MMC_SPI=m + CONFIG_LEDS_CLASS=y ++CONFIG_LEDS_PCA9532=m + CONFIG_LEDS_GPIO=y ++CONFIG_LEDS_PCA955X=m + CONFIG_LEDS_PCA963X=m + CONFIG_LEDS_IS31FL32XX=m + CONFIG_LEDS_TRIGGER_TIMER=y diff --git a/target/linux/brcm2708/patches-4.19/950-0796-configs-Set-VIDEO_V4L2_SUBDEV_API-y-on-arm64-bcm2711.patch b/target/linux/brcm2708/patches-4.19/950-0796-configs-Set-VIDEO_V4L2_SUBDEV_API-y-on-arm64-bcm2711.patch new file mode 100644 index 0000000000..08cbabcab5 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0796-configs-Set-VIDEO_V4L2_SUBDEV_API-y-on-arm64-bcm2711.patch @@ -0,0 +1,22 @@ +From 9b35b30efe4161dfb345c449e14fc827edbc757f Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 6 Sep 2019 17:48:25 +0100 +Subject: [PATCH 796/806] configs: Set VIDEO_V4L2_SUBDEV_API=y on arm64/bcm2711 + +This one got missed. + +Signed-off-by: Phil Elwell +--- + arch/arm64/configs/bcm2711_defconfig | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/arm64/configs/bcm2711_defconfig ++++ b/arch/arm64/configs/bcm2711_defconfig +@@ -680,6 +680,7 @@ CONFIG_MEDIA_ANALOG_TV_SUPPORT=y + CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y + CONFIG_MEDIA_RADIO_SUPPORT=y + CONFIG_MEDIA_CONTROLLER=y ++CONFIG_VIDEO_V4L2_SUBDEV_API=y + CONFIG_MEDIA_USB_SUPPORT=y + CONFIG_USB_VIDEO_CLASS=m + CONFIG_USB_M5602=m diff --git a/target/linux/brcm2708/patches-4.19/950-0797-PCI-brcmstb-Fix-compilation-warning.patch b/target/linux/brcm2708/patches-4.19/950-0797-PCI-brcmstb-Fix-compilation-warning.patch new file mode 100644 index 0000000000..71a1c1ad70 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0797-PCI-brcmstb-Fix-compilation-warning.patch @@ -0,0 +1,24 @@ +From 2245d8c6d0feaa94ca55fa8ecfe3ca9c0c05c566 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 9 Sep 2019 10:16:08 +0100 +Subject: [PATCH 797/806] PCI: brcmstb: Fix compilation warning + +Fixes: ea2c11a187c0e248343452846457b94715e04969 +Fixes: https://github.com/raspberrypi/linux/issues/3216 + +Signed-off-by: Phil Elwell +--- + drivers/pci/controller/pcie-brcmstb.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/pci/controller/pcie-brcmstb.c ++++ b/drivers/pci/controller/pcie-brcmstb.c +@@ -653,7 +653,7 @@ static int brcmstb_platform_notifier(str + ret = of_dma_configure(dev, dev->of_node, true); + if (ret) { + dev_err(dev, "of_dma_configure() failed: %d\n", ret); +- return; ++ return ret; + } + } + brcm_set_dma_ops(dev); diff --git a/target/linux/brcm2708/patches-4.19/950-0798-drm-vc4-Fix-for-margins-in-composite-SDTV-mode-3223.patch b/target/linux/brcm2708/patches-4.19/950-0798-drm-vc4-Fix-for-margins-in-composite-SDTV-mode-3223.patch new file mode 100644 index 0000000000..7f7d3d2334 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0798-drm-vc4-Fix-for-margins-in-composite-SDTV-mode-3223.patch @@ -0,0 +1,34 @@ +From 1e37bc9f0ea83fa4b3f1714b4382edb7b256a251 Mon Sep 17 00:00:00 2001 +From: James Hughes +Date: Wed, 11 Sep 2019 14:57:18 +0100 +Subject: [PATCH 798/806] drm/vc4: Fix for margins in composite/SDTV mode + (#3223) + +Margins were incorrectly assumed to be setup in SDTV mode, but were +not actually done, so this make the setup non-conditional on mode. + +Signed-off-by: James Hughes +--- + drivers/gpu/drm/vc4/vc4_firmware_kms.c | 11 +++-------- + 1 file changed, 3 insertions(+), 8 deletions(-) + +--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +@@ -1588,14 +1588,9 @@ vc4_fkms_connector_init(struct drm_devic + connector->interlace_allowed = 0; + } + +- /* Create and attach TV margin props to this connector. +- * Already done for SDTV outputs. +- */ +- if (fkms_connector->display_type != DRM_MODE_ENCODER_TVDAC) { +- ret = drm_mode_create_tv_margin_properties(dev); +- if (ret) +- goto fail; +- } ++ ret = drm_mode_create_tv_margin_properties(dev); ++ if (ret) ++ goto fail; + + drm_connector_attach_tv_margin_properties(connector); + diff --git a/target/linux/brcm2708/patches-4.19/950-0799-Add-Hifiberry-DAC-DSP-soundcard-driver-3224.patch b/target/linux/brcm2708/patches-4.19/950-0799-Add-Hifiberry-DAC-DSP-soundcard-driver-3224.patch new file mode 100644 index 0000000000..52b3bca434 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0799-Add-Hifiberry-DAC-DSP-soundcard-driver-3224.patch @@ -0,0 +1,279 @@ +From f0715f5e178f2f7c0afb719a3a35c8ac250b7586 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Schambacher?= + +Date: Thu, 12 Sep 2019 14:57:32 +0200 +Subject: [PATCH 799/806] Add Hifiberry DAC+DSP soundcard driver (#3224) + +Adds the driver for the Hifiberry DAC+DSP. It supports capture and +playback depending on the DSP firmware. + +Signed-off-by: Joerg Schambacher +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 6 ++ + .../overlays/hifiberry-dacplusdsp-overlay.dts | 34 +++++++ + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcm2711_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + sound/soc/bcm/Kconfig | 7 ++ + sound/soc/bcm/Makefile | 2 + + sound/soc/bcm/hifiberry_dacplusdsp.c | 90 +++++++++++++++++++ + sound/soc/bcm/rpi-simple-soundcard.c | 19 ++++ + 10 files changed, 162 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplusdsp-overlay.dts + create mode 100644 sound/soc/bcm/hifiberry_dacplusdsp.c + +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -54,6 +54,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ + hifiberry-dacplus.dtbo \ + hifiberry-dacplusadc.dtbo \ + hifiberry-dacplusadcpro.dtbo \ ++ hifiberry-dacplusdsp.dtbo \ + hifiberry-digi.dtbo \ + hifiberry-digi-pro.dtbo \ + hy28a.dtbo \ +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -904,6 +904,12 @@ Params: 24db_digital_gain Allow ga + master for bit clock and frame clock. + + ++Name: hifiberry-dacplusdsp ++Info: Configures the HifiBerry DAC+DSP audio card ++Load: dtoverlay=hifiberry-dacplusdsp ++Params: ++ ++ + Name: hifiberry-digi + Info: Configures the HifiBerry Digi and Digi+ audio card + Load: dtoverlay=hifiberry-digi +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/hifiberry-dacplusdsp-overlay.dts +@@ -0,0 +1,34 @@ ++// Definitions for hifiberry DAC+DSP soundcard overlay ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2835"; ++ ++ fragment@0 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target-path = "/"; ++ __overlay__ { ++ dacplusdsp-codec { ++ #sound-dai-cells = <0>; ++ compatible = "hifiberry,dacplusdsp"; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&sound>; ++ __overlay__ { ++ compatible = "hifiberrydacplusdsp,hifiberrydacplusdsp-soundcard"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++}; +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -970,6 +970,7 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADCPRO=m ++CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m + CONFIG_SND_BCM2708_SOC_RPI_CIRRUS=m +--- a/arch/arm/configs/bcm2711_defconfig ++++ b/arch/arm/configs/bcm2711_defconfig +@@ -981,6 +981,7 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADCPRO=m ++CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m + CONFIG_SND_BCM2708_SOC_RPI_CIRRUS=m +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -962,6 +962,7 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADCPRO=m ++CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m + CONFIG_SND_BCM2708_SOC_RPI_CIRRUS=m +--- a/sound/soc/bcm/Kconfig ++++ b/sound/soc/bcm/Kconfig +@@ -56,6 +56,13 @@ config SND_BCM2708_SOC_HIFIBERRY_DACPLUS + help + Say Y or M if you want to add support for HifiBerry DAC+ADC PRO. + ++config SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP ++ tristate "Support for HifiBerry DAC+DSP" ++ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S ++ select SND_RPI_SIMPLE_SOUNDCARD ++ help ++ Say Y or M if you want to add support for HifiBerry DSP-DAC. ++ + config SND_BCM2708_SOC_HIFIBERRY_DIGI + tristate "Support for HifiBerry Digi" + depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S +--- a/sound/soc/bcm/Makefile ++++ b/sound/soc/bcm/Makefile +@@ -15,6 +15,7 @@ snd-soc-googlevoicehat-codec-objs := goo + snd-soc-hifiberry-dacplus-objs := hifiberry_dacplus.o + snd-soc-hifiberry-dacplusadc-objs := hifiberry_dacplusadc.o + snd-soc-hifiberry-dacplusadcpro-objs := hifiberry_dacplusadcpro.o ++snd-soc-hifiberry-dacplusdsp-objs := hifiberry_dacplusdsp.o + snd-soc-justboom-dac-objs := justboom-dac.o + snd-soc-rpi-cirrus-objs := rpi-cirrus.o + snd-soc-rpi-proto-objs := rpi-proto.o +@@ -40,6 +41,7 @@ obj-$(CONFIG_SND_BCM2708_SOC_GOOGLEVOICE + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS) += snd-soc-hifiberry-dacplus.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADC) += snd-soc-hifiberry-dacplusadc.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADCPRO) += snd-soc-hifiberry-dacplusadcpro.o ++obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP) += snd-soc-hifiberry-dacplusdsp.o + obj-$(CONFIG_SND_BCM2708_SOC_JUSTBOOM_DAC) += snd-soc-justboom-dac.o + obj-$(CONFIG_SND_BCM2708_SOC_RPI_CIRRUS) += snd-soc-rpi-cirrus.o + obj-$(CONFIG_SND_BCM2708_SOC_RPI_PROTO) += snd-soc-rpi-proto.o +--- /dev/null ++++ b/sound/soc/bcm/hifiberry_dacplusdsp.c +@@ -0,0 +1,90 @@ ++// SPDX-License-Identifier: GPL-2.0 ++/* ++ * ASoC Driver for HiFiBerry DAC + DSP ++ * ++ * Author: Joerg Schambacher ++ * Copyright 2018 ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * version 2 as published by the Free Software Foundation. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++ ++static struct snd_soc_component_driver dacplusdsp_component_driver; ++ ++static struct snd_soc_dai_driver dacplusdsp_dai = { ++ .name = "dacplusdsp-hifi", ++ .capture = { ++ .stream_name = "DAC+DSP Capture", ++ .channels_min = 2, ++ .channels_max = 2, ++ .rates = SNDRV_PCM_RATE_CONTINUOUS, ++ .formats = SNDRV_PCM_FMTBIT_S16_LE | ++ SNDRV_PCM_FMTBIT_S24_LE | ++ SNDRV_PCM_FMTBIT_S32_LE, ++ }, ++ .playback = { ++ .stream_name = "DACP+DSP Playback", ++ .channels_min = 2, ++ .channels_max = 2, ++ .rates = SNDRV_PCM_RATE_CONTINUOUS, ++ .formats = SNDRV_PCM_FMTBIT_S16_LE | ++ SNDRV_PCM_FMTBIT_S24_LE | ++ SNDRV_PCM_FMTBIT_S32_LE, ++ }, ++ .symmetric_rates = 1}; ++ ++#ifdef CONFIG_OF ++static const struct of_device_id dacplusdsp_ids[] = { ++ { ++ .compatible = "hifiberry,dacplusdsp", ++ }, ++ {} }; ++MODULE_DEVICE_TABLE(of, dacplusdsp_ids); ++#endif ++ ++static int dacplusdsp_platform_probe(struct platform_device *pdev) ++{ ++ int ret; ++ ++ ret = snd_soc_register_component(&pdev->dev, ++ &dacplusdsp_component_driver, &dacplusdsp_dai, 1); ++ if (ret) { ++ pr_alert("snd_soc_register_component failed\n"); ++ return ret; ++ } ++ ++ return 0; ++} ++ ++static int dacplusdsp_platform_remove(struct platform_device *pdev) ++{ ++ snd_soc_unregister_component(&pdev->dev); ++ return 0; ++} ++ ++static struct platform_driver dacplusdsp_driver = { ++ .driver = { ++ .name = "hifiberry-dacplusdsp-codec", ++ .of_match_table = of_match_ptr(dacplusdsp_ids), ++ }, ++ .probe = dacplusdsp_platform_probe, ++ .remove = dacplusdsp_platform_remove, ++}; ++ ++module_platform_driver(dacplusdsp_driver); ++ ++MODULE_AUTHOR("Joerg Schambacher "); ++MODULE_DESCRIPTION("ASoC Driver for HiFiBerry DAC+DSP"); ++MODULE_LICENSE("GPL v2"); +--- a/sound/soc/bcm/rpi-simple-soundcard.c ++++ b/sound/soc/bcm/rpi-simple-soundcard.c +@@ -136,6 +136,23 @@ static struct snd_rpi_simple_drvdata drv + .dai = snd_googlevoicehat_soundcard_dai, + }; + ++static struct snd_soc_dai_link snd_hifiberrydacplusdsp_soundcard_dai[] = { ++{ ++ .name = "Hifiberry DAC+DSP SoundCard", ++ .stream_name = "Hifiberry DAC+DSP SoundCard HiFi", ++ .codec_dai_name = "dacplusdsp-hifi", ++ .codec_name = "dacplusdsp-codec", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | ++ SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBS_CFS, ++}, ++}; ++ ++static struct snd_rpi_simple_drvdata drvdata_hifiberrydacplusdsp = { ++ .card_name = "snd_rpi_hifiberrydacplusdsp_soundcard", ++ .dai = snd_hifiberrydacplusdsp_soundcard_dai, ++}; ++ + static struct snd_soc_dai_link snd_hifiberry_amp_dai[] = { + { + .name = "HifiBerry AMP", +@@ -193,6 +210,8 @@ static const struct of_device_id snd_rpi + .data = (void *) &drvdata_adau1977 }, + { .compatible = "googlevoicehat,googlevoicehat-soundcard", + .data = (void *) &drvdata_googlevoicehat }, ++ { .compatible = "hifiberrydacplusdsp,hifiberrydacplusdsp-soundcard", ++ .data = (void *) &drvdata_hifiberrydacplusdsp }, + { .compatible = "hifiberry,hifiberry-amp", + .data = (void *) &drvdata_hifiberry_amp }, + { .compatible = "hifiberry,hifiberry-dac", diff --git a/target/linux/brcm2708/patches-4.19/950-0800-staging-bcm2835-codec-Allow-height-of-1920.patch b/target/linux/brcm2708/patches-4.19/950-0800-staging-bcm2835-codec-Allow-height-of-1920.patch new file mode 100644 index 0000000000..44b1ccd123 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0800-staging-bcm2835-codec-Allow-height-of-1920.patch @@ -0,0 +1,27 @@ +From b25d17959484972a6585d6e1f7cb2cfb93d1540e Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Fri, 6 Sep 2019 17:24:55 +0100 +Subject: [PATCH 800/806] staging: bcm2835-codec: Allow height of 1920. + +The codec is happy with video up to 1920 high if the width +is suitably reduced to stay within level limits. eg 1080x1920 +is OK to decode. + +Increase the height limit accordingly. + +Signed-off-by: Dave Stevenson +--- + .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -92,7 +92,7 @@ static const char * const components[] = + #define MIN_W 32 + #define MIN_H 32 + #define MAX_W 1920 +-#define MAX_H 1088 ++#define MAX_H 1920 + #define BPL_ALIGN 32 + #define DEFAULT_WIDTH 640 + #define DEFAULT_HEIGHT 480 diff --git a/target/linux/brcm2708/patches-4.19/950-0801-staging-bcm2835-codec-Correct-g-s_selection-API-MPLA.patch b/target/linux/brcm2708/patches-4.19/950-0801-staging-bcm2835-codec-Correct-g-s_selection-API-MPLA.patch new file mode 100644 index 0000000000..5eb5068538 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0801-staging-bcm2835-codec-Correct-g-s_selection-API-MPLA.patch @@ -0,0 +1,107 @@ +From 956fd55c1071c48f00285d82507698c501633e7a Mon Sep 17 00:00:00 2001 +From: Dave Stevenson +Date: Fri, 13 Sep 2019 15:11:47 +0100 +Subject: [PATCH 801/806] staging: bcm2835-codec: Correct g/s_selection API + MPLANE support + +The g_selection and s_selection API is messed up and requires +the driver to expect the non-MPLANE buffer types, not the MPLANE +ones even if they are supported. The V4L2 core will convert the +MPLANE ones to non-MPLANE should they be passed in + +Fixes: 5e484a3 staging: bcm2835-codec: switch to multi-planar API +Signed-off-by: Dave Stevenson +--- + .../bcm2835-codec/bcm2835-v4l2-codec.c | 67 +++++++++++++------ + 1 file changed, 47 insertions(+), 20 deletions(-) + +--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c ++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +@@ -1260,17 +1260,30 @@ static int vidioc_g_selection(struct fil + { + struct bcm2835_codec_ctx *ctx = file2ctx(file); + struct bcm2835_codec_q_data *q_data; +- bool capture_queue = s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE ? +- true : false; + +- if ((ctx->dev->role == DECODE && !capture_queue) || +- (ctx->dev->role == ENCODE && capture_queue)) +- /* OUTPUT on decoder and CAPTURE on encoder are not valid. */ +- return -EINVAL; +- +- q_data = get_q_data(ctx, s->type); +- if (!q_data) ++ /* ++ * The selection API takes V4L2_BUF_TYPE_VIDEO_CAPTURE and ++ * V4L2_BUF_TYPE_VIDEO_OUTPUT, even if the device implements the MPLANE ++ * API. The V4L2 core will have converted the MPLANE variants to ++ * non-MPLANE. ++ * Open code this instead of using get_q_data in this case. ++ */ ++ switch (s->type) { ++ case V4L2_BUF_TYPE_VIDEO_CAPTURE: ++ /* CAPTURE on encoder is not valid. */ ++ if (ctx->dev->role == ENCODE) ++ return -EINVAL; ++ q_data = &ctx->q_data[V4L2_M2M_DST]; ++ break; ++ case V4L2_BUF_TYPE_VIDEO_OUTPUT: ++ /* OUTPUT on deoder is not valid. */ ++ if (ctx->dev->role == DECODE) ++ return -EINVAL; ++ q_data = &ctx->q_data[V4L2_M2M_SRC]; ++ break; ++ default: + return -EINVAL; ++ } + + switch (ctx->dev->role) { + case DECODE: +@@ -1323,22 +1336,36 @@ static int vidioc_s_selection(struct fil + { + struct bcm2835_codec_ctx *ctx = file2ctx(file); + struct bcm2835_codec_q_data *q_data = NULL; +- bool capture_queue = s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE ? +- true : false; ++ ++ /* ++ * The selection API takes V4L2_BUF_TYPE_VIDEO_CAPTURE and ++ * V4L2_BUF_TYPE_VIDEO_OUTPUT, even if the device implements the MPLANE ++ * API. The V4L2 core will have converted the MPLANE variants to ++ * non-MPLANE. ++ * ++ * Open code this instead of using get_q_data in this case. ++ */ ++ switch (s->type) { ++ case V4L2_BUF_TYPE_VIDEO_CAPTURE: ++ /* CAPTURE on encoder is not valid. */ ++ if (ctx->dev->role == ENCODE) ++ return -EINVAL; ++ q_data = &ctx->q_data[V4L2_M2M_DST]; ++ break; ++ case V4L2_BUF_TYPE_VIDEO_OUTPUT: ++ /* OUTPUT on deoder is not valid. */ ++ if (ctx->dev->role == DECODE) ++ return -EINVAL; ++ q_data = &ctx->q_data[V4L2_M2M_SRC]; ++ break; ++ default: ++ return -EINVAL; ++ } + + v4l2_dbg(1, debug, &ctx->dev->v4l2_dev, "%s: ctx %p, type %d, q_data %p, target %d, rect x/y %d/%d, w/h %ux%u\n", + __func__, ctx, s->type, q_data, s->target, s->r.left, s->r.top, + s->r.width, s->r.height); + +- if ((ctx->dev->role == DECODE && !capture_queue) || +- (ctx->dev->role == ENCODE && capture_queue)) +- /* OUTPUT on decoder and CAPTURE on encoder are not valid. */ +- return -EINVAL; +- +- q_data = get_q_data(ctx, s->type); +- if (!q_data) +- return -EINVAL; +- + switch (ctx->dev->role) { + case DECODE: + switch (s->target) { diff --git a/target/linux/brcm2708/patches-4.19/950-0802-regulator-gpio-Allow-nonexclusive-GPIO-access.patch b/target/linux/brcm2708/patches-4.19/950-0802-regulator-gpio-Allow-nonexclusive-GPIO-access.patch new file mode 100644 index 0000000000..4c258ad54a --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0802-regulator-gpio-Allow-nonexclusive-GPIO-access.patch @@ -0,0 +1,79 @@ +From f6d983b7bc9ae79d0eb4dea7bc30a1ad5ff428a7 Mon Sep 17 00:00:00 2001 +From: Linus Walleij +Date: Fri, 12 Oct 2018 14:54:12 +0200 +Subject: [PATCH 802/806] regulator/gpio: Allow nonexclusive GPIO access + +commit b0ce7b29bfcd090ddba476f45a75ec0a797b048a upstream. + +[ This is a partial cherry-pick, omitting the regulator +change which isn't required ] + +This allows nonexclusive (simultaneous) access to a single +GPIO line for the fixed regulator enable line. This happens +when several regulators use the same GPIO for enabling and +disabling a regulator, and all need a handle on their GPIO +descriptor. + +This solution with a special flag is not entirely elegant +and should ideally be replaced by something more careful as +this makes it possible for several consumers to +enable/disable the same GPIO line to the left and right +without any consistency. The current use inside the regulator +core should however be fine as it takes special care to +handle this. + +For the state of the GPIO backend, this is still the +lesser evil compared to going back to global GPIO +numbers. + +Cc: Marek Szyprowski +Cc: Jon Hunter +Fixes: efdfeb079cc3 ("regulator: fixed: Convert to use GPIO descriptor only") +Reported-by: Marek Szyprowski +Tested-by: Jon Hunter +Tested-by: Marek Szyprowski +Signed-off-by: Linus Walleij +Signed-off-by: Mark Brown +--- + drivers/gpio/gpiolib.c | 19 +++++++++++++++++-- + include/linux/gpio/consumer.h | 1 + + 2 files changed, 18 insertions(+), 2 deletions(-) + +--- a/drivers/gpio/gpiolib.c ++++ b/drivers/gpio/gpiolib.c +@@ -3948,8 +3948,23 @@ struct gpio_desc *__must_check gpiod_get + * the device name as label + */ + status = gpiod_request(desc, con_id ? con_id : devname); +- if (status < 0) +- return ERR_PTR(status); ++ if (status < 0) { ++ if (status == -EBUSY && flags & GPIOD_FLAGS_BIT_NONEXCLUSIVE) { ++ /* ++ * This happens when there are several consumers for ++ * the same GPIO line: we just return here without ++ * further initialization. It is a bit if a hack. ++ * This is necessary to support fixed regulators. ++ * ++ * FIXME: Make this more sane and safe. ++ */ ++ dev_info(dev, "nonexclusive access to GPIO for %s\n", ++ con_id ? con_id : devname); ++ return desc; ++ } else { ++ return ERR_PTR(status); ++ } ++ } + + status = gpiod_configure_flags(desc, con_id, lookupflags, flags); + if (status < 0) { +--- a/include/linux/gpio/consumer.h ++++ b/include/linux/gpio/consumer.h +@@ -30,6 +30,7 @@ struct gpio_descs { + #define GPIOD_FLAGS_BIT_DIR_OUT BIT(1) + #define GPIOD_FLAGS_BIT_DIR_VAL BIT(2) + #define GPIOD_FLAGS_BIT_OPEN_DRAIN BIT(3) ++#define GPIOD_FLAGS_BIT_NONEXCLUSIVE BIT(4) + + /** + * Optional flags that can be passed to one of gpiod_* to configure direction diff --git a/target/linux/brcm2708/patches-4.19/950-0803-gpio-Enable-nonexclusive-gpiods-from-DT-nodes.patch b/target/linux/brcm2708/patches-4.19/950-0803-gpio-Enable-nonexclusive-gpiods-from-DT-nodes.patch new file mode 100644 index 0000000000..4072f825b2 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0803-gpio-Enable-nonexclusive-gpiods-from-DT-nodes.patch @@ -0,0 +1,34 @@ +From 76870d237adff4c8e419064e7d4f5a8ef87c1085 Mon Sep 17 00:00:00 2001 +From: Linus Walleij +Date: Thu, 6 Dec 2018 13:43:44 +0100 +Subject: [PATCH 803/806] gpio: Enable nonexclusive gpiods from DT nodes + +commit ec757001c818c175e6b610e8ef80c2a25d1ed1a5 upstream. + +This makes gpiod_get_from_of_node() respect the +GPIOD_FLAGS_BIT_NONEXCLUSIVE flag which is especially +nice when getting regulator GPIOs right out of device +tree nodes. + +Suggested-by: Marek Szyprowski +Fixes: b0ce7b29bfcd ("regulator/gpio: Allow nonexclusive GPIO access") +Signed-off-by: Linus Walleij +Reviewed-by: Marek Szyprowski +Tested-by: Marek Szyprowski +Reviewed-by: Charles Keepax +Signed-off-by: Mark Brown +--- + drivers/gpio/gpiolib.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/drivers/gpio/gpiolib.c ++++ b/drivers/gpio/gpiolib.c +@@ -4022,6 +4022,8 @@ struct gpio_desc *gpiod_get_from_of_node + transitory = flags & OF_GPIO_TRANSITORY; + + ret = gpiod_request(desc, label); ++ if (ret == -EBUSY && (flags & GPIOD_FLAGS_BIT_NONEXCLUSIVE)) ++ return desc; + if (ret) + return ERR_PTR(ret); + diff --git a/target/linux/brcm2708/patches-4.19/950-0804-Fix-poll-rate-on-touchscreen-3238.patch b/target/linux/brcm2708/patches-4.19/950-0804-Fix-poll-rate-on-touchscreen-3238.patch new file mode 100644 index 0000000000..5dbbd846c9 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0804-Fix-poll-rate-on-touchscreen-3238.patch @@ -0,0 +1,29 @@ +From a37a706547897d77b3194fc507b2546197def430 Mon Sep 17 00:00:00 2001 +From: James Hughes +Date: Tue, 17 Sep 2019 16:22:09 +0100 +Subject: [PATCH 804/806] Fix poll rate on touchscreen (#3238) + +Was running at 25Hz, rather than he expected 60. Only been doing it +for the last 5 years.... + +Replace msleep_interruptible with usleep_range as the msleep call +is not accurate for times < 20ms. + +Fixes: https://github.com/raspberrypi/linux/issues/3227 + +Signed-off-by: James Hughes +--- + drivers/input/touchscreen/rpi-ft5406.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/input/touchscreen/rpi-ft5406.c ++++ b/drivers/input/touchscreen/rpi-ft5406.c +@@ -78,7 +78,7 @@ static int ft5406_thread(void *arg) + + while (!kthread_should_stop()) { + /* 60fps polling */ +- msleep_interruptible(17); ++ usleep_range(16600, 16700); + memcpy_fromio(®s, ts->ts_base, sizeof(struct ft5406_regs)); + iowrite8(99, + ts->ts_base + diff --git a/target/linux/brcm2708/patches-4.19/950-0805-configs-Update-arm64-bcm2711_defconfig-based-on-the-.patch b/target/linux/brcm2708/patches-4.19/950-0805-configs-Update-arm64-bcm2711_defconfig-based-on-the-.patch new file mode 100644 index 0000000000..4f04fa137e --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0805-configs-Update-arm64-bcm2711_defconfig-based-on-the-.patch @@ -0,0 +1,483 @@ +From 9ca67a7287b97dd17216923fae42365488cc49ec Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 17 Sep 2019 21:23:44 +0200 +Subject: [PATCH 805/806] configs: Update arm64/bcm2711_defconfig based on the + arm version (#3239) + +The arm64 and arm configs had diverged in the extra modules that +were being built. + +Resync the two for the obvious modules. + +Signed-off-by: Dave Stevenson +--- + arch/arm64/configs/bcm2711_defconfig | 179 ++++++++++++++++++++++++++- + 1 file changed, 177 insertions(+), 2 deletions(-) + +--- a/arch/arm64/configs/bcm2711_defconfig ++++ b/arch/arm64/configs/bcm2711_defconfig +@@ -16,6 +16,7 @@ CONFIG_IKCONFIG=m + CONFIG_IKCONFIG_PROC=y + CONFIG_MEMCG=y + CONFIG_BLK_CGROUP=y ++CONFIG_CGROUP_PIDS=y + CONFIG_CGROUP_FREEZER=y + CONFIG_CPUSETS=y + CONFIG_CGROUP_DEVICE=y +@@ -93,6 +94,7 @@ CONFIG_IP_MROUTE_MULTIPLE_TABLES=y + CONFIG_IP_PIMSM_V1=y + CONFIG_IP_PIMSM_V2=y + CONFIG_SYN_COOKIES=y ++CONFIG_NET_IPVTI=m + CONFIG_INET_AH=m + CONFIG_INET_ESP=m + CONFIG_INET_IPCOMP=m +@@ -131,6 +133,36 @@ CONFIG_NF_CONNTRACK_SANE=m + CONFIG_NF_CONNTRACK_SIP=m + CONFIG_NF_CONNTRACK_TFTP=m + CONFIG_NF_CT_NETLINK=m ++CONFIG_NF_TABLES=m ++CONFIG_NF_TABLES_SET=m ++CONFIG_NF_TABLES_INET=y ++CONFIG_NF_TABLES_NETDEV=y ++CONFIG_NFT_NUMGEN=m ++CONFIG_NFT_CT=m ++CONFIG_NFT_FLOW_OFFLOAD=m ++CONFIG_NFT_COUNTER=m ++CONFIG_NFT_CONNLIMIT=m ++CONFIG_NFT_LOG=m ++CONFIG_NFT_LIMIT=m ++CONFIG_NFT_MASQ=m ++CONFIG_NFT_REDIR=m ++CONFIG_NFT_NAT=m ++CONFIG_NFT_TUNNEL=m ++CONFIG_NFT_OBJREF=m ++CONFIG_NFT_QUEUE=m ++CONFIG_NFT_QUOTA=m ++CONFIG_NFT_REJECT=m ++CONFIG_NFT_COMPAT=m ++CONFIG_NFT_HASH=m ++CONFIG_NFT_FIB_INET=m ++CONFIG_NFT_SOCKET=m ++CONFIG_NFT_OSF=m ++CONFIG_NFT_TPROXY=m ++CONFIG_NFT_DUP_NETDEV=m ++CONFIG_NFT_FWD_NETDEV=m ++CONFIG_NFT_FIB_NETDEV=m ++CONFIG_NF_FLOW_TABLE_INET=m ++CONFIG_NF_FLOW_TABLE=m + CONFIG_NETFILTER_XT_SET=m + CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m + CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m +@@ -182,6 +214,7 @@ CONFIG_NETFILTER_XT_MATCH_QUOTA=m + CONFIG_NETFILTER_XT_MATCH_RATEEST=m + CONFIG_NETFILTER_XT_MATCH_REALM=m + CONFIG_NETFILTER_XT_MATCH_RECENT=m ++CONFIG_NETFILTER_XT_MATCH_SOCKET=m + CONFIG_NETFILTER_XT_MATCH_STATE=m + CONFIG_NETFILTER_XT_MATCH_STATISTIC=m + CONFIG_NETFILTER_XT_MATCH_STRING=m +@@ -218,6 +251,14 @@ CONFIG_IP_VS_SED=m + CONFIG_IP_VS_NQ=m + CONFIG_IP_VS_FTP=m + CONFIG_IP_VS_PE_SIP=m ++CONFIG_NFT_CHAIN_ROUTE_IPV4=m ++CONFIG_NFT_DUP_IPV4=m ++CONFIG_NFT_FIB_IPV4=m ++CONFIG_NF_TABLES_ARP=y ++CONFIG_NF_FLOW_TABLE_IPV4=m ++CONFIG_NFT_CHAIN_NAT_IPV4=m ++CONFIG_NFT_MASQ_IPV4=m ++CONFIG_NFT_REDIR_IPV4=m + CONFIG_IP_NF_IPTABLES=m + CONFIG_IP_NF_MATCH_AH=m + CONFIG_IP_NF_MATCH_ECN=m +@@ -237,6 +278,13 @@ CONFIG_IP_NF_RAW=m + CONFIG_IP_NF_ARPTABLES=m + CONFIG_IP_NF_ARPFILTER=m + CONFIG_IP_NF_ARP_MANGLE=m ++CONFIG_NFT_CHAIN_ROUTE_IPV6=m ++CONFIG_NFT_CHAIN_NAT_IPV6=m ++CONFIG_NFT_MASQ_IPV6=m ++CONFIG_NFT_REDIR_IPV6=m ++CONFIG_NFT_DUP_IPV6=m ++CONFIG_NFT_FIB_IPV6=m ++CONFIG_NF_FLOW_TABLE_IPV6=m + CONFIG_IP6_NF_IPTABLES=m + CONFIG_IP6_NF_MATCH_AH=m + CONFIG_IP6_NF_MATCH_EUI64=m +@@ -255,6 +303,9 @@ CONFIG_IP6_NF_RAW=m + CONFIG_IP6_NF_NAT=m + CONFIG_IP6_NF_TARGET_MASQUERADE=m + CONFIG_IP6_NF_TARGET_NPT=m ++CONFIG_NF_TABLES_BRIDGE=y ++CONFIG_NFT_BRIDGE_REJECT=m ++CONFIG_NF_LOG_BRIDGE=m + CONFIG_BRIDGE_NF_EBTABLES=m + CONFIG_BRIDGE_EBT_BROUTE=m + CONFIG_BRIDGE_EBT_T_FILTER=m +@@ -470,6 +521,7 @@ CONFIG_USB_RTL8150=m + CONFIG_USB_RTL8152=y + CONFIG_USB_LAN78XX=y + CONFIG_USB_USBNET=y ++CONFIG_USB_NET_AX8817X=m + CONFIG_USB_NET_AX88179_178A=m + CONFIG_USB_NET_CDCETHER=m + CONFIG_USB_NET_CDC_EEM=m +@@ -523,6 +575,8 @@ CONFIG_LIBERTAS_THINFIRM_USB=m + CONFIG_MWIFIEX=m + CONFIG_MWIFIEX_SDIO=m + CONFIG_MT7601U=m ++CONFIG_MT76x0U=m ++CONFIG_MT76x2U=m + CONFIG_RT2X00=m + CONFIG_RT2500USB=m + CONFIG_RT73USB=m +@@ -563,6 +617,7 @@ CONFIG_TOUCHSCREEN_ADS7846=m + CONFIG_TOUCHSCREEN_EGALAX=m + CONFIG_TOUCHSCREEN_EXC3000=m + CONFIG_TOUCHSCREEN_GOODIX=m ++CONFIG_TOUCHSCREEN_ILI210X=m + CONFIG_TOUCHSCREEN_EDT_FT5X06=m + CONFIG_TOUCHSCREEN_RPI_FT5406=m + CONFIG_TOUCHSCREEN_USB_COMPOSITE=m +@@ -586,7 +641,7 @@ CONFIG_GAMEPORT_L4=m + CONFIG_BRCM_CHAR_DRIVERS=y + CONFIG_BCM_VCIO=y + CONFIG_BCM2835_DEVGPIOMEM=y +-# CONFIG_BCM2835_SMI_DEV is not set ++CONFIG_RPIVID_MEM=m + # CONFIG_LEGACY_PTYS is not set + CONFIG_SERIAL_8250=y + # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set +@@ -605,10 +660,14 @@ CONFIG_SERIAL_SC16IS7XX_SPI=y + CONFIG_SERIAL_DEV_BUS=m + CONFIG_TTY_PRINTK=y + CONFIG_HW_RANDOM=y +-# CONFIG_HW_RANDOM_BCM2835 is not set + CONFIG_RAW_DRIVER=y ++CONFIG_TCG_TPM=m ++CONFIG_TCG_TIS_SPI=m + CONFIG_I2C=y + CONFIG_I2C_CHARDEV=m ++CONFIG_I2C_MUX=m ++CONFIG_I2C_MUX_GPMUX=m ++CONFIG_I2C_MUX_PCA954x=m + CONFIG_I2C_BCM2708=m + CONFIG_I2C_BCM2835=m + CONFIG_I2C_GPIO=m +@@ -617,6 +676,7 @@ CONFIG_I2C_TINY_USB=m + CONFIG_SPI=y + CONFIG_SPI_BCM2835=m + CONFIG_SPI_BCM2835AUX=m ++CONFIG_SPI_GPIO=m + CONFIG_SPI_SPIDEV=m + CONFIG_SPI_SLAVE=y + CONFIG_PPS_CLIENT_LDISC=m +@@ -648,11 +708,15 @@ CONFIG_W1_SLAVE_DS28E04=m + CONFIG_W1_SLAVE_DS28E17=m + CONFIG_POWER_RESET_GPIO=y + CONFIG_BATTERY_DS2760=m ++CONFIG_BATTERY_MAX17040=m + CONFIG_BATTERY_GAUGE_LTC2941=m + CONFIG_HWMON=m + CONFIG_SENSORS_DS1621=m ++CONFIG_SENSORS_GPIO_FAN=m + CONFIG_SENSORS_JC42=m + CONFIG_SENSORS_LM75=m ++CONFIG_SENSORS_RASPBERRYPI_HWMON=m ++CONFIG_SENSORS_RPI_POE_FAN=m + CONFIG_SENSORS_SHT21=m + CONFIG_SENSORS_SHT3x=m + CONFIG_SENSORS_SHTC1=m +@@ -660,6 +724,7 @@ CONFIG_SENSORS_ADS1015=m + CONFIG_SENSORS_INA2XX=m + CONFIG_SENSORS_TMP102=m + CONFIG_THERMAL=y ++CONFIG_BCM2835_THERMAL=y + CONFIG_BRCMSTB_THERMAL=y + CONFIG_WATCHDOG=y + CONFIG_GPIO_WATCHDOG=m +@@ -674,6 +739,31 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=m + CONFIG_REGULATOR_ARIZONA_LDO1=m + CONFIG_REGULATOR_ARIZONA_MICSUPP=m + CONFIG_REGULATOR_GPIO=y ++CONFIG_RC_CORE=y ++CONFIG_LIRC=y ++CONFIG_RC_DECODERS=y ++CONFIG_IR_NEC_DECODER=m ++CONFIG_IR_RC5_DECODER=m ++CONFIG_IR_RC6_DECODER=m ++CONFIG_IR_JVC_DECODER=m ++CONFIG_IR_SONY_DECODER=m ++CONFIG_IR_SANYO_DECODER=m ++CONFIG_IR_SHARP_DECODER=m ++CONFIG_IR_MCE_KBD_DECODER=m ++CONFIG_IR_XMP_DECODER=m ++CONFIG_IR_IMON_DECODER=m ++CONFIG_RC_DEVICES=y ++CONFIG_RC_ATI_REMOTE=m ++CONFIG_IR_IMON=m ++CONFIG_IR_MCEUSB=m ++CONFIG_IR_REDRAT3=m ++CONFIG_IR_STREAMZAP=m ++CONFIG_IR_IGUANA=m ++CONFIG_IR_TTUSBIR=m ++CONFIG_RC_LOOPBACK=m ++CONFIG_IR_GPIO_CIR=m ++CONFIG_IR_GPIO_TX=m ++CONFIG_IR_PWM_TX=m + CONFIG_MEDIA_SUPPORT=m + CONFIG_MEDIA_CAMERA_SUPPORT=y + CONFIG_MEDIA_ANALOG_TV_SUPPORT=y +@@ -745,7 +835,40 @@ CONFIG_VIDEO_GO7007=m + CONFIG_VIDEO_GO7007_USB=m + CONFIG_VIDEO_GO7007_USB_S2250_BOARD=m + CONFIG_VIDEO_AU0828=m ++CONFIG_VIDEO_AU0828_RC=y ++CONFIG_VIDEO_CX231XX=m ++CONFIG_VIDEO_CX231XX_ALSA=m ++CONFIG_VIDEO_CX231XX_DVB=m ++CONFIG_VIDEO_TM6000=m ++CONFIG_VIDEO_TM6000_ALSA=m ++CONFIG_VIDEO_TM6000_DVB=m ++CONFIG_DVB_USB=m ++CONFIG_DVB_USB_A800=m ++CONFIG_DVB_USB_DIBUSB_MB=m ++CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y ++CONFIG_DVB_USB_DIBUSB_MC=m ++CONFIG_DVB_USB_DIB0700=m ++CONFIG_DVB_USB_UMT_010=m ++CONFIG_DVB_USB_CXUSB=m ++CONFIG_DVB_USB_M920X=m ++CONFIG_DVB_USB_DIGITV=m ++CONFIG_DVB_USB_VP7045=m ++CONFIG_DVB_USB_VP702X=m ++CONFIG_DVB_USB_GP8PSK=m ++CONFIG_DVB_USB_NOVA_T_USB2=m ++CONFIG_DVB_USB_TTUSB2=m ++CONFIG_DVB_USB_DTT200U=m ++CONFIG_DVB_USB_OPERA1=m ++CONFIG_DVB_USB_AF9005=m ++CONFIG_DVB_USB_AF9005_REMOTE=m ++CONFIG_DVB_USB_PCTV452E=m ++CONFIG_DVB_USB_DW2102=m ++CONFIG_DVB_USB_CINERGY_T2=m ++CONFIG_DVB_USB_DTV5100=m ++CONFIG_DVB_USB_AZ6027=m ++CONFIG_DVB_USB_TECHNISAT_USB2=m + CONFIG_DVB_USB_V2=m ++CONFIG_DVB_USB_AF9015=m + CONFIG_DVB_USB_AF9035=m + CONFIG_DVB_USB_ANYSEE=m + CONFIG_DVB_USB_AU6610=m +@@ -753,7 +876,9 @@ CONFIG_DVB_USB_AZ6007=m + CONFIG_DVB_USB_CE6230=m + CONFIG_DVB_USB_EC168=m + CONFIG_DVB_USB_GL861=m ++CONFIG_DVB_USB_LME2510=m + CONFIG_DVB_USB_MXL111SF=m ++CONFIG_DVB_USB_RTL28XXU=m + CONFIG_DVB_USB_DVBSKY=m + CONFIG_SMS_USB_DRV=m + CONFIG_DVB_B2C2_FLEXCOP_USB=m +@@ -763,6 +888,7 @@ CONFIG_VIDEO_EM28XX_V4L2=m + CONFIG_VIDEO_EM28XX_ALSA=m + CONFIG_VIDEO_EM28XX_DVB=m + CONFIG_V4L_PLATFORM_DRIVERS=y ++CONFIG_VIDEO_BCM2835_UNICAM=m + CONFIG_RADIO_SI470X=m + CONFIG_USB_SI470X=m + CONFIG_I2C_SI470X=m +@@ -782,11 +908,14 @@ CONFIG_RADIO_WL128X=m + # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set + CONFIG_VIDEO_UDA1342=m + CONFIG_VIDEO_SONY_BTF_MPX=m ++CONFIG_VIDEO_ADV7180=m ++CONFIG_VIDEO_TC358743=m + CONFIG_VIDEO_TVP5150=m + CONFIG_VIDEO_TW2804=m + CONFIG_VIDEO_TW9903=m + CONFIG_VIDEO_TW9906=m + CONFIG_VIDEO_IMX219=m ++CONFIG_VIDEO_OV5647=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m + CONFIG_DRM=m +@@ -797,17 +926,23 @@ CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN + CONFIG_DRM_V3D=m + CONFIG_DRM_VC4=m + CONFIG_DRM_TINYDRM=m ++CONFIG_TINYDRM_ILI9225=m ++CONFIG_TINYDRM_ILI9341=m + CONFIG_TINYDRM_MI0283QT=m + CONFIG_TINYDRM_REPAPER=m ++CONFIG_TINYDRM_ST7586=m ++CONFIG_TINYDRM_ST7735R=m + CONFIG_FB=y + CONFIG_FB_BCM2708=y + CONFIG_FB_UDL=m ++CONFIG_FB_SIMPLE=y + CONFIG_FB_SSD1307=m + CONFIG_FB_RPISENSE=m + # CONFIG_BACKLIGHT_GENERIC is not set + CONFIG_BACKLIGHT_RPI=m + CONFIG_BACKLIGHT_GPIO=m + CONFIG_FRAMEBUFFER_CONSOLE=y ++CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y + CONFIG_LOGO=y + # CONFIG_LOGO_LINUX_MONO is not set + # CONFIG_LOGO_LINUX_VGA16 is not set +@@ -834,6 +969,8 @@ CONFIG_SND_BCM2708_SOC_GOOGLEVOICEHAT_SO + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADC=m ++CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADCPRO=m ++CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m + CONFIG_SND_BCM2708_SOC_RPI_CIRRUS=m +@@ -841,11 +978,14 @@ CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m + CONFIG_SND_BCM2708_SOC_JUSTBOOM_DAC=m + CONFIG_SND_BCM2708_SOC_JUSTBOOM_DIGI=m ++CONFIG_SND_BCM2708_SOC_IQAUDIO_CODEC=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DIGI=m ++CONFIG_SND_BCM2708_SOC_I_SABRE_Q2M=m + CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m + CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m + CONFIG_SND_AUDIOINJECTOR_OCTO_SOUNDCARD=m ++CONFIG_SND_AUDIOSENSE_PI=m + CONFIG_SND_DIGIDAC1_SOUNDCARD=m + CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m + CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO_V2=m +@@ -856,11 +996,14 @@ CONFIG_SND_BCM2708_SOC_ALLO_DIGIONE=m + CONFIG_SND_BCM2708_SOC_ALLO_KATANA_DAC=m + CONFIG_SND_BCM2708_SOC_FE_PI_AUDIO=m + CONFIG_SND_PISOUND=m ++CONFIG_SND_SOC_AD193X_SPI=m ++CONFIG_SND_SOC_AD193X_I2C=m + CONFIG_SND_SOC_ADAU1701=m + CONFIG_SND_SOC_ADAU7002=m + CONFIG_SND_SOC_AK4554=m + CONFIG_SND_SOC_CS4265=m + CONFIG_SND_SOC_CS4271_I2C=m ++CONFIG_SND_SOC_ICS43432=m + CONFIG_SND_SOC_SPDIF=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m +@@ -873,6 +1016,7 @@ CONFIG_HID_APPLE=m + CONFIG_HID_ASUS=m + CONFIG_HID_BELKIN=m + CONFIG_HID_BETOP_FF=m ++CONFIG_HID_BIGBEN_FF=m + CONFIG_HID_CHERRY=m + CONFIG_HID_CHICONY=m + CONFIG_HID_CYPRESS=m +@@ -1022,6 +1166,24 @@ CONFIG_USB_CXACRU=m + CONFIG_USB_UEAGLEATM=m + CONFIG_USB_XUSBATM=m + CONFIG_USB_GADGET=m ++CONFIG_USB_CONFIGFS=m ++CONFIG_USB_CONFIGFS_SERIAL=y ++CONFIG_USB_CONFIGFS_ACM=y ++CONFIG_USB_CONFIGFS_OBEX=y ++CONFIG_USB_CONFIGFS_NCM=y ++CONFIG_USB_CONFIGFS_ECM=y ++CONFIG_USB_CONFIGFS_ECM_SUBSET=y ++CONFIG_USB_CONFIGFS_RNDIS=y ++CONFIG_USB_CONFIGFS_EEM=y ++CONFIG_USB_CONFIGFS_MASS_STORAGE=y ++CONFIG_USB_CONFIGFS_F_LB_SS=y ++CONFIG_USB_CONFIGFS_F_FS=y ++CONFIG_USB_CONFIGFS_F_UAC1=y ++CONFIG_USB_CONFIGFS_F_UAC2=y ++CONFIG_USB_CONFIGFS_F_MIDI=y ++CONFIG_USB_CONFIGFS_F_HID=y ++CONFIG_USB_CONFIGFS_F_UVC=y ++CONFIG_USB_CONFIGFS_F_PRINTER=y + CONFIG_USB_ZERO=m + CONFIG_USB_AUDIO=m + CONFIG_USB_ETH=m +@@ -1048,6 +1210,8 @@ CONFIG_LEDS_CLASS=y + CONFIG_LEDS_PCA9532=m + CONFIG_LEDS_GPIO=y + CONFIG_LEDS_PCA955X=m ++CONFIG_LEDS_PCA963X=m ++CONFIG_LEDS_IS31FL32XX=m + CONFIG_LEDS_TRIGGER_TIMER=y + CONFIG_LEDS_TRIGGER_ONESHOT=y + CONFIG_LEDS_TRIGGER_HEARTBEAT=y +@@ -1059,6 +1223,7 @@ CONFIG_LEDS_TRIGGER_TRANSIENT=m + CONFIG_LEDS_TRIGGER_CAMERA=m + CONFIG_LEDS_TRIGGER_INPUT=y + CONFIG_LEDS_TRIGGER_PANIC=y ++CONFIG_LEDS_TRIGGER_NETDEV=m + CONFIG_RTC_CLASS=y + # CONFIG_RTC_HCTOSYS is not set + CONFIG_RTC_DRV_ABX80X=m +@@ -1080,6 +1245,7 @@ CONFIG_RTC_DRV_FM3130=m + CONFIG_RTC_DRV_RX8581=m + CONFIG_RTC_DRV_RX8025=m + CONFIG_RTC_DRV_EM3027=m ++CONFIG_RTC_DRV_RV3028=m + CONFIG_RTC_DRV_M41T93=m + CONFIG_RTC_DRV_M41T94=m + CONFIG_RTC_DRV_DS1302=m +@@ -1096,6 +1262,8 @@ CONFIG_RTC_DRV_RV3029C2=m + CONFIG_DMADEVICES=y + CONFIG_DMA_BCM2835=y + CONFIG_DMA_BCM2708=y ++CONFIG_AUXDISPLAY=y ++CONFIG_HD44780=m + CONFIG_UIO=m + CONFIG_UIO_PDRV_GENIRQ=m + CONFIG_STAGING=y +@@ -1124,6 +1292,7 @@ CONFIG_FB_TFT_PCD8544=m + CONFIG_FB_TFT_RA8875=m + CONFIG_FB_TFT_S6D02A1=m + CONFIG_FB_TFT_S6D1121=m ++CONFIG_FB_TFT_SH1106=m + CONFIG_FB_TFT_SSD1289=m + CONFIG_FB_TFT_SSD1306=m + CONFIG_FB_TFT_SSD1331=m +@@ -1137,8 +1306,10 @@ CONFIG_FB_TFT_UPD161704=m + CONFIG_FB_TFT_WATTEROTT=m + CONFIG_FB_FLEX=m + CONFIG_FB_TFT_FBTFT_DEVICE=m ++CONFIG_BCM2835_VCHIQ=y + CONFIG_SND_BCM2835=m + CONFIG_VIDEO_BCM2835=m ++CONFIG_VIDEO_CODEC_BCM2835=m + CONFIG_MAILBOX=y + CONFIG_BCM2835_MBOX=y + # CONFIG_IOMMU_SUPPORT is not set +@@ -1150,9 +1321,11 @@ CONFIG_IIO=m + CONFIG_IIO_BUFFER_CB=m + CONFIG_MCP320X=m + CONFIG_MCP3422=m ++CONFIG_TI_ADS1015=m + CONFIG_DHT11=m + CONFIG_HDC100X=m + CONFIG_HTU21=m ++CONFIG_INV_MPU6050_I2C=m + CONFIG_TSL4531=m + CONFIG_VEML6070=m + CONFIG_BMP280=m +@@ -1283,6 +1456,7 @@ CONFIG_CRYPTO_CAST5=m + CONFIG_CRYPTO_DES=y + CONFIG_CRYPTO_LZ4=m + CONFIG_CRYPTO_USER_API_SKCIPHER=m ++# CONFIG_CRYPTO_HW is not set + CONFIG_CRC_ITU_T=y + CONFIG_LIBCRC32C=y + CONFIG_PRINTK_TIME=y +@@ -1294,6 +1468,7 @@ CONFIG_IRQSOFF_TRACER=y + CONFIG_SCHED_TRACER=y + CONFIG_STACK_TRACER=y + CONFIG_BLK_DEV_IO_TRACE=y ++# CONFIG_UPROBE_EVENTS is not set + CONFIG_FUNCTION_PROFILER=y + CONFIG_KGDB=y + CONFIG_KGDB_KDB=y diff --git a/target/linux/brcm2708/patches-4.19/950-0806-dts-Add-DTS-for-Pi-2B-rev-1.2-with-BCM2837-3235.patch b/target/linux/brcm2708/patches-4.19/950-0806-dts-Add-DTS-for-Pi-2B-rev-1.2-with-BCM2837-3235.patch new file mode 100644 index 0000000000..abb9fcc300 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0806-dts-Add-DTS-for-Pi-2B-rev-1.2-with-BCM2837-3235.patch @@ -0,0 +1,171 @@ +From 75967d69ea58555d12a7d9058653a69210d2ba86 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 18 Sep 2019 09:02:10 +0100 +Subject: [PATCH 806/806] dts: Add DTS for Pi 2B rev 1.2 with BCM2837 (#3235) + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/Makefile | 1 + + arch/arm/boot/dts/bcm2710-rpi-2-b.dts | 125 ++++++++++++++++++ + arch/arm64/boot/dts/broadcom/Makefile | 2 + + .../boot/dts/broadcom/bcm2710-rpi-2-b.dts | 3 + + 4 files changed, 131 insertions(+) + create mode 100644 arch/arm/boot/dts/bcm2710-rpi-2-b.dts + create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-2-b.dts + +--- a/arch/arm/boot/dts/Makefile ++++ b/arch/arm/boot/dts/Makefile +@@ -7,6 +7,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ + bcm2708-rpi-zero.dtb \ + bcm2708-rpi-zero-w.dtb \ + bcm2709-rpi-2-b.dtb \ ++ bcm2710-rpi-2-b.dtb \ + bcm2710-rpi-3-b.dtb \ + bcm2711-rpi-4-b.dtb \ + bcm2710-rpi-3-b-plus.dtb \ +--- /dev/null ++++ b/arch/arm/boot/dts/bcm2710-rpi-2-b.dts +@@ -0,0 +1,125 @@ ++/dts-v1/; ++ ++#include "bcm2710.dtsi" ++#include "bcm2709-rpi.dtsi" ++#include "bcm283x-rpi-smsc9514.dtsi" ++#include "bcm283x-rpi-csi1-2lane.dtsi" ++ ++/ { ++ compatible = "raspberrypi,2-model-b-rev2", "brcm,bcm2837"; ++ model = "Raspberry Pi 2 Model B rev 1.2"; ++}; ++ ++&gpio { ++ spi0_pins: spi0_pins { ++ brcm,pins = <9 10 11>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ spi0_cs_pins: spi0_cs_pins { ++ brcm,pins = <8 7>; ++ brcm,function = <1>; /* output */ ++ }; ++ ++ i2c0_pins: i2c0 { ++ brcm,pins = <0 1>; ++ brcm,function = <4>; ++ }; ++ ++ i2c1_pins: i2c1 { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; ++ }; ++ ++ i2s_pins: i2s { ++ brcm,pins = <18 19 20 21>; ++ brcm,function = <4>; /* alt0 */ ++ }; ++ ++ audio_pins: audio_pins { ++ brcm,pins = <40 45>; ++ brcm,function = <4>; ++ }; ++}; ++ ++&uart0 { ++ status = "okay"; ++}; ++ ++&spi0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; ++ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; ++ ++ spidev0: spidev@0{ ++ compatible = "spidev"; ++ reg = <0>; /* CE0 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++ ++ spidev1: spidev@1{ ++ compatible = "spidev"; ++ reg = <1>; /* CE1 */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ spi-max-frequency = <125000000>; ++ }; ++}; ++ ++&i2c0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c0_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2c1_pins>; ++ clock-frequency = <100000>; ++}; ++ ++&i2c2 { ++ clock-frequency = <100000>; ++}; ++ ++&i2s { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&i2s_pins>; ++}; ++ ++&leds { ++ act_led: act { ++ label = "led0"; ++ linux,default-trigger = "mmc0"; ++ gpios = <&gpio 47 0>; ++ }; ++ ++ pwr_led: pwr { ++ label = "led1"; ++ linux,default-trigger = "input"; ++ gpios = <&gpio 35 0>; ++ }; ++}; ++ ++&hdmi { ++ hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; ++}; ++ ++&audio { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ ++/ { ++ __overrides__ { ++ act_led_gpio = <&act_led>,"gpios:4"; ++ act_led_activelow = <&act_led>,"gpios:8"; ++ act_led_trigger = <&act_led>,"linux,default-trigger"; ++ ++ pwr_led_gpio = <&pwr_led>,"gpios:4"; ++ pwr_led_activelow = <&pwr_led>,"gpios:8"; ++ pwr_led_trigger = <&pwr_led>,"linux,default-trigger"; ++ }; ++}; +--- a/arch/arm64/boot/dts/broadcom/Makefile ++++ b/arch/arm64/boot/dts/broadcom/Makefile +@@ -1,7 +1,9 @@ + # SPDX-License-Identifier: GPL-2.0 + dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-b.dtb \ + bcm2837-rpi-3-b-plus.dtb ++dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-2-b.dtb + dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb ++dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-2-b.dtb + dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb + dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-4-b.dtb + dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb +--- /dev/null ++++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-2-b.dts +@@ -0,0 +1,3 @@ ++#define RPI364 ++ ++#include "../../../../arm/boot/dts/bcm2710-rpi-2-b.dts" diff --git a/target/linux/brcm63xx/patches-4.14/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch b/target/linux/brcm63xx/patches-4.14/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch index 0ed8e3b786..5fb6e3e9e6 100644 --- a/target/linux/brcm63xx/patches-4.14/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch +++ b/target/linux/brcm63xx/patches-4.14/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch @@ -89,7 +89,7 @@ Signed-off-by: Jonas Gorski --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c -@@ -1942,7 +1942,8 @@ int gpiochip_add_pingroup_range(struct g +@@ -1950,7 +1950,8 @@ int gpiochip_add_pingroup_range(struct g list_add_tail(&pin_range->node, &gdev->pin_ranges); @@ -99,7 +99,7 @@ Signed-off-by: Jonas Gorski } EXPORT_SYMBOL_GPL(gpiochip_add_pingroup_range); -@@ -1994,7 +1995,7 @@ int gpiochip_add_pin_range(struct gpio_c +@@ -2002,7 +2003,7 @@ int gpiochip_add_pin_range(struct gpio_c list_add_tail(&pin_range->node, &gdev->pin_ranges); diff --git a/target/linux/gemini/patches-4.19/0008-ARM-dts-Enable-Gemini-flash-access.patch b/target/linux/gemini/patches-4.19/0008-ARM-dts-Enable-Gemini-flash-access.patch index 372242c68b..fab00d25e5 100644 --- a/target/linux/gemini/patches-4.19/0008-ARM-dts-Enable-Gemini-flash-access.patch +++ b/target/linux/gemini/patches-4.19/0008-ARM-dts-Enable-Gemini-flash-access.patch @@ -27,7 +27,7 @@ Signed-off-by: Linus Walleij gpio-miso = <&gpio1 8 GPIO_ACTIVE_HIGH>; gpio-mosi = <&gpio1 7 GPIO_ACTIVE_HIGH>; - /* Collides with pflash CE1, not so cool */ - cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; + cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; num-chipselects = <1>; @@ -253,15 +252,18 @@ diff --git a/target/linux/generic/backport-4.19/343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch b/target/linux/generic/backport-4.19/343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch index fc668dca10..3a9e21f580 100644 --- a/target/linux/generic/backport-4.19/343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch +++ b/target/linux/generic/backport-4.19/343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch @@ -48,7 +48,7 @@ Signed-off-by: Pablo Neira Ayuso MODULE_AUTHOR("Pablo Neira Ayuso "); --- a/net/netfilter/nft_flow_offload.c +++ b/net/netfilter/nft_flow_offload.c -@@ -211,47 +211,14 @@ static struct nft_expr_type nft_flow_off +@@ -217,47 +217,14 @@ static struct nft_expr_type nft_flow_off .owner = THIS_MODULE, }; diff --git a/target/linux/generic/backport-4.19/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch b/target/linux/generic/backport-4.19/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch index 07ef724094..64eda53295 100644 --- a/target/linux/generic/backport-4.19/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch +++ b/target/linux/generic/backport-4.19/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch @@ -84,7 +84,7 @@ Signed-off-by: Felix Fietkau } + nf_ct_offload_timeout(flow); - flow->timeout = (u32)jiffies; + flow->timeout = (u32)jiffies + NF_FLOW_TIMEOUT; return 0; } @@ -316,6 +335,8 @@ static int nf_flow_offload_gc_step(struc diff --git a/target/linux/generic/hack-4.14/204-module_strip.patch b/target/linux/generic/hack-4.14/204-module_strip.patch index dce9c48473..d847adf054 100644 --- a/target/linux/generic/hack-4.14/204-module_strip.patch +++ b/target/linux/generic/hack-4.14/204-module_strip.patch @@ -114,7 +114,7 @@ Signed-off-by: Felix Fietkau config MODULES_TREE_LOOKUP --- a/kernel/module.c +++ b/kernel/module.c -@@ -3008,9 +3008,11 @@ static struct module *setup_load_info(st +@@ -3020,9 +3020,11 @@ static struct module *setup_load_info(st static int check_modinfo(struct module *mod, struct load_info *info, int flags) { @@ -127,7 +127,7 @@ Signed-off-by: Felix Fietkau if (flags & MODULE_INIT_IGNORE_VERMAGIC) modmagic = NULL; -@@ -3031,6 +3033,7 @@ static int check_modinfo(struct module * +@@ -3043,6 +3045,7 @@ static int check_modinfo(struct module * mod->name); add_taint_module(mod, TAINT_OOT_MODULE, LOCKDEP_STILL_OK); } diff --git a/target/linux/generic/hack-4.14/301-mips_image_cmdline_hack.patch b/target/linux/generic/hack-4.14/301-mips_image_cmdline_hack.patch index bc49e5b40e..eb6011e813 100644 --- a/target/linux/generic/hack-4.14/301-mips_image_cmdline_hack.patch +++ b/target/linux/generic/hack-4.14/301-mips_image_cmdline_hack.patch @@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1161,6 +1161,10 @@ config SYNC_R4K +@@ -1158,6 +1158,10 @@ config SYNC_R4K config MIPS_MACHINE def_bool n diff --git a/target/linux/generic/hack-4.14/661-use_fq_codel_by_default.patch b/target/linux/generic/hack-4.14/661-use_fq_codel_by_default.patch index d1e92ae40a..59651c921a 100644 --- a/target/linux/generic/hack-4.14/661-use_fq_codel_by_default.patch +++ b/target/linux/generic/hack-4.14/661-use_fq_codel_by_default.patch @@ -83,7 +83,7 @@ Signed-off-by: Felix Fietkau EXPORT_SYMBOL(default_qdisc_ops); /* Main transmission queue. */ -@@ -760,7 +760,7 @@ static void attach_one_default_qdisc(str +@@ -764,7 +764,7 @@ static void attach_one_default_qdisc(str void *_unused) { struct Qdisc *qdisc; diff --git a/target/linux/generic/hack-4.19/204-module_strip.patch b/target/linux/generic/hack-4.19/204-module_strip.patch index c0650b3670..b218e3b6a8 100644 --- a/target/linux/generic/hack-4.19/204-module_strip.patch +++ b/target/linux/generic/hack-4.19/204-module_strip.patch @@ -114,7 +114,7 @@ Signed-off-by: Felix Fietkau config MODULES_TREE_LOOKUP --- a/kernel/module.c +++ b/kernel/module.c -@@ -3009,9 +3009,11 @@ static int setup_load_info(struct load_i +@@ -3025,9 +3025,11 @@ static int setup_load_info(struct load_i static int check_modinfo(struct module *mod, struct load_info *info, int flags) { @@ -127,7 +127,7 @@ Signed-off-by: Felix Fietkau if (flags & MODULE_INIT_IGNORE_VERMAGIC) modmagic = NULL; -@@ -3032,6 +3034,7 @@ static int check_modinfo(struct module * +@@ -3048,6 +3050,7 @@ static int check_modinfo(struct module * mod->name); add_taint_module(mod, TAINT_OOT_MODULE, LOCKDEP_STILL_OK); } diff --git a/target/linux/generic/hack-4.19/661-use_fq_codel_by_default.patch b/target/linux/generic/hack-4.19/661-use_fq_codel_by_default.patch index 74adfa0c43..d147c0d743 100644 --- a/target/linux/generic/hack-4.19/661-use_fq_codel_by_default.patch +++ b/target/linux/generic/hack-4.19/661-use_fq_codel_by_default.patch @@ -83,7 +83,7 @@ Signed-off-by: Felix Fietkau EXPORT_SYMBOL(default_qdisc_ops); /* Main transmission queue. */ -@@ -1004,7 +1004,7 @@ static void attach_one_default_qdisc(str +@@ -1013,7 +1013,7 @@ static void attach_one_default_qdisc(str void *_unused) { struct Qdisc *qdisc; diff --git a/target/linux/generic/hack-4.19/662-remove_pfifo_fast.patch b/target/linux/generic/hack-4.19/662-remove_pfifo_fast.patch index 0009940cd1..d545cdf7ee 100644 --- a/target/linux/generic/hack-4.19/662-remove_pfifo_fast.patch +++ b/target/linux/generic/hack-4.19/662-remove_pfifo_fast.patch @@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c -@@ -595,207 +595,6 @@ struct Qdisc_ops noqueue_qdisc_ops __rea +@@ -600,207 +600,6 @@ struct Qdisc_ops noqueue_qdisc_ops __rea .owner = THIS_MODULE, }; diff --git a/target/linux/generic/hack-4.19/930-crashlog.patch b/target/linux/generic/hack-4.19/930-crashlog.patch index 0088b7a081..1562df44a4 100644 --- a/target/linux/generic/hack-4.19/930-crashlog.patch +++ b/target/linux/generic/hack-4.19/930-crashlog.patch @@ -280,7 +280,7 @@ Signed-off-by: Felix Fietkau +module_init(crashlog_init_fs); --- a/kernel/module.c +++ b/kernel/module.c -@@ -256,6 +256,9 @@ static void mod_update_bounds(struct mod +@@ -251,6 +251,9 @@ static void mod_update_bounds(struct mod #ifdef CONFIG_KGDB_KDB struct list_head *kdb_modules = &modules; /* kdb needs the list of modules */ #endif /* CONFIG_KGDB_KDB */ diff --git a/target/linux/generic/hack-4.9/301-mips_image_cmdline_hack.patch b/target/linux/generic/hack-4.9/301-mips_image_cmdline_hack.patch index 4d90c07821..01caff5b89 100644 --- a/target/linux/generic/hack-4.9/301-mips_image_cmdline_hack.patch +++ b/target/linux/generic/hack-4.9/301-mips_image_cmdline_hack.patch @@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1160,6 +1160,10 @@ config SYNC_R4K +@@ -1157,6 +1157,10 @@ config SYNC_R4K config MIPS_MACHINE def_bool n diff --git a/target/linux/generic/hack-4.9/661-use_fq_codel_by_default.patch b/target/linux/generic/hack-4.9/661-use_fq_codel_by_default.patch index 34fc2a37c3..5461393daa 100644 --- a/target/linux/generic/hack-4.9/661-use_fq_codel_by_default.patch +++ b/target/linux/generic/hack-4.9/661-use_fq_codel_by_default.patch @@ -83,7 +83,7 @@ Signed-off-by: Felix Fietkau EXPORT_SYMBOL(default_qdisc_ops); /* Main transmission queue. */ -@@ -760,7 +760,7 @@ static void attach_one_default_qdisc(str +@@ -764,7 +764,7 @@ static void attach_one_default_qdisc(str void *_unused) { struct Qdisc *qdisc; diff --git a/target/linux/generic/pending-4.14/300-mips_expose_boot_raw.patch b/target/linux/generic/pending-4.14/300-mips_expose_boot_raw.patch index 35854f323c..5384be15ca 100644 --- a/target/linux/generic/pending-4.14/300-mips_expose_boot_raw.patch +++ b/target/linux/generic/pending-4.14/300-mips_expose_boot_raw.patch @@ -9,7 +9,7 @@ Acked-by: Rob Landley --- --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1070,9 +1070,6 @@ config FW_ARC +@@ -1067,9 +1067,6 @@ config FW_ARC config ARCH_MAY_HAVE_PC_FDC bool @@ -19,7 +19,7 @@ Acked-by: Rob Landley config CEVT_BCM1480 bool -@@ -2970,6 +2967,18 @@ choice +@@ -2967,6 +2964,18 @@ choice bool "Extend builtin kernel arguments with bootloader arguments" endchoice diff --git a/target/linux/generic/pending-4.14/304-mips_disable_fpu.patch b/target/linux/generic/pending-4.14/304-mips_disable_fpu.patch index 57827d5aa5..22e2e86206 100644 --- a/target/linux/generic/pending-4.14/304-mips_disable_fpu.patch +++ b/target/linux/generic/pending-4.14/304-mips_disable_fpu.patch @@ -24,7 +24,7 @@ v2: incorporated changes suggested by Jonas Gorski --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -2894,6 +2894,20 @@ config MIPS_O32_FP64_SUPPORT +@@ -2891,6 +2891,20 @@ config MIPS_O32_FP64_SUPPORT If unsure, say N. diff --git a/target/linux/generic/pending-4.14/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch b/target/linux/generic/pending-4.14/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch index 2c78b91c57..de2dd65b17 100644 --- a/target/linux/generic/pending-4.14/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch +++ b/target/linux/generic/pending-4.14/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch @@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau select HAVE_PCSPKR_PLATFORM select IRQ_MIPS_CPU select I8253 -@@ -1131,6 +1133,9 @@ config DMA_NONCOHERENT +@@ -1128,6 +1130,9 @@ config DMA_NONCOHERENT bool select NEED_DMA_MAP_STATE @@ -40,7 +40,7 @@ Signed-off-by: Felix Fietkau config NEED_DMA_MAP_STATE bool -@@ -1655,6 +1660,7 @@ config CPU_R10000 +@@ -1652,6 +1657,7 @@ config CPU_R10000 select CPU_SUPPORTS_64BIT_KERNEL select CPU_SUPPORTS_HIGHMEM select CPU_SUPPORTS_HUGEPAGES @@ -48,7 +48,7 @@ Signed-off-by: Felix Fietkau help MIPS Technologies R10000-series processors. -@@ -1903,9 +1909,11 @@ config SYS_HAS_CPU_MIPS32_R3_5 +@@ -1900,9 +1906,11 @@ config SYS_HAS_CPU_MIPS32_R3_5 bool config SYS_HAS_CPU_MIPS32_R5 @@ -60,7 +60,7 @@ Signed-off-by: Felix Fietkau bool config SYS_HAS_CPU_MIPS64_R1 -@@ -1915,6 +1923,7 @@ config SYS_HAS_CPU_MIPS64_R2 +@@ -1912,6 +1920,7 @@ config SYS_HAS_CPU_MIPS64_R2 bool config SYS_HAS_CPU_MIPS64_R6 diff --git a/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch b/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch new file mode 100644 index 0000000000..ed94f937c9 --- /dev/null +++ b/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch @@ -0,0 +1,64 @@ +From 0f76408d8c1cb0979f4286dd23912e6e59784b35 Mon Sep 17 00:00:00 2001 +From: DENG Qingfang +Date: Thu, 19 Sep 2019 11:42:55 +0200 +Subject: [PATCH] spi: spi-gpio: fix crash when num-chipselects is 0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +If an spi-gpio was specified with num-chipselects = <0> in dts, kernel will crash: + +Unable to handle kernel paging request at virtual address 32697073 +pgd = (ptrval) +[32697073] *pgd=00000000 +Internal error: Oops: 5 [# 1] SMP ARM +Modules linked in: +CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.19.72 #0 +Hardware name: Generic DT based system +PC is at validate_desc+0x28/0x80 +LR is at gpiod_direction_output+0x14/0x128 +... +[] (validate_desc) from [] (gpiod_direction_output+0x14/0x128) +[] (gpiod_direction_output) from [] (spi_gpio_setup+0x58/0x64) +[] (spi_gpio_setup) from [] (spi_setup+0x12c/0x148) +[] (spi_setup) from [] (spi_add_device+0xbc/0x12c) +[] (spi_add_device) from [] (spi_register_controller+0x838/0x924) +[] (spi_register_controller) from [] (spi_bitbang_start+0x108/0x120) +[] (spi_bitbang_start) from [] (spi_gpio_probe+0x314/0x338) +[] (spi_gpio_probe) from [] (platform_drv_probe+0x34/0x70) + +The cause is spi_gpio_setup() did not check if the spi-gpio has chipselect pins +before setting their direction and results in derefing an invalid pointer. + +The bug is spotted in kernel 4.19.72 on OpenWrt, and does not occur in 4.14. + +There is a similar fix upstream 249e2632dcd0509b8f8f296f5aabf4d48dfd6da8. + +Ref: https://patchwork.kernel.org/patch/11150619/ +Cc: Linus Walleij +Cc: stable@vger.kernel.org +Signed-off-by: DENG Qingfang +Signed-off-by: Petr Štetiar +--- + drivers/spi/spi-gpio.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +--- a/drivers/spi/spi-gpio.c ++++ b/drivers/spi/spi-gpio.c +@@ -242,10 +242,12 @@ static int spi_gpio_setup(struct spi_dev + * The CS GPIOs have already been + * initialized from the descriptor lookup. + */ +- cs = spi_gpio->cs_gpios[spi->chip_select]; +- if (!spi->controller_state && cs) +- status = gpiod_direction_output(cs, +- !(spi->mode & SPI_CS_HIGH)); ++ if (spi_gpio->has_cs) { ++ cs = spi_gpio->cs_gpios[spi->chip_select]; ++ if (!spi->controller_state && cs) ++ status = gpiod_direction_output(cs, ++ !(spi->mode & SPI_CS_HIGH)); ++ } + + if (!status) + status = spi_bitbang_setup(spi); diff --git a/target/linux/generic/pending-4.19/840-media-i2c-tda1997x-select-V4L2_FWNODE.patch b/target/linux/generic/pending-4.19/840-media-i2c-tda1997x-select-V4L2_FWNODE.patch deleted file mode 100644 index 65fcfb5bfe..0000000000 --- a/target/linux/generic/pending-4.19/840-media-i2c-tda1997x-select-V4L2_FWNODE.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 237e88dcbcb0098e1a8a0887fb7299fcf18650a5 Mon Sep 17 00:00:00 2001 -From: Koen Vandeputte -Date: Mon, 18 Mar 2019 17:39:26 +0100 -Subject: [PATCH] media: i2c: tda1997x: select V4L2_FWNODE - -Building tda1997x fails now unless V4L2_FWNODE is selected: - -drivers/media/i2c/tda1997x.o: in function `tda1997x_parse_dt' -undefined reference to `v4l2_fwnode_endpoint_parse' - -While at it, also sort the selections alphabetically - -Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver") -Signed-off-by: Koen Vandeputte -Cc: Akinobu Mita -Cc: Bingbu Cao -Cc: Hans Verkuil -Cc: Jacopo Mondi -Cc: Matt Ranostay -Cc: Mauro Carvalho Chehab -Cc: Robin Leblon -Cc: Rui Miguel Silva -Cc: Sakari Ailus -Cc: Tim Harvey -Cc: linux-kernel@vger.kernel.org -Cc: stable@vger.kernel.org # v4.17+ ---- - drivers/media/i2c/Kconfig | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/drivers/media/i2c/Kconfig -+++ b/drivers/media/i2c/Kconfig -@@ -60,8 +60,9 @@ config VIDEO_TDA1997X - tristate "NXP TDA1997x HDMI receiver" - depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API - depends on SND_SOC -- select SND_PCM - select HDMI -+ select SND_PCM -+ select V4L2_FWNODE - ---help--- - V4L2 subdevice driver for the NXP TDA1997x HDMI receivers. - diff --git a/target/linux/generic/pending-4.9/300-mips_expose_boot_raw.patch b/target/linux/generic/pending-4.9/300-mips_expose_boot_raw.patch index 5c4c6dacf3..f826bf557e 100644 --- a/target/linux/generic/pending-4.9/300-mips_expose_boot_raw.patch +++ b/target/linux/generic/pending-4.9/300-mips_expose_boot_raw.patch @@ -9,7 +9,7 @@ Acked-by: Rob Landley --- --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1069,9 +1069,6 @@ config FW_ARC +@@ -1066,9 +1066,6 @@ config FW_ARC config ARCH_MAY_HAVE_PC_FDC bool @@ -19,7 +19,7 @@ Acked-by: Rob Landley config CEVT_BCM1480 bool -@@ -2968,6 +2965,18 @@ choice +@@ -2965,6 +2962,18 @@ choice bool "Extend builtin kernel arguments with bootloader arguments" endchoice diff --git a/target/linux/generic/pending-4.9/304-mips_disable_fpu.patch b/target/linux/generic/pending-4.9/304-mips_disable_fpu.patch index aac9c79da8..4765da72de 100644 --- a/target/linux/generic/pending-4.9/304-mips_disable_fpu.patch +++ b/target/linux/generic/pending-4.9/304-mips_disable_fpu.patch @@ -24,7 +24,7 @@ v2: incorporated changes suggested by Jonas Gorski --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -2892,6 +2892,20 @@ config MIPS_O32_FP64_SUPPORT +@@ -2889,6 +2889,20 @@ config MIPS_O32_FP64_SUPPORT If unsure, say N. diff --git a/target/linux/generic/pending-4.9/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch b/target/linux/generic/pending-4.9/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch index 0393b4a227..19f5d294c8 100644 --- a/target/linux/generic/pending-4.9/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch +++ b/target/linux/generic/pending-4.9/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch @@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau select HAVE_PCSPKR_PLATFORM select IRQ_MIPS_CPU select I8253 -@@ -1130,6 +1132,9 @@ config DMA_NONCOHERENT +@@ -1127,6 +1129,9 @@ config DMA_NONCOHERENT bool select NEED_DMA_MAP_STATE @@ -40,7 +40,7 @@ Signed-off-by: Felix Fietkau config NEED_DMA_MAP_STATE bool -@@ -1654,6 +1659,7 @@ config CPU_R10000 +@@ -1651,6 +1656,7 @@ config CPU_R10000 select CPU_SUPPORTS_64BIT_KERNEL select CPU_SUPPORTS_HIGHMEM select CPU_SUPPORTS_HUGEPAGES @@ -48,7 +48,7 @@ Signed-off-by: Felix Fietkau help MIPS Technologies R10000-series processors. -@@ -1899,9 +1905,11 @@ config SYS_HAS_CPU_MIPS32_R3_5 +@@ -1896,9 +1902,11 @@ config SYS_HAS_CPU_MIPS32_R3_5 bool config SYS_HAS_CPU_MIPS32_R5 @@ -60,7 +60,7 @@ Signed-off-by: Felix Fietkau bool config SYS_HAS_CPU_MIPS64_R1 -@@ -1911,6 +1919,7 @@ config SYS_HAS_CPU_MIPS64_R2 +@@ -1908,6 +1916,7 @@ config SYS_HAS_CPU_MIPS64_R2 bool config SYS_HAS_CPU_MIPS64_R6 diff --git a/target/linux/ipq40xx/patches-4.19/079-v4.20-ARM-dts-qcom-ipq4019-fix-PCI-range.patch b/target/linux/ipq40xx/patches-4.19/079-v4.20-ARM-dts-qcom-ipq4019-fix-PCI-range.patch deleted file mode 100644 index ecf2a4aefb..0000000000 --- a/target/linux/ipq40xx/patches-4.19/079-v4.20-ARM-dts-qcom-ipq4019-fix-PCI-range.patch +++ /dev/null @@ -1,25 +0,0 @@ -From da89f500cb55fb3f19c4b399b46d8add0abbd4d6 Mon Sep 17 00:00:00 2001 -From: Mathias Kresin -Date: Wed, 25 Jul 2018 10:37:48 +0200 -Subject: [PATCH] ARM: dts: qcom: ipq4019: fix PCI range - -The PCI range is invalid and PCI attached devices doen't work. - -Signed-off-by: Mathias Kresin -Signed-off-by: John Crispin -Signed-off-by: Andy Gross ---- - arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/arch/arm/boot/dts/qcom-ipq4019.dtsi -+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi -@@ -405,7 +405,7 @@ - #size-cells = <2>; - - ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 -- 0x82000000 0 0x48000000 0x48000000 0 0x10000000>; -+ 0x82000000 0 0x40300000 0x40300000 0 0x400000>; - - interrupts = ; - interrupt-names = "msi"; diff --git a/target/linux/ipq40xx/patches-4.19/083-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch b/target/linux/ipq40xx/patches-4.19/083-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch deleted file mode 100644 index 1283f93708..0000000000 --- a/target/linux/ipq40xx/patches-4.19/083-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Christian Lamparter -Date: Mon, 25 Feb 2019 20:14:19 +0100 -Subject: [PATCH] ARM: dts: qcom: ipq4019: enlarge PCIe BAR range - -David Bauer reported that the VDSL modem (attached via PCIe) -on his AVM Fritz!Box 7530 was complaining about not having -enough space in the BAR. A closer inspection of the old -qcom-ipq40xx.dtsi pulled from the GL-iNet repository listed: - -| qcom,pcie@80000 { -| compatible = "qcom,msm_pcie"; -| reg = <0x80000 0x2000>, -| <0x99000 0x800>, -| <0x40000000 0xf1d>, -| <0x40000f20 0xa8>, -| <0x40100000 0x1000>, -| <0x40200000 0x100000>, -| <0x40300000 0xd00000>; -| reg-names = "parf", "phy", "dm_core", "elbi", -| "conf", "io", "bars"; - -Matching the reg-names with the listed reg leads to -<0xd00000> as the size for the "bars". - -BugLink: https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg45212.html -Reported-by: David Bauer -Signed-off-by: Christian Lamparter ---- - ---- a/arch/arm/boot/dts/qcom-ipq4019.dtsi -+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi -@@ -405,8 +405,8 @@ - #address-cells = <3>; - #size-cells = <2>; - -- ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 -- 0x82000000 0 0x40300000 0x40300000 0 0x400000>; -+ ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, -+ <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; - - interrupts = ; - interrupt-names = "msi"; diff --git a/target/linux/ipq40xx/patches-4.19/084-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch b/target/linux/ipq40xx/patches-4.19/084-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch deleted file mode 100644 index b5492c9f98..0000000000 --- a/target/linux/ipq40xx/patches-4.19/084-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Niklas Cassel -Subject: [PATCH] ARM: dts: qcom: ipq4019: Fix MSI IRQ type -Date: Thu, 24 Jan 2019 14:00:47 +0100 - -The databook clearly states that the MSI IRQ (msi_ctrl_int) is a level -triggered interrupt. - -The msi_ctrl_int will be high for as long as any MSI status bit is set, -thus the IRQ type should be set to IRQ_TYPE_LEVEL_HIGH, causing the -IRQ handler to keep getting called, as long as any MSI status bit is set. - -A git grep shows that ipq4019 is the only SoC using snps,dw-pcie that has -configured this IRQ incorrectly. - -Not having the correct IRQ type defined will cause us to lose interrupts, -which in turn causes timeouts in the PCIe endpoint drivers. - -Signed-off-by: Niklas Cassel -Reviewed-by: Bjorn Andersson ---- - ---- a/arch/arm/boot/dts/qcom-ipq4019.dtsi -+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi -@@ -408,7 +408,7 @@ - ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, - <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; - -- interrupts = ; -+ interrupts = ; - interrupt-names = "msi"; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0x7>; diff --git a/target/linux/layerscape/patches-4.14/816-pcie-support-layerscape.patch b/target/linux/layerscape/patches-4.14/816-pcie-support-layerscape.patch index 588be3ce7c..88f38df746 100644 --- a/target/linux/layerscape/patches-4.14/816-pcie-support-layerscape.patch +++ b/target/linux/layerscape/patches-4.14/816-pcie-support-layerscape.patch @@ -830,7 +830,7 @@ Signed-off-by: Yangbo Lu obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o --- a/drivers/pci/dwc/pci-dra7xx.c +++ b/drivers/pci/dwc/pci-dra7xx.c -@@ -338,15 +338,6 @@ static irqreturn_t dra7xx_pcie_irq_handl +@@ -339,15 +339,6 @@ static irqreturn_t dra7xx_pcie_irq_handl return IRQ_HANDLED; } @@ -1125,49 +1125,13 @@ Signed-off-by: Yangbo Lu struct pci_epf_header *hdr) { struct dw_pcie_ep *ep = epc_get_drvdata(epc); -@@ -74,8 +106,7 @@ static int dw_pcie_ep_inbound_atu(struct - u32 free_win; - struct dw_pcie *pci = to_dw_pcie_from_ep(ep); - -- free_win = find_first_zero_bit(&ep->ib_window_map, -- sizeof(ep->ib_window_map)); -+ free_win = find_first_zero_bit(ep->ib_window_map, ep->num_ib_windows); - if (free_win >= ep->num_ib_windows) { - dev_err(pci->dev, "no free inbound window\n"); - return -EINVAL; -@@ -89,7 +120,7 @@ static int dw_pcie_ep_inbound_atu(struct - } - - ep->bar_to_atu[bar] = free_win; -- set_bit(free_win, &ep->ib_window_map); -+ set_bit(free_win, ep->ib_window_map); - - return 0; - } -@@ -100,8 +131,7 @@ static int dw_pcie_ep_outbound_atu(struc - u32 free_win; - struct dw_pcie *pci = to_dw_pcie_from_ep(ep); - -- free_win = find_first_zero_bit(&ep->ob_window_map, -- sizeof(ep->ob_window_map)); -+ free_win = find_first_zero_bit(ep->ob_window_map, ep->num_ob_windows); - if (free_win >= ep->num_ob_windows) { - dev_err(pci->dev, "no free outbound window\n"); - return -EINVAL; -@@ -110,30 +140,35 @@ static int dw_pcie_ep_outbound_atu(struc - dw_pcie_prog_outbound_atu(pci, free_win, PCIE_ATU_TYPE_MEM, - phys_addr, pci_addr, size); - -- set_bit(free_win, &ep->ob_window_map); -+ set_bit(free_win, ep->ob_window_map); - ep->outbound_addr[free_win] = phys_addr; - +@@ -114,24 +146,29 @@ static int dw_pcie_ep_outbound_atu(struc return 0; } -static void dw_pcie_ep_clear_bar(struct pci_epc *epc, enum pci_barno bar) +static void dw_pcie_ep_clear_bar(struct pci_epc *epc, u8 func_no, -+ struct pci_epf_bar *epf_bar) ++ struct pci_epf_bar *epf_bar) { struct dw_pcie_ep *ep = epc_get_drvdata(epc); struct dw_pcie *pci = to_dw_pcie_from_ep(ep); @@ -1178,14 +1142,13 @@ Signed-off-by: Yangbo Lu + __dw_pcie_ep_reset_bar(pci, bar, epf_bar->flags); dw_pcie_disable_atu(pci, atu_index, DW_PCIE_REGION_INBOUND); -- clear_bit(atu_index, &ep->ib_window_map); -+ clear_bit(atu_index, ep->ib_window_map); + clear_bit(atu_index, ep->ib_window_map); } -static int dw_pcie_ep_set_bar(struct pci_epc *epc, enum pci_barno bar, - dma_addr_t bar_phys, size_t size, int flags) +static int dw_pcie_ep_set_bar(struct pci_epc *epc, u8 func_no, -+ struct pci_epf_bar *epf_bar) ++ struct pci_epf_bar *epf_bar) { int ret; struct dw_pcie_ep *ep = epc_get_drvdata(epc); @@ -1196,7 +1159,7 @@ Signed-off-by: Yangbo Lu enum dw_pcie_as_type as_type; u32 reg = PCI_BASE_ADDRESS_0 + (4 * bar); -@@ -142,13 +177,20 @@ static int dw_pcie_ep_set_bar(struct pci +@@ -140,13 +177,20 @@ static int dw_pcie_ep_set_bar(struct pci else as_type = DW_PCIE_AS_IO; @@ -1219,7 +1182,7 @@ Signed-off-by: Yangbo Lu dw_pcie_dbi_ro_wr_dis(pci); return 0; -@@ -169,7 +211,8 @@ static int dw_pcie_find_index(struct dw_ +@@ -167,7 +211,8 @@ static int dw_pcie_find_index(struct dw_ return -EINVAL; } @@ -1229,66 +1192,103 @@ Signed-off-by: Yangbo Lu { int ret; u32 atu_index; -@@ -181,10 +224,11 @@ static void dw_pcie_ep_unmap_addr(struct - return; - - dw_pcie_disable_atu(pci, atu_index, DW_PCIE_REGION_OUTBOUND); -- clear_bit(atu_index, &ep->ob_window_map); -+ clear_bit(atu_index, ep->ob_window_map); +@@ -182,8 +227,9 @@ static void dw_pcie_ep_unmap_addr(struct + clear_bit(atu_index, ep->ob_window_map); } -static int dw_pcie_ep_map_addr(struct pci_epc *epc, phys_addr_t addr, +- u64 pci_addr, size_t size) +static int dw_pcie_ep_map_addr(struct pci_epc *epc, u8 func_no, -+ phys_addr_t addr, - u64 pci_addr, size_t size) ++ phys_addr_t addr, ++ u64 pci_addr, size_t size) { int ret; -@@ -200,45 +244,93 @@ static int dw_pcie_ep_map_addr(struct pc + struct dw_pcie_ep *ep = epc_get_drvdata(epc); +@@ -198,45 +244,93 @@ static int dw_pcie_ep_map_addr(struct pc return 0; } -static int dw_pcie_ep_get_msi(struct pci_epc *epc) +static int dw_pcie_ep_get_msi(struct pci_epc *epc, u8 func_no) ++{ ++ struct dw_pcie_ep *ep = epc_get_drvdata(epc); ++ struct dw_pcie *pci = to_dw_pcie_from_ep(ep); ++ u32 val, reg; ++ ++ if (!ep->msi_cap) ++ return -EINVAL; ++ ++ reg = ep->msi_cap + PCI_MSI_FLAGS; ++ val = dw_pcie_readw_dbi(pci, reg); ++ if (!(val & PCI_MSI_FLAGS_ENABLE)) ++ return -EINVAL; ++ ++ val = (val & PCI_MSI_FLAGS_QSIZE) >> 4; ++ ++ return val; ++} ++ ++static int dw_pcie_ep_set_msi(struct pci_epc *epc, u8 func_no, u8 interrupts) ++{ ++ struct dw_pcie_ep *ep = epc_get_drvdata(epc); ++ struct dw_pcie *pci = to_dw_pcie_from_ep(ep); ++ u32 val, reg; ++ ++ if (!ep->msi_cap) ++ return -EINVAL; ++ ++ reg = ep->msi_cap + PCI_MSI_FLAGS; ++ val = dw_pcie_readw_dbi(pci, reg); ++ val &= ~PCI_MSI_FLAGS_QMASK; ++ val |= (interrupts << 1) & PCI_MSI_FLAGS_QMASK; ++ dw_pcie_dbi_ro_wr_en(pci); ++ dw_pcie_writew_dbi(pci, reg, val); ++ dw_pcie_dbi_ro_wr_dis(pci); ++ ++ return 0; ++} ++ ++static int dw_pcie_ep_get_msix(struct pci_epc *epc, u8 func_no) { - int val; struct dw_pcie_ep *ep = epc_get_drvdata(epc); struct dw_pcie *pci = to_dw_pcie_from_ep(ep); + u32 val, reg; + -+ if (!ep->msi_cap) ++ if (!ep->msix_cap) + return -EINVAL; - val = dw_pcie_readw_dbi(pci, MSI_MESSAGE_CONTROL); - if (!(val & MSI_CAP_MSI_EN_MASK)) -+ reg = ep->msi_cap + PCI_MSI_FLAGS; ++ reg = ep->msix_cap + PCI_MSIX_FLAGS; + val = dw_pcie_readw_dbi(pci, reg); -+ if (!(val & PCI_MSI_FLAGS_ENABLE)) ++ if (!(val & PCI_MSIX_FLAGS_ENABLE)) return -EINVAL; - val = (val & MSI_CAP_MME_MASK) >> MSI_CAP_MME_SHIFT; -+ val = (val & PCI_MSI_FLAGS_QSIZE) >> 4; ++ val &= PCI_MSIX_FLAGS_QSIZE; + return val; } -static int dw_pcie_ep_set_msi(struct pci_epc *epc, u8 encode_int) -+static int dw_pcie_ep_set_msi(struct pci_epc *epc, u8 func_no, u8 interrupts) ++static int dw_pcie_ep_set_msix(struct pci_epc *epc, u8 func_no, u16 interrupts) { - int val; struct dw_pcie_ep *ep = epc_get_drvdata(epc); struct dw_pcie *pci = to_dw_pcie_from_ep(ep); + u32 val, reg; -+ -+ if (!ep->msi_cap) -+ return -EINVAL; - val = dw_pcie_readw_dbi(pci, MSI_MESSAGE_CONTROL); - val &= ~MSI_CAP_MMC_MASK; - val |= (encode_int << MSI_CAP_MMC_SHIFT) & MSI_CAP_MMC_MASK; -+ reg = ep->msi_cap + PCI_MSI_FLAGS; ++ if (!ep->msix_cap) ++ return -EINVAL; ++ ++ reg = ep->msix_cap + PCI_MSIX_FLAGS; + val = dw_pcie_readw_dbi(pci, reg); -+ val &= ~PCI_MSI_FLAGS_QMASK; -+ val |= (interrupts << 1) & PCI_MSI_FLAGS_QMASK; ++ val &= ~PCI_MSIX_FLAGS_QSIZE; ++ val |= interrupts; dw_pcie_dbi_ro_wr_en(pci); - dw_pcie_writew_dbi(pci, MSI_MESSAGE_CONTROL, val); + dw_pcie_writew_dbi(pci, reg, val); @@ -1299,45 +1299,6 @@ Signed-off-by: Yangbo Lu -static int dw_pcie_ep_raise_irq(struct pci_epc *epc, - enum pci_epc_irq_type type, u8 interrupt_num) -+static int dw_pcie_ep_get_msix(struct pci_epc *epc, u8 func_no) -+{ -+ struct dw_pcie_ep *ep = epc_get_drvdata(epc); -+ struct dw_pcie *pci = to_dw_pcie_from_ep(ep); -+ u32 val, reg; -+ -+ if (!ep->msix_cap) -+ return -EINVAL; -+ -+ reg = ep->msix_cap + PCI_MSIX_FLAGS; -+ val = dw_pcie_readw_dbi(pci, reg); -+ if (!(val & PCI_MSIX_FLAGS_ENABLE)) -+ return -EINVAL; -+ -+ val &= PCI_MSIX_FLAGS_QSIZE; -+ -+ return val; -+} -+ -+static int dw_pcie_ep_set_msix(struct pci_epc *epc, u8 func_no, u16 interrupts) -+{ -+ struct dw_pcie_ep *ep = epc_get_drvdata(epc); -+ struct dw_pcie *pci = to_dw_pcie_from_ep(ep); -+ u32 val, reg; -+ -+ if (!ep->msix_cap) -+ return -EINVAL; -+ -+ reg = ep->msix_cap + PCI_MSIX_FLAGS; -+ val = dw_pcie_readw_dbi(pci, reg); -+ val &= ~PCI_MSIX_FLAGS_QSIZE; -+ val |= interrupts; -+ dw_pcie_dbi_ro_wr_en(pci); -+ dw_pcie_writew_dbi(pci, reg, val); -+ dw_pcie_dbi_ro_wr_dis(pci); -+ -+ return 0; -+} -+ +static int dw_pcie_ep_raise_irq(struct pci_epc *epc, u8 func_no, + enum pci_epc_irq_type type, u16 interrupt_num) { @@ -1351,7 +1312,7 @@ Signed-off-by: Yangbo Lu } static void dw_pcie_ep_stop(struct pci_epc *epc) -@@ -271,15 +363,130 @@ static const struct pci_epc_ops epc_ops +@@ -269,15 +363,130 @@ static const struct pci_epc_ops epc_ops .unmap_addr = dw_pcie_ep_unmap_addr, .set_msi = dw_pcie_ep_set_msi, .get_msi = dw_pcie_ep_get_msi, @@ -1482,7 +1443,7 @@ Signed-off-by: Yangbo Lu pci_epc_mem_exit(epc); } -@@ -293,7 +500,7 @@ int dw_pcie_ep_init(struct dw_pcie_ep *e +@@ -291,7 +500,7 @@ int dw_pcie_ep_init(struct dw_pcie_ep *e struct device_node *np = dev->of_node; if (!pci->dbi_base || !pci->dbi_base2) { @@ -1491,40 +1452,7 @@ Signed-off-by: Yangbo Lu return -EINVAL; } -@@ -302,12 +509,32 @@ int dw_pcie_ep_init(struct dw_pcie_ep *e - dev_err(dev, "unable to read *num-ib-windows* property\n"); - return ret; - } -+ if (ep->num_ib_windows > MAX_IATU_IN) { -+ dev_err(dev, "invalid *num-ib-windows*\n"); -+ return -EINVAL; -+ } - - ret = of_property_read_u32(np, "num-ob-windows", &ep->num_ob_windows); - if (ret < 0) { - dev_err(dev, "unable to read *num-ob-windows* property\n"); - return ret; - } -+ if (ep->num_ob_windows > MAX_IATU_OUT) { -+ dev_err(dev, "invalid *num-ob-windows*\n"); -+ return -EINVAL; -+ } -+ -+ ep->ib_window_map = devm_kzalloc(dev, sizeof(long) * -+ BITS_TO_LONGS(ep->num_ib_windows), -+ GFP_KERNEL); -+ if (!ep->ib_window_map) -+ return -ENOMEM; -+ -+ ep->ob_window_map = devm_kzalloc(dev, sizeof(long) * -+ BITS_TO_LONGS(ep->num_ob_windows), -+ GFP_KERNEL); -+ if (!ep->ob_window_map) -+ return -ENOMEM; - - addr = devm_kzalloc(dev, sizeof(phys_addr_t) * ep->num_ob_windows, - GFP_KERNEL); -@@ -315,15 +542,18 @@ int dw_pcie_ep_init(struct dw_pcie_ep *e +@@ -333,15 +542,18 @@ int dw_pcie_ep_init(struct dw_pcie_ep *e return -ENOMEM; ep->outbound_addr = addr; @@ -1546,7 +1474,7 @@ Signed-off-by: Yangbo Lu ret = of_property_read_u8(np, "max-functions", &epc->max_functions); if (ret < 0) epc->max_functions = 1; -@@ -335,8 +565,16 @@ int dw_pcie_ep_init(struct dw_pcie_ep *e +@@ -353,8 +565,16 @@ int dw_pcie_ep_init(struct dw_pcie_ep *e return ret; } @@ -1873,9 +1801,9 @@ Signed-off-by: Yangbo Lu /* * Maximum number of MSI IRQs can be 256 per controller. But keep * it 32 as of now. Probably we will never need more than 32. If needed, -@@ -114,6 +102,10 @@ - #define MAX_MSI_IRQS 32 - #define MAX_MSI_CTRLS (MAX_MSI_IRQS / 32) +@@ -118,6 +106,10 @@ + #define MAX_IATU_IN 256 + #define MAX_IATU_OUT 256 +/* Maximum number of inbound/outbound iATUs */ +#define MAX_IATU_IN 256 @@ -1884,7 +1812,7 @@ Signed-off-by: Yangbo Lu struct pcie_port; struct dw_pcie; struct dw_pcie_ep; -@@ -181,8 +173,8 @@ enum dw_pcie_as_type { +@@ -185,8 +177,8 @@ enum dw_pcie_as_type { struct dw_pcie_ep_ops { void (*ep_init)(struct dw_pcie_ep *ep); @@ -1895,24 +1823,18 @@ Signed-off-by: Yangbo Lu }; struct dw_pcie_ep { -@@ -193,10 +185,14 @@ struct dw_pcie_ep { - size_t page_size; - u8 bar_to_atu[6]; - phys_addr_t *outbound_addr; -- unsigned long ib_window_map; -- unsigned long ob_window_map; -+ unsigned long *ib_window_map; -+ unsigned long *ob_window_map; +@@ -201,6 +193,10 @@ struct dw_pcie_ep { + unsigned long *ob_window_map; u32 num_ib_windows; u32 num_ob_windows; -+ void __iomem *msi_mem; -+ phys_addr_t msi_mem_phys; -+ u8 msi_cap; /* MSI capability offset */ -+ u8 msix_cap; /* MSI-X capability offset */ ++ void __iomem *msi_mem; ++ phys_addr_t msi_mem_phys; ++ u8 msi_cap; /* MSI capability offset */ ++ u8 msix_cap; /* MSI-X capability offset */ }; struct dw_pcie_ops { -@@ -335,6 +331,12 @@ static inline int dw_pcie_host_init(stru +@@ -339,6 +335,12 @@ static inline int dw_pcie_host_init(stru void dw_pcie_ep_linkup(struct dw_pcie_ep *ep); int dw_pcie_ep_init(struct dw_pcie_ep *ep); void dw_pcie_ep_exit(struct dw_pcie_ep *ep); @@ -1925,7 +1847,7 @@ Signed-off-by: Yangbo Lu #else static inline void dw_pcie_ep_linkup(struct dw_pcie_ep *ep) { -@@ -348,5 +350,26 @@ static inline int dw_pcie_ep_init(struct +@@ -352,5 +354,26 @@ static inline int dw_pcie_ep_init(struct static inline void dw_pcie_ep_exit(struct dw_pcie_ep *ep) { } diff --git a/target/linux/layerscape/patches-4.14/820-sec-support-layerscape.patch b/target/linux/layerscape/patches-4.14/820-sec-support-layerscape.patch index d79c34d2e1..137486ffc6 100644 --- a/target/linux/layerscape/patches-4.14/820-sec-support-layerscape.patch +++ b/target/linux/layerscape/patches-4.14/820-sec-support-layerscape.patch @@ -15266,7 +15266,7 @@ Signed-off-by: Zhao Qiang #endif /* __SG_SW_QM_H */ --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c -@@ -1247,6 +1247,14 @@ static int ipsec_esp(struct talitos_edes +@@ -1250,6 +1250,14 @@ static int ipsec_esp(struct talitos_edes ret = talitos_sg_map_ext(dev, areq->src, cryptlen, edesc, &desc->ptr[4], sg_count, areq->assoclen, tbl_off, elen); diff --git a/target/linux/mediatek/patches-4.14/0162-mtd-nand-mtk-use-nand_reset-to-reset-NAND-devices-in.patch b/target/linux/mediatek/patches-4.14/0162-mtd-nand-mtk-use-nand_reset-to-reset-NAND-devices-in.patch index d27209292a..4429934765 100644 --- a/target/linux/mediatek/patches-4.14/0162-mtd-nand-mtk-use-nand_reset-to-reset-NAND-devices-in.patch +++ b/target/linux/mediatek/patches-4.14/0162-mtd-nand-mtk-use-nand_reset-to-reset-NAND-devices-in.patch @@ -17,7 +17,7 @@ Signed-off-by: Boris Brezillon --- a/drivers/mtd/nand/mtk_nand.c +++ b/drivers/mtd/nand/mtk_nand.c -@@ -1540,7 +1540,6 @@ static int mtk_nfc_resume(struct device +@@ -1539,7 +1539,6 @@ static int mtk_nfc_resume(struct device struct mtk_nfc *nfc = dev_get_drvdata(dev); struct mtk_nfc_nand_chip *chip; struct nand_chip *nand; @@ -25,7 +25,7 @@ Signed-off-by: Boris Brezillon int ret; u32 i; -@@ -1553,11 +1552,8 @@ static int mtk_nfc_resume(struct device +@@ -1552,11 +1551,8 @@ static int mtk_nfc_resume(struct device /* reset NAND chip if VCC was powered off */ list_for_each_entry(chip, &nfc->chips, node) { nand = &chip->nand; diff --git a/target/linux/mediatek/patches-4.14/0166-mtd-nand-mtk-Support-different-MTK-NAND-flash-contro.patch b/target/linux/mediatek/patches-4.14/0166-mtd-nand-mtk-Support-different-MTK-NAND-flash-contro.patch index 437901c943..63e1dad188 100644 --- a/target/linux/mediatek/patches-4.14/0166-mtd-nand-mtk-Support-different-MTK-NAND-flash-contro.patch +++ b/target/linux/mediatek/patches-4.14/0166-mtd-nand-mtk-Support-different-MTK-NAND-flash-contro.patch @@ -312,7 +312,7 @@ Signed-off-by: Boris Brezillon nfi_writel(nfc, reg, NFI_CON); nfi_writew(nfc, STAR_EN, NFI_STRDATA); -@@ -1126,9 +1127,11 @@ static void mtk_nfc_set_fdm(struct mtk_n +@@ -1125,9 +1126,11 @@ static void mtk_nfc_set_fdm(struct mtk_n { struct nand_chip *nand = mtd_to_nand(mtd); struct mtk_nfc_nand_chip *chip = to_mtk_nand(nand); @@ -325,7 +325,7 @@ Signed-off-by: Boris Brezillon fdm->reg_size = chip->spare_per_sector - ecc_bytes; if (fdm->reg_size > NFI_FDM_MAX_SIZE) -@@ -1208,7 +1211,8 @@ static int mtk_nfc_ecc_init(struct devic +@@ -1207,7 +1210,8 @@ static int mtk_nfc_ecc_init(struct devic * this controller only supports 512 and 1024 sizes */ if (nand->ecc.size < 1024) { @@ -335,7 +335,7 @@ Signed-off-by: Boris Brezillon nand->ecc.size = 1024; nand->ecc.strength <<= 1; } else { -@@ -1223,7 +1227,8 @@ static int mtk_nfc_ecc_init(struct devic +@@ -1222,7 +1226,8 @@ static int mtk_nfc_ecc_init(struct devic return ret; /* calculate oob bytes except ecc parity data */ @@ -345,7 +345,7 @@ Signed-off-by: Boris Brezillon free = spare - free; /* -@@ -1233,10 +1238,12 @@ static int mtk_nfc_ecc_init(struct devic +@@ -1232,10 +1237,12 @@ static int mtk_nfc_ecc_init(struct devic */ if (free > NFI_FDM_MAX_SIZE) { spare -= NFI_FDM_MAX_SIZE; @@ -360,7 +360,7 @@ Signed-off-by: Boris Brezillon } } -@@ -1389,6 +1396,8 @@ static const struct mtk_nfc_caps mtk_nfc +@@ -1388,6 +1395,8 @@ static const struct mtk_nfc_caps mtk_nfc .num_spare_size = 16, .pageformat_spare_shift = 4, .nfi_clk_div = 1, @@ -369,7 +369,7 @@ Signed-off-by: Boris Brezillon }; static const struct mtk_nfc_caps mtk_nfc_caps_mt2712 = { -@@ -1396,6 +1405,8 @@ static const struct mtk_nfc_caps mtk_nfc +@@ -1395,6 +1404,8 @@ static const struct mtk_nfc_caps mtk_nfc .num_spare_size = 19, .pageformat_spare_shift = 16, .nfi_clk_div = 2, diff --git a/target/linux/mediatek/patches-4.14/0167-mtd-nand-mtk-Support-MT7622-NAND-flash-controller.patch b/target/linux/mediatek/patches-4.14/0167-mtd-nand-mtk-Support-MT7622-NAND-flash-controller.patch index 7763e0644d..5cf99c14bc 100644 --- a/target/linux/mediatek/patches-4.14/0167-mtd-nand-mtk-Support-MT7622-NAND-flash-controller.patch +++ b/target/linux/mediatek/patches-4.14/0167-mtd-nand-mtk-Support-MT7622-NAND-flash-controller.patch @@ -81,7 +81,7 @@ Signed-off-by: Boris Brezillon static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) { return container_of(nand, struct mtk_nfc_nand_chip, nand); -@@ -1409,6 +1413,15 @@ static const struct mtk_nfc_caps mtk_nfc +@@ -1408,6 +1412,15 @@ static const struct mtk_nfc_caps mtk_nfc .max_sector_size = 1024, }; @@ -97,7 +97,7 @@ Signed-off-by: Boris Brezillon static const struct of_device_id mtk_nfc_id_table[] = { { .compatible = "mediatek,mt2701-nfc", -@@ -1416,6 +1429,9 @@ static const struct of_device_id mtk_nfc +@@ -1415,6 +1428,9 @@ static const struct of_device_id mtk_nfc }, { .compatible = "mediatek,mt2712-nfc", .data = &mtk_nfc_caps_mt2712, From 9328592847f619ec2795db0c5b20a9ecc3f6fa65 Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Tue, 24 Sep 2019 20:38:48 -0700 Subject: [PATCH 04/10] version update to R9.10.1 --- package/lean/default-settings/Makefile | 2 +- package/lean/default-settings/files/zzz-default-settings | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lean/default-settings/Makefile b/package/lean/default-settings/Makefile index 335e5167ff..c63b420b03 100644 --- a/package/lean/default-settings/Makefile +++ b/package/lean/default-settings/Makefile @@ -21,7 +21,7 @@ define Package/default-settings CATEGORY:=LuCI TITLE:=LuCI support for Default Settings PKGARCH:=all - DEPENDS:=+@LUCI_LANG_zh-cn + DEPENDS:=+luci-base +@LUCI_LANG_zh-cn endef define Package/default-settings/description diff --git a/package/lean/default-settings/files/zzz-default-settings b/package/lean/default-settings/files/zzz-default-settings index cd3564e006..9ef65c6310 100755 --- a/package/lean/default-settings/files/zzz-default-settings +++ b/package/lean/default-settings/files/zzz-default-settings @@ -55,7 +55,7 @@ sed -i '/set wireless.radio${devidx}.disabled/d' /lib/wifi/mac80211.sh wifi up sed -i '/DISTRIB_REVISION/d' /etc/openwrt_release -echo "DISTRIB_REVISION='R9.9.15'" >> /etc/openwrt_release +echo "DISTRIB_REVISION='R9.10.1'" >> /etc/openwrt_release sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release echo "DISTRIB_DESCRIPTION='OpenWrt '" >> /etc/openwrt_release From d155f1f093a13ce91b0a255a6f631bd9be25e8ab Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Wed, 25 Sep 2019 06:55:30 -0700 Subject: [PATCH 05/10] update hostapd --- package/network/services/hostapd/Config.in | 26 -- package/network/services/hostapd/Makefile | 26 +- .../hostapd/files/hostapd-basic.config | 34 +- .../hostapd/files/hostapd-full.config | 26 +- .../hostapd/files/hostapd-mini.config | 26 +- .../network/services/hostapd/files/hostapd.sh | 10 + .../hostapd/files/wpa_supplicant-basic.config | 64 ++-- .../hostapd/files/wpa_supplicant-full.config | 44 ++- .../hostapd/files/wpa_supplicant-mini.config | 44 ++- .../hostapd/files/wpa_supplicant-p2p.config | 44 ++- ...1-mesh-factor-out-mesh-join-function.patch | 211 ----------- ...2-mesh-factor-out-rsn-initialization.patch | 133 ------- .../003-mesh-relocate-RSN-init-function.patch | 41 --- ...ompletion-callback-to-complete-mesh-.patch | 129 +++++-- ...ountry-setting-to-mesh-configuration.patch | 35 -- ...-frequency-as-pri-sec-channel-switch.patch | 26 ++ ...rnel-driver-DFS-handler-in-userspace.patch | 14 +- ...annel-attributes-before-running-Mesh.patch | 38 +- ...ce-type-to-mesh-before-setting-inter.patch | 36 -- .../009-mesh-set-mesh-center-frequency.patch | 22 -- ...-mesh-interface-on-dfs-event-handler.patch | 176 --------- ...hannels-to-be-selected-if-dfs-is-ena.patch | 29 +- ...-do-not-allow-pri-sec-channel-switch.patch | 34 +- ...ot-allow-scan-result-to-swap-pri-sec.patch | 24 -- ...sh-do-not-use-offchan-mgmt-tx-on-DFS.patch | 58 +-- ...-fix-channel-switch-error-during-CAC.patch | 43 +-- ...nterface-context-to-send-DFS-event-m.patch | 107 ------ ...18-mesh-make-forwarding-configurable.patch | 36 +- ...CHANWIDTH_USE_HT-to-max_oper_chwidth.patch | 49 --- ...ent-use-of-VHT20-config-in-mesh-mode.patch | 82 ----- ...EE80211X-y-build-without-CONFIG_FILS.patch | 33 -- ...ix-race-condition-in-mesh-mpm-new-pe.patch | 2 +- ...re-management-frame-from-unexpected-.patch | 66 ++++ .../hostapd/patches/110-no_eapol_fix.patch | 14 - ...120-disable_bridge_packet_workaround.patch | 12 - .../hostapd/patches/200-multicall.patch | 54 +-- .../services/hostapd/patches/300-noscan.patch | 10 +- .../hostapd/patches/301-mesh-noscan.patch | 14 +- .../patches/310-rescan_immediately.patch | 2 +- .../hostapd/patches/320-optional_rfkill.patch | 12 +- .../patches/330-nl80211_fix_set_freq.patch | 4 +- .../patches/340-reload_freq_change.patch | 26 +- .../341-mesh-ctrl-iface-channel-switch.patch | 2 +- .../patches/350-nl80211_del_beacon_bss.patch | 10 +- .../patches/360-ctrl_iface_reload.patch | 4 +- .../hostapd/patches/370-ap_sta_support.patch | 171 +-------- .../patches/380-disable_ctrl_iface_mib.patch | 38 +- .../patches/390-wpa_ie_cap_workaround.patch | 4 +- .../400-wps_single_auth_enc_type.patch | 2 +- .../patches/410-limit_debug_messages.patch | 14 +- .../patches/420-indicate-features.patch | 6 +- .../patches/430-hostapd_cli_ifdef.patch | 4 +- .../hostapd/patches/450-scan_wait.patch | 12 +- ...dd-new-config-params-to-be-used-with.patch | 10 +- ...-use-new-parameters-during-ibss-join.patch | 4 +- .../patches/463-add-mcast_rate-to-11s.patch | 8 +- .../patches/464-fix-mesh-obss-check.patch | 2 +- .../patches/470-survey_data_fallback.patch | 4 +- .../patches/500-lto-jobserver-support.patch | 4 +- ...ostapd-Add-Multi-AP-protocol-support.patch | 306 ---------------- ...dd-Multi-AP-protocol-support-to-supp.patch | 311 ---------------- .../552-tests-Multi-AP-association.patch | 100 ----- .../553-tests-refactor-test_multi_ap.patch | 72 ---- ...-reject-backhaul-STA-on-fronhaul-BSS.patch | 106 ------ ...a_ext-add-multi_ap_subelem-parameter.patch | 342 ------------------ ...upport-Multi-AP-backhaul-STA-onboard.patch | 217 ----------- ...ort-Multi-AP-backhaul-STA-onboarding.patch | 339 ----------------- .../558-hostapd-add-README-MULTI-AP.patch | 181 --------- ...dd-WPS-tests-to-multi_ap-hwsim-tests.patch | 182 ---------- .../599-wpa_supplicant-fix-warnings.patch | 19 + .../hostapd/patches/600-ubus_support.patch | 154 ++------ .../services/hostapd/src/src/ap/ubus.c | 6 +- .../services/hostapd/src/src/ap/ubus.h | 2 +- 73 files changed, 735 insertions(+), 3817 deletions(-) delete mode 100644 package/network/services/hostapd/patches/001-mesh-factor-out-mesh-join-function.patch delete mode 100644 package/network/services/hostapd/patches/002-mesh-factor-out-rsn-initialization.patch delete mode 100644 package/network/services/hostapd/patches/003-mesh-relocate-RSN-init-function.patch delete mode 100644 package/network/services/hostapd/patches/005-mesh-reflect-country-setting-to-mesh-configuration.patch create mode 100644 package/network/services/hostapd/patches/005-mesh-update-ssid-frequency-as-pri-sec-channel-switch.patch delete mode 100644 package/network/services/hostapd/patches/008-mesh-set-interface-type-to-mesh-before-setting-inter.patch delete mode 100644 package/network/services/hostapd/patches/009-mesh-set-mesh-center-frequency.patch delete mode 100644 package/network/services/hostapd/patches/010-mesh-consider-mesh-interface-on-dfs-event-handler.patch delete mode 100644 package/network/services/hostapd/patches/014-mesh-do-not-allow-scan-result-to-swap-pri-sec.patch delete mode 100644 package/network/services/hostapd/patches/017-mesh-use-right-interface-context-to-send-DFS-event-m.patch delete mode 100644 package/network/services/hostapd/patches/031-mesh-add-VHT_CHANWIDTH_USE_HT-to-max_oper_chwidth.patch delete mode 100644 package/network/services/hostapd/patches/032-mesh-implement-use-of-VHT20-config-in-mesh-mode.patch delete mode 100644 package/network/services/hostapd/patches/040-FT-Fix-CONFIG_IEEE80211X-y-build-without-CONFIG_FILS.patch create mode 100644 package/network/services/hostapd/patches/067-0001-AP-Silently-ignore-management-frame-from-unexpected-.patch delete mode 100644 package/network/services/hostapd/patches/110-no_eapol_fix.patch delete mode 100644 package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch delete mode 100644 package/network/services/hostapd/patches/550-hostapd-Add-Multi-AP-protocol-support.patch delete mode 100644 package/network/services/hostapd/patches/551-wpa_supplicant-Add-Multi-AP-protocol-support-to-supp.patch delete mode 100644 package/network/services/hostapd/patches/552-tests-Multi-AP-association.patch delete mode 100644 package/network/services/hostapd/patches/553-tests-refactor-test_multi_ap.patch delete mode 100644 package/network/services/hostapd/patches/554-multi_ap-don-t-reject-backhaul-STA-on-fronhaul-BSS.patch delete mode 100644 package/network/services/hostapd/patches/555-WPS-wps_build_wfa_ext-add-multi_ap_subelem-parameter.patch delete mode 100644 package/network/services/hostapd/patches/556-wpa_supplicant-support-Multi-AP-backhaul-STA-onboard.patch delete mode 100644 package/network/services/hostapd/patches/557-hostapd-support-Multi-AP-backhaul-STA-onboarding.patch delete mode 100644 package/network/services/hostapd/patches/558-hostapd-add-README-MULTI-AP.patch delete mode 100644 package/network/services/hostapd/patches/559-tests-add-WPS-tests-to-multi_ap-hwsim-tests.patch create mode 100644 package/network/services/hostapd/patches/599-wpa_supplicant-fix-warnings.patch diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in index 578fba839c..9ce4b243cc 100644 --- a/package/network/services/hostapd/Config.in +++ b/package/network/services/hostapd/Config.in @@ -1,26 +1,4 @@ # wpa_supplicant config -config WPA_SUPPLICANT_NO_TIMESTAMP_CHECK - bool "Disable timestamp check" - depends on PACKAGE_wpa-supplicant || \ - PACKAGE_wpa-supplicant-openssl || \ - PACKAGE_wpa-supplicant-wolfssl || \ - PACKAGE_wpa-supplicant-mesh-openssl || \ - PACKAGE_wpa-supplicant-mesh-wolfssl || \ - PACKAGE_wpa-supplicant-basic || \ - PACKAGE_wpa-supplicant-mini || \ - PACKAGE_wpa-supplicant-p2p || \ - PACKAGE_wpad || \ - PACKAGE_wpad-openssl || \ - PACKAGE_wpad-wolfssl || \ - PACKAGE_wpad-basic || \ - PACKAGE_wpad-mini || \ - PACKAGE_wpad-mesh-openssl || \ - PACKAGE_wpad-mesh-wolfssl - default n - help - This disables the timestamp check for certificates in wpa_supplicant - Useful for devices without RTC that cannot reliably get the real date/time - config WPA_RFKILL_SUPPORT bool "Add rfkill support" depends on PACKAGE_wpa-supplicant || \ @@ -73,15 +51,11 @@ config WPA_WOLFSSL PACKAGE_wpad-wolfssl ||\ PACKAGE_wpad-mesh-wolfssl ||\ PACKAGE_eapol-test-wolfssl - select PACKAGE_libwolfssl select WOLFSSL_HAS_AES_CCM select WOLFSSL_HAS_AES_GCM select WOLFSSL_HAS_ARC4 - select WOLFSSL_HAS_DES3 select WOLFSSL_HAS_DH - select WOLFSSL_HAS_ECC select WOLFSSL_HAS_OCSP - select WOLFSSL_HAS_PSK select WOLFSSL_HAS_SESSION_TICKET select WOLFSSL_HAS_WPAS diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index f531e660ff..4f6420f503 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -7,13 +7,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_RELEASE:=2 +PKG_RELEASE:=1 PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2018-12-02 -PKG_SOURCE_VERSION:=c2c6c01bb8b6fafc2074b46a53c4eab2c145ac6f -PKG_MIRROR_HASH:=d381123fe42059b553d96122a03c35e7d1709153c3aaf10fa4e74fe59be243dd +PKG_SOURCE_DATE:=2019-08-08 +PKG_SOURCE_VERSION:=ca8c2bd28ad53f431d6ee60ef754e98cfdb4c17b +PKG_MIRROR_HASH:=9d9f1c60afa5324ee17219bd3ec61c1a6fa4043b4187da9bb44e59025d3ed31d PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=BSD-3-Clause @@ -22,7 +22,6 @@ PKG_CPE_ID:=cpe:/a:w1.fi:hostapd PKG_BUILD_PARALLEL:=1 PKG_CONFIG_DEPENDS:= \ - CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK \ CONFIG_PACKAGE_kmod-ath9k \ CONFIG_PACKAGE_kmod-cfg80211 \ CONFIG_PACKAGE_hostapd \ @@ -67,8 +66,6 @@ ifeq ($(LOCAL_VARIANT),mesh) CONFIG_VARIANT:=full endif -PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) - include $(INCLUDE_DIR)/package.mk STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(CONFIG_WPA_MSG_MIN_PRIORITY) @@ -92,21 +89,17 @@ DRIVER_MAKEOPTS= \ space := space += -ifeq ($(LOCAL_VARIANT),full) - DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_DRIVER_11W_SUPPORT) -endif - -ifeq ($(LOCAL_VARIANT),basic) +ifneq ($(LOCAL_VARIANT),mini) DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_DRIVER_11W_SUPPORT) endif ifeq ($(LOCAL_VARIANT),full) ifeq ($(SSL_VARIANT),openssl) - DRIVER_MAKEOPTS += CONFIG_TLS=openssl CONFIG_SAE=y CONFIG_OWE=y CONFIG_SUITEB192=y + DRIVER_MAKEOPTS += CONFIG_TLS=openssl CONFIG_SAE=y CONFIG_OWE=y CONFIG_SUITEB192=y CONFIG_AP=y CONFIG_MESH=y TARGET_LDFLAGS += -lcrypto -lssl endif ifeq ($(SSL_VARIANT),wolfssl) - DRIVER_MAKEOPTS += CONFIG_TLS=wolfssl CONFIG_WPS_NFC=1 CONFIG_SAE=y CONFIG_OWE=y CONFIG_SUITEB192=y + DRIVER_MAKEOPTS += CONFIG_TLS=wolfssl CONFIG_WPS_NFC=1 CONFIG_SAE=y CONFIG_OWE=y CONFIG_SUITEB192=y CONFIG_AP=y CONFIG_MESH=y TARGET_LDFLAGS += -lwolfssl endif endif @@ -123,14 +116,9 @@ ifneq ($(LOCAL_TYPE),hostapd) endif endif - ifdef CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK - TARGET_CFLAGS += -DNO_TIMESTAMP_CHECK - endif ifdef CONFIG_WPA_RFKILL_SUPPORT DRIVER_MAKEOPTS += NEED_RFKILL=y endif - DRIVER_MAKEOPTS += \ - CONFIG_DRIVER_ROBOSWITCH=$(CONFIG_PACKAGE_kmod-switch) endif ifdef CONFIG_USE_GLIBC diff --git a/package/network/services/hostapd/files/hostapd-basic.config b/package/network/services/hostapd/files/hostapd-basic.config index b15116fbbe..461b178433 100644 --- a/package/network/services/hostapd/files/hostapd-basic.config +++ b/package/network/services/hostapd/files/hostapd-basic.config @@ -50,13 +50,12 @@ CONFIG_DRIVER_NL80211=y # WPA2/IEEE 802.11i RSN pre-authentication CONFIG_RSN_PREAUTH=y -# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) -CONFIG_PEERKEY=y - # IEEE 802.11w (management frame protection) -# Driver support is also needed for IEEE 802.11w. #CONFIG_IEEE80211W=y +# Support Operating Channel Validation +#CONFIG_OCV=y + # Integrated EAP server #CONFIG_EAP=y @@ -109,11 +108,18 @@ CONFIG_PEERKEY=y #CONFIG_EAP_GPSK_SHA256=y # EAP-FAST for the integrated EAP server -# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed -# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., -# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. #CONFIG_EAP_FAST=y +# EAP-TEAP for the integrated EAP server +# Note: The current EAP-TEAP implementation is experimental and should not be +# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number +# of conflicting statements and missing details and the implementation has +# vendor specific workarounds for those and as such, may not interoperate with +# any other implementation. This should not be used for anything else than +# experimentation and interoperability testing until those issues has been +# resolved. +#CONFIG_EAP_TEAP=y + # Wi-Fi Protected Setup (WPS) #CONFIG_WPS=y # Enable UPnP support for external WPS Registrars @@ -253,6 +259,11 @@ CONFIG_NO_DUMP_STATE=y # requirements described above. CONFIG_NO_RANDOM_POOL=y +# Should we attempt to use the getrandom(2) call that provides more reliable +# yet secure randomness source than /dev/random on Linux 3.17 and newer. +# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. +CONFIG_GETRANDOM=y + # Should we use poll instead of select? Select is used by default. #CONFIG_ELOOP_POLL=y @@ -360,8 +371,6 @@ CONFIG_TLS=internal #CONFIG_TAXONOMY=y # Fast Initial Link Setup (FILS) (IEEE 802.11ai) -# Note: This is an experimental and not yet complete implementation. This -# should not be enabled for production use. #CONFIG_FILS=y # FILS shared key authentication with PFS #CONFIG_FILS_SK_PFS=y @@ -374,6 +383,13 @@ CONFIG_TLS=internal # Experimental implementation of draft-harkins-owe-07.txt #CONFIG_OWE=y +# Airtime policy support +#CONFIG_AIRTIME_POLICY=y + +# Override default value for the wpa_disable_eapol_key_retries configuration +# parameter. See that parameter in hostapd.conf for more details. +#CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1 + # uBus IPC/RPC System # Services can connect to the bus and provide methods # that can be called by other services or clients. diff --git a/package/network/services/hostapd/files/hostapd-full.config b/package/network/services/hostapd/files/hostapd-full.config index b4159c2d28..5c9fbed2e4 100644 --- a/package/network/services/hostapd/files/hostapd-full.config +++ b/package/network/services/hostapd/files/hostapd-full.config @@ -53,6 +53,9 @@ CONFIG_RSN_PREAUTH=y # IEEE 802.11w (management frame protection) #CONFIG_IEEE80211W=y +# Support Operating Channel Validation +#CONFIG_OCV=y + # Integrated EAP server CONFIG_EAP=y @@ -105,11 +108,18 @@ CONFIG_EAP_TTLS=y #CONFIG_EAP_GPSK_SHA256=y # EAP-FAST for the integrated EAP server -# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed -# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., -# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. CONFIG_EAP_FAST=y +# EAP-TEAP for the integrated EAP server +# Note: The current EAP-TEAP implementation is experimental and should not be +# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number +# of conflicting statements and missing details and the implementation has +# vendor specific workarounds for those and as such, may not interoperate with +# any other implementation. This should not be used for anything else than +# experimentation and interoperability testing until those issues has been +# resolved. +#CONFIG_EAP_TEAP=y + # Wi-Fi Protected Setup (WPS) CONFIG_WPS=y # Enable UPnP support for external WPS Registrars @@ -249,6 +259,11 @@ CONFIG_NO_DUMP_STATE=y # requirements described above. CONFIG_NO_RANDOM_POOL=y +# Should we attempt to use the getrandom(2) call that provides more reliable +# yet secure randomness source than /dev/random on Linux 3.17 and newer. +# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. +CONFIG_GETRANDOM=y + # Should we use poll instead of select? Select is used by default. #CONFIG_ELOOP_POLL=y @@ -356,8 +371,6 @@ CONFIG_INTERNAL_LIBTOMMATH=y CONFIG_TAXONOMY=y # Fast Initial Link Setup (FILS) (IEEE 802.11ai) -# Note: This is an experimental and not yet complete implementation. This -# should not be enabled for production use. #CONFIG_FILS=y # FILS shared key authentication with PFS #CONFIG_FILS_SK_PFS=y @@ -370,6 +383,9 @@ CONFIG_TAXONOMY=y # Experimental implementation of draft-harkins-owe-07.txt #CONFIG_OWE=y +# Airtime policy support +#CONFIG_AIRTIME_POLICY=y + # Override default value for the wpa_disable_eapol_key_retries configuration # parameter. See that parameter in hostapd.conf for more details. #CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1 diff --git a/package/network/services/hostapd/files/hostapd-mini.config b/package/network/services/hostapd/files/hostapd-mini.config index 9057658c16..f31e6467b0 100644 --- a/package/network/services/hostapd/files/hostapd-mini.config +++ b/package/network/services/hostapd/files/hostapd-mini.config @@ -53,6 +53,9 @@ CONFIG_RSN_PREAUTH=y # IEEE 802.11w (management frame protection) #CONFIG_IEEE80211W=y +# Support Operating Channel Validation +#CONFIG_OCV=y + # Integrated EAP server #CONFIG_EAP=y @@ -105,11 +108,18 @@ CONFIG_RSN_PREAUTH=y #CONFIG_EAP_GPSK_SHA256=y # EAP-FAST for the integrated EAP server -# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed -# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., -# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. #CONFIG_EAP_FAST=y +# EAP-TEAP for the integrated EAP server +# Note: The current EAP-TEAP implementation is experimental and should not be +# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number +# of conflicting statements and missing details and the implementation has +# vendor specific workarounds for those and as such, may not interoperate with +# any other implementation. This should not be used for anything else than +# experimentation and interoperability testing until those issues has been +# resolved. +#CONFIG_EAP_TEAP=y + # Wi-Fi Protected Setup (WPS) #CONFIG_WPS=y # Enable UPnP support for external WPS Registrars @@ -249,6 +259,11 @@ CONFIG_NO_DUMP_STATE=y # requirements described above. CONFIG_NO_RANDOM_POOL=y +# Should we attempt to use the getrandom(2) call that provides more reliable +# yet secure randomness source than /dev/random on Linux 3.17 and newer. +# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. +CONFIG_GETRANDOM=y + # Should we use poll instead of select? Select is used by default. #CONFIG_ELOOP_POLL=y @@ -356,8 +371,6 @@ CONFIG_TLS=internal #CONFIG_TAXONOMY=y # Fast Initial Link Setup (FILS) (IEEE 802.11ai) -# Note: This is an experimental and not yet complete implementation. This -# should not be enabled for production use. #CONFIG_FILS=y # FILS shared key authentication with PFS #CONFIG_FILS_SK_PFS=y @@ -370,6 +383,9 @@ CONFIG_TLS=internal # Experimental implementation of draft-harkins-owe-07.txt #CONFIG_OWE=y +# Airtime policy support +#CONFIG_AIRTIME_POLICY=y + # Override default value for the wpa_disable_eapol_key_retries configuration # parameter. See that parameter in hostapd.conf for more details. #CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1 diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 46acbefeee..8da8539e8a 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -747,6 +747,15 @@ wpa_supplicant_add_network() { ieee80211w ieee80211r \ multi_ap + case "$auth_type" in + sae|owe|eap192|eap-eap192) + set_default ieee80211w 2 + ;; + psk-sae) + set_default ieee80211w 1 + ;; + esac + set_default ieee80211r 0 set_default multi_ap 0 @@ -788,6 +797,7 @@ wpa_supplicant_add_network() { none) ;; owe) hostapd_append_wpa_key_mgmt + key_mgmt="$wpa_key_mgmt" ;; wep) local wep_keyidx=0 diff --git a/package/network/services/hostapd/files/wpa_supplicant-basic.config b/package/network/services/hostapd/files/wpa_supplicant-basic.config index bd02562b74..e2bd1866c4 100644 --- a/package/network/services/hostapd/files/wpa_supplicant-basic.config +++ b/package/network/services/hostapd/files/wpa_supplicant-basic.config @@ -73,6 +73,12 @@ CONFIG_DRIVER_NL80211=y # Driver interface for wired Ethernet drivers CONFIG_DRIVER_WIRED=y +# Driver interface for MACsec capable Qualcomm Atheros drivers +#CONFIG_DRIVER_MACSEC_QCA=y + +# Driver interface for Linux MACsec drivers +#CONFIG_DRIVER_MACSEC_LINUX=y + # Driver interface for the Broadcom RoboSwitch family #CONFIG_DRIVER_ROBOSWITCH=y @@ -83,8 +89,8 @@ CONFIG_DRIVER_WIRED=y #LIBS += -lsocket -ldlpi -lnsl #LIBS_c += -lsocket -# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is -# included) +# Enable IEEE 802.1X Supplicant (automatically included if any EAP method or +# MACsec is included) #CONFIG_IEEE8021X_EAPOL=y # EAP-MD5 @@ -103,11 +109,18 @@ CONFIG_DRIVER_WIRED=y #CONFIG_EAP_TTLS=y # EAP-FAST -# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed -# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., -# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. #CONFIG_EAP_FAST=y +# EAP-TEAP +# Note: The current EAP-TEAP implementation is experimental and should not be +# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number +# of conflicting statements and missing details and the implementation has +# vendor specific workarounds for those and as such, may not interoperate with +# any other implementation. This should not be used for anything else than +# experimentation and interoperability testing until those issues has been +# resolved. +#CONFIG_EAP_TEAP=y + # EAP-GTC #CONFIG_EAP_GTC=y @@ -117,6 +130,9 @@ CONFIG_DRIVER_WIRED=y # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) #CONFIG_EAP_SIM=y +# Enable SIM simulator (Milenage) for EAP-SIM +#CONFIG_SIM_SIMULATOR=y + # EAP-PSK (experimental; this is _not_ needed for WPA-PSK) #CONFIG_EAP_PSK=y @@ -166,6 +182,9 @@ CONFIG_DRIVER_WIRED=y # EAP-EKE #CONFIG_EAP_EKE=y +# MACsec +#CONFIG_MACSEC=y + # PKCS#12 (PFX) support (used to read private key and certificate file from # a file that usually has extension .p12 or .pfx) #CONFIG_PKCS12=y @@ -226,6 +245,9 @@ CONFIG_CTRL_IFACE=y # wpa_passphrase). This saves about 0.5 kB in code size. #CONFIG_NO_WPA_PASSPHRASE=y +# Simultaneous Authentication of Equals (SAE), WPA3-Personal +#CONFIG_SAE=y + # Disable scan result processing (ap_mode=1) to save code size by about 1 kB. # This can be used if ap_scan=1 mode is never enabled. #CONFIG_NO_SCAN_PROCESSING=y @@ -286,15 +308,15 @@ CONFIG_BACKEND=file # in a bridge for EAPOL frames. This should be uncommented only if the kernel # is known to not have the regression issue in packet socket behavior with # bridge interfaces (commit 'bridge: respect RFC2863 operational state')'). -#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y - -# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) -#CONFIG_PEERKEY=y +CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y # IEEE 802.11w (management frame protection), also known as PMF # Driver support is also needed for IEEE 802.11w. #CONFIG_IEEE80211W=y +# Support Operating Channel Validation +#CONFIG_OCV=y + # Select TLS implementation # openssl = OpenSSL (default) # gnutls = GnuTLS @@ -343,10 +365,6 @@ CONFIG_TLS=internal #CONFIG_NDIS_EVENTS_INTEGRATED=y #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib" -# Add support for old DBus control interface -# (fi.epitest.hostap.WPASupplicant) -#CONFIG_CTRL_IFACE_DBUS=y - # Add support for new DBus control interface # (fi.w1.hostap.wpa_supplicant1) #CONFIG_CTRL_IFACE_DBUS_NEW=y @@ -378,10 +396,6 @@ CONFIG_TLS=internal # IEEE Std 802.11r-2008 (Fast BSS Transition) for station mode CONFIG_IEEE80211R=y -# IEEE Std 802.11r-2008 (Fast BSS Transition) for AP mode (implies -# CONFIG_IEEE80211R). -#CONFIG_IEEE80211R_AP=y - # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt) #CONFIG_DEBUG_FILE=y @@ -456,6 +470,11 @@ CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON # that meet the requirements described above. CONFIG_NO_RANDOM_POOL=y +# Should we attempt to use the getrandom(2) call that provides more reliable +# yet secure randomness source than /dev/random on Linux 3.17 and newer. +# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. +CONFIG_GETRANDOM=y + # IEEE 802.11n (High Throughput) support (mainly for AP mode) #CONFIG_IEEE80211N=y @@ -497,8 +516,8 @@ CONFIG_NO_RANDOM_POOL=y # Enable TDLS support #CONFIG_TDLS=y -# Wi-Fi Direct -# This can be used to enable Wi-Fi Direct extensions for P2P using an external +# Wi-Fi Display +# This can be used to enable Wi-Fi Display extensions for P2P using an external # program to control the additional information exchanges in the messages. #CONFIG_WIFI_DISPLAY=y @@ -559,8 +578,6 @@ CONFIG_NO_RANDOM_POOL=y #CONFIG_MBO=y # Fast Initial Link Setup (FILS) (IEEE 802.11ai) -# Note: This is an experimental and not yet complete implementation. This -# should not be enabled for production use. #CONFIG_FILS=y # FILS shared key authentication with PFS #CONFIG_FILS_SK_PFS=y @@ -592,6 +609,11 @@ CONFIG_NO_RANDOM_POOL=y # Experimental implementation of draft-harkins-owe-07.txt #CONFIG_OWE=y +# Device Provisioning Protocol (DPP) +# This requires CONFIG_IEEE80211W=y to be enabled, too. (see +# wpa_supplicant/README-DPP for details) +#CONFIG_DPP=y + # uBus IPC/RPC System # Services can connect to the bus and provide methods # that can be called by other services or clients. diff --git a/package/network/services/hostapd/files/wpa_supplicant-full.config b/package/network/services/hostapd/files/wpa_supplicant-full.config index 5f6e82f7b6..e5a6752a8e 100644 --- a/package/network/services/hostapd/files/wpa_supplicant-full.config +++ b/package/network/services/hostapd/files/wpa_supplicant-full.config @@ -109,11 +109,18 @@ CONFIG_EAP_PEAP=y CONFIG_EAP_TTLS=y # EAP-FAST -# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed -# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., -# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. CONFIG_EAP_FAST=y +# EAP-TEAP +# Note: The current EAP-TEAP implementation is experimental and should not be +# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number +# of conflicting statements and missing details and the implementation has +# vendor specific workarounds for those and as such, may not interoperate with +# any other implementation. This should not be used for anything else than +# experimentation and interoperability testing until those issues has been +# resolved. +#CONFIG_EAP_TEAP=y + # EAP-GTC CONFIG_EAP_GTC=y @@ -123,6 +130,9 @@ CONFIG_EAP_OTP=y # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) #CONFIG_EAP_SIM=y +# Enable SIM simulator (Milenage) for EAP-SIM +#CONFIG_SIM_SIMULATOR=y + # EAP-PSK (experimental; this is _not_ needed for WPA-PSK) #CONFIG_EAP_PSK=y @@ -235,6 +245,9 @@ CONFIG_CTRL_IFACE=y # wpa_passphrase). This saves about 0.5 kB in code size. #CONFIG_NO_WPA_PASSPHRASE=y +# Simultaneous Authentication of Equals (SAE), WPA3-Personal +#CONFIG_SAE=y + # Disable scan result processing (ap_mode=1) to save code size by about 1 kB. # This can be used if ap_scan=1 mode is never enabled. #CONFIG_NO_SCAN_PROCESSING=y @@ -295,12 +308,15 @@ CONFIG_BACKEND=file # in a bridge for EAPOL frames. This should be uncommented only if the kernel # is known to not have the regression issue in packet socket behavior with # bridge interfaces (commit 'bridge: respect RFC2863 operational state')'). -#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y +CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y # IEEE 802.11w (management frame protection), also known as PMF # Driver support is also needed for IEEE 802.11w. #CONFIG_IEEE80211W=y +# Support Operating Channel Validation +#CONFIG_OCV=y + # Select TLS implementation # openssl = OpenSSL (default) # gnutls = GnuTLS @@ -349,10 +365,6 @@ CONFIG_INTERNAL_LIBTOMMATH_FAST=y #CONFIG_NDIS_EVENTS_INTEGRATED=y #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib" -# Add support for old DBus control interface -# (fi.epitest.hostap.WPASupplicant) -#CONFIG_CTRL_IFACE_DBUS=y - # Add support for new DBus control interface # (fi.w1.hostap.wpa_supplicant1) #CONFIG_CTRL_IFACE_DBUS_NEW=y @@ -458,6 +470,11 @@ CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON # that meet the requirements described above. CONFIG_NO_RANDOM_POOL=y +# Should we attempt to use the getrandom(2) call that provides more reliable +# yet secure randomness source than /dev/random on Linux 3.17 and newer. +# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. +CONFIG_GETRANDOM=y + # IEEE 802.11n (High Throughput) support (mainly for AP mode) #CONFIG_IEEE80211N=y @@ -499,8 +516,8 @@ CONFIG_WNM=y # Enable TDLS support #CONFIG_TDLS=y -# Wi-Fi Direct -# This can be used to enable Wi-Fi Direct extensions for P2P using an external +# Wi-Fi Display +# This can be used to enable Wi-Fi Display extensions for P2P using an external # program to control the additional information exchanges in the messages. #CONFIG_WIFI_DISPLAY=y @@ -561,8 +578,6 @@ CONFIG_WNM=y #CONFIG_MBO=y # Fast Initial Link Setup (FILS) (IEEE 802.11ai) -# Note: This is an experimental and not yet complete implementation. This -# should not be enabled for production use. #CONFIG_FILS=y # FILS shared key authentication with PFS #CONFIG_FILS_SK_PFS=y @@ -594,6 +609,11 @@ CONFIG_IBSS_RSN=y # Experimental implementation of draft-harkins-owe-07.txt #CONFIG_OWE=y +# Device Provisioning Protocol (DPP) +# This requires CONFIG_IEEE80211W=y to be enabled, too. (see +# wpa_supplicant/README-DPP for details) +#CONFIG_DPP=y + # uBus IPC/RPC System # Services can connect to the bus and provide methods # that can be called by other services or clients. diff --git a/package/network/services/hostapd/files/wpa_supplicant-mini.config b/package/network/services/hostapd/files/wpa_supplicant-mini.config index 5e6f154105..6af4693c53 100644 --- a/package/network/services/hostapd/files/wpa_supplicant-mini.config +++ b/package/network/services/hostapd/files/wpa_supplicant-mini.config @@ -109,11 +109,18 @@ CONFIG_DRIVER_WIRED=y #CONFIG_EAP_TTLS=y # EAP-FAST -# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed -# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., -# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. #CONFIG_EAP_FAST=y +# EAP-TEAP +# Note: The current EAP-TEAP implementation is experimental and should not be +# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number +# of conflicting statements and missing details and the implementation has +# vendor specific workarounds for those and as such, may not interoperate with +# any other implementation. This should not be used for anything else than +# experimentation and interoperability testing until those issues has been +# resolved. +#CONFIG_EAP_TEAP=y + # EAP-GTC #CONFIG_EAP_GTC=y @@ -123,6 +130,9 @@ CONFIG_DRIVER_WIRED=y # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) #CONFIG_EAP_SIM=y +# Enable SIM simulator (Milenage) for EAP-SIM +#CONFIG_SIM_SIMULATOR=y + # EAP-PSK (experimental; this is _not_ needed for WPA-PSK) #CONFIG_EAP_PSK=y @@ -235,6 +245,9 @@ CONFIG_CTRL_IFACE=y # wpa_passphrase). This saves about 0.5 kB in code size. #CONFIG_NO_WPA_PASSPHRASE=y +# Simultaneous Authentication of Equals (SAE), WPA3-Personal +#CONFIG_SAE=y + # Disable scan result processing (ap_mode=1) to save code size by about 1 kB. # This can be used if ap_scan=1 mode is never enabled. #CONFIG_NO_SCAN_PROCESSING=y @@ -295,12 +308,15 @@ CONFIG_BACKEND=file # in a bridge for EAPOL frames. This should be uncommented only if the kernel # is known to not have the regression issue in packet socket behavior with # bridge interfaces (commit 'bridge: respect RFC2863 operational state')'). -#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y +CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y # IEEE 802.11w (management frame protection), also known as PMF # Driver support is also needed for IEEE 802.11w. #CONFIG_IEEE80211W=y +# Support Operating Channel Validation +#CONFIG_OCV=y + # Select TLS implementation # openssl = OpenSSL (default) # gnutls = GnuTLS @@ -349,10 +365,6 @@ CONFIG_TLS=internal #CONFIG_NDIS_EVENTS_INTEGRATED=y #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib" -# Add support for old DBus control interface -# (fi.epitest.hostap.WPASupplicant) -#CONFIG_CTRL_IFACE_DBUS=y - # Add support for new DBus control interface # (fi.w1.hostap.wpa_supplicant1) #CONFIG_CTRL_IFACE_DBUS_NEW=y @@ -458,6 +470,11 @@ CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON # that meet the requirements described above. CONFIG_NO_RANDOM_POOL=y +# Should we attempt to use the getrandom(2) call that provides more reliable +# yet secure randomness source than /dev/random on Linux 3.17 and newer. +# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. +CONFIG_GETRANDOM=y + # IEEE 802.11n (High Throughput) support (mainly for AP mode) #CONFIG_IEEE80211N=y @@ -499,8 +516,8 @@ CONFIG_NO_RANDOM_POOL=y # Enable TDLS support #CONFIG_TDLS=y -# Wi-Fi Direct -# This can be used to enable Wi-Fi Direct extensions for P2P using an external +# Wi-Fi Display +# This can be used to enable Wi-Fi Display extensions for P2P using an external # program to control the additional information exchanges in the messages. #CONFIG_WIFI_DISPLAY=y @@ -561,8 +578,6 @@ CONFIG_NO_RANDOM_POOL=y #CONFIG_MBO=y # Fast Initial Link Setup (FILS) (IEEE 802.11ai) -# Note: This is an experimental and not yet complete implementation. This -# should not be enabled for production use. #CONFIG_FILS=y # FILS shared key authentication with PFS #CONFIG_FILS_SK_PFS=y @@ -594,6 +609,11 @@ CONFIG_NO_RANDOM_POOL=y # Experimental implementation of draft-harkins-owe-07.txt #CONFIG_OWE=y +# Device Provisioning Protocol (DPP) +# This requires CONFIG_IEEE80211W=y to be enabled, too. (see +# wpa_supplicant/README-DPP for details) +#CONFIG_DPP=y + # uBus IPC/RPC System # Services can connect to the bus and provide methods # that can be called by other services or clients. diff --git a/package/network/services/hostapd/files/wpa_supplicant-p2p.config b/package/network/services/hostapd/files/wpa_supplicant-p2p.config index bbbb8e6e30..b0ca395a5e 100644 --- a/package/network/services/hostapd/files/wpa_supplicant-p2p.config +++ b/package/network/services/hostapd/files/wpa_supplicant-p2p.config @@ -109,11 +109,18 @@ CONFIG_EAP_PEAP=y CONFIG_EAP_TTLS=y # EAP-FAST -# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed -# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., -# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. CONFIG_EAP_FAST=y +# EAP-TEAP +# Note: The current EAP-TEAP implementation is experimental and should not be +# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number +# of conflicting statements and missing details and the implementation has +# vendor specific workarounds for those and as such, may not interoperate with +# any other implementation. This should not be used for anything else than +# experimentation and interoperability testing until those issues has been +# resolved. +#CONFIG_EAP_TEAP=y + # EAP-GTC CONFIG_EAP_GTC=y @@ -123,6 +130,9 @@ CONFIG_EAP_OTP=y # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) #CONFIG_EAP_SIM=y +# Enable SIM simulator (Milenage) for EAP-SIM +#CONFIG_SIM_SIMULATOR=y + # EAP-PSK (experimental; this is _not_ needed for WPA-PSK) #CONFIG_EAP_PSK=y @@ -235,6 +245,9 @@ CONFIG_CTRL_IFACE=y # wpa_passphrase). This saves about 0.5 kB in code size. #CONFIG_NO_WPA_PASSPHRASE=y +# Simultaneous Authentication of Equals (SAE), WPA3-Personal +#CONFIG_SAE=y + # Disable scan result processing (ap_mode=1) to save code size by about 1 kB. # This can be used if ap_scan=1 mode is never enabled. #CONFIG_NO_SCAN_PROCESSING=y @@ -295,12 +308,15 @@ CONFIG_BACKEND=file # in a bridge for EAPOL frames. This should be uncommented only if the kernel # is known to not have the regression issue in packet socket behavior with # bridge interfaces (commit 'bridge: respect RFC2863 operational state')'). -#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y +CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y # IEEE 802.11w (management frame protection), also known as PMF # Driver support is also needed for IEEE 802.11w. CONFIG_IEEE80211W=y +# Support Operating Channel Validation +#CONFIG_OCV=y + # Select TLS implementation # openssl = OpenSSL (default) # gnutls = GnuTLS @@ -349,10 +365,6 @@ CONFIG_INTERNAL_LIBTOMMATH_FAST=y #CONFIG_NDIS_EVENTS_INTEGRATED=y #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib" -# Add support for old DBus control interface -# (fi.epitest.hostap.WPASupplicant) -#CONFIG_CTRL_IFACE_DBUS=y - # Add support for new DBus control interface # (fi.w1.hostap.wpa_supplicant1) #CONFIG_CTRL_IFACE_DBUS_NEW=y @@ -458,6 +470,11 @@ CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON # that meet the requirements described above. CONFIG_NO_RANDOM_POOL=y +# Should we attempt to use the getrandom(2) call that provides more reliable +# yet secure randomness source than /dev/random on Linux 3.17 and newer. +# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. +CONFIG_GETRANDOM=y + # IEEE 802.11n (High Throughput) support (mainly for AP mode) #CONFIG_IEEE80211N=y @@ -499,8 +516,8 @@ CONFIG_P2P=y # Enable TDLS support #CONFIG_TDLS=y -# Wi-Fi Direct -# This can be used to enable Wi-Fi Direct extensions for P2P using an external +# Wi-Fi Display +# This can be used to enable Wi-Fi Display extensions for P2P using an external # program to control the additional information exchanges in the messages. #CONFIG_WIFI_DISPLAY=y @@ -561,8 +578,6 @@ CONFIG_P2P=y #CONFIG_MBO=y # Fast Initial Link Setup (FILS) (IEEE 802.11ai) -# Note: This is an experimental and not yet complete implementation. This -# should not be enabled for production use. #CONFIG_FILS=y # FILS shared key authentication with PFS #CONFIG_FILS_SK_PFS=y @@ -594,6 +609,11 @@ CONFIG_IBSS_RSN=y # Experimental implementation of draft-harkins-owe-07.txt #CONFIG_OWE=y +# Device Provisioning Protocol (DPP) +# This requires CONFIG_IEEE80211W=y to be enabled, too. (see +# wpa_supplicant/README-DPP for details) +#CONFIG_DPP=y + # uBus IPC/RPC System # Services can connect to the bus and provide methods # that can be called by other services or clients. diff --git a/package/network/services/hostapd/patches/001-mesh-factor-out-mesh-join-function.patch b/package/network/services/hostapd/patches/001-mesh-factor-out-mesh-join-function.patch deleted file mode 100644 index de8d65b982..0000000000 --- a/package/network/services/hostapd/patches/001-mesh-factor-out-mesh-join-function.patch +++ /dev/null @@ -1,211 +0,0 @@ -From 02ae4382f45f772e3630460459eb4e5af64e71b4 Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:05 -0700 -Subject: [PATCH 01/18] mesh: factor out mesh join function - -mesh join function consitss of 2 parts which are preparing -configurations and sending join event to driver. -Since physical mesh join event could happen either right -after mesh configuration is done or after CAC is done -in case of DFS channel is used, factor out the function -into 2 parts to reduce redundant calls. - -Signed-off-by: Peter Oh ---- - wpa_supplicant/mesh.c | 119 ++++++++++++++++-------------- - wpa_supplicant/mesh.h | 1 + - wpa_supplicant/wpa_supplicant_i.h | 1 + - 3 files changed, 67 insertions(+), 54 deletions(-) - ---- a/wpa_supplicant/mesh.c -+++ b/wpa_supplicant/mesh.c -@@ -364,13 +364,48 @@ void wpa_supplicant_mesh_add_scan_ie(str - } - - -+void wpas_join_mesh(struct wpa_supplicant *wpa_s) -+{ -+ struct wpa_driver_mesh_join_params *params = wpa_s->mesh_params; -+ struct wpa_ssid *ssid = wpa_s->current_ssid; -+ int ret = 0; -+ -+ if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { -+ wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; -+ wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; -+ wpa_s->mgmt_group_cipher = wpa_s->mesh_rsn->mgmt_group_cipher; -+ } -+ -+ if (wpa_s->ifmsh) { -+ params->ies = wpa_s->ifmsh->mconf->rsn_ie; -+ params->ie_len = wpa_s->ifmsh->mconf->rsn_ie_len; -+ params->basic_rates = wpa_s->ifmsh->basic_rates; -+ params->conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_HT_OP_MODE; -+ params->conf.ht_opmode = wpa_s->ifmsh->bss[0]->iface->ht_op_mode; -+ } -+ -+ ret = wpa_drv_join_mesh(wpa_s, params); -+ if (ret) -+ wpa_msg(wpa_s, MSG_ERROR, "mesh join error=%d\n", ret); -+ -+ /* hostapd sets the interface down until we associate */ -+ wpa_drv_set_operstate(wpa_s, 1); -+ -+ if (!ret) -+ wpa_supplicant_set_state(wpa_s, WPA_COMPLETED); -+ -+ return; -+} -+ -+ - int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s, - struct wpa_ssid *ssid) - { -- struct wpa_driver_mesh_join_params params; -+ struct wpa_driver_mesh_join_params *params = -+ os_zalloc(sizeof(struct wpa_driver_mesh_join_params)); - int ret = 0; - -- if (!ssid || !ssid->ssid || !ssid->ssid_len || !ssid->frequency) { -+ if (!ssid || !ssid->ssid || !ssid->ssid_len || !ssid->frequency || !params) { - ret = -ENOENT; - goto out; - } -@@ -381,22 +416,22 @@ int wpa_supplicant_join_mesh(struct wpa_ - wpa_s->group_cipher = WPA_CIPHER_NONE; - wpa_s->mgmt_group_cipher = 0; - -- os_memset(¶ms, 0, sizeof(params)); -- params.meshid = ssid->ssid; -- params.meshid_len = ssid->ssid_len; -- ibss_mesh_setup_freq(wpa_s, ssid, ¶ms.freq); -- wpa_s->mesh_ht_enabled = !!params.freq.ht_enabled; -- wpa_s->mesh_vht_enabled = !!params.freq.vht_enabled; -- if (params.freq.ht_enabled && params.freq.sec_channel_offset) -- ssid->ht40 = params.freq.sec_channel_offset; -+ params->meshid = ssid->ssid; -+ params->meshid_len = ssid->ssid_len; -+ ibss_mesh_setup_freq(wpa_s, ssid, ¶ms->freq); -+ wpa_s->mesh_ht_enabled = !!params->freq.ht_enabled; -+ wpa_s->mesh_vht_enabled = !!params->freq.vht_enabled; -+ if (params->freq.ht_enabled && params->freq.sec_channel_offset) -+ ssid->ht40 = params->freq.sec_channel_offset; -+ - if (wpa_s->mesh_vht_enabled) { - ssid->vht = 1; -- switch (params.freq.bandwidth) { -+ switch (params->freq.bandwidth) { - case 80: -- if (params.freq.center_freq2) { -+ if (params->freq.center_freq2) { - ssid->max_oper_chwidth = VHT_CHANWIDTH_80P80MHZ; - ssid->vht_center_freq2 = -- params.freq.center_freq2; -+ params->freq.center_freq2; - } else { - ssid->max_oper_chwidth = VHT_CHANWIDTH_80MHZ; - } -@@ -410,67 +445,43 @@ int wpa_supplicant_join_mesh(struct wpa_ - } - } - if (ssid->beacon_int > 0) -- params.beacon_int = ssid->beacon_int; -+ params->beacon_int = ssid->beacon_int; - else if (wpa_s->conf->beacon_int > 0) -- params.beacon_int = wpa_s->conf->beacon_int; -+ params->beacon_int = wpa_s->conf->beacon_int; - if (ssid->dtim_period > 0) -- params.dtim_period = ssid->dtim_period; -+ params->dtim_period = ssid->dtim_period; - else if (wpa_s->conf->dtim_period > 0) -- params.dtim_period = wpa_s->conf->dtim_period; -- params.conf.max_peer_links = wpa_s->conf->max_peer_links; -+ params->dtim_period = wpa_s->conf->dtim_period; -+ params->conf.max_peer_links = wpa_s->conf->max_peer_links; - if (ssid->mesh_rssi_threshold < DEFAULT_MESH_RSSI_THRESHOLD) { -- params.conf.rssi_threshold = ssid->mesh_rssi_threshold; -- params.conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_RSSI_THRESHOLD; -+ params->conf.rssi_threshold = ssid->mesh_rssi_threshold; -+ params->conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_RSSI_THRESHOLD; - } - - if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { -- params.flags |= WPA_DRIVER_MESH_FLAG_SAE_AUTH; -- params.flags |= WPA_DRIVER_MESH_FLAG_AMPE; -+ params->flags |= WPA_DRIVER_MESH_FLAG_SAE_AUTH; -+ params->flags |= WPA_DRIVER_MESH_FLAG_AMPE; - wpa_s->conf->user_mpm = 1; - } - - if (wpa_s->conf->user_mpm) { -- params.flags |= WPA_DRIVER_MESH_FLAG_USER_MPM; -- params.conf.auto_plinks = 0; -+ params->flags |= WPA_DRIVER_MESH_FLAG_USER_MPM; -+ params->conf.auto_plinks = 0; - } else { -- params.flags |= WPA_DRIVER_MESH_FLAG_DRIVER_MPM; -- params.conf.auto_plinks = 1; -+ params->flags |= WPA_DRIVER_MESH_FLAG_DRIVER_MPM; -+ params->conf.auto_plinks = 1; - } -- params.conf.peer_link_timeout = wpa_s->conf->mesh_max_inactivity; -+ params->conf.peer_link_timeout = wpa_s->conf->mesh_max_inactivity; - -- if (wpa_supplicant_mesh_init(wpa_s, ssid, ¶ms.freq)) { -+ wpa_s->mesh_params = params; -+ if (wpa_supplicant_mesh_init(wpa_s, ssid, ¶ms->freq)) { - wpa_msg(wpa_s, MSG_ERROR, "Failed to init mesh"); - wpa_drv_leave_mesh(wpa_s); - ret = -1; - goto out; - } - -- if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { -- wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; -- wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; -- wpa_s->mgmt_group_cipher = wpa_s->mesh_rsn->mgmt_group_cipher; -- } -- -- if (wpa_s->ifmsh) { -- params.ies = wpa_s->ifmsh->mconf->rsn_ie; -- params.ie_len = wpa_s->ifmsh->mconf->rsn_ie_len; -- params.basic_rates = wpa_s->ifmsh->basic_rates; -- params.conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_HT_OP_MODE; -- params.conf.ht_opmode = wpa_s->ifmsh->bss[0]->iface->ht_op_mode; -- } -- -- wpa_msg(wpa_s, MSG_INFO, "joining mesh %s", -- wpa_ssid_txt(ssid->ssid, ssid->ssid_len)); -- ret = wpa_drv_join_mesh(wpa_s, ¶ms); -- if (ret) -- wpa_msg(wpa_s, MSG_ERROR, "mesh join error=%d", ret); -- -- /* hostapd sets the interface down until we associate */ -- wpa_drv_set_operstate(wpa_s, 1); -- -- if (!ret) -- wpa_supplicant_set_state(wpa_s, WPA_COMPLETED); -- -+ wpas_join_mesh(wpa_s); - out: - return ret; - } ---- a/wpa_supplicant/mesh.h -+++ b/wpa_supplicant/mesh.h -@@ -21,6 +21,7 @@ int wpas_mesh_add_interface(struct wpa_s - int wpas_mesh_peer_remove(struct wpa_supplicant *wpa_s, const u8 *addr); - int wpas_mesh_peer_add(struct wpa_supplicant *wpa_s, const u8 *addr, - int duration); -+void wpas_join_mesh(struct wpa_supplicant *wpa_s); - - #ifdef CONFIG_MESH - ---- a/wpa_supplicant/wpa_supplicant_i.h -+++ b/wpa_supplicant/wpa_supplicant_i.h -@@ -814,6 +814,7 @@ struct wpa_supplicant { - unsigned int mesh_if_created:1; - unsigned int mesh_ht_enabled:1; - unsigned int mesh_vht_enabled:1; -+ struct wpa_driver_mesh_join_params *mesh_params; - #ifdef CONFIG_PMKSA_CACHE_EXTERNAL - /* struct external_pmksa_cache::list */ - struct dl_list mesh_external_pmksa_cache; diff --git a/package/network/services/hostapd/patches/002-mesh-factor-out-rsn-initialization.patch b/package/network/services/hostapd/patches/002-mesh-factor-out-rsn-initialization.patch deleted file mode 100644 index 26e872d765..0000000000 --- a/package/network/services/hostapd/patches/002-mesh-factor-out-rsn-initialization.patch +++ /dev/null @@ -1,133 +0,0 @@ -From 89db76eeff6502dfa39b011962ec9d560ed4c2ee Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:06 -0700 -Subject: [PATCH 02/18] mesh: factor out rsn initialization - -RSN initialization can be used in different phases -if mesh initialization and mesh join don't happen -in sequence such as DFS CAC is done in between, -hence factor it out to help convering the case. - -Signed-off-by: Peter Oh ---- - wpa_supplicant/mesh.c | 84 +++++++++++++++++++++++++------------------ - wpa_supplicant/mesh.h | 1 + - 2 files changed, 50 insertions(+), 35 deletions(-) - ---- a/wpa_supplicant/mesh.c -+++ b/wpa_supplicant/mesh.c -@@ -147,6 +147,53 @@ static void wpas_mesh_copy_groups(struct - } - - -+int wpas_mesh_init_rsn(struct wpa_supplicant *wpa_s) -+{ -+ struct hostapd_iface *ifmsh = wpa_s->ifmsh; -+ struct mesh_conf *mconf = wpa_s->ifmsh->mconf; -+ struct wpa_ssid *ssid = wpa_s->current_ssid; -+ struct hostapd_data *bss = ifmsh->bss[0]; -+ static int default_groups[] = { 19, 20, 21, 25, 26, -1 }; -+ const char *password; -+ size_t len; -+ -+ if (mconf->security != MESH_CONF_SEC_NONE) { -+ password = ssid->sae_password; -+ if (!password) -+ password = ssid->passphrase; -+ if (!password) { -+ wpa_printf(MSG_ERROR, -+ "mesh: Passphrase for SAE not configured"); -+ return -1; -+ } -+ -+ bss->conf->wpa = ssid->proto; -+ bss->conf->wpa_key_mgmt = ssid->key_mgmt; -+ -+ if (wpa_s->conf->sae_groups && -+ wpa_s->conf->sae_groups[0] > 0) { -+ wpas_mesh_copy_groups(bss, wpa_s); -+ } else { -+ bss->conf->sae_groups = -+ os_memdup(default_groups, -+ sizeof(default_groups)); -+ if (!bss->conf->sae_groups) -+ return -1; -+ } -+ -+ len = os_strlen(password); -+ bss->conf->ssid.wpa_passphrase = -+ dup_binstr(password, len); -+ -+ wpa_s->mesh_rsn = mesh_rsn_auth_init(wpa_s, mconf); -+ if (!wpa_s->mesh_rsn) -+ return -1; -+ } -+ -+ return 0; -+} -+ -+ - static int wpa_supplicant_mesh_init(struct wpa_supplicant *wpa_s, - struct wpa_ssid *ssid, - struct hostapd_freq_params *freq) -@@ -156,9 +203,6 @@ static int wpa_supplicant_mesh_init(stru - struct hostapd_config *conf; - struct mesh_conf *mconf; - int basic_rates_erp[] = { 10, 20, 55, 60, 110, 120, 240, -1 }; -- static int default_groups[] = { 19, 20, 21, 25, 26, -1 }; -- const char *password; -- size_t len; - int rate_len; - int frequency; - -@@ -292,38 +336,8 @@ static int wpa_supplicant_mesh_init(stru - return -1; - } - -- if (mconf->security != MESH_CONF_SEC_NONE) { -- password = ssid->sae_password; -- if (!password) -- password = ssid->passphrase; -- if (!password) { -- wpa_printf(MSG_ERROR, -- "mesh: Passphrase for SAE not configured"); -- goto out_free; -- } -- -- bss->conf->wpa = ssid->proto; -- bss->conf->wpa_key_mgmt = ssid->key_mgmt; -- -- if (wpa_s->conf->sae_groups && -- wpa_s->conf->sae_groups[0] > 0) { -- wpas_mesh_copy_groups(bss, wpa_s); -- } else { -- bss->conf->sae_groups = -- os_memdup(default_groups, -- sizeof(default_groups)); -- if (!bss->conf->sae_groups) -- goto out_free; -- } -- -- len = os_strlen(password); -- bss->conf->ssid.wpa_passphrase = -- dup_binstr(password, len); -- -- wpa_s->mesh_rsn = mesh_rsn_auth_init(wpa_s, mconf); -- if (!wpa_s->mesh_rsn) -- goto out_free; -- } -+ if (wpas_mesh_init_rsn(wpa_s)) -+ goto out_free; - - wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf); - ---- a/wpa_supplicant/mesh.h -+++ b/wpa_supplicant/mesh.h -@@ -22,6 +22,7 @@ int wpas_mesh_peer_remove(struct wpa_sup - int wpas_mesh_peer_add(struct wpa_supplicant *wpa_s, const u8 *addr, - int duration); - void wpas_join_mesh(struct wpa_supplicant *wpa_s); -+int wpas_mesh_init_rsn(struct wpa_supplicant *wpa_s); - - #ifdef CONFIG_MESH - diff --git a/package/network/services/hostapd/patches/003-mesh-relocate-RSN-init-function.patch b/package/network/services/hostapd/patches/003-mesh-relocate-RSN-init-function.patch deleted file mode 100644 index c96e810769..0000000000 --- a/package/network/services/hostapd/patches/003-mesh-relocate-RSN-init-function.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 07bad5f256cbe8a4b45d32c5b43b870ee815fb42 Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:07 -0700 -Subject: [PATCH 03/18] mesh: relocate RSN init function - -RSN init function should work together with mesh join -when it's used. Since mesh join could be called at different stage -if DFS channel is used, relocate the function to mesh join. -It is still the same call flows of mesh join before this changes -if non-DFS channels are used, hence no side effect will occur. - -Signed-off-by: Peter Oh ---- - wpa_supplicant/mesh.c | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - ---- a/wpa_supplicant/mesh.c -+++ b/wpa_supplicant/mesh.c -@@ -336,9 +336,6 @@ static int wpa_supplicant_mesh_init(stru - return -1; - } - -- if (wpas_mesh_init_rsn(wpa_s)) -- goto out_free; -- - wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf); - - return 0; -@@ -384,6 +381,12 @@ void wpas_join_mesh(struct wpa_supplican - struct wpa_ssid *ssid = wpa_s->current_ssid; - int ret = 0; - -+ if (wpas_mesh_init_rsn(wpa_s)) { -+ wpa_printf(MSG_ERROR, "Init RSN failed. Deinit mesh..."); -+ wpa_supplicant_mesh_deinit(wpa_s); -+ return; -+ } -+ - if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { - wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; - wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; diff --git a/package/network/services/hostapd/patches/004-mesh-use-setup-completion-callback-to-complete-mesh-.patch b/package/network/services/hostapd/patches/004-mesh-use-setup-completion-callback-to-complete-mesh-.patch index 3ce2848d02..3d99b3bfb9 100644 --- a/package/network/services/hostapd/patches/004-mesh-use-setup-completion-callback-to-complete-mesh-.patch +++ b/package/network/services/hostapd/patches/004-mesh-use-setup-completion-callback-to-complete-mesh-.patch @@ -1,30 +1,103 @@ -From bd05de484bfa61def530d717c7234381f6b33cf7 Mon Sep 17 00:00:00 2001 +From c05ace7510ead96e72b97ce47b33f7b5865d6d36 Mon Sep 17 00:00:00 2001 From: Peter Oh -Date: Tue, 29 May 2018 14:39:08 -0700 -Subject: [PATCH 04/18] mesh: use setup completion callback to complete mesh - join +Date: Mon, 27 Aug 2018 14:28:38 -0700 +Subject: [PATCH 1/7] mesh: use setup completion callback to complete mesh join mesh join function is the last function to be called during mesh join process, but it's been called a bit earlier than it's supposed to be, so that some mesh parameter values such as VHT capabilities not applied correct when mesh join -is in process. Moreover current design of mesh join that is called -directly after mesh initialization is not suitable for DFS channels -to use, since mesh join process should be paused until DFS CAC is -done and resumed once it's done. -Using setup completion callback is how AP mode is using for DFS channels -and mesh can use the same way. +is in process. +Moreover current design of mesh join that is called directly +after mesh initialization isn't suitable for DFS channels to use, +since mesh join process should be paused until DFS CAC is +done and resumed after it's done. The callback will be called by hostapd_setup_interface_complete_sync. +There is possiblity that completing mesh init fails, so add error +handle codes. +Signed-off-by: Peter Oh Signed-off-by: Peter Oh --- - wpa_supplicant/mesh.c | 7 +++++-- - wpa_supplicant/mesh.h | 2 +- - 2 files changed, 6 insertions(+), 3 deletions(-) + src/ap/hostapd.c | 11 ++++++++++- + wpa_supplicant/mesh.c | 13 +++++++------ + 2 files changed, 17 insertions(+), 7 deletions(-) +--- a/src/ap/hostapd.c ++++ b/src/ap/hostapd.c +@@ -423,6 +423,8 @@ static void hostapd_free_hapd_data(struc + #ifdef CONFIG_MESH + wpabuf_free(hapd->mesh_pending_auth); + hapd->mesh_pending_auth = NULL; ++ /* handling setup failure is already done */ ++ hapd->setup_complete_cb = NULL; + #endif /* CONFIG_MESH */ + + hostapd_clean_rrm(hapd); +@@ -2049,6 +2051,13 @@ dfs_offload: + if (hapd->setup_complete_cb) + hapd->setup_complete_cb(hapd->setup_complete_cb_ctx); + ++#ifdef CONFIG_MESH ++ if (delay_apply_cfg && !iface->mconf) { ++ wpa_printf(MSG_ERROR, "Error while completing mesh init"); ++ goto fail; ++ } ++#endif /* CONFIG_MESH */ ++ + wpa_printf(MSG_DEBUG, "%s: Setup of interface done.", + iface->bss[0]->conf->iface); + if (iface->interfaces && iface->interfaces->terminate_on_error > 0) +@@ -2192,7 +2201,7 @@ int hostapd_setup_interface(struct hosta + ret = setup_interface(iface); + if (ret) { + wpa_printf(MSG_ERROR, "%s: Unable to setup interface.", +- iface->bss[0]->conf->iface); ++ iface->conf ? iface->conf->bss[0]->iface : "N/A"); + return -1; + } + --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -217,6 +217,7 @@ static int wpa_supplicant_mesh_init(stru +@@ -190,8 +190,9 @@ static int wpas_mesh_init_rsn(struct wpa + } + + +-static int wpas_mesh_complete(struct wpa_supplicant *wpa_s) ++static void wpas_mesh_complete_cb(void *ctx) + { ++ struct wpa_supplicant *wpa_s = ctx; + struct hostapd_iface *ifmsh = wpa_s->ifmsh; + struct wpa_driver_mesh_join_params *params = wpa_s->mesh_params; + struct wpa_ssid *ssid = wpa_s->current_ssid; +@@ -200,7 +201,7 @@ static int wpas_mesh_complete(struct wpa + if (!params || !ssid || !ifmsh) { + wpa_printf(MSG_ERROR, "mesh: %s called without active mesh", + __func__); +- return -1; ++ return; + } + + if (ifmsh->mconf->security != MESH_CONF_SEC_NONE && +@@ -209,7 +210,7 @@ static int wpas_mesh_complete(struct wpa + "mesh: RSN initialization failed - deinit mesh"); + wpa_supplicant_mesh_deinit(wpa_s); + wpa_drv_leave_mesh(wpa_s); +- return -1; ++ return; + } + + if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { +@@ -235,8 +236,6 @@ static int wpas_mesh_complete(struct wpa + + if (!ret) + wpa_supplicant_set_state(wpa_s, WPA_COMPLETED); +- +- return ret; + } + + +@@ -263,6 +262,7 @@ static int wpa_supplicant_mesh_init(stru if (!ifmsh) return -ENOMEM; @@ -32,7 +105,7 @@ Signed-off-by: Peter Oh ifmsh->drv_flags = wpa_s->drv_flags; ifmsh->num_bss = 1; ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, -@@ -234,6 +235,8 @@ static int wpa_supplicant_mesh_init(stru +@@ -280,6 +280,8 @@ static int wpa_supplicant_mesh_init(stru bss->drv_priv = wpa_s->drv_priv; bss->iface = ifmsh; bss->mesh_sta_free_cb = mesh_mpm_free_sta; @@ -41,33 +114,11 @@ Signed-off-by: Peter Oh frequency = ssid->frequency; if (frequency != freq->freq && frequency == freq->freq + freq->sec_channel_offset * 20) { -@@ -375,8 +378,9 @@ void wpa_supplicant_mesh_add_scan_ie(str - } - - --void wpas_join_mesh(struct wpa_supplicant *wpa_s) -+void wpas_mesh_complete_cb(void *ctx) - { -+ struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)ctx; - struct wpa_driver_mesh_join_params *params = wpa_s->mesh_params; - struct wpa_ssid *ssid = wpa_s->current_ssid; - int ret = 0; -@@ -498,7 +502,6 @@ int wpa_supplicant_join_mesh(struct wpa_ +@@ -521,7 +523,6 @@ int wpa_supplicant_join_mesh(struct wpa_ goto out; } -- wpas_join_mesh(wpa_s); +- ret = wpas_mesh_complete(wpa_s); out: return ret; } ---- a/wpa_supplicant/mesh.h -+++ b/wpa_supplicant/mesh.h -@@ -21,7 +21,7 @@ int wpas_mesh_add_interface(struct wpa_s - int wpas_mesh_peer_remove(struct wpa_supplicant *wpa_s, const u8 *addr); - int wpas_mesh_peer_add(struct wpa_supplicant *wpa_s, const u8 *addr, - int duration); --void wpas_join_mesh(struct wpa_supplicant *wpa_s); -+void wpas_mesh_complete_cb(void *ctx); - int wpas_mesh_init_rsn(struct wpa_supplicant *wpa_s); - - #ifdef CONFIG_MESH diff --git a/package/network/services/hostapd/patches/005-mesh-reflect-country-setting-to-mesh-configuration.patch b/package/network/services/hostapd/patches/005-mesh-reflect-country-setting-to-mesh-configuration.patch deleted file mode 100644 index a372230d07..0000000000 --- a/package/network/services/hostapd/patches/005-mesh-reflect-country-setting-to-mesh-configuration.patch +++ /dev/null @@ -1,35 +0,0 @@ -From dbe9afab3b2dceb35d478ac43dfcf8fdc5e23a22 Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:09 -0700 -Subject: [PATCH 05/18] mesh: reflect country setting to mesh configuration - -wpa_supplicant configuration has country parameter that is -supposed to be used in AP mode to indicate supporting 802.11h -and 802.11d. Reflect this configuration to Mesh also since Mesh -is required to support 802.11h and 802.11d to use DFS channels. - -Signed-off-by: Peter Oh -Signed-off-by: Daniel Golle -[daniel@makrotopia.org: adapted to changed ieee80211_is_dfs prototype] ---- - wpa_supplicant/mesh.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - ---- a/wpa_supplicant/mesh.c -+++ b/wpa_supplicant/mesh.c -@@ -255,6 +255,15 @@ static int wpa_supplicant_mesh_init(stru - bss->conf->start_disabled = 1; - bss->conf->mesh = MESH_ENABLED; - bss->conf->ap_max_inactivity = wpa_s->conf->mesh_max_inactivity; -+ -+ if (ieee80211_is_dfs(ssid->frequency, wpa_s->hw.modes, -+ wpa_s->hw.num_modes) && wpa_s->conf->country[0]) { -+ conf->ieee80211h = 1; -+ conf->ieee80211d = 1; -+ conf->country[0] = wpa_s->conf->country[0]; -+ conf->country[1] = wpa_s->conf->country[1]; -+ } -+ - bss->iconf = conf; - ifmsh->conf = conf; - diff --git a/package/network/services/hostapd/patches/005-mesh-update-ssid-frequency-as-pri-sec-channel-switch.patch b/package/network/services/hostapd/patches/005-mesh-update-ssid-frequency-as-pri-sec-channel-switch.patch new file mode 100644 index 0000000000..4d77f2d206 --- /dev/null +++ b/package/network/services/hostapd/patches/005-mesh-update-ssid-frequency-as-pri-sec-channel-switch.patch @@ -0,0 +1,26 @@ +From c56f18380d1d404a2abc0ea5373d294508ef1e54 Mon Sep 17 00:00:00 2001 +From: Peter Oh +Date: Mon, 27 Aug 2018 14:28:41 -0700 +Subject: [PATCH 2/7] mesh: update ssid->frequency as pri/sec channel switch + +ssid->frequency is one of variables used to gets channel +number from given frequency. Leave it as unchanged when +pri/sec channel switched will cause picking up wrong +channel number after applying secondary channel offset +for HT40 and leads failing interface bring-up. + +Signed-off-by: Peter Oh +--- + wpa_supplicant/mesh.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/wpa_supplicant/mesh.c ++++ b/wpa_supplicant/mesh.c +@@ -287,6 +287,7 @@ static int wpa_supplicant_mesh_init(stru + frequency == freq->freq + freq->sec_channel_offset * 20) { + wpa_printf(MSG_DEBUG, "mesh: pri/sec channels switched"); + frequency = freq->freq; ++ ssid->frequency = frequency; + } + wpa_s->assoc_freq = frequency; + wpa_s->current_ssid = ssid; diff --git a/package/network/services/hostapd/patches/006-mesh-inform-kernel-driver-DFS-handler-in-userspace.patch b/package/network/services/hostapd/patches/006-mesh-inform-kernel-driver-DFS-handler-in-userspace.patch index 5ec7aa0837..76c43da8e2 100644 --- a/package/network/services/hostapd/patches/006-mesh-inform-kernel-driver-DFS-handler-in-userspace.patch +++ b/package/network/services/hostapd/patches/006-mesh-inform-kernel-driver-DFS-handler-in-userspace.patch @@ -1,7 +1,7 @@ -From 51e759da5026b3e64f801135b5d53f2198bbd2f0 Mon Sep 17 00:00:00 2001 +From 593602b7f14be5c2695979639764b1c50f01bbec Mon Sep 17 00:00:00 2001 From: Peter Oh -Date: Tue, 29 May 2018 14:39:10 -0700 -Subject: [PATCH 06/18] mesh: inform kernel driver DFS handler in userspace +Date: Mon, 27 Aug 2018 14:28:49 -0700 +Subject: [PATCH 7/7] mesh: inform kernel driver DFS handler in userspace NL80211_ATTR_HANDLE_DFS is required by kerenel space to enable DFS channels that indicates DFS handler @@ -16,7 +16,7 @@ Signed-off-by: Peter Oh --- a/src/drivers/driver.h +++ b/src/drivers/driver.h -@@ -1402,6 +1402,7 @@ struct wpa_driver_mesh_join_params { +@@ -1477,6 +1477,7 @@ struct wpa_driver_mesh_join_params { #define WPA_DRIVER_MESH_FLAG_SAE_AUTH 0x00000004 #define WPA_DRIVER_MESH_FLAG_AMPE 0x00000008 unsigned int flags; @@ -26,7 +26,7 @@ Signed-off-by: Peter Oh /** --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -9375,6 +9375,9 @@ static int nl80211_join_mesh(struct i802 +@@ -9624,6 +9624,9 @@ static int nl80211_join_mesh(struct i802 wpa_printf(MSG_DEBUG, " * flags=%08X", params->flags); @@ -38,10 +38,10 @@ Signed-off-by: Peter Oh goto fail; --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -262,6 +262,7 @@ static int wpa_supplicant_mesh_init(stru - conf->ieee80211d = 1; +@@ -309,6 +309,7 @@ static int wpa_supplicant_mesh_init(stru conf->country[0] = wpa_s->conf->country[0]; conf->country[1] = wpa_s->conf->country[1]; + conf->country[2] = ' '; + wpa_s->mesh_params->handle_dfs = 1; } diff --git a/package/network/services/hostapd/patches/007-mesh-apply-channel-attributes-before-running-Mesh.patch b/package/network/services/hostapd/patches/007-mesh-apply-channel-attributes-before-running-Mesh.patch index de11495388..f04fcc49e8 100644 --- a/package/network/services/hostapd/patches/007-mesh-apply-channel-attributes-before-running-Mesh.patch +++ b/package/network/services/hostapd/patches/007-mesh-apply-channel-attributes-before-running-Mesh.patch @@ -1,28 +1,42 @@ -From bdc77efe681d5b88f3256e2bb6e706d4eaf09518 Mon Sep 17 00:00:00 2001 +From 2564184440d9d6041d11a8c7d50b31368634c3bd Mon Sep 17 00:00:00 2001 From: Peter Oh -Date: Tue, 29 May 2018 14:39:11 -0700 -Subject: [PATCH 07/18] mesh: apply channel attributes before running Mesh +Date: Mon, 27 Aug 2018 14:28:40 -0700 +Subject: [PATCH] mesh: Apply channel attributes before setup interface -This helps mesh interface initializes with correct -channel parameters. +This helps mesh interface initialization with correct channel +parameters. Signed-off-by: Peter Oh --- - wpa_supplicant/mesh.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + wpa_supplicant/mesh.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -338,6 +338,8 @@ static int wpa_supplicant_mesh_init(stru +@@ -249,7 +249,7 @@ static int wpa_supplicant_mesh_init(stru + struct mesh_conf *mconf; + int basic_rates_erp[] = { 10, 20, 55, 60, 110, 120, 240, -1 }; + int rate_len; +- int frequency; ++ int frequency, saved_freq; + + if (!wpa_s->conf->user_mpm) { + /* not much for us to do here */ +@@ -386,6 +386,13 @@ static int wpa_supplicant_mesh_init(stru conf->basic_rates[rate_len] = -1; } ++ /* Handle pri/sec switch frequency within AP configuration parameter ++ * generation without changing the stored network profile in the end. */ ++ saved_freq = ssid->frequency; ++ ssid->frequency = frequency; + wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf); ++ ssid->frequency = saved_freq; + - if (hostapd_setup_interface(ifmsh)) { - wpa_printf(MSG_ERROR, - "Failed to initialize hostapd interface for mesh"); -@@ -349,8 +351,6 @@ static int wpa_supplicant_mesh_init(stru + if (wpa_drv_init_mesh(wpa_s)) { + wpa_msg(wpa_s, MSG_ERROR, "Failed to init mesh in driver"); + return -1; +@@ -397,8 +404,6 @@ static int wpa_supplicant_mesh_init(stru return -1; } diff --git a/package/network/services/hostapd/patches/008-mesh-set-interface-type-to-mesh-before-setting-inter.patch b/package/network/services/hostapd/patches/008-mesh-set-interface-type-to-mesh-before-setting-inter.patch deleted file mode 100644 index 5b97691eb9..0000000000 --- a/package/network/services/hostapd/patches/008-mesh-set-interface-type-to-mesh-before-setting-inter.patch +++ /dev/null @@ -1,36 +0,0 @@ -From eb9888ba41faaeb8fd07392ad46808b7d894cc14 Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:12 -0700 -Subject: [PATCH 08/18] mesh: set interface type to mesh before setting - interface - -Correct interface type is required to start DFS CAC that can be -triggered during interface setup. - -Signed-off-by: Peter Oh ---- - wpa_supplicant/mesh.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - ---- a/wpa_supplicant/mesh.c -+++ b/wpa_supplicant/mesh.c -@@ -340,14 +340,14 @@ static int wpa_supplicant_mesh_init(stru - - wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf); - -- if (hostapd_setup_interface(ifmsh)) { -- wpa_printf(MSG_ERROR, -- "Failed to initialize hostapd interface for mesh"); -+ if (wpa_drv_init_mesh(wpa_s)) { -+ wpa_msg(wpa_s, MSG_ERROR, "Failed to init mesh in driver"); - return -1; - } - -- if (wpa_drv_init_mesh(wpa_s)) { -- wpa_msg(wpa_s, MSG_ERROR, "Failed to init mesh in driver"); -+ if (hostapd_setup_interface(ifmsh)) { -+ wpa_printf(MSG_ERROR, -+ "Failed to initialize hostapd interface for mesh"); - return -1; - } - diff --git a/package/network/services/hostapd/patches/009-mesh-set-mesh-center-frequency.patch b/package/network/services/hostapd/patches/009-mesh-set-mesh-center-frequency.patch deleted file mode 100644 index 1fca7452b0..0000000000 --- a/package/network/services/hostapd/patches/009-mesh-set-mesh-center-frequency.patch +++ /dev/null @@ -1,22 +0,0 @@ -From fa3af966032267e618b19bbf06a536ddb81ddbdf Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:13 -0700 -Subject: [PATCH 09/18] mesh: set mesh center frequency - -vht center frequency value is required to compose the correct channel info. - -Signed-off-by: Peter Oh ---- - wpa_supplicant/mesh.c | 1 + - 1 file changed, 1 insertion(+) - ---- a/wpa_supplicant/mesh.c -+++ b/wpa_supplicant/mesh.c -@@ -457,6 +457,7 @@ int wpa_supplicant_join_mesh(struct wpa_ - - if (wpa_s->mesh_vht_enabled) { - ssid->vht = 1; -+ ssid->vht_center_freq1 = params->freq.center_freq1; - switch (params->freq.bandwidth) { - case 80: - if (params->freq.center_freq2) { diff --git a/package/network/services/hostapd/patches/010-mesh-consider-mesh-interface-on-dfs-event-handler.patch b/package/network/services/hostapd/patches/010-mesh-consider-mesh-interface-on-dfs-event-handler.patch deleted file mode 100644 index 0c82d84d6b..0000000000 --- a/package/network/services/hostapd/patches/010-mesh-consider-mesh-interface-on-dfs-event-handler.patch +++ /dev/null @@ -1,176 +0,0 @@ -From 9a8ca54a264a2820af614043e7af853166b320b0 Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:14 -0700 -Subject: [PATCH 10/18] mesh: consider mesh interface on dfs event handler - -Once mesh starts supporting DFS channels, it has to handle DFS related events -from drivers, hence add mesh interface to the check list. - -Signed-off-by: Peter Oh -Signed-off-by: Masashi Honma ---- - wpa_supplicant/ap.c | 71 ++++++++++++++++++++++++++++++----------- - wpa_supplicant/events.c | 7 ++-- - 2 files changed, 57 insertions(+), 21 deletions(-) - ---- a/wpa_supplicant/ap.c -+++ b/wpa_supplicant/ap.c -@@ -1379,13 +1379,18 @@ int ap_ctrl_iface_chanswitch(struct wpa_ - void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht, - int offset, int width, int cf1, int cf2) - { -- if (!wpa_s->ap_iface) -- return; -+ struct hostapd_iface *iface = wpa_s->ap_iface; - -+ if (!wpa_s->ap_iface) { -+ if (!wpa_s->ifmsh) -+ return; -+ else -+ iface = wpa_s->ifmsh; -+ } - wpa_s->assoc_freq = freq; - if (wpa_s->current_ssid) - wpa_s->current_ssid->frequency = freq; -- hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht, -+ hostapd_event_ch_switch(iface->bss[0], freq, ht, - offset, width, cf1, cf2); - } - -@@ -1582,10 +1587,16 @@ int wpas_ap_pmksa_cache_add_external(str - void wpas_ap_event_dfs_radar_detected(struct wpa_supplicant *wpa_s, - struct dfs_event *radar) - { -- if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) -- return; -+ struct hostapd_iface *iface = wpa_s->ap_iface; -+ -+ if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) { -+ if (!wpa_s->ifmsh || !wpa_s->ifmsh->bss[0]) -+ return; -+ else -+ iface = wpa_s->ifmsh; -+ } - wpa_printf(MSG_DEBUG, "DFS radar detected on %d MHz", radar->freq); -- hostapd_dfs_radar_detected(wpa_s->ap_iface, radar->freq, -+ hostapd_dfs_radar_detected(iface, radar->freq, - radar->ht_enabled, radar->chan_offset, - radar->chan_width, - radar->cf1, radar->cf2); -@@ -1595,10 +1606,16 @@ void wpas_ap_event_dfs_radar_detected(st - void wpas_ap_event_dfs_cac_started(struct wpa_supplicant *wpa_s, - struct dfs_event *radar) - { -- if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) -- return; -+ struct hostapd_iface *iface = wpa_s->ap_iface; -+ -+ if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) { -+ if (!wpa_s->ifmsh || !wpa_s->ifmsh->bss[0]) -+ return; -+ else -+ iface = wpa_s->ifmsh; -+ } - wpa_printf(MSG_DEBUG, "DFS CAC started on %d MHz", radar->freq); -- hostapd_dfs_start_cac(wpa_s->ap_iface, radar->freq, -+ hostapd_dfs_start_cac(iface, radar->freq, - radar->ht_enabled, radar->chan_offset, - radar->chan_width, radar->cf1, radar->cf2); - } -@@ -1607,10 +1624,16 @@ void wpas_ap_event_dfs_cac_started(struc - void wpas_ap_event_dfs_cac_finished(struct wpa_supplicant *wpa_s, - struct dfs_event *radar) - { -- if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) -- return; -+ struct hostapd_iface *iface = wpa_s->ap_iface; -+ -+ if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) { -+ if (!wpa_s->ifmsh || !wpa_s->ifmsh->bss[0]) -+ return; -+ else -+ iface = wpa_s->ifmsh; -+ } - wpa_printf(MSG_DEBUG, "DFS CAC finished on %d MHz", radar->freq); -- hostapd_dfs_complete_cac(wpa_s->ap_iface, 1, radar->freq, -+ hostapd_dfs_complete_cac(iface, 1, radar->freq, - radar->ht_enabled, radar->chan_offset, - radar->chan_width, radar->cf1, radar->cf2); - } -@@ -1619,10 +1642,16 @@ void wpas_ap_event_dfs_cac_finished(stru - void wpas_ap_event_dfs_cac_aborted(struct wpa_supplicant *wpa_s, - struct dfs_event *radar) - { -- if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) -- return; -+ struct hostapd_iface *iface = wpa_s->ap_iface; -+ -+ if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) { -+ if (!wpa_s->ifmsh || !wpa_s->ifmsh->bss[0]) -+ return; -+ else -+ iface = wpa_s->ifmsh; -+ } - wpa_printf(MSG_DEBUG, "DFS CAC aborted on %d MHz", radar->freq); -- hostapd_dfs_complete_cac(wpa_s->ap_iface, 0, radar->freq, -+ hostapd_dfs_complete_cac(iface, 0, radar->freq, - radar->ht_enabled, radar->chan_offset, - radar->chan_width, radar->cf1, radar->cf2); - } -@@ -1631,10 +1660,16 @@ void wpas_ap_event_dfs_cac_aborted(struc - void wpas_ap_event_dfs_cac_nop_finished(struct wpa_supplicant *wpa_s, - struct dfs_event *radar) - { -- if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) -- return; -+ struct hostapd_iface *iface = wpa_s->ap_iface; -+ -+ if (!wpa_s->ap_iface || !wpa_s->ap_iface->bss[0]) { -+ if (!wpa_s->ifmsh || !wpa_s->ifmsh->bss[0]) -+ return; -+ else -+ iface = wpa_s->ifmsh; -+ } - wpa_printf(MSG_DEBUG, "DFS NOP finished on %d MHz", radar->freq); -- hostapd_dfs_nop_finished(wpa_s->ap_iface, radar->freq, -+ hostapd_dfs_nop_finished(iface, radar->freq, - radar->ht_enabled, radar->chan_offset, - radar->chan_width, radar->cf1, radar->cf2); - } ---- a/wpa_supplicant/events.c -+++ b/wpa_supplicant/events.c -@@ -3840,7 +3840,7 @@ static void wpas_event_dfs_cac_started(s - struct dfs_event *radar) - { - #if defined(NEED_AP_MLME) && defined(CONFIG_AP) -- if (wpa_s->ap_iface) { -+ if (wpa_s->ap_iface || wpa_s->ifmsh) { - wpas_ap_event_dfs_cac_started(wpa_s, radar); - } else - #endif /* NEED_AP_MLME && CONFIG_AP */ -@@ -3861,7 +3861,7 @@ static void wpas_event_dfs_cac_finished( - struct dfs_event *radar) - { - #if defined(NEED_AP_MLME) && defined(CONFIG_AP) -- if (wpa_s->ap_iface) { -+ if (wpa_s->ap_iface || wpa_s->ifmsh) { - wpas_ap_event_dfs_cac_finished(wpa_s, radar); - } else - #endif /* NEED_AP_MLME && CONFIG_AP */ -@@ -3877,7 +3877,7 @@ static void wpas_event_dfs_cac_aborted(s - struct dfs_event *radar) - { - #if defined(NEED_AP_MLME) && defined(CONFIG_AP) -- if (wpa_s->ap_iface) { -+ if (wpa_s->ap_iface || wpa_s->ifmsh) { - wpas_ap_event_dfs_cac_aborted(wpa_s, radar); - } else - #endif /* NEED_AP_MLME && CONFIG_AP */ -@@ -4328,6 +4328,7 @@ void wpa_supplicant_event(void *ctx, enu - #ifdef CONFIG_AP - if (wpa_s->current_ssid->mode == WPAS_MODE_AP || - wpa_s->current_ssid->mode == WPAS_MODE_P2P_GO || -+ wpa_s->current_ssid->mode == WPAS_MODE_MESH || - wpa_s->current_ssid->mode == - WPAS_MODE_P2P_GROUP_FORMATION) { - wpas_ap_ch_switch(wpa_s, data->ch_switch.freq, diff --git a/package/network/services/hostapd/patches/011-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch b/package/network/services/hostapd/patches/011-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch index 184b6e9e9d..37f7f635ea 100644 --- a/package/network/services/hostapd/patches/011-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch +++ b/package/network/services/hostapd/patches/011-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch @@ -1,8 +1,7 @@ -From bbaa6142eadf229334436fdbf51aa65bb819f771 Mon Sep 17 00:00:00 2001 +From 89fa0d75fb1be82330258082ed3d7fd452eb6076 Mon Sep 17 00:00:00 2001 From: Peter Oh -Date: Tue, 29 May 2018 14:39:15 -0700 -Subject: [PATCH 11/18] mesh: Allow DFS channels to be selected if dfs is - enabled +Date: Mon, 27 Aug 2018 14:28:45 -0700 +Subject: [PATCH 3/7] mesh: Allow DFS channels to be selected if dfs is enabled Note: DFS is assumed to be usable if a country code has been set @@ -14,7 +13,7 @@ Signed-off-by: Peter Oh --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -2090,6 +2090,8 @@ void ibss_mesh_setup_freq(struct wpa_sup +@@ -2153,6 +2153,8 @@ void ibss_mesh_setup_freq(struct wpa_sup struct hostapd_freq_params vht_freq; int chwidth, seg0, seg1; u32 vht_caps = 0; @@ -23,7 +22,7 @@ Signed-off-by: Peter Oh freq->freq = ssid->frequency; -@@ -2166,8 +2168,11 @@ void ibss_mesh_setup_freq(struct wpa_sup +@@ -2232,8 +2234,11 @@ void ibss_mesh_setup_freq(struct wpa_sup return; /* Check primary channel flags */ @@ -34,9 +33,9 @@ Signed-off-by: Peter Oh + if (!dfs_enabled) + return; - #ifdef CONFIG_HT_OVERRIDES - if (ssid->disable_ht40) -@@ -2193,8 +2198,11 @@ void ibss_mesh_setup_freq(struct wpa_sup + freq->channel = pri_chan->chan; + +@@ -2264,8 +2269,11 @@ void ibss_mesh_setup_freq(struct wpa_sup return; /* Check secondary channel flags */ @@ -47,9 +46,9 @@ Signed-off-by: Peter Oh + if (!dfs_enabled) + return; - freq->channel = pri_chan->chan; - -@@ -2284,8 +2292,11 @@ void ibss_mesh_setup_freq(struct wpa_sup + if (ht40 == -1) { + if (!(pri_chan->flag & HOSTAPD_CHAN_HT40MINUS)) +@@ -2356,8 +2364,11 @@ skip_ht40: return; /* Back to HT configuration if channel not usable */ @@ -61,8 +60,8 @@ Signed-off-by: Peter Oh + return; } - chwidth = VHT_CHANWIDTH_80MHZ; -@@ -2305,10 +2316,11 @@ void ibss_mesh_setup_freq(struct wpa_sup + chwidth = CHANWIDTH_80MHZ; +@@ -2377,10 +2388,11 @@ skip_ht40: if (!chan) continue; @@ -76,4 +75,4 @@ Signed-off-by: Peter Oh + continue; /* Found a suitable second segment for 80+80 */ - chwidth = VHT_CHANWIDTH_80P80MHZ; + chwidth = CHANWIDTH_80P80MHZ; diff --git a/package/network/services/hostapd/patches/013-mesh-do-not-allow-pri-sec-channel-switch.patch b/package/network/services/hostapd/patches/013-mesh-do-not-allow-pri-sec-channel-switch.patch index 2d818b0835..778273e67c 100644 --- a/package/network/services/hostapd/patches/013-mesh-do-not-allow-pri-sec-channel-switch.patch +++ b/package/network/services/hostapd/patches/013-mesh-do-not-allow-pri-sec-channel-switch.patch @@ -1,27 +1,29 @@ -From 267395271c1a36b54ef21070acff2cadce241035 Mon Sep 17 00:00:00 2001 +From 4f4a9b9e2e61fba334a21dadea749e4b440f42e6 Mon Sep 17 00:00:00 2001 From: Peter Oh -Date: Tue, 29 May 2018 14:39:17 -0700 -Subject: [PATCH 13/18] mesh: do not allow pri/sec channel switch +Date: Mon, 27 Aug 2018 14:28:48 -0700 +Subject: [PATCH 6/7] mesh: don't allow pri/sec channel switch -We don't want mesh to switch the channel from primary to secondary, -since mesh points are not able to join each other in that case. +This limitation isn't backed by standard, but it is known that +mesh doesn't have capability to handle 20/40 coex change in +current implementation and it will not able to establish +PLINK when channel switch between primary and secondary happens. + +Since it's unknown when we will have the implementation of handling +20/40 coex change for mesh, it'd better to avoid them from happening +until standard based implementation is introduced. Signed-off-by: Peter Oh --- - wpa_supplicant/mesh.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) + wpa_supplicant/mesh.c | 1 + + 1 file changed, 1 insertion(+) --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -337,7 +337,10 @@ static int wpa_supplicant_mesh_init(stru - rate_len * sizeof(int)); +@@ -386,6 +386,7 @@ static int wpa_supplicant_mesh_init(stru conf->basic_rates[rate_len] = -1; } -- -+ /* Do not allow primary/secondary channel switch in mesh mode, -+ * since mesh is not able to establish a physical link for it -+ */ -+ conf->no_pri_sec_switch = 1; - wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf); - if (wpa_drv_init_mesh(wpa_s)) { ++ conf->no_pri_sec_switch = 1; + /* Handle pri/sec switch frequency within AP configuration parameter + * generation without changing the stored network profile in the end. */ + saved_freq = ssid->frequency; diff --git a/package/network/services/hostapd/patches/014-mesh-do-not-allow-scan-result-to-swap-pri-sec.patch b/package/network/services/hostapd/patches/014-mesh-do-not-allow-scan-result-to-swap-pri-sec.patch deleted file mode 100644 index afcbcbb0ad..0000000000 --- a/package/network/services/hostapd/patches/014-mesh-do-not-allow-scan-result-to-swap-pri-sec.patch +++ /dev/null @@ -1,24 +0,0 @@ -From f95897cef614fff710c31d9e478eacc85d6312d5 Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:18 -0700 -Subject: [PATCH 14/18] mesh: do not allow scan result to swap pri/sec - -Swapping between primary and secondary channel will break -mesh from joining, hence don't allow it. - -Signed-off-by: Peter Oh ---- - wpa_supplicant/wpa_supplicant.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/wpa_supplicant/wpa_supplicant.c -+++ b/wpa_supplicant/wpa_supplicant.c -@@ -2215,7 +2215,7 @@ void ibss_mesh_setup_freq(struct wpa_sup - } - freq->sec_channel_offset = ht40; - -- if (obss_scan) { -+ if (ssid->mode != WPAS_MODE_MESH && obss_scan) { - struct wpa_scan_results *scan_res; - - scan_res = wpa_supplicant_get_scan_results(wpa_s, NULL, 0); diff --git a/package/network/services/hostapd/patches/015-mesh-do-not-use-offchan-mgmt-tx-on-DFS.patch b/package/network/services/hostapd/patches/015-mesh-do-not-use-offchan-mgmt-tx-on-DFS.patch index c921436925..8bac9082d7 100644 --- a/package/network/services/hostapd/patches/015-mesh-do-not-use-offchan-mgmt-tx-on-DFS.patch +++ b/package/network/services/hostapd/patches/015-mesh-do-not-use-offchan-mgmt-tx-on-DFS.patch @@ -1,44 +1,56 @@ -From 9423e8be0393e82c8622806a0529e47fd5583c0b Mon Sep 17 00:00:00 2001 +From 71e9c65a7c8af90a5fd11072062b596421316452 Mon Sep 17 00:00:00 2001 From: Peter Oh -Date: Tue, 29 May 2018 14:39:19 -0700 -Subject: [PATCH 15/18] mesh: do not use offchan mgmt tx on DFS +Date: Mon, 27 Aug 2018 14:28:46 -0700 +Subject: [PATCH 4/7] mesh: do not set offchanok on DFS channels in non-ETSI -Drivers don't allow mesh to use offchannel on management Tx. +mac80211 does not allow mgmt tx to use off channel on +DFS channels in non-ETSI domain, because it will invalidate +CAC result on current operating channel. +(mac80211 commit: 34373d12f3cbb74960a73431138ef619d857996f) +Hence don't set offchanok for mgmt tx in case of DFS channels +in non-ETSI. Signed-off-by: Peter Oh -Signed-off-by: Daniel Golle -[daniel@makrotopia.org: adapted to changed ieee80211_is_dfs prototype] --- - src/drivers/driver_nl80211.c | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) + src/drivers/driver_nl80211.c | 21 ++++++++++++++++++++- + 1 file changed, 20 insertions(+), 1 deletion(-) --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -7268,6 +7268,10 @@ static int wpa_driver_nl80211_send_actio - struct wpa_driver_nl80211_data *drv = bss->drv; +@@ -7462,6 +7462,10 @@ static int wpa_driver_nl80211_send_actio int ret = -1; u8 *buf; -+ int offchanok = 1; -+ u16 num_modes, flags; -+ struct hostapd_hw_modes *modes; -+ u8 dfs_domain; struct ieee80211_hdr *hdr; ++ struct hostapd_hw_modes *modes; ++ int i, offchanok = 1; ++ u16 num_modes, flags; ++ u8 dfs_domain; wpa_printf(MSG_DEBUG, "nl80211: Send Action frame (ifindex=%d, " -@@ -7292,7 +7296,11 @@ static int wpa_driver_nl80211_send_actio - } else { + "freq=%u MHz wait=%d ms no_cck=%d)", +@@ -7486,6 +7490,21 @@ static int wpa_driver_nl80211_send_actio os_memset(bss->rand_addr, 0, ETH_ALEN); } -- -+ if (is_mesh_interface(drv->nlmode) && -+ (modes = nl80211_get_hw_feature_data(bss, &num_modes, &flags, -+ &dfs_domain)) && -+ ieee80211_is_dfs(freq, modes, num_modes)) -+ offchanok = 0; + ++ if (is_mesh_interface(drv->nlmode)) { ++ modes = nl80211_get_hw_feature_data(bss, &num_modes, ++ &flags, &dfs_domain); ++ if (dfs_domain != HOSTAPD_DFS_REGION_ETSI && ++ ieee80211_is_dfs(bss->freq, modes, num_modes)) ++ offchanok = 0; ++ if (modes) { ++ for (i = 0; i < num_modes; i++) { ++ os_free(modes[i].channels); ++ os_free(modes[i].rates); ++ } ++ os_free(modes); ++ } ++ } ++ if (is_ap_interface(drv->nlmode) && (!(drv->capa.flags & WPA_DRIVER_FLAGS_OFFCHANNEL_TX) || (int) freq == bss->freq || drv->device_ap_sme || -@@ -7304,7 +7312,7 @@ static int wpa_driver_nl80211_send_actio +@@ -7497,7 +7516,7 @@ static int wpa_driver_nl80211_send_actio ret = nl80211_send_frame_cmd(bss, freq, wait_time, buf, 24 + data_len, &drv->send_action_cookie, diff --git a/package/network/services/hostapd/patches/016-mesh-fix-channel-switch-error-during-CAC.patch b/package/network/services/hostapd/patches/016-mesh-fix-channel-switch-error-during-CAC.patch index 5071ae5151..f2baf1d8b7 100644 --- a/package/network/services/hostapd/patches/016-mesh-fix-channel-switch-error-during-CAC.patch +++ b/package/network/services/hostapd/patches/016-mesh-fix-channel-switch-error-during-CAC.patch @@ -1,7 +1,7 @@ -From fa9d565fe8841b288f29137c23a7ab2584dd9510 Mon Sep 17 00:00:00 2001 +From 5913d6e2a741683e7c747c046f72ca790bbe1337 Mon Sep 17 00:00:00 2001 From: Peter Oh -Date: Tue, 29 May 2018 14:39:20 -0700 -Subject: [PATCH 16/18] mesh: fix channel switch error during CAC +Date: Mon, 27 Aug 2018 14:28:47 -0700 +Subject: [PATCH 5/7] mesh: fix channel switch error during CAC Mesh interface has used its channel parameters that configured during its initialization even after channel switched due to @@ -10,30 +10,23 @@ This change fixes the error by updating its channel parameters when channel's been changed from initial one. Signed-off-by: Peter Oh -Signed-off-by: Daniel Golle -[daniel@makrotopia.org: added hw_features_common.h include] --- wpa_supplicant/mesh.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -11,6 +11,7 @@ - #include "utils/common.h" - #include "utils/eloop.h" +@@ -13,6 +13,7 @@ #include "utils/uuid.h" -+#include "common/hw_features_common.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl.h" ++#include "common/hw_features_common.h" #include "ap/sta_info.h" -@@ -394,10 +395,35 @@ void wpa_supplicant_mesh_add_scan_ie(str - void wpas_mesh_complete_cb(void *ctx) - { - struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)ctx; -+ struct hostapd_iface *ifmsh = wpa_s->ifmsh; - struct wpa_driver_mesh_join_params *params = wpa_s->mesh_params; - struct wpa_ssid *ssid = wpa_s->current_ssid; - int ret = 0; + #include "ap/hostapd.h" + #include "ap/ieee802_11.h" +@@ -204,6 +205,32 @@ static void wpas_mesh_complete_cb(void * + return; + } + /* + * inspect if channel's been changed since initialized. @@ -48,17 +41,19 @@ Signed-off-by: Daniel Golle + ifmsh->conf->channel, + ifmsh->conf->ieee80211n, + ifmsh->conf->ieee80211ac, ++ ifmsh->conf->ieee80211ax, + ifmsh->conf->secondary_channel, -+ ifmsh->conf->vht_oper_chwidth, -+ ifmsh->conf->vht_oper_centr_freq_seg0_idx, -+ ifmsh->conf->vht_oper_centr_freq_seg1_idx, -+ ifmsh->conf->vht_capab)) { ++ hostapd_get_oper_chwidth(ifmsh->conf), ++ hostapd_get_oper_centr_freq_seg0_idx(ifmsh->conf), ++ hostapd_get_oper_centr_freq_seg1_idx(ifmsh->conf), ++ ifmsh->current_mode->vht_capab, ++ &ifmsh->current_mode->he_capab[IEEE80211_MODE_AP])) { + wpa_printf(MSG_ERROR, "Error updating mesh frequency params."); + wpa_supplicant_mesh_deinit(wpa_s); + return; + } + } + - if (wpas_mesh_init_rsn(wpa_s)) { - wpa_printf(MSG_ERROR, "Init RSN failed. Deinit mesh..."); - wpa_supplicant_mesh_deinit(wpa_s); + if (ifmsh->mconf->security != MESH_CONF_SEC_NONE && + wpas_mesh_init_rsn(wpa_s)) { + wpa_printf(MSG_ERROR, diff --git a/package/network/services/hostapd/patches/017-mesh-use-right-interface-context-to-send-DFS-event-m.patch b/package/network/services/hostapd/patches/017-mesh-use-right-interface-context-to-send-DFS-event-m.patch deleted file mode 100644 index a4073bb9fd..0000000000 --- a/package/network/services/hostapd/patches/017-mesh-use-right-interface-context-to-send-DFS-event-m.patch +++ /dev/null @@ -1,107 +0,0 @@ -From d3201adfe7d2219217a07ef16ef365ad59c1a89b Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Tue, 29 May 2018 14:39:21 -0700 -Subject: [PATCH 17/18] mesh: use right interface context to send DFS event - messages - -use mesh interface context to send DFS event messages when -DFS events are on mesh interface. - -Signed-off-by: Peter Oh -Signed-off-by: Masashi Honma ---- - src/ap/dfs.c | 27 +++++++++++++++++++-------- - 1 file changed, 19 insertions(+), 8 deletions(-) - ---- a/src/ap/dfs.c -+++ b/src/ap/dfs.c -@@ -637,6 +637,17 @@ static unsigned int dfs_get_cac_time(str - } - - -+static void *get_message_ctx(struct hostapd_iface *iface) -+{ -+#ifdef CONFIG_MESH -+ if (iface->mconf) -+ return iface->owner; -+#endif /* CONFIG_MESH */ -+ -+ return iface->bss[0]->msg_ctx; -+} -+ -+ - /* - * Main DFS handler - * 1 - continue channel/ap setup -@@ -719,7 +730,7 @@ int hostapd_handle_dfs(struct hostapd_if - /* Finally start CAC */ - hostapd_set_state(iface, HAPD_IFACE_DFS); - wpa_printf(MSG_DEBUG, "DFS start CAC on %d MHz", iface->freq); -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_CAC_START -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_CAC_START - "freq=%d chan=%d sec_chan=%d, width=%d, seg0=%d, seg1=%d, cac_time=%ds", - iface->freq, - iface->conf->channel, iface->conf->secondary_channel, -@@ -768,7 +779,7 @@ int hostapd_dfs_complete_cac(struct host - int ht_enabled, int chan_offset, int chan_width, - int cf1, int cf2) - { -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_CAC_COMPLETED -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_CAC_COMPLETED - "success=%d freq=%d ht_enabled=%d chan_offset=%d chan_width=%d cf1=%d cf2=%d", - success, freq, ht_enabled, chan_offset, chan_width, cf1, cf2); - -@@ -810,7 +821,7 @@ int hostapd_dfs_pre_cac_expired(struct h - int ht_enabled, int chan_offset, int chan_width, - int cf1, int cf2) - { -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_PRE_CAC_EXPIRED -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_PRE_CAC_EXPIRED - "freq=%d ht_enabled=%d chan_offset=%d chan_width=%d cf1=%d cf2=%d", - freq, ht_enabled, chan_offset, chan_width, cf1, cf2); - -@@ -848,7 +859,7 @@ static int hostapd_dfs_start_channel_swi - - wpa_printf(MSG_DEBUG, "DFS will switch to a new channel %d", - channel->chan); -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_NEW_CHANNEL -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_NEW_CHANNEL - "freq=%d chan=%d sec_chan=%d", channel->freq, - channel->chan, secondary_channel); - -@@ -935,7 +946,7 @@ static int hostapd_dfs_start_channel_swi - - wpa_printf(MSG_DEBUG, "DFS will switch to a new channel %d", - channel->chan); -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_NEW_CHANNEL -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_NEW_CHANNEL - "freq=%d chan=%d sec_chan=%d", channel->freq, - channel->chan, secondary_channel); - -@@ -997,7 +1008,7 @@ int hostapd_dfs_radar_detected(struct ho - { - int res; - -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_RADAR_DETECTED -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_RADAR_DETECTED - "freq=%d ht_enabled=%d chan_offset=%d chan_width=%d cf1=%d cf2=%d", - freq, ht_enabled, chan_offset, chan_width, cf1, cf2); - -@@ -1028,7 +1039,7 @@ int hostapd_dfs_nop_finished(struct host - int ht_enabled, int chan_offset, int chan_width, - int cf1, int cf2) - { -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_NOP_FINISHED -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_NOP_FINISHED - "freq=%d ht_enabled=%d chan_offset=%d chan_width=%d cf1=%d cf2=%d", - freq, ht_enabled, chan_offset, chan_width, cf1, cf2); - -@@ -1078,7 +1089,7 @@ int hostapd_dfs_start_cac(struct hostapd - int ht_enabled, int chan_offset, int chan_width, - int cf1, int cf2) - { -- wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, DFS_EVENT_CAC_START -+ wpa_msg(get_message_ctx(iface), MSG_INFO, DFS_EVENT_CAC_START - "freq=%d chan=%d chan_offset=%d width=%d seg0=%d " - "seg1=%d cac_time=%ds", - freq, (freq - 5000) / 5, chan_offset, chan_width, cf1, cf2, 60); diff --git a/package/network/services/hostapd/patches/018-mesh-make-forwarding-configurable.patch b/package/network/services/hostapd/patches/018-mesh-make-forwarding-configurable.patch index 2eb2d7de07..af94fed4b8 100644 --- a/package/network/services/hostapd/patches/018-mesh-make-forwarding-configurable.patch +++ b/package/network/services/hostapd/patches/018-mesh-make-forwarding-configurable.patch @@ -23,7 +23,7 @@ Signed-off-by: Daniel Golle --- a/src/ap/ap_config.h +++ b/src/ap/ap_config.h -@@ -49,6 +49,7 @@ struct mesh_conf { +@@ -51,6 +51,7 @@ struct mesh_conf { int dot11MeshRetryTimeout; /* msec */ int dot11MeshConfirmTimeout; /* msec */ int dot11MeshHoldingTimeout; /* msec */ @@ -31,7 +31,7 @@ Signed-off-by: Daniel Golle }; #define MAX_STA_COUNT 2007 -@@ -628,6 +629,7 @@ struct hostapd_bss_config { +@@ -666,6 +667,7 @@ struct hostapd_bss_config { #define MESH_ENABLED BIT(0) int mesh; @@ -41,7 +41,7 @@ Signed-off-by: Daniel Golle --- a/src/drivers/driver.h +++ b/src/drivers/driver.h -@@ -1375,6 +1375,7 @@ struct wpa_driver_mesh_bss_params { +@@ -1450,6 +1450,7 @@ struct wpa_driver_mesh_bss_params { #define WPA_DRIVER_MESH_CONF_FLAG_MAX_PEER_LINKS 0x00000004 #define WPA_DRIVER_MESH_CONF_FLAG_HT_OP_MODE 0x00000008 #define WPA_DRIVER_MESH_CONF_FLAG_RSSI_THRESHOLD 0x00000010 @@ -49,7 +49,7 @@ Signed-off-by: Daniel Golle /* * TODO: Other mesh configuration parameters would go here. * See NL80211_MESHCONF_* for all the mesh config parameters. -@@ -1384,6 +1385,7 @@ struct wpa_driver_mesh_bss_params { +@@ -1459,6 +1460,7 @@ struct wpa_driver_mesh_bss_params { int peer_link_timeout; int max_peer_links; int rssi_threshold; @@ -59,7 +59,7 @@ Signed-off-by: Daniel Golle --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -9332,6 +9332,9 @@ static int nl80211_put_mesh_config(struc +@@ -9592,6 +9592,9 @@ static int nl80211_put_mesh_config(struc if (((params->flags & WPA_DRIVER_MESH_CONF_FLAG_AUTO_PLINKS) && nla_put_u8(msg, NL80211_MESHCONF_AUTO_OPEN_PLINKS, params->auto_plinks)) || @@ -71,7 +71,7 @@ Signed-off-by: Daniel Golle params->max_peer_links)) || --- a/wpa_supplicant/config.c +++ b/wpa_supplicant/config.c -@@ -2228,6 +2228,7 @@ static const struct parse_data ssid_fiel +@@ -2307,6 +2307,7 @@ static const struct parse_data ssid_fiel #ifdef CONFIG_MESH { INT_RANGE(mode, 0, 5) }, { INT_RANGE(no_auto_peer, 0, 1) }, @@ -79,7 +79,7 @@ Signed-off-by: Daniel Golle { INT_RANGE(mesh_rssi_threshold, -255, 1) }, #else /* CONFIG_MESH */ { INT_RANGE(mode, 0, 4) }, -@@ -2779,6 +2780,7 @@ void wpa_config_set_network_defaults(str +@@ -2869,6 +2870,7 @@ void wpa_config_set_network_defaults(str ssid->dot11MeshRetryTimeout = DEFAULT_MESH_RETRY_TIMEOUT; ssid->dot11MeshConfirmTimeout = DEFAULT_MESH_CONFIRM_TIMEOUT; ssid->dot11MeshHoldingTimeout = DEFAULT_MESH_HOLDING_TIMEOUT; @@ -87,7 +87,7 @@ Signed-off-by: Daniel Golle ssid->mesh_rssi_threshold = DEFAULT_MESH_RSSI_THRESHOLD; #endif /* CONFIG_MESH */ #ifdef CONFIG_HT_OVERRIDES -@@ -3996,6 +3998,7 @@ struct wpa_config * wpa_config_alloc_emp +@@ -4089,6 +4091,7 @@ struct wpa_config * wpa_config_alloc_emp config->user_mpm = DEFAULT_USER_MPM; config->max_peer_links = DEFAULT_MAX_PEER_LINKS; config->mesh_max_inactivity = DEFAULT_MESH_MAX_INACTIVITY; @@ -95,7 +95,7 @@ Signed-off-by: Daniel Golle config->dot11RSNASAERetransPeriod = DEFAULT_DOT11_RSNA_SAE_RETRANS_PERIOD; config->fast_reauth = DEFAULT_FAST_REAUTH; -@@ -4618,6 +4621,7 @@ static const struct global_parse_data gl +@@ -4726,6 +4729,7 @@ static const struct global_parse_data gl { INT(user_mpm), 0 }, { INT_RANGE(max_peer_links, 0, 255), 0 }, { INT(mesh_max_inactivity), 0 }, @@ -113,7 +113,7 @@ Signed-off-by: Daniel Golle /* * The default dot11RSNASAERetransPeriod is defined as 40 ms in the standard, * but use 1000 ms in practice to avoid issues on low power CPUs. -@@ -1306,6 +1307,14 @@ struct wpa_config { +@@ -1327,6 +1328,14 @@ struct wpa_config { int mesh_max_inactivity; /** @@ -130,7 +130,7 @@ Signed-off-by: Daniel Golle * This timeout value is used in mesh STA to retransmit --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c -@@ -818,6 +818,7 @@ static void wpa_config_write_network(FIL +@@ -829,6 +829,7 @@ static void wpa_config_write_network(FIL #endif /* IEEE8021X_EAPOL */ INT(mode); INT(no_auto_peer); @@ -138,7 +138,7 @@ Signed-off-by: Daniel Golle INT(frequency); INT(fixed_freq); #ifdef CONFIG_ACS -@@ -1450,6 +1451,9 @@ static void wpa_config_write_global(FILE +@@ -1472,6 +1473,9 @@ static void wpa_config_write_global(FILE fprintf(f, "mesh_max_inactivity=%d\n", config->mesh_max_inactivity); @@ -150,7 +150,7 @@ Signed-off-by: Daniel Golle fprintf(f, "dot11RSNASAERetransPeriod=%d\n", --- a/wpa_supplicant/config_ssid.h +++ b/wpa_supplicant/config_ssid.h -@@ -500,6 +500,11 @@ struct wpa_ssid { +@@ -516,6 +516,11 @@ struct wpa_ssid { int dot11MeshConfirmTimeout; /* msec */ int dot11MeshHoldingTimeout; /* msec */ @@ -164,7 +164,7 @@ Signed-off-by: Daniel Golle --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -121,6 +121,7 @@ static struct mesh_conf * mesh_config_cr +@@ -126,6 +126,7 @@ static struct mesh_conf * mesh_config_cr conf->mesh_cc_id = 0; conf->mesh_sp_id = MESH_SYNC_METHOD_NEIGHBOR_OFFSET; conf->mesh_auth_id = (conf->security & MESH_CONF_SEC_AUTH) ? 1 : 0; @@ -172,7 +172,7 @@ Signed-off-by: Daniel Golle conf->dot11MeshMaxRetries = ssid->dot11MeshMaxRetries; conf->dot11MeshRetryTimeout = ssid->dot11MeshRetryTimeout; conf->dot11MeshConfirmTimeout = ssid->dot11MeshConfirmTimeout; -@@ -256,6 +257,7 @@ static int wpa_supplicant_mesh_init(stru +@@ -328,6 +329,7 @@ static int wpa_supplicant_mesh_init(stru bss->conf->start_disabled = 1; bss->conf->mesh = MESH_ENABLED; bss->conf->ap_max_inactivity = wpa_s->conf->mesh_max_inactivity; @@ -180,7 +180,7 @@ Signed-off-by: Daniel Golle if (ieee80211_is_dfs(ssid->frequency, wpa_s->hw.modes, wpa_s->hw.num_modes) && wpa_s->conf->country[0]) { -@@ -534,6 +536,10 @@ int wpa_supplicant_join_mesh(struct wpa_ +@@ -549,6 +551,10 @@ int wpa_supplicant_join_mesh(struct wpa_ } params->conf.peer_link_timeout = wpa_s->conf->mesh_max_inactivity; @@ -188,12 +188,12 @@ Signed-off-by: Daniel Golle + params->conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_FORWARDING; + params->conf.forwarding = ssid->mesh_fwding; + + os_free(wpa_s->mesh_params); wpa_s->mesh_params = params; if (wpa_supplicant_mesh_init(wpa_s, ssid, ¶ms->freq)) { - wpa_msg(wpa_s, MSG_ERROR, "Failed to init mesh"); --- a/wpa_supplicant/mesh_mpm.c +++ b/wpa_supplicant/mesh_mpm.c -@@ -289,9 +289,9 @@ static void mesh_mpm_send_plink_action(s +@@ -305,9 +305,9 @@ static void mesh_mpm_send_plink_action(s info = (bss->num_plinks > 63 ? 63 : bss->num_plinks) << 1; /* TODO: Add Connected to Mesh Gate/AS subfields */ wpabuf_put_u8(buf, info); diff --git a/package/network/services/hostapd/patches/031-mesh-add-VHT_CHANWIDTH_USE_HT-to-max_oper_chwidth.patch b/package/network/services/hostapd/patches/031-mesh-add-VHT_CHANWIDTH_USE_HT-to-max_oper_chwidth.patch deleted file mode 100644 index de64a59372..0000000000 --- a/package/network/services/hostapd/patches/031-mesh-add-VHT_CHANWIDTH_USE_HT-to-max_oper_chwidth.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 838225f2319348e430b553fd9bb3680bd7434ae3 Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Wed, 18 Apr 2018 14:14:18 -0700 -Subject: [PATCH 1/2] mesh: add VHT_CHANWIDTH_USE_HT to max_oper_chwidth - -Channel width in VHT mode refers HT capability when -the width goes down to below 80MHz, hence add checking -HT channel width to its max operation channel width. -So that mesh has capable to select bandwidth below 80Mhz. - -Signed-off-by: Peter Oh ---- - wpa_supplicant/config.c | 1 + - wpa_supplicant/config_ssid.h | 1 + - wpa_supplicant/wpa_supplicant.c | 3 +++ - 3 files changed, 5 insertions(+) - ---- a/wpa_supplicant/config.c -+++ b/wpa_supplicant/config.c -@@ -2818,6 +2818,7 @@ void wpa_config_set_network_defaults(str - ssid->mka_priority = DEFAULT_PRIO_NOT_KEY_SERVER; - #endif /* CONFIG_MACSEC */ - ssid->mac_addr = -1; -+ ssid->max_oper_chwidth = (u8)DEFAULT_MAX_OPER_CHWIDTH; - } - - ---- a/wpa_supplicant/config_ssid.h -+++ b/wpa_supplicant/config_ssid.h -@@ -37,6 +37,7 @@ - #define DEFAULT_AMPDU_FACTOR -1 /* no change */ - #define DEFAULT_AMPDU_DENSITY -1 /* no change */ - #define DEFAULT_USER_SELECTED_SIM 1 -+#define DEFAULT_MAX_OPER_CHWIDTH -1 - - struct psk_list_entry { - struct dl_list list; ---- a/wpa_supplicant/wpa_supplicant.c -+++ b/wpa_supplicant/wpa_supplicant.c -@@ -2342,6 +2342,9 @@ void ibss_mesh_setup_freq(struct wpa_sup - vht_caps |= VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; - seg0 = 114; - } -+ } else if (ssid->max_oper_chwidth == VHT_CHANWIDTH_USE_HT) { -+ chwidth = VHT_CHANWIDTH_USE_HT; -+ seg0 = vht80[j] + 2; - } - - if (hostapd_set_freq_params(&vht_freq, mode->mode, freq->freq, diff --git a/package/network/services/hostapd/patches/032-mesh-implement-use-of-VHT20-config-in-mesh-mode.patch b/package/network/services/hostapd/patches/032-mesh-implement-use-of-VHT20-config-in-mesh-mode.patch deleted file mode 100644 index 4691a79404..0000000000 --- a/package/network/services/hostapd/patches/032-mesh-implement-use-of-VHT20-config-in-mesh-mode.patch +++ /dev/null @@ -1,82 +0,0 @@ -From 24fc73b2470ff79cd8c92e029ca785c8e95a204c Mon Sep 17 00:00:00 2001 -From: Peter Oh -Date: Wed, 18 Apr 2018 14:14:19 -0700 -Subject: [PATCH 2/2] mesh: implement use of VHT20 config in mesh mode - -mesh in VHT mode is supposed to be able to use any bandwidth -that 11ac supports, but we don't have a way to set VHT20 -although there are parameters that are supposed to be used. -This patch along with the patch of -"mesh: add VHT_CHANWIDTH_USE_HT to max_oper_chwidth" makes mesh -available to use of any bandwidth using combination of -existing parameters like below shown. - -VHT80: - default - do not set any parameters -VHT40: - max_oper_chwidth = 0 -VHT20: - max_oper_chwidth=0 - disable_ht40=1 -HT40: - disable_vht = 1 -HT20: - disable_ht40 = 1 -disable HT: - disable_ht = 1 - -Signed-off-by: Peter Oh ---- - wpa_supplicant/wpa_supplicant.c | 18 +++++++++++++----- - 1 file changed, 13 insertions(+), 5 deletions(-) - ---- a/wpa_supplicant/wpa_supplicant.c -+++ b/wpa_supplicant/wpa_supplicant.c -@@ -2174,9 +2174,15 @@ void ibss_mesh_setup_freq(struct wpa_sup - if (!dfs_enabled) - return; - -+ freq->channel = pri_chan->chan; -+ - #ifdef CONFIG_HT_OVERRIDES -- if (ssid->disable_ht40) -- return; -+ if (ssid->disable_ht40) { -+ if (ssid->disable_vht) -+ return; -+ else -+ goto skip_ht40; -+ } - #endif /* CONFIG_HT_OVERRIDES */ - - /* Check/setup HT40+/HT40- */ -@@ -2204,8 +2210,6 @@ void ibss_mesh_setup_freq(struct wpa_sup - if (!dfs_enabled) - return; - -- freq->channel = pri_chan->chan; -- - if (ht40 == -1) { - if (!(pri_chan->flag & HOSTAPD_CHAN_HT40MINUS)) - return; -@@ -2249,6 +2253,7 @@ void ibss_mesh_setup_freq(struct wpa_sup - wpa_scan_results_free(scan_res); - } - -+skip_ht40: - wpa_printf(MSG_DEBUG, - "IBSS/mesh: setup freq channel %d, sec_channel_offset %d", - freq->channel, freq->sec_channel_offset); -@@ -2344,7 +2349,10 @@ void ibss_mesh_setup_freq(struct wpa_sup - } - } else if (ssid->max_oper_chwidth == VHT_CHANWIDTH_USE_HT) { - chwidth = VHT_CHANWIDTH_USE_HT; -- seg0 = vht80[j] + 2; -+ if (ssid->disable_ht40) -+ seg0 = 0; -+ else -+ seg0 = vht80[j] + 2; - } - - if (hostapd_set_freq_params(&vht_freq, mode->mode, freq->freq, diff --git a/package/network/services/hostapd/patches/040-FT-Fix-CONFIG_IEEE80211X-y-build-without-CONFIG_FILS.patch b/package/network/services/hostapd/patches/040-FT-Fix-CONFIG_IEEE80211X-y-build-without-CONFIG_FILS.patch deleted file mode 100644 index 66ffd9e48b..0000000000 --- a/package/network/services/hostapd/patches/040-FT-Fix-CONFIG_IEEE80211X-y-build-without-CONFIG_FILS.patch +++ /dev/null @@ -1,33 +0,0 @@ -From f2973fa39d6109f0f34969e91551a98dc340d537 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Mon, 3 Dec 2018 12:00:26 +0200 -Subject: FT: Fix CONFIG_IEEE80211X=y build without CONFIG_FILS=y - -remove_ie() was defined within an ifdef CONFIG_FILS block while it is -now needed even without CONFIG_FILS=y. Remove the CONFIG_FILS condition -there. - -Fixes 8c41734e5de1 ("FT: Fix Reassociation Request IEs during FT protocol") -Signed-off-by: Jouni Malinen ---- - wpa_supplicant/sme.c | 2 -- - 1 file changed, 2 deletions(-) - ---- a/wpa_supplicant/sme.c -+++ b/wpa_supplicant/sme.c -@@ -1386,7 +1386,6 @@ void sme_event_auth(struct wpa_supplican - } - - --#ifdef CONFIG_FILS - #ifdef CONFIG_IEEE80211R - static void remove_ie(u8 *buf, size_t *len, u8 eid) - { -@@ -1401,7 +1400,6 @@ static void remove_ie(u8 *buf, size_t *l - } - } - #endif /* CONFIG_IEEE80211R */ --#endif /* CONFIG_FILS */ - - - void sme_associate(struct wpa_supplicant *wpa_s, enum wpas_mode mode, diff --git a/package/network/services/hostapd/patches/051-wpa_supplicant-fix-race-condition-in-mesh-mpm-new-pe.patch b/package/network/services/hostapd/patches/051-wpa_supplicant-fix-race-condition-in-mesh-mpm-new-pe.patch index 26842c97d5..cca8d47488 100644 --- a/package/network/services/hostapd/patches/051-wpa_supplicant-fix-race-condition-in-mesh-mpm-new-pe.patch +++ b/package/network/services/hostapd/patches/051-wpa_supplicant-fix-race-condition-in-mesh-mpm-new-pe.patch @@ -14,7 +14,7 @@ Signed-off-by: Felix Fietkau --- a/wpa_supplicant/mesh_mpm.c +++ b/wpa_supplicant/mesh_mpm.c -@@ -663,11 +663,12 @@ static struct sta_info * mesh_mpm_add_pe +@@ -710,11 +710,12 @@ static struct sta_info * mesh_mpm_add_pe } sta = ap_get_sta(data, addr); diff --git a/package/network/services/hostapd/patches/067-0001-AP-Silently-ignore-management-frame-from-unexpected-.patch b/package/network/services/hostapd/patches/067-0001-AP-Silently-ignore-management-frame-from-unexpected-.patch new file mode 100644 index 0000000000..25ee2c9f85 --- /dev/null +++ b/package/network/services/hostapd/patches/067-0001-AP-Silently-ignore-management-frame-from-unexpected-.patch @@ -0,0 +1,66 @@ +From 8c07fa9eda13e835f3f968b2e1c9a8be3a851ff9 Mon Sep 17 00:00:00 2001 +From: Jouni Malinen +Date: Thu, 29 Aug 2019 11:52:04 +0300 +Subject: [PATCH] AP: Silently ignore management frame from unexpected source + address + +Do not process any received Management frames with unexpected/invalid SA +so that we do not add any state for unexpected STA addresses or end up +sending out frames to unexpected destination. This prevents unexpected +sequences where an unprotected frame might end up causing the AP to send +out a response to another device and that other device processing the +unexpected response. + +In particular, this prevents some potential denial of service cases +where the unexpected response frame from the AP might result in a +connected station dropping its association. + +Signed-off-by: Jouni Malinen +--- + src/ap/drv_callbacks.c | 13 +++++++++++++ + src/ap/ieee802_11.c | 12 ++++++++++++ + 2 files changed, 25 insertions(+) + +--- a/src/ap/drv_callbacks.c ++++ b/src/ap/drv_callbacks.c +@@ -131,6 +131,19 @@ int hostapd_notif_assoc(struct hostapd_d + "hostapd_notif_assoc: Skip event with no address"); + return -1; + } ++ ++ if (is_multicast_ether_addr(addr) || ++ is_zero_ether_addr(addr) || ++ os_memcmp(addr, hapd->own_addr, ETH_ALEN) == 0) { ++ /* Do not process any frames with unexpected/invalid SA so that ++ * we do not add any state for unexpected STA addresses or end ++ * up sending out frames to unexpected destination. */ ++ wpa_printf(MSG_DEBUG, "%s: Invalid SA=" MACSTR ++ " in received indication - ignore this indication silently", ++ __func__, MAC2STR(addr)); ++ return 0; ++ } ++ + random_add_randomness(addr, ETH_ALEN); + + hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, +--- a/src/ap/ieee802_11.c ++++ b/src/ap/ieee802_11.c +@@ -4626,6 +4626,18 @@ int ieee802_11_mgmt(struct hostapd_data + fc = le_to_host16(mgmt->frame_control); + stype = WLAN_FC_GET_STYPE(fc); + ++ if (is_multicast_ether_addr(mgmt->sa) || ++ is_zero_ether_addr(mgmt->sa) || ++ os_memcmp(mgmt->sa, hapd->own_addr, ETH_ALEN) == 0) { ++ /* Do not process any frames with unexpected/invalid SA so that ++ * we do not add any state for unexpected STA addresses or end ++ * up sending out frames to unexpected destination. */ ++ wpa_printf(MSG_DEBUG, "MGMT: Invalid SA=" MACSTR ++ " in received frame - ignore this frame silently", ++ MAC2STR(mgmt->sa)); ++ return 0; ++ } ++ + if (stype == WLAN_FC_STYPE_BEACON) { + handle_beacon(hapd, mgmt, len, fi); + return 1; diff --git a/package/network/services/hostapd/patches/110-no_eapol_fix.patch b/package/network/services/hostapd/patches/110-no_eapol_fix.patch deleted file mode 100644 index 2a9c5ec807..0000000000 --- a/package/network/services/hostapd/patches/110-no_eapol_fix.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/wpa_supplicant/wpa_supplicant.c -+++ b/wpa_supplicant/wpa_supplicant.c -@@ -295,9 +295,10 @@ void wpa_supplicant_cancel_auth_timeout( - */ - void wpa_supplicant_initiate_eapol(struct wpa_supplicant *wpa_s) - { -+ struct wpa_ssid *ssid = wpa_s->current_ssid; -+ - #ifdef IEEE8021X_EAPOL - struct eapol_config eapol_conf; -- struct wpa_ssid *ssid = wpa_s->current_ssid; - - #ifdef CONFIG_IBSS_RSN - if (ssid->mode == WPAS_MODE_IBSS && diff --git a/package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch b/package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch deleted file mode 100644 index 090aaaa0db..0000000000 --- a/package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/l2_packet/l2_packet_linux.c -+++ b/src/l2_packet/l2_packet_linux.c -@@ -360,8 +360,7 @@ struct l2_packet_data * l2_packet_init_b - - l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback, - rx_callback_ctx, l2_hdr); -- if (!l2) -- return NULL; -+ return l2; - - #ifndef CONFIG_NO_LINUX_PACKET_SOCKET_WAR - /* diff --git a/package/network/services/hostapd/patches/200-multicall.patch b/package/network/services/hostapd/patches/200-multicall.patch index 9c7936695a..a8597edae4 100644 --- a/package/network/services/hostapd/patches/200-multicall.patch +++ b/package/network/services/hostapd/patches/200-multicall.patch @@ -18,7 +18,7 @@ OBJS += ../src/ap/vlan_init.o OBJS += ../src/ap/vlan_ifconfig.o OBJS += ../src/ap/vlan.o -@@ -354,10 +356,14 @@ CFLAGS += -DCONFIG_MBO +@@ -366,10 +368,14 @@ CFLAGS += -DCONFIG_MBO OBJS += ../src/ap/mbo_ap.o endif @@ -36,7 +36,7 @@ LIBS += $(DRV_AP_LIBS) ifdef CONFIG_L2_PACKET -@@ -1274,6 +1280,12 @@ install: $(addprefix $(DESTDIR)$(BINDIR) +@@ -1316,6 +1322,12 @@ install: $(addprefix $(DESTDIR)$(BINDIR) BCHECK=../src/drivers/build.hostapd @@ -49,7 +49,7 @@ hostapd: $(BCHECK) $(OBJS) $(Q)$(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS) @$(E) " LD " $@ -@@ -1316,6 +1328,12 @@ ifeq ($(CONFIG_TLS), linux) +@@ -1358,6 +1370,12 @@ ifeq ($(CONFIG_TLS), linux) HOBJS += ../src/crypto/crypto_linux.o endif @@ -72,7 +72,7 @@ ifndef CONFIG_NO_GITVER # Add VERSION_STR postfix for builds from a git repository -@@ -354,7 +355,9 @@ endif +@@ -363,7 +364,9 @@ endif ifdef CONFIG_IBSS_RSN NEED_RSN_AUTHENTICATOR=y CFLAGS += -DCONFIG_IBSS_RSN @@ -82,7 +82,7 @@ OBJS += ibss_rsn.o endif -@@ -862,6 +865,10 @@ ifdef CONFIG_DYNAMIC_EAP_METHODS +@@ -892,6 +895,10 @@ ifdef CONFIG_DYNAMIC_EAP_METHODS CFLAGS += -DCONFIG_DYNAMIC_EAP_METHODS LIBS += -ldl -rdynamic endif @@ -93,7 +93,7 @@ endif ifdef CONFIG_AP -@@ -869,9 +876,11 @@ NEED_EAP_COMMON=y +@@ -899,9 +906,11 @@ NEED_EAP_COMMON=y NEED_RSN_AUTHENTICATOR=y CFLAGS += -DCONFIG_AP OBJS += ap.o @@ -105,7 +105,7 @@ OBJS += ../src/ap/hostapd.o OBJS += ../src/ap/wpa_auth_glue.o OBJS += ../src/ap/utils.o -@@ -953,6 +962,12 @@ endif +@@ -983,6 +992,12 @@ endif ifdef CONFIG_HS20 OBJS += ../src/ap/hs20.o endif @@ -118,7 +118,7 @@ endif ifdef CONFIG_MBO -@@ -961,7 +976,9 @@ CFLAGS += -DCONFIG_MBO +@@ -991,7 +1006,9 @@ CFLAGS += -DCONFIG_MBO endif ifdef NEED_RSN_AUTHENTICATOR @@ -128,7 +128,7 @@ NEED_AES_WRAP=y OBJS += ../src/ap/wpa_auth.o OBJS += ../src/ap/wpa_auth_ie.o -@@ -1888,6 +1905,12 @@ wpa_priv: $(BCHECK) $(OBJS_priv) +@@ -1899,6 +1916,12 @@ wpa_priv: $(BCHECK) $(OBJS_priv) $(OBJS_c) $(OBJS_t) $(OBJS_t2) $(OBJS) $(BCHECK) $(EXTRA_progs): .config @@ -141,8 +141,8 @@ wpa_supplicant: $(BCHECK) $(OBJS) $(EXTRA_progs) $(Q)$(LDO) $(LDFLAGS) -o wpa_supplicant $(OBJS) $(LIBS) $(EXTRALIBS) @$(E) " LD " $@ -@@ -1990,6 +2013,12 @@ endif - -e 's|\@DBUS_INTERFACE\@|$(DBUS_INTERFACE)|g' $< >$@ +@@ -1999,6 +2022,12 @@ endif + $(Q)sed -e 's|\@BINDIR\@|$(BINDIR)|g' $< >$@ @$(E) " sed" $< +dump_cflags: @@ -156,7 +156,7 @@ wpa_cli.exe: wpa_cli --- a/src/drivers/driver.h +++ b/src/drivers/driver.h -@@ -5476,8 +5476,8 @@ union wpa_event_data { +@@ -5657,8 +5657,8 @@ union wpa_event_data { * Driver wrapper code should call this function whenever an event is received * from the driver. */ @@ -167,7 +167,7 @@ /** * wpa_supplicant_event_global - Report a driver event for wpa_supplicant -@@ -5489,7 +5489,7 @@ void wpa_supplicant_event(void *ctx, enu +@@ -5670,7 +5670,7 @@ void wpa_supplicant_event(void *ctx, enu * Same as wpa_supplicant_event(), but we search for the interface in * wpa_global. */ @@ -178,8 +178,8 @@ /* --- a/src/ap/drv_callbacks.c +++ b/src/ap/drv_callbacks.c -@@ -1527,8 +1527,8 @@ static void hostapd_event_wds_sta_interf - } +@@ -1669,8 +1669,8 @@ err: + #endif /* CONFIG_OWE */ -void wpa_supplicant_event(void *ctx, enum wpa_event_type event, @@ -189,7 +189,7 @@ { struct hostapd_data *hapd = ctx; #ifndef CONFIG_NO_STDOUT_DEBUG -@@ -1757,7 +1757,7 @@ void wpa_supplicant_event(void *ctx, enu +@@ -1915,7 +1915,7 @@ void wpa_supplicant_event(void *ctx, enu } @@ -231,7 +231,7 @@ os_memset(&global, 0, sizeof(global)); --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c -@@ -4026,8 +4026,8 @@ static void wpas_event_assoc_reject(stru +@@ -4184,8 +4184,8 @@ static void wpas_event_assoc_reject(stru } @@ -242,7 +242,7 @@ { struct wpa_supplicant *wpa_s = ctx; int resched; -@@ -4796,7 +4796,7 @@ void wpa_supplicant_event(void *ctx, enu +@@ -4967,7 +4967,7 @@ void wpa_supplicant_event(void *ctx, enu } @@ -253,7 +253,7 @@ struct wpa_supplicant *wpa_s; --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -5861,7 +5861,6 @@ struct wpa_interface * wpa_supplicant_ma +@@ -6096,7 +6096,6 @@ struct wpa_interface * wpa_supplicant_ma return NULL; } @@ -261,7 +261,7 @@ /** * wpa_supplicant_match_existing - Match existing interfaces * @global: Pointer to global data from wpa_supplicant_init() -@@ -5898,6 +5897,11 @@ static int wpa_supplicant_match_existing +@@ -6133,6 +6132,11 @@ static int wpa_supplicant_match_existing #endif /* CONFIG_MATCH_IFACE */ @@ -273,7 +273,7 @@ /** * wpa_supplicant_add_iface - Add a new network interface -@@ -6154,6 +6158,8 @@ struct wpa_global * wpa_supplicant_init( +@@ -6389,6 +6393,8 @@ struct wpa_global * wpa_supplicant_init( #ifndef CONFIG_NO_WPA_MSG wpa_msg_register_ifname_cb(wpa_supplicant_msg_ifname_cb); #endif /* CONFIG_NO_WPA_MSG */ @@ -284,7 +284,7 @@ wpa_debug_open_file(params->wpa_debug_file_path); --- a/hostapd/main.c +++ b/hostapd/main.c -@@ -591,6 +591,11 @@ fail: +@@ -592,6 +592,11 @@ fail: return -1; } @@ -296,8 +296,8 @@ #ifdef CONFIG_WPS static int gen_uuid(const char *txt_addr) -@@ -674,6 +679,8 @@ int main(int argc, char *argv[]) - hostapd_dpp_init_global(&interfaces); +@@ -682,6 +687,8 @@ int main(int argc, char *argv[]) + return -1; #endif /* CONFIG_DPP */ + wpa_supplicant_event = hostapd_wpa_event; @@ -320,7 +320,7 @@ { --- a/wpa_supplicant/eapol_test.c +++ b/wpa_supplicant/eapol_test.c -@@ -29,7 +29,12 @@ +@@ -30,7 +30,12 @@ #include "ctrl_iface.h" #include "pcsc_funcs.h" #include "wpas_glue.h" @@ -333,7 +333,7 @@ const struct wpa_driver_ops *const wpa_drivers[] = { NULL }; -@@ -1295,6 +1300,10 @@ static void usage(void) +@@ -1292,6 +1297,10 @@ static void usage(void) "option several times.\n"); } @@ -344,7 +344,7 @@ int main(int argc, char *argv[]) { -@@ -1315,6 +1324,8 @@ int main(int argc, char *argv[]) +@@ -1312,6 +1321,8 @@ int main(int argc, char *argv[]) if (os_program_init()) return -1; diff --git a/package/network/services/hostapd/patches/300-noscan.patch b/package/network/services/hostapd/patches/300-noscan.patch index d055422969..4c3728bc8f 100644 --- a/package/network/services/hostapd/patches/300-noscan.patch +++ b/package/network/services/hostapd/patches/300-noscan.patch @@ -1,8 +1,8 @@ --- a/hostapd/config_file.c +++ b/hostapd/config_file.c -@@ -3317,6 +3317,10 @@ static int hostapd_config_fill(struct ho - } - #endif /* CONFIG_IEEE80211W */ +@@ -3411,6 +3411,10 @@ static int hostapd_config_fill(struct ho + bss->ieee80211w = 1; + #endif /* CONFIG_OCV */ #ifdef CONFIG_IEEE80211N + } else if (os_strcmp(buf, "noscan") == 0) { + conf->noscan = atoi(pos); @@ -13,7 +13,7 @@ } else if (os_strcmp(buf, "ht_capab") == 0) { --- a/src/ap/ap_config.h +++ b/src/ap/ap_config.h -@@ -781,6 +781,8 @@ struct hostapd_config { +@@ -934,6 +934,8 @@ struct hostapd_config { int ht_op_mode_fixed; u16 ht_capab; @@ -24,7 +24,7 @@ int no_pri_sec_switch; --- a/src/ap/hw_features.c +++ b/src/ap/hw_features.c -@@ -480,7 +480,8 @@ static int ieee80211n_check_40mhz(struct +@@ -477,7 +477,8 @@ static int ieee80211n_check_40mhz(struct int ret; /* Check that HT40 is used and PRI / SEC switch is allowed */ diff --git a/package/network/services/hostapd/patches/301-mesh-noscan.patch b/package/network/services/hostapd/patches/301-mesh-noscan.patch index ed4e91cae9..b1450ef6db 100644 --- a/package/network/services/hostapd/patches/301-mesh-noscan.patch +++ b/package/network/services/hostapd/patches/301-mesh-noscan.patch @@ -1,6 +1,6 @@ --- a/wpa_supplicant/config.c +++ b/wpa_supplicant/config.c -@@ -2233,6 +2233,7 @@ static const struct parse_data ssid_fiel +@@ -2312,6 +2312,7 @@ static const struct parse_data ssid_fiel #else /* CONFIG_MESH */ { INT_RANGE(mode, 0, 4) }, #endif /* CONFIG_MESH */ @@ -10,7 +10,7 @@ { STR(id_str) }, --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c -@@ -818,6 +818,7 @@ static void wpa_config_write_network(FIL +@@ -829,6 +829,7 @@ static void wpa_config_write_network(FIL #endif /* IEEE8021X_EAPOL */ INT(mode); INT(no_auto_peer); @@ -20,7 +20,7 @@ INT(fixed_freq); --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -288,6 +288,8 @@ static int wpa_supplicant_mesh_init(stru +@@ -361,6 +361,8 @@ static int wpa_supplicant_mesh_init(stru frequency); goto out_free; } @@ -31,8 +31,8 @@ if (conf->hw_mode == HOSTAPD_MODE_IEEE80211A && ssid->vht) { --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -2081,12 +2081,12 @@ void ibss_mesh_setup_freq(struct wpa_sup - { +@@ -2143,12 +2143,12 @@ void ibss_mesh_setup_freq(struct wpa_sup + int ieee80211_mode = wpas_mode_to_ieee80211_mode(ssid->mode); enum hostapd_hw_mode hw_mode; struct hostapd_hw_modes *mode = NULL; - int ht40plus[] = { 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, @@ -46,7 +46,7 @@ unsigned int j, k; struct hostapd_freq_params vht_freq; int chwidth, seg0, seg1; -@@ -2156,7 +2156,7 @@ void ibss_mesh_setup_freq(struct wpa_sup +@@ -2221,7 +2221,7 @@ void ibss_mesh_setup_freq(struct wpa_sup return; /* Setup higher BW only for 5 GHz */ @@ -57,7 +57,7 @@ for (chan_idx = 0; chan_idx < mode->num_channels; chan_idx++) { --- a/wpa_supplicant/config_ssid.h +++ b/wpa_supplicant/config_ssid.h -@@ -856,6 +856,8 @@ struct wpa_ssid { +@@ -918,6 +918,8 @@ struct wpa_ssid { */ int no_auto_peer; diff --git a/package/network/services/hostapd/patches/310-rescan_immediately.patch b/package/network/services/hostapd/patches/310-rescan_immediately.patch index 84eb252319..8d0307c3a2 100644 --- a/package/network/services/hostapd/patches/310-rescan_immediately.patch +++ b/package/network/services/hostapd/patches/310-rescan_immediately.patch @@ -1,6 +1,6 @@ --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -4312,7 +4312,7 @@ wpa_supplicant_alloc(struct wpa_supplica +@@ -4474,7 +4474,7 @@ wpa_supplicant_alloc(struct wpa_supplica if (wpa_s == NULL) return NULL; wpa_s->scan_req = INITIAL_SCAN_REQ; diff --git a/package/network/services/hostapd/patches/320-optional_rfkill.patch b/package/network/services/hostapd/patches/320-optional_rfkill.patch index bdc1764578..9a3afad1f8 100644 --- a/package/network/services/hostapd/patches/320-optional_rfkill.patch +++ b/package/network/services/hostapd/patches/320-optional_rfkill.patch @@ -1,14 +1,14 @@ --- a/src/drivers/drivers.mak +++ b/src/drivers/drivers.mak -@@ -49,7 +49,6 @@ NEED_SME=y +@@ -50,7 +50,6 @@ NEED_SME=y NEED_AP_MLME=y NEED_NETLINK=y NEED_LINUX_IOCTL=y -NEED_RFKILL=y NEED_RADIOTAP=y - - ifdef CONFIG_LIBNL32 -@@ -136,7 +135,6 @@ DRV_WPA_CFLAGS += -DCONFIG_DRIVER_WEXT + NEED_LIBNL=y + endif +@@ -107,7 +106,6 @@ DRV_WPA_CFLAGS += -DCONFIG_DRIVER_WEXT CONFIG_WIRELESS_EXTENSION=y NEED_NETLINK=y NEED_LINUX_IOCTL=y @@ -16,7 +16,7 @@ endif ifdef CONFIG_DRIVER_NDIS -@@ -162,7 +160,6 @@ endif +@@ -133,7 +131,6 @@ endif ifdef CONFIG_WIRELESS_EXTENSION DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION DRV_WPA_OBJS += ../src/drivers/driver_wext.o @@ -24,7 +24,7 @@ endif ifdef NEED_NETLINK -@@ -175,6 +172,7 @@ endif +@@ -146,6 +143,7 @@ endif ifdef NEED_RFKILL DRV_OBJS += ../src/drivers/rfkill.o diff --git a/package/network/services/hostapd/patches/330-nl80211_fix_set_freq.patch b/package/network/services/hostapd/patches/330-nl80211_fix_set_freq.patch index e175bbc103..13343e22e6 100644 --- a/package/network/services/hostapd/patches/330-nl80211_fix_set_freq.patch +++ b/package/network/services/hostapd/patches/330-nl80211_fix_set_freq.patch @@ -1,7 +1,7 @@ --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -4318,7 +4318,7 @@ static int nl80211_set_channel(struct i8 - freq->freq, freq->ht_enabled, freq->vht_enabled, +@@ -4431,7 +4431,7 @@ static int nl80211_set_channel(struct i8 + freq->freq, freq->ht_enabled, freq->vht_enabled, freq->he_enabled, freq->bandwidth, freq->center_freq1, freq->center_freq2); - msg = nl80211_drv_msg(drv, 0, set_chan ? NL80211_CMD_SET_CHANNEL : diff --git a/package/network/services/hostapd/patches/340-reload_freq_change.patch b/package/network/services/hostapd/patches/340-reload_freq_change.patch index 81c20970e7..369586769c 100644 --- a/package/network/services/hostapd/patches/340-reload_freq_change.patch +++ b/package/network/services/hostapd/patches/340-reload_freq_change.patch @@ -1,6 +1,6 @@ --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c -@@ -103,6 +103,25 @@ static void hostapd_reload_bss(struct ho +@@ -108,6 +108,26 @@ static void hostapd_reload_bss(struct ho #endif /* CONFIG_NO_RADIUS */ ssid = &hapd->conf->ssid; @@ -9,10 +9,11 @@ + hapd->iconf->channel, + hapd->iconf->ieee80211n, + hapd->iconf->ieee80211ac, ++ hapd->iconf->ieee80211ax, + hapd->iconf->secondary_channel, -+ hapd->iconf->vht_oper_chwidth, -+ hapd->iconf->vht_oper_centr_freq_seg0_idx, -+ hapd->iconf->vht_oper_centr_freq_seg1_idx); ++ hostapd_get_oper_chwidth(hapd->iconf), ++ hostapd_get_oper_centr_freq_seg0_idx(hapd->iconf), ++ hostapd_get_oper_centr_freq_seg1_idx(hapd->iconf)); + + if (hapd->iface->current_mode) { + if (hostapd_prepare_rates(hapd->iface, hapd->iface->current_mode)) { @@ -26,7 +27,7 @@ if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && ssid->wpa_passphrase_set && ssid->wpa_passphrase) { /* -@@ -200,6 +219,7 @@ int hostapd_reload_config(struct hostapd +@@ -205,6 +225,7 @@ int hostapd_reload_config(struct hostapd struct hostapd_data *hapd = iface->bss[0]; struct hostapd_config *newconf, *oldconf; size_t j; @@ -34,7 +35,7 @@ if (iface->config_fname == NULL) { /* Only in-memory config in use - assume it has been updated */ -@@ -250,21 +270,20 @@ int hostapd_reload_config(struct hostapd +@@ -255,24 +276,20 @@ int hostapd_reload_config(struct hostapd } iface->conf = newconf; @@ -59,11 +60,14 @@ - hapd->iconf->ieee80211ac = oldconf->ieee80211ac; - hapd->iconf->ht_capab = oldconf->ht_capab; - hapd->iconf->vht_capab = oldconf->vht_capab; -- hapd->iconf->vht_oper_chwidth = oldconf->vht_oper_chwidth; -- hapd->iconf->vht_oper_centr_freq_seg0_idx = -- oldconf->vht_oper_centr_freq_seg0_idx; -- hapd->iconf->vht_oper_centr_freq_seg1_idx = -- oldconf->vht_oper_centr_freq_seg1_idx; +- hostapd_set_oper_chwidth(hapd->iconf, +- hostapd_get_oper_chwidth(oldconf)); +- hostapd_set_oper_centr_freq_seg0_idx( +- hapd->iconf, +- hostapd_get_oper_centr_freq_seg0_idx(oldconf)); +- hostapd_set_oper_centr_freq_seg1_idx( +- hapd->iconf, +- hostapd_get_oper_centr_freq_seg1_idx(oldconf)); hapd->conf = newconf->bss[j]; hostapd_reload_bss(hapd); } diff --git a/package/network/services/hostapd/patches/341-mesh-ctrl-iface-channel-switch.patch b/package/network/services/hostapd/patches/341-mesh-ctrl-iface-channel-switch.patch index b9a0b23a7b..70fb01b8e5 100644 --- a/package/network/services/hostapd/patches/341-mesh-ctrl-iface-channel-switch.patch +++ b/package/network/services/hostapd/patches/341-mesh-ctrl-iface-channel-switch.patch @@ -1,6 +1,6 @@ --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c -@@ -1363,15 +1363,35 @@ int ap_switch_channel(struct wpa_supplic +@@ -1378,15 +1378,35 @@ int ap_switch_channel(struct wpa_supplic #ifdef CONFIG_CTRL_IFACE diff --git a/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch b/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch index 836339f2e2..c3ce2b474d 100644 --- a/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch +++ b/package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch @@ -1,6 +1,6 @@ --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -2634,10 +2634,15 @@ static int wpa_driver_nl80211_del_beacon +@@ -2721,10 +2721,15 @@ static int wpa_driver_nl80211_del_beacon struct nl_msg *msg; struct wpa_driver_nl80211_data *drv = bss->drv; @@ -18,7 +18,7 @@ return send_and_recv_msgs(drv, msg, NULL, NULL); } -@@ -4919,7 +4924,7 @@ static void nl80211_teardown_ap(struct i +@@ -5042,7 +5047,7 @@ static void nl80211_teardown_ap(struct i nl80211_mgmt_unsubscribe(bss, "AP teardown"); nl80211_put_wiphy_data_ap(bss); @@ -27,7 +27,7 @@ } -@@ -7160,8 +7165,6 @@ static int wpa_driver_nl80211_if_remove( +@@ -7353,8 +7358,6 @@ static int wpa_driver_nl80211_if_remove( } else { wpa_printf(MSG_DEBUG, "nl80211: First BSS - reassign context"); nl80211_teardown_ap(bss); @@ -36,7 +36,7 @@ nl80211_destroy_bss(bss); if (!bss->added_if) i802_set_iface_flags(bss, 0); -@@ -7540,7 +7543,6 @@ static int wpa_driver_nl80211_deinit_ap( +@@ -7744,7 +7747,6 @@ static int wpa_driver_nl80211_deinit_ap( if (!is_ap_interface(drv->nlmode)) return -1; wpa_driver_nl80211_del_beacon(bss); @@ -44,7 +44,7 @@ /* * If the P2P GO interface was dynamically added, then it is -@@ -7560,7 +7562,6 @@ static int wpa_driver_nl80211_stop_ap(vo +@@ -7764,7 +7766,6 @@ static int wpa_driver_nl80211_stop_ap(vo if (!is_ap_interface(drv->nlmode)) return -1; wpa_driver_nl80211_del_beacon(bss); diff --git a/package/network/services/hostapd/patches/360-ctrl_iface_reload.patch b/package/network/services/hostapd/patches/360-ctrl_iface_reload.patch index 537c0881c4..1706abb0ad 100644 --- a/package/network/services/hostapd/patches/360-ctrl_iface_reload.patch +++ b/package/network/services/hostapd/patches/360-ctrl_iface_reload.patch @@ -78,7 +78,7 @@ #ifdef CONFIG_IEEE80211W #ifdef NEED_AP_MLME -@@ -3084,6 +3141,8 @@ static int hostapd_ctrl_iface_receive_pr +@@ -3195,6 +3252,8 @@ static int hostapd_ctrl_iface_receive_pr } else if (os_strncmp(buf, "VENDOR ", 7) == 0) { reply_len = hostapd_ctrl_iface_vendor(hapd, buf + 7, reply, reply_size); @@ -89,7 +89,7 @@ #ifdef RADIUS_SERVER --- a/src/ap/ctrl_iface_ap.c +++ b/src/ap/ctrl_iface_ap.c -@@ -864,7 +864,13 @@ int hostapd_parse_csa_settings(const cha +@@ -874,7 +874,13 @@ int hostapd_parse_csa_settings(const cha int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd) { diff --git a/package/network/services/hostapd/patches/370-ap_sta_support.patch b/package/network/services/hostapd/patches/370-ap_sta_support.patch index d93984a172..f8d4206529 100644 --- a/package/network/services/hostapd/patches/370-ap_sta_support.patch +++ b/package/network/services/hostapd/patches/370-ap_sta_support.patch @@ -11,7 +11,7 @@ -include .config -include $(if $(MULTICALL),../hostapd/.config) -@@ -117,6 +121,8 @@ OBJS_c += ../src/utils/common.o +@@ -116,6 +120,8 @@ OBJS_c += ../src/utils/common.o OBJS_c += ../src/common/cli.o OBJS += wmm_ac.o @@ -110,7 +110,7 @@ break; --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -125,6 +125,55 @@ static void wpas_update_fils_connect_par +@@ -127,6 +127,55 @@ static void wpas_update_fils_connect_par #endif /* CONFIG_FILS && IEEE8021X_EAPOL */ @@ -166,7 +166,7 @@ /* Configure default/group WEP keys for static WEP */ int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) { -@@ -920,12 +969,16 @@ void wpa_supplicant_set_state(struct wpa +@@ -940,12 +989,16 @@ void wpa_supplicant_set_state(struct wpa sme_sched_obss_scan(wpa_s, 1); @@ -183,7 +183,7 @@ wpa_s->new_connection = 1; wpa_drv_set_operstate(wpa_s, 0); #ifndef IEEE8021X_EAPOL -@@ -1977,6 +2030,8 @@ void wpa_supplicant_associate(struct wpa +@@ -2038,6 +2091,8 @@ void wpa_supplicant_associate(struct wpa wpa_ssid_txt(ssid->ssid, ssid->ssid_len), ssid->id); wpas_notify_mesh_group_started(wpa_s, ssid); @@ -192,7 +192,7 @@ #else /* CONFIG_MESH */ wpa_msg(wpa_s, MSG_ERROR, "mesh mode support not included in the build"); -@@ -5487,6 +5542,16 @@ static int wpa_supplicant_init_iface(str +@@ -5716,6 +5771,16 @@ static int wpa_supplicant_init_iface(str sizeof(wpa_s->bridge_ifname)); } @@ -209,7 +209,7 @@ /* RSNA Supplicant Key Management - INITIALIZE */ eapol_sm_notify_portEnabled(wpa_s->eapol, FALSE); eapol_sm_notify_portValid(wpa_s->eapol, FALSE); -@@ -5808,6 +5873,11 @@ static void wpa_supplicant_deinit_iface( +@@ -6043,6 +6108,11 @@ static void wpa_supplicant_deinit_iface( if (terminate) wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_TERMINATING); @@ -235,7 +235,7 @@ * bridge_ifname - Optional bridge interface name * * If the driver interface (ifname) is included in a Linux bridge -@@ -513,6 +518,8 @@ struct wpa_supplicant { +@@ -516,6 +521,8 @@ struct wpa_supplicant { #endif /* CONFIG_CTRL_IFACE_BINDER */ char bridge_ifname[16]; @@ -246,7 +246,7 @@ --- a/hostapd/ctrl_iface.c +++ b/hostapd/ctrl_iface.c -@@ -2328,6 +2328,11 @@ static int hostapd_ctrl_iface_chan_switc +@@ -2408,6 +2408,11 @@ static int hostapd_ctrl_iface_chan_switc if (ret) return ret; @@ -260,7 +260,7 @@ /* Save CHAN_SWITCH VHT config */ --- a/src/ap/beacon.c +++ b/src/ap/beacon.c -@@ -1381,11 +1381,6 @@ int ieee802_11_set_beacon(struct hostapd +@@ -1403,11 +1403,6 @@ int ieee802_11_set_beacon(struct hostapd struct wpabuf *beacon, *proberesp, *assocresp; int res, ret = -1; @@ -272,156 +272,3 @@ hapd->beacon_set_done = 1; if (ieee802_11_build_ap_params(hapd, ¶ms) < 0) ---- a/src/drivers/driver.h -+++ b/src/drivers/driver.h -@@ -4469,6 +4469,13 @@ enum wpa_event_type { - EVENT_CH_SWITCH, - - /** -+ * EVENT_CH_SWITCH - AP or GO will switch channels soon -+ * -+ * Described in wpa_event_data.ch_switch -+ * */ -+ EVENT_CH_SWITCH_STARTED, -+ -+ /** - * EVENT_WNM - Request WNM operation - * - * This event can be used to request a WNM operation to be performed. -@@ -5306,6 +5313,7 @@ union wpa_event_data { - - /** - * struct ch_switch -+ * @count: countdown until channel switch - * @freq: Frequency of new channel in MHz - * @ht_enabled: Whether this is an HT channel - * @ch_offset: Secondary channel offset -@@ -5314,6 +5322,7 @@ union wpa_event_data { - * @cf2: Center frequency 2 - */ - struct ch_switch { -+ int count; - int freq; - int ht_enabled; - int ch_offset; ---- a/src/drivers/driver_nl80211_event.c -+++ b/src/drivers/driver_nl80211_event.c -@@ -526,7 +526,8 @@ static int calculate_chan_offset(int wid - static void mlme_event_ch_switch(struct wpa_driver_nl80211_data *drv, - struct nlattr *ifindex, struct nlattr *freq, - struct nlattr *type, struct nlattr *bw, -- struct nlattr *cf1, struct nlattr *cf2) -+ struct nlattr *cf1, struct nlattr *cf2, -+ struct nlattr *count) - { - struct i802_bss *bss; - union wpa_event_data data; -@@ -584,11 +585,15 @@ static void mlme_event_ch_switch(struct - data.ch_switch.cf1 = nla_get_u32(cf1); - if (cf2) - data.ch_switch.cf2 = nla_get_u32(cf2); -+ if (count) -+ data.ch_switch.count = nla_get_u32(count); - - bss->freq = data.ch_switch.freq; - drv->assoc_freq = data.ch_switch.freq; - -- wpa_supplicant_event(bss->ctx, EVENT_CH_SWITCH, &data); -+ wpa_supplicant_event(bss->ctx, -+ count ? EVENT_CH_SWITCH_STARTED : EVENT_CH_SWITCH, -+ &data); - } - - -@@ -2446,6 +2451,7 @@ static void do_process_drv_event(struct - tb[NL80211_ATTR_PMK], - tb[NL80211_ATTR_PMKID]); - break; -+ case NL80211_CMD_CH_SWITCH_STARTED_NOTIFY: - case NL80211_CMD_CH_SWITCH_NOTIFY: - mlme_event_ch_switch(drv, - tb[NL80211_ATTR_IFINDEX], -@@ -2453,7 +2459,8 @@ static void do_process_drv_event(struct - tb[NL80211_ATTR_WIPHY_CHANNEL_TYPE], - tb[NL80211_ATTR_CHANNEL_WIDTH], - tb[NL80211_ATTR_CENTER_FREQ1], -- tb[NL80211_ATTR_CENTER_FREQ2]); -+ tb[NL80211_ATTR_CENTER_FREQ2], -+ tb[NL80211_ATTR_CH_SWITCH_COUNT]); - break; - case NL80211_CMD_DISCONNECT: - mlme_event_disconnect(drv, tb[NL80211_ATTR_REASON_CODE], ---- a/wpa_supplicant/events.c -+++ b/wpa_supplicant/events.c -@@ -4026,6 +4026,60 @@ static void wpas_event_assoc_reject(stru - } - - -+static void -+supplicant_ch_switch_started(struct wpa_supplicant *wpa_s, -+ union wpa_event_data *data) -+{ -+ char buf[256]; -+ size_t len = sizeof(buf); -+ char *cmd = NULL; -+ int width = 20; -+ int ret; -+ -+ if (!wpa_s->hostapd) -+ return; -+ -+ wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_CHANNEL_SWITCH -+ "count=%d freq=%d ht_enabled=%d ch_offset=%d ch_width=%s cf1=%d cf2=%d", -+ data->ch_switch.count, -+ data->ch_switch.freq, -+ data->ch_switch.ht_enabled, -+ data->ch_switch.ch_offset, -+ channel_width_to_string(data->ch_switch.ch_width), -+ data->ch_switch.cf1, -+ data->ch_switch.cf2); -+ -+ switch (data->ch_switch.ch_width) { -+ case CHAN_WIDTH_20_NOHT: -+ case CHAN_WIDTH_20: -+ width = 20; -+ break; -+ case CHAN_WIDTH_40: -+ width = 40; -+ break; -+ case CHAN_WIDTH_80: -+ width = 80; -+ break; -+ case CHAN_WIDTH_160: -+ case CHAN_WIDTH_80P80: -+ width = 160; -+ break; -+ } -+ -+ asprintf(&cmd, "CHAN_SWITCH %d %d sec_channel_offset=%d center_freq1=%d center_freq2=%d, bandwidth=%d auto-ht\n", -+ data->ch_switch.count - 1, -+ data->ch_switch.freq, -+ data->ch_switch.ch_offset, -+ data->ch_switch.cf1, -+ data->ch_switch.cf2, -+ width); -+ ret = wpa_ctrl_request(wpa_s->hostapd, cmd, os_strlen(cmd), buf, &len, NULL); -+ free(cmd); -+ -+ if (ret < 0) -+ wpa_printf(MSG_ERROR, "\nFailed to reload hostapd AP interfaces\n"); -+} -+ - void supplicant_event(void *ctx, enum wpa_event_type event, - union wpa_event_data *data) - { -@@ -4309,6 +4363,10 @@ void supplicant_event(void *ctx, enum wp - data->rx_from_unknown.wds); - break; - #endif /* CONFIG_AP */ -+ case EVENT_CH_SWITCH_STARTED: -+ supplicant_ch_switch_started(wpa_s, data); -+ break; -+ - case EVENT_CH_SWITCH: - if (!data || !wpa_s->current_ssid) - break; diff --git a/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch b/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch index 2fe03340a8..7f16d3a12a 100644 --- a/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch +++ b/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch @@ -12,7 +12,7 @@ else --- a/hostapd/ctrl_iface.c +++ b/hostapd/ctrl_iface.c -@@ -2912,6 +2912,7 @@ static int hostapd_ctrl_iface_receive_pr +@@ -3020,6 +3020,7 @@ static int hostapd_ctrl_iface_receive_pr reply_size); } else if (os_strcmp(buf, "STATUS-DRIVER") == 0) { reply_len = hostapd_drv_status(hapd, reply, reply_size); @@ -20,7 +20,7 @@ } else if (os_strcmp(buf, "MIB") == 0) { reply_len = ieee802_11_get_mib(hapd, reply, reply_size); if (reply_len >= 0) { -@@ -2953,6 +2954,7 @@ static int hostapd_ctrl_iface_receive_pr +@@ -3061,6 +3062,7 @@ static int hostapd_ctrl_iface_receive_pr } else if (os_strncmp(buf, "STA-NEXT ", 9) == 0) { reply_len = hostapd_ctrl_iface_sta_next(hapd, buf + 9, reply, reply_size); @@ -30,7 +30,7 @@ reply_len = -1; --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile -@@ -927,6 +927,9 @@ ifdef CONFIG_FILS +@@ -957,6 +957,9 @@ ifdef CONFIG_FILS OBJS += ../src/ap/fils_hlp.o endif ifdef CONFIG_CTRL_IFACE @@ -42,7 +42,7 @@ --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c -@@ -2117,7 +2117,7 @@ static int wpa_supplicant_ctrl_iface_sta +@@ -2144,7 +2144,7 @@ static int wpa_supplicant_ctrl_iface_sta pos += ret; } @@ -51,7 +51,7 @@ if (wpa_s->ap_iface) { pos += ap_ctrl_iface_wpa_get_status(wpa_s, pos, end - pos, -@@ -9852,6 +9852,7 @@ char * wpa_supplicant_ctrl_iface_process +@@ -9962,6 +9962,7 @@ char * wpa_supplicant_ctrl_iface_process reply_len = -1; } else if (os_strncmp(buf, "NOTE ", 5) == 0) { wpa_printf(MSG_INFO, "NOTE: %s", buf + 5); @@ -59,15 +59,15 @@ } else if (os_strcmp(buf, "MIB") == 0) { reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); if (reply_len >= 0) { -@@ -9859,6 +9860,7 @@ char * wpa_supplicant_ctrl_iface_process - reply + reply_len, - reply_size - reply_len); +@@ -9974,6 +9975,7 @@ char * wpa_supplicant_ctrl_iface_process + reply_size - reply_len); + #endif /* CONFIG_MACSEC */ } +#endif } else if (os_strncmp(buf, "STATUS", 6) == 0) { reply_len = wpa_supplicant_ctrl_iface_status( wpa_s, buf + 6, reply, reply_size); -@@ -10340,6 +10342,7 @@ char * wpa_supplicant_ctrl_iface_process +@@ -10458,6 +10460,7 @@ char * wpa_supplicant_ctrl_iface_process reply_len = wpa_supplicant_ctrl_iface_bss( wpa_s, buf + 4, reply, reply_size); #ifdef CONFIG_AP @@ -75,7 +75,7 @@ } else if (os_strcmp(buf, "STA-FIRST") == 0) { reply_len = ap_ctrl_iface_sta_first(wpa_s, reply, reply_size); } else if (os_strncmp(buf, "STA ", 4) == 0) { -@@ -10348,12 +10351,15 @@ char * wpa_supplicant_ctrl_iface_process +@@ -10466,12 +10469,15 @@ char * wpa_supplicant_ctrl_iface_process } else if (os_strncmp(buf, "STA-NEXT ", 9) == 0) { reply_len = ap_ctrl_iface_sta_next(wpa_s, buf + 9, reply, reply_size); @@ -101,7 +101,7 @@ static size_t hostapd_write_ht_mcs_bitmask(char *buf, size_t buflen, size_t curr_len, const u8 *mcs_set) -@@ -415,6 +416,7 @@ int hostapd_ctrl_iface_sta_next(struct h +@@ -423,6 +424,7 @@ int hostapd_ctrl_iface_sta_next(struct h return hostapd_ctrl_iface_sta_mib(hapd, sta->next, buf, buflen); } @@ -109,7 +109,7 @@ #ifdef CONFIG_P2P_MANAGER static int p2p_manager_disconnect(struct hostapd_data *hapd, u16 stype, -@@ -753,12 +755,12 @@ int hostapd_ctrl_iface_status(struct hos +@@ -763,12 +765,12 @@ int hostapd_ctrl_iface_status(struct hos return len; len += ret; } @@ -126,7 +126,7 @@ if (os_snprintf_error(buflen - len, ret)) --- a/src/ap/ieee802_1x.c +++ b/src/ap/ieee802_1x.c -@@ -2581,6 +2581,7 @@ static const char * bool_txt(Boolean val +@@ -2706,6 +2706,7 @@ static const char * bool_txt(Boolean val return val ? "TRUE" : "FALSE"; } @@ -134,7 +134,7 @@ int ieee802_1x_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) { -@@ -2756,6 +2757,7 @@ int ieee802_1x_get_mib_sta(struct hostap +@@ -2892,6 +2893,7 @@ int ieee802_1x_get_mib_sta(struct hostap return len; } @@ -144,7 +144,7 @@ static void ieee802_1x_wnm_notif_send(void *eloop_ctx, void *timeout_ctx) --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c -@@ -3798,6 +3798,7 @@ static const char * wpa_bool_txt(int val +@@ -4116,6 +4116,7 @@ static const char * wpa_bool_txt(int val return val ? "TRUE" : "FALSE"; } @@ -152,7 +152,7 @@ #define RSN_SUITE "%02x-%02x-%02x-%d" #define RSN_SUITE_ARG(s) \ -@@ -3942,7 +3943,7 @@ int wpa_get_mib_sta(struct wpa_state_mac +@@ -4264,7 +4265,7 @@ int wpa_get_mib_sta(struct wpa_state_mac return len; } @@ -163,7 +163,7 @@ { --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c -@@ -2319,6 +2319,8 @@ static u32 wpa_key_mgmt_suite(struct wpa +@@ -2502,6 +2502,8 @@ static u32 wpa_key_mgmt_suite(struct wpa } @@ -172,7 +172,7 @@ #define RSN_SUITE "%02x-%02x-%02x-%d" #define RSN_SUITE_ARG(s) \ ((s) >> 24) & 0xff, ((s) >> 16) & 0xff, ((s) >> 8) & 0xff, (s) & 0xff -@@ -2402,6 +2404,7 @@ int wpa_sm_get_mib(struct wpa_sm *sm, ch +@@ -2585,6 +2587,7 @@ int wpa_sm_get_mib(struct wpa_sm *sm, ch return (int) len; } @@ -182,7 +182,7 @@ --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c -@@ -1221,7 +1221,7 @@ int wpas_ap_wps_nfc_report_handover(stru +@@ -1236,7 +1236,7 @@ int wpas_ap_wps_nfc_report_handover(stru #endif /* CONFIG_WPS */ diff --git a/package/network/services/hostapd/patches/390-wpa_ie_cap_workaround.patch b/package/network/services/hostapd/patches/390-wpa_ie_cap_workaround.patch index 855fc808e9..c879c3fb84 100644 --- a/package/network/services/hostapd/patches/390-wpa_ie_cap_workaround.patch +++ b/package/network/services/hostapd/patches/390-wpa_ie_cap_workaround.patch @@ -1,6 +1,6 @@ --- a/src/common/wpa_common.c +++ b/src/common/wpa_common.c -@@ -2042,6 +2042,31 @@ u32 wpa_akm_to_suite(int akm) +@@ -2089,6 +2089,31 @@ u32 wpa_akm_to_suite(int akm) } @@ -32,7 +32,7 @@ int wpa_compare_rsn_ie(int ft_initial_assoc, const u8 *ie1, size_t ie1len, const u8 *ie2, size_t ie2len) -@@ -2049,8 +2074,19 @@ int wpa_compare_rsn_ie(int ft_initial_as +@@ -2096,8 +2121,19 @@ int wpa_compare_rsn_ie(int ft_initial_as if (ie1 == NULL || ie2 == NULL) return -1; diff --git a/package/network/services/hostapd/patches/400-wps_single_auth_enc_type.patch b/package/network/services/hostapd/patches/400-wps_single_auth_enc_type.patch index ea144f4def..7f1986ec46 100644 --- a/package/network/services/hostapd/patches/400-wps_single_auth_enc_type.patch +++ b/package/network/services/hostapd/patches/400-wps_single_auth_enc_type.patch @@ -10,7 +10,7 @@ bss->wpa_pairwise |= WPA_CIPHER_TKIP; bss->rsn_pairwise = bss->wpa_pairwise; bss->wpa_group = wpa_select_ap_group_cipher(bss->wpa, -@@ -1069,8 +1068,7 @@ int hostapd_init_wps(struct hostapd_data +@@ -1108,8 +1107,7 @@ int hostapd_init_wps(struct hostapd_data WPA_CIPHER_GCMP_256)) { wps->encr_types |= WPS_ENCR_AES; wps->encr_types_rsn |= WPS_ENCR_AES; diff --git a/package/network/services/hostapd/patches/410-limit_debug_messages.patch b/package/network/services/hostapd/patches/410-limit_debug_messages.patch index d182e8d986..3947eb8611 100644 --- a/package/network/services/hostapd/patches/410-limit_debug_messages.patch +++ b/package/network/services/hostapd/patches/410-limit_debug_messages.patch @@ -1,6 +1,6 @@ --- a/src/utils/wpa_debug.c +++ b/src/utils/wpa_debug.c -@@ -205,7 +205,7 @@ void wpa_debug_close_linux_tracing(void) +@@ -206,7 +206,7 @@ void wpa_debug_close_linux_tracing(void) * * Note: New line '\n' is added to the end of the text when printing to stdout. */ @@ -9,7 +9,7 @@ { va_list ap; -@@ -252,8 +252,8 @@ void wpa_printf(int level, const char *f +@@ -253,8 +253,8 @@ void wpa_printf(int level, const char *f } @@ -20,7 +20,7 @@ { size_t i; -@@ -379,20 +379,8 @@ static void _wpa_hexdump(int level, cons +@@ -380,20 +380,8 @@ static void _wpa_hexdump(int level, cons #endif /* CONFIG_ANDROID_LOG */ } @@ -43,7 +43,7 @@ { size_t i, llen; const u8 *pos = buf; -@@ -499,20 +487,6 @@ static void _wpa_hexdump_ascii(int level +@@ -506,20 +494,6 @@ static void _wpa_hexdump_ascii(int level } @@ -64,7 +64,7 @@ #ifdef CONFIG_DEBUG_FILE static char *last_path = NULL; #endif /* CONFIG_DEBUG_FILE */ -@@ -628,7 +602,7 @@ void wpa_msg_register_ifname_cb(wpa_msg_ +@@ -635,7 +609,7 @@ void wpa_msg_register_ifname_cb(wpa_msg_ } @@ -73,7 +73,7 @@ { va_list ap; char *buf; -@@ -666,7 +640,7 @@ void wpa_msg(void *ctx, int level, const +@@ -673,7 +647,7 @@ void wpa_msg(void *ctx, int level, const } @@ -124,7 +124,7 @@ * configuration. The contents of buf is printed out has hex dump. */ -void wpa_hexdump(int level, const char *title, const void *buf, size_t len); -+static inline void wpa_hexdump(int level, const char *title, const u8 *buf, size_t len) ++static inline void wpa_hexdump(int level, const char *title, const void *buf, size_t len) +{ + if (level < CONFIG_MSG_MIN_PRIORITY) + return; diff --git a/package/network/services/hostapd/patches/420-indicate-features.patch b/package/network/services/hostapd/patches/420-indicate-features.patch index d582c8574c..1f8b049f36 100644 --- a/package/network/services/hostapd/patches/420-indicate-features.patch +++ b/package/network/services/hostapd/patches/420-indicate-features.patch @@ -8,7 +8,7 @@ #include "crypto/random.h" #include "crypto/tls.h" #include "common/version.h" -@@ -682,7 +683,7 @@ int main(int argc, char *argv[]) +@@ -690,7 +691,7 @@ int main(int argc, char *argv[]) wpa_supplicant_event = hostapd_wpa_event; wpa_supplicant_event_global = hostapd_wpa_event_global; for (;;) { @@ -17,7 +17,7 @@ if (c < 0) break; switch (c) { -@@ -719,6 +720,8 @@ int main(int argc, char *argv[]) +@@ -727,6 +728,8 @@ int main(int argc, char *argv[]) break; #endif /* CONFIG_DEBUG_LINUX_TRACING */ case 'v': @@ -47,7 +47,7 @@ switch (c) { @@ -305,8 +306,12 @@ int main(int argc, char *argv[]) break; - #endif /* CONFIG_DBUS */ + #endif /* CONFIG_CTRL_IFACE_DBUS_NEW */ case 'v': - printf("%s\n", wpa_supplicant_version); - exitcode = 0; diff --git a/package/network/services/hostapd/patches/430-hostapd_cli_ifdef.patch b/package/network/services/hostapd/patches/430-hostapd_cli_ifdef.patch index 29dc0832ee..ca053bcdf6 100644 --- a/package/network/services/hostapd/patches/430-hostapd_cli_ifdef.patch +++ b/package/network/services/hostapd/patches/430-hostapd_cli_ifdef.patch @@ -32,7 +32,7 @@ static int hostapd_cli_cmd_disassoc_imminent(struct wpa_ctrl *ctrl, int argc, -@@ -1510,15 +1506,12 @@ static const struct hostapd_cli_cmd host +@@ -1538,15 +1534,12 @@ static const struct hostapd_cli_cmd host { "disassociate", hostapd_cli_cmd_disassociate, hostapd_complete_stations, " = disassociate a station" }, @@ -48,7 +48,7 @@ { "wps_pin", hostapd_cli_cmd_wps_pin, NULL, " [timeout] [addr] = add WPS Enrollee PIN" }, { "wps_check_pin", hostapd_cli_cmd_wps_check_pin, NULL, -@@ -1543,7 +1536,6 @@ static const struct hostapd_cli_cmd host +@@ -1571,7 +1564,6 @@ static const struct hostapd_cli_cmd host " = configure AP" }, { "wps_get_status", hostapd_cli_cmd_wps_get_status, NULL, "= show current WPS status" }, diff --git a/package/network/services/hostapd/patches/450-scan_wait.patch b/package/network/services/hostapd/patches/450-scan_wait.patch index 9620ecc520..5e080df82f 100644 --- a/package/network/services/hostapd/patches/450-scan_wait.patch +++ b/package/network/services/hostapd/patches/450-scan_wait.patch @@ -1,6 +1,6 @@ --- a/hostapd/main.c +++ b/hostapd/main.c -@@ -38,6 +38,8 @@ struct hapd_global { +@@ -39,6 +39,8 @@ struct hapd_global { }; static struct hapd_global global; @@ -9,7 +9,7 @@ #ifndef CONFIG_NO_HOSTAPD_LOGGER -@@ -148,6 +150,14 @@ static void hostapd_logger_cb(void *ctx, +@@ -149,6 +151,14 @@ static void hostapd_logger_cb(void *ctx, } #endif /* CONFIG_NO_HOSTAPD_LOGGER */ @@ -24,7 +24,7 @@ /** * hostapd_driver_init - Preparate driver interface -@@ -166,6 +176,8 @@ static int hostapd_driver_init(struct ho +@@ -167,6 +177,8 @@ static int hostapd_driver_init(struct ho return -1; } @@ -33,7 +33,7 @@ /* Initialize the driver interface */ if (!(b[0] | b[1] | b[2] | b[3] | b[4] | b[5])) b = NULL; -@@ -406,8 +418,6 @@ static void hostapd_global_deinit(const +@@ -407,8 +419,6 @@ static void hostapd_global_deinit(const #endif /* CONFIG_NATIVE_WINDOWS */ eap_server_unregister_methods(); @@ -42,7 +42,7 @@ } -@@ -433,18 +443,6 @@ static int hostapd_global_run(struct hap +@@ -434,18 +444,6 @@ static int hostapd_global_run(struct hap } #endif /* EAP_SERVER_TNC */ @@ -61,7 +61,7 @@ eloop_run(); return 0; -@@ -646,8 +644,7 @@ int main(int argc, char *argv[]) +@@ -647,8 +645,7 @@ int main(int argc, char *argv[]) struct hapd_interfaces interfaces; int ret = 1; size_t i, j; diff --git a/package/network/services/hostapd/patches/460-wpa_supplicant-add-new-config-params-to-be-used-with.patch b/package/network/services/hostapd/patches/460-wpa_supplicant-add-new-config-params-to-be-used-with.patch index 1bb5d6e620..b740378090 100644 --- a/package/network/services/hostapd/patches/460-wpa_supplicant-add-new-config-params-to-be-used-with.patch +++ b/package/network/services/hostapd/patches/460-wpa_supplicant-add-new-config-params-to-be-used-with.patch @@ -22,7 +22,7 @@ Signed-hostap: Antonio Quartulli #include "common/defs.h" #include "common/ieee802_11_defs.h" #include "common/wpa_common.h" -@@ -774,6 +775,9 @@ struct wpa_driver_associate_params { +@@ -819,6 +820,9 @@ struct wpa_driver_associate_params { * responsible for selecting with which BSS to associate. */ const u8 *bssid; @@ -42,7 +42,7 @@ Signed-hostap: Antonio Quartulli #include "config.h" -@@ -2053,6 +2054,97 @@ static char * wpa_config_write_peerkey(c +@@ -2130,6 +2131,97 @@ static char * wpa_config_write_peerkey(c #endif /* NO_CONFIG_WRITE */ @@ -140,7 +140,7 @@ Signed-hostap: Antonio Quartulli /* Helper macros for network block parser */ #ifdef OFFSET -@@ -2298,6 +2390,8 @@ static const struct parse_data ssid_fiel +@@ -2382,6 +2474,8 @@ static const struct parse_data ssid_fiel { INT(ap_max_inactivity) }, { INT(dtim_period) }, { INT(beacon_int) }, @@ -162,7 +162,7 @@ Signed-hostap: Antonio Quartulli #define DEFAULT_EAP_WORKAROUND ((unsigned int) -1) -@@ -757,6 +759,9 @@ struct wpa_ssid { +@@ -790,6 +792,9 @@ struct wpa_ssid { */ void *parent_cred; @@ -174,7 +174,7 @@ Signed-hostap: Antonio Quartulli * macsec_policy - Determines the policy for MACsec secure session --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -3117,6 +3117,12 @@ static void wpas_start_assoc_cb(struct w +@@ -3266,6 +3266,12 @@ static void wpas_start_assoc_cb(struct w params.beacon_int = ssid->beacon_int; else params.beacon_int = wpa_s->conf->beacon_int; diff --git a/package/network/services/hostapd/patches/461-driver_nl80211-use-new-parameters-during-ibss-join.patch b/package/network/services/hostapd/patches/461-driver_nl80211-use-new-parameters-during-ibss-join.patch index 287cd1dd2e..54ac6a7e3c 100644 --- a/package/network/services/hostapd/patches/461-driver_nl80211-use-new-parameters-during-ibss-join.patch +++ b/package/network/services/hostapd/patches/461-driver_nl80211-use-new-parameters-during-ibss-join.patch @@ -10,7 +10,7 @@ Signed-hostap: Antonio Quartulli --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -5178,7 +5178,7 @@ static int wpa_driver_nl80211_ibss(struc +@@ -5323,7 +5323,7 @@ static int wpa_driver_nl80211_ibss(struc struct wpa_driver_associate_params *params) { struct nl_msg *msg; @@ -19,7 +19,7 @@ Signed-hostap: Antonio Quartulli int count = 0; wpa_printf(MSG_DEBUG, "nl80211: Join IBSS (ifindex=%d)", drv->ifindex); -@@ -5205,6 +5205,37 @@ retry: +@@ -5350,6 +5350,37 @@ retry: nl80211_put_beacon_int(msg, params->beacon_int)) goto fail; diff --git a/package/network/services/hostapd/patches/463-add-mcast_rate-to-11s.patch b/package/network/services/hostapd/patches/463-add-mcast_rate-to-11s.patch index 55a48b9733..b1c0a59188 100644 --- a/package/network/services/hostapd/patches/463-add-mcast_rate-to-11s.patch +++ b/package/network/services/hostapd/patches/463-add-mcast_rate-to-11s.patch @@ -19,7 +19,7 @@ Tested-by: Simon Wunderlich --- a/src/drivers/driver.h +++ b/src/drivers/driver.h -@@ -1409,6 +1409,7 @@ struct wpa_driver_mesh_join_params { +@@ -1484,6 +1484,7 @@ struct wpa_driver_mesh_join_params { #define WPA_DRIVER_MESH_FLAG_AMPE 0x00000008 unsigned int flags; u8 handle_dfs; @@ -29,7 +29,7 @@ Tested-by: Simon Wunderlich /** --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -9352,6 +9352,18 @@ static int nl80211_put_mesh_id(struct nl +@@ -9612,6 +9612,18 @@ static int nl80211_put_mesh_id(struct nl } @@ -48,7 +48,7 @@ Tested-by: Simon Wunderlich static int nl80211_put_mesh_config(struct nl_msg *msg, struct wpa_driver_mesh_bss_params *params) { -@@ -9413,6 +9425,7 @@ static int nl80211_join_mesh(struct i802 +@@ -9673,6 +9685,7 @@ static int nl80211_join_mesh(struct i802 nl80211_put_basic_rates(msg, params->basic_rates) || nl80211_put_mesh_id(msg, params->meshid, params->meshid_len) || nl80211_put_beacon_int(msg, params->beacon_int) || @@ -58,7 +58,7 @@ Tested-by: Simon Wunderlich --- a/wpa_supplicant/mesh.c +++ b/wpa_supplicant/mesh.c -@@ -482,6 +482,7 @@ int wpa_supplicant_join_mesh(struct wpa_ +@@ -494,6 +494,7 @@ int wpa_supplicant_join_mesh(struct wpa_ params->meshid = ssid->ssid; params->meshid_len = ssid->ssid_len; diff --git a/package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch b/package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch index 3d4946e0b0..4b63b6fd78 100644 --- a/package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch +++ b/package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch @@ -1,6 +1,6 @@ --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -2154,11 +2154,13 @@ void ibss_mesh_setup_freq(struct wpa_sup +@@ -2216,11 +2216,13 @@ void ibss_mesh_setup_freq(struct wpa_sup for (j = 0; j < wpa_s->last_scan_res_used; j++) { struct wpa_bss *bss = wpa_s->last_scan_res[j]; diff --git a/package/network/services/hostapd/patches/470-survey_data_fallback.patch b/package/network/services/hostapd/patches/470-survey_data_fallback.patch index 1c094bed23..a0e5384e3c 100644 --- a/package/network/services/hostapd/patches/470-survey_data_fallback.patch +++ b/package/network/services/hostapd/patches/470-survey_data_fallback.patch @@ -1,6 +1,6 @@ --- a/src/ap/acs.c +++ b/src/ap/acs.c -@@ -292,18 +292,12 @@ static void acs_fail(struct hostapd_ifac +@@ -293,18 +293,12 @@ static void acs_fail(struct hostapd_ifac static long double acs_survey_interference_factor(struct freq_survey *survey, s8 min_nf) { @@ -20,7 +20,7 @@ total = survey->channel_time; -@@ -392,20 +386,19 @@ static int acs_usable_vht80_chan(struct +@@ -406,20 +400,19 @@ static int acs_usable_vht160_chan(const static int acs_survey_is_sufficient(struct freq_survey *survey) { if (!(survey->filled & SURVEY_HAS_NF)) { diff --git a/package/network/services/hostapd/patches/500-lto-jobserver-support.patch b/package/network/services/hostapd/patches/500-lto-jobserver-support.patch index a65ad9c7f6..1edfb8e804 100644 --- a/package/network/services/hostapd/patches/500-lto-jobserver-support.patch +++ b/package/network/services/hostapd/patches/500-lto-jobserver-support.patch @@ -1,6 +1,6 @@ --- a/hostapd/Makefile +++ b/hostapd/Makefile -@@ -1290,14 +1290,14 @@ hostapd_multi.a: $(BCHECK) $(OBJS) +@@ -1332,14 +1332,14 @@ hostapd_multi.a: $(BCHECK) $(OBJS) @$(AR) cr $@ hostapd_multi.o $(OBJS) hostapd: $(BCHECK) $(OBJS) @@ -19,7 +19,7 @@ NOBJS = nt_password_hash.o ../src/crypto/ms_funcs.o $(SHA1OBJS) --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile -@@ -1921,23 +1921,23 @@ wpa_supplicant_multi.a: .config $(BCHECK +@@ -1932,23 +1932,23 @@ wpa_supplicant_multi.a: .config $(BCHECK @$(AR) cr $@ wpa_supplicant_multi.o $(OBJS) wpa_supplicant: $(BCHECK) $(OBJS) $(EXTRA_progs) diff --git a/package/network/services/hostapd/patches/550-hostapd-Add-Multi-AP-protocol-support.patch b/package/network/services/hostapd/patches/550-hostapd-Add-Multi-AP-protocol-support.patch deleted file mode 100644 index 812f794eda..0000000000 --- a/package/network/services/hostapd/patches/550-hostapd-Add-Multi-AP-protocol-support.patch +++ /dev/null @@ -1,306 +0,0 @@ -From 9c06f0f6aed26c1628acaa74df0232dd7b345e9a Mon Sep 17 00:00:00 2001 -From: Venkateswara Naralasetty -Date: Wed, 5 Dec 2018 11:23:51 +0100 -Subject: [PATCH] hostapd: Add Multi-AP protocol support - -The purpose of Multi-AP specification is to enable inter-operability -across Wi-Fi access points (APs) from different vendors. - -This patch introduces one new configuration parameter 'multi_ap' to -enable Multi-AP functionality and to configure the BSS as a backhaul -and/or fronthaul BSS. - -Advertise vendor specific Multi-AP capabilities in (Re)Association -Response frame, if Multi-AP functionality is enabled through the -configuration parameter. - -A backhaul AP must support receiving both 3addr and 4addr frames from a -backhaul STA, so create a VLAN for it just like is done for WDS, i.e., -by calling hostapd_set_wds_sta(). Since Multi-AP requires WPA2 (never -WEP), we can safely call hostapd_set_wds_encryption() as well and we can -reuse the entire WDS condition. - -To parse the Multi-AP Extension subelement, we use get_ie(): even though -that function is meant for parsing IEs, it works for subelements. - -Signed-off-by: Venkateswara Naralasetty -Signed-off-by: Jouni Malinen -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - hostapd/config_file.c | 10 +++++ - hostapd/hostapd.conf | 7 ++++ - src/ap/ap_config.h | 4 ++ - src/ap/ieee802_11.c | 77 +++++++++++++++++++++++++++++++++- - src/ap/sta_info.c | 2 +- - src/ap/sta_info.h | 1 + - src/common/ieee802_11_common.c | 24 +++++++++++ - src/common/ieee802_11_common.h | 4 ++ - src/common/ieee802_11_defs.h | 7 ++++ - 9 files changed, 134 insertions(+), 2 deletions(-) - ---- a/hostapd/config_file.c -+++ b/hostapd/config_file.c -@@ -4115,6 +4115,16 @@ static int hostapd_config_fill(struct ho - } else if (os_strcmp(buf, "coloc_intf_reporting") == 0) { - bss->coloc_intf_reporting = atoi(pos); - #endif /* CONFIG_OWE */ -+ } else if (os_strcmp(buf, "multi_ap") == 0) { -+ int val = atoi(pos); -+ -+ if (val < 0 || val > 3) { -+ wpa_printf(MSG_ERROR, "Line %d: Invalid multi_ap '%s'", -+ line, buf); -+ return -1; -+ } -+ -+ bss->multi_ap = val; - } else { - wpa_printf(MSG_ERROR, - "Line %d: unknown configuration item '%s'", ---- a/hostapd/hostapd.conf -+++ b/hostapd/hostapd.conf -@@ -438,6 +438,13 @@ wmm_ac_vo_txop_limit=47 - wmm_ac_vo_acm=0 - # Note: for IEEE 802.11b mode: cWmin=3 cWmax=4 burst=102 - -+# Enable Multi-AP functionality -+# 0 = disabled (default) -+# 1 = AP support backhaul BSS -+# 2 = AP support fronthaul BSS -+# 3 = AP supports both backhaul BSS and fronthaul BSS -+#multi_ap=0 -+ - # Static WEP key configuration - # - # The key number to use when transmitting. ---- a/src/ap/ap_config.h -+++ b/src/ap/ap_config.h -@@ -688,6 +688,10 @@ struct hostapd_bss_config { - #endif /* CONFIG_OWE */ - - int coloc_intf_reporting; -+ -+#define BACKHAUL_BSS 1 -+#define FRONTHAUL_BSS 2 -+ int multi_ap; /* bitmap of BACKHAUL_BSS, FRONTHAUL_BSS */ - }; - - /** ---- a/src/ap/ieee802_11.c -+++ b/src/ap/ieee802_11.c -@@ -62,6 +62,22 @@ prepare_auth_resp_fils(struct hostapd_da - int *is_pub); - #endif /* CONFIG_FILS */ - -+ -+u8 * hostapd_eid_multi_ap(struct hostapd_data *hapd, u8 *eid) -+{ -+ u8 multi_ap_val = 0; -+ -+ if (!hapd->conf->multi_ap) -+ return eid; -+ if (hapd->conf->multi_ap & BACKHAUL_BSS) -+ multi_ap_val |= MULTI_AP_BACKHAUL_BSS; -+ if (hapd->conf->multi_ap & FRONTHAUL_BSS) -+ multi_ap_val |= MULTI_AP_FRONTHAUL_BSS; -+ -+ return eid + add_multi_ap_ie(eid, 9, multi_ap_val); -+} -+ -+ - u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) - { - u8 *pos = eid; -@@ -2210,6 +2226,57 @@ static u16 check_wmm(struct hostapd_data - return WLAN_STATUS_SUCCESS; - } - -+static u16 check_multi_ap(struct hostapd_data *hapd, struct sta_info *sta, -+ const u8 *multi_ap_ie, size_t multi_ap_len) -+{ -+ u8 multi_ap_value = 0; -+ -+ sta->flags &= ~WLAN_STA_MULTI_AP; -+ -+ if (!hapd->conf->multi_ap) -+ return WLAN_STATUS_SUCCESS; -+ -+ if (multi_ap_ie) { -+ const u8 *multi_ap_subelem; -+ -+ multi_ap_subelem = get_ie(multi_ap_ie + 4, -+ multi_ap_len - 4, -+ MULTI_AP_SUB_ELEM_TYPE); -+ if (multi_ap_subelem && multi_ap_subelem[1] == 1) { -+ multi_ap_value = multi_ap_subelem[2]; -+ } else { -+ hostapd_logger(hapd, sta->addr, -+ HOSTAPD_MODULE_IEEE80211, -+ HOSTAPD_LEVEL_INFO, -+ "Multi-AP IE has missing or invalid Multi-AP subelement"); -+ return WLAN_STATUS_INVALID_IE; -+ } -+ } -+ -+ if (multi_ap_value == MULTI_AP_BACKHAUL_STA) -+ sta->flags |= WLAN_STA_MULTI_AP; -+ -+ if ((hapd->conf->multi_ap & BACKHAUL_BSS) && -+ multi_ap_value == MULTI_AP_BACKHAUL_STA) -+ return WLAN_STATUS_SUCCESS; -+ -+ if (hapd->conf->multi_ap & FRONTHAUL_BSS) { -+ if (multi_ap_value == MULTI_AP_BACKHAUL_STA) { -+ hostapd_logger(hapd, sta->addr, -+ HOSTAPD_MODULE_IEEE80211, -+ HOSTAPD_LEVEL_INFO, -+ "Backhaul STA tries to associate with fronthaul-only BSS"); -+ return WLAN_STATUS_ASSOC_DENIED_UNSPEC; -+ } -+ return WLAN_STATUS_SUCCESS; -+ } -+ -+ hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, -+ HOSTAPD_LEVEL_INFO, -+ "Non-Multi-AP STA tries to associate with backhaul-only BSS"); -+ return WLAN_STATUS_ASSOC_DENIED_UNSPEC; -+} -+ - - static u16 copy_supp_rates(struct hostapd_data *hapd, struct sta_info *sta, - struct ieee802_11_elems *elems) -@@ -2466,6 +2533,11 @@ static u16 check_assoc_ies(struct hostap - resp = copy_supp_rates(hapd, sta, &elems); - if (resp != WLAN_STATUS_SUCCESS) - return resp; -+ -+ resp = check_multi_ap(hapd, sta, elems.multi_ap, elems.multi_ap_len); -+ if (resp != WLAN_STATUS_SUCCESS) -+ return resp; -+ - #ifdef CONFIG_IEEE80211N - resp = copy_sta_ht_capab(hapd, sta, elems.ht_capabilities); - if (resp != WLAN_STATUS_SUCCESS) -@@ -2996,6 +3068,9 @@ static u16 send_assoc_resp(struct hostap - } - #endif /* CONFIG_WPS */ - -+ if (sta && (sta->flags & WLAN_STA_MULTI_AP)) -+ p = hostapd_eid_multi_ap(hapd, p); -+ - #ifdef CONFIG_P2P - if (sta && sta->p2p_ie && hapd->p2p_group) { - struct wpabuf *p2p_resp_ie; -@@ -4236,7 +4311,7 @@ static void handle_assoc_cb(struct hosta - sta->flags |= WLAN_STA_WDS; - } - -- if (sta->flags & WLAN_STA_WDS) { -+ if (sta->flags & (WLAN_STA_WDS | WLAN_STA_MULTI_AP)) { - int ret; - char ifname_wds[IFNAMSIZ + 1]; - ---- a/src/ap/sta_info.c -+++ b/src/ap/sta_info.c -@@ -166,7 +166,7 @@ void ap_free_sta(struct hostapd_data *ha - /* just in case */ - ap_sta_set_authorized(hapd, sta, 0); - -- if (sta->flags & WLAN_STA_WDS) -+ if (sta->flags & (WLAN_STA_WDS | WLAN_STA_MULTI_AP)) - hostapd_set_wds_sta(hapd, NULL, sta->addr, sta->aid, 0); - - if (sta->ipaddr) ---- a/src/ap/sta_info.h -+++ b/src/ap/sta_info.h -@@ -36,6 +36,7 @@ - #define WLAN_STA_VHT_OPMODE_ENABLED BIT(20) - #define WLAN_STA_VENDOR_VHT BIT(21) - #define WLAN_STA_PENDING_FILS_ERP BIT(22) -+#define WLAN_STA_MULTI_AP BIT(23) - #define WLAN_STA_PENDING_DISASSOC_CB BIT(29) - #define WLAN_STA_PENDING_DEAUTH_CB BIT(30) - #define WLAN_STA_NONERP BIT(31) ---- a/src/common/ieee802_11_common.c -+++ b/src/common/ieee802_11_common.c -@@ -126,6 +126,10 @@ static int ieee802_11_parse_vendor_speci - elems->roaming_cons_sel = pos; - elems->roaming_cons_sel_len = elen; - break; -+ case MULTI_AP_OUI_TYPE: -+ elems->multi_ap = pos; -+ elems->multi_ap_len = elen; -+ break; - default: - wpa_printf(MSG_MSGDUMP, "Unknown WFA " - "information element ignored " -@@ -1519,6 +1523,26 @@ size_t mbo_add_ie(u8 *buf, size_t len, c - } - - -+size_t add_multi_ap_ie(u8 *buf, size_t len, u8 value) -+{ -+ u8 *pos = buf; -+ -+ if (len < 9) -+ return 0; -+ -+ *pos++ = WLAN_EID_VENDOR_SPECIFIC; -+ *pos++ = 7; /* len */ -+ WPA_PUT_BE24(pos, OUI_WFA); -+ pos += 3; -+ *pos++ = MULTI_AP_OUI_TYPE; -+ *pos++ = MULTI_AP_SUB_ELEM_TYPE; -+ *pos++ = 1; /* len */ -+ *pos++ = value; -+ -+ return pos - buf; -+} -+ -+ - static const struct country_op_class us_op_class[] = { - { 1, 115 }, - { 2, 118 }, ---- a/src/common/ieee802_11_common.h -+++ b/src/common/ieee802_11_common.h -@@ -84,6 +84,7 @@ struct ieee802_11_elems { - const u8 *power_capab; - const u8 *roaming_cons_sel; - const u8 *password_id; -+ const u8 *multi_ap; - - u8 ssid_len; - u8 supp_rates_len; -@@ -130,6 +131,7 @@ struct ieee802_11_elems { - u8 power_capab_len; - u8 roaming_cons_sel_len; - u8 password_id_len; -+ u8 multi_ap_len; - - struct mb_ies_info mb_ies; - }; -@@ -189,6 +191,8 @@ const u8 * get_ie_ext(const u8 *ies, siz - - size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len); - -+size_t add_multi_ap_ie(u8 *buf, size_t len, u8 value); -+ - struct country_op_class { - u8 country_op_class; - u8 global_op_class; ---- a/src/common/ieee802_11_defs.h -+++ b/src/common/ieee802_11_defs.h -@@ -1210,6 +1210,13 @@ struct ieee80211_ampe_ie { - #define MBO_OUI_TYPE 22 - #define OWE_IE_VENDOR_TYPE 0x506f9a1c - #define OWE_OUI_TYPE 28 -+#define MULTI_AP_OUI_TYPE 0x1B -+ -+#define MULTI_AP_SUB_ELEM_TYPE 0x06 -+#define MULTI_AP_TEAR_DOWN BIT(4) -+#define MULTI_AP_FRONTHAUL_BSS BIT(5) -+#define MULTI_AP_BACKHAUL_BSS BIT(6) -+#define MULTI_AP_BACKHAUL_STA BIT(7) - - #define WMM_OUI_TYPE 2 - #define WMM_OUI_SUBTYPE_INFORMATION_ELEMENT 0 diff --git a/package/network/services/hostapd/patches/551-wpa_supplicant-Add-Multi-AP-protocol-support-to-supp.patch b/package/network/services/hostapd/patches/551-wpa_supplicant-Add-Multi-AP-protocol-support-to-supp.patch deleted file mode 100644 index 5fc41c20e6..0000000000 --- a/package/network/services/hostapd/patches/551-wpa_supplicant-Add-Multi-AP-protocol-support-to-supp.patch +++ /dev/null @@ -1,311 +0,0 @@ -From 5abc7823bd01f69b8afbe1fd19f65fff86137c44 Mon Sep 17 00:00:00 2001 -From: Venkateswara Naralasetty -Date: Wed, 5 Dec 2018 11:23:53 +0100 -Subject: [PATCH] wpa_supplicant: Add Multi-AP backhaul STA support - -Advertise vendor specific Multi-AP IE in (Re)Association Request frames -and process Multi-AP IE from (Re)Association Response frames if the user -enables Multi-AP fuctionality. If the (Re)Association Response frame -does not contain the Multi-AP IE, disassociate. - -This adds a new configuration parameter 'multi_ap_backhaul_sta' to -enable/disable Multi-AP functionality. - -Enable 4-address mode after association (if the Association Response -frame contains the Multi-AP IE). Also enable the bridge in that case. -This is necessary because wpa_supplicant only enables the bridge in -wpa_drv_if_add(), which only gets called when an interface is added -through the control interface, not when it is configured from the -command line. - -Signed-off-by: Venkateswara Naralasetty -Signed-off-by: Jouni Malinen -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/drivers/driver.h | 9 ++++++ - src/drivers/driver_nl80211.c | 44 ++++++++++++++++++++++++++ - wpa_supplicant/config.c | 1 + - wpa_supplicant/config_ssid.h | 7 +++++ - wpa_supplicant/driver_i.h | 8 +++++ - wpa_supplicant/events.c | 50 ++++++++++++++++++++++++++++++ - wpa_supplicant/sme.c | 16 ++++++++++ - wpa_supplicant/wpa_supplicant.c | 18 +++++++++++ - wpa_supplicant/wpa_supplicant.conf | 7 +++++ - wpa_supplicant/wpa_supplicant_i.h | 1 + - 10 files changed, 161 insertions(+) - ---- a/src/drivers/driver.h -+++ b/src/drivers/driver.h -@@ -4100,6 +4100,15 @@ struct wpa_driver_ops { - */ - int (*send_external_auth_status)(void *priv, - struct external_auth *params); -+ -+ /** -+ * set_4addr_mode - Set 4-address mode -+ * @priv: Private driver interface data -+ * @bridge_ifname: Bridge interface name -+ * @val: 0 - disable 4addr mode, 1 - enable 4addr mode -+ * Returns: 0 on success, < 0 on failure -+ */ -+ int (*set_4addr_mode)(void *priv, const char *bridge_ifname, int val); - }; - - /** ---- a/src/drivers/driver_nl80211.c -+++ b/src/drivers/driver_nl80211.c -@@ -10728,6 +10728,49 @@ fail: - } - - -+static int nl80211_set_4addr_mode(void *priv, const char *bridge_ifname, -+ int val) -+{ -+ struct i802_bss *bss = priv; -+ struct wpa_driver_nl80211_data *drv = bss->drv; -+ struct nl_msg *msg; -+ int ret = -ENOBUFS; -+ -+ wpa_printf(MSG_DEBUG, "nl80211: %s 4addr mode (bridge_ifname: %s)", -+ val ? "Enable" : "Disable", bridge_ifname); -+ -+ msg = nl80211_cmd_msg(drv->first_bss, 0, NL80211_CMD_SET_INTERFACE); -+ if (!msg || nla_put_u8(msg, NL80211_ATTR_4ADDR, val)) -+ goto fail; -+ -+ if (bridge_ifname[0] && bss->added_if_into_bridge && !val) { -+ if (linux_br_del_if(drv->global->ioctl_sock, -+ bridge_ifname, bss->ifname)) { -+ wpa_printf(MSG_ERROR, -+ "nl80211: Failed to remove interface %s from bridge %s", -+ bss->ifname, bridge_ifname); -+ return -1; -+ } -+ bss->added_if_into_bridge = 0; -+ } -+ -+ ret = send_and_recv_msgs(drv, msg, NULL, NULL); -+ msg = NULL; -+ if (!ret) { -+ if (bridge_ifname[0] && val && -+ i802_check_bridge(drv, bss, bridge_ifname, bss->ifname) < 0) -+ return -1; -+ return 0; -+ } -+ -+fail: -+ nlmsg_free(msg); -+ wpa_printf(MSG_ERROR, "nl80211: Failed to enable/disable 4addr"); -+ -+ return ret; -+} -+ -+ - const struct wpa_driver_ops wpa_driver_nl80211_ops = { - .name = "nl80211", - .desc = "Linux nl80211/cfg80211", -@@ -10856,4 +10899,5 @@ const struct wpa_driver_ops wpa_driver_n - .get_ext_capab = nl80211_get_ext_capab, - .update_connect_params = nl80211_update_connection_params, - .send_external_auth_status = nl80211_send_external_auth_status, -+ .set_4addr_mode = nl80211_set_4addr_mode, - }; ---- a/wpa_supplicant/config.c -+++ b/wpa_supplicant/config.c -@@ -2416,6 +2416,7 @@ static const struct parse_data ssid_fiel - #endif /* CONFIG_DPP */ - { INT_RANGE(owe_group, 0, 65535) }, - { INT_RANGE(owe_only, 0, 1) }, -+ { INT_RANGE(multi_ap_backhaul_sta, 0, 1) }, - }; - - #undef OFFSET ---- a/wpa_supplicant/config_ssid.h -+++ b/wpa_supplicant/config_ssid.h -@@ -950,6 +950,13 @@ struct wpa_ssid { - * the selection attempts for OWE BSS exceed the configured threshold. - */ - int owe_transition_bss_select_count; -+ -+ /** -+ * multi_ap_backhaul_sta - Multi-AP backhaul STA -+ * 0 = normal (non-Multi-AP) station -+ * 1 = Multi-AP backhaul station -+ */ -+ int multi_ap_backhaul_sta; - }; - - #endif /* CONFIG_SSID_H */ ---- a/wpa_supplicant/driver_i.h -+++ b/wpa_supplicant/driver_i.h -@@ -1046,4 +1046,12 @@ wpa_drv_send_external_auth_status(struct - params); - } - -+static inline int wpa_drv_set_4addr_mode(struct wpa_supplicant *wpa_s, int val) -+{ -+ if (!wpa_s->driver->set_4addr_mode) -+ return -1; -+ return wpa_s->driver->set_4addr_mode(wpa_s->drv_priv, -+ wpa_s->bridge_ifname, val); -+} -+ - #endif /* DRIVER_I_H */ ---- a/wpa_supplicant/events.c -+++ b/wpa_supplicant/events.c -@@ -324,6 +324,9 @@ void wpa_supplicant_mark_disassoc(struct - os_memset(wpa_s->last_tk, 0, sizeof(wpa_s->last_tk)); - #endif /* CONFIG_TESTING_OPTIONS */ - wpa_s->ieee80211ac = 0; -+ -+ if (wpa_s->enabled_4addr_mode && wpa_drv_set_4addr_mode(wpa_s, 0) == 0) -+ wpa_s->enabled_4addr_mode = 0; - } - - -@@ -2267,6 +2270,50 @@ static void interworking_process_assoc_r - #endif /* CONFIG_INTERWORKING */ - - -+static void multi_ap_process_assoc_resp(struct wpa_supplicant *wpa_s, -+ const u8 *ies, size_t ies_len) -+{ -+ struct ieee802_11_elems elems; -+ const u8 *map_sub_elem, *pos; -+ size_t len; -+ -+ if (!wpa_s->current_ssid || -+ !wpa_s->current_ssid->multi_ap_backhaul_sta || -+ !ies || -+ ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) -+ return; -+ -+ if (!elems.multi_ap || elems.multi_ap_len < 7) { -+ wpa_printf(MSG_INFO, "AP doesn't support Multi-AP protocol"); -+ goto fail; -+ } -+ -+ pos = elems.multi_ap + 4; -+ len = elems.multi_ap_len - 4; -+ -+ map_sub_elem = get_ie(pos, len, MULTI_AP_SUB_ELEM_TYPE); -+ if (!map_sub_elem || map_sub_elem[1] < 1) { -+ wpa_printf(MSG_INFO, "invalid Multi-AP sub elem type"); -+ goto fail; -+ } -+ -+ if (!(map_sub_elem[2] & MULTI_AP_BACKHAUL_BSS)) { -+ wpa_printf(MSG_INFO, "AP doesn't support backhaul BSS"); -+ goto fail; -+ } -+ -+ if (wpa_drv_set_4addr_mode(wpa_s, 1) < 0) { -+ wpa_printf(MSG_ERROR, "Failed to set 4addr mode"); -+ goto fail; -+ } -+ wpa_s->enabled_4addr_mode = 1; -+ return; -+ -+fail: -+ wpa_supplicant_deauthenticate(wpa_s, WLAN_REASON_DEAUTH_LEAVING); -+} -+ -+ - #ifdef CONFIG_FST - static int wpas_fst_update_mbie(struct wpa_supplicant *wpa_s, - const u8 *ie, size_t ie_len) -@@ -2343,6 +2390,9 @@ static int wpa_supplicant_event_associnf - get_ie(data->assoc_info.resp_ies, - data->assoc_info.resp_ies_len, WLAN_EID_VHT_CAP)) - wpa_s->ieee80211ac = 1; -+ -+ multi_ap_process_assoc_resp(wpa_s, data->assoc_info.resp_ies, -+ data->assoc_info.resp_ies_len); - } - if (data->assoc_info.beacon_ies) - wpa_hexdump(MSG_DEBUG, "beacon_ies", ---- a/wpa_supplicant/sme.c -+++ b/wpa_supplicant/sme.c -@@ -1552,6 +1552,22 @@ void sme_associate(struct wpa_supplicant - } - #endif /* CONFIG_OWE */ - -+ if (wpa_s->current_ssid && wpa_s->current_ssid->multi_ap_backhaul_sta) { -+ size_t multi_ap_ie_len; -+ -+ multi_ap_ie_len = add_multi_ap_ie( -+ wpa_s->sme.assoc_req_ie + wpa_s->sme.assoc_req_ie_len, -+ sizeof(wpa_s->sme.assoc_req_ie) - -+ wpa_s->sme.assoc_req_ie_len, -+ MULTI_AP_BACKHAUL_STA); -+ if (multi_ap_ie_len == 0) { -+ wpa_printf(MSG_ERROR, -+ "Multi-AP: Failed to build Multi-AP IE"); -+ return; -+ } -+ wpa_s->sme.assoc_req_ie_len += multi_ap_ie_len; -+ } -+ - params.bssid = bssid; - params.ssid = wpa_s->sme.ssid; - params.ssid_len = wpa_s->sme.ssid_len; ---- a/wpa_supplicant/wpa_supplicant.c -+++ b/wpa_supplicant/wpa_supplicant.c -@@ -2893,6 +2893,21 @@ static u8 * wpas_populate_assoc_ies( - } - #endif /* CONFIG_IEEE80211R */ - -+ if (ssid->multi_ap_backhaul_sta) { -+ size_t multi_ap_ie_len; -+ -+ multi_ap_ie_len = add_multi_ap_ie(wpa_ie + wpa_ie_len, -+ max_wpa_ie_len - wpa_ie_len, -+ MULTI_AP_BACKHAUL_STA); -+ if (multi_ap_ie_len == 0) { -+ wpa_printf(MSG_ERROR, -+ "Multi-AP: Failed to build Multi-AP IE"); -+ os_free(wpa_ie); -+ return NULL; -+ } -+ wpa_ie_len += multi_ap_ie_len; -+ } -+ - params->wpa_ie = wpa_ie; - params->wpa_ie_len = wpa_ie_len; - params->auth_alg = algs; -@@ -3377,6 +3392,9 @@ void wpa_supplicant_deauthenticate(struc - zero_addr = 1; - } - -+ if (wpa_s->enabled_4addr_mode && wpa_drv_set_4addr_mode(wpa_s, 0) == 0) -+ wpa_s->enabled_4addr_mode = 0; -+ - #ifdef CONFIG_TDLS - wpa_tdls_teardown_peers(wpa_s->wpa); - #endif /* CONFIG_TDLS */ ---- a/wpa_supplicant/wpa_supplicant.conf -+++ b/wpa_supplicant/wpa_supplicant.conf -@@ -1399,6 +1399,13 @@ fast_reauth=1 - # 2: MCS 0-9 - # 3: not supported - -+# multi_ap_backhaul_sta: Multi-AP backhaul STA functionality -+# 0 = normal STA (default) -+# 1 = backhaul STA -+# A backhaul STA sends the Multi-AP IE, fails to associate if the AP does not -+# support Multi-AP, and sets 4-address mode if it does. Thus, the netdev can be -+# added to a bridge to allow forwarding frames over this backhaul link. -+ - ##### Fast Session Transfer (FST) support ##################################### - # - # The options in this section are only available when the build configuration ---- a/wpa_supplicant/wpa_supplicant_i.h -+++ b/wpa_supplicant/wpa_supplicant_i.h -@@ -1242,6 +1242,7 @@ struct wpa_supplicant { - unsigned int disable_fils:1; - #endif /* CONFIG_FILS */ - unsigned int ieee80211ac:1; -+ unsigned int enabled_4addr_mode:1; - }; - - diff --git a/package/network/services/hostapd/patches/552-tests-Multi-AP-association.patch b/package/network/services/hostapd/patches/552-tests-Multi-AP-association.patch deleted file mode 100644 index 1f3aed92bd..0000000000 --- a/package/network/services/hostapd/patches/552-tests-Multi-AP-association.patch +++ /dev/null @@ -1,100 +0,0 @@ -From 7488e0ade6dffb6df4c1fb6526a9f3ede0eb18ef Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Thu, 20 Dec 2018 12:41:00 +0200 -Subject: [PATCH] tests: Multi-AP association - -Signed-off-by: Jouni Malinen ---- - tests/hwsim/test_multi_ap.py | 73 ++++++++++++++++++++++++++++++++++++ - tests/hwsim/wpasupplicant.py | 3 +- - 2 files changed, 75 insertions(+), 1 deletion(-) - create mode 100644 tests/hwsim/test_multi_ap.py - ---- /dev/null -+++ b/tests/hwsim/test_multi_ap.py -@@ -0,0 +1,73 @@ -+# Test cases for Multi-AP -+# Copyright (c) 2018, The Linux Foundation -+# -+# This software may be distributed under the terms of the BSD license. -+# See README for more details. -+ -+import hostapd -+ -+def test_multi_ap_association(dev, apdev): -+ """Multi-AP association in backhaul BSS""" -+ run_multi_ap_association(dev, apdev, 1) -+ dev[1].connect("multi-ap", psk="12345678", scan_freq="2412", -+ wait_connect=False) -+ ev = dev[1].wait_event([ "CTRL-EVENT-DISCONNECTED", -+ "CTRL-EVENT-CONNECTED", -+ "CTRL-EVENT-ASSOC-REJECT" ], -+ timeout=5) -+ dev[1].request("DISCONNECT") -+ if ev is None: -+ raise Exception("Connection result not reported") -+ if "CTRL-EVENT-ASSOC-REJECT" not in ev: -+ raise Exception("Association rejection not reported") -+ if "status_code=12" not in ev: -+ raise Exception("Unexpected association status code: " + ev) -+ -+def test_multi_ap_association_shared_bss(dev, apdev): -+ """Multi-AP association in backhaul BSS (with fronthaul BSS enabled)""" -+ run_multi_ap_association(dev, apdev, 3) -+ dev[1].connect("multi-ap", psk="12345678", scan_freq="2412") -+ -+def run_multi_ap_association(dev, apdev, multi_ap): -+ params = hostapd.wpa2_params(ssid="multi-ap", passphrase="12345678") -+ params["multi_ap"] = str(multi_ap) -+ hapd = hostapd.add_ap(apdev[0], params) -+ -+ dev[0].connect("multi-ap", psk="12345678", multi_ap_backhaul_sta="1", -+ scan_freq="2412") -+ -+def test_multi_ap_disabled_on_ap(dev, apdev): -+ """Multi-AP association attempt when disabled on AP""" -+ params = hostapd.wpa2_params(ssid="multi-ap", passphrase="12345678") -+ hapd = hostapd.add_ap(apdev[0], params) -+ -+ dev[0].connect("multi-ap", psk="12345678", multi_ap_backhaul_sta="1", -+ scan_freq="2412", wait_connect=False) -+ ev = dev[0].wait_event([ "CTRL-EVENT-DISCONNECTED", -+ "CTRL-EVENT-CONNECTED" ], -+ timeout=5) -+ dev[0].request("DISCONNECT") -+ if ev is None: -+ raise Exception("Connection result not reported") -+ if "CTRL-EVENT-DISCONNECTED" not in ev: -+ raise Exception("Unexpected connection result") -+ -+def test_multi_ap_fronthaul_on_ap(dev, apdev): -+ """Multi-AP association attempt when only fronthaul BSS on AP""" -+ params = hostapd.wpa2_params(ssid="multi-ap", passphrase="12345678") -+ params["multi_ap"] = "2" -+ hapd = hostapd.add_ap(apdev[0], params) -+ -+ dev[0].connect("multi-ap", psk="12345678", multi_ap_backhaul_sta="1", -+ scan_freq="2412", wait_connect=False) -+ ev = dev[0].wait_event([ "CTRL-EVENT-DISCONNECTED", -+ "CTRL-EVENT-CONNECTED", -+ "CTRL-EVENT-ASSOC-REJECT" ], -+ timeout=5) -+ dev[0].request("DISCONNECT") -+ if ev is None: -+ raise Exception("Connection result not reported") -+ if "CTRL-EVENT-ASSOC-REJECT" not in ev: -+ raise Exception("Association rejection not reported") -+ if "status_code=12" not in ev: -+ raise Exception("Unexpected association status code: " + ev) ---- a/tests/hwsim/wpasupplicant.py -+++ b/tests/hwsim/wpasupplicant.py -@@ -1031,7 +1031,8 @@ class WpaSupplicant: - "dpp_csign", "dpp_csign_expiry", - "dpp_netaccesskey", "dpp_netaccesskey_expiry", - "group_mgmt", "owe_group", -- "roaming_consortium_selection" ] -+ "roaming_consortium_selection", "multi_ap_backhaul_sta" ] -+ - for field in not_quoted: - if field in kwargs and kwargs[field]: - self.set_network(id, field, kwargs[field]) diff --git a/package/network/services/hostapd/patches/553-tests-refactor-test_multi_ap.patch b/package/network/services/hostapd/patches/553-tests-refactor-test_multi_ap.patch deleted file mode 100644 index 240407fd1c..0000000000 --- a/package/network/services/hostapd/patches/553-tests-refactor-test_multi_ap.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 0f5029ff41ef286aa7b3e4a3efd3f1a16be925e8 Mon Sep 17 00:00:00 2001 -From: "Arnout Vandecappelle (Essensium/Mind)" -Date: Wed, 9 Jan 2019 18:41:08 +0100 -Subject: [PATCH] tests: refactor test_multi_ap - -With just one additional argument, the run_multi_ap_association function -can be used for all tests. - -While we're at it, also move it to the top of the file. - -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- -v4: new patch ---- - tests/hwsim/test_multi_ap.py | 30 +++++++++++------------------- - 1 file changed, 11 insertions(+), 19 deletions(-) - ---- a/tests/hwsim/test_multi_ap.py -+++ b/tests/hwsim/test_multi_ap.py -@@ -6,6 +6,15 @@ - - import hostapd - -+def run_multi_ap_association(dev, apdev, multi_ap, wait_connect=True): -+ params = hostapd.wpa2_params(ssid="multi-ap", passphrase="12345678") -+ if multi_ap: -+ params["multi_ap"] = str(multi_ap) -+ hapd = hostapd.add_ap(apdev[0], params) -+ -+ dev[0].connect("multi-ap", psk="12345678", scan_freq="2412", -+ multi_ap_backhaul_sta="1", wait_connect=wait_connect) -+ - def test_multi_ap_association(dev, apdev): - """Multi-AP association in backhaul BSS""" - run_multi_ap_association(dev, apdev, 1) -@@ -28,21 +37,9 @@ def test_multi_ap_association_shared_bss - run_multi_ap_association(dev, apdev, 3) - dev[1].connect("multi-ap", psk="12345678", scan_freq="2412") - --def run_multi_ap_association(dev, apdev, multi_ap): -- params = hostapd.wpa2_params(ssid="multi-ap", passphrase="12345678") -- params["multi_ap"] = str(multi_ap) -- hapd = hostapd.add_ap(apdev[0], params) -- -- dev[0].connect("multi-ap", psk="12345678", multi_ap_backhaul_sta="1", -- scan_freq="2412") -- - def test_multi_ap_disabled_on_ap(dev, apdev): - """Multi-AP association attempt when disabled on AP""" -- params = hostapd.wpa2_params(ssid="multi-ap", passphrase="12345678") -- hapd = hostapd.add_ap(apdev[0], params) -- -- dev[0].connect("multi-ap", psk="12345678", multi_ap_backhaul_sta="1", -- scan_freq="2412", wait_connect=False) -+ run_multi_ap_association(dev, apdev, 0, wait_connect=False) - ev = dev[0].wait_event([ "CTRL-EVENT-DISCONNECTED", - "CTRL-EVENT-CONNECTED" ], - timeout=5) -@@ -54,12 +51,7 @@ def test_multi_ap_disabled_on_ap(dev, ap - - def test_multi_ap_fronthaul_on_ap(dev, apdev): - """Multi-AP association attempt when only fronthaul BSS on AP""" -- params = hostapd.wpa2_params(ssid="multi-ap", passphrase="12345678") -- params["multi_ap"] = "2" -- hapd = hostapd.add_ap(apdev[0], params) -- -- dev[0].connect("multi-ap", psk="12345678", multi_ap_backhaul_sta="1", -- scan_freq="2412", wait_connect=False) -+ run_multi_ap_association(dev, apdev, 2, wait_connect=False) - ev = dev[0].wait_event([ "CTRL-EVENT-DISCONNECTED", - "CTRL-EVENT-CONNECTED", - "CTRL-EVENT-ASSOC-REJECT" ], diff --git a/package/network/services/hostapd/patches/554-multi_ap-don-t-reject-backhaul-STA-on-fronhaul-BSS.patch b/package/network/services/hostapd/patches/554-multi_ap-don-t-reject-backhaul-STA-on-fronhaul-BSS.patch deleted file mode 100644 index 6c30a1793e..0000000000 --- a/package/network/services/hostapd/patches/554-multi_ap-don-t-reject-backhaul-STA-on-fronhaul-BSS.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 71b061b8a13791a1ed858d924e401541c8584030 Mon Sep 17 00:00:00 2001 -From: "Arnout Vandecappelle (Essensium/Mind)" -Date: Wed, 9 Jan 2019 19:08:00 +0100 -Subject: [PATCH] multi_ap: don't reject backhaul STA on fronhaul BSS - -The Multi-AP specification only specifies that information elements have -to be added to the association requests and responses; it doesn't -specify anything about what should be done in case they are missing. -Currently, we reject non-backhaul associations on a backhaul-only BSS, -and non-fronthaul associations on a fronthaul-only BSS. - -However, this makes WPS fail when fronthaul and backhaul are separate -SSIDs. Indeed, WPS for the backhaul link is performed on the *fronthaul* -SSID. Thus, the association request used for WPS *will* contain the -Multi-AP IE indicating a backhaul STA. Rejecting that association makes -WPS fail. - -Therefore, accept a multi-AP backhaul STA association request on a -fronthaul-only BSS. Still issue a warning about it, but only at level -DEBUG intead of INFO. Also change the condition checking to make it -clearer. - -While we're at it, also fix the handling of unexpected bits in the -Multi-AP IE. 4 bits are reserved in the specification, so these -certainly have to be ignored. The specification also doesn't say that -setting one of the other bits is not allowed. Therefore, only report -unexpected values in the Multi-AP IE, don't reject because of it. -Note that a malformed IE (containing more than one byte) still triggers -a rejection. - -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- -v4: new patch - -Cfr. discussion on http://lists.infradead.org/pipermail/hostap/2019-January/039232.html -and follow-ups. ---- - src/ap/ieee802_11.c | 38 +++++++++++++++++++----------------- - tests/hwsim/test_multi_ap.py | 6 ++---- - 2 files changed, 22 insertions(+), 22 deletions(-) - ---- a/src/ap/ieee802_11.c -+++ b/src/ap/ieee802_11.c -@@ -2253,28 +2253,30 @@ static u16 check_multi_ap(struct hostapd - } - } - -- if (multi_ap_value == MULTI_AP_BACKHAUL_STA) -- sta->flags |= WLAN_STA_MULTI_AP; -- -- if ((hapd->conf->multi_ap & BACKHAUL_BSS) && -- multi_ap_value == MULTI_AP_BACKHAUL_STA) -- return WLAN_STATUS_SUCCESS; -- -- if (hapd->conf->multi_ap & FRONTHAUL_BSS) { -- if (multi_ap_value == MULTI_AP_BACKHAUL_STA) { -- hostapd_logger(hapd, sta->addr, -- HOSTAPD_MODULE_IEEE80211, -- HOSTAPD_LEVEL_INFO, -- "Backhaul STA tries to associate with fronthaul-only BSS"); -- return WLAN_STATUS_ASSOC_DENIED_UNSPEC; -- } -- return WLAN_STATUS_SUCCESS; -+ if (multi_ap_value && multi_ap_value != MULTI_AP_BACKHAUL_STA) -+ hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, -+ HOSTAPD_LEVEL_INFO, -+ "Multi-AP IE with unexpected value 0x%02x", -+ multi_ap_value); -+ -+ if (!(multi_ap_value & MULTI_AP_BACKHAUL_STA)) { -+ if (hapd->conf->multi_ap & FRONTHAUL_BSS) -+ return WLAN_STATUS_SUCCESS; -+ -+ hostapd_logger(hapd, sta->addr, -+ HOSTAPD_MODULE_IEEE80211, -+ HOSTAPD_LEVEL_INFO, -+ "Non-Multi-AP STA tries to associate with backhaul-only BSS"); -+ return WLAN_STATUS_ASSOC_DENIED_UNSPEC; - } - -- hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, -- HOSTAPD_LEVEL_INFO, -- "Non-Multi-AP STA tries to associate with backhaul-only BSS"); -- return WLAN_STATUS_ASSOC_DENIED_UNSPEC; -+ if (!(hapd->conf->multi_ap & BACKHAUL_BSS)) -+ hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211, -+ HOSTAPD_LEVEL_DEBUG, -+ "Backhaul STA tries to associate with fronthaul-only BSS"); -+ -+ sta->flags |= WLAN_STA_MULTI_AP; -+ return WLAN_STATUS_SUCCESS; - } - - ---- a/tests/hwsim/test_multi_ap.py -+++ b/tests/hwsim/test_multi_ap.py -@@ -59,7 +59,5 @@ def test_multi_ap_fronthaul_on_ap(dev, a - dev[0].request("DISCONNECT") - if ev is None: - raise Exception("Connection result not reported") -- if "CTRL-EVENT-ASSOC-REJECT" not in ev: -- raise Exception("Association rejection not reported") -- if "status_code=12" not in ev: -- raise Exception("Unexpected association status code: " + ev) -+ if "CTRL-EVENT-DISCONNECTED" not in ev: -+ raise Exception("Unexpected connection result") diff --git a/package/network/services/hostapd/patches/555-WPS-wps_build_wfa_ext-add-multi_ap_subelem-parameter.patch b/package/network/services/hostapd/patches/555-WPS-wps_build_wfa_ext-add-multi_ap_subelem-parameter.patch deleted file mode 100644 index 2a1dc76ac1..0000000000 --- a/package/network/services/hostapd/patches/555-WPS-wps_build_wfa_ext-add-multi_ap_subelem-parameter.patch +++ /dev/null @@ -1,342 +0,0 @@ -From ad3c6faca118c23cdafef418dc27b3cee7d0e06e Mon Sep 17 00:00:00 2001 -From: "Arnout Vandecappelle (Essensium/Mind)" -Date: Wed, 9 Jan 2019 19:19:26 +0100 -Subject: [PATCH] WPS: wps_build_wfa_ext(): add multi_ap_subelem parameter - -The Multi-AP specification adds a new subelement to the WFA extension -element in the WPS exchange. Add an additional parameter to -wps_build_wfa_ext() to add this subelement. The subelement is only added -if the parameter is non-0. Note that we don't reuse the existing -MULTI_AP_SUB_ELEM_TYPE definition here, but rather define a new -WFA_ELEM_MULTI_AP, to make sure the enum of WFA subelement types remains -complete. - -For now, all callers set the multi_ap_subelem parameter to 0. - -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- -v4: Split off from supplicant WPS patch - -Since the original patch from Davina Lyu didn't have this extra -argument, I kept myself as the author of this patch. ---- - src/p2p/p2p_build.c | 2 +- - src/wps/wps.c | 6 +++--- - src/wps/wps_attr_build.c | 11 ++++++++++- - src/wps/wps_common.c | 16 ++++++++-------- - src/wps/wps_defs.h | 3 ++- - src/wps/wps_enrollee.c | 10 +++++----- - src/wps/wps_er.c | 4 ++-- - src/wps/wps_i.h | 3 ++- - src/wps/wps_registrar.c | 14 +++++++------- - src/wps/wps_upnp.c | 2 +- - 10 files changed, 41 insertions(+), 30 deletions(-) - ---- a/src/p2p/p2p_build.c -+++ b/src/p2p/p2p_build.c -@@ -802,7 +802,7 @@ int p2p_build_wps_ie(struct p2p_data *p2 - wpabuf_put_be16(buf, p2p->cfg->config_methods); - } - -- if (wps_build_wfa_ext(buf, 0, NULL, 0) < 0) -+ if (wps_build_wfa_ext(buf, 0, NULL, 0, 0) < 0) - return -1; - - if (all_attr && p2p->cfg->num_sec_dev_types) { ---- a/src/wps/wps.c -+++ b/src/wps/wps.c -@@ -430,7 +430,7 @@ struct wpabuf * wps_build_assoc_req_ie(e - - if (wps_build_version(ie) || - wps_build_req_type(ie, req_type) || -- wps_build_wfa_ext(ie, 0, NULL, 0)) { -+ wps_build_wfa_ext(ie, 0, NULL, 0, 0)) { - wpabuf_free(ie); - return NULL; - } -@@ -464,7 +464,7 @@ struct wpabuf * wps_build_assoc_resp_ie( - - if (wps_build_version(ie) || - wps_build_resp_type(ie, WPS_RESP_AP) || -- wps_build_wfa_ext(ie, 0, NULL, 0)) { -+ wps_build_wfa_ext(ie, 0, NULL, 0, 0)) { - wpabuf_free(ie); - return NULL; - } -@@ -516,7 +516,7 @@ struct wpabuf * wps_build_probe_req_ie(u - wps_build_model_name(dev, ie) || - wps_build_model_number(dev, ie) || - wps_build_dev_name(dev, ie) || -- wps_build_wfa_ext(ie, req_type == WPS_REQ_ENROLLEE, NULL, 0) || -+ wps_build_wfa_ext(ie, req_type == WPS_REQ_ENROLLEE, NULL, 0, 0) || - wps_build_req_dev_type(dev, ie, num_req_dev_types, req_dev_types) - || - wps_build_secondary_dev_type(dev, ie) ---- a/src/wps/wps_attr_build.c -+++ b/src/wps/wps_attr_build.c -@@ -203,7 +203,8 @@ int wps_build_version(struct wpabuf *msg - - - int wps_build_wfa_ext(struct wpabuf *msg, int req_to_enroll, -- const u8 *auth_macs, size_t auth_macs_count) -+ const u8 *auth_macs, size_t auth_macs_count, -+ u8 multi_ap_subelem) - { - u8 *len; - -@@ -244,6 +245,14 @@ int wps_build_wfa_ext(struct wpabuf *msg - MAC2STR(&auth_macs[i * ETH_ALEN])); - } - -+ if (multi_ap_subelem) { -+ wpa_printf(MSG_DEBUG, "WPS: * Multi-AP (0x%x)", -+ multi_ap_subelem); -+ wpabuf_put_u8(msg, WFA_ELEM_MULTI_AP); -+ wpabuf_put_u8(msg, 1); /* length */ -+ wpabuf_put_u8(msg, multi_ap_subelem); -+ } -+ - WPA_PUT_BE16(len, (u8 *) wpabuf_put(msg, 0) - len - 2); - - #ifdef CONFIG_WPS_TESTING ---- a/src/wps/wps_common.c -+++ b/src/wps/wps_common.c -@@ -374,7 +374,7 @@ struct wpabuf * wps_get_oob_cred(struct - (rf_band && wps_build_rf_bands_attr(plain, rf_band)) || - (channel && wps_build_ap_channel(plain, channel)) || - wps_build_mac_addr(plain, wps->dev.mac_addr) || -- wps_build_wfa_ext(plain, 0, NULL, 0)) { -+ wps_build_wfa_ext(plain, 0, NULL, 0, 0)) { - os_free(data.new_psk); - wpabuf_clear_free(plain); - return NULL; -@@ -421,7 +421,7 @@ struct wpabuf * wps_build_nfc_pw_token(u - - if (wps_build_oob_dev_pw(data, dev_pw_id, pubkey, - wpabuf_head(dev_pw), wpabuf_len(dev_pw)) || -- wps_build_wfa_ext(data, 0, NULL, 0)) { -+ wps_build_wfa_ext(data, 0, NULL, 0, 0)) { - wpa_printf(MSG_ERROR, "WPS: Failed to build NFC password " - "token"); - wpabuf_clear_free(data); -@@ -586,7 +586,7 @@ struct wpabuf * wps_build_wsc_ack(struct - wps_build_msg_type(msg, WPS_WSC_ACK) || - wps_build_enrollee_nonce(wps, msg) || - wps_build_registrar_nonce(wps, msg) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } -@@ -610,7 +610,7 @@ struct wpabuf * wps_build_wsc_nack(struc - wps_build_enrollee_nonce(wps, msg) || - wps_build_registrar_nonce(wps, msg) || - wps_build_config_error(msg, wps->config_error) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } -@@ -726,7 +726,7 @@ struct wpabuf * wps_build_nfc_handover_r - if (wps_build_oob_dev_pw(msg, DEV_PW_NFC_CONNECTION_HANDOVER, - nfc_dh_pubkey, NULL, 0) || - wps_build_uuid_e(msg, ctx->uuid) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } -@@ -809,7 +809,7 @@ struct wpabuf * wps_build_nfc_handover_s - wps_build_ssid(msg, ctx) || - wps_build_ap_freq(msg, freq) || - (bssid && wps_build_mac_addr(msg, bssid)) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } -@@ -848,7 +848,7 @@ struct wpabuf * wps_build_nfc_handover_r - wps_build_rf_bands(&ctx->dev, msg, 0) || - wps_build_serial_number(&ctx->dev, msg) || - wps_build_uuid_e(msg, ctx->uuid) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } -@@ -900,7 +900,7 @@ struct wpabuf * wps_build_nfc_handover_s - wps_build_rf_bands(&ctx->dev, msg, 0) || - wps_build_serial_number(&ctx->dev, msg) || - wps_build_uuid_e(msg, ctx->uuid) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } ---- a/src/wps/wps_defs.h -+++ b/src/wps/wps_defs.h -@@ -152,7 +152,8 @@ enum { - WFA_ELEM_NETWORK_KEY_SHAREABLE = 0x02, - WFA_ELEM_REQUEST_TO_ENROLL = 0x03, - WFA_ELEM_SETTINGS_DELAY_TIME = 0x04, -- WFA_ELEM_REGISTRAR_CONFIGURATION_METHODS = 0x05 -+ WFA_ELEM_REGISTRAR_CONFIGURATION_METHODS = 0x05, -+ WFA_ELEM_MULTI_AP = 0x06 - }; - - /* Device Password ID */ ---- a/src/wps/wps_enrollee.c -+++ b/src/wps/wps_enrollee.c -@@ -152,7 +152,7 @@ static struct wpabuf * wps_build_m1(stru - wps_build_dev_password_id(msg, wps->dev_pw_id) || - wps_build_config_error(msg, WPS_CFG_NO_ERROR) || - wps_build_os_version(&wps->wps->dev, msg) || -- wps_build_wfa_ext(msg, 0, NULL, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0) || - wps_build_vendor_ext_m1(&wps->wps->dev, msg)) { - wpabuf_free(msg); - return NULL; -@@ -190,7 +190,7 @@ static struct wpabuf * wps_build_m3(stru - wps_build_msg_type(msg, WPS_M3) || - wps_build_registrar_nonce(wps, msg) || - wps_build_e_hash(wps, msg) || -- wps_build_wfa_ext(msg, 0, NULL, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0) || - wps_build_authenticator(wps, msg)) { - wpabuf_free(msg); - return NULL; -@@ -223,7 +223,7 @@ static struct wpabuf * wps_build_m5(stru - wps_build_e_snonce1(wps, plain) || - wps_build_key_wrap_auth(wps, plain) || - wps_build_encr_settings(wps, msg, plain) || -- wps_build_wfa_ext(msg, 0, NULL, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0) || - wps_build_authenticator(wps, msg)) { - wpabuf_clear_free(plain); - wpabuf_free(msg); -@@ -393,7 +393,7 @@ static struct wpabuf * wps_build_m7(stru - (wps->wps->ap && wps_build_ap_settings(wps, plain)) || - wps_build_key_wrap_auth(wps, plain) || - wps_build_encr_settings(wps, msg, plain) || -- wps_build_wfa_ext(msg, 0, NULL, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0) || - wps_build_authenticator(wps, msg)) { - wpabuf_clear_free(plain); - wpabuf_free(msg); -@@ -430,7 +430,7 @@ static struct wpabuf * wps_build_wsc_don - wps_build_msg_type(msg, WPS_WSC_DONE) || - wps_build_enrollee_nonce(wps, msg) || - wps_build_registrar_nonce(wps, msg) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } ---- a/src/wps/wps_er.c -+++ b/src/wps/wps_er.c -@@ -1530,7 +1530,7 @@ void wps_er_set_sel_reg(struct wps_er *e - wps_er_build_selected_registrar(msg, sel_reg) || - wps_er_build_dev_password_id(msg, dev_passwd_id) || - wps_er_build_sel_reg_config_methods(msg, sel_reg_config_methods) || -- wps_build_wfa_ext(msg, 0, auth_macs, count) || -+ wps_build_wfa_ext(msg, 0, auth_macs, count, 0) || - wps_er_build_uuid_r(msg, er->wps->uuid)) { - wpabuf_free(msg); - return; -@@ -2048,7 +2048,7 @@ struct wpabuf * wps_er_config_token_from - data.wps = wps; - data.use_cred = cred; - if (wps_build_cred(&data, ret) || -- wps_build_wfa_ext(ret, 0, NULL, 0)) { -+ wps_build_wfa_ext(ret, 0, NULL, 0, 0)) { - wpabuf_free(ret); - return NULL; - } ---- a/src/wps/wps_i.h -+++ b/src/wps/wps_i.h -@@ -163,7 +163,8 @@ int wps_build_encr_settings(struct wps_d - struct wpabuf *plain); - int wps_build_version(struct wpabuf *msg); - int wps_build_wfa_ext(struct wpabuf *msg, int req_to_enroll, -- const u8 *auth_macs, size_t auth_macs_count); -+ const u8 *auth_macs, size_t auth_macs_count, -+ u8 multi_ap_subelem); - int wps_build_msg_type(struct wpabuf *msg, enum wps_msg_type msg_type); - int wps_build_enrollee_nonce(struct wps_data *wps, struct wpabuf *msg); - int wps_build_registrar_nonce(struct wps_data *wps, struct wpabuf *msg); ---- a/src/wps/wps_registrar.c -+++ b/src/wps/wps_registrar.c -@@ -1281,7 +1281,7 @@ static int wps_set_ie(struct wps_registr - wps_build_sel_reg_config_methods(reg, beacon) || - wps_build_sel_pbc_reg_uuid_e(reg, beacon) || - (reg->dualband && wps_build_rf_bands(®->wps->dev, beacon, 0)) || -- wps_build_wfa_ext(beacon, 0, auth_macs, count) || -+ wps_build_wfa_ext(beacon, 0, auth_macs, count, 0) || - wps_build_vendor_ext(®->wps->dev, beacon)) { - wpabuf_free(beacon); - wpabuf_free(probe); -@@ -1311,7 +1311,7 @@ static int wps_set_ie(struct wps_registr - wps_build_device_attrs(®->wps->dev, probe) || - wps_build_probe_config_methods(reg, probe) || - (reg->dualband && wps_build_rf_bands(®->wps->dev, probe, 0)) || -- wps_build_wfa_ext(probe, 0, auth_macs, count) || -+ wps_build_wfa_ext(probe, 0, auth_macs, count, 0) || - wps_build_vendor_ext(®->wps->dev, probe)) { - wpabuf_free(beacon); - wpabuf_free(probe); -@@ -1845,7 +1845,7 @@ static struct wpabuf * wps_build_m2(stru - wps_build_config_error(msg, WPS_CFG_NO_ERROR) || - wps_build_dev_password_id(msg, wps->dev_pw_id) || - wps_build_os_version(&wps->wps->dev, msg) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } -@@ -1913,7 +1913,7 @@ static struct wpabuf * wps_build_m2d(str - wps_build_assoc_state(wps, msg) || - wps_build_config_error(msg, err) || - wps_build_os_version(&wps->wps->dev, msg) || -- wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } -@@ -1949,7 +1949,7 @@ static struct wpabuf * wps_build_m4(stru - wps_build_r_snonce1(wps, plain) || - wps_build_key_wrap_auth(wps, plain) || - wps_build_encr_settings(wps, msg, plain) || -- wps_build_wfa_ext(msg, 0, NULL, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0) || - wps_build_authenticator(wps, msg)) { - wpabuf_clear_free(plain); - wpabuf_free(msg); -@@ -1984,7 +1984,7 @@ static struct wpabuf * wps_build_m6(stru - wps_build_r_snonce2(wps, plain) || - wps_build_key_wrap_auth(wps, plain) || - wps_build_encr_settings(wps, msg, plain) || -- wps_build_wfa_ext(msg, 0, NULL, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0) || - wps_build_authenticator(wps, msg)) { - wpabuf_clear_free(plain); - wpabuf_free(msg); -@@ -2021,7 +2021,7 @@ static struct wpabuf * wps_build_m8(stru - (!wps->wps->ap && !wps->er && wps_build_ap_settings(wps, plain)) || - wps_build_key_wrap_auth(wps, plain) || - wps_build_encr_settings(wps, msg, plain) || -- wps_build_wfa_ext(msg, 0, NULL, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, 0) || - wps_build_authenticator(wps, msg)) { - wpabuf_clear_free(plain); - wpabuf_clear_free(msg); ---- a/src/wps/wps_upnp.c -+++ b/src/wps/wps_upnp.c -@@ -599,7 +599,7 @@ static struct wpabuf * build_fake_wsc_ac - wpabuf_put_be16(msg, ATTR_REGISTRAR_NONCE); - wpabuf_put_be16(msg, WPS_NONCE_LEN); - wpabuf_put(msg, WPS_NONCE_LEN); -- if (wps_build_wfa_ext(msg, 0, NULL, 0)) { -+ if (wps_build_wfa_ext(msg, 0, NULL, 0, 0)) { - wpabuf_free(msg); - return NULL; - } diff --git a/package/network/services/hostapd/patches/556-wpa_supplicant-support-Multi-AP-backhaul-STA-onboard.patch b/package/network/services/hostapd/patches/556-wpa_supplicant-support-Multi-AP-backhaul-STA-onboard.patch deleted file mode 100644 index 11c65c71a0..0000000000 --- a/package/network/services/hostapd/patches/556-wpa_supplicant-support-Multi-AP-backhaul-STA-onboard.patch +++ /dev/null @@ -1,217 +0,0 @@ -From 6c4c98db9420a3321bbf091cfc254de5eba4b404 Mon Sep 17 00:00:00 2001 -From: Davina Lu -Date: Tue, 15 Jan 2019 19:17:51 +0100 -Subject: [PATCH] wpa_supplicant: support Multi-AP backhaul STA onboarding - -The Wi-Fi Alliance Multi-AP Specification v1.0 allows onboarding of a -backhaul STA through WPS. To enable this, the backhaul STA needs to add -a Multi-AP IE to the WFA vendor extension element in the WSC M1 message -that indicates it supports the Multi-AP backhaul STA role. The registrar -(if it support Multi-AP onboarding) will respond to that with a WSC M8 -message that also contains the Multi-AP IE, and that contains the -credentials for the backhaul SSID (which may be different from the SSID -on which WPS is performed). - -Introduce a new parameter to wpas_wps_start_pbc() and allow it to be -set via control interface's new multi_ap=1 parameter of WPS_PBC call. -multi_ap_backhaul_sta is set to 1 in the automatically created SSID. -Thus, if the AP does not support Multi-AP, association will fail and -WPS will be terminated. - -Only wps_pbc is supported. - -The multi_ap argument is only added to the socket interface, not to the -dbus interface. - -Signed-off-by: Davina Lu -Signed-off-by: Igor Mitsyanko -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) -Signed-off-by: Daniel Golle ---- -v4: use argument to wps_pbc instead of a global configuration option - (requested by Jouni) ---- - src/eap_peer/eap_wsc.c | 3 +++ - src/wps/wps.h | 6 ++++++ - src/wps/wps_enrollee.c | 6 +++++- - wpa_supplicant/ctrl_iface.c | 5 ++++- - wpa_supplicant/dbus/dbus_new_handlers_wps.c | 2 +- - wpa_supplicant/dbus/dbus_old_handlers_wps.c | 4 ++-- - wpa_supplicant/events.c | 2 +- - wpa_supplicant/p2p_supplicant.c | 2 +- - wpa_supplicant/wps_supplicant.c | 9 +++++++-- - wpa_supplicant/wps_supplicant.h | 2 +- - 10 files changed, 31 insertions(+), 10 deletions(-) - ---- a/src/eap_peer/eap_wsc.c -+++ b/src/eap_peer/eap_wsc.c -@@ -274,6 +274,9 @@ static void * eap_wsc_init(struct eap_sm - cfg.pin, cfg.pin_len, 0); - } - -+ if (os_strstr(phase1, "multi_ap=1")) -+ wps->multi_ap_backhaul_sta = 1; -+ - /* Use reduced client timeout for WPS to avoid long wait */ - if (sm->ClientTimeout > 30) - sm->ClientTimeout = 30; ---- a/src/wps/wps.h -+++ b/src/wps/wps.h -@@ -613,6 +613,12 @@ struct wps_context { - int ap_setup_locked; - - /** -+ * multi_ap_backhaul_sta - Whether this is a Multi-AP backhaul STA -+ * enrollee -+ */ -+ int multi_ap_backhaul_sta; -+ -+ /** - * uuid - Own UUID - */ - u8 uuid[16]; ---- a/src/wps/wps_enrollee.c -+++ b/src/wps/wps_enrollee.c -@@ -105,6 +105,7 @@ static struct wpabuf * wps_build_m1(stru - { - struct wpabuf *msg; - u16 config_methods; -+ u8 multi_ap_backhaul_sta = 0; - - if (random_get_bytes(wps->nonce_e, WPS_NONCE_LEN) < 0) - return NULL; -@@ -134,6 +135,9 @@ static struct wpabuf * wps_build_m1(stru - WPS_CONFIG_PHY_PUSHBUTTON); - } - -+ if (wps->wps->multi_ap_backhaul_sta) -+ multi_ap_backhaul_sta = MULTI_AP_BACKHAUL_STA; -+ - if (wps_build_version(msg) || - wps_build_msg_type(msg, WPS_M1) || - wps_build_uuid_e(msg, wps->uuid_e) || -@@ -152,7 +156,7 @@ static struct wpabuf * wps_build_m1(stru - wps_build_dev_password_id(msg, wps->dev_pw_id) || - wps_build_config_error(msg, WPS_CFG_NO_ERROR) || - wps_build_os_version(&wps->wps->dev, msg) || -- wps_build_wfa_ext(msg, 0, NULL, 0, 0) || -+ wps_build_wfa_ext(msg, 0, NULL, 0, multi_ap_backhaul_sta) || - wps_build_vendor_ext_m1(&wps->wps->dev, msg)) { - wpabuf_free(msg); - return NULL; ---- a/wpa_supplicant/ctrl_iface.c -+++ b/wpa_supplicant/ctrl_iface.c -@@ -1167,6 +1167,7 @@ static int wpa_supplicant_ctrl_iface_wps - #ifdef CONFIG_AP - u8 *_p2p_dev_addr = NULL; - #endif /* CONFIG_AP */ -+ int multi_ap = 0; - - if (cmd == NULL || os_strcmp(cmd, "any") == 0) { - _bssid = NULL; -@@ -1184,6 +1185,8 @@ static int wpa_supplicant_ctrl_iface_wps - wpa_printf(MSG_DEBUG, "CTRL_IFACE WPS_PBC: invalid BSSID '%s'", - cmd); - return -1; -+ } else if (os_strncmp(cmd, "multi_ap=", 9) == 0) { -+ multi_ap = atoi(cmd + 9); - } - - #ifdef CONFIG_AP -@@ -1191,7 +1194,7 @@ static int wpa_supplicant_ctrl_iface_wps - return wpa_supplicant_ap_wps_pbc(wpa_s, _bssid, _p2p_dev_addr); - #endif /* CONFIG_AP */ - -- return wpas_wps_start_pbc(wpa_s, _bssid, 0); -+ return wpas_wps_start_pbc(wpa_s, _bssid, 0, multi_ap); - } - - ---- a/wpa_supplicant/dbus/dbus_new_handlers_wps.c -+++ b/wpa_supplicant/dbus/dbus_new_handlers_wps.c -@@ -289,7 +289,7 @@ DBusMessage * wpas_dbus_handler_wps_star - if (ret > 0) - os_snprintf(npin, sizeof(npin), "%08d", ret); - } else { -- ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0); -+ ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0, 0); - } - - if (ret < 0) { ---- a/wpa_supplicant/dbus/dbus_old_handlers_wps.c -+++ b/wpa_supplicant/dbus/dbus_old_handlers_wps.c -@@ -37,9 +37,9 @@ DBusMessage * wpas_dbus_iface_wps_pbc(DB - return wpas_dbus_new_invalid_opts_error(message, NULL); - - if (os_strcmp(arg_bssid, "any") == 0) -- ret = wpas_wps_start_pbc(wpa_s, NULL, 0); -+ ret = wpas_wps_start_pbc(wpa_s, NULL, 0, 0); - else if (!hwaddr_aton(arg_bssid, bssid)) -- ret = wpas_wps_start_pbc(wpa_s, bssid, 0); -+ ret = wpas_wps_start_pbc(wpa_s, bssid, 0, 0); - else { - return wpas_dbus_new_invalid_opts_error(message, - "Invalid BSSID"); ---- a/wpa_supplicant/events.c -+++ b/wpa_supplicant/events.c -@@ -4816,7 +4816,7 @@ void supplicant_event(void *ctx, enum wp - break; - case EVENT_WPS_BUTTON_PUSHED: - #ifdef CONFIG_WPS -- wpas_wps_start_pbc(wpa_s, NULL, 0); -+ wpas_wps_start_pbc(wpa_s, NULL, 0, 0); - #endif /* CONFIG_WPS */ - break; - case EVENT_AVOID_FREQUENCIES: ---- a/wpa_supplicant/p2p_supplicant.c -+++ b/wpa_supplicant/p2p_supplicant.c -@@ -1649,7 +1649,7 @@ static void wpas_start_wps_enrollee(stru - wpa_supplicant_ap_deinit(wpa_s); - wpas_copy_go_neg_results(wpa_s, res); - if (res->wps_method == WPS_PBC) { -- wpas_wps_start_pbc(wpa_s, res->peer_interface_addr, 1); -+ wpas_wps_start_pbc(wpa_s, res->peer_interface_addr, 1, 0); - #ifdef CONFIG_WPS_NFC - } else if (res->wps_method == WPS_NFC) { - wpas_wps_start_nfc(wpa_s, res->peer_device_addr, ---- a/wpa_supplicant/wps_supplicant.c -+++ b/wpa_supplicant/wps_supplicant.c -@@ -1137,9 +1137,10 @@ static void wpas_wps_reassoc(struct wpa_ - - - int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid, -- int p2p_group) -+ int p2p_group, int multi_ap_backhaul_sta) - { - struct wpa_ssid *ssid; -+ char phase1[32]; - - #ifdef CONFIG_AP - if (wpa_s->ap_iface) { -@@ -1177,10 +1178,14 @@ int wpas_wps_start_pbc(struct wpa_suppli - } - } - #endif /* CONFIG_P2P */ -- if (wpa_config_set(ssid, "phase1", "\"pbc=1\"", 0) < 0) -+ if (os_snprintf(phase1, sizeof(phase1), "pbc=1%s", -+ multi_ap_backhaul_sta ? " multi_ap=1" : "") || -+ wpa_config_set_quoted(ssid, "phase1", phase1) < 0) - return -1; - if (wpa_s->wps_fragment_size) - ssid->eap.fragment_size = wpa_s->wps_fragment_size; -+ if (multi_ap_backhaul_sta) -+ ssid->multi_ap_backhaul_sta = 1; - wpa_supplicant_wps_event(wpa_s, WPS_EV_PBC_ACTIVE, NULL); - eloop_register_timeout(WPS_PBC_WALK_TIME, 0, wpas_wps_timeout, - wpa_s, NULL); ---- a/wpa_supplicant/wps_supplicant.h -+++ b/wpa_supplicant/wps_supplicant.h -@@ -30,7 +30,7 @@ void wpas_wps_deinit(struct wpa_supplica - int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s); - enum wps_request_type wpas_wps_get_req_type(struct wpa_ssid *ssid); - int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid, -- int p2p_group); -+ int p2p_group, int multi_ap_backhaul_sta); - int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid, - const char *pin, int p2p_group, u16 dev_pw_id); - void wpas_wps_pbc_overlap(struct wpa_supplicant *wpa_s); diff --git a/package/network/services/hostapd/patches/557-hostapd-support-Multi-AP-backhaul-STA-onboarding.patch b/package/network/services/hostapd/patches/557-hostapd-support-Multi-AP-backhaul-STA-onboarding.patch deleted file mode 100644 index c5785e50c3..0000000000 --- a/package/network/services/hostapd/patches/557-hostapd-support-Multi-AP-backhaul-STA-onboarding.patch +++ /dev/null @@ -1,339 +0,0 @@ -From 8b04a4cddbd6dbadb24279713af7ac677e80d342 Mon Sep 17 00:00:00 2001 -From: Davina Lu -Date: Tue, 2 Oct 2018 18:34:14 -0700 -Subject: [PATCH] hostapd: support Multi-AP backhaul STA onboarding - -The Wi-Fi Alliance Multi-AP Specification v1.0 allows onboarding of a -backhaul STA through WPS. To enable this, the WPS registrar offers a -different set of credentials (backhaul credentials instead of fronthaul -credentials) when the Multi-AP subelement is present in the WFA vendor -extension element of the WSC M1 message. - -Add 3 new configuration options to specify the backhaul credentials for -the hostapd internal registrar: multi_ap_backhaul_ssid, -multi_ap_backhaul_wpa_psk, multi_ap_backhaul_wpa_passphrase. These are -only relevant for a fronthaul SSID, i.e. where multi_ap is set to 2 or -3. When these options are set, pass the backhaul credentials instead of -the normal credentials when the Multi-AP subelement is present. - -Ignore the Multi-AP subelement if the backhaul config options are not -set. Note that for an SSID which is fronthaul and backhaul at the same -time (i.e., multi_ap == 3), this results in the correct credentials -being sent anyway. - -The security to be used for the backaul BSS is fixed to WPA2PSK. The -Multi-AP Specification only allows Open and WPA2PSK networks to be -configured. Although not stated explicitly, the backhaul link is -intended to be always encrypted, hence WPA2PSK. - -To build the credentials, the credential-building code is essentially -copied and simplified. Indeed, the backhaul credentials are always -WPA2PSK and never use per-device PSK. All the options set for the -fronthaul BSS WPS are simply ignored. - -Signed-off-by: Davina Lu -Signed-off-by: Igor Mitsyanko -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- -v4: no change ---- - hostapd/config_file.c | 47 ++++++++++++++++++++++++++++++++++++++++ - hostapd/hostapd.conf | 9 ++++++++ - src/ap/ap_config.c | 2 ++ - src/ap/ap_config.h | 1 + - src/ap/wps_hostapd.c | 26 ++++++++++++++++++++++ - src/wps/wps.h | 32 +++++++++++++++++++++++++++ - src/wps/wps_attr_parse.c | 11 ++++++++++ - src/wps/wps_attr_parse.h | 1 + - src/wps/wps_dev_attr.c | 5 +++++ - src/wps/wps_dev_attr.h | 1 + - src/wps/wps_registrar.c | 25 ++++++++++++++++++++- - 11 files changed, 159 insertions(+), 1 deletion(-) - ---- a/hostapd/config_file.c -+++ b/hostapd/config_file.c -@@ -3479,6 +3479,53 @@ static int hostapd_config_fill(struct ho - line, pos); - return 1; - } -+ } else if (os_strcmp(buf, "multi_ap_backhaul_ssid") == 0) { -+ size_t slen; -+ char *str = wpa_config_parse_string(pos, &slen); -+ -+ if (str == NULL || slen < 1 || slen > SSID_MAX_LEN) { -+ wpa_printf(MSG_ERROR, "Line %d: invalid SSID '%s'", -+ line, pos); -+ os_free(str); -+ return 1; -+ } -+ os_memcpy(bss->multi_ap_backhaul_ssid.ssid, str, slen); -+ bss->multi_ap_backhaul_ssid.ssid_len = slen; -+ bss->multi_ap_backhaul_ssid.ssid_set = 1; -+ os_free(str); -+ } else if (os_strcmp(buf, "multi_ap_backhaul_wpa_passphrase") == 0) { -+ int len = os_strlen(pos); -+ -+ if (len < 8 || len > 63) { -+ wpa_printf(MSG_ERROR, -+ "Line %d: invalid WPA passphrase length %d (expected 8..63)", -+ line, len); -+ return 1; -+ } -+ os_free(bss->multi_ap_backhaul_ssid.wpa_passphrase); -+ bss->multi_ap_backhaul_ssid.wpa_passphrase = os_strdup(pos); -+ if (bss->multi_ap_backhaul_ssid.wpa_passphrase) { -+ hostapd_config_clear_wpa_psk(&bss->multi_ap_backhaul_ssid.wpa_psk); -+ bss->multi_ap_backhaul_ssid.wpa_passphrase_set = 1; -+ } -+ } else if (os_strcmp(buf, "multi_ap_backhaul_wpa_psk") == 0) { -+ hostapd_config_clear_wpa_psk(&bss->multi_ap_backhaul_ssid.wpa_psk); -+ bss->multi_ap_backhaul_ssid.wpa_psk = -+ os_zalloc(sizeof(struct hostapd_wpa_psk)); -+ if (bss->multi_ap_backhaul_ssid.wpa_psk == NULL) -+ return 1; -+ if (hexstr2bin(pos, bss->multi_ap_backhaul_ssid.wpa_psk->psk, -+ PMK_LEN) || -+ pos[PMK_LEN * 2] != '\0') { -+ wpa_printf(MSG_ERROR, "Line %d: Invalid PSK '%s'.", -+ line, pos); -+ hostapd_config_clear_wpa_psk(&bss->multi_ap_backhaul_ssid.wpa_psk); -+ return 1; -+ } -+ bss->multi_ap_backhaul_ssid.wpa_psk->group = 1; -+ os_free(bss->multi_ap_backhaul_ssid.wpa_passphrase); -+ bss->multi_ap_backhaul_ssid.wpa_passphrase = NULL; -+ bss->multi_ap_backhaul_ssid.wpa_psk_set = 1; - } else if (os_strcmp(buf, "upnp_iface") == 0) { - os_free(bss->upnp_iface); - bss->upnp_iface = os_strdup(pos); ---- a/hostapd/hostapd.conf -+++ b/hostapd/hostapd.conf -@@ -1852,6 +1852,15 @@ own_ip_addr=127.0.0.1 - # attribute. - #ap_settings=hostapd.ap_settings - -+# Multi-AP backhaul BSS config -+# Used in WPS when multi_ap=2 or 3. Defines "backhaul BSS" credentials. -+# These are passed in WPS M8 instead of the normal (fronthaul) credentials -+# if the enrollee has the Multi-AP subelement set. Backhaul SSID is formatted -+# like ssid2. The key is set like wpa_psk or wpa_passphrase. -+#multi_ap_backhaul_ssid="backhaul" -+#multi_ap_backhaul_wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef -+#multi_ap_backhaul_wpa_passphrase=secret passphrase -+ - # WPS UPnP interface - # If set, support for external Registrars is enabled. - #upnp_iface=br0 ---- a/src/ap/ap_config.c -+++ b/src/ap/ap_config.c -@@ -582,6 +582,8 @@ void hostapd_config_free_bss(struct host - os_free(conf->ap_pin); - os_free(conf->extra_cred); - os_free(conf->ap_settings); -+ hostapd_config_clear_wpa_psk(&conf->multi_ap_backhaul_ssid.wpa_psk); -+ str_clear_free(conf->multi_ap_backhaul_ssid.wpa_passphrase); - os_free(conf->upnp_iface); - os_free(conf->friendly_name); - os_free(conf->manufacturer_url); ---- a/src/ap/ap_config.h -+++ b/src/ap/ap_config.h -@@ -456,6 +456,7 @@ struct hostapd_bss_config { - int force_per_enrollee_psk; - u8 *ap_settings; - size_t ap_settings_len; -+ struct hostapd_ssid multi_ap_backhaul_ssid; - char *upnp_iface; - char *friendly_name; - char *manufacturer_url; ---- a/src/ap/wps_hostapd.c -+++ b/src/ap/wps_hostapd.c -@@ -962,6 +962,7 @@ static void hostapd_free_wps(struct wps_ - wpabuf_free(wps->dev.vendor_ext[i]); - wps_device_data_free(&wps->dev); - os_free(wps->network_key); -+ os_free(wps->multi_ap_backhaul_network_key); - hostapd_wps_nfc_clear(wps); - wpabuf_free(wps->dh_pubkey); - wpabuf_free(wps->dh_privkey); -@@ -1131,6 +1132,31 @@ int hostapd_init_wps(struct hostapd_data - wps->encr_types_wpa = WPS_ENCR_AES | WPS_ENCR_TKIP; - } - -+ if (hapd->conf->multi_ap & FRONTHAUL_BSS && -+ hapd->conf->multi_ap_backhaul_ssid.ssid_len) { -+ wps->multi_ap_backhaul_ssid_len = -+ hapd->conf->multi_ap_backhaul_ssid.ssid_len; -+ os_memcpy(wps->multi_ap_backhaul_ssid, -+ hapd->conf->multi_ap_backhaul_ssid.ssid, -+ wps->multi_ap_backhaul_ssid_len); -+ if (conf->multi_ap_backhaul_ssid.wpa_passphrase) { -+ wps->multi_ap_backhaul_network_key = -+ (u8 *) os_strdup(conf->multi_ap_backhaul_ssid.wpa_passphrase); -+ wps->multi_ap_backhaul_network_key_len = -+ os_strlen(conf->multi_ap_backhaul_ssid.wpa_passphrase); -+ } else if (conf->multi_ap_backhaul_ssid.wpa_psk) { -+ wps->multi_ap_backhaul_network_key = -+ os_malloc(2 * PMK_LEN + 1); -+ if (wps->multi_ap_backhaul_network_key == NULL) -+ goto fail; -+ wpa_snprintf_hex((char *) wps->multi_ap_backhaul_network_key, -+ 2 * PMK_LEN + 1, -+ conf->multi_ap_backhaul_ssid.wpa_psk->psk, -+ PMK_LEN); -+ wps->multi_ap_backhaul_network_key_len = 2 * PMK_LEN; -+ } -+ } -+ - wps->ap_settings = conf->ap_settings; - wps->ap_settings_len = conf->ap_settings_len; - ---- a/src/wps/wps.h -+++ b/src/wps/wps.h -@@ -100,6 +100,7 @@ struct wps_device_data { - struct wpabuf *vendor_ext[MAX_WPS_VENDOR_EXTENSIONS]; - - int p2p; -+ u8 multi_ap_ext; - }; - - /** -@@ -730,6 +731,37 @@ struct wps_context { - int psk_set; - - /** -+ * multi_ap_backhaul_ssid - SSID to supply to a Multi-AP backhaul -+ * enrollee -+ * -+ * This SSID is used by the Registrar to fill in information for -+ * Credentials when the enrollee advertises it is a Multi-AP backhaul -+ * STA. -+ */ -+ u8 multi_ap_backhaul_ssid[SSID_MAX_LEN]; -+ -+ /** -+ * multi_ap_backhaul_ssid_len - Length of multi_ap_backhaul_ssid in -+ * octets -+ */ -+ size_t multi_ap_backhaul_ssid_len; -+ -+ /** -+ * multi_ap_backhaul_network_key - The Network Key (PSK) for the -+ * Multi-AP backhaul enrollee. -+ * -+ * This key can be either the ASCII passphrase (8..63 characters) or the -+ * 32-octet PSK (64 hex characters). -+ */ -+ u8 *multi_ap_backhaul_network_key; -+ -+ /** -+ * multi_ap_backhaul_network_key_len - Length of -+ * multi_ap_backhaul_network_key in octets -+ */ -+ size_t multi_ap_backhaul_network_key_len; -+ -+ /** - * ap_settings - AP Settings override for M7 (only used at AP) - * - * If %NULL, AP Settings attributes will be generated based on the ---- a/src/wps/wps_attr_parse.c -+++ b/src/wps/wps_attr_parse.c -@@ -67,6 +67,17 @@ static int wps_set_vendor_ext_wfa_subele - } - attr->registrar_configuration_methods = pos; - break; -+ case WFA_ELEM_MULTI_AP: -+ if (len != 1) { -+ wpa_printf(MSG_DEBUG, -+ "WPS: Invalid Multi-AP Extension length %u", -+ len); -+ return -1; -+ } -+ attr->multi_ap_ext = *pos; -+ wpa_printf(MSG_DEBUG, "WPS: Multi-AP Extension 0x%02x", -+ attr->multi_ap_ext); -+ break; - default: - wpa_printf(MSG_MSGDUMP, "WPS: Skipped unknown WFA Vendor " - "Extension subelement %u", id); ---- a/src/wps/wps_attr_parse.h -+++ b/src/wps/wps_attr_parse.h -@@ -97,6 +97,7 @@ struct wps_parse_attr { - const u8 *cred[MAX_CRED_COUNT]; - const u8 *req_dev_type[MAX_REQ_DEV_TYPE_COUNT]; - const u8 *vendor_ext[MAX_WPS_PARSE_VENDOR_EXT]; -+ u8 multi_ap_ext; - }; - - int wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr); ---- a/src/wps/wps_dev_attr.c -+++ b/src/wps/wps_dev_attr.c -@@ -389,6 +389,11 @@ int wps_process_os_version(struct wps_de - return 0; - } - -+void wps_process_vendor_ext_m1(struct wps_device_data *dev, const u8 ext) -+{ -+ dev->multi_ap_ext = ext; -+ wpa_printf(MSG_DEBUG, "WPS: Multi-AP extension value %02x", dev->multi_ap_ext); -+} - - int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands) - { ---- a/src/wps/wps_dev_attr.h -+++ b/src/wps/wps_dev_attr.h -@@ -29,6 +29,7 @@ int wps_build_dev_name(struct wps_device - int wps_process_device_attrs(struct wps_device_data *dev, - struct wps_parse_attr *attr); - int wps_process_os_version(struct wps_device_data *dev, const u8 *ver); -+void wps_process_vendor_ext_m1(struct wps_device_data *dev, const u8 ext); - int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands); - void wps_device_data_free(struct wps_device_data *dev); - int wps_build_vendor_ext(struct wps_device_data *dev, struct wpabuf *msg); ---- a/src/wps/wps_registrar.c -+++ b/src/wps/wps_registrar.c -@@ -1588,7 +1588,6 @@ int wps_build_credential_wrap(struct wpa - return 0; - } - -- - int wps_build_cred(struct wps_data *wps, struct wpabuf *msg) - { - struct wpabuf *cred; -@@ -1603,6 +1602,29 @@ int wps_build_cred(struct wps_data *wps, - } - os_memset(&wps->cred, 0, sizeof(wps->cred)); - -+ if (wps->peer_dev.multi_ap_ext == MULTI_AP_BACKHAUL_STA && -+ wps->wps->multi_ap_backhaul_ssid_len) { -+ wpa_printf(MSG_DEBUG, "WPS: Use backhaul STA credentials"); -+ os_memcpy(wps->cred.ssid, wps->wps->multi_ap_backhaul_ssid, -+ wps->wps->multi_ap_backhaul_ssid_len); -+ wps->cred.ssid_len = wps->wps->multi_ap_backhaul_ssid_len; -+ /* Backhaul is always WPA2PSK */ -+ wps->cred.auth_type = WPS_AUTH_WPA2PSK; -+ wps->cred.encr_type = WPS_ENCR_AES; -+ /* Set MAC address in the Credential to be the Enrollee's MAC -+ * address -+ */ -+ os_memcpy(wps->cred.mac_addr, wps->mac_addr_e, ETH_ALEN); -+ if (wps->wps->multi_ap_backhaul_network_key) { -+ os_memcpy(wps->cred.key, -+ wps->wps->multi_ap_backhaul_network_key, -+ wps->wps->multi_ap_backhaul_network_key_len); -+ wps->cred.key_len = -+ wps->wps->multi_ap_backhaul_network_key_len; -+ } -+ goto use_provided; -+ } -+ - os_memcpy(wps->cred.ssid, wps->wps->ssid, wps->wps->ssid_len); - wps->cred.ssid_len = wps->wps->ssid_len; - -@@ -2705,6 +2727,7 @@ static enum wps_process_res wps_process_ - wps->use_psk_key = 1; - } - #endif /* WPS_WORKAROUNDS */ -+ wps_process_vendor_ext_m1(&wps->peer_dev, attr->multi_ap_ext); - - wps->state = SEND_M2; - return WPS_CONTINUE; diff --git a/package/network/services/hostapd/patches/558-hostapd-add-README-MULTI-AP.patch b/package/network/services/hostapd/patches/558-hostapd-add-README-MULTI-AP.patch deleted file mode 100644 index b8526b8b71..0000000000 --- a/package/network/services/hostapd/patches/558-hostapd-add-README-MULTI-AP.patch +++ /dev/null @@ -1,181 +0,0 @@ -From bd733055a22c8ca3bcd7648bf716da2713b3d9f1 Mon Sep 17 00:00:00 2001 -From: "Arnout Vandecappelle (Essensium/Mind)" -Date: Mon, 21 Jan 2019 16:44:06 +0100 -Subject: [PATCH] hostapd: add README-MULTI-AP - -Document what hostapd and wpa_supplicant do for Multi-AP. - -This is only included in hostapd, since a Multi-AP device is always an -access point so it should have hostapd. - -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- -v4: wps_pbc has multi_ap as a parameter instead of config option. ---- - hostapd/README-MULTI-AP | 160 ++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 160 insertions(+) - create mode 100644 hostapd/README-MULTI-AP - ---- /dev/null -+++ b/hostapd/README-MULTI-AP -@@ -0,0 +1,160 @@ -+hostapd, wpa_supplicant and the Multi-AP Specification -+====================================================== -+ -+This document describes how hostapd and wpa_supplicant can be configured to -+support the Multi-AP Specification. -+ -+Introduction to Multi-AP -+------------------------ -+ -+The Wi-Fi Alliance Multi-AP Specification is the technical specification for -+Wi-Fi CERTIFIED EasyMesh(TM) [1], the Wi-Fi Alliance® certification program for -+Multi-AP. It defines control protocols between Wi-Fi® access points (APs) to -+join them into a network with centralized control and operation. It is targeted -+only at routers (repeaters, gateways, ...), not at clients. Clients are not -+involved at all in the protocols. -+ -+Most of the Multi-AP specification falls outside of the scope of -+hostapd/wpa_supplicant. hostapd/wpa_supplicant is only involved for the items -+summarized below. The rest of the protocol must be implemented by a separate -+daemon, e.g. prplMesh [2]. That daemon also needs to communicate with hostapd, -+e.g. to get a list of associated clients, but this can be done using the normal -+hostapd interfaces. -+ -+hostapd/wpa_supplicant needs to be configured specifically to support: -+- the WPS onboarding process; -+- configuring backhaul links. -+ -+The text below refers to "Multi-AP Specification v1.0" [3]. -+ -+ -+Fronthaul and backhaul links -+---------------------------- -+ -+In a Multi-AP network, the central controller can configure the SSIDs on the -+devices that are joined into the network. These are called fronthaul SSIDs. -+From the point of view of hostapd, there is nothing special about these -+fronthaul SSIDs. -+ -+In addition to fronthaul SSIDs, the controller can also configure backhaul -+links. A backhaul link is a link between two access point devices, giving -+internet access to access point devices that don't have a wired link. The -+Multi-AP specification doesn't dictate this, but typically the backhaul link -+will be bridged into a LAN together with (one of) the fronthaul SSID(s) and the -+wired Ethernet ports. -+ -+A backhaul link must be treated specially by hostapd and wpa_supplicant. One -+side of the backhaul link is configured through the Multi-AP protocol as the -+"backhaul STA", i.e. the client side of the link. A backhaul STA is like any -+station and is handled appropriately by wpa_supplicant, but two additional -+features are required. It must send an additional information element in each -+(Re-)Association Request ([3], section 5.2, paragraph 4). In addition, it must -+use 4-address mode for all frames sent over this link ([3], section 14). -+Therefore, wpa_supplicant must be configured explicitly as the backhaul STA -+role, by setting 'multi_ap_backhaul_sta=1' in the network configuration block -+or when configuring the SSID through the client socket. When -+'multi_ap_backhaul_sta=1', wpa_supplicant includes the Multi-AP IE in -+(Re-)Association Request messages and verifies that it is included in the -+(Re-)Association Response. If it is not, association fails. If it is, -+wpa_supplicant sets 4-address mode for this interface through a driver -+callback. -+ -+The AP side of the backhaul link is called a "backhaul SSID". Such an SSID must -+be handled specially by hostapd, because it must add an additional information -+element in each (Re-)Association Response, but only to stations that have -+identified themselves as backhaul stations ([3], section 5.2, paragraph 5-6). -+This is important because it is possible to use the same BSS and SSID for -+fronthaul and backhaul at the same time. The additional information element must -+only be used for frames sent to a backhaul STA, not to a normal STA. Also, -+frames sent to a backhaul STA must use 4-address mode, while frames sent to a -+normal STA (fronthaul, when it's a fronthaul and backhaul SSID) must use -+3-address mode. -+ -+An SSID is configured in Multi-AP mode in hostapd by setting the 'multi_ap' -+configuration option to 1 (backhaul SSID), 2 (fronthaul SSID) or 3 -+(simultaneous backhaul and fronthaul SSID). If this option is set, hostapd -+parses the Multi-AP information element in the Association Request. If the -+station is a backhaul STA and the SSID is configured as a backhaul SSID, -+hostapd sets up 4-address mode. Since there may be multiple stations connected -+simultaneously, and each of them has a different RA (receiver address), a VLAN -+is created for each backhaul STA and it is automatically added to a bridge. -+This is the same behavior as for WDS, and the relevant option ('bridge' or -+'wds_bridge') applies here as well. -+ -+If 'multi_ap' is 1 (backhaul SSID only), any station that tries to associate -+without the Multi-AP information element will be denied. -+ -+If 'multi_ap' is 2 (fronthaul SSID only), any station that tries to associate -+with the Multi-AP information element will be denied. That is also the only -+difference with 'multi_ap' set to 0: in the latter case, the Multi-AP -+information element is simply ignored. -+ -+In summary, this is the end-to-end behaviour for a backhaul BSS (i.e., -+multi_ap_backhaul_sta=1 in wpa_supplicant on STA, and multi_ap=1 or 3 in -+hostapd on AP). Note that point 1 means that hostapd must not be configured -+with WPS support on the backhaul BSS (multi_ap=1). hostapd does not check for -+that. -+ -+1. Backhaul BSS beacons do not advertise WPS support (other than that, nothing -+ multi-ap specific). -+2. STA sends authentication req (nothing multi-ap specific). -+3. AP sends authentication resp (nothing multi-ap specific). -+4. STA sends association req with Multi-AP IE. -+5. AP send association resp with Multi-AP IE. -+6. STA and AP both use 4-address mode for data. -+ -+ -+WPS support -+----------- -+ -+WPS requires more special handling. WPS must only be advertised on fronthaul -+SSIDs, not on backhaul SSIDs, so WPS should not be enabled on a backhaul-only -+SSID in hostapd.conf. The WPS configuration purely works on the fronthaul SSID. -+When a WPS M1 message has an additional subelement that indicates a request for -+a multi-AP backhaul link, hostapd must not respond with the normal fronthaul -+SSID credentials; instead, it should respond with the (potentially different) -+backhaul SSID credentials. -+ -+To support this, hostapd has the 'multi_ap_backhaul_ssid', -+'multi_ap_backhaul_wpa_psk' and 'multi_ap_backhaul_wpa_passphrase' options. -+When these are set on an SSID with WPS, they are used instead of the normal -+credentials when hostapd receives a WPS M1 message with the Multi-AP IE. Only -+WPA2 Personal is supported in the Multi-AP specification, so there is no need -+to specify authentication or encryption options. For the backhaul credentials, -+per-device PSK is not supported. -+ -+If the SSID is a simultaneous backhaul and fronthaul SSID, there is no need to -+specify the backhaul credentials, since the backhaul and fronthaul credentials -+are identical. -+ -+To enable the Multi-AP backhaul STA feature when it performs WPS, a new -+parameter has been introduced to the WPS_PBC control interface call. -+When this option is set, it adds the multi-AP backhaul subelement to -+the association and M1 messages. It then configures the new SSID with -+'multi_ap_backhaul_sta=1'. Note that this means that if the AP does not -+follow the Multi-AP specification, wpa_supplicant will fail to -+associate. -+ -+In summary, this is the end-to-end behaviour for WPS of a backhaul link (i.e., -+multi_ap=1 option is given in the wps_pbc call on the STA side, and multi_ap=2 -+and multi_ap_backhaul_ssid and either multi_ap_backhaul_wpa_psk or -+multi_ap_backhaul_wpa_passphrase are set to the credentials of a backhaul SSID -+in hostapd on registrar AP). -+ -+1. Fronthaul BSS beacons advertise WPS support (nothing multi-ap specific). -+2. Enrollee sends authentication req (nothing multi-ap specific). -+3. AP sends authentication resp (nothing multi-ap specific). -+4. Enrollee sends association req with Multi-AP IE. -+5. AP send association resp with Multi-AP IE. -+6. Enrollee sends M1 with additional Multi-AP subelement -+7. AP sends M8 with backhaul instead of fronthaul credentials. -+8. Enrollee sends Deauth. -+ -+ -+References -+---------- -+ -+[1] https://www.wi-fi.org/discover-wi-fi/wi-fi-easymesh -+[2] https://github.com/prplfoundation/prplMesh -+[3] https://www.wi-fi.org/file/multi-ap-specification-v10 -+ (requires registration) diff --git a/package/network/services/hostapd/patches/559-tests-add-WPS-tests-to-multi_ap-hwsim-tests.patch b/package/network/services/hostapd/patches/559-tests-add-WPS-tests-to-multi_ap-hwsim-tests.patch deleted file mode 100644 index 3a121ba911..0000000000 --- a/package/network/services/hostapd/patches/559-tests-add-WPS-tests-to-multi_ap-hwsim-tests.patch +++ /dev/null @@ -1,182 +0,0 @@ -From 0729e01f5830ebf4701f0b1b7ff1bd2a2eedae40 Mon Sep 17 00:00:00 2001 -From: "Arnout Vandecappelle (Essensium/Mind)" -Date: Tue, 12 Feb 2019 11:02:42 +0100 -Subject: [PATCH] tests: add WPS tests to multi_ap hwsim tests - -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- -v4: new patch ---- - tests/hwsim/test_multi_ap.py | 164 +++++++++++++++++++++++++++++++++++ - 1 file changed, 164 insertions(+) - ---- a/tests/hwsim/test_multi_ap.py -+++ b/tests/hwsim/test_multi_ap.py -@@ -61,3 +61,167 @@ def test_multi_ap_fronthaul_on_ap(dev, a - raise Exception("Connection result not reported") - if "CTRL-EVENT-DISCONNECTED" not in ev: - raise Exception("Unexpected connection result") -+ -+def run_multi_ap_wps(dev, apdev, params, multi_ap_bssid = None): -+ """Helper for running Multi-AP WPS tests -+ -+ dev[0] does multi_ap WPS, dev[1] does normal WPS. apdev[0] is the fronthaul -+ BSS. If there is a separate backhaul BSS, it must have been set up by the -+ caller. params are the normal SSID parameters, they will be extended with -+ the WPS parameters. multi_ap_bssid must be given if it is not equal to the -+ fronthaul BSSID.""" -+ -+ if multi_ap_bssid is None: -+ multi_ap_bssid = apdev[0]['bssid'] -+ params.update({"wps_state": "2", "eap_server": "1"}) -+ -+ # WPS with multi-ap station dev[0] -+ hapd = hostapd.add_ap(apdev[0], params) -+ hapd.request("WPS_PBC") -+ if "PBC Status: Active" not in hapd.request("WPS_GET_STATUS"): -+ raise Exception("PBC status not shown correctly") -+ -+ dev[0].request("WPS_PBC multi_ap=1") -+ dev[0].wait_connected(timeout=20) -+ status = dev[0].get_status() -+ if status['wpa_state'] != 'COMPLETED' or status['bssid'] != multi_ap_bssid: -+ raise Exception("Not fully connected") -+ if status['ssid'] != params['multi_ap_backhaul_ssid'].strip('"'): -+ raise Exception("Unexpected SSID %s != %s" % (status['ssid'], params["multi_ap_backhaul_ssid"])) -+ if status['pairwise_cipher'] != 'CCMP': -+ raise Exception("Unexpected encryption configuration %s" % status['pairwise_cipher']) -+ if status['key_mgmt'] != 'WPA2-PSK': -+ raise Exception("Unexpected key_mgmt") -+ -+ status = hapd.request("WPS_GET_STATUS") -+ if "PBC Status: Disabled" not in status: -+ raise Exception("PBC status not shown correctly") -+ if "Last WPS result: Success" not in status: -+ raise Exception("Last WPS result not shown correctly") -+ if "Peer Address: " + dev[0].p2p_interface_addr() not in status: -+ raise Exception("Peer address not shown correctly") -+ -+ if len(dev[0].list_networks()) != 1: -+ raise Exception("Unexpected number of network blocks") -+ -+ # WPS with non-multi-ap station dev[1] -+ hapd.request("WPS_PBC") -+ if "PBC Status: Active" not in hapd.request("WPS_GET_STATUS"): -+ raise Exception("PBC status not shown correctly") -+ -+ dev[1].request("WPS_PBC") -+ dev[1].wait_connected(timeout=20) -+ status = dev[1].get_status() -+ if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']: -+ raise Exception("Not fully connected") -+ if status['ssid'] != params["ssid"]: -+ raise Exception("Unexpected SSID") -+ # Fronthaul may be something else than WPA2-PSK so don't test it. -+ -+ status = hapd.request("WPS_GET_STATUS") -+ if "PBC Status: Disabled" not in status: -+ raise Exception("PBC status not shown correctly") -+ if "Last WPS result: Success" not in status: -+ raise Exception("Last WPS result not shown correctly") -+ if "Peer Address: " + dev[1].p2p_interface_addr() not in status: -+ raise Exception("Peer address not shown correctly") -+ -+ if len(dev[1].list_networks()) != 1: -+ raise Exception("Unexpected number of network blocks") -+ -+ -+def test_multi_ap_wps_shared(dev, apdev): -+ """WPS on shared fronthaul/backhaul AP""" -+ ssid = "multi-ap-wps" -+ passphrase = "12345678" -+ params = hostapd.wpa2_params(ssid=ssid, passphrase=passphrase) -+ params.update({"multi_ap": "3", -+ "multi_ap_backhaul_ssid": '"%s"' % ssid, -+ "multi_ap_backhaul_wpa_passphrase": passphrase}) -+ run_multi_ap_wps(dev, apdev, params) -+ -+def test_multi_ap_wps_shared_psk(dev, apdev): -+ """WPS on shared fronthaul/backhaul AP using PSK""" -+ ssid = "multi-ap-wps" -+ psk = "1234567890abcdef0123456789abcdef0123456789abcdef0123456789abcdef" -+ params = hostapd.wpa2_params(ssid=ssid) -+ params.update({"wpa_psk": psk, "multi_ap": "3", -+ "multi_ap_backhaul_ssid": '"%s"' % ssid, -+ "multi_ap_backhaul_wpa_psk": psk}) -+ run_multi_ap_wps(dev, apdev, params) -+ -+def test_multi_ap_wps_split(dev, apdev): -+ """WPS on split fronthaul and backhaul AP""" -+ backhaul_ssid = "multi-ap-backhaul-wps" -+ backhaul_passphrase = "87654321" -+ params = hostapd.wpa2_params(ssid="multi-ap-fronthaul-wps", passphrase="12345678") -+ params.update({"multi_ap": "2", -+ "multi_ap_backhaul_ssid": '"%s"' % backhaul_ssid, -+ "multi_ap_backhaul_wpa_passphrase": backhaul_passphrase}) -+ params_backhaul = hostapd.wpa2_params(ssid=backhaul_ssid, passphrase=backhaul_passphrase) -+ params_backhaul.update({"multi_ap": "1"}) -+ hapd_backhaul = hostapd.add_ap(apdev[1], params_backhaul) -+ -+ run_multi_ap_wps(dev, apdev, params, hapd_backhaul.own_addr()) -+ -+def test_multi_ap_wps_split_psk(dev, apdev): -+ """WPS on split fronthaul and backhaul AP""" -+ backhaul_ssid = "multi-ap-backhaul-wps" -+ backhaul_psk = "1234567890abcdef0123456789abcdef0123456789abcdef0123456789abcdef" -+ params = hostapd.wpa2_params(ssid="multi-ap-fronthaul-wps", passphrase="12345678") -+ params.update({"multi_ap": "2", -+ "multi_ap_backhaul_ssid": '"%s"' % backhaul_ssid, -+ "multi_ap_backhaul_wpa_psk": backhaul_psk}) -+ params_backhaul = hostapd.wpa2_params(ssid=backhaul_ssid) -+ params_backhaul.update({"multi_ap": "1", "wpa_psk": backhaul_psk}) -+ hapd_backhaul = hostapd.add_ap(apdev[1], params_backhaul) -+ -+ run_multi_ap_wps(dev, apdev, params, hapd_backhaul.own_addr()) -+ -+def test_multi_ap_wps_split_mixed(dev, apdev): -+ """WPS on split fronthaul and backhaul AP with mixed-mode fronthaul""" -+ backhaul_ssid = "multi-ap-backhaul-wps" -+ backhaul_passphrase = "87654321" -+ params = hostapd.wpa_mixed_params(ssid="multi-ap-fronthaul-wps", passphrase="12345678") -+ params.update({"multi_ap": "2", -+ "multi_ap_backhaul_ssid": '"%s"' % backhaul_ssid, -+ "multi_ap_backhaul_wpa_passphrase": backhaul_passphrase}) -+ params_backhaul = hostapd.wpa2_params(ssid=backhaul_ssid, passphrase=backhaul_passphrase) -+ params_backhaul.update({"multi_ap": "1"}) -+ hapd_backhaul = hostapd.add_ap(apdev[1], params_backhaul) -+ -+ run_multi_ap_wps(dev, apdev, params, hapd_backhaul.own_addr()) -+ -+def test_multi_ap_wps_split_open(dev, apdev): -+ """WPS on split fronthaul and backhaul AP with open fronthaul""" -+ backhaul_ssid = "multi-ap-backhaul-wps" -+ backhaul_passphrase = "87654321" -+ params = {"ssid": "multi-ap-wps-fronthaul", "multi_ap": "2", -+ "multi_ap_backhaul_ssid": '"%s"' % backhaul_ssid, -+ "multi_ap_backhaul_wpa_passphrase": backhaul_passphrase} -+ params_backhaul = hostapd.wpa2_params(ssid=backhaul_ssid, passphrase=backhaul_passphrase) -+ params_backhaul.update({"multi_ap": "1"}) -+ hapd_backhaul = hostapd.add_ap(apdev[1], params_backhaul) -+ -+ run_multi_ap_wps(dev, apdev, params, hapd_backhaul.own_addr()) -+ -+def test_multi_ap_wps_fail_non_multi_ap(dev, apdev): -+ """Multi-AP WPS on non-WPS AP fails""" -+ -+ params = hostapd.wpa2_params(ssid="non-multi-ap-wps", passphrase="12345678") -+ params.update({"wps_state": "2", "eap_server": "1"}) -+ -+ hapd = hostapd.add_ap(apdev[0], params) -+ hapd.request("WPS_PBC") -+ if "PBC Status: Active" not in hapd.request("WPS_GET_STATUS"): -+ raise Exception("PBC status not shown correctly") -+ -+ dev[0].request("WPS_PBC multi_ap=1") -+ # Since we will fail to associate and WPS doesn't even get started, there -+ # isn't much we can do except wait for timeout. For PBC, it is not possible -+ # to change the timeout from 2 minutes. Instead of waiting for the timeout, -+ # just check that WPS doesn't finish within reasonable time. -+ ev = dev[0].wait_event(["WPS-SUCCESS", "WPS-FAIL"], timeout=20) -+ if ev: -+ raise Exception("WPS operation completed: " + ev) -+ dev[0].request("WPS_CANCEL") diff --git a/package/network/services/hostapd/patches/599-wpa_supplicant-fix-warnings.patch b/package/network/services/hostapd/patches/599-wpa_supplicant-fix-warnings.patch new file mode 100644 index 0000000000..e70dc61419 --- /dev/null +++ b/package/network/services/hostapd/patches/599-wpa_supplicant-fix-warnings.patch @@ -0,0 +1,19 @@ +--- a/wpa_supplicant/wps_supplicant.h ++++ b/wpa_supplicant/wps_supplicant.h +@@ -9,6 +9,7 @@ + #ifndef WPS_SUPPLICANT_H + #define WPS_SUPPLICANT_H + ++struct wpa_bss; + struct wpa_scan_results; + + #ifdef CONFIG_WPS +@@ -16,8 +17,6 @@ struct wpa_scan_results; + #include "wps/wps.h" + #include "wps/wps_defs.h" + +-struct wpa_bss; +- + struct wps_new_ap_settings { + const char *ssid_hex; + const char *auth; diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch index db037c6491..0eb0a4a3ba 100644 --- a/package/network/services/hostapd/patches/600-ubus_support.patch +++ b/package/network/services/hostapd/patches/600-ubus_support.patch @@ -14,7 +14,7 @@ CFLAGS += -O0 -fprofile-arcs -ftest-coverage --- a/src/ap/hostapd.h +++ b/src/ap/hostapd.h -@@ -13,6 +13,7 @@ +@@ -17,6 +17,7 @@ #include "utils/list.h" #include "ap_config.h" #include "drivers/driver.h" @@ -22,7 +22,7 @@ #define OCE_STA_CFON_ENABLED(hapd) \ ((hapd->conf->oce & OCE_STA_CFON) && \ -@@ -136,6 +137,7 @@ struct hostapd_data { +@@ -145,6 +146,7 @@ struct hostapd_data { struct hostapd_iface *iface; struct hostapd_config *iconf; struct hostapd_bss_config *conf; @@ -30,25 +30,17 @@ int interface_added; /* virtual interface added for this BSS */ unsigned int started:1; unsigned int disabled:1; -@@ -547,6 +549,7 @@ hostapd_alloc_bss_data(struct hostapd_if - struct hostapd_bss_config *bss); - int hostapd_setup_interface(struct hostapd_iface *iface); - int hostapd_setup_interface_complete(struct hostapd_iface *iface, int err); -+void hostapd_set_own_neighbor_report(struct hostapd_data *hapd); - void hostapd_interface_deinit(struct hostapd_iface *iface); - void hostapd_interface_free(struct hostapd_iface *iface); - struct hostapd_iface * hostapd_alloc_iface(void); --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c -@@ -373,6 +373,7 @@ static void hostapd_free_hapd_data(struc - hapd->started = 0; +@@ -380,6 +380,7 @@ static void hostapd_free_hapd_data(struc + hapd->beacon_set_done = 0; wpa_printf(MSG_DEBUG, "%s(%s)", __func__, hapd->conf->iface); + hostapd_ubus_free_bss(hapd); iapp_deinit(hapd->iapp); hapd->iapp = NULL; accounting_deinit(hapd); -@@ -1295,6 +1296,8 @@ static int hostapd_setup_bss(struct host +@@ -1377,6 +1378,8 @@ static int hostapd_setup_bss(struct host if (hapd->driver && hapd->driver->set_operstate) hapd->driver->set_operstate(hapd->drv_priv, 1); @@ -57,16 +49,7 @@ return 0; } -@@ -1709,7 +1712,7 @@ static enum nr_chan_width hostapd_get_nr - #endif /* NEED_AP_MLME */ - - --static void hostapd_set_own_neighbor_report(struct hostapd_data *hapd) -+void hostapd_set_own_neighbor_report(struct hostapd_data *hapd) - { - #ifdef NEED_AP_MLME - u16 capab = hostapd_own_capab_info(hapd); -@@ -1930,6 +1933,7 @@ static int hostapd_setup_interface_compl +@@ -1891,6 +1894,7 @@ static int hostapd_setup_interface_compl if (err) goto fail; @@ -74,7 +57,7 @@ wpa_printf(MSG_DEBUG, "Completing interface initialization"); if (iface->conf->channel) { #ifdef NEED_AP_MLME -@@ -2110,6 +2114,7 @@ dfs_offload: +@@ -2087,6 +2091,7 @@ dfs_offload: fail: wpa_printf(MSG_ERROR, "Interface initialization failed"); @@ -82,7 +65,7 @@ hostapd_set_state(iface, HAPD_IFACE_DISABLED); wpa_msg(hapd->msg_ctx, MSG_INFO, AP_EVENT_DISABLED); #ifdef CONFIG_FST -@@ -2576,6 +2581,7 @@ void hostapd_interface_deinit_free(struc +@@ -2562,6 +2567,7 @@ void hostapd_interface_deinit_free(struc (unsigned int) iface->conf->num_bss); driver = iface->bss[0]->driver; drv_priv = iface->bss[0]->drv_priv; @@ -92,14 +75,7 @@ __func__, driver, drv_priv); --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c -@@ -1759,12 +1759,13 @@ ieee802_11_set_radius_info(struct hostap - - - static void handle_auth(struct hostapd_data *hapd, -- const struct ieee80211_mgmt *mgmt, size_t len) -+ const struct ieee80211_mgmt *mgmt, size_t len, -+ struct hostapd_frame_info *fi) - { +@@ -2032,7 +2032,7 @@ static void handle_auth(struct hostapd_d u16 auth_alg, auth_transaction, status_code; u16 resp = WLAN_STATUS_SUCCESS; struct sta_info *sta = NULL; @@ -108,19 +84,19 @@ u16 fc; const u8 *challenge = NULL; u32 session_timeout, acct_interim_interval; -@@ -1775,6 +1776,11 @@ static void handle_auth(struct hostapd_d +@@ -2043,6 +2043,11 @@ static void handle_auth(struct hostapd_d char *identity = NULL; char *radius_cui = NULL; u16 seq_ctrl; + struct hostapd_ubus_request req = { + .type = HOSTAPD_UBUS_AUTH_REQ, + .mgmt_frame = mgmt, -+ .frame_info = fi, ++ .ssi_signal = rssi, + }; if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { wpa_printf(MSG_INFO, "handle_auth - too short payload (len=%lu)", -@@ -1935,6 +1941,13 @@ static void handle_auth(struct hostapd_d +@@ -2204,6 +2209,13 @@ static void handle_auth(struct hostapd_d resp = WLAN_STATUS_UNSPECIFIED_FAILURE; goto fail; } @@ -134,13 +110,7 @@ if (res == HOSTAPD_ACL_PENDING) return; -@@ -3287,12 +3300,12 @@ void fils_hlp_timeout(void *eloop_ctx, v - - static void handle_assoc(struct hostapd_data *hapd, - const struct ieee80211_mgmt *mgmt, size_t len, -- int reassoc) -+ int reassoc, struct hostapd_frame_info *fi) - { +@@ -3862,7 +3874,7 @@ static void handle_assoc(struct hostapd_ u16 capab_info, listen_interval, seq_ctrl, fc; u16 resp = WLAN_STATUS_SUCCESS, reply_res; const u8 *pos; @@ -149,19 +119,19 @@ struct sta_info *sta; u8 *tmp = NULL; struct hostapd_sta_wpa_psk_short *psk = NULL; -@@ -3301,6 +3314,11 @@ static void handle_assoc(struct hostapd_ +@@ -3871,6 +3883,11 @@ static void handle_assoc(struct hostapd_ #ifdef CONFIG_FILS int delay_assoc = 0; #endif /* CONFIG_FILS */ + struct hostapd_ubus_request req = { + .type = HOSTAPD_UBUS_ASSOC_REQ, + .mgmt_frame = mgmt, -+ .frame_info = fi, ++ .ssi_signal = rssi, + }; if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) : sizeof(mgmt->u.assoc_req))) { -@@ -3472,6 +3490,14 @@ static void handle_assoc(struct hostapd_ +@@ -4050,6 +4067,14 @@ static void handle_assoc(struct hostapd_ } #endif /* CONFIG_MBO */ @@ -176,7 +146,7 @@ /* * sta->capability is used in check_assoc_ies() for RRM enabled * capability element. -@@ -3685,6 +3711,7 @@ static void handle_disassoc(struct hosta +@@ -4277,6 +4302,7 @@ static void handle_disassoc(struct hosta wpa_printf(MSG_DEBUG, "disassocation: STA=" MACSTR " reason_code=%d", MAC2STR(mgmt->sa), le_to_host16(mgmt->u.disassoc.reason_code)); @@ -184,7 +154,7 @@ sta = ap_get_sta(hapd, mgmt->sa); if (sta == NULL) { -@@ -3750,6 +3777,8 @@ static void handle_deauth(struct hostapd +@@ -4342,6 +4368,8 @@ static void handle_deauth(struct hostapd " reason_code=%d", MAC2STR(mgmt->sa), le_to_host16(mgmt->u.deauth.reason_code)); @@ -193,69 +163,22 @@ sta = ap_get_sta(hapd, mgmt->sa); if (sta == NULL) { wpa_msg(hapd->msg_ctx, MSG_DEBUG, "Station " MACSTR " trying " -@@ -4077,7 +4106,7 @@ int ieee802_11_mgmt(struct hostapd_data - - - if (stype == WLAN_FC_STYPE_PROBE_REQ) { -- handle_probe_req(hapd, mgmt, len, ssi_signal); -+ handle_probe_req(hapd, mgmt, len, fi); - return 1; - } - -@@ -4097,17 +4126,17 @@ int ieee802_11_mgmt(struct hostapd_data - switch (stype) { - case WLAN_FC_STYPE_AUTH: - wpa_printf(MSG_DEBUG, "mgmt::auth"); -- handle_auth(hapd, mgmt, len); -+ handle_auth(hapd, mgmt, len, fi); - ret = 1; - break; - case WLAN_FC_STYPE_ASSOC_REQ: - wpa_printf(MSG_DEBUG, "mgmt::assoc_req"); -- handle_assoc(hapd, mgmt, len, 0); -+ handle_assoc(hapd, mgmt, len, 0, fi); - ret = 1; - break; - case WLAN_FC_STYPE_REASSOC_REQ: - wpa_printf(MSG_DEBUG, "mgmt::reassoc_req"); -- handle_assoc(hapd, mgmt, len, 1); -+ handle_assoc(hapd, mgmt, len, 1, fi); - ret = 1; - break; - case WLAN_FC_STYPE_DISASSOC: --- a/src/ap/beacon.c +++ b/src/ap/beacon.c -@@ -725,7 +725,7 @@ void sta_track_claim_taxonomy_info(struc - - void handle_probe_req(struct hostapd_data *hapd, - const struct ieee80211_mgmt *mgmt, size_t len, -- int ssi_signal) -+ struct hostapd_frame_info *fi) - { - u8 *resp; - struct ieee802_11_elems elems; -@@ -734,6 +734,7 @@ void handle_probe_req(struct hostapd_dat - size_t i, resp_len; - int noack; - enum ssid_match_result res; -+ int ssi_signal = fi->ssi_signal; - int ret; - u16 csa_offs[2]; - size_t csa_offs_len; -@@ -742,6 +743,12 @@ void handle_probe_req(struct hostapd_dat +@@ -746,6 +746,12 @@ void handle_probe_req(struct hostapd_dat struct hostapd_sta_wpa_psk_short *psk = NULL; char *identity = NULL; char *radius_cui = NULL; + struct hostapd_ubus_request req = { + .type = HOSTAPD_UBUS_PROBE_REQ, + .mgmt_frame = mgmt, -+ .frame_info = fi, ++ .ssi_signal = ssi_signal, + .elems = &elems, + }; if (len < IEEE80211_HDRLEN) return; -@@ -919,6 +926,12 @@ void handle_probe_req(struct hostapd_dat +@@ -923,6 +929,12 @@ void handle_probe_req(struct hostapd_dat } #endif /* CONFIG_P2P */ @@ -268,20 +191,9 @@ /* TODO: verify that supp_rates contains at least one matching rate * with AP configuration */ ---- a/src/ap/beacon.h -+++ b/src/ap/beacon.h -@@ -14,7 +14,7 @@ struct ieee80211_mgmt; - - void handle_probe_req(struct hostapd_data *hapd, - const struct ieee80211_mgmt *mgmt, size_t len, -- int ssi_signal); -+ struct hostapd_frame_info *fi); - int ieee802_11_set_beacon(struct hostapd_data *hapd); - int ieee802_11_set_beacons(struct hostapd_iface *iface); - int ieee802_11_update_beacons(struct hostapd_iface *iface); --- a/src/ap/drv_callbacks.c +++ b/src/ap/drv_callbacks.c -@@ -116,6 +116,10 @@ int hostapd_notif_assoc(struct hostapd_d +@@ -118,6 +118,10 @@ int hostapd_notif_assoc(struct hostapd_d u16 reason = WLAN_REASON_UNSPECIFIED; u16 status = WLAN_STATUS_SUCCESS; const u8 *p2p_dev_addr = NULL; @@ -292,7 +204,7 @@ if (addr == NULL) { /* -@@ -195,6 +199,12 @@ int hostapd_notif_assoc(struct hostapd_d +@@ -210,6 +214,12 @@ int hostapd_notif_assoc(struct hostapd_d goto fail; } @@ -307,7 +219,7 @@ wpabuf_free(sta->p2p_ie); --- a/src/ap/sta_info.c +++ b/src/ap/sta_info.c -@@ -416,6 +416,7 @@ void ap_handle_timer(void *eloop_ctx, vo +@@ -424,6 +424,7 @@ void ap_handle_timer(void *eloop_ctx, vo HOSTAPD_LEVEL_INFO, "deauthenticated due to " "local deauth request"); ap_free_sta(hapd, sta); @@ -315,7 +227,7 @@ return; } -@@ -563,6 +564,7 @@ skip_poll: +@@ -578,6 +579,7 @@ skip_poll: hapd, sta, WLAN_REASON_PREV_AUTH_NOT_VALID); ap_free_sta(hapd, sta); @@ -323,8 +235,8 @@ break; } } -@@ -1224,6 +1226,7 @@ void ap_sta_set_authorized(struct hostap - buf, ip_addr); +@@ -1284,6 +1286,7 @@ void ap_sta_set_authorized(struct hostap + buf, ip_addr, keyid_buf); } else { wpa_msg(hapd->msg_ctx, MSG_INFO, AP_STA_DISCONNECTED "%s", buf); + hostapd_ubus_notify(hapd, "disassoc", sta->addr); @@ -333,7 +245,7 @@ hapd->msg_ctx_parent != hapd->msg_ctx) --- a/src/ap/wpa_auth_glue.c +++ b/src/ap/wpa_auth_glue.c -@@ -177,6 +177,7 @@ static void hostapd_wpa_auth_psk_failure +@@ -185,6 +185,7 @@ static void hostapd_wpa_auth_psk_failure struct hostapd_data *hapd = ctx; wpa_msg(hapd->msg_ctx, MSG_INFO, AP_STA_POSSIBLE_PSK_MISMATCH MACSTR, MAC2STR(addr)); @@ -343,7 +255,7 @@ --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile -@@ -189,6 +189,12 @@ ifdef CONFIG_EAPOL_TEST +@@ -188,6 +188,12 @@ ifdef CONFIG_EAPOL_TEST CFLAGS += -Werror -DEAPOL_TEST endif @@ -356,7 +268,7 @@ ifdef CONFIG_CODE_COVERAGE CFLAGS += -O0 -fprofile-arcs -ftest-coverage LIBS += -lgcov -@@ -915,6 +921,9 @@ endif +@@ -945,6 +951,9 @@ endif ifdef CONFIG_IEEE80211AX OBJS += ../src/ap/ieee802_11_he.o endif @@ -368,7 +280,7 @@ CFLAGS += -DCONFIG_WNM_AP --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -6080,6 +6080,8 @@ struct wpa_supplicant * wpa_supplicant_a +@@ -6297,6 +6297,8 @@ struct wpa_supplicant * wpa_supplicant_a } #endif /* CONFIG_P2P */ @@ -377,7 +289,7 @@ return wpa_s; } -@@ -6106,6 +6108,8 @@ int wpa_supplicant_remove_iface(struct w +@@ -6323,6 +6325,8 @@ int wpa_supplicant_remove_iface(struct w struct wpa_supplicant *parent = wpa_s->parent; #endif /* CONFIG_MESH */ @@ -396,7 +308,7 @@ extern const char *const wpa_supplicant_version; extern const char *const wpa_supplicant_license; -@@ -500,6 +501,7 @@ struct wpa_supplicant { +@@ -506,6 +507,7 @@ struct wpa_supplicant { unsigned char own_addr[ETH_ALEN]; unsigned char perm_addr[ETH_ALEN]; char ifname[100]; diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c index 3375ac49f7..3b768d0e8c 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -546,7 +546,7 @@ __hostapd_bss_mgmt_enable_f(struct hostapd_data *hapd, int flag) bss->radio_measurements[0] |= WLAN_RRM_CAPS_NEIGHBOR_REPORT; - hostapd_set_own_neighbor_report(hapd); + hostapd_neighbor_set_own_report(hapd); return true; case BSS_MGMT_EN_BEACON: flags = WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE | @@ -1065,8 +1065,8 @@ int hostapd_ubus_handle_event(struct hostapd_data *hapd, struct hostapd_ubus_req blobmsg_add_macaddr(&b, "address", addr); if (req->mgmt_frame) blobmsg_add_macaddr(&b, "target", req->mgmt_frame->da); - if (req->frame_info) - blobmsg_add_u32(&b, "signal", req->frame_info->ssi_signal); + if (req->ssi_signal) + blobmsg_add_u32(&b, "signal", req->ssi_signal); blobmsg_add_u32(&b, "freq", hapd->iface->freq); if (req->elems) { diff --git a/package/network/services/hostapd/src/src/ap/ubus.h b/package/network/services/hostapd/src/src/ap/ubus.h index 185af5a7f4..58ebe0e65b 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.h +++ b/package/network/services/hostapd/src/src/ap/ubus.h @@ -19,7 +19,7 @@ struct hostapd_ubus_request { enum hostapd_ubus_event_type type; const struct ieee80211_mgmt *mgmt_frame; const struct ieee802_11_elems *elems; - const struct hostapd_frame_info *frame_info; + int ssi_signal; /* dBm */ const u8 *addr; }; From c46095fd920d62da13c6b8d899de61edc474937c Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Thu, 26 Sep 2019 05:40:29 -0700 Subject: [PATCH 06/10] merge upstream flow offload patch --- ...w_table-clean-up-and-fix-dst-handlin.patch | 89 ------------------ ...low_offload-Fix-reverse-route-lookup.patch | 39 ++++++++ ...ter-nf_flow_table-attach-dst-to-skbs.patch | 4 +- ...ow_offload-fix-interaction-with-vrf-.patch | 86 ++++++++++++++++++ ...w_table-clean-up-and-fix-dst-handlin.patch | 82 ----------------- .../hack-4.14/647-netfilter-flow-acct.patch | 4 +- .../650-netfilter-add-xt_OFFLOAD-target.patch | 54 +++++++---- .../650-netfilter-add-xt_OFFLOAD-target.patch | 81 ++++++++++++++--- ...p-offload-hooks-on-netdev-unregister.patch | 91 ------------------- ...w_table-add-hardware-offload-support.patch | 18 ++-- ...w_table-rework-hardware-offload-time.patch | 2 +- ...w_table-add-hardware-offload-support.patch | 2 +- .../net/ethernet/mediatek/mtk_eth_soc.c | 2 +- 13 files changed, 245 insertions(+), 309 deletions(-) delete mode 100644 target/linux/generic/backport-4.14/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch create mode 100644 target/linux/generic/backport-4.14/366-netfilter-nft_flow_offload-Fix-reverse-route-lookup.patch create mode 100644 target/linux/generic/backport-4.14/372-netfilter-nft_flow_offload-fix-interaction-with-vrf-.patch delete mode 100644 target/linux/generic/backport-4.19/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch delete mode 100644 target/linux/generic/hack-4.19/940-cleanup-offload-hooks-on-netdev-unregister.patch diff --git a/target/linux/generic/backport-4.14/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch b/target/linux/generic/backport-4.14/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch deleted file mode 100644 index 491f057858..0000000000 --- a/target/linux/generic/backport-4.14/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch +++ /dev/null @@ -1,89 +0,0 @@ -From: Felix Fietkau -Date: Thu, 15 Mar 2018 18:21:43 +0100 -Subject: [PATCH] netfilter: nf_flow_table: clean up and fix dst handling - -dst handling in the code is inconsistent and possibly wrong. In my test, -skb_dst(skb) holds the dst entry after routing but before NAT, so the -code could possibly return the same dst entry for both directions of a -connection. -Additionally, there was some confusion over the dst entry vs the address -passed as parameter to rt_nexthop/rt6_nexthop. - -Do an explicit dst lookup for both ends of the connection and always use -the source address for it. When running the IP hook, use the dst entry -for the opposite direction for determining the route. - -Signed-off-by: Felix Fietkau ---- - ---- a/net/netfilter/nf_flow_table_ip.c -+++ b/net/netfilter/nf_flow_table_ip.c -@@ -238,7 +238,7 @@ nf_flow_offload_ip_hook(void *priv, stru - - dir = tuplehash->tuple.dir; - flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]); -- rt = (const struct rtable *)flow->tuplehash[dir].tuple.dst_cache; -+ rt = (const struct rtable *)flow->tuplehash[!dir].tuple.dst_cache; - - if (unlikely(nf_flow_exceeds_mtu(skb, flow->tuplehash[dir].tuple.mtu)) && - (ip_hdr(skb)->frag_off & htons(IP_DF)) != 0) -@@ -455,7 +455,7 @@ nf_flow_offload_ipv6_hook(void *priv, st - - dir = tuplehash->tuple.dir; - flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]); -- rt = (struct rt6_info *)flow->tuplehash[dir].tuple.dst_cache; -+ rt = (struct rt6_info *)flow->tuplehash[!dir].tuple.dst_cache; - - if (unlikely(nf_flow_exceeds_mtu(skb, flow->tuplehash[dir].tuple.mtu))) - return NF_ACCEPT; ---- a/net/netfilter/nft_flow_offload.c -+++ b/net/netfilter/nft_flow_offload.c -@@ -17,27 +17,38 @@ struct nft_flow_offload { - struct nft_flowtable *flowtable; - }; - --static int nft_flow_route(const struct nft_pktinfo *pkt, -- const struct nf_conn *ct, -- struct nf_flow_route *route, -- enum ip_conntrack_dir dir) -+static struct dst_entry * -+nft_flow_dst(const struct nf_conn *ct, enum ip_conntrack_dir dir, -+ const struct nft_pktinfo *pkt) - { -- struct dst_entry *this_dst = skb_dst(pkt->skb); -- struct dst_entry *other_dst = NULL; -+ struct dst_entry *dst; - struct flowi fl; - - memset(&fl, 0, sizeof(fl)); - switch (nft_pf(pkt)) { - case NFPROTO_IPV4: -- fl.u.ip4.daddr = ct->tuplehash[!dir].tuple.dst.u3.ip; -+ fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; - break; - case NFPROTO_IPV6: -- fl.u.ip6.daddr = ct->tuplehash[!dir].tuple.dst.u3.in6; -+ fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; - break; - } - -- nf_route(nft_net(pkt), &other_dst, &fl, false, nft_pf(pkt)); -- if (!other_dst) -+ nf_route(nft_net(pkt), &dst, &fl, false, nft_pf(pkt)); -+ -+ return dst; -+} -+ -+static int nft_flow_route(const struct nft_pktinfo *pkt, -+ const struct nf_conn *ct, -+ struct nf_flow_route *route, -+ enum ip_conntrack_dir dir) -+{ -+ struct dst_entry *this_dst, *other_dst; -+ -+ this_dst = nft_flow_dst(ct, dir, pkt); -+ other_dst = nft_flow_dst(ct, !dir, pkt); -+ if (!this_dst || !other_dst) - return -ENOENT; - - route->tuple[dir].dst = this_dst; diff --git a/target/linux/generic/backport-4.14/366-netfilter-nft_flow_offload-Fix-reverse-route-lookup.patch b/target/linux/generic/backport-4.14/366-netfilter-nft_flow_offload-Fix-reverse-route-lookup.patch new file mode 100644 index 0000000000..e91aaa91d7 --- /dev/null +++ b/target/linux/generic/backport-4.14/366-netfilter-nft_flow_offload-Fix-reverse-route-lookup.patch @@ -0,0 +1,39 @@ +From: wenxu +Date: Wed, 9 Jan 2019 10:40:11 +0800 +Subject: [PATCH] netfilter: nft_flow_offload: Fix reverse route lookup + +Using the following example: + + client 1.1.1.7 ---> 2.2.2.7 which dnat to 10.0.0.7 server + +The first reply packet (ie. syn+ack) uses an incorrect destination +address for the reverse route lookup since it uses: + + daddr = ct->tuplehash[!dir].tuple.dst.u3.ip; + +which is 2.2.2.7 in the scenario that is described above, while this +should be: + + daddr = ct->tuplehash[dir].tuple.src.u3.ip; + +that is 10.0.0.7. + +Signed-off-by: wenxu +Signed-off-by: Pablo Neira Ayuso +--- + +--- a/net/netfilter/nft_flow_offload.c ++++ b/net/netfilter/nft_flow_offload.c +@@ -29,10 +29,10 @@ static int nft_flow_route(const struct n + memset(&fl, 0, sizeof(fl)); + switch (nft_pf(pkt)) { + case NFPROTO_IPV4: +- fl.u.ip4.daddr = ct->tuplehash[!dir].tuple.dst.u3.ip; ++ fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; + break; + case NFPROTO_IPV6: +- fl.u.ip6.daddr = ct->tuplehash[!dir].tuple.dst.u3.in6; ++ fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; + break; + } + diff --git a/target/linux/generic/backport-4.14/369-v4.18-netfilter-nf_flow_table-attach-dst-to-skbs.patch b/target/linux/generic/backport-4.14/369-v4.18-netfilter-nf_flow_table-attach-dst-to-skbs.patch index 35d099097a..ad72d65c77 100644 --- a/target/linux/generic/backport-4.14/369-v4.18-netfilter-nf_flow_table-attach-dst-to-skbs.patch +++ b/target/linux/generic/backport-4.14/369-v4.18-netfilter-nf_flow_table-attach-dst-to-skbs.patch @@ -26,8 +26,8 @@ Signed-off-by: Pablo Neira Ayuso dir = tuplehash->tuple.dir; flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]); -- rt = (const struct rtable *)flow->tuplehash[!dir].tuple.dst_cache; -+ rt = (struct rtable *)flow->tuplehash[!dir].tuple.dst_cache; +- rt = (const struct rtable *)flow->tuplehash[dir].tuple.dst_cache; ++ rt = (struct rtable *)flow->tuplehash[dir].tuple.dst_cache; if (unlikely(nf_flow_exceeds_mtu(skb, flow->tuplehash[dir].tuple.mtu)) && (ip_hdr(skb)->frag_off & htons(IP_DF)) != 0) diff --git a/target/linux/generic/backport-4.14/372-netfilter-nft_flow_offload-fix-interaction-with-vrf-.patch b/target/linux/generic/backport-4.14/372-netfilter-nft_flow_offload-fix-interaction-with-vrf-.patch new file mode 100644 index 0000000000..f0a8b19eec --- /dev/null +++ b/target/linux/generic/backport-4.14/372-netfilter-nft_flow_offload-fix-interaction-with-vrf-.patch @@ -0,0 +1,86 @@ +From: wenxu +Date: Thu, 10 Jan 2019 14:51:35 +0800 +Subject: [PATCH] netfilter: nft_flow_offload: fix interaction with vrf slave + device + +In the forward chain, the iif is changed from slave device to master vrf +device. Thus, flow offload does not find a match on the lower slave +device. + +This patch uses the cached route, ie. dst->dev, to update the iif and +oif fields in the flow entry. + +After this patch, the following example works fine: + + # ip addr add dev eth0 1.1.1.1/24 + # ip addr add dev eth1 10.0.0.1/24 + # ip link add user1 type vrf table 1 + # ip l set user1 up + # ip l set dev eth0 master user1 + # ip l set dev eth1 master user1 + + # nft add table firewall + # nft add flowtable f fb1 { hook ingress priority 0 \; devices = { eth0, eth1 } \; } + # nft add chain f ftb-all {type filter hook forward priority 0 \; policy accept \; } + # nft add rule f ftb-all ct zone 1 ip protocol tcp flow offload @fb1 + # nft add rule f ftb-all ct zone 1 ip protocol udp flow offload @fb1 + +Signed-off-by: wenxu +Signed-off-by: Pablo Neira Ayuso +--- + +--- a/include/net/netfilter/nf_flow_table.h ++++ b/include/net/netfilter/nf_flow_table.h +@@ -84,7 +84,6 @@ struct flow_offload { + struct nf_flow_route { + struct { + struct dst_entry *dst; +- int ifindex; + } tuple[FLOW_OFFLOAD_DIR_MAX]; + }; + +--- a/net/netfilter/nf_flow_table_core.c ++++ b/net/netfilter/nf_flow_table_core.c +@@ -28,6 +28,7 @@ flow_offload_fill_dir(struct flow_offloa + { + struct flow_offload_tuple *ft = &flow->tuplehash[dir].tuple; + struct nf_conntrack_tuple *ctt = &ct->tuplehash[dir].tuple; ++ struct dst_entry *other_dst = route->tuple[!dir].dst; + struct dst_entry *dst = route->tuple[dir].dst; + + ft->dir = dir; +@@ -50,8 +51,8 @@ flow_offload_fill_dir(struct flow_offloa + ft->src_port = ctt->src.u.tcp.port; + ft->dst_port = ctt->dst.u.tcp.port; + +- ft->iifidx = route->tuple[dir].ifindex; +- ft->oifidx = route->tuple[!dir].ifindex; ++ ft->iifidx = other_dst->dev->ifindex; ++ ft->oifidx = dst->dev->ifindex; + ft->dst_cache = dst; + } + +--- a/net/netfilter/nft_flow_offload.c ++++ b/net/netfilter/nft_flow_offload.c +@@ -30,9 +30,11 @@ static int nft_flow_route(const struct n + switch (nft_pf(pkt)) { + case NFPROTO_IPV4: + fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; ++ fl.u.ip4.flowi4_oif = nft_in(pkt)->ifindex; + break; + case NFPROTO_IPV6: + fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; ++ fl.u.ip6.flowi6_oif = nft_in(pkt)->ifindex; + break; + } + +@@ -41,9 +43,7 @@ static int nft_flow_route(const struct n + return -ENOENT; + + route->tuple[dir].dst = this_dst; +- route->tuple[dir].ifindex = nft_in(pkt)->ifindex; + route->tuple[!dir].dst = other_dst; +- route->tuple[!dir].ifindex = nft_out(pkt)->ifindex; + + return 0; + } diff --git a/target/linux/generic/backport-4.19/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch b/target/linux/generic/backport-4.19/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch deleted file mode 100644 index f63e081b68..0000000000 --- a/target/linux/generic/backport-4.19/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch +++ /dev/null @@ -1,82 +0,0 @@ -From: Felix Fietkau -Date: Thu, 15 Mar 2018 18:21:43 +0100 -Subject: [PATCH] netfilter: nf_flow_table: clean up and fix dst handling - -dst handling in the code is inconsistent and possibly wrong. In my test, -skb_dst(skb) holds the dst entry after routing but before NAT, so the -code could possibly return the same dst entry for both directions of a -connection. -Additionally, there was some confusion over the dst entry vs the address -passed as parameter to rt_nexthop/rt6_nexthop. - -Do an explicit dst lookup for both ends of the connection and always use -the source address for it. When running the IP hook, use the dst entry -for the opposite direction for determining the route. - -Signed-off-by: Felix Fietkau ---- - ---- a/net/netfilter/nf_flow_table_ip.c -+++ b/net/netfilter/nf_flow_table_ip.c -@@ -244,7 +244,7 @@ nf_flow_offload_ip_hook(void *priv, stru - - dir = tuplehash->tuple.dir; - flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]); -- rt = (struct rtable *)flow->tuplehash[dir].tuple.dst_cache; -+ rt = (struct rtable *)flow->tuplehash[!dir].tuple.dst_cache; - - if (unlikely(nf_flow_exceeds_mtu(skb, flow->tuplehash[dir].tuple.mtu))) - return NF_ACCEPT; -@@ -464,7 +464,7 @@ nf_flow_offload_ipv6_hook(void *priv, st - - dir = tuplehash->tuple.dir; - flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]); -- rt = (struct rt6_info *)flow->tuplehash[dir].tuple.dst_cache; -+ rt = (struct rt6_info *)flow->tuplehash[!dir].tuple.dst_cache; - - if (unlikely(nf_flow_exceeds_mtu(skb, flow->tuplehash[dir].tuple.mtu))) - return NF_ACCEPT; ---- a/net/netfilter/nft_flow_offload.c -+++ b/net/netfilter/nft_flow_offload.c -@@ -17,13 +17,11 @@ struct nft_flow_offload { - struct nft_flowtable *flowtable; - }; - --static int nft_flow_route(const struct nft_pktinfo *pkt, -- const struct nf_conn *ct, -- struct nf_flow_route *route, -- enum ip_conntrack_dir dir) -+static struct dst_entry * -+nft_flow_dst(const struct nf_conn *ct, enum ip_conntrack_dir dir, -+ const struct nft_pktinfo *pkt) - { -- struct dst_entry *this_dst = skb_dst(pkt->skb); -- struct dst_entry *other_dst = NULL; -+ struct dst_entry *dst; - struct flowi fl; - - memset(&fl, 0, sizeof(fl)); -@@ -38,8 +36,21 @@ static int nft_flow_route(const struct n - break; - } - -- nf_route(nft_net(pkt), &other_dst, &fl, false, nft_pf(pkt)); -- if (!other_dst) -+ nf_route(nft_net(pkt), &dst, &fl, false, nft_pf(pkt)); -+ -+ return dst; -+} -+ -+static int nft_flow_route(const struct nft_pktinfo *pkt, -+ const struct nf_conn *ct, -+ struct nf_flow_route *route, -+ enum ip_conntrack_dir dir) -+{ -+ struct dst_entry *this_dst, *other_dst; -+ -+ this_dst = nft_flow_dst(ct, dir, pkt); -+ other_dst = nft_flow_dst(ct, !dir, pkt); -+ if (!this_dst || !other_dst) - return -ENOENT; - - route->tuple[dir].dst = this_dst; diff --git a/target/linux/generic/hack-4.14/647-netfilter-flow-acct.patch b/target/linux/generic/hack-4.14/647-netfilter-flow-acct.patch index 290570fe9f..f58b8bc716 100644 --- a/target/linux/generic/hack-4.14/647-netfilter-flow-acct.patch +++ b/target/linux/generic/hack-4.14/647-netfilter-flow-acct.patch @@ -1,6 +1,6 @@ --- a/include/net/netfilter/nf_flow_table.h +++ b/include/net/netfilter/nf_flow_table.h -@@ -164,6 +164,8 @@ struct nf_flow_table_hw { +@@ -163,6 +163,8 @@ struct nf_flow_table_hw { int nf_flow_table_hw_register(const struct nf_flow_table_hw *offload); void nf_flow_table_hw_unregister(const struct nf_flow_table_hw *offload); @@ -19,7 +19,7 @@ struct flow_offload_entry { struct flow_offload flow; -@@ -151,6 +152,22 @@ void flow_offload_free(struct flow_offlo +@@ -152,6 +153,22 @@ void flow_offload_free(struct flow_offlo } EXPORT_SYMBOL_GPL(flow_offload_free); diff --git a/target/linux/generic/hack-4.14/650-netfilter-add-xt_OFFLOAD-target.patch b/target/linux/generic/hack-4.14/650-netfilter-add-xt_OFFLOAD-target.patch index b78ba1f53f..a78b4cdf9c 100644 --- a/target/linux/generic/hack-4.14/650-netfilter-add-xt_OFFLOAD-target.patch +++ b/target/linux/generic/hack-4.14/650-netfilter-add-xt_OFFLOAD-target.patch @@ -98,7 +98,7 @@ Signed-off-by: Felix Fietkau obj-$(CONFIG_NETFILTER_XT_TARGET_LED) += xt_LED.o --- /dev/null +++ b/net/netfilter/xt_FLOWOFFLOAD.c -@@ -0,0 +1,403 @@ +@@ -0,0 +1,421 @@ +/* + * Copyright (C) 2018 Felix Fietkau + * @@ -112,8 +112,9 @@ Signed-off-by: Felix Fietkau +#include +#include +#include -+#include ++#include +#include ++#include + +static struct nf_flowtable nf_flowtable; +static HLIST_HEAD(hooks); @@ -280,21 +281,24 @@ Signed-off-by: Felix Fietkau +} + +static bool -+xt_flowoffload_skip(struct sk_buff *skb) ++xt_flowoffload_skip(struct sk_buff *skb, int family) +{ -+ struct ip_options *opt = &(IPCB(skb)->opt); -+ -+ if (unlikely(opt->optlen)) -+ return true; + if (skb_sec_path(skb)) + return true; + ++ if (family == NFPROTO_IPV4) { ++ const struct ip_options *opt = &(IPCB(skb)->opt); ++ ++ if (unlikely(opt->optlen)) ++ return true; ++ } ++ + return false; +} + +static struct dst_entry * +xt_flowoffload_dst(const struct nf_conn *ct, enum ip_conntrack_dir dir, -+ const struct xt_action_param *par) ++ const struct xt_action_param *par, int ifindex) +{ + struct dst_entry *dst = NULL; + struct flowi fl; @@ -303,10 +307,12 @@ Signed-off-by: Felix Fietkau + switch (xt_family(par)) { + case NFPROTO_IPV4: + fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; ++ fl.u.ip4.flowi4_oif = ifindex; + break; + case NFPROTO_IPV6: + fl.u.ip6.saddr = ct->tuplehash[dir].tuple.dst.u3.in6; + fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; ++ fl.u.ip6.flowi6_oif = ifindex; + break; + } + @@ -322,8 +328,8 @@ Signed-off-by: Felix Fietkau +{ + struct dst_entry *this_dst, *other_dst; + -+ this_dst = xt_flowoffload_dst(ct, dir, par); -+ other_dst = xt_flowoffload_dst(ct, !dir, par); ++ this_dst = xt_flowoffload_dst(ct, !dir, par, xt_out(par)->ifindex); ++ other_dst = xt_flowoffload_dst(ct, dir, par, xt_in(par)->ifindex); + if (!this_dst || !other_dst) + return -ENOENT; + @@ -331,9 +337,7 @@ Signed-off-by: Felix Fietkau + return -EINVAL; + + route->tuple[dir].dst = this_dst; -+ route->tuple[dir].ifindex = xt_in(par)->ifindex; + route->tuple[!dir].dst = other_dst; -+ route->tuple[!dir].ifindex = xt_out(par)->ifindex; + + return 0; +} @@ -342,14 +346,15 @@ Signed-off-by: Felix Fietkau +flowoffload_tg(struct sk_buff *skb, const struct xt_action_param *par) +{ + const struct xt_flowoffload_target_info *info = par->targinfo; ++ struct tcphdr _tcph, *tcph = NULL; + enum ip_conntrack_info ctinfo; + enum ip_conntrack_dir dir; + struct nf_flow_route route; + struct flow_offload *flow; + struct nf_conn *ct; -+ const struct nf_conn_help *help; ++ struct net *net; + -+ if (xt_flowoffload_skip(skb)) ++ if (xt_flowoffload_skip(skb, xt_family(par))) + return XT_CONTINUE; + + ct = nf_ct_get(skb, &ctinfo); @@ -360,6 +365,11 @@ Signed-off-by: Felix Fietkau + case IPPROTO_TCP: + if (ct->proto.tcp.state != TCP_CONNTRACK_ESTABLISHED) + return XT_CONTINUE; ++ ++ tcph = skb_header_pointer(skb, par->thoff, ++ sizeof(_tcph), &_tcph); ++ if (unlikely(!tcph || tcph->fin || tcph->rst)) ++ return XT_CONTINUE; + break; + case IPPROTO_UDP: + break; @@ -367,12 +377,11 @@ Signed-off-by: Felix Fietkau + return XT_CONTINUE; + } + -+ help = nfct_help(ct); -+ if (help) ++ if (nf_ct_ext_exist(ct, NF_CT_EXT_HELPER) || ++ ct->status & IPS_SEQ_ADJUST) + return XT_CONTINUE; + -+ if (ctinfo == IP_CT_NEW || -+ ctinfo == IP_CT_RELATED) ++ if (!nf_ct_is_confirmed(ct)) + return XT_CONTINUE; + + if (!xt_in(par) || !xt_out(par)) @@ -390,12 +399,21 @@ Signed-off-by: Felix Fietkau + if (!flow) + goto err_flow_alloc; + ++ if (tcph) { ++ ct->proto.tcp.seen[0].flags |= IP_CT_TCP_FLAG_BE_LIBERAL; ++ ct->proto.tcp.seen[1].flags |= IP_CT_TCP_FLAG_BE_LIBERAL; ++ } ++ + if (flow_offload_add(&nf_flowtable, flow) < 0) + goto err_flow_add; + + xt_flowoffload_check_device(xt_in(par)); + xt_flowoffload_check_device(xt_out(par)); + ++ net = read_pnet(&nf_flowtable.ft_net); ++ if (!net) ++ write_pnet(&nf_flowtable.ft_net, xt_net(par)); ++ + if (info->flags & XT_FLOWOFFLOAD_HW) + nf_flow_offload_hw_add(xt_net(par), flow, ct); + diff --git a/target/linux/generic/hack-4.19/650-netfilter-add-xt_OFFLOAD-target.patch b/target/linux/generic/hack-4.19/650-netfilter-add-xt_OFFLOAD-target.patch index 8ebea32a82..b41e238eae 100644 --- a/target/linux/generic/hack-4.19/650-netfilter-add-xt_OFFLOAD-target.patch +++ b/target/linux/generic/hack-4.19/650-netfilter-add-xt_OFFLOAD-target.patch @@ -98,7 +98,7 @@ Signed-off-by: Felix Fietkau obj-$(CONFIG_NETFILTER_XT_TARGET_LED) += xt_LED.o --- /dev/null +++ b/net/netfilter/xt_FLOWOFFLOAD.c -@@ -0,0 +1,366 @@ +@@ -0,0 +1,421 @@ +/* + * Copyright (C) 2018 Felix Fietkau + * @@ -112,6 +112,8 @@ Signed-off-by: Felix Fietkau +#include +#include +#include ++#include ++#include +#include + +static struct nf_flowtable nf_flowtable; @@ -279,21 +281,24 @@ Signed-off-by: Felix Fietkau +} + +static bool -+xt_flowoffload_skip(struct sk_buff *skb) ++xt_flowoffload_skip(struct sk_buff *skb, int family) +{ -+ struct ip_options *opt = &(IPCB(skb)->opt); -+ -+ if (unlikely(opt->optlen)) -+ return true; + if (skb_sec_path(skb)) + return true; + ++ if (family == NFPROTO_IPV4) { ++ const struct ip_options *opt = &(IPCB(skb)->opt); ++ ++ if (unlikely(opt->optlen)) ++ return true; ++ } ++ + return false; +} + +static struct dst_entry * +xt_flowoffload_dst(const struct nf_conn *ct, enum ip_conntrack_dir dir, -+ const struct xt_action_param *par) ++ const struct xt_action_param *par, int ifindex) +{ + struct dst_entry *dst = NULL; + struct flowi fl; @@ -302,10 +307,12 @@ Signed-off-by: Felix Fietkau + switch (xt_family(par)) { + case NFPROTO_IPV4: + fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; ++ fl.u.ip4.flowi4_oif = ifindex; + break; + case NFPROTO_IPV6: + fl.u.ip6.saddr = ct->tuplehash[dir].tuple.dst.u3.in6; + fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; ++ fl.u.ip6.flowi6_oif = ifindex; + break; + } + @@ -321,8 +328,8 @@ Signed-off-by: Felix Fietkau +{ + struct dst_entry *this_dst, *other_dst; + -+ this_dst = xt_flowoffload_dst(ct, dir, par); -+ other_dst = xt_flowoffload_dst(ct, !dir, par); ++ this_dst = xt_flowoffload_dst(ct, !dir, par, xt_out(par)->ifindex); ++ other_dst = xt_flowoffload_dst(ct, dir, par, xt_in(par)->ifindex); + if (!this_dst || !other_dst) + return -ENOENT; + @@ -339,13 +346,15 @@ Signed-off-by: Felix Fietkau +flowoffload_tg(struct sk_buff *skb, const struct xt_action_param *par) +{ + const struct xt_flowoffload_target_info *info = par->targinfo; ++ struct tcphdr _tcph, *tcph = NULL; + enum ip_conntrack_info ctinfo; + enum ip_conntrack_dir dir; + struct nf_flow_route route; + struct flow_offload *flow; + struct nf_conn *ct; ++ struct net *net; + -+ if (xt_flowoffload_skip(skb)) ++ if (xt_flowoffload_skip(skb, xt_family(par))) + return XT_CONTINUE; + + ct = nf_ct_get(skb, &ctinfo); @@ -356,6 +365,11 @@ Signed-off-by: Felix Fietkau + case IPPROTO_TCP: + if (ct->proto.tcp.state != TCP_CONNTRACK_ESTABLISHED) + return XT_CONTINUE; ++ ++ tcph = skb_header_pointer(skb, par->thoff, ++ sizeof(_tcph), &_tcph); ++ if (unlikely(!tcph || tcph->fin || tcph->rst)) ++ return XT_CONTINUE; + break; + case IPPROTO_UDP: + break; @@ -363,11 +377,11 @@ Signed-off-by: Felix Fietkau + return XT_CONTINUE; + } + -+ if (test_bit(IPS_HELPER_BIT, &ct->status)) ++ if (nf_ct_ext_exist(ct, NF_CT_EXT_HELPER) || ++ ct->status & IPS_SEQ_ADJUST) + return XT_CONTINUE; + -+ if (ctinfo == IP_CT_NEW || -+ ctinfo == IP_CT_RELATED) ++ if (!nf_ct_is_confirmed(ct)) + return XT_CONTINUE; + + if (!xt_in(par) || !xt_out(par)) @@ -385,12 +399,21 @@ Signed-off-by: Felix Fietkau + if (!flow) + goto err_flow_alloc; + ++ if (tcph) { ++ ct->proto.tcp.seen[0].flags |= IP_CT_TCP_FLAG_BE_LIBERAL; ++ ct->proto.tcp.seen[1].flags |= IP_CT_TCP_FLAG_BE_LIBERAL; ++ } ++ + if (flow_offload_add(&nf_flowtable, flow) < 0) + goto err_flow_add; + + xt_flowoffload_check_device(xt_in(par)); + xt_flowoffload_check_device(xt_out(par)); + ++ net = read_pnet(&nf_flowtable.ft_net); ++ if (!net) ++ write_pnet(&nf_flowtable.ft_net, xt_net(par)); ++ + if (info->flags & XT_FLOWOFFLOAD_HW) + nf_flow_offload_hw_add(xt_net(par), flow, ct); + @@ -439,10 +462,41 @@ Signed-off-by: Felix Fietkau + nf_flow_table_free(table); +} + ++static int flow_offload_netdev_event(struct notifier_block *this, ++ unsigned long event, void *ptr) ++{ ++ struct xt_flowoffload_hook *hook = NULL; ++ struct net_device *dev = netdev_notifier_info_to_dev(ptr); ++ ++ if (event != NETDEV_UNREGISTER) ++ return NOTIFY_DONE; ++ ++ spin_lock_bh(&hooks_lock); ++ hook = flow_offload_lookup_hook(dev); ++ if (hook) { ++ hlist_del(&hook->list); ++ } ++ spin_unlock_bh(&hooks_lock); ++ if (hook) { ++ nf_unregister_net_hook(hook->net, &hook->ops); ++ kfree(hook); ++ } ++ ++ nf_flow_table_cleanup(dev_net(dev), dev); ++ ++ return NOTIFY_DONE; ++} ++ ++static struct notifier_block flow_offload_netdev_notifier = { ++ .notifier_call = flow_offload_netdev_event, ++}; ++ +static int __init xt_flowoffload_tg_init(void) +{ + int ret; + ++ register_netdevice_notifier(&flow_offload_netdev_notifier); ++ + INIT_DELAYED_WORK(&hook_work, xt_flowoffload_hook_work); + + ret = xt_flowoffload_table_init(&nf_flowtable); @@ -460,6 +514,7 @@ Signed-off-by: Felix Fietkau +{ + xt_unregister_target(&offload_tg_reg); + xt_flowoffload_table_cleanup(&nf_flowtable); ++ unregister_netdevice_notifier(&flow_offload_netdev_notifier); +} + +MODULE_LICENSE("GPL"); diff --git a/target/linux/generic/hack-4.19/940-cleanup-offload-hooks-on-netdev-unregister.patch b/target/linux/generic/hack-4.19/940-cleanup-offload-hooks-on-netdev-unregister.patch deleted file mode 100644 index 1079d94fe3..0000000000 --- a/target/linux/generic/hack-4.19/940-cleanup-offload-hooks-on-netdev-unregister.patch +++ /dev/null @@ -1,91 +0,0 @@ -From ae56e27e30122f82d244f9eb35fcab8fa60e0d31 Mon Sep 17 00:00:00 2001 -From: Chen Minqiang -Date: Sun, 29 Apr 2018 14:08:57 +0800 -Subject: [PATCH] cleanup offload hooks on netdev unregister - -This should fix crashdump on reboot when FLOWOFFLOAD enabled - -kmsg: -[ 84.188081] Workqueue: events_power_efficient xt_flowoffload_hook_work [xt_FLOWOFFLOAD] -[ 84.209326] task: ffff88000ecd0c80 task.stack: ffffc90000068000 -[ 84.224706] RIP: 0010:__nf_unregister_net_hook+0x1/0x90 -[ 84.242911] RSP: 0018:ffffc9000006be30 EFLAGS: 00010202 -[ 84.257405] RAX: 0000000000000000 RBX: ffff88000c5b3228 RCX: 0000000100170001 -[ 84.292175] RDX: ffff88000ecd0c80 RSI: ffff88000c5b3228 RDI: 6b6b6b6b6b6b6b6b -[ 84.305095] RBP: ffffc9000006be58 R08: ffff88000c5b3578 R09: ffff88000c5b3538 -[ 84.325980] R10: ffffc9000006be50 R11: ffff88000fc1f310 R12: ffffffff81e6c580 -[ 84.396514] R13: ffff88000d1723d0 R14: ffff88000ec0fc00 R15: 0000000000000000 -[ 84.459500] FS: 0000000000000000(0000) GS:ffff88000fc00000(0000) knlGS:0000000000000000 -[ 84.525121] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 -[ 84.565460] CR2: 0000000000a931d8 CR3: 0000000001e08006 CR4: 00000000000606f0 -[ 84.638311] Call Trace: -[ 84.655229] ? nf_unregister_net_hook+0x88/0xd0 -[ 84.706898] xt_flowoffload_hook_work+0x12a/0x17a [xt_FLOWOFFLOAD] -[ 84.765504] process_one_work+0x1c4/0x310 -[ 84.799558] worker_thread+0x20b/0x3c0 -[ 84.850119] kthread+0x112/0x120 -[ 84.884839] ? process_one_work+0x310/0x310 -[ 84.923571] ? kthread_create_on_node+0x40/0x40 -[ 84.966100] ret_from_fork+0x35/0x40 -[ 84.981738] Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 8b 05 c1 f1 99 00 55 48 89 e5 48 85 c0 75 02 0f 0b e8 b9 f6 30 00 5d c3 0f 1f 80 00 00 00 00 55 <0f> b7 0f 48 89 e5 48 89 c8 48 c1 e0 04 48 8d 54 07 08 31 c0 eb -[ 85.100453] RIP: __nf_unregister_net_hook+0x1/0x90 RSP: ffffc9000006be30 -[ 85.111658] ---[ end trace 5c25a390045cac75 ]--- -[ 85.124535] Kernel panic - not syncing: Fatal exception - -Signed-off-by: Chen Minqiang ---- - net/netfilter/xt_FLOWOFFLOAD.c | 32 ++++++++++++++++++++++++++++++++ - 1 file changed, 32 insertions(+) - ---- a/net/netfilter/xt_FLOWOFFLOAD.c -+++ b/net/netfilter/xt_FLOWOFFLOAD.c -@@ -343,10 +343,41 @@ static void xt_flowoffload_table_cleanup - nf_flow_table_free(table); - } - -+static int flow_offload_netdev_event(struct notifier_block *this, -+ unsigned long event, void *ptr) -+{ -+ struct xt_flowoffload_hook *hook = NULL; -+ struct net_device *dev = netdev_notifier_info_to_dev(ptr); -+ -+ if (event != NETDEV_UNREGISTER) -+ return NOTIFY_DONE; -+ -+ spin_lock_bh(&hooks_lock); -+ hook = flow_offload_lookup_hook(dev); -+ if (hook) { -+ hlist_del(&hook->list); -+ } -+ spin_unlock_bh(&hooks_lock); -+ if (hook) { -+ nf_unregister_net_hook(hook->net, &hook->ops); -+ kfree(hook); -+ } -+ -+ nf_flow_table_cleanup(dev_net(dev), dev); -+ -+ return NOTIFY_DONE; -+} -+ -+static struct notifier_block flow_offload_netdev_notifier = { -+ .notifier_call = flow_offload_netdev_event, -+}; -+ - static int __init xt_flowoffload_tg_init(void) - { - int ret; - -+ register_netdevice_notifier(&flow_offload_netdev_notifier); -+ - INIT_DELAYED_WORK(&hook_work, xt_flowoffload_hook_work); - - ret = xt_flowoffload_table_init(&nf_flowtable); -@@ -364,6 +395,7 @@ static void __exit xt_flowoffload_tg_exi - { - xt_unregister_target(&offload_tg_reg); - xt_flowoffload_table_cleanup(&nf_flowtable); -+ unregister_netdevice_notifier(&flow_offload_netdev_notifier); - } - - MODULE_LICENSE("GPL"); diff --git a/target/linux/generic/pending-4.14/640-netfilter-nf_flow_table-add-hardware-offload-support.patch b/target/linux/generic/pending-4.14/640-netfilter-nf_flow_table-add-hardware-offload-support.patch index f0b1704f3b..93432f1bfd 100644 --- a/target/linux/generic/pending-4.14/640-netfilter-nf_flow_table-add-hardware-offload-support.patch +++ b/target/linux/generic/pending-4.14/640-netfilter-nf_flow_table-add-hardware-offload-support.patch @@ -85,7 +85,7 @@ Signed-off-by: Pablo Neira Ayuso struct flow_offload { struct flow_offload_tuple_rhash tuplehash[FLOW_OFFLOAD_DIR_MAX]; -@@ -126,6 +133,22 @@ unsigned int nf_flow_offload_ip_hook(voi +@@ -125,6 +132,22 @@ unsigned int nf_flow_offload_ip_hook(voi unsigned int nf_flow_offload_ipv6_hook(void *priv, struct sk_buff *skb, const struct nf_hook_state *state); @@ -156,7 +156,7 @@ Signed-off-by: Pablo Neira Ayuso obj-$(CONFIG_NETFILTER_XTABLES) += x_tables.o xt_tcpudp.o --- a/net/netfilter/nf_flow_table_core.c +++ b/net/netfilter/nf_flow_table_core.c -@@ -218,10 +218,16 @@ int flow_offload_add(struct nf_flowtable +@@ -219,10 +219,16 @@ int flow_offload_add(struct nf_flowtable } EXPORT_SYMBOL_GPL(flow_offload_add); @@ -173,7 +173,7 @@ Signed-off-by: Pablo Neira Ayuso rhashtable_remove_fast(&flow_table->rhashtable, &flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].node, -@@ -236,6 +242,9 @@ static void flow_offload_del(struct nf_f +@@ -237,6 +243,9 @@ static void flow_offload_del(struct nf_f if (!(flow->flags & FLOW_OFFLOAD_TEARDOWN)) flow_offload_fixup_ct_state(e->ct); @@ -183,7 +183,7 @@ Signed-off-by: Pablo Neira Ayuso flow_offload_free(flow); } -@@ -349,6 +358,9 @@ static int nf_flow_offload_gc_step(struc +@@ -350,6 +359,9 @@ static int nf_flow_offload_gc_step(struc if (!teardown) nf_ct_offload_timeout(flow); @@ -193,7 +193,7 @@ Signed-off-by: Pablo Neira Ayuso if (nf_flow_has_expired(flow) || teardown) flow_offload_del(flow_table, flow); } -@@ -484,10 +496,43 @@ int nf_flow_dnat_port(const struct flow_ +@@ -485,10 +497,43 @@ int nf_flow_dnat_port(const struct flow_ } EXPORT_SYMBOL_GPL(nf_flow_dnat_port); @@ -237,7 +237,7 @@ Signed-off-by: Pablo Neira Ayuso INIT_DEFERRABLE_WORK(&flowtable->gc_work, nf_flow_offload_work_gc); err = rhashtable_init(&flowtable->rhashtable, -@@ -525,6 +570,8 @@ static void nf_flow_table_iterate_cleanu +@@ -526,6 +571,8 @@ static void nf_flow_table_iterate_cleanu { nf_flow_table_iterate(flowtable, nf_flow_table_do_cleanup, dev); flush_delayed_work(&flowtable->gc_work); @@ -246,7 +246,7 @@ Signed-off-by: Pablo Neira Ayuso } void nf_flow_table_cleanup(struct net *net, struct net_device *dev) -@@ -538,6 +585,26 @@ void nf_flow_table_cleanup(struct net *n +@@ -539,6 +586,26 @@ void nf_flow_table_cleanup(struct net *n } EXPORT_SYMBOL_GPL(nf_flow_table_cleanup); @@ -273,7 +273,7 @@ Signed-off-by: Pablo Neira Ayuso void nf_flow_table_free(struct nf_flowtable *flow_table) { mutex_lock(&flowtable_lock); -@@ -547,9 +614,58 @@ void nf_flow_table_free(struct nf_flowta +@@ -548,9 +615,58 @@ void nf_flow_table_free(struct nf_flowta nf_flow_table_iterate(flow_table, nf_flow_table_do_cleanup, NULL); WARN_ON(!nf_flow_offload_gc_step(flow_table)); rhashtable_destroy(&flow_table->rhashtable); @@ -553,7 +553,7 @@ Signed-off-by: Pablo Neira Ayuso nest = nla_nest_start(skb, NFTA_FLOWTABLE_HOOK); --- a/net/netfilter/nft_flow_offload.c +++ b/net/netfilter/nft_flow_offload.c -@@ -121,6 +121,9 @@ static void nft_flow_offload_eval(const +@@ -110,6 +110,9 @@ static void nft_flow_offload_eval(const if (ret < 0) goto err_flow_add; diff --git a/target/linux/generic/pending-4.14/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch b/target/linux/generic/pending-4.14/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch index 8f0793491b..ad6f42bb4e 100644 --- a/target/linux/generic/pending-4.14/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch +++ b/target/linux/generic/pending-4.14/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch @@ -26,7 +26,7 @@ Signed-off-by: Felix Fietkau struct flow_offload_tuple_rhash tuplehash[FLOW_OFFLOAD_DIR_MAX]; --- a/net/netfilter/nf_flow_table_core.c +++ b/net/netfilter/nf_flow_table_core.c -@@ -358,7 +358,7 @@ static int nf_flow_offload_gc_step(struc +@@ -359,7 +359,7 @@ static int nf_flow_offload_gc_step(struc if (!teardown) nf_ct_offload_timeout(flow); diff --git a/target/linux/generic/pending-4.19/640-netfilter-nf_flow_table-add-hardware-offload-support.patch b/target/linux/generic/pending-4.19/640-netfilter-nf_flow_table-add-hardware-offload-support.patch index f85e7523c2..d6fe0f7d53 100644 --- a/target/linux/generic/pending-4.19/640-netfilter-nf_flow_table-add-hardware-offload-support.patch +++ b/target/linux/generic/pending-4.19/640-netfilter-nf_flow_table-add-hardware-offload-support.patch @@ -552,7 +552,7 @@ Signed-off-by: Pablo Neira Ayuso nest = nla_nest_start(skb, NFTA_FLOWTABLE_HOOK); --- a/net/netfilter/nft_flow_offload.c +++ b/net/netfilter/nft_flow_offload.c -@@ -138,6 +138,9 @@ static void nft_flow_offload_eval(const +@@ -127,6 +127,9 @@ static void nft_flow_offload_eval(const if (ret < 0) goto err_flow_add; diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c index d5c3b47a40..10d9fd7a3e 100644 --- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -934,7 +934,7 @@ static int fe_poll_rx(struct napi_struct *napi, int budget, skb->protocol = eth_type_trans(skb, netdev); if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX && - RX_DMA_TAG & trxd.rxd2 && RX_DMA_VID(trxd.rxd3)) + RX_DMA_VID(trxd.rxd3)) __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), RX_DMA_VID(trxd.rxd3)); From 18a87273c0eae2847a6ca09f493d7fa9bb42add9 Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Thu, 26 Sep 2019 20:35:50 -0700 Subject: [PATCH 07/10] ramips: fix XiaoYu XY-C5 dts --- target/linux/ramips/dts/XiaoYu-C5.dts | 57 +++++++++++---------------- target/linux/ramips/image/mt7621.mk | 3 +- 2 files changed, 23 insertions(+), 37 deletions(-) diff --git a/target/linux/ramips/dts/XiaoYu-C5.dts b/target/linux/ramips/dts/XiaoYu-C5.dts index 5152714b8b..001ebc9dd3 100644 --- a/target/linux/ramips/dts/XiaoYu-C5.dts +++ b/target/linux/ramips/dts/XiaoYu-C5.dts @@ -6,44 +6,37 @@ #include / { - compatible = "XiaoYu-C5", "mediatek,mt7621-soc"; - model = "XiaoYu-C5"; + compatible = "xiaoyu,xy-c5", "mediatek,mt7621-soc"; + model = "XiaoYu XY-C5"; aliases { - led-boot = &led_system; - led-failsafe = &led_system; - led-running = &led_system; - led-upgrade = &led_system; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; + led-boot = &led_sys; + led-failsafe = &led_sys; + led-running = &led_sys; + led-upgrade = &led_sys; + label-mac-device = ðernet; }; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "console=ttyS0,57600"; }; - gpio-leds { + leds { compatible = "gpio-leds"; - led_system:system { - label = "XiaoYu-C5:green:system"; - gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; + work { + label = "xy-c5:green:work"; + gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; }; - work { - label = "XiaoYu-C5:green:usb3.0"; - gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; - trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; - linux,default-trigger = "usbport"; + led_sys: sys { + label = "xy-c5:green:sys"; + gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; }; - gpio-keys-polled { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + keys { + compatible = "gpio-keys"; reset { label = "reset"; @@ -51,17 +44,15 @@ linux,code = ; }; }; - }; &spi0 { status = "okay"; - m25p80@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <10000000>; - m25p,chunked-io = <32>; + spi-max-frequency = <25000000>; partitions { compatible = "fixed-partitions"; @@ -89,11 +80,7 @@ partition@50000 { compatible = "denx,uimage"; label = "firmware"; - reg = <0x50000 0x1fa0000>; - }; - partition@1ff0000 { - label = "mib0"; - reg = <0x1ff0000 0x10000>; + reg = <0x50000 0x1fb0000>; }; }; }; @@ -110,8 +97,8 @@ &pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "i2c", "jtag" , "uart2", "uart3"; + ralink,group = "uart3", "wdt"; ralink,function = "gpio"; }; }; -}; +}; \ No newline at end of file diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index cc66390668..ce08c98b00 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -584,8 +584,7 @@ define Device/XiaoYu-C5 DTS := XiaoYu-C5 IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_TITLE := XiaoYu-C5 - DEVICE_PACKAGES := \ - kmod-ata-core kmod-ata-ahci kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 endef TARGET_DEVICES += XiaoYu-C5 From 0a23772078de58ce14c005a43db3672577ba7c16 Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Thu, 26 Sep 2019 20:41:34 -0700 Subject: [PATCH 08/10] ramips: fix XiaoYu C5 led setting --- target/linux/ramips/base-files/etc/board.d/01_leds | 1 - target/linux/ramips/dts/XiaoYu-C5.dts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index fd0a4ea968..6f2e624a1d 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -416,7 +416,6 @@ wrh-300cr) set_wifi_led "$boardname:green:wlan" ucidef_set_led_netdev "lan" "lan" "$boardname:green:ethernet" "eth0" ;; -XiaoYu-C5|\ xzwifi,creativebox-v1) ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10" ;; diff --git a/target/linux/ramips/dts/XiaoYu-C5.dts b/target/linux/ramips/dts/XiaoYu-C5.dts index 001ebc9dd3..6b7cecb26d 100644 --- a/target/linux/ramips/dts/XiaoYu-C5.dts +++ b/target/linux/ramips/dts/XiaoYu-C5.dts @@ -6,8 +6,8 @@ #include / { - compatible = "xiaoyu,xy-c5", "mediatek,mt7621-soc"; - model = "XiaoYu XY-C5"; + compatible = "XiaoYu-C5", "mediatek,mt7621-soc"; + model = "XiaoYu-C5"; aliases { led-boot = &led_sys; From 65b25ceb18d40d9de26d3aac5697a922b68a936f Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Thu, 26 Sep 2019 21:16:13 -0700 Subject: [PATCH 09/10] ramips: add wm8960 asoc sound driver for mt762x --- target/linux/ramips/modules.mk | 15 ++ .../0048-asoc-add-mt7620-support.patch | 181 +++++++++++++++++- 2 files changed, 194 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk index b604110b1e..1bdde9c6dd 100644 --- a/target/linux/ramips/modules.mk +++ b/target/linux/ramips/modules.mk @@ -136,3 +136,18 @@ define KernelPackage/sound-mt7620/description endef $(eval $(call KernelPackage,sound-mt7620)) + +define KernelPackage/sound-mt76x8-wm8960 + TITLE:=MT76x8 WM8960 ALSA SoC Machine Driver + DEPENDS:=@TARGET_ramips +kmod-sound-mt7620 +kmod-i2c-mt7628 @!TARGET_ramips_rt288x + KCONFIG:=CONFIG_SND_SOC_MT76X8_WM8960 + FILES:=$(LINUX_DIR)/sound/soc/ralink/snd-soc-mt76x8-wm8960.ko + AUTOLOAD:=$(call AutoLoad,91,snd-soc-mt76x8-wm8960) + $(call AddDepends/sound) +endef + +define KernelPackage/sound-mt76x8-wm8960/description + ASoC Audio driver for Ralink SoC with WM8960 codec. +endef + +$(eval $(call KernelPackage,sound-mt76x8-wm8960)) diff --git a/target/linux/ramips/patches-4.14/0048-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-4.14/0048-asoc-add-mt7620-support.patch index 5f105c69e2..ffbe782635 100644 --- a/target/linux/ramips/patches-4.14/0048-asoc-add-mt7620-support.patch +++ b/target/linux/ramips/patches-4.14/0048-asoc-add-mt7620-support.patch @@ -58,7 +58,7 @@ Signed-off-by: John Crispin obj-$(CONFIG_SND_SOC) += sirf/ --- /dev/null +++ b/sound/soc/ralink/Kconfig -@@ -0,0 +1,8 @@ +@@ -0,0 +1,15 @@ +config SND_RALINK_SOC_I2S + depends on RALINK && SND_SOC && !SOC_RT288X + select SND_SOC_GENERIC_DMAENGINE_PCM @@ -67,15 +67,26 @@ Signed-off-by: John Crispin + help + Say Y if you want to use I2S protocol and I2S codec on Ralink/MediaTek + based boards. ++ ++config SND_SOC_MT76X8_WM8960 ++ tristate "ASoC Audio driver for Ralink SoC with WM8960 codec" ++ depends on SND_RALINK_SOC_I2S && I2C ++ select SND_SOC_WM8960 ++ help ++ Say Y if you want to use WM8960 codec on Ralink/MediaTek based boards. --- /dev/null +++ b/sound/soc/ralink/Makefile -@@ -0,0 +1,6 @@ +@@ -0,0 +1,10 @@ +# +# Ralink/MediaTek Platform Support +# +snd-soc-ralink-i2s-objs := ralink-i2s.o + +obj-$(CONFIG_SND_RALINK_SOC_I2S) += snd-soc-ralink-i2s.o ++ ++snd-soc-mt76x8-wm8960-objs := mt76x8-wm8960.o ++ ++obj-$(CONFIG_SND_SOC_MT76X8_WM8960) += snd-soc-mt76x8-wm8960.o --- /dev/null +++ b/sound/soc/ralink/ralink-i2s.c @@ -0,0 +1,965 @@ @@ -1044,3 +1055,169 @@ Signed-off-by: John Crispin +MODULE_DESCRIPTION("Ralink/MediaTek I2S driver"); +MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:" DRV_NAME); +--- /dev/null ++++ b/sound/soc/ralink/mt76x8-wm8960.c +@@ -0,0 +1,163 @@ ++/* ++ * mt76x8-wm8960.c -- MT76x8 WM8960 ALSA SoC machine driver ++ * ++ * Copyright 2018 Jack Chen ++ * ++ * Based on mt2701-wm8960.c ++ * Copyright (c) 2017 MediaTek Inc. ++ * Author: Ryder Lee ++ * ++ * The code contained herein is licensed under the GNU General Public ++ * License. You may obtain a copy of the GNU General Public License ++ * Version 2 or later at the following locations: ++ * ++ * http://www.opensource.org/licenses/gpl-license.html ++ * http://www.gnu.org/copyleft/gpl.html ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#include "../codecs/wm8960.h" ++ ++static const struct snd_soc_dapm_widget mt76x8_wm8960_dapm_widgets[] = { ++ SND_SOC_DAPM_HP("Headphone", NULL), ++ SND_SOC_DAPM_SPK("Ext Spk", NULL), ++ SND_SOC_DAPM_LINE("Line In", NULL), ++ SND_SOC_DAPM_MIC("Mic", NULL), ++}; ++ ++static int mt76x8_wm8960_ops_hw_params(struct snd_pcm_substream *substream, ++ struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *codec_dai = rtd->codec_dai; ++ struct snd_soc_dai *cpu_dai = rtd->cpu_dai; ++ unsigned int mclk_rate; ++ unsigned int rate = params_rate(params); ++ unsigned int div_mclk_over_bck = rate > 192000 ? 2 : 4; ++ unsigned int div_bck_over_lrck = 64; ++ ++ mclk_rate = rate * div_bck_over_lrck * div_mclk_over_bck; ++ ++ snd_soc_dai_set_sysclk(cpu_dai, 0, mclk_rate, SND_SOC_CLOCK_OUT); ++ snd_soc_dai_set_sysclk(codec_dai, 0, mclk_rate, SND_SOC_CLOCK_IN); ++ ++ return 0; ++} ++ ++static struct snd_soc_ops mt76x8_wm8960_ops = { ++ .hw_params = mt76x8_wm8960_ops_hw_params, ++}; ++ ++static struct snd_soc_dai_link mt76x8_wm8960_dai_links[] = { ++ { ++ .name = "wm8960-codec", ++ .stream_name = "wm8960-hifi", ++ .cpu_dai_name = "ralink-i2s", ++ .codec_dai_name = "wm8960-hifi", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS, ++ .ops = &mt76x8_wm8960_ops, ++ .dpcm_playback = 1, ++ .dpcm_capture = 1, ++ }, ++}; ++ ++static struct snd_soc_card mt76x8_wm8960_card = { ++ .name = "MT76x8 WM8960 ASoC Card", ++ .owner = THIS_MODULE, ++ .dai_link = mt76x8_wm8960_dai_links, ++ .num_links = ARRAY_SIZE(mt76x8_wm8960_dai_links), ++ .dapm_widgets = mt76x8_wm8960_dapm_widgets, ++ .num_dapm_widgets = ARRAY_SIZE(mt76x8_wm8960_dapm_widgets), ++}; ++ ++static int mt76x8_wm8960_machine_probe(struct platform_device *pdev) ++{ ++ struct snd_soc_card *card = &mt76x8_wm8960_card; ++ struct device_node *platform_node, *codec_node; ++ struct platform_device *platform_dev; ++ struct i2c_client *codec_dev; ++ int ret, i; ++ ++ platform_node = of_parse_phandle(pdev->dev.of_node, "mediatek,platform", 0); ++ if (!platform_node) { ++ dev_err(&pdev->dev, "property 'platform' missing or invalid\n"); ++ return -EINVAL; ++ } ++ platform_dev = of_find_device_by_node(platform_node); ++ if (!platform_dev) { ++ dev_err(&pdev->dev, "failed to find platform device\n"); ++ return -EINVAL; ++ } ++ for (i=0; inum_links; i++) { ++ if (mt76x8_wm8960_dai_links[i].platform_name) { ++ continue; ++ } ++ mt76x8_wm8960_dai_links[i].platform_of_node = platform_node; ++ } ++ ++ card->dev = &pdev->dev; ++ ++ codec_node = of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0); ++ if (!codec_node) { ++ dev_err(&pdev->dev, "property 'audio-codec' missing or invalid\n"); ++ return -EINVAL; ++ } ++ codec_dev = of_find_i2c_device_by_node(codec_node); ++ if (!codec_dev || !codec_dev->dev.driver) { ++ dev_err(&pdev->dev, "failed to find audio codec device\n"); ++ return -EINVAL; ++ } ++ for (i=0; inum_links; i++) { ++ if (mt76x8_wm8960_dai_links[i].codec_name) { ++ continue; ++ } ++ mt76x8_wm8960_dai_links[i].codec_of_node = codec_node; ++ } ++ ++ ret = snd_soc_of_parse_audio_routing(card, "audio-routing"); ++ if (ret) { ++ dev_err(&pdev->dev, "failed to parse audio-routing: %d\n", ret); ++ return ret; ++ } ++ ++ ret = devm_snd_soc_register_card(&pdev->dev, card); ++ if (ret) { ++ dev_err(&pdev->dev, "%s snd_soc_register_card fail %d\n", __func__, ret); ++ } ++ ++ return ret; ++} ++ ++#ifdef CONFIG_OF ++static const struct of_device_id mt76x8_wm8960_machine_dt_match[] = { ++ {.compatible = "mediatek,mt76x8-wm8960-machine"}, ++ {} ++}; ++#endif ++ ++static struct platform_driver mt76x8_wm8960_machine = { ++ .driver = { ++ .name = "mt76x8-wm8960", ++ .owner = THIS_MODULE, ++#ifdef CONFIG_OF ++ .of_match_table = mt76x8_wm8960_machine_dt_match, ++#endif ++ }, ++ .probe = mt76x8_wm8960_machine_probe, ++}; ++ ++module_platform_driver(mt76x8_wm8960_machine); ++ ++/* Module information */ ++MODULE_DESCRIPTION("MT76x8 WM8960 ALSA SoC machine driver"); ++MODULE_AUTHOR("Jack Chen "); ++MODULE_LICENSE("GPL v2"); ++MODULE_ALIAS("MT76x8 WM8960 ASoC driver"); From ef6133ce6cc9a6008f4eccde984651155845f096 Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Sun, 29 Sep 2019 19:36:22 -0700 Subject: [PATCH 10/10] luci ssr plus: add port control --- package/lean/luci-app-ssr-plus/Makefile | 2 +- .../luasrc/model/cbi/shadowsocksr/client.lua | 5 ++++ .../luci-app-ssr-plus/po/zh-cn/ssr-plus.po | 9 +++++++ .../root/etc/init.d/shadowsocksr | 8 ++++++ .../luci-app-ssr-plus/root/usr/bin/ssr-rules | 25 ++++++++++++------- package/network/utils/iwinfo/Makefile | 8 +++--- 6 files changed, 43 insertions(+), 14 deletions(-) diff --git a/package/lean/luci-app-ssr-plus/Makefile b/package/lean/luci-app-ssr-plus/Makefile index d957852cec..05d3750ec4 100644 --- a/package/lean/luci-app-ssr-plus/Makefile +++ b/package/lean/luci-app-ssr-plus/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=1 -PKG_RELEASE:=99 +PKG_RELEASE:=100 PKG_CONFIG_DEPENDS:= CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks \ CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_V2ray \ diff --git a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua index f2f1b74d04..db3e504477 100644 --- a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua +++ b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua @@ -59,6 +59,11 @@ o:value("all", translate("Global Mode")) o:value("oversea", translate("Oversea Mode")) o.default = gfw +o = s:option(ListValue, "dports", translate("Proxy Ports")) +o:value("1", translate("All Ports")) +o:value("2", translate("Only Common Ports")) +o.default = 1 + o = s:option(ListValue, "pdnsd_enable", translate("Resolve Dns Mode")) o:value("1", translate("Use Pdnsd tcp query and cache")) o:value("0", translate("Use Local DNS Service listen port 5335")) diff --git a/package/lean/luci-app-ssr-plus/po/zh-cn/ssr-plus.po b/package/lean/luci-app-ssr-plus/po/zh-cn/ssr-plus.po index 56da600a04..ac7590ba45 100644 --- a/package/lean/luci-app-ssr-plus/po/zh-cn/ssr-plus.po +++ b/package/lean/luci-app-ssr-plus/po/zh-cn/ssr-plus.po @@ -499,3 +499,12 @@ msgstr "4 线程" msgid "8 Threads" msgstr "8 线程" + +msgid "Proxy Ports" +msgstr "需要代理的端口" + +msgid "All Ports" +msgstr "所有端口(默认)" + +msgid "Only Common Ports" +msgstr "仅常用端口(不走P2P流量到代理)" diff --git a/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr b/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr index 3e3bb8a4e6..bb8a6f75ea 100755 --- a/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr +++ b/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr @@ -188,6 +188,12 @@ start_rules() { gfwmode="-z" fi + local dports=$(uci_get_by_type global dports 1) + if [ $dports = "1" ] ;then + proxyport=" " + else + proxyport="-m multiport --dports 22,53,80,443 " + fi /usr/bin/ssr-rules \ -s "$server" \ @@ -200,6 +206,7 @@ start_rules() { -w "$(uci_get_by_type access_control wan_fw_ips)" \ -p "$(uci_get_by_type access_control lan_fp_ips)" \ -G "$(uci_get_by_type access_control lan_gm_ips)" \ + -D "$proxyport" \ $(get_arg_out) $gfwmode $ARG_UDP return $? @@ -474,6 +481,7 @@ start() { GLOBAL_SERVER=$switch_server switch_enable=1 fi + if rules ;then start_redir diff --git a/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules b/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules index 463f52b415..d30b3d5699 100755 --- a/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules +++ b/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules @@ -28,6 +28,7 @@ usage() { -w wan ip of will be forwarded -p lan ip of will be global proxy -G lan ip of will be game mode proxy + -D proxy ports -e extra options for iptables -o apply the rules to the OUTPUT chain -O apply the global rules to the OUTPUT chain @@ -71,6 +72,9 @@ flush_r() { } ipset_r() { + ipset -N gmlan hash:net 2>/dev/null + for ip in $LAN_GM_IP; do ipset -! add gmlan $ip ; done + if [ "$RUNMODE" = "router" ] ;then ipset -! -R <<-EOF || return 1 create ss_spec_wan_ac hash:net @@ -88,8 +92,6 @@ EOF for ip in $WAN_FW_IP; do ipset -! add gfwlist $ip ; done $IPT -N SS_SPEC_WAN_AC $IPT -A SS_SPEC_WAN_AC -m set --match-set gfwlist dst -j SS_SPEC_WAN_FW - ipset -N gmlan hash:net 2>/dev/null - for ip in $LAN_GM_IP; do ipset -! add gmlan $ip ; done $IPT -A SS_SPEC_WAN_AC -m set --match-set gmlan src -m set ! --match-set china dst -j SS_SPEC_WAN_FW $IPT -A SS_SPEC_WAN_AC -m set --match-set china dst -j RETURN $IPT -I SS_SPEC_WAN_AC -d $server -j RETURN @@ -126,7 +128,7 @@ fw_rule() { $IPT -A SS_SPEC_WAN_FW -d 192.168.0.0/16 -j RETURN $IPT -A SS_SPEC_WAN_FW -d 224.0.0.0/4 -j RETURN $IPT -A SS_SPEC_WAN_FW -d 240.0.0.0/4 -j RETURN - $IPT -A SS_SPEC_WAN_FW -p tcp \ + $IPT -A SS_SPEC_WAN_FW -p tcp $PROXY_PORTS \ -j REDIRECT --to-ports $local_port 2>/dev/null || { loger 3 "Can't redirect, please check the iptables." exit 1 @@ -189,26 +191,28 @@ tp_rule() { $ipt -A SS_SPEC_TPROXY -p udp -d 240.0.0.0/4 -j RETURN $ipt -A SS_SPEC_TPROXY -p udp -d $SERVER -j RETURN - $ipt -A SS_SPEC_TPROXY -p udp -m set --match-set fplan src \ + $ipt -A SS_SPEC_TPROXY -p udp $PROXY_PORTS -m set --match-set fplan src \ -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 if [ "$RUNMODE" = "router" ] ;then - $ipt -A SS_SPEC_TPROXY -p udp -m set ! --match-set ss_spec_wan_ac dst \ + $ipt -A SS_SPEC_TPROXY -p udp -m set --match-set gmlan src -m set ! --match-set china dst \ + -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 + $ipt -A SS_SPEC_TPROXY -p udp $PROXY_PORTS -m set ! --match-set ss_spec_wan_ac dst \ -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 elif [ "$RUNMODE" = "gfw" ] ;then $ipt -A SS_SPEC_TPROXY -p udp -m set --match-set china dst -j RETURN $ipt -A SS_SPEC_TPROXY -p udp -m set --match-set gmlan src -m set ! --match-set china dst \ -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 - $ipt -A SS_SPEC_TPROXY -p udp -m set --match-set gfwlist dst \ + $ipt -A SS_SPEC_TPROXY -p udp -m set $PROXY_PORTS --match-set gfwlist dst \ -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 elif [ "$RUNMODE" = "oversea" ] ;then - $ipt -A SS_SPEC_TPROXY -p udp -m set --match-set china dst \ + $ipt -A SS_SPEC_TPROXY -p udp $PROXY_PORTS -m set --match-set china dst \ -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 elif [ "$RUNMODE" = "all" ] ;then - $ipt -A SS_SPEC_TPROXY -p udp -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 + $ipt -A SS_SPEC_TPROXY -p udp $PROXY_PORTS -j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01 fi $ipt -I PREROUTING 1 ${IFNAME:+-i $IFNAME} -p udp $EXT_ARGS $MATCH_SET \ @@ -288,7 +292,7 @@ EOF return 0 } -while getopts ":s:l:S:L:i:e:a:b:w:p:G:oOuUfgrczh" arg; do +while getopts ":s:l:S:L:i:e:a:b:w:p:G:D:oOuUfgrczh" arg; do case "$arg" in s) server=$OPTARG @@ -323,6 +327,9 @@ while getopts ":s:l:S:L:i:e:a:b:w:p:G:oOuUfgrczh" arg; do G) LAN_GM_IP=$OPTARG ;; + D) + PROXY_PORTS=$OPTARG + ;; o) OUTPUT=1 ;; diff --git a/package/network/utils/iwinfo/Makefile b/package/network/utils/iwinfo/Makefile index c737dd41e7..7c4839d3ee 100644 --- a/package/network/utils/iwinfo/Makefile +++ b/package/network/utils/iwinfo/Makefile @@ -11,9 +11,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/iwinfo.git -PKG_SOURCE_DATE:=2018-12-25 -PKG_SOURCE_VERSION:=dd508af481406bbbe42eaa20a54226645f0301cc -PKG_MIRROR_HASH:=1137b2bc2bdb8157b0ed7dfd6902453285df765358469accc4916a79a7aab989 +PKG_SOURCE_DATE:=2019-09-22 +PKG_SOURCE_VERSION:=313e82709ba90f3a966f0dd348bcad007ca316be +PKG_MIRROR_HASH:=9d81fbc867eadb91ae6045aef334146c3928c0d353e4aa271f83b55bfa37999d PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0 @@ -33,7 +33,7 @@ define Package/libiwinfo CATEGORY:=Libraries TITLE:=Generalized Wireless Information Library (iwinfo) DEPENDS:=+PACKAGE_kmod-cfg80211:libnl-tiny +libuci +libubus - ABI_VERSION:=$(PKG_RELEASE) + ABI_VERSION:=20181126 endef define Package/libiwinfo/description