summary'>refs'>log'>tree'>commit'>diffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2019-05-14 21:19:36 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2019-05-14 21:19:36 +0100
commit'>220c0b826e02ae6d6c6342b27067e0aa1f0f88b0 ( ('>patch)
tree'>2d5af1883498c10602875240c7ceadafb19e5531
parentsys-kernel/longterm-sources: Bump 4.19 (diff)
downloadetc-portage-patches-220c0b826e02ae6d6c6342b27067e0aa1f0f88b0.tar.gz
sys-kernel/stable-sources: Bump 5.0
--rw-r--r--r--'>sys-kernel/boest-v5.0.15/raspberrypi/0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch22
--rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0002-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch22
--rw-r--r--'>sys-kernel/boest-v5.0.15/raspberrypi/0003-smsx95xx-fix-crimes-against-truesize.patch22
--rw-r--r--'>sys-kernel/boest-v5.0.15/raspberrypi/0004-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch22
--rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0005-Allow-mac-address-to-be-set-in-smsc95xx.patch22
--rw-r--r--r--sys-kernel/boest-v5.0.15/raspberrypi/0006-Protect-__release_resource-against-resources-without.patch22
-rw-rw-r--r--'>sys-kernel/boest-v5.0.15/raspberrypi/0007-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch22
--rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0008-irq-bcm2836-Avoid-Invalid-trigger-warning.patch22
--rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0009-irqchip-bcm2835-Add-FIQ-support.patch22
-rw-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0010-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch22
-rw-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0011-spi-spidev-Completely-disable-the-spidev-warning.patch2
-rw-rw-r--r--'>sys-kernel/boest-v5.0.15/raspberrypi/0012-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch22
--rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0013-firmware-Updated-mailbox-header.patch22
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0014-rtc-Add-SPI-alias-for-pcf2123-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0015-watchdog-bcm2835-Support-setting-reboot-partition.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0016-reboot-Use-power-off-rather-than-busy-spinning-when-.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0017-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0018-Register-the-clocks-early-during-the-boot-process-so.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0019-bcm2835-rng-Avoid-initialising-if-already-enabled.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0020-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0021-clk-bcm2835-Add-claim-clocks-property.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0022-clk-bcm2835-Read-max-core-clock-from-firmware.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0023-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0024-sound-Demote-deferral-errors-to-INFO-level.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0025-Update-vfpmodule.c.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0026-i2c-bcm2835-Add-debug-support.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0027-mm-Remove-the-PFN-busy-warning.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0028-ASoC-Add-prompt-for-ICS43432-codec.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0029-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0030-lan78xx-Enable-LEDs-and-auto-negotiation.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0031-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0032-amba_pl011-Round-input-clock-up.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0033-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0034-amba_pl011-Add-cts-event-workaround-DT-property.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0035-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0036-Main-bcm2708-bcm2709-linux-port.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0037-Add-dwc_otg-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0038-bcm2708-framebuffer-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0039-fbdev-add-FBIOCOPYAREA-ioctl.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0040-Speed-up-console-framebuffer-imageblit-function.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0041-dmaengine-Add-support-for-BCM2708.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0042-MMC-added-alternative-MMC-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0043-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0044-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0045-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0046-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0047-Add-SMI-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0048-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0049-Add-SMI-NAND-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0050-Revert-Add-SMI-NAND-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0051-Add-cpufreq-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0052-Add-Chris-Boot-s-i2c-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0053-char-broadcom-Add-vcio-module.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0054-firmware-bcm2835-Support-ARCH_BCM270x.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0055-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0056-BCM2708-Add-core-Device-Tree-support.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0057-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0058-Added-Device-IDs-for-August-DVB-T-205.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0059-Improve-__copy_to_user-and-__copy_from_user-performa.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0060-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0061-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0062-ASoC-pcm512x-implement-set_tdm_slot-interface.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0063-ASoC-Add-support-for-Rpi-DAC.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0064-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0065-Added-support-for-HiFiBerry-DAC.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0066-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0067-Add-driver-for-rpi-proto.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0068-Add-Support-for-JustBoom-Audio-boards.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0069-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0070-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0071-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0072-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0073-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0074-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0075-Support-for-Blokas-Labs-pisound-board.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0076-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0077-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0078-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0079-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0080-Driver-support-for-Google-voiceHAT-soundcard.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0081-Driver-and-overlay-for-Allo-Katana-DAC.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0082-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0083-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0084-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0085-rpi_display-add-backlight-driver-and-overlay.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0086-bcm2835-virtgpio-Virtual-GPIO-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0087-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0088-OF-DT-Overlay-configfs-interface.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0089-brcm-adds-support-for-BCM43341-wifi.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0090-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0091-config-Add-default-configs.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0092-Add-arm64-configuration-and-device-tree-differences..patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0093-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0094-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0095-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0096-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0097-Revert-build-arm64-Add-rules-for-.dtbo-files-for-dts.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0098-cache-export-clean-and-invalidate.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0099-AXI-performance-monitor-driver-2222.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0100-mcp2515-Use-DT-supplied-interrupt-flags.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0101-cgroup-Disable-cgroup-memory-by-default.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0102-ARM-bcm2835-Set-Serial-number-and-Revision.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0103-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0104-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0105-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0106-raspberrypi-firmware-Export-the-general-transaction-.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0107-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0108-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0109-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0110-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0111-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0112-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0113-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0114-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0115-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0116-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0117-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0118-vc4_firmware_kms-fix-build.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0119-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0120-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0121-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0122-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0123-lan78xx-Read-initial-EEE-status-from-DT.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0124-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0125-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0126-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0127-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0128-of-configfs-Use-of_overlay_fdt_apply-API-call.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0129-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch2
-rw-r--r--'>sys-kernel/boest-v5.0.15/raspberrypi/0130-brcmfmac-Re-enable-firmware-roaming-support.patch2
-rw-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0131-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch22
-rw-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0132-Add-rpi-poe-fan-driver.patch22
--rw-r--r--r--sys-kernel/boest-v5.0.15/raspberrypi/0133-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0134-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0135-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0136-firmware-raspberrypi-Add-backward-compatible-get_thr.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0137-sc16is7xx-Don-t-spin-if-no-data-received.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0138-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0139-drivers-thermal-step_wise-add-support-for-hysteresis.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0140-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0141-Update-issue-templates-2736.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0142-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0143-lan78xx-disable-interrupts-for-PHY-irqs.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0144-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0145-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0146-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0147-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0148-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0149-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0150-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0151-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0152-arm64-dts-broadcom-Enable-fixups-for-overlays.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0153-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0154-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0155-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0156-spi-spi-bcm2835-Re-enable-HW-CS.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0157-spi-spi-bcm2835-Disable-forced-software-CS.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0158-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0159-mfd-Add-rpi_sense_core-of-compatible-string.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0160-configs-Enable-the-AD193x-codecs.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0161-lan78xx-EEE-support-is-now-a-PHY-property.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0162-Revert-staging-vchiq-delete-vchiq_killable.h.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0164-Revert-staging-vchiq-switch-to-wait_for_completion_k.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0165-Revert-staging-vchiq-rework-remove_event-handling.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0166-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0167-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0168-bcm2835-dma-Add-support-for-per-channel-flags.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0169-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0170-rtc-rv3028-add-new-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0171-rtc-rv3028-Add-backup-switchover-mode-support.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0172-dt-bindings-rv3028-backup-switchover-support.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0173-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0174-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0175-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0176-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0177-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0178-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0179-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0180-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0181-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0182-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0183-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0184-ASoC-tlv320aic32x4-Remove-mclk-references.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0185-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0186-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0187-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0188-ASoC-tlv320aic32x4-Change-author-s-name.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0189-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0190-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0191-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0192-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0193-Input-ili210x-add-DT-binding-document.patch2
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0194-media-m88ds3103-serialize-reset-messages-in-m88ds310.patch2
-rw-r--r--sys-kernel/boest-v5.0.16/0001-patch-4.20-ja1.diff.patch2120
-rw-r--r--sys-kernel/boest-v5.0.16/0002-pool-2.6.25-tcp-timewait-20s.diff.patch27
-rw-r--r--sys-kernel/boest-v5.0.16/0003-pool-2.6.25-disable-tcp-debug.diff.patch25
-rw-r--r--sys-kernel/boest-v5.0.16/0004-TCP-add-a-sysctl-to-disable-simultaneous-connection-.patch142
-rw-r--r--sys-kernel/boest-v5.0.16/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch34
-rw-r--r--sys-kernel/boest-v5.0.16/0006-Disable-CONFIG_PROCESSOR_SELECT-printk-s.patch45
-rw-r--r--sys-kernel/boest-v5.0.16/0007-This-patch-adds-support-for-a-restricted-user-contro.patch75
-rw-r--r--sys-kernel/boest-v5.0.16/0008-fs-Enable-link-security-restrictions-by-default.patch26
-rw-r--r--sys-kernel/boest-v5.0.16/0009-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch37
-rw-r--r--sys-kernel/boest-v5.0.16/0010-5.0-2600_enable-key-swapping-for-apple-mac.patch.patch125
-rw-r--r--sys-kernel/boest-v5.0.16/0011-5.0-4567_distro-Gentoo-Kconfig.patch.patch173
-rw-r--r--sys-kernel/boest-v5.0.16/0012-WARNING-This-patch-works-with-gcc-versions-4.9-and-w.patch565
l---------sys-kernel/stable-sources-5.0.161
207 files changed, 3589 insertions, 194 deletions
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch
index 244f8708..749c640d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch
@@ -1,4 +1,4 @@
-From ebbb1b6abc437b21b512e809b9c51164e082cf0c Mon Sep 17 00:00:00 2001
+From 2ccfa2710252818496bdc135ea59d7d30e400231 Mon Sep 17 00:00:00 2001
From: Dan Pasanen <dan.pasanen@gmail.com>
Date: Thu, 21 Sep 2017 09:55:42 -0500
Subject: [PATCH 001/194] arm: partially revert
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0002-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0002-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch
index b38a2ba7..e90f1ead 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0002-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0002-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch
@@ -1,4 +1,4 @@
-From dd7a64366055271377550c04fbe5adcbf77e852d Mon Sep 17 00:00:00 2001
+From 7305a86b3b55dd8ec67af3f1860e01a7e707e03b Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 29 Oct 2018 14:45:45 +0000
Subject: [PATCH 002/194] Revert "rtc: pcf8523: properly handle oscillator stop
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0003-smsx95xx-fix-crimes-against-truesize.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0003-smsx95xx-fix-crimes-against-truesize.patch
index c09e647f..39895b30 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0003-smsx95xx-fix-crimes-against-truesize.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0003-smsx95xx-fix-crimes-against-truesize.patch
@@ -1,4 +1,4 @@
-From 121d960ff17822ed42284502e400efa31b3a13ad Mon Sep 17 00:00:00 2001
+From b4cd5d127b3d60d8d4b3ce0f7ef48d0ca5c1df92 Mon Sep 17 00:00:00 2001
From: Steve Glendinning <steve.glendinning@smsc.com>
Date: Thu, 19 Feb 2015 18:47:12 +0000
Subject: [PATCH 003/194] smsx95xx: fix crimes against truesize
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0004-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0004-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch
index cb7d28fd..2dc707e8 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0004-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0004-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch
@@ -1,4 +1,4 @@
-From eb3bd278aba3a0c1e098c774bc48cb033c2a51e8 Mon Sep 17 00:00:00 2001
+From 93bdb7c7cad2b5bdec9d4ec0fcc45624c74060de Mon Sep 17 00:00:00 2001
From: Sam Nazarko <email@samnazarko.co.uk>
Date: Fri, 1 Apr 2016 17:27:21 +0100
Subject: [PATCH 004/194] smsc95xx: Experimental: Enable turbo_mode and
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0005-Allow-mac-address-to-be-set-in-smsc95xx.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0005-Allow-mac-address-to-be-set-in-smsc95xx.patch
index aeeb7b70..9f4616bd 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0005-Allow-mac-address-to-be-set-in-smsc95xx.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0005-Allow-mac-address-to-be-set-in-smsc95xx.patch
@@ -1,4 +1,4 @@
-From c196b10083d6e9e3ef62fb742c8490d7d6c61e85 Mon Sep 17 00:00:00 2001
+From f54e77d0c774baf0aeb4bb41684051052e26ab6f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 26 Mar 2013 17:26:38 +0000
Subject: [PATCH 005/194] Allow mac address to be set in smsc95xx
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0006-Protect-__release_resource-against-resources-without.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0006-Protect-__release_resource-against-resources-without.patch
index ca39c576..35e9a6aa 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0006-Protect-__release_resource-against-resources-without.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0006-Protect-__release_resource-against-resources-without.patch
@@ -1,4 +1,4 @@
-From 90bd48eef0575230304602e56245965269929c59 Mon Sep 17 00:00:00 2001
+From e78980692c215c252053da5ff46ea1ece66e9fbe Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 13 Mar 2015 12:43:36 +0000
Subject: [PATCH 006/194] Protect __release_resource against resources without
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0007-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0007-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch
index 40cf7769..9ebe01fc 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0007-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0007-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch
@@ -1,4 +1,4 @@
-From 70142dfa949d037ec31e9d3db21ccda7d4192069 Mon Sep 17 00:00:00 2001
+From a26e6a607bf257ecbb170fe1b3ea668e8e6a0ec9 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 4 Dec 2015 17:41:50 +0000
Subject: [PATCH 007/194] irq-bcm2836: Prevent spurious interrupts, and trap
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0008-irq-bcm2836-Avoid-Invalid-trigger-warning.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0008-irq-bcm2836-Avoid-Invalid-trigger-warning.patch
index 90e5a3b9..d3b8bf63 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0008-irq-bcm2836-Avoid-Invalid-trigger-warning.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0008-irq-bcm2836-Avoid-Invalid-trigger-warning.patch
@@ -1,4 +1,4 @@
-From ea5a824c76aed62001df4dec162e3ac44191e443 Mon Sep 17 00:00:00 2001
+From f108a25222212acc7b42ecc90940d1a3e8fde990 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 9 Feb 2017 14:33:30 +0000
Subject: [PATCH 008/194] irq-bcm2836: Avoid "Invalid trigger warning"
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0009-irqchip-bcm2835-Add-FIQ-support.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0009-irqchip-bcm2835-Add-FIQ-support.patch
index d838a07e..db952343 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0009-irqchip-bcm2835-Add-FIQ-support.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0009-irqchip-bcm2835-Add-FIQ-support.patch
@@ -1,4 +1,4 @@
-From ac05f0631d2857c7b6a77d7ac6a9ab19203fc2fe Mon Sep 17 00:00:00 2001
+From b426a047a60dbafae12267258875f57f9a122143 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 12 Jun 2015 19:01:05 +0200
Subject: [PATCH 009/194] irqchip: bcm2835: Add FIQ support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0010-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0010-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch
index 8f4e0be8..eb742392 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0010-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0010-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch
@@ -1,4 +1,4 @@
-From 40688e2a8bea5b3ce7302fc37933b8daaeb27593 Mon Sep 17 00:00:00 2001
+From 43ecccc3832fd0cec670b35b9957e29724466350 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 23 Oct 2015 16:26:55 +0200
Subject: [PATCH 010/194] irqchip: irq-bcm2835: Add 2836 FIQ support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0011-spi-spidev-Completely-disable-the-spidev-warning.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0011-spi-spidev-Completely-disable-the-spidev-warning.patch
index cabd4280..98e60030 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0011-spi-spidev-Completely-disable-the-spidev-warning.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0011-spi-spidev-Completely-disable-the-spidev-warning.patch
@@ -1,4 +1,4 @@
-From 479c29b668cc111ac3bd4329d2bd9bf1d0447e2b Mon Sep 17 00:00:00 2001
+From 9247bef1b1931e27b98c187a4fd58484ac74ab5c Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 14 Jul 2015 10:26:09 +0100
Subject: [PATCH 011/194] spi: spidev: Completely disable the spidev warning
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0012-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0012-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch
index 3eaa708a..086803fa 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0012-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0012-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch
@@ -1,4 +1,4 @@
-From ebb4655adcb5636f68469edf93512aa7c17e3c5e Mon Sep 17 00:00:00 2001
+From bfbfd87ff06e9c393acae432ca0af941d334601d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Sat, 3 Oct 2015 22:22:55 +0200
Subject: [PATCH 012/194] dmaengine: bcm2835: Load driver early and support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0013-firmware-Updated-mailbox-header.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0013-firmware-Updated-mailbox-header.patch
index bd6170d6..bc9913c4 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0013-firmware-Updated-mailbox-header.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0013-firmware-Updated-mailbox-header.patch
@@ -1,4 +1,4 @@
-From cfa4322af5757051b628c723f2c26f4a6b20ce18 Mon Sep 17 00:00:00 2001
+From ea67db9723778b000c2794943e439f90b2a06fad Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 25 Jan 2016 17:25:12 +0000
Subject: [PATCH 013/194] firmware: Updated mailbox header
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0014-rtc-Add-SPI-alias-for-pcf2123-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0014-rtc-Add-SPI-alias-for-pcf2123-driver.patch
index 07ced65a..d15b6c3b 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0014-rtc-Add-SPI-alias-for-pcf2123-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0014-rtc-Add-SPI-alias-for-pcf2123-driver.patch
@@ -1,4 +1,4 @@
-From 304d35155db7975fa6ce263facc5b698eec45642 Mon Sep 17 00:00:00 2001
+From 6dc36e13ff98b2b6a5b5e48a25a13706e97a28a0 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 15 Jun 2016 16:48:41 +0100
Subject: [PATCH 014/194] rtc: Add SPI alias for pcf2123 driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0015-watchdog-bcm2835-Support-setting-reboot-partition.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0015-watchdog-bcm2835-Support-setting-reboot-partition.patch
index 42f8358d..2b30d7c0 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0015-watchdog-bcm2835-Support-setting-reboot-partition.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0015-watchdog-bcm2835-Support-setting-reboot-partition.patch
@@ -1,4 +1,4 @@
-From 7492d0aa43acc2d783da7985f3654c7dff1f6aa3 Mon Sep 17 00:00:00 2001
+From 1b223e96bb38cd1600d218c0eb437b2495daf0cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 7 Oct 2016 16:50:59 +0200
Subject: [PATCH 015/194] watchdog: bcm2835: Support setting reboot partition
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0016-reboot-Use-power-off-rather-than-busy-spinning-when-.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0016-reboot-Use-power-off-rather-than-busy-spinning-when-.patch
index 6cfc0e95..625d2f62 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0016-reboot-Use-power-off-rather-than-busy-spinning-when-.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0016-reboot-Use-power-off-rather-than-busy-spinning-when-.patch
@@ -1,4 +1,4 @@
-From 5f49c5b8766d64139ea16f17a381e9ed9dc5d280 Mon Sep 17 00:00:00 2001
+From 6623a50916cea53c4b697247b25547e40a6700d6 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 5 Apr 2016 19:40:12 +0100
Subject: [PATCH 016/194] reboot: Use power off rather than busy spinning when
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0017-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0017-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch
index b90e4010..253fabc0 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0017-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0017-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch
@@ -1,4 +1,4 @@
-From 66e081cf973fe7f24151454496a059b1e4db06a3 Mon Sep 17 00:00:00 2001
+From 9958a89832f875e7d6e55eca0886e6b29e4133dd Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 9 Nov 2016 13:02:52 +0000
Subject: [PATCH 017/194] bcm: Make RASPBERRYPI_POWER depend on PM
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0018-Register-the-clocks-early-during-the-boot-process-so.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0018-Register-the-clocks-early-during-the-boot-process-so.patch
index fdedda88..6af55c52 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0018-Register-the-clocks-early-during-the-boot-process-so.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0018-Register-the-clocks-early-during-the-boot-process-so.patch
@@ -1,4 +1,4 @@
-From 5d71f0466358d7517a65fe8962eb82d9aca8cc54 Mon Sep 17 00:00:00 2001
+From 4274477c6b8c6e9848c3136d12ac186ca2e70cb8 Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Fri, 2 Sep 2016 16:45:27 +0100
Subject: [PATCH 018/194] Register the clocks early during the boot process, so
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0019-bcm2835-rng-Avoid-initialising-if-already-enabled.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0019-bcm2835-rng-Avoid-initialising-if-already-enabled.patch
index 9165429e..98f7af4c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0019-bcm2835-rng-Avoid-initialising-if-already-enabled.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0019-bcm2835-rng-Avoid-initialising-if-already-enabled.patch
@@ -1,4 +1,4 @@
-From 64fd96c206cc16ad2acea3c55e4a3d467639ff44 Mon Sep 17 00:00:00 2001
+From 02517048fda22044c0ccc8bba0645f68d8c57d9f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 6 Dec 2016 17:05:39 +0000
Subject: [PATCH 019/194] bcm2835-rng: Avoid initialising if already enabled
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0020-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0020-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch
index 0ab2edfe..e85b37a4 100644
--- a/'>sys-kernel/boest-v5.0.15/raspberrypi/0020-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0020-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch
@@ -1,4 +1,4 @@
-From 7ad3a2f673bbcfc3cd78d0f513950660671cbda0 Mon Sep 17 00:00:00 2001
+From e9e2b255f1d1f019cea1e0f797bcd9ed4f78bcf8 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 13 Feb 2017 17:20:08 +0000
Subject: [PATCH 020/194] clk-bcm2835: Mark used PLLs and dividers CRITICAL
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0021-clk-bcm2835-Add-claim-clocks-property.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0021-clk-bcm2835-Add-claim-clocks-property.patch
index ea370e8b..1bb245ca 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0021-clk-bcm2835-Add-claim-clocks-property.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0021-clk-bcm2835-Add-claim-clocks-property.patch
@@ -1,4 +1,4 @@
-From 5b88cc6762d9f78735dd51fa9423d32eb53ba399 Mon Sep 17 00:00:00 2001
+From 9f31cb790b18c2018554f9dcbf60873c7edfc0a6 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 13 Feb 2017 17:20:08 +0000
Subject: [PATCH 021/194] clk-bcm2835: Add claim-clocks property
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0022-clk-bcm2835-Read-max-core-clock-from-firmware.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0022-clk-bcm2835-Read-max-core-clock-from-firmware.patch
index 78f5619d..09d241e1 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0022-clk-bcm2835-Read-max-core-clock-from-firmware.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0022-clk-bcm2835-Read-max-core-clock-from-firmware.patch
@@ -1,4 +1,4 @@
-From 30c3caaa7f8a6475f010c44be2dc6651ba78591d Mon Sep 17 00:00:00 2001
+From eb5c4064a35fe1f41b07a5474547f25ef20760fa Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 6 Mar 2017 09:06:18 +0000
Subject: [PATCH 022/194] clk-bcm2835: Read max core clock from firmware
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0023-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0023-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch
index 84bbb894..aa700bab 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0023-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0023-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch
@@ -1,4 +1,4 @@
-From e441ec3b5611cbdb30999564f3bd94f945ebc4d4 Mon Sep 17 00:00:00 2001
+From 61eafd65999e1a2983b53c5f1abbd20cfd2a20c6 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Mon, 9 May 2016 17:28:18 -0700
Subject: [PATCH 023/194] clk: bcm2835: Mark GPIO clocks enabled at boot as
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0024-sound-Demote-deferral-errors-to-INFO-level.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0024-sound-Demote-deferral-errors-to-INFO-level.patch
index 083aa579..e621d578 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0024-sound-Demote-deferral-errors-to-INFO-level.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0024-sound-Demote-deferral-errors-to-INFO-level.patch
@@ -1,4 +1,4 @@
-From d9a3a15a47e933cf8e3868487403da56e23e0a47 Mon Sep 17 00:00:00 2001
+From 7d561939dc424bf29fb4cf56d8881b63454cb638 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 9 Feb 2017 14:36:44 +0000
Subject: [PATCH 024/194] sound: Demote deferral errors to INFO level
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0025-Update-vfpmodule.c.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0025-Update-vfpmodule.c.patch
index de7b08df..5f56c6a7 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0025-Update-vfpmodule.c.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0025-Update-vfpmodule.c.patch
@@ -1,4 +1,4 @@
-From 0e9cbeefeb2736490d05b6676040acbd84a642e4 Mon Sep 17 00:00:00 2001
+From 2b518ad9926f5792c031c55c75d4e700bed46ac0 Mon Sep 17 00:00:00 2001
From: Claggy3 <stephen.maclagan@hotmail.com>
Date: Sat, 11 Feb 2017 14:00:30 +0000
Subject: [PATCH 025/194] Update vfpmodule.c
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0026-i2c-bcm2835-Add-debug-support.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0026-i2c-bcm2835-Add-debug-support.patch
index 511e8b97..911c043c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0026-i2c-bcm2835-Add-debug-support.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0026-i2c-bcm2835-Add-debug-support.patch
@@ -1,4 +1,4 @@
-From 80967b9e4b2ebe40b335d50bf8cf5d412df8cebb Mon Sep 17 00:00:00 2001
+From 3aad5a84cf37a10712ab40468ee1cb4cf9f79746 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Tue, 1 Nov 2016 15:15:41 +0100
Subject: [PATCH 026/194] i2c: bcm2835: Add debug support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0027-mm-Remove-the-PFN-busy-warning.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0027-mm-Remove-the-PFN-busy-warning.patch
index 682a2a3c..b81a4f85 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0027-mm-Remove-the-PFN-busy-warning.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0027-mm-Remove-the-PFN-busy-warning.patch
@@ -1,4 +1,4 @@
-From 0202a5861423e041a82da3aa1ee3b551bf084c35 Mon Sep 17 00:00:00 2001
+From 1e5d8abbd4c7aa8aa12adbdfe91b3e443108b2d3 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Thu, 18 Dec 2014 16:07:15 -0800
Subject: [PATCH 027/194] mm: Remove the PFN busy warning
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0028-ASoC-Add-prompt-for-ICS43432-codec.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0028-ASoC-Add-prompt-for-ICS43432-codec.patch
index abf7bc2c..c834a1c1 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0028-ASoC-Add-prompt-for-ICS43432-codec.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0028-ASoC-Add-prompt-for-ICS43432-codec.patch
@@ -1,4 +1,4 @@
-From 5ed9e61aa4b82885e7f7aa7d0f439dedf4905dbe Mon Sep 17 00:00:00 2001
+From 85a00e9ca42bdee17ec2fcc3dfacddc37f706563 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 23 Mar 2017 10:06:56 +0000
Subject: [PATCH 028/194] ASoC: Add prompt for ICS43432 codec
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0029-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0029-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch
index c8f4b4f9..7cbbedd9 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0029-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0029-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch
@@ -1,4 +1,4 @@
-From b74d238d1c21751c94cdd808d18291b20fd4fda0 Mon Sep 17 00:00:00 2001
+From 7b5bb9696b28ff570fb9246607973e8eecab1671 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 23 Jan 2018 16:52:45 +0000
Subject: [PATCH 029/194] irqchip: irq-bcm2836: Remove regmap and syscon use
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0030-lan78xx-Enable-LEDs-and-auto-negotiation.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0030-lan78xx-Enable-LEDs-and-auto-negotiation.patch
index 78dbdbf3..d63e40f3 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0030-lan78xx-Enable-LEDs-and-auto-negotiation.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0030-lan78xx-Enable-LEDs-and-auto-negotiation.patch
@@ -1,4 +1,4 @@
-From fbf0e395f5ec0dbd663a704e8decc3abe15a76f5 Mon Sep 17 00:00:00 2001
+From b92bb1b004e1032717381d5e28e65bd64dbfbd59 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 17 Oct 2017 15:04:29 +0100
Subject: [PATCH 030/194] lan78xx: Enable LEDs and auto-negotiation
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0031-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0031-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch
index 61738547..f9e545da 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0031-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0031-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch
@@ -1,4 +1,4 @@
-From a3a08f63a2f25faede4fcc91290bd3266c8a53d5 Mon Sep 17 00:00:00 2001
+From 5500fa1d5ba050b8e039e0911c1696e1305dc1e8 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 23 Feb 2016 17:26:48 +0000
Subject: [PATCH 031/194] amba_pl011: Don't use DT aliases for numbering
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0032-amba_pl011-Round-input-clock-up.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0032-amba_pl011-Round-input-clock-up.patch
index 782a8629..45151b2e 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0032-amba_pl011-Round-input-clock-up.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0032-amba_pl011-Round-input-clock-up.patch
@@ -1,4 +1,4 @@
-From b15f379c20309e5bdaf0ff138c2d461d45e24628 Mon Sep 17 00:00:00 2001
+From 66f655dc40a2dc9031dfd881e7f7240e42c16eb2 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 1 Mar 2017 16:07:39 +0000
Subject: [PATCH 032/194] amba_pl011: Round input clock up
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0033-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0033-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch
index ded891ee..ae0664ad 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0033-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0033-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch
@@ -1,4 +1,4 @@
-From ce0e3f83d941437f16242c8d87b3bf172eaadbd4 Mon Sep 17 00:00:00 2001
+From 34f47644078ca39bbed33fd982770f0504bd9ea8 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 29 Sep 2017 10:32:19 +0100
Subject: [PATCH 033/194] amba_pl011: Insert mb() for correct FIFO handling
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0034-amba_pl011-Add-cts-event-workaround-DT-property.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0034-amba_pl011-Add-cts-event-workaround-DT-property.patch
index b4978ab9..467cc768 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0034-amba_pl011-Add-cts-event-workaround-DT-property.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0034-amba_pl011-Add-cts-event-workaround-DT-property.patch
@@ -1,4 +1,4 @@
-From a02fa1bc15f5b5af34e036633834d900fc81ba52 Mon Sep 17 00:00:00 2001
+From 135edda2bb6fe457863f06c3f90ac9551cc5da98 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 29 Sep 2017 10:32:19 +0100
Subject: [PATCH 034/194] amba_pl011: Add cts-event-workaround DT property
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0035-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0035-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch
index 9065f914..50c5ecb2 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0035-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0035-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch
@@ -1,4 +1,4 @@
-From d860b9d578851b23aaf293858d483126736a3fbd Mon Sep 17 00:00:00 2001
+From 0306125f06f7aba392dedc86313913cc00f46de1 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Thu, 10 Jul 2014 13:59:47 +0200
Subject: [PATCH 035/194] pinctrl-bcm2835: Set base to 0 give expected gpio
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0036-Main-bcm2708-bcm2709-linux-port.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0036-Main-bcm2708-bcm2709-linux-port.patch
index e31010ea..267395fb 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0036-Main-bcm2708-bcm2709-linux-port.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0036-Main-bcm2708-bcm2709-linux-port.patch
@@ -1,4 +1,4 @@
-From 4940b47b126e51a6ada458f9489c32f36cc79a4d Mon Sep 17 00:00:00 2001
+From 5c1cb5d83fe9b1cd89be4c5a20d86989a58621ae Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 12 May 2013 12:24:19 +0100
Subject: [PATCH 036/194] Main bcm2708/bcm2709 linux port
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0037-Add-dwc_otg-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0037-Add-dwc_otg-driver.patch
index 5c284bd8..eb1c5069 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0037-Add-dwc_otg-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0037-Add-dwc_otg-driver.patch
@@ -1,4 +1,4 @@
-From 946e8b329df5034122e2f7103a2a6b7ad201edfb Mon Sep 17 00:00:00 2001
+From e8026d36a02e68ee6db71fc7b9ab7be8606fd85a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 1 May 2013 19:46:17 +0100
Subject: [PATCH 037/194] Add dwc_otg driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0038-bcm2708-framebuffer-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0038-bcm2708-framebuffer-driver.patch
index f1a3b5af..2c33b8bf 100644
--- a/'>sys-kernel/boest-v5.0.15/raspberrypi/0038-bcm2708-framebuffer-driver.patch
+++ b/'>sys-kernel/boest-v5.0.15/raspberrypi/0038-bcm2708-framebuffer-driver.patch
@@ -1,4 +1,4 @@
-From f4f5cc8af72ac3339370dbeb7f99601cad65ac67 Mon Sep 17 00:00:00 2001
+From 43102f75c1b95b0ef04fce4b9785fa0470225fbc Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Jun 2015 17:06:34 +0100
Subject: [PATCH 038/194] bcm2708 framebuffer driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0039-fbdev-add-FBIOCOPYAREA-ioctl.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0039-fbdev-add-FBIOCOPYAREA-ioctl.patch
index 42e244c6..6a8baf2e 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0039-fbdev-add-FBIOCOPYAREA-ioctl.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0039-fbdev-add-FBIOCOPYAREA-ioctl.patch
@@ -1,4 +1,4 @@
-From 7d596bad82322a5d1c913c4c3a1d0d16068c43e2 Mon Sep 17 00:00:00 2001
+From a708c9c6d104b462a779aafcef13a88e6ba959f3 Mon Sep 17 00:00:00 2001
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Date: Mon, 17 Jun 2013 13:32:11 +0300
Subject: [PATCH 039/194] fbdev: add FBIOCOPYAREA ioctl
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0040-Speed-up-console-framebuffer-imageblit-function.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0040-Speed-up-console-framebuffer-imageblit-function.patch
index e8602df2..0097403d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0040-Speed-up-console-framebuffer-imageblit-function.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0040-Speed-up-console-framebuffer-imageblit-function.patch
@@ -1,4 +1,4 @@
-From 9a00d6075c334f1c0cc6a176738087a9da5456eb Mon Sep 17 00:00:00 2001
+From e1803dfad5f5e00220e261af57c44512b404beba Mon Sep 17 00:00:00 2001
From: Harm Hanemaaijer <fgenfb@yahoo.com>
Date: Thu, 20 Jun 2013 20:21:39 +0200
Subject: [PATCH 040/194] Speed up console framebuffer imageblit function
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0041-dmaengine-Add-support-for-BCM2708.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0041-dmaengine-Add-support-for-BCM2708.patch
index c4d6b661..8027ba19 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0041-dmaengine-Add-support-for-BCM2708.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0041-dmaengine-Add-support-for-BCM2708.patch
@@ -1,4 +1,4 @@
-From 21a6e8b60af3d4cbc7827650cb3d4bcd979461fa Mon Sep 17 00:00:00 2001
+From 93f3a656addf86972d3cfff3cc946cfe633ae3f5 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 14:22:53 +0100
Subject: [PATCH 041/194] dmaengine: Add support for BCM2708
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0042-MMC-added-alternative-MMC-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0042-MMC-added-alternative-MMC-driver.patch
index 7d7b967e..47a97957 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0042-MMC-added-alternative-MMC-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0042-MMC-added-alternative-MMC-driver.patch
@@ -1,4 +1,4 @@
-From 8d69d87a8dbebb0213605a41daf9d621aede0a21 Mon Sep 17 00:00:00 2001
+From 86ff0aa6fada11d9115425c400640fceb7eb5209 Mon Sep 17 00:00:00 2001
From: gellert <gellert@raspberrypi.org>
Date: Fri, 15 Aug 2014 16:35:06 +0100
Subject: [PATCH 042/194] MMC: added alternative MMC driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0043-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0043-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch
index 8379ed68..1e0995aa 100644
--- a/'>sys-kernel/boest-v5.0.15/raspberrypi/0043-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0043-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch
@@ -1,4 +1,4 @@
-From 7a7985e6b9ba27a10c3af2e9932becfb0d82d06f Mon Sep 17 00:00:00 2001
+From 82223573d5abe7434c39487ccadd04f50fa98740 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 25 Mar 2015 17:49:47 +0000
Subject: [PATCH 043/194] Adding bcm2835-sdhost driver, and an overlay to
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0044-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0044-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch
index 83cb9f2e..47cdc71d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0044-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0044-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch
@@ -1,4 +1,4 @@
-From ce3f05541be9faa47756dc5e45ca88cc890ef0db Mon Sep 17 00:00:00 2001
+From 9f7367b877ff76f3078757e2bb2e52a62bd1a374 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 28 Oct 2016 15:36:43 +0100
Subject: [PATCH 044/194] vc_mem: Add vc_mem driver for querying firmware
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0045-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0045-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch
index caee40a8..b507bb9a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0045-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0045-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch
@@ -1,4 +1,4 @@
-From 706599d1dfacf92fb44f29f8aca794f072c28f0a Mon Sep 17 00:00:00 2001
+From 46a01619f047025eed27f55083d9b32f72ad3c63 Mon Sep 17 00:00:00 2001
From: Tim Gover <tgover@broadcom.com>
Date: Tue, 22 Jul 2014 15:41:04 +0100
Subject: [PATCH 045/194] vcsm: VideoCore shared memory service for BCM2835
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0046-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0046-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch
index 2d0f12ba..b76e8387 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0046-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0046-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch
@@ -1,4 +1,4 @@
-From c0087b6978127a7be2157455f9e8dc3f17d91226 Mon Sep 17 00:00:00 2001
+From 09e97e2003076c56f422fe3cedb57c3be45dc946 Mon Sep 17 00:00:00 2001
From: Luke Wren <luke@raspberrypi.org>
Date: Fri, 21 Aug 2015 23:14:48 +0100
Subject: [PATCH 046/194] Add /dev/gpiomem device for rootless user GPIO access
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0047-Add-SMI-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0047-Add-SMI-driver.patch
index 067fff76..bdfaab69 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0047-Add-SMI-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0047-Add-SMI-driver.patch
@@ -1,4 +1,4 @@
-From 455c7e0b55c31d620887352a6bc7726e298849b6 Mon Sep 17 00:00:00 2001
+From fa42c0549447bf7525e21084fe1d78a2df3ab63d Mon Sep 17 00:00:00 2001
From: Luke Wren <wren6991@gmail.com>
Date: Sat, 5 Sep 2015 01:14:45 +0100
Subject: [PATCH 047/194] Add SMI driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0048-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0048-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch
index a6a8820d..943ebb75 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0048-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0048-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch
@@ -1,4 +1,4 @@
-From 52d64d8db636e80f795b344d65fca46bafcae2be Mon Sep 17 00:00:00 2001
+From b7da38e9f13a1614ba05f4bdcdd925371351957e Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Tue, 26 Apr 2016 14:59:21 +0000
Subject: [PATCH 048/194] MISC: bcm2835: smi: use clock manager and fix reload
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0049-Add-SMI-NAND-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0049-Add-SMI-NAND-driver.patch
index 705a582b..7f29cfe4 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0049-Add-SMI-NAND-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0049-Add-SMI-NAND-driver.patch
@@ -1,4 +1,4 @@
-From 201c921a8a68985e3520ade159c295a88de4b625 Mon Sep 17 00:00:00 2001
+From aef7060eda0feb2f59f20d9dea704436300adb5a Mon Sep 17 00:00:00 2001
From: Luke Wren <wren6991@gmail.com>
Date: Sat, 5 Sep 2015 01:16:10 +0100
Subject: [PATCH 049/194] Add SMI NAND driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0050-Revert-Add-SMI-NAND-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0050-Revert-Add-SMI-NAND-driver.patch
index 78337c25..7ef86a65 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0050-Revert-Add-SMI-NAND-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0050-Revert-Add-SMI-NAND-driver.patch
@@ -1,4 +1,4 @@
-From 529330f8c522b9b52906ef12e8dbd9a6de8a9ae8 Mon Sep 17 00:00:00 2001
+From f2ab50d3f66c35e87f529b431007266b1c190ec1 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 12 Nov 2018 15:57:17 +0000
Subject: [PATCH 050/194] Revert "Add SMI NAND driver"
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0051-Add-cpufreq-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0051-Add-cpufreq-driver.patch
index 0aa7e6db..35a07a7c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0051-Add-cpufreq-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0051-Add-cpufreq-driver.patch
@@ -1,4 +1,4 @@
-From f475b73fb75210966be86042eaea11ff09ce6d6e Mon Sep 17 00:00:00 2001
+From ca40700822529d029482e38b6b0a9e266dcedeab Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:49:20 +0100
Subject: [PATCH 051/194] Add cpufreq driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0052-Add-Chris-Boot-s-i2c-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0052-Add-Chris-Boot-s-i2c-driver.patch
index c4782023..c572059e 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0052-Add-Chris-Boot-s-i2c-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0052-Add-Chris-Boot-s-i2c-driver.patch
@@ -1,4 +1,4 @@
-From 46350d5c1cf5eb8e7643db697db7c461977e16b3 Mon Sep 17 00:00:00 2001
+From 7290533a44d88ee44634d1c52d8a346c680285ad Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Jun 2015 15:44:08 +0100
Subject: [PATCH 052/194] Add Chris Boot's i2c driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0053-char-broadcom-Add-vcio-module.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0053-char-broadcom-Add-vcio-module.patch
index 07b5f650..4087ec4d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0053-char-broadcom-Add-vcio-module.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0053-char-broadcom-Add-vcio-module.patch
@@ -1,4 +1,4 @@
-From b303071d474f6bbb1c20b4cdbce37cb5c5dd42e4 Mon Sep 17 00:00:00 2001
+From 7a99be196ae64f73ae61262e21eedc513a37070e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:27:06 +0200
Subject: [PATCH 053/194] char: broadcom: Add vcio module
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0054-firmware-bcm2835-Support-ARCH_BCM270x.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0054-firmware-bcm2835-Support-ARCH_BCM270x.patch
index 0af167b1..ff107f8d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0054-firmware-bcm2835-Support-ARCH_BCM270x.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0054-firmware-bcm2835-Support-ARCH_BCM270x.patch
@@ -1,4 +1,4 @@
-From 336f18ab14521148dfe0650b3caccdb0c4581c40 Mon Sep 17 00:00:00 2001
+From 7540aac5413a37ed67627cb7007eabc2d05f2bdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:25:01 +0200
Subject: [PATCH 054/194] firmware: bcm2835: Support ARCH_BCM270x
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0055-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0055-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch
index 3c20d6d4..246428f4 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0055-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0055-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch
@@ -1,4 +1,4 @@
-From 6101aaebb53317f3aadb45cc5c01b88be24ae543 Mon Sep 17 00:00:00 2001
+From 388893e51567c4e0ccba2c9fd88143e62cda8a93 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 11 May 2015 09:00:42 +0100
Subject: [PATCH 055/194] scripts: Add mkknlimg and knlinfo scripts from tools
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0056-BCM2708-Add-core-Device-Tree-support.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0056-BCM2708-Add-core-Device-Tree-support.patch
index 0c937f09..b4a107d4 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0056-BCM2708-Add-core-Device-Tree-support.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0056-BCM2708-Add-core-Device-Tree-support.patch
@@ -1,4 +1,4 @@
-From 4e5b691d0f1206de32d9075e38cd6721163a44fb Mon Sep 17 00:00:00 2001
+From b2485abef063b14f72e203ec08c47765df9422c0 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Wed, 9 Jul 2014 14:46:08 +0200
Subject: [PATCH 056/194] BCM2708: Add core Device Tree support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0057-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0057-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch
index 87787d17..48c8d95d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0057-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0057-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch
@@ -1,4 +1,4 @@
-From 809b0f4436de37bbe80e0a9292bc6dec8783a6b4 Mon Sep 17 00:00:00 2001
+From 7a04ffc135f19d541770972e9495f8e5ffcec598 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 6 Feb 2015 13:50:57 +0000
Subject: [PATCH 057/194] BCM270x_DT: Add pwr_led, and the required "input"
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0058-Added-Device-IDs-for-August-DVB-T-205.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0058-Added-Device-IDs-for-August-DVB-T-205.patch
index bce877f1..20e5b6ac 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0058-Added-Device-IDs-for-August-DVB-T-205.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0058-Added-Device-IDs-for-August-DVB-T-205.patch
@@ -1,4 +1,4 @@
-From d03cf65d7d59556e7b83179256da8b2437d043b2 Mon Sep 17 00:00:00 2001
+From 822eaaea26c31f11e73651140fb9dcd763e97851 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:54:08 +0100
Subject: [PATCH 058/194] Added Device IDs for August DVB-T 205
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0059-Improve-__copy_to_user-and-__copy_from_user-performa.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0059-Improve-__copy_to_user-and-__copy_from_user-performa.patch
index d0956e2d..49662b0a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0059-Improve-__copy_to_user-and-__copy_from_user-performa.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0059-Improve-__copy_to_user-and-__copy_from_user-performa.patch
@@ -1,4 +1,4 @@
-From af9415058f8234d692571ef7e37d6c3c21da93cd Mon Sep 17 00:00:00 2001
+From 8e916999621d47b8fe1dbc7b2ae3bdd95a64ca1d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 28 Nov 2016 16:50:04 +0000
Subject: [PATCH 059/194] Improve __copy_to_user and __copy_from_user
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0060-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0060-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch
index 2aa80b31..9329edaf 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0060-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0060-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch
@@ -1,4 +1,4 @@
-From 0ccbc31079f6207818146a38850cbeb9700f69fc Mon Sep 17 00:00:00 2001
+From 559537e33ab8b516068f3fb1f5512a9a6a518e84 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 25 Jun 2015 12:16:11 +0100
Subject: [PATCH 060/194] gpio-poweroff: Allow it to work on Raspberry Pi
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0061-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0061-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch
index 5e22d3f4..4e8774a8 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0061-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0061-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch
@@ -1,4 +1,4 @@
-From 5f58e093f5f52d495469125e2c59591e306d73bd Mon Sep 17 00:00:00 2001
+From 7cdd016bba23cafbc773cfe267da24a7564ec124 Mon Sep 17 00:00:00 2001
From: Phil Elwell <pelwell@users.noreply.github.com>
Date: Tue, 14 Jul 2015 14:32:47 +0100
Subject: [PATCH 061/194] mfd: Add Raspberry Pi Sense HAT core driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0062-ASoC-pcm512x-implement-set_tdm_slot-interface.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0062-ASoC-pcm512x-implement-set_tdm_slot-interface.patch
index 92970053..46ff9f0a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0062-ASoC-pcm512x-implement-set_tdm_slot-interface.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0062-ASoC-pcm512x-implement-set_tdm_slot-interface.patch
@@ -1,4 +1,4 @@
-From 3f9ab0b70e1747576080bacd11b6bdbe6d4fe776 Mon Sep 17 00:00:00 2001
+From 788354c4fcdd7410b30a8eea6c8ebecb95dafab1 Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Thu, 22 Feb 2018 11:55:06 +0100
Subject: [PATCH 062/194] ASoC: pcm512x: implement set_tdm_slot interface
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0063-ASoC-Add-support-for-Rpi-DAC.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0063-ASoC-Add-support-for-Rpi-DAC.patch
index 975ff297..e6bc6ba5 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0063-ASoC-Add-support-for-Rpi-DAC.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0063-ASoC-Add-support-for-Rpi-DAC.patch
@@ -1,4 +1,4 @@
-From 556e6435c087cf8ec16d4c2da401dd7815447e2f Mon Sep 17 00:00:00 2001
+From 46cf3285f847eafaf6607a7871553af9016f0b92 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Mon, 25 Jan 2016 15:48:59 +0000
Subject: [PATCH 063/194] ASoC: Add support for Rpi-DAC
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0064-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0064-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch
index 0205c916..045d2341 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0064-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0064-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch
@@ -1,4 +1,4 @@
-From 8c5a2eacdb73b90db79878a59da20ba23d338296 Mon Sep 17 00:00:00 2001
+From 7833b687950fc7a489b5ea04351d1b6f22e4e165 Mon Sep 17 00:00:00 2001
From: Gordon Garrity <gordon@iqaudio.com>
Date: Sat, 8 Mar 2014 16:56:57 +0000
Subject: [PATCH 064/194] Add IQaudIO Sound Card support for Raspberry Pi
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0065-Added-support-for-HiFiBerry-DAC.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0065-Added-support-for-HiFiBerry-DAC.patch
index c3af273b..24a23cef 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0065-Added-support-for-HiFiBerry-DAC.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0065-Added-support-for-HiFiBerry-DAC.patch
@@ -1,4 +1,4 @@
-From e522d71660dc2f2a693afd5976b9c4a4bd7caec3 Mon Sep 17 00:00:00 2001
+From e9f99d8154435f17415f4bc11f657ddf4f29cf6a Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Mon, 4 Aug 2014 10:06:56 +0200
Subject: [PATCH 065/194] Added support for HiFiBerry DAC+
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0066-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0066-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch
index da51c4bf..8ee4343e 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0066-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0066-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch
@@ -1,4 +1,4 @@
-From 9a982bd91385051cc5aa2f3719752cd98002628d Mon Sep 17 00:00:00 2001
+From 56974efc4853abaefddc362a5b089e2cc570edff Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Mon, 4 Aug 2014 11:09:58 +0200
Subject: [PATCH 066/194] Added driver for HiFiBerry Amp amplifier add-on board
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0067-Add-driver-for-rpi-proto.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0067-Add-driver-for-rpi-proto.patch
index b0d23afc..2cbc5126 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0067-Add-driver-for-rpi-proto.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0067-Add-driver-for-rpi-proto.patch
@@ -1,4 +1,4 @@
-From 2e7b4bd59621a44e6ff228cabf8c1c06b5b1a13d Mon Sep 17 00:00:00 2001
+From c1b379109bb4d99429b224c5468d79cd0fb80ae1 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbrodkorb@conet.de>
Date: Wed, 25 Mar 2015 09:26:17 +0100
Subject: [PATCH 067/194] Add driver for rpi-proto
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0068-Add-Support-for-JustBoom-Audio-boards.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0068-Add-Support-for-JustBoom-Audio-boards.patch
index f50a6b56..28eb3acb 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0068-Add-Support-for-JustBoom-Audio-boards.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0068-Add-Support-for-JustBoom-Audio-boards.patch
@@ -1,4 +1,4 @@
-From cb2fb44c24d65db2ffc52218e554ef277062b503 Mon Sep 17 00:00:00 2001
+From a87e48da973e7cbfbde9113a557a9e9ebaa463fc Mon Sep 17 00:00:00 2001
From: Aaron Shaw <shawaj@gmail.com>
Date: Thu, 7 Apr 2016 21:26:21 +0100
Subject: [PATCH 068/194] Add Support for JustBoom Audio boards
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0069-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0069-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch
index cc6a3597..fae45884 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0069-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0069-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch
@@ -1,4 +1,4 @@
-From c71eb12ba95bb21c73d76a687f75d64555cfa462 Mon Sep 17 00:00:00 2001
+From 61296367125e25e3ab7f584908523c73f478174c Mon Sep 17 00:00:00 2001
From: Matt Flax <flatmax@flatmax.org>
Date: Mon, 16 May 2016 21:36:31 +1000
Subject: [PATCH 069/194] New AudioInjector.net Pi soundcard with low jitter
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0070-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0070-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch
index 5ff24833..b5047655 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0070-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0070-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch
@@ -1,4 +1,4 @@
-From d617f47b536e00528864536526878e7145fda6c0 Mon Sep 17 00:00:00 2001
+From 40b31202b8bdeab4de64586bd53d967c9c45aca1 Mon Sep 17 00:00:00 2001
From: escalator2015 <jmtasende@gmail.com>
Date: Tue, 24 May 2016 16:20:09 +0100
Subject: [PATCH 070/194] New driver for RRA DigiDAC1 soundcard using WM8741 +
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0071-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0071-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch
index 9f30fabe..418a4109 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0071-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0071-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch
@@ -1,4 +1,4 @@
-From 648ca1df4d314b59e57cd7d45c4a754b5eee6aaf Mon Sep 17 00:00:00 2001
+From 4b8111a58cccf05f0484f84264c3257fbeb49050 Mon Sep 17 00:00:00 2001
From: DigitalDreamtime <clive.messer@digitaldreamtime.co.uk>
Date: Sat, 2 Jul 2016 16:26:19 +0100
Subject: [PATCH 071/194] Add support for Dion Audio LOCO DAC-AMP HAT
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0072-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0072-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch
index 9674e39a..fec5b563 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0072-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0072-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch
@@ -1,4 +1,4 @@
-From 71632dfff19cc2f947a887a3de88f34d8508117a Mon Sep 17 00:00:00 2001
+From 99b7b86a7893bffd547a78ac84bd96cc6c16fef8 Mon Sep 17 00:00:00 2001
From: Clive Messer <clive.m.messer@gmail.com>
Date: Mon, 19 Sep 2016 14:01:04 +0100
Subject: [PATCH 072/194] Allo Piano DAC boards: Initial 2 channel (stereo)
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0073-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0073-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch
index 3160a714..53bea9ef 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0073-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0073-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch
@@ -1,4 +1,4 @@
-From d82fbec25cec906a518dd204987b48355192124c Mon Sep 17 00:00:00 2001
+From b5deca082d00173fc188eaa59ecc6c9788ae4283 Mon Sep 17 00:00:00 2001
From: Raashid Muhammed <raashidmuhammed@zilogic.com>
Date: Mon, 27 Mar 2017 12:35:00 +0530
Subject: [PATCH 073/194] Add support for Allo Piano DAC 2.1 plus add-on board
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0074-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0074-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch
index 49f18c65..fc25498c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0074-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0074-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch
@@ -1,4 +1,4 @@
-From f4b0818510d107e6c6a78708e0eba7b70243b8c4 Mon Sep 17 00:00:00 2001
+From 5d7fe186e6f83b0516f3248bb198d112136d9def Mon Sep 17 00:00:00 2001
From: BabuSubashChandar <babuenir@gmail.com>
Date: Tue, 28 Mar 2017 20:04:42 +0530
Subject: [PATCH 074/194] Add support for Allo Boss DAC add-on board for
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0075-Support-for-Blokas-Labs-pisound-board.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0075-Support-for-Blokas-Labs-pisound-board.patch
index 2072cf13..5214e398 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0075-Support-for-Blokas-Labs-pisound-board.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0075-Support-for-Blokas-Labs-pisound-board.patch
@@ -1,4 +1,4 @@
-From 76b6151eb9439882a4f66cbfcaf755a09da9e9aa Mon Sep 17 00:00:00 2001
+From 44c6a5c357ff607d2d6f6062e4e88be712c7d3c3 Mon Sep 17 00:00:00 2001
From: gtrainavicius <gtrainavicius@users.noreply.github.com>
Date: Sun, 23 Oct 2016 12:06:53 +0300
Subject: [PATCH 075/194] Support for Blokas Labs pisound board
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0076-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0076-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch
index f3f14543..7ffc28cf 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0076-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0076-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch
@@ -1,4 +1,4 @@
-From 33cb37a65457d067431aab7dfd93efa4ac32df26 Mon Sep 17 00:00:00 2001
+From 777a3637f8ec5c7d49a047b64618b36bb08ef590 Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Sun, 22 Jan 2017 12:49:37 +0100
Subject: [PATCH 076/194] ASoC: Add driver for Cirrus Logic Audio Card
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0077-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0077-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch
index 3889d2c5..4434cd62 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0077-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0077-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch
@@ -1,4 +1,4 @@
-From 947a423b840481d0ae9fe6e53e3fac85d6b98caa Mon Sep 17 00:00:00 2001
+From f5b15f090b03c841bfbe71a38fc70a207d415aef Mon Sep 17 00:00:00 2001
From: Miquel <miquelblauw@hotmail.com>
Date: Fri, 24 Feb 2017 20:51:06 +0100
Subject: [PATCH 077/194] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0078-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0078-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch
index 86645b12..8ed3f45a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0078-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0078-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch
@@ -1,4 +1,4 @@
-From 3ff25774a427acdb301ffec9e05c246df03e2c12 Mon Sep 17 00:00:00 2001
+From 3fa8adc35f47b6750cfddc4c752d0867aa4f6ee3 Mon Sep 17 00:00:00 2001
From: Fe-Pi <fe-pi@cox.net>
Date: Wed, 1 Mar 2017 04:42:43 -0700
Subject: [PATCH 078/194] Add support for Fe-Pi audio sound card. (#1867)
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0079-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0079-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch
index ad3dbd09..30d179f8 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0079-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0079-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch
@@ -1,4 +1,4 @@
-From 1178792e22696eb469dea9d8849c9e77821566c2 Mon Sep 17 00:00:00 2001
+From 6198e436f25ff1df99fe94d85bbe3efb40818c68 Mon Sep 17 00:00:00 2001
From: Matt Flax <flatmax@flatmax.org>
Date: Wed, 8 Mar 2017 20:04:13 +1100
Subject: [PATCH 079/194] Add support for the AudioInjector.net Octo sound card
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0080-Driver-support-for-Google-voiceHAT-soundcard.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0080-Driver-support-for-Google-voiceHAT-soundcard.patch
index f541a626..f7577ea4 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0080-Driver-support-for-Google-voiceHAT-soundcard.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0080-Driver-support-for-Google-voiceHAT-soundcard.patch
@@ -1,4 +1,4 @@
-From d72612ca25b7d7870e4970ca862f5e2cd73e1952 Mon Sep 17 00:00:00 2001
+From bd8f751dafaaa499c19f0635a50d7098dffd9eb9 Mon Sep 17 00:00:00 2001
From: Peter Malkin <petermalkin@google.com>
Date: Mon, 27 Mar 2017 16:38:21 -0700
Subject: [PATCH 080/194] Driver support for Google voiceHAT soundcard.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0081-Driver-and-overlay-for-Allo-Katana-DAC.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0081-Driver-and-overlay-for-Allo-Katana-DAC.patch
index e52ecd31..132bb092 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0081-Driver-and-overlay-for-Allo-Katana-DAC.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0081-Driver-and-overlay-for-Allo-Katana-DAC.patch
@@ -1,4 +1,4 @@
-From 6dd6601147f82c1c9d558922d5f15e3c3ab176a2 Mon Sep 17 00:00:00 2001
+From 26cecfb536bea8a138a7b2d08be840be2a7d4b5b Mon Sep 17 00:00:00 2001
From: allocom <sparky-dev@allo.com>
Date: Thu, 19 Apr 2018 12:12:26 +0530
Subject: [PATCH 081/194] Driver and overlay for Allo Katana DAC
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0082-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0082-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch
index ff53c7a9..920d45eb 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0082-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0082-ASoC-Add-generic-RPI-driver-for-simple-soundcards.patch
@@ -1,4 +1,4 @@
-From 881ef2c04934c21d6d9e9903ced6ee0d24e74b76 Mon Sep 17 00:00:00 2001
+From fc072f333bac96c2a1d55ba616c4744083630e45 Mon Sep 17 00:00:00 2001
From: Tim Gover <tim.gover@raspberrypi.org>
Date: Wed, 27 Jun 2018 15:59:12 +0100
Subject: [PATCH 082/194] ASoC: Add generic RPI driver for simple soundcards.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0083-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0083-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch
index 578b0d42..5543de66 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0083-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0083-ASoC-Add-Kconfig-and-Makefile-for-sound-soc-bcm.patch
@@ -1,4 +1,4 @@
-From 5d0787e4f9ffe78c0ed12ffce5778da16f8ddad6 Mon Sep 17 00:00:00 2001
+From 56a8d4b83ea4989fbd08e8f4ad37b9cc6b73ec02 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 3 Sep 2018 17:00:36 +0100
Subject: [PATCH 083/194] ASoC: Add Kconfig and Makefile for sound/soc/bcm
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0084-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0084-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch
index 95ed9b5d..1136e593 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0084-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0084-ASoC-Create-a-generic-Pi-Hat-WM8804-driver.patch
@@ -1,4 +1,4 @@
-From 5d754af596da64ae698c3be8cf7fb9d112d23822 Mon Sep 17 00:00:00 2001
+From c29577ea9bf8cc2eb9baffbf548bc26cea57ba2d Mon Sep 17 00:00:00 2001
From: Tim Gover <tim.gover@raspberrypi.org>
Date: Sat, 21 Jul 2018 20:07:46 +0100
Subject: [PATCH 084/194] ASoC: Create a generic Pi Hat WM8804 driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0085-rpi_display-add-backlight-driver-and-overlay.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0085-rpi_display-add-backlight-driver-and-overlay.patch
index 217c6387..eebad554 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0085-rpi_display-add-backlight-driver-and-overlay.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0085-rpi_display-add-backlight-driver-and-overlay.patch
@@ -1,4 +1,4 @@
-From c3e33e66d483385f6e3b9af6bbdc3e75947da996 Mon Sep 17 00:00:00 2001
+From 47b1ab462c5a6a71830371d91a2f7bb656b89bf8 Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Wed, 21 Oct 2015 14:55:21 +0100
Subject: [PATCH 085/194] rpi_display: add backlight driver and overlay
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0086-bcm2835-virtgpio-Virtual-GPIO-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0086-bcm2835-virtgpio-Virtual-GPIO-driver.patch
index 4e121bce..f64f3c8a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0086-bcm2835-virtgpio-Virtual-GPIO-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0086-bcm2835-virtgpio-Virtual-GPIO-driver.patch
@@ -1,4 +1,4 @@
-From 0e4dd73e9f00557b9098c26c669469a3a4b71a55 Mon Sep 17 00:00:00 2001
+From 1a3206f2929e2757a247d8f9933626efa912aa0f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 23 Feb 2016 19:56:04 +0000
Subject: [PATCH 086/194] bcm2835-virtgpio: Virtual GPIO driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0087-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0087-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch
index 17a49a81..8d13686b 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0087-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0087-net-Add-non-mainline-source-for-rtl8192cu-wlan.patch
@@ -1,4 +1,4 @@
-From 39a058bd9d43f7c7bb71e9cec6f38d49d9163cca Mon Sep 17 00:00:00 2001
+From 1beefd3451b95342f1dd928767979b4beafb1afb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 3 Sep 2012 17:10:23 +0100
Subject: [PATCH 087/194] net: Add non-mainline source for rtl8192cu wlan
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0088-OF-DT-Overlay-configfs-interface.patch b/ b/sys-kernel/boest-v5.0.15/raspberrypi/0088-OF-DT-Overlay-configfs-interface.patch
index 598ce954..ac2e3946 100644
--- a/'>sys-kernel/boest-v5.0.15/raspberrypi/0088-OF-DT-Overlay-configfs-interface.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0088-OF-DT-Overlay-configfs-interface.patch
@@ -1,4 +1,4 @@
-From 264e1d8ef367805e6f7f212d38f7ea241a873ee6 Mon Sep 17 00:00:00 2001
+From f4a21e2a91415af977982a780b708510e4035968 Mon Sep 17 00:00:00 2001
From: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Date: Wed, 3 Dec 2014 13:23:28 +0200
Subject: [PATCH 088/194] OF: DT-Overlay configfs interface
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0089-brcm-adds-support-for-BCM43341-wifi.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0089-brcm-adds-support-for-BCM43341-wifi.patch
index cbc4b988..104dc389 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0089-brcm-adds-support-for-BCM43341-wifi.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0089-brcm-adds-support-for-BCM43341-wifi.patch
@@ -1,4 +1,4 @@
-From f29499d1fe5bb0820a8db7cb2b21cf5ecead6f89 Mon Sep 17 00:00:00 2001
+From 67a6f20844eaa35eb8765d7e5b6c3ffb986dd27c Mon Sep 17 00:00:00 2001
From: Cheong2K <cheong@redbear.cc>
Date: Fri, 26 Feb 2016 18:20:10 +0800
Subject: [PATCH 089/194] brcm: adds support for BCM43341 wifi
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0090-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0090-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch
index c1286f25..bdafb55f 100644
--- a/'>sys-kernel/boest-v5.0.15/raspberrypi/0090-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch
+++ b/'>sys-kernel/boest-v5.0.15/raspberrypi/0090-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch
@@ -1,4 +1,4 @@
-From e8365bef17b5e30be3817ade6f935a6647b33f0e Mon Sep 17 00:00:00 2001
+From 50eb9f32133e2d503b968bdbd3ad9d843b7d2288 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 17 Dec 2015 13:37:07 +0000
Subject: [PATCH 090/194] hci_h5: Don't send conf_req when ACTIVE
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0091-config-Add-default-configs.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0091-config-Add-default-configs.patch
index 71523e5d..8772930c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0091-config-Add-default-configs.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0091-config-Add-default-configs.patch
@@ -1,4 +1,4 @@
-From 5016978f2ae0b44129ed51ebdcc48d6b9fbc12e7 Mon Sep 17 00:00:00 2001
+From c65b347d4072dac27d91239c1660b242986f7109 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 13 Apr 2015 17:16:29 +0100
Subject: [PATCH 091/194] config: Add default configs
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0092-Add-arm64-configuration-and-device-tree-differences..patch b/ b/sys-kernel/boest-v5.0.15/raspberrypi/0092-Add-arm64-configuration-and-device-tree-differences..patch
index 54201666..0503e388 100644
--- a/'>sys-kernel/boest-v5.0.15/raspberrypi/0092-Add-arm64-configuration-and-device-tree-differences..patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0092-Add-arm64-configuration-and-device-tree-differences..patch
@@ -1,4 +1,4 @@
-From dcfd15d1d8e28d7d048e94951fbd60953f1cd283 Mon Sep 17 00:00:00 2001
+From 5b1c1c98e86fadb0dc88959f0522f14eb819a45a Mon Sep 17 00:00:00 2001
From: Michael Zoran <mzoran@crowfest.net>
Date: Wed, 24 Aug 2016 03:35:56 -0700
Subject: [PATCH 092/194] Add arm64 configuration and device tree differences.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0093-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0093-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch
index 4760dd28..1b7c32c6 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0093-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch
+++ b/'>sys-kernel/boest-v5.0.15/raspberrypi/0093-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch
@@ -1,4 +1,4 @@
-From 88649d2452c50706a525bb5fc04d44229903af64 Mon Sep 17 00:00:00 2001
+From 667f663cb604c772227778941c83f7b5c9911660 Mon Sep 17 00:00:00 2001
From: Michael Zoran <mzoran@crowfest.net>
Date: Sat, 14 Jan 2017 21:33:51 -0800
Subject: [PATCH 093/194] ARM64/DWC_OTG: Port dwc_otg driver to ARM64
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0094-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0094-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch
index 192e74a8..cf4af1ab 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0094-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0094-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch
@@ -1,4 +1,4 @@
-From 6964f5570a6aa59c44d2da2de066a3b35cee20b6 Mon Sep 17 00:00:00 2001
+From c9e7e08300749b6508a63500d4b9ac1509986bf8 Mon Sep 17 00:00:00 2001
From: Michael Zoran <mzoran@crowfest.net>
Date: Sat, 14 Jan 2017 21:43:57 -0800
Subject: [PATCH 094/194] ARM64: Round-Robin dispatch IRQs between CPUs.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0095-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0095-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch
index b1617d18..c2c181ce 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0095-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0095-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch
@@ -1,4 +1,4 @@
-From df12897dae2b9d6e4f5b7a955a7f25532bbbc3fb Mon Sep 17 00:00:00 2001
+From 876d4d27e5bab4f467efcd67ffb282a46d3b8909 Mon Sep 17 00:00:00 2001
From: Michael Zoran <mzoran@crowfest.net>
Date: Sat, 11 Feb 2017 01:18:31 -0800
Subject: [PATCH 095/194] ARM64: Force hardware emulation of deprecated
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0096-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0096-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch
index d6ee8b55..411841c7 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0096-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0096-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch
@@ -1,4 +1,4 @@
-From 681c89e563b03479f69b930fd2a8558e7967b3d7 Mon Sep 17 00:00:00 2001
+From 09dba0b8cbda7c016497f82e769b7c6c7e4af8b9 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 10 Feb 2017 17:57:08 -0800
Subject: [PATCH 096/194] build/arm64: Add rules for .dtbo files for dts
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0097-Revert-build-arm64-Add-rules-for-.dtbo-files-for-dts.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0097-Revert-build-arm64-Add-rules-for-.dtbo-files-for-dts.patch
index 858031df..3b858460 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0097-Revert-build-arm64-Add-rules-for-.dtbo-files-for-dts.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0097-Revert-build-arm64-Add-rules-for-.dtbo-files-for-dts.patch
@@ -1,4 +1,4 @@
-From bb61dcd564bd03c71ea10c54e03ce0df14e5d37a Mon Sep 17 00:00:00 2001
+From e2cd355b70d5d207db27a0f20bda184964d8df36 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 26 Nov 2018 21:01:18 +0000
Subject: [PATCH 097/194] Revert "build/arm64: Add rules for .dtbo files for
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0098-cache-export-clean-and-invalidate.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0098-cache-export-clean-and-invalidate.patch
index 5ad59947..f49661ca 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0098-cache-export-clean-and-invalidate.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0098-cache-export-clean-and-invalidate.patch
@@ -1,4 +1,4 @@
-From debb435e7889bc897f22fa5435c6e5373f564ce9 Mon Sep 17 00:00:00 2001
+From ecd458cd07e93291715d0c387f477b8e66d89ea9 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 25 Aug 2017 19:18:13 +0100
Subject: [PATCH 098/194] cache: export clean and invalidate
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0099-AXI-performance-monitor-driver-2222.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0099-AXI-performance-monitor-driver-2222.patch
index cc9346e3..a36a991d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0099-AXI-performance-monitor-driver-2222.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0099-AXI-performance-monitor-driver-2222.patch
@@ -1,4 +1,4 @@
-From 75275b55ce345e86d8e9dea654b3bb13296e427c Mon Sep 17 00:00:00 2001
+From a1d8e080c154bcbfe1c0c0ffa0ee0792e8a14299 Mon Sep 17 00:00:00 2001
From: James Hughes <JamesH65@users.noreply.github.com>
Date: Tue, 14 Nov 2017 15:13:15 +0000
Subject: [PATCH 099/194] AXI performance monitor driver (#2222)
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0100-mcp2515-Use-DT-supplied-interrupt-flags.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0100-mcp2515-Use-DT-supplied-interrupt-flags.patch
index 5bd313a9..e433bf3b 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0100-mcp2515-Use-DT-supplied-interrupt-flags.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0100-mcp2515-Use-DT-supplied-interrupt-flags.patch
@@ -1,4 +1,4 @@
-From 3707dc74ddd35e602afa28bde14187ed2249127d Mon Sep 17 00:00:00 2001
+From 5d9fc0900101f43b5fe25b18d508a960e357284c Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 14 Nov 2017 11:03:22 +0000
Subject: [PATCH 100/194] mcp2515: Use DT-supplied interrupt flags
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0101-cgroup-Disable-cgroup-memory-by-default.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0101-cgroup-Disable-cgroup-memory-by-default.patch
index b63ebcab..5319b45d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0101-cgroup-Disable-cgroup-memory-by-default.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0101-cgroup-Disable-cgroup-memory-by-default.patch
@@ -1,4 +1,4 @@
-From 1b40bd99ff08e1b6fa6eb376961f5279867a4d3e Mon Sep 17 00:00:00 2001
+From 8742c93be3168ce2c7bff159499efdda6d3b0086 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 27 Nov 2017 17:14:54 +0000
Subject: [PATCH 101/194] cgroup: Disable cgroup "memory" by default
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0102-ARM-bcm2835-Set-Serial-number-and-Revision.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0102-ARM-bcm2835-Set-Serial-number-and-Revision.patch
index 244ff367..f5f6bab5 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0102-ARM-bcm2835-Set-Serial-number-and-Revision.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0102-ARM-bcm2835-Set-Serial-number-and-Revision.patch
@@ -1,4 +1,4 @@
-From d4fdf0642b657f44e18fa0eb4af1f5e569095ad0 Mon Sep 17 00:00:00 2001
+From bc6118abb2fa04f0be30d24573ad47899efefc14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Wed, 3 Jun 2015 12:26:13 +0200
Subject: [PATCH 102/194] ARM: bcm2835: Set Serial number and Revision
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0103-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0103-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch
index f166ff8d..ddb752f2 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0103-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0103-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch
@@ -1,4 +1,4 @@
-From 3fcd635e835076f56afbf72aa87c150a0d3e4da8 Mon Sep 17 00:00:00 2001
+From fde94339515c346ac22bf1450f861eb344dcd1d6 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 16 Jul 2018 14:40:13 +0100
Subject: [PATCH 103/194] dwc-otg: FIQ: Fix "bad mode in data abort handler"
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0104-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0104-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch
index 7af8536d..e1286772 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0104-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0104-ARM-Activate-FIQs-to-avoid-__irq_startup-warnings.patch
@@ -1,4 +1,4 @@
-From 9e5817c618b0c9e1f32bc4dd16dd8661064729f6 Mon Sep 17 00:00:00 2001
+From b1da8014529e194acf1952d35e342e5a4a3c6d97 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 11 Dec 2017 09:18:32 +0000
Subject: [PATCH 104/194] ARM: Activate FIQs to avoid __irq_startup warnings
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0105-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0105-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch
index dbd75248..3e329988 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0105-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0105-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch
@@ -1,4 +1,4 @@
-From e7f29dfe5938b22c542ecf995c17419a98d303e4 Mon Sep 17 00:00:00 2001
+From de24c9ed62f8decd38c5817b2957422e900e583a Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 22 Jan 2018 17:26:38 +0000
Subject: [PATCH 105/194] serial: 8250: bcm2835aux - suppress EPROBE_DEFER
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0106-raspberrypi-firmware-Export-the-general-transaction-.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0106-raspberrypi-firmware-Export-the-general-transaction-.patch
index e1829c02..9bc9fbc7 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0106-raspberrypi-firmware-Export-the-general-transaction-.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0106-raspberrypi-firmware-Export-the-general-transaction-.patch
@@ -1,4 +1,4 @@
-From 3ec15c43000c3b7572dcf9c416e79f4a8ed91fef Mon Sep 17 00:00:00 2001
+From 2470ea3dacf7de7cb93cd71864b07b4c5def68c3 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Wed, 14 Sep 2016 09:16:19 +0100
Subject: [PATCH 106/194] raspberrypi-firmware: Export the general transaction
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0107-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0107-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch
index f1685117..7f2a859f 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0107-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0107-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch
@@ -1,4 +1,4 @@
-From f7d0fbd6eb7b2f63e148f51642bfbf4152472093 Mon Sep 17 00:00:00 2001
+From 6baba2935db55ebef130e768ce2e7381514eae4a Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Wed, 14 Sep 2016 08:39:33 +0100
Subject: [PATCH 107/194] drm/vc4: Add a mode for using the closed firmware for
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0108-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0108-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch
index b94531de..174d74e0 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0108-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0108-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch
@@ -1,4 +1,4 @@
-From 83260b350cd72c7ee93ad077ac34bcd8e7bd3a7d Mon Sep 17 00:00:00 2001
+From e851c4197ee342d93b8ceafc12532ef969df48f7 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Wed, 1 Feb 2017 17:09:18 -0800
Subject: [PATCH 108/194] drm/vc4: Name the primary and cursor planes in fkms.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0109-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0109-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch
index 949816b2..09c07f5e 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0109-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0109-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch
@@ -1,4 +1,4 @@
-From 19b42738fe55c9aa9bf4cf4edf4f25544ffb5eaf Mon Sep 17 00:00:00 2001
+From f1fdb7ea4cf4a30ab6e93bd0e81893cd70183f78 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Wed, 1 Feb 2017 17:10:09 -0800
Subject: [PATCH 109/194] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0110-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0110-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch
index 68805a58..a47c3534 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0110-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0110-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch
@@ -1,4 +1,4 @@
-From 7cf1d445dd50723753e203f8a9eb658d034dc7b2 Mon Sep 17 00:00:00 2001
+From 0c99d7d195e504398dfc100f1d31d30c4dd9a381 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Thu, 2 Feb 2017 09:42:18 -0800
Subject: [PATCH 110/194] drm/vc4: Fix sending of page flip completion events
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0111-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0111-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch
index ca75e7c5..9552714f 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0111-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0111-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch
@@ -1,4 +1,4 @@
-From 30b491b2788383ea54badfd8b35dbf48201b94e5 Mon Sep 17 00:00:00 2001
+From 369775a3731f6fe81292433a07a8a30bbe8a79f5 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Thu, 6 Jul 2017 11:45:48 -0700
Subject: [PATCH 111/194] drm/vc4: Add support for setting DPMS in firmwarekms.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0112-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0112-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch
index 7f8e0abe..073d5f7d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0112-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0112-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch
@@ -1,4 +1,4 @@
-From dfc4d289859e9a1419836189478c3e359326e165 Mon Sep 17 00:00:00 2001
+From 6d55f139619182c374cdde2304481b7643f35960 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Wed, 7 Jun 2017 14:39:49 -0700
Subject: [PATCH 112/194] drm/vc4: Add FB modifier support to firmwarekms.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0113-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0113-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch
index 217e50dd..062af343 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0113-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0113-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch
@@ -1,4 +1,4 @@
-From 4ef0c6d40a74cefb2bfc65e29a3308781151894a Mon Sep 17 00:00:00 2001
+From 6e579e1528e71feec0bcf560d4da3b5a589972e4 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Tue, 30 Jan 2018 14:21:02 -0800
Subject: [PATCH 113/194] drm/vc4: Add missing enable/disable vblank handlers
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0114-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0114-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch
index 6d20b56c..987c4f33 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0114-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0114-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch
@@ -1,4 +1,4 @@
-From 19bfc1a1acbb45fc5fe1722c2e6121fa20091836 Mon Sep 17 00:00:00 2001
+From 724cc581aeff06d5d1b5bfc9e75c16049bac467a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 18 Apr 2017 21:43:46 +0100
Subject: [PATCH 114/194] vc4_fkms: Apply firmware overscan offset to hardware
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0115-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0115-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch
index ec8d5c10..a2829dec 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0115-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0115-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch
@@ -1,4 +1,4 @@
-From 45103016b2492921f36156b2ea98c76013388651 Mon Sep 17 00:00:00 2001
+From 9e1958f8132d36257e76a90b786ec07e4fd5995f Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Mon, 5 Feb 2018 18:01:02 +0000
Subject: [PATCH 115/194] drm/vc4: Fix warning about vblank interrupts before
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0116-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0116-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch
index 20b7052b..75949a88 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0116-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0116-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch
@@ -1,4 +1,4 @@
-From b9ff8f2f07abeee103f1208a95601801c862c38d Mon Sep 17 00:00:00 2001
+From ea5a390a1f96f4c8c0a2600d3e4afa3b511d044e Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Mon, 5 Feb 2018 18:02:30 +0000
Subject: [PATCH 116/194] drm/vc4: Skip SET_CURSOR_INFO when the cursor
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0117-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0117-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch
index cbab3a17..1b67f870 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0117-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0117-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch
@@ -1,4 +1,4 @@
-From 90a9a48dd7c53560e14d02d3fe0c1552f53e105e Mon Sep 17 00:00:00 2001
+From d94d5d7ba62194d54b506074b37a85aff88bb548 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Mon, 5 Feb 2018 18:22:03 +0000
Subject: [PATCH 117/194] drm/vc4: Remove duplicate primary/cursor fields from
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0118-vc4_firmware_kms-fix-build.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0118-vc4_firmware_kms-fix-build.patch
index f5460fff..f55bd1cc 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0118-vc4_firmware_kms-fix-build.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0118-vc4_firmware_kms-fix-build.patch
@@ -1,4 +1,4 @@
-From 33f118352ba516ea406f81d173c0167318f8c835 Mon Sep 17 00:00:00 2001
+From 437f342c2efd8312c6dd8de4af2125ccd132a850 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 17 Jun 2018 13:22:07 +0100
Subject: [PATCH 118/194] vc4_firmware_kms: fix build
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0119-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0119-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch
index f47df681..1a30e053 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0119-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0119-gpu-vc4-fkms-Update-driver-to-not-use-plane-crtc.patch
@@ -1,4 +1,4 @@
-From dc9182fb80962e91d1409b720e694cbf38c5598b Mon Sep 17 00:00:00 2001
+From bc54f18fac430d652fcf85074a21bea2f262c130 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Tue, 19 Feb 2019 15:06:31 +0000
Subject: [PATCH 119/194] gpu:vc4-fkms: Update driver to not use plane->crtc.
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0120-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0120-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch
index 7cb9cd99..0c6d84ab 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0120-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0120-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch
@@ -1,4 +1,4 @@
-From bfdbfb0d113a00e79a3140807f4bcfad117f84f9 Mon Sep 17 00:00:00 2001
+From 472b32408a56656646b9e71343668068c9d850cd Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Mon, 5 Feb 2018 18:53:18 +0000
Subject: [PATCH 120/194] drm/vc4: Don't wait for vblank on fkms cursor
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0121-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0121-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch
index 76208f15..75385040 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0121-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0121-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch
@@ -1,4 +1,4 @@
-From 615454743e8c51ce63b5d2795078cd9bcea2ba5e Mon Sep 17 00:00:00 2001
+From dfd98e51133f0217ff11ffcf94eaba25012da801 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 20 Feb 2018 10:07:27 +0000
Subject: [PATCH 121/194] i2c-gpio: Also set bus numbers from reg property
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0122-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0122-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch
index 43888c27..106b85cd 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0122-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0122-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch
@@ -1,4 +1,4 @@
-From ef8875980e0bedd81c7115ad279b160d9589efcc Mon Sep 17 00:00:00 2001
+From 0a00325f393e8e517ac5bf7285fec89ecd6ca942 Mon Sep 17 00:00:00 2001
From: hdoverobinson <hdoverobinson@gmail.com>
Date: Tue, 13 Mar 2018 06:58:39 -0400
Subject: [PATCH 122/194] added capture_clear option to pps-gpio via dtoverlay
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0123-lan78xx-Read-initial-EEE-status-from-DT.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0123-lan78xx-Read-initial-EEE-status-from-DT.patch
index d35c2fd6..c5017593 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0123-lan78xx-Read-initial-EEE-status-from-DT.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0123-lan78xx-Read-initial-EEE-status-from-DT.patch
@@ -1,4 +1,4 @@
-From b45056904e22962fcbf7ff89bbb219b9b496c615 Mon Sep 17 00:00:00 2001
+From d45877f8111af82c6292614a2ba902c0a7ca870e Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 9 Mar 2018 12:01:00 +0000
Subject: [PATCH 123/194] lan78xx: Read initial EEE status from DT
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0124-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0124-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch
index 74b6c19b..4567f26d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0124-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0124-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch
@@ -1,4 +1,4 @@
-From eac5503efb2792033bc57bcfac2865ca11580fe2 Mon Sep 17 00:00:00 2001
+From dc1afe5c19e1e8ad956344a5a601aaba802cdd82 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 14 Jul 2014 22:02:09 +0100
Subject: [PATCH 124/194] hid: Reduce default mouse polling interval to 60Hz
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0125-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0125-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch
index e31b7646..77f6d829 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0125-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0125-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch
@@ -1,4 +1,4 @@
-From d9de3e46666ad0753daea2c574a4906837ef0f29 Mon Sep 17 00:00:00 2001
+From 0222a3c897c6f285ca159265016bfe85a2371a82 Mon Sep 17 00:00:00 2001
From: Nick Bulleid <nedbulleid@fastmail.com>
Date: Thu, 10 May 2018 21:57:02 +0100
Subject: [PATCH 125/194] Add ability to export gpio used by gpio-poweroff
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0126-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0126-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch
index bea4f3e9..1880085d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0126-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0126-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch
@@ -1,4 +1,4 @@
-From c8121e27bb2a4f60f086052ab3a99b482f7efe95 Mon Sep 17 00:00:00 2001
+From e3a18a0d7a61bc4e4cc9e5478d57a65e0786c9eb Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Sat, 12 May 2018 21:35:43 +0100
Subject: [PATCH 126/194] firmware/raspberrypi: Notify firmware of a reboot
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0127-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0127-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch
index 2da7c3db..70567d3e 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0127-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0127-irqchip-irq-bcm2835-Calc.-FIQ_START-at-boot-time.patch
@@ -1,4 +1,4 @@
-From 602e2b56e001cf9712fe0718566e4f36ebc67950 Mon Sep 17 00:00:00 2001
+From d1ae7706a40c025d280fae27ceaad72d372449e9 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 14 Jun 2018 11:21:04 +0100
Subject: [PATCH 127/194] irqchip: irq-bcm2835: Calc. FIQ_START at boot-time
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0128-of-configfs-Use-of_overlay_fdt_apply-API-call.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0128-of-configfs-Use-of_overlay_fdt_apply-API-call.patch
index 727cd5ee..77e7b355 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0128-of-configfs-Use-of_overlay_fdt_apply-API-call.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0128-of-configfs-Use-of_overlay_fdt_apply-API-call.patch
@@ -1,4 +1,4 @@
-From 4081361384462f0f6b2bb28a3efd2289ab373299 Mon Sep 17 00:00:00 2001
+From 72384ad4b044ba7d2c1554563d89237ec36ffefb Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 14 Jun 2018 15:07:26 +0100
Subject: [PATCH 128/194] of: configfs: Use of_overlay_fdt_apply API call
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0129-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0129-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch
index 803f82d4..efd733f1 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0129-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0129-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch
@@ -1,4 +1,4 @@
-From 804059f491b6103102ecc9800ecdccf933a00abe Mon Sep 17 00:00:00 2001
+From f67e4ad90a624c885a4790eccd4bdf017cd8ac8b Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Wed, 13 Jun 2018 15:21:10 +0100
Subject: [PATCH 129/194] net: lan78xx: Disable TCP Segmentation Offload (TSO)
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0130-brcmfmac-Re-enable-firmware-roaming-support.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0130-brcmfmac-Re-enable-firmware-roaming-support.patch
index 38bfc12c..6381bc99 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0130-brcmfmac-Re-enable-firmware-roaming-support.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0130-brcmfmac-Re-enable-firmware-roaming-support.patch
@@ -1,4 +1,4 @@
-From 53d8ccee86f39a79280bc2c37ac6032d8469523c Mon Sep 17 00:00:00 2001
+From b8917c14a7f50c572dd1c3b9696327d522eba212 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 20 Jun 2018 12:20:01 +0100
Subject: [PATCH 130/194] brcmfmac: Re-enable firmware roaming support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0131-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0131-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch
index 41422780..52151fd2 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0131-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0131-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch
@@ -1,4 +1,4 @@
-From 9e06535e6397979c66fd3b8e042c2d11d37984b4 Mon Sep 17 00:00:00 2001
+From 37a4f51736c4eac2949f2196bc7110ddbb4e43d9 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 5 Apr 2018 14:46:11 +0100
Subject: [PATCH 131/194] lan78xx: Move enabling of EEE into PHY init code
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0132-Add-rpi-poe-fan-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0132-Add-rpi-poe-fan-driver.patch
index db3768c7..cc91cebe 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0132-Add-rpi-poe-fan-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0132-Add-rpi-poe-fan-driver.patch
@@ -1,4 +1,4 @@
-From a822af1c8f45ef436fe1a617ea643db6ddede682 Mon Sep 17 00:00:00 2001
+From c9dac733abc19c713167db0ccdc84094d005f46a Mon Sep 17 00:00:00 2001
From: Serge Schneider <serge@raspberrypi.org>
Date: Mon, 9 Jul 2018 12:54:25 +0100
Subject: [PATCH 132/194] Add rpi-poe-fan driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0133-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0133-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch
index f19a3193..9fdc8f4d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0133-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0133-cxd2880-CXD2880_SPI_DRV-should-select-DVB_CXD2880-wi.patch
@@ -1,4 +1,4 @@
-From 15f8013949e40b525435e6de2dceb2c429091e31 Mon Sep 17 00:00:00 2001
+From be7a181e6c2866542f1221d1bc4868efb95711dc Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 17 Sep 2018 17:31:18 +0100
Subject: [PATCH 133/194] cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0134-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0134-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch
index 20e513e0..0f514e31 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0134-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0134-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch
@@ -1,4 +1,4 @@
-From f490ba0e24dfb09db88e947d07c89650e5e5885a Mon Sep 17 00:00:00 2001
+From dafc600bb9561afb380ee731e28853aca23273db Mon Sep 17 00:00:00 2001
From: detule <ogjoneski@gmail.com>
Date: Tue, 2 Oct 2018 04:10:08 -0400
Subject: [PATCH 134/194] vchiq_2835_arm: Implement a DMA pool for small bulk
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0135-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0135-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch
index 70bc2d3c..e12b86fc 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0135-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0135-hwmon-raspberrypi-Prevent-voltage-low-warnings-from-.patch
@@ -1,4 +1,4 @@
-From 1d988f96947cd9e0d6132175a4a2c782906a5cb2 Mon Sep 17 00:00:00 2001
+From fbd83727c77d0aa18591770d01af5e85152fee08 Mon Sep 17 00:00:00 2001
From: Stefan Wahren <stefan.wahren@i2se.com>
Date: Sat, 6 Oct 2018 16:46:18 +0200
Subject: [PATCH 135/194] hwmon: raspberrypi: Prevent voltage low warnings from
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0136-firmware-raspberrypi-Add-backward-compatible-get_thr.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0136-firmware-raspberrypi-Add-backward-compatible-get_thr.patch
index 47ce02c7..0426aecd 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0136-firmware-raspberrypi-Add-backward-compatible-get_thr.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0136-firmware-raspberrypi-Add-backward-compatible-get_thr.patch
@@ -1,4 +1,4 @@
-From 89b3482c0db59fe62ed1498bdcde0eda14b7c068 Mon Sep 17 00:00:00 2001
+From e080370ea5a9795bc45d20c0fede08a8eb805de9 Mon Sep 17 00:00:00 2001
From: Stefan Wahren <stefan.wahren@i2se.com>
Date: Sat, 13 Oct 2018 13:31:21 +0200
Subject: [PATCH 136/194] firmware: raspberrypi: Add backward compatible
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0137-sc16is7xx-Don-t-spin-if-no-data-received.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0137-sc16is7xx-Don-t-spin-if-no-data-received.patch
index db6aa13f..b9c6bd15 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0137-sc16is7xx-Don-t-spin-if-no-data-received.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0137-sc16is7xx-Don-t-spin-if-no-data-received.patch
@@ -1,4 +1,4 @@
-From 7aeb9c283279b594d4cd9e86bc9954e5f24eda0e Mon Sep 17 00:00:00 2001
+From 129aae8b0b3fbec5a9b425de050a8044978153ca Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 6 Nov 2018 12:57:48 +0000
Subject: [PATCH 137/194] sc16is7xx: Don't spin if no data received
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0138-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0138-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch
index d6658686..8f6c87b8 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0138-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0138-brcmfmac-Disable-ARP-offloading-when-promiscuous.patch
@@ -1,4 +1,4 @@
-From ede2cb524a5ff23bf524b64ae1f3ef189a1ca474 Mon Sep 17 00:00:00 2001
+From 8c6ad513d5ccc9c377bcdae846d186aa30149bff Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 24 Aug 2017 16:16:16 +0100
Subject: [PATCH 138/194] brcmfmac: Disable ARP offloading when promiscuous
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0139-drivers-thermal-step_wise-add-support-for-hysteresis.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0139-drivers-thermal-step_wise-add-support-for-hysteresis.patch
index dae9b6ad..b395c9fb 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0139-drivers-thermal-step_wise-add-support-for-hysteresis.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0139-drivers-thermal-step_wise-add-support-for-hysteresis.patch
@@ -1,4 +1,4 @@
-From 8c5df087749c4cd6bdad1cbb13289813c4fbde30 Mon Sep 17 00:00:00 2001
+From 8a9bf5bf6588a581c198c5bf52fcb049feffc961 Mon Sep 17 00:00:00 2001
From: Ram Chandrasekar <rkumbako@codeaurora.org>
Date: Mon, 7 May 2018 11:54:08 -0600
Subject: [PATCH 139/194] drivers: thermal: step_wise: add support for
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0140-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0140-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch
index d77d5faa..1079c1b1 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0140-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0140-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch
@@ -1,4 +1,4 @@
-From 4a1cbe8455e147d276e659edc60d5ef8724b46c6 Mon Sep 17 00:00:00 2001
+From b420e8c5eb50aa7715e870fd9f437828a7af00f2 Mon Sep 17 00:00:00 2001
From: Serge Schneider <serge@raspberrypi.org>
Date: Tue, 2 Oct 2018 11:14:15 +0100
Subject: [PATCH 140/194] drivers: thermal: step_wise: avoid throttling at
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0141-Update-issue-templates-2736.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0141-Update-issue-templates-2736.patch
index 74d1673f..fff2a4b2 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0141-Update-issue-templates-2736.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0141-Update-issue-templates-2736.patch
@@ -1,4 +1,4 @@
-From ecdb5c8177a3df9639fdc9ad2ea1d462c442f553 Mon Sep 17 00:00:00 2001
+From bcdf6effefef6ba69b55a29d94ee4b7c89848e4e Mon Sep 17 00:00:00 2001
From: James Hughes <JamesH65@users.noreply.github.com>
Date: Fri, 2 Nov 2018 11:55:49 +0000
Subject: [PATCH 141/194] Update issue templates (#2736)
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0142-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0142-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
index d2805c5d..03e9573d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0142-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0142-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
@@ -1,4 +1,4 @@
-From f29fe210d7939a9ef15b9b09bec4156732b0aa2c Mon Sep 17 00:00:00 2001
+From 231b17fe5cc939eae0499c328c38cc7db08dfabe Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 24 Apr 2018 14:42:27 +0100
Subject: [PATCH 142/194] gpiolib: Don't prevent IRQ usage of output GPIOs
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0143-lan78xx-disable-interrupts-for-PHY-irqs.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0143-lan78xx-disable-interrupts-for-PHY-irqs.patch
index d1b1157e..4a745a8a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0143-lan78xx-disable-interrupts-for-PHY-irqs.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0143-lan78xx-disable-interrupts-for-PHY-irqs.patch
@@ -1,4 +1,4 @@
-From d5291f00220947cffe429ef72f05b614d1333586 Mon Sep 17 00:00:00 2001
+From f63de753d6b98e1e18090cfa499d49a0f7d9ba67 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 14 Nov 2018 17:36:26 +0000
Subject: [PATCH 143/194] lan78xx: disable interrupts for PHY irqs
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0144-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0144-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch
index b8e595fd..4add39fa 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0144-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0144-rpi-wm8804-soundcard-drop-PWRDN-register-writes.patch
@@ -1,4 +1,4 @@
-From 467801a5108b45a19cad660f86d61fa8eedc9422 Mon Sep 17 00:00:00 2001
+From f72ae155c2cb673f877aed6194977370fc3d5c63 Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Sun, 18 Nov 2018 15:24:16 +0100
Subject: [PATCH 144/194] rpi-wm8804-soundcard: drop PWRDN register writes
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0145-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0145-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch
index 219e92d7..bab83598 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0145-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0145-rpi-wm8804-soundcard-configure-wm8804-clocks-only-on.patch
@@ -1,4 +1,4 @@
-From 52650ace84711fde1fab593089a337f209478ef1 Mon Sep 17 00:00:00 2001
+From f02e640beac7b74e23dfca94716e579401726f9d Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Sun, 18 Nov 2018 15:32:28 +0100
Subject: [PATCH 145/194] rpi-wm8804-soundcard: configure wm8804 clocks only on
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0146-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0146-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch
index 54c28ecb..1175325d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0146-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0146-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch
@@ -1,4 +1,4 @@
-From 101ed1b7f03abbea935da4e981603ab964f8f44e Mon Sep 17 00:00:00 2001
+From d71d298b5e5c089f880254b5a24888eb250afda7 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 26 Nov 2018 19:46:58 +0000
Subject: [PATCH 146/194] net: lan78xx: Support auto-downshift to 100Mb/s
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0147-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0147-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch
index 143138c6..76cd0606 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0147-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0147-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch
@@ -1,4 +1,4 @@
-From 146e4e8b6ce4c7402c875711e1ec2c23e72ec9c9 Mon Sep 17 00:00:00 2001
+From ce22d7a7f2e15abe38c6415a0877477e2c5ce0da 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 147/194] ASoC: add driver for 3Dlab Nano soundcard (#2758)
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0148-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch b/ b/sys-kernel/boest-v5.0.15/raspberrypi/0148-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch
index b51d07e4..0d79672e 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0148-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0148-staging-bcm2835-camera-Ensure-H264-header-bytes-get-.patch
@@ -1,4 +1,4 @@
-From ce187b5e50783eb5135344cdb770a5a77123579d Mon Sep 17 00:00:00 2001
+From 334a150636e30b14d7c412d439522261f18f33e7 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Mon, 29 Oct 2018 14:21:04 +0000
Subject: [PATCH 148/194] staging: bcm2835-camera: Ensure H264 header bytes get
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0149-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0149-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch
index 1b3a8bcf..f8e94974 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0149-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0149-staging-bcm2835-camera-Check-the-error-for-REPEAT_SE.patch
@@ -1,4 +1,4 @@
-From f4a097109a2fbcebd3522f2dc6cf9bc911e55878 Mon Sep 17 00:00:00 2001
+From a0d15e61f93add3060311518efc5eae98e361cd9 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 149/194] staging: bcm2835-camera: Check the error for
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0150-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0150-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch
index 49975059..48769674 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0150-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0150-firmware-raspberrypi-Report-the-fw-variant-during-pr.patch
@@ -1,4 +1,4 @@
-From 194e6c11f365b31c32d0eb47097695f6622245d6 Mon Sep 17 00:00:00 2001
+From 70d13057bf61c2fd87824ecee4f05323dbda493e Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Thu, 10 Jan 2019 17:58:06 +0000
Subject: [PATCH 150/194] firmware: raspberrypi: Report the fw variant during
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0151-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0151-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch
index cd608608..3e250794 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0151-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0151-firmware-raspberrypi-Report-the-fw-git-hash-during-p.patch
@@ -1,4 +1,4 @@
-From 219f32a67a07c20986eb5b0f6a066a605a885b5f Mon Sep 17 00:00:00 2001
+From 318e505898960133373c0f9937d6f17f631c9034 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Thu, 10 Jan 2019 18:48:54 +0000
Subject: [PATCH 151/194] firmware: raspberrypi: Report the fw git hash during
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0152-arm64-dts-broadcom-Enable-fixups-for-overlays.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0152-arm64-dts-broadcom-Enable-fixups-for-overlays.patch
index 423c4f31..2780bbe5 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0152-arm64-dts-broadcom-Enable-fixups-for-overlays.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0152-arm64-dts-broadcom-Enable-fixups-for-overlays.patch
@@ -1,4 +1,4 @@
-From 10f59b47318b9fcfbe2b8307c703bf230474199d Mon Sep 17 00:00:00 2001
+From 0109a85d93e46a3fe22d467f9564d9020da6d026 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 15 Jan 2019 09:56:41 +0000
Subject: [PATCH 152/194] arm64: dts: broadcom: Enable fixups for overlays
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0153-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0153-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch
index 8a4f2d90..b0056752 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0153-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0153-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch
@@ -1,4 +1,4 @@
-From 84a839bb8267396d0253c78372086eaec602d2bf Mon Sep 17 00:00:00 2001
+From 11222c986ad3ed52477c1ff664c4b1684f91ac21 Mon Sep 17 00:00:00 2001
From: Ezekiel Bethel <zek@9net.org>
Date: Wed, 12 Dec 2018 19:11:13 +0000
Subject: [PATCH 153/194] bcm2835_smi: re-add dereference to fix DMA transfers
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0154-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0154-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
index 91877f6c..d5f853ff 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0154-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0154-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
@@ -1,4 +1,4 @@
-From 1c0450b7886e2ddd33b696fa3513ebdd4270a18b Mon Sep 17 00:00:00 2001
+From b6e04a7280b954d470e6f5fb6cd422bba49ff54c Mon Sep 17 00:00:00 2001
From: Joshua Emele <jemele@acm.org>
Date: Wed, 7 Nov 2018 16:07:40 -0800
Subject: [PATCH 154/194] lan78xx: Debounce link events to minimize poll storm
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0155-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0155-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch
index 12fc4a5f..e561ebdb 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0155-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0155-ASoC-Add-support-for-AudioSense-Pi-add-on-soundcard.patch
@@ -1,4 +1,4 @@
-From 2f3a10f8ef76d6d87dee1ca8bd0170e04c3ac7ac Mon Sep 17 00:00:00 2001
+From 210bbbd0d49bbd69781592a49e5545c9c08ee1c4 Mon Sep 17 00:00:00 2001
From: b-ak <anur.bhargav@gmail.com>
Date: Thu, 3 Jan 2019 00:01:08 +0530
Subject: [PATCH 155/194] ASoC: Add support for AudioSense-Pi add-on soundcard
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0156-spi-spi-bcm2835-Re-enable-HW-CS.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0156-spi-spi-bcm2835-Re-enable-HW-CS.patch
index 5ec4e2f4..cd3d12c8 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0156-spi-spi-bcm2835-Re-enable-HW-CS.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0156-spi-spi-bcm2835-Re-enable-HW-CS.patch
@@ -1,4 +1,4 @@
-From 5a0d7bda1e52d5996a244163346e4e27d6a62a0e Mon Sep 17 00:00:00 2001
+From 4a6c4a0fd80156f50efb27ae75c91435e23aee36 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 15 Jan 2019 12:39:50 +0000
Subject: [PATCH 156/194] spi: spi-bcm2835: Re-enable HW CS
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0157-spi-spi-bcm2835-Disable-forced-software-CS.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0157-spi-spi-bcm2835-Disable-forced-software-CS.patch
index 6588b4f3..f8ce07c7 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0157-spi-spi-bcm2835-Disable-forced-software-CS.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0157-spi-spi-bcm2835-Disable-forced-software-CS.patch
@@ -1,4 +1,4 @@
-From 5c9cc75bf04898d3dd8daee121947435337f3035 Mon Sep 17 00:00:00 2001
+From 13c2badd89dbbd55b24e1943180ae87137bd2f29 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 15 Jan 2019 12:41:15 +0000
Subject: [PATCH 157/194] spi: spi-bcm2835: Disable forced software CS
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0158-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0158-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch
index 7535f967..29bfaa7d 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0158-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0158-Added-driver-for-the-HiFiBerry-DAC-ADC-2694.patch
@@ -1,4 +1,4 @@
-From 979e9581d52375f1e39543532710b61a623f3612 Mon Sep 17 00:00:00 2001
+From 29bf37e159a59e53724841f179eb6b61394fbd32 Mon Sep 17 00:00:00 2001
From: HiFiBerry <info@hifiberry.com>
Date: Mon, 8 Oct 2018 18:10:12 +0200
Subject: [PATCH 158/194] Added driver for the HiFiBerry DAC+ ADC (#2694)
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0159-mfd-Add-rpi_sense_core-of-compatible-string.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0159-mfd-Add-rpi_sense_core-of-compatible-string.patch
index 442e83e9..ba8ba1fb 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0159-mfd-Add-rpi_sense_core-of-compatible-string.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0159-mfd-Add-rpi_sense_core-of-compatible-string.patch
@@ -1,4 +1,4 @@
-From 387b4f4dff94206097f54d9004502a8aa324cf19 Mon Sep 17 00:00:00 2001
+From 998b986f48efd457e3ad8ff55c3a932a8a28a2ad Mon Sep 17 00:00:00 2001
From: Serge Schneider <serge@raspberrypi.org>
Date: Tue, 29 Jan 2019 12:05:49 +0000
Subject: [PATCH 159/194] mfd: Add rpi_sense_core of compatible string
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0160-configs-Enable-the-AD193x-codecs.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0160-configs-Enable-the-AD193x-codecs.patch
index 6517a7b7..08a3de6c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0160-configs-Enable-the-AD193x-codecs.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0160-configs-Enable-the-AD193x-codecs.patch
@@ -1,4 +1,4 @@
-From a8f4f78b64cf9c94a289102dc1d604e716a41118 Mon Sep 17 00:00:00 2001
+From 190d0169d0f2cb6ebefedca453cf2cbe4b77fc72 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 7 Feb 2019 18:16:25 +0000
Subject: [PATCH 160/194] configs: Enable the AD193x codecs
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0161-lan78xx-EEE-support-is-now-a-PHY-property.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0161-lan78xx-EEE-support-is-now-a-PHY-property.patch
index 57482a69..09be5f60 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0161-lan78xx-EEE-support-is-now-a-PHY-property.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0161-lan78xx-EEE-support-is-now-a-PHY-property.patch
@@ -1,4 +1,4 @@
-From e287de7c4306cb39e1be343a3b9c532c144c0b40 Mon Sep 17 00:00:00 2001
+From f877c984a3e1d984917a796a88fe8a463c843b17 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 5 Mar 2019 09:51:22 +0000
Subject: [PATCH 161/194] lan78xx: EEE support is now a PHY property
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0162-Revert-staging-vchiq-delete-vchiq_killable.h.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0162-Revert-staging-vchiq-delete-vchiq_killable.h.patch
index 32666965..468f6b66 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0162-Revert-staging-vchiq-delete-vchiq_killable.h.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0162-Revert-staging-vchiq-delete-vchiq_killable.h.patch
@@ -1,4 +1,4 @@
-From 5449ff4b3253b4a920d583290892a29da8da8981 Mon Sep 17 00:00:00 2001
+From 2ee8dbd8be3a66537de8d256626c1baa3672ad53 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 6 Mar 2019 16:28:09 +0000
Subject: [PATCH 162/194] Revert "staging: vchiq: delete vchiq_killable.h"
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch
index d38a628d..0469f458 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch
@@ -1,4 +1,4 @@
-From 54fa25897dbeefcf8450dc7853c0e75935157ea1 Mon Sep 17 00:00:00 2001
+From 75f1ea3965849385b62238f0b69118c490f7c096 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 6 Mar 2019 16:29:13 +0000
Subject: [PATCH 163/194] Revert "staging: vchiq_2835_arm: quit using custom
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0164-Revert-staging-vchiq-switch-to-wait_for_completion_k.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0164-Revert-staging-vchiq-switch-to-wait_for_completion_k.patch
index 999e743b..48096180 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0164-Revert-staging-vchiq-switch-to-wait_for_completion_k.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0164-Revert-staging-vchiq-switch-to-wait_for_completion_k.patch
@@ -1,4 +1,4 @@
-From e6d67b392eb82e412b122a497d81bdab0bdf1d1b Mon Sep 17 00:00:00 2001
+From 4efb0f2b6ace2d5309fba8e05e8b6d67d4c7d417 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 6 Mar 2019 16:29:22 +0000
Subject: [PATCH 164/194] Revert "staging: vchiq: switch to
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0165-Revert-staging-vchiq-rework-remove_event-handling.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0165-Revert-staging-vchiq-rework-remove_event-handling.patch
index 9383b481..aee0be42 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0165-Revert-staging-vchiq-rework-remove_event-handling.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0165-Revert-staging-vchiq-rework-remove_event-handling.patch
@@ -1,4 +1,4 @@
-From beb7ad52e393753657d4f4c44e6c5f5a605178f3 Mon Sep 17 00:00:00 2001
+From 204baa56779609f59ec1e87e5f2c0fcf3af9a66f Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 6 Mar 2019 21:25:47 +0000
Subject: [PATCH 165/194] Revert "staging: vchiq: rework remove_event handling"
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0166-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0166-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch
index b6755c55..f46304e7 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0166-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0166-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch
@@ -1,4 +1,4 @@
-From 7f6883bede1341e73e487cecf506cc8f0bbb8578 Mon Sep 17 00:00:00 2001
+From 6753e4327d9917a90b83857ccc4c9ad7841be385 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 15 Mar 2019 21:11:10 +0000
Subject: [PATCH 166/194] Revert "staging: bcm2835-audio: Drop DT dependency"
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0167-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0167-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch
index f787bd9f..9bbf0df7 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0167-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0167-gpu-vc4_firmware_kms-Fix-up-64-bit-compile-warnings.patch
@@ -1,4 +1,4 @@
-From 8a21050538d55a90d0e6fab42e7ad4d16b92e03f Mon Sep 17 00:00:00 2001
+From c5f44abfd7c7a6c39f481d11e3818adcab705bdb Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Mon, 28 Jan 2019 14:40:16 +0000
Subject: [PATCH 167/194] gpu: vc4_firmware_kms: Fix up 64 bit compile
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0168-bcm2835-dma-Add-support-for-per-channel-flags.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0168-bcm2835-dma-Add-support-for-per-channel-flags.patch
index 7b4ad8eb..eff6bb4a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0168-bcm2835-dma-Add-support-for-per-channel-flags.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0168-bcm2835-dma-Add-support-for-per-channel-flags.patch
@@ -1,4 +1,4 @@
-From f5edd9ffb10c844fe5d2767704bb2ac08dffeed7 Mon Sep 17 00:00:00 2001
+From f38a268771df9bdcf92b9246134d57034b590432 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 20 Jul 2018 22:03:41 +0100
Subject: [PATCH 168/194] bcm2835-dma: Add support for per-channel flags
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0169-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0169-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch
index 298344c7..92225894 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0169-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0169-drm-vc4-Programming-the-CTM-is-conditional-on-runnin.patch
@@ -1,4 +1,4 @@
-From 1649e746add25286c2833e5cb052a9069f95162d Mon Sep 17 00:00:00 2001
+From e3b04dbd2c98e5ce567b80377e24d8b1b861800b Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Tue, 19 Feb 2019 15:18:25 +0000
Subject: [PATCH 169/194] drm: vc4: Programming the CTM is conditional on
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0170-rtc-rv3028-add-new-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0170-rtc-rv3028-add-new-driver.patch
index b0080c01..8ce8668c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0170-rtc-rv3028-add-new-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0170-rtc-rv3028-add-new-driver.patch
@@ -1,4 +1,4 @@
-From 1ae85114143c4e7eadff898775c253947ddb9087 Mon Sep 17 00:00:00 2001
+From 197cc994b26fc0000babe5c80ec6be40b77933f1 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Wed, 13 Feb 2019 00:21:36 +0100
Subject: [PATCH 170/194] rtc: rv3028: add new driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0171-rtc-rv3028-Add-backup-switchover-mode-support.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0171-rtc-rv3028-Add-backup-switchover-mode-support.patch
index c29e0302..2cc45dfc 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0171-rtc-rv3028-Add-backup-switchover-mode-support.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0171-rtc-rv3028-Add-backup-switchover-mode-support.patch
@@ -1,4 +1,4 @@
-From 19503b082f724f9c3cad42be80fd56133272c936 Mon Sep 17 00:00:00 2001
+From a03a0b9e1cac28ab1b5b8dd8378c9e3c6d1fa398 Mon Sep 17 00:00:00 2001
From: Phil Howard <phil@gadgetoid.com>
Date: Fri, 29 Mar 2019 10:53:14 +0000
Subject: [PATCH 171/194] rtc: rv3028: Add backup switchover mode support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0172-dt-bindings-rv3028-backup-switchover-support.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0172-dt-bindings-rv3028-backup-switchover-support.patch
index c0c5dc57..398ac917 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0172-dt-bindings-rv3028-backup-switchover-support.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0172-dt-bindings-rv3028-backup-switchover-support.patch
@@ -1,4 +1,4 @@
-From 33a671f7e9f2dc207fffefc0f37b822970292928 Mon Sep 17 00:00:00 2001
+From a97b35198aefa3bcd44127ce53ffe462a6213f91 Mon Sep 17 00:00:00 2001
From: Phil Howard <phil@gadgetoid.com>
Date: Fri, 29 Mar 2019 10:57:07 +0000
Subject: [PATCH 172/194] dt-bindings: rv3028 backup switchover support
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0173-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0173-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch
index 37e0f6e4..7bd6f90b 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0173-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0173-ASoC-tlv320aic32x4-SND_SOC_DAPM_MICBIAS-is-deprecate.patch
@@ -1,4 +1,4 @@
-From 57e29daf034ee9b30f6c8353a21442aa42fc120b Mon Sep 17 00:00:00 2001
+From e0d64ecb620b0b7b8d67c456f9116f70bea10c8c Mon Sep 17 00:00:00 2001
From: b-ak <anur.bhargav@gmail.com>
Date: Wed, 9 Jan 2019 22:41:21 +0530
Subject: [PATCH 173/194] ASoC: tlv320aic32x4: SND_SOC_DAPM_MICBIAS is
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0174-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0174-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch
index 1a3f7af1..72b3d99c 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0174-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0174-ASoC-tlv320aic32x4-Break-out-clock-setting-into-sepa.patch
@@ -1,4 +1,4 @@
-From 22c747cae4bd5c510738ed2d175f5ebb78b79729 Mon Sep 17 00:00:00 2001
+From 49b51181ab7876e0cf1370124587f132e8a9e163 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Mon, 18 Mar 2019 20:37:44 -0700
Subject: [PATCH 174/194] ASoC: tlv320aic32x4: Break out clock setting into
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0175-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0175-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch
index a43e129d..4ee623c1 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0175-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0175-ASoC-tlv320aic32x4-Properly-Set-Processing-Blocks.patch
@@ -1,4 +1,4 @@
-From ce15eb10da7fde5b5bfe5d7b977ce27d879a170b Mon Sep 17 00:00:00 2001
+From 782143eed66d76a2536013e7ffd2aa6884164df2 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Wed, 20 Mar 2019 19:38:44 -0700
Subject: [PATCH 175/194] ASoC: tlv320aic32x4: Properly Set Processing Blocks
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0176-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0176-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch
index e4498bb1..6c023ac6 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0176-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0176-ASoC-tlv320aic32x4-Model-PLL-in-CCF.patch
@@ -1,4 +1,4 @@
-From e3c960ad6b506213b12b352f19de41e7dad11676 Mon Sep 17 00:00:00 2001
+From 4b88bd1732a0baf2e613e6b043ab869d438ecc86 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:45 -0700
Subject: [PATCH 176/194] ASoC: tlv320aic32x4: Model PLL in CCF
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0177-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0177-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch
index 4f4e6d4d..1fe95982 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0177-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0177-ASoC-tlv320aic32x4-Model-CODEC_CLKIN-in-CCF.patch
@@ -1,4 +1,4 @@
-From 2d312e1d0db5f0f47083c2fb66a14edd7501a2c5 Mon Sep 17 00:00:00 2001
+From 8abfe20617750ee6e21dd6d6fd4bd1a16586b118 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:46 -0700
Subject: [PATCH 177/194] ASoC: tlv320aic32x4: Model CODEC_CLKIN in CCF
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0178-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0178-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch
index 34a5c91e..f8339717 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0178-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0178-ASoC-tlv320aic32x4-Model-DAC-ADC-dividers-in-CCF.patch
@@ -1,4 +1,4 @@
-From 9ad87faec6e7d781eb4e7d43ded97c3751755c40 Mon Sep 17 00:00:00 2001
+From 28424e43505a720378d23f76440abe5e70af1ee6 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:47 -0700
Subject: [PATCH 178/194] ASoC: tlv320aic32x4: Model DAC/ADC dividers in CCF
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0179-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0179-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch
index c0c04d7d..ed4d4ad6 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0179-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0179-ASoC-tlv320aic32x4-Model-BDIV-divider-in-CCF.patch
@@ -1,4 +1,4 @@
-From 1f1abb8ba117268c1e589477ac7cae56d2fb099f Mon Sep 17 00:00:00 2001
+From 9d04de465a1dbe9d78aeca16959d2be254b58e4d Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:48 -0700
Subject: [PATCH 179/194] ASoC: tlv320aic32x4: Model BDIV divider in CCF
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0180-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0180-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch
index 2bcb37ff..31d809a1 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0180-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0180-ASoC-tlv320aic32x4-Control-clock-gating-with-CCF.patch
@@ -1,4 +1,4 @@
-From 36f7a18b5ca40fce9c764b21e20ebc9821f7f075 Mon Sep 17 00:00:00 2001
+From da4813715e51351166f1bf0d06daf10973ed745d Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:49 -0700
Subject: [PATCH 180/194] ASoC: tlv320aic32x4: Control clock gating with CCF
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0181-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0181-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch
index 0dc995b6..11b27c57 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0181-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0181-ASoC-tlv320aic32x4-Move-aosr-and-dosr-setting-to-sep.patch
@@ -1,4 +1,4 @@
-From 7462a9617e07a858abef496d682e5a38bea203fd Mon Sep 17 00:00:00 2001
+From 4c2672cf9133c1b8f5cb4388a2099880c5cd5a7e Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:50 -0700
Subject: [PATCH 181/194] ASoC: tlv320aic32x4: Move aosr and dosr setting to
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0182-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0182-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch
index c96d71cd..8854f625 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0182-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0182-ASoC-tlv320aic32x4-Dynamically-Determine-Clocking.patch
@@ -1,4 +1,4 @@
-From 7f530cd275ddaf1bd1475634a206aa41ec498f3a Mon Sep 17 00:00:00 2001
+From e0a0ee9e0260f9a028c0207d754cca861e670585 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:51 -0700
Subject: [PATCH 182/194] ASoC: tlv320aic32x4: Dynamically Determine Clocking
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0183-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0183-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch
index 105f609b..dc67f8c6 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0183-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0183-ASoC-tlv320aic32x4-Restructure-set_dai_sysclk.patch
@@ -1,4 +1,4 @@
-From 6c676edf0f863423ab078edf78d3b68db65a7d96 Mon Sep 17 00:00:00 2001
+From 196f9c05a3462f0f4885522859498d78a201d764 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:52 -0700
Subject: [PATCH 183/194] ASoC: tlv320aic32x4: Restructure set_dai_sysclk
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0184-ASoC-tlv320aic32x4-Remove-mclk-references.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0184-ASoC-tlv320aic32x4-Remove-mclk-references.patch
index 80bcc196..870f746a 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0184-ASoC-tlv320aic32x4-Remove-mclk-references.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0184-ASoC-tlv320aic32x4-Remove-mclk-references.patch
@@ -1,4 +1,4 @@
-From 5018cd7afb3c8270e1aaf37b64f5a0bbe89b06e6 Mon Sep 17 00:00:00 2001
+From cf345fbdf54911d5bfe2487f99dbbc02800c9634 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:53 -0700
Subject: [PATCH 184/194] ASoC: tlv320aic32x4: Remove mclk references
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0185-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0185-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch
index 2c348cee..655be510 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0185-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0185-ASoC-tlv320aic32x4-Allow-192000-Sample-Rate.patch
@@ -1,4 +1,4 @@
-From 5310fe1aa72ba3e3c67e6f8e223f8d052581196c Mon Sep 17 00:00:00 2001
+From 114c1a4ea3ef1e0cf4a6d84522b584661dfe4713 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Thu, 21 Mar 2019 17:58:54 -0700
Subject: [PATCH 185/194] ASoC: tlv320aic32x4: Allow 192000 Sample Rate
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0186-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0186-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch
index 2142ff46..1d91d252 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0186-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0186-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch
@@ -1,4 +1,4 @@
-From 8da4549c6c71bd968c7cbb78317ac8d6932939a2 Mon Sep 17 00:00:00 2001
+From db5fc325d1c0a63a7051ef86146ee498615195fd Mon Sep 17 00:00:00 2001
From: Mark Brown <broonie@kernel.org>
Date: Tue, 26 Mar 2019 13:10:13 +0000
Subject: [PATCH 186/194] ASoC: tlv320aic32x4: Only enable with common clock
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0187-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0187-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch
index 01dbf086..4b245696 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0187-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0187-Audiophonics-I-Sabre-9038Q2M-DAC-driver.patch
@@ -1,4 +1,4 @@
-From d4a0aa41d35706dbb37e9b9d373bfc5d930dffb0 Mon Sep 17 00:00:00 2001
+From 8316bc21909136aec22bab47032b2b7751af3981 Mon Sep 17 00:00:00 2001
From: FERHAT Nicolas <contact@audiophonics.fr>
Date: Fri, 5 Apr 2019 13:06:42 +0100
Subject: [PATCH 187/194] Audiophonics I-Sabre 9038Q2M DAC driver
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0188-ASoC-tlv320aic32x4-Change-author-s-name.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0188-ASoC-tlv320aic32x4-Change-author-s-name.patch
index 7ef0750f..8d420e53 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0188-ASoC-tlv320aic32x4-Change-author-s-name.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0188-ASoC-tlv320aic32x4-Change-author-s-name.patch
@@ -1,4 +1,4 @@
-From a95e97a142db466bf68ba8eff301f963515e0987 Mon Sep 17 00:00:00 2001
+From d584006442a64dec1981db601f6149bbb8fc81d5 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Wed, 3 Apr 2019 21:17:15 -0700
Subject: [PATCH 188/194] ASoC: tlv320aic32x4: Change author's name
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0189-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0189-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch
index bcf44d28..32c1590f 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0189-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0189-ASoC-tlv320aic32x4-Update-copyright-and-use-SPDX-ide.patch
@@ -1,4 +1,4 @@
-From 03d171f7344022f629409061230742fde3e5b87a Mon Sep 17 00:00:00 2001
+From e3af2a228c9cd638128e70ad018a4ccb55297c5e Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Wed, 3 Apr 2019 21:17:16 -0700
Subject: [PATCH 189/194] ASoC: tlv320aic32x4: Update copyright and use SPDX
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0190-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0190-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch
index 3b59ecd2..d5029ea0 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0190-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0190-ASoC-tlv320aic32x4-Add-Switch-for-Setting-Common-Mod.patch
@@ -1,4 +1,4 @@
-From 7808ce911fac878eea2eedd2609972f0cc8350e7 Mon Sep 17 00:00:00 2001
+From d840aec18455b4f7513e822cc571e82fa1758406 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Wed, 3 Apr 2019 21:01:54 -0700
Subject: [PATCH 190/194] ASoC: tlv320aic32x4: Add Switch for Setting Common
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0191-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0191-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch
index 0e18143a..1c320d24 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0191-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0191-ASoC-tlv320aic32x4-Add-Playback-PowerTune-Controls.patch
@@ -1,4 +1,4 @@
-From 74508b2cf262f71dc2ecb4b646db8c93273b2895 Mon Sep 17 00:00:00 2001
+From eb78d6a320854920e740b3bb09094d6dc1f89ac2 Mon Sep 17 00:00:00 2001
From: Annaliese McDermond <nh6z@nh6z.net>
Date: Wed, 3 Apr 2019 21:01:55 -0700
Subject: [PATCH 191/194] ASoC: tlv320aic32x4: Add Playback PowerTune Controls
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0192-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0192-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch
index 45670d9c..40d3f532 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0192-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0192-Input-ili210x-fetch-touchscreen-geometry-from-DT.patch
@@ -1,4 +1,4 @@
-From deaf8a4a7f8aa70e26fc57c5479a21991abdf05b Mon Sep 17 00:00:00 2001
+From c45b8538b76fcf51e442423561a446ff60bfe10d Mon Sep 17 00:00:00 2001
From: Samuel Hsu <hsu@distec.de>
Date: Mon, 8 Apr 2019 16:42:17 +0200
Subject: [PATCH 192/194] Input: ili210x - fetch touchscreen geometry from DT
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0193-Input-ili210x-add-DT-binding-document.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0193-Input-ili210x-add-DT-binding-document.patch
index 2dbbd1c5..cce38208 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0193-Input-ili210x-add-DT-binding-document.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0193-Input-ili210x-add-DT-binding-document.patch
@@ -1,4 +1,4 @@
-From 7e7bc5c6c71918d14f39933c1eb73530cc582c4c Mon Sep 17 00:00:00 2001
+From f6302c418ba6f3dee5cba8c6bd938f98b85e19fb Mon Sep 17 00:00:00 2001
From: Samuel Hsu <hsu@distec.de>
Date: Mon, 8 Apr 2019 16:49:51 +0200
Subject: [PATCH 193/194] Input: ili210x - add DT binding document
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0194-media-m88ds3103-serialize-reset-messages-in-m88ds310.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0194-media-m88ds3103-serialize-reset-messages-in-m88ds310.patch
index 3dccaf0c..875c4fc2 100644
--- a/sys-kernel/boest-v5.0.15/raspberrypi/0194-media-m88ds3103-serialize-reset-messages-in-m88ds310.patch
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0194-media-m88ds3103-serialize-reset-messages-in-m88ds310.patch
@@ -1,4 +1,4 @@
-From ad47c8c3a6b6fdc05fbecf65cbba60911471386e Mon Sep 17 00:00:00 2001
+From c06e126d6f58fcb9966f0e41c61587e200490914 Mon Sep 17 00:00:00 2001
From: James Hutchinson <jahutchinson99@googlemail.com>
Date: Sun, 13 Jan 2019 16:13:47 -0500
Subject: [PATCH 194/194] media: m88ds3103: serialize reset messages in
diff --git a/sys-kernel/boest-v5.0.16/0001-patch-4.20-ja1.diff.patch b/sys-kernel/boest-v5.0.16/0001-patch-4.20-ja1.diff.patch
new file mode 100644
index 00000000..0a8a2be9
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0001-patch-4.20-ja1.diff.patch
@@ -0,0 +1,2120 @@
+From 42c61208853e3fd64e5f59c88438f2a287962a9b Mon Sep 17 00:00:00 2001
+From: Julian Anastasov <ja@ssi.bg>
+Date: Sun, 20 Jan 2019 13:22:45 +0000
+Subject: [PATCH 01/12] patch-4.20-ja1.diff
+
+Jumbo patch containing the following parts:
+ - routes-2.X.*.diff (static_routes, alt_routes, nf_reroute but without arp_prefsrc functionality, it is replaced by arprules and rp_filter_mask)
+ - hidden-2.X.*.diff (conf/*/hidden)
+ - arprules-2.X.*.diff (iparp/arprules support)
+ - rp_filter_mask-2.X.*.diff (conf/*/rp_filter_mask)
+ - forward_shared-2.X.*.diff (conf/*/forward_shared)
+ - send-to-self-2.X.*.diff (conf/*/loop, included March 3, 2004, up to Linux 3.5)
+
+URL: http://ja.ssi.bg/patch-4.20-ja1.diff
+---
+ Documentation/networking/ip-sysctl.txt | 30 +
+ include/linux/inetdevice.h | 3 +
+ include/net/flow.h | 2 +
+ include/net/ip_fib.h | 5 +-
+ include/net/netfilter/nf_nat.h | 5 +
+ include/net/route.h | 5 +
+ include/uapi/linux/ip.h | 3 +
+ include/uapi/linux/rtnetlink.h | 64 +-
+ net/bridge/br_netfilter_hooks.c | 3 +
+ net/ipv4/arp.c | 695 +++++++++++++++++++-
+ net/ipv4/devinet.c | 14 +-
+ net/ipv4/fib_frontend.c | 56 +-
+ net/ipv4/fib_rules.c | 5 +
+ net/ipv4/fib_semantics.c | 257 ++++++--
+ net/ipv4/fib_trie.c | 3 +
+ net/ipv4/netfilter/iptable_nat.c | 7 +
+ net/ipv4/netfilter/nf_nat_masquerade_ipv4.c | 27 +-
+ net/ipv4/route.c | 69 +-
+ net/netfilter/nf_nat_core.c | 43 ++
+ security/selinux/nlmsgtab.c | 5 +-
+ 20 files changed, 1173 insertions(+), 128 deletions(-)
+
+diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
+index e2142fe40cda..2c9787017dae 100644
+--- a/Documentation/networking/ip-sysctl.txt
++++ b/Documentation/networking/ip-sysctl.txt
+@@ -1077,6 +1077,19 @@ forwarding - BOOLEAN
+ Enable IP forwarding on this interface. This controls whether packets
+ received _on_ this interface can be forwarded.
+
++forward_shared - BOOLEAN
++ Integer value determines if a source validation should allow
++ forwarding of packets with local source address. 1 means yes,
++ 0 means no. By default the flag is disabled and such packets
++ are not forwarded.
++
++ If you enable this flag on internal network, the router will forward
++ packets from internal hosts with shared IP addresses no matter how
++ the rp_filter is set. This flag is activated only if it is
++ enabled both in specific device section and in "all" section.
++
++ The forward_shared value could be ignored when rp_filter is set to 0.
++
+ mc_forwarding - BOOLEAN
+ Do multicast routing. The kernel needs to be compiled with CONFIG_MROUTE
+ and a multicast routing daemon is required.
+@@ -1192,6 +1205,15 @@ rp_filter - INTEGER
+ Default value is 0. Note that some distributions enable it
+ in startup scripts.
+
++rp_filter_mask - INTEGER
++ Integer value representing bitmask of the mediums for which the
++ reverse path protection is disabled. If the source validation
++ results in reverse path to interface with medium_id value in
++ the 1..31 range the access is allowed if the corresponding bit
++ is set in the bitmask. The bitmask value is considered only when
++ rp_filter is enabled. By default the bitmask is empty preserving
++ the original rp_filter semantic.
++
+ arp_filter - BOOLEAN
+ 1 - Allows you to have multiple network interfaces on the same
+ subnet, and have the ARPs for each interface be answered
+@@ -1332,6 +1354,14 @@ drop_gratuitous_arp - BOOLEAN
+ Default: off (0)
+
+
++hidden - BOOLEAN
++ Hide addresses attached to this device from other devices.
++ Such addresses will never be selected by source address autoselection
++ mechanism, host does not answer broadcast ARP requests for them,
++ does not announce them as source address of ARP requests, but they
++ are still reachable via IP. This flag is activated only if it is
++ enabled both in specific device section and in "all" section.
++++
+ tag - INTEGER
+ Allows you to write a number, which can be used as required.
+ Default value is 0.
+diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h
+index a64f21a97369..f2103b9e67de 100644
+--- a/include/linux/inetdevice.h
++++ b/include/linux/inetdevice.h
+@@ -97,9 +97,11 @@ static inline void ipv4_devconf_setall(struct in_device *in_dev)
+ #define IN_DEV_MFORWARD(in_dev) IN_DEV_ANDCONF((in_dev), MC_FORWARDING)
+ #define IN_DEV_BFORWARD(in_dev) IN_DEV_ANDCONF((in_dev), BC_FORWARDING)
+ #define IN_DEV_RPFILTER(in_dev) IN_DEV_MAXCONF((in_dev), RP_FILTER)
++#define IN_DEV_RPFILTER_MASK(in_dev) IN_DEV_CONF_GET(in_dev, RP_FILTER_MASK)
+ #define IN_DEV_SRC_VMARK(in_dev) IN_DEV_ORCONF((in_dev), SRC_VMARK)
+ #define IN_DEV_SOURCE_ROUTE(in_dev) IN_DEV_ANDCONF((in_dev), \
+ ACCEPT_SOURCE_ROUTE)
++#define IN_DEV_FORWARD_SHARED(in_dev) IN_DEV_ANDCONF((in_dev), FORWARD_SHARED)
+ #define IN_DEV_ACCEPT_LOCAL(in_dev) IN_DEV_ORCONF((in_dev), ACCEPT_LOCAL)
+ #define IN_DEV_BOOTP_RELAY(in_dev) IN_DEV_ANDCONF((in_dev), BOOTP_RELAY)
+
+@@ -112,6 +114,7 @@ static inline void ipv4_devconf_setall(struct in_device *in_dev)
+ SECURE_REDIRECTS)
+ #define IN_DEV_IDTAG(in_dev) IN_DEV_CONF_GET(in_dev, TAG)
+ #define IN_DEV_MEDIUM_ID(in_dev) IN_DEV_CONF_GET(in_dev, MEDIUM_ID)
++#define IN_DEV_HIDDEN(in_dev) IN_DEV_ANDCONF((in_dev), HIDDEN)
+ #define IN_DEV_PROMOTE_SECONDARIES(in_dev) \
+ IN_DEV_ORCONF((in_dev), \
+ PROMOTE_SECONDARIES)
+diff --git a/include/net/flow.h b/include/net/flow.h
+index 93f2c9a0f098..b0516bb8b64a 100644
+--- a/include/net/flow.h
++++ b/include/net/flow.h
+@@ -91,6 +91,7 @@ struct flowi4 {
+ #define fl4_ipsec_spi uli.spi
+ #define fl4_mh_type uli.mht.type
+ #define fl4_gre_key uli.gre_key
++ __be32 fl4_gw;
+ } __attribute__((__aligned__(BITS_PER_LONG/8)));
+ +
+ static inline void flowi4_init_output(struct flowi4 *fl4, int oif,
+@@ -114,6 +115,7 @@ static inline void flowi4_init_output(struct flowi4 *fl4, int oif,
+ fl4->saddr = saddr;
+ fl4->fl4_dport = dport;
+ fl4->fl4_sport = sport;
++ fl4->fl4_gw = 0;
+ }+ }
+ +
+ /* Reset some input parameters after previous lookup */
+diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
+index 9c8214d2116d..a1b2aa38264b 100644
+--- a/include/net/ip_fib.h
++++ b/include/net/ip_fib.h
+@@ -378,6 +378,8 @@ static inline bool fib4_rules_early_flow_dissect(struct net *net,
+ return true;
+ }
+
++u32 fib_result_table(struct fib_result *res);
++
+ #endif /* CONFIG_IP_MULTIPLE_TABLES */
+
+ /* Exported by fib_frontend.c */
+@@ -387,7 +389,8 @@ __be32 fib_compute_spec_dst(struct sk_buff *skb);
+ bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev);
+ int fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+ u8 tos, int oif, struct net_device *dev,
+- struct in_device *idev, u32 *itag);
++ struct in_device *idev, u32 *itag, int our);
++void fib_select_default(const struct flowi4 *flp, struct fib_result *res);
+ #ifdef CONFIG_IP_ROUTE_CLASSID
+ static inline int fib_num_tclassid_users(struct net *net)
+ {
+diff --git a/include/net/netfilter/nf_nat.h b/include/net/netfilter/nf_nat.h
+index a17eb2f8d40e..749d505486d3 100644
+--- a/include/net/netfilter/nf_nat.h
++++ b/include/net/netfilter/nf_nat.h
+@@ -37,6 +37,11 @@ struct nf_conn_nat {
+ #endif
+ };
+
++/* Call input routing for SNAT-ed traffic */
++unsigned int ip_nat_route_input(void *priv,
++ struct sk_buff *skb,
++ const struct nf_hook_state *state);
++
+ /* Set up the info structure to map into this range. */
+ unsigned int nf_nat_setup_info(struct nf_conn *ct,
+ const struct nf_nat_range2 *range,
+diff --git a/include/net/route.h b/include/net/route.h
+index 9883dc82f723..a617bc7e0d8f 100644
+--- a/include/net/route.h
++++ b/include/net/route.h
+@@ -182,6 +182,9 @@ int ip_route_input_noref(struct sk_buff *skb, __be32 dst, __be32 src,
+ int ip_route_input_rcu(struct sk_buff *skb, __be32 dst, __be32 src,
+ u8 tos, struct net_device *devin,
+ struct fib_result *res);
++int ip_route_input_common_rcu(struct sk_buff *skb, __be32 dst, __be32 src,
++ u8 tos, struct net_device *devin, __be32 lsrc,
++ struct fib_result *res);
+
+ static inline int ip_route_input(struct sk_buff *skb, __be32 dst, __be32 src,
+ u8 tos, struct net_device *devin)
+@@ -217,6 +220,8 @@ unsigned int inet_addr_type_dev_table(struct net *net,
+ void ip_rt_multicast_event(struct in_device *);
+ int ip_rt_ioctl(struct net *, unsigned int cmd, struct rtentry *rt);
+ void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt);
++int ip_route_input_lookup(struct sk_buff*, __be32 dst, __be32 src, u8 tos,
++ struct net_device *devin, __be32 lsrc);
+ struct rtable *rt_dst_alloc(struct net_device *dev,
+ unsigned int flags, u16 type,
+ bool nopolicy, bool noxfrm, bool will_cache);
+diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h
+index e42d13b55cf3..d03711046f2e 100644
+--- a/include/uapi/linux/ip.h
++++ b/include/uapi/linux/ip.h
+@@ -169,6 +169,9 @@ enum
+ IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST,
+ IPV4_DEVCONF_DROP_GRATUITOUS_ARP,
+ IPV4_DEVCONF_BC_FORWARDING,
++ IPV4_DEVCONF_HIDDEN,
++ IPV4_DEVCONF_RP_FILTER_MASK,
++ IPV4_DEVCONF_FORWARD_SHARED,
+ __IPV4_DEVCONF_MAX
+ };
+
+diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
+index 46399367627f..92593fd1a055 100644
+--- a/include/uapi/linux/rtnetlink.h
++++ b/include/uapi/linux/rtnetlink.h
+@@ -157,6 +157,13 @@ enum {
+ RTM_GETCHAIN,
+ #define RTM_GETCHAIN RTM_GETCHAIN
+
++ RTM_NEWARPRULE = 104,
++#define RTM_NEWARPRULE RTM_NEWARPRULE
++ RTM_DELARPRULE,
++#define RTM_DELARPRULE RTM_DELARPRULE
++ RTM_GETARPRULE,
++#define RTM_GETARPRULE RTM_GETARPRULE
++
+ __RTM_MAX,
+ #define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1)
+ };
+@@ -374,8 +381,11 @@ struct rtnexthop {
+ #define RTNH_F_OFFLOAD 8 /* offloaded route */
+ #define RTNH_F_LINKDOWN 16 /* carrier-down on nexthop */
+ #define RTNH_F_UNRESOLVED 32 /* The entry is unresolved (ipmr) */
++#define RTNH_F_SUSPECT 64 /* We don't know the real state */
++#define RTNH_F_BADSTATE (RTNH_F_DEAD | RTNH_F_SUSPECT)
+
+-#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | RTNH_F_OFFLOAD)
++#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | \
++ RTNH_F_OFFLOAD | RTNH_F_SUSPECT)
+
+ /* Macros to handle hexthops */
+
+@@ -617,6 +627,54 @@ enum {
+
+ #define NDUSEROPT_MAX (__NDUSEROPT_MAX - 1)
+
++/******************************************************************************
++ * Definitions used in ARP tables administration
++ ****/
++
++#define ARPA_TABLE_INPUT 0
++#define ARPA_TABLE_OUTPUT 1
++#define ARPA_TABLE_FORWARD 2
++#define ARPA_TABLE_ALL -1
++
++#define ARPM_F_PREFSRC 0x0001
++#define ARPM_F_WILDIIF 0x0002
++#define ARPM_F_WILDOIF 0x0004
++#define ARPM_F_BROADCAST 0x0008
++#define ARPM_F_UNICAST 0x0010
++
++struct arpmsg
++{
++ unsigned char arpm_family;
++ unsigned char arpm_table;
++ unsigned char arpm_action;
++ unsigned char arpm_from_len;
++ unsigned char arpm_to_len;
++ unsigned char arpm__pad1;
++ unsigned short arpm__pad2;
++ unsigned arpm_pref;
++ unsigned arpm_flags;
++};
++
++enum
++{
++ ARPA_UNSPEC,
++ ARPA_FROM, /* FROM IP prefix */
++ ARPA_TO, /* TO IP prefix */
++ ARPA_LLFROM, /* FROM LL prefix */
++ ARPA_LLTO, /* TO LL prefix */
++ ARPA_LLSRC, /* New SRC lladdr */
++ ARPA_LLDST, /* New DST lladdr */
++ ARPA_IIF, /* In interface prefix */
++ ARPA_OIF, /* Out interface prefix */
++ ARPA_SRC, /* New IP SRC */
++ ARPA_DST, /* New IP DST, not used */
++ ARPA_PACKETS, /* Packets */
++};
++
++#define ARPA_MAX ARPA_PACKETS
++
++#define ARPA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct arpmsg))))
++
+ #ifndef __KERNEL__
+ /* RTnetlink multicast groups - backwards compatibility for userspace */
+ #define RTMGRP_LINK 1
+@@ -637,6 +695,8 @@ enum {
+ #define RTMGRP_DECnet_IFADDR 0x1000
+ #define RTMGRP_DECnet_ROUTE 0x4000
+
++#define RTMGRP_ARP 0x00010000
++
+ #define RTMGRP_IPV6_PREFIX 0x20000
+ #endif
+
+@@ -704,6 +764,8 @@ enum rtnetlink_groups {
+ #define RTNLGRP_IPV4_MROUTE_R RTNLGRP_IPV4_MROUTE_R
+ RTNLGRP_IPV6_MROUTE_R,
+ #define RTNLGRP_IPV6_MROUTE_R RTNLGRP_IPV6_MROUTE_R
++ RTNLGRP_ARP,
++#define RTNLGRP_ARP RTNLGRP_ARP
+ __RTNLGRP_MAX
+ };
+ #define RTNLGRP_MAX (__RTNLGRP_MAX - 1)
+diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c
+index fc605758323b..5f2ba880d0ed 100644
+--- a/net/bridge/br_netfilter_hooks.c
++++ b/net/bridge/br_netfilter_hooks.c
+@@ -347,6 +347,9 @@ static int br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_
+
+ nf_bridge->frag_max_size = IPCB(skb)->frag_max_size;
+
++ /* Old skb->dst is not expected, it is lost in all cases */
++ skb_dst_drop(skb);
++
+ if (nf_bridge->pkt_otherhost) {
+ skb->pkt_type = PACKET_OTHERHOST;
+ nf_bridge->pkt_otherhost = false;
+diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
+index 850a6f13a082..bf0bf575eff6 100644
+--- a/net/ipv4/arp.c
++++ b/net/ipv4/arp.c
+@@ -71,6 +71,9 @@
+ * sending (e.g. insert 8021q tag).
+ * Harald Welte : convert to make use of jenkins hash
+ * Jesper D. Brouer: Proxy ARP PVLAN RFC 3069 support.
++ * Julian Anastasov: "hidden" flag: hide the
++ * interface and don't reply for it
++ * Julian Anastasov: ARP filtering via netlink
+ */
+
+ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+@@ -95,6 +98,7 @@
+ #include <linux/proc_fs.h>
+ #include <linux/seq_file.h>
+ #include <linux/stat.h>
++#include <net/netlink.h>
+ #include <linux/init.h>
+ #include <linux/net.h>
+ #include <linux/rcupdate.h>
+@@ -185,6 +189,48 @@ struct neigh_table arp_tbl = {
+ };
+ EXPORT_SYMBOL(arp_tbl);
+
++struct arpf_node {
++ struct arpf_node * at_next;
++ u32 at_pref;
++ u32 at_from;
++ u32 at_from_mask;
++ u32 at_to;
++ u32 at_to_mask;
++ u32 at_src;
++ atomic_t at_packets;
++ atomic_t at_refcnt;
++ unsigned at_flags;
++ unsigned char at_from_len;
++ unsigned char at_to_len;
++ unsigned char at_action;
++ char at_dead;
++ unsigned char at_llfrom_len;
++ unsigned char at_llto_len;
++ unsigned char at_llsrc_len;
++ unsigned char at_lldst_len;
++ unsigned char at_iif_len;
++ unsigned char at_oif_len;
++ unsigned short at__pad1;
++ unsigned char at_llfrom[MAX_ADDR_LEN];
++ unsigned char at_llto[MAX_ADDR_LEN];
++ unsigned char at_llsrc[MAX_ADDR_LEN];
++ unsigned char at_lldst[MAX_ADDR_LEN];
++ char at_iif[IFNAMSIZ];
++ char at_oif[IFNAMSIZ];
++};
++
++static struct arpf_node *arp_tabs[3];
++
++static struct kmem_cache *arpf_cachep;
++
++static DEFINE_RWLOCK(arpf_lock);
++
++static void
++arpf_send(int table, struct net *net, struct sk_buff *skb, u32 sip, u32 tip,
++ unsigned char *from_hw, unsigned char *to_hw,
++ struct net_device *idev, struct net_device *odev,
++ struct dst_entry *dst);
++
+ int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir)
+ {
+ switch (dev->type) {
+@@ -338,7 +384,9 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
+ struct net_device *dev = neigh->dev;
+ __be32 target = *(__be32 *)neigh->primary_key;
+ int probes = atomic_read(&neigh->probes);
+- struct in_device *in_dev;
++ struct in_device *in_dev, *in_dev2;
++ struct net_device *dev2;
++ int mode;
+ struct dst_entry *dst = NULL;
+
+ rcu_read_lock();
+@@ -347,9 +395,22 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
+ rcu_read_unlock();
+ return;
+ }
+- switch (IN_DEV_ARP_ANNOUNCE(in_dev)) {
++ mode = IN_DEV_ARP_ANNOUNCE(in_dev);
++ if (mode != 2 && skb &&
++ (dev2 = __ip_dev_find(dev_net(dev), ip_hdr(skb)->saddr,
++ false)) != NULL &&
++ (saddr = ip_hdr(skb)->saddr,
++ in_dev2 = __in_dev_get_rcu(dev2)) != NULL &&
++ IN_DEV_HIDDEN(in_dev2)) {
++ saddr = 0;
++ goto get;
++ }
++
++ switch (mode) {
+ default:
+ case 0: /* By default announce any local IP */
++ if (saddr)
++ break;
+ if (skb && inet_addr_type_dev_table(dev_net(dev), dev,
+ ip_hdr(skb)->saddr) == RTN_LOCAL)
+ saddr = ip_hdr(skb)->saddr;
+@@ -357,9 +418,10 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
+ case 1: /* Restrict announcements of saddr in same subnet */
+ if (!skb)
+ break;
+- saddr = ip_hdr(skb)->saddr;
+- if (inet_addr_type_dev_table(dev_net(dev), dev,
+- saddr) == RTN_LOCAL) {
++ if (saddr ||
++ (saddr = ip_hdr(skb)->saddr,
++ inet_addr_type_dev_table(dev_net(dev), dev,
++ saddr) == RTN_LOCAL)) {
+ /* saddr should be known to target */
+ if (inet_addr_onlink(in_dev, target, saddr))
+ break;
+@@ -369,6 +431,8 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
+ case 2: /* Avoid secondary IPs, get a primary/preferred one */
+ break;
+ }
++
++get:
+ rcu_read_unlock();
+
+ if (!saddr)
+@@ -390,8 +454,8 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
+
+ if (skb && !(dev->priv_flags & IFF_XMIT_DST_RELEASE))
+ dst = skb_dst(skb);
+- arp_send_dst(ARPOP_REQUEST, ETH_P_ARP, target, dev, saddr,
+- dst_hw, dev->dev_addr, NULL, dst);
++ arpf_send(ARPA_TABLE_OUTPUT, dev_net(dev), skb, saddr, target, NULL,
++ dst_hw, NULL, dev, dst);
+ }
+
+ static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip)
+@@ -448,6 +512,21 @@ static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev)
+ return flag;
+ }
+
++static int arp_hidden(u32 tip, struct net_device *dev)
++{
++ struct net_device *dev2;
++ struct in_device *in_dev2;
++ int ret = 0;
++
++ if (!IPV4_DEVCONF_ALL(dev_net(dev), HIDDEN))
++ return 0;
++
++ if ((dev2 = __ip_dev_find(dev_net(dev), tip, false)) && dev2 != dev &&
++ (in_dev2 = __in_dev_get_rcu(dev2)) && IN_DEV_HIDDEN(in_dev2))
++ ret = 1;
++ return ret;
++}
++
+ /*
+ * Check if we can use proxy ARP for this path
+ */
+@@ -808,9 +887,10 @@ static int arp_process(struct net *net, struct sock *sk, struct sk_buff *skb)
+ if (sip == 0) {
+ if (arp->ar_op == htons(ARPOP_REQUEST) &&
+ inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL &&
++ !arp_hidden(tip, dev) &&
+ !arp_ignore(in_dev, sip, tip))
+- arp_send_dst(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip,
+- sha, dev->dev_addr, sha, reply_dst);
++ arpf_send(ARPA_TABLE_INPUT, net, skb, sip, tip, sha,
++ tha, dev, NULL, reply_dst);
+ goto out_consume_skb;
+ }
+
+@@ -826,13 +906,14 @@ static int arp_process(struct net *net, struct sock *sk, struct sk_buff *skb)
+ dont_send = arp_ignore(in_dev, sip, tip);
+ if (!dont_send && IN_DEV_ARPFILTER(in_dev))
+ dont_send = arp_filter(sip, tip, dev);
++ if (!dont_send && skb->pkt_type != PACKET_HOST)
++ dont_send = arp_hidden(tip,dev);
+ if (!dont_send) {
+ n = neigh_event_ns(&arp_tbl, sha, &sip, dev);
+ if (n) {
+- arp_send_dst(ARPOP_REPLY, ETH_P_ARP,
+- sip, dev, tip, sha,
+- dev->dev_addr, sha,
+- reply_dst);
++ arpf_send(ARPA_TABLE_INPUT, net, skb,
++ sip, tip, sha, tha, dev,
++ NULL, reply_dst);
+ neigh_release(n);
+ }
+ }
+@@ -850,10 +931,9 @@ static int arp_process(struct net *net, struct sock *sk, struct sk_buff *skb)
+ if (NEIGH_CB(skb)->flags & LOCALLY_ENQUEUED ||
+ skb->pkt_type == PACKET_HOST ||
+ NEIGH_VAR(in_dev->arp_parms, PROXY_DELAY) == 0) {
+- arp_send_dst(ARPOP_REPLY, ETH_P_ARP,
+- sip, dev, tip, sha,
+- dev->dev_addr, sha,
+- reply_dst);
++ arpf_send(ARPA_TABLE_FORWARD, net,
++ skb, sip, tip, sha, tha, dev,
++ rt->dst.dev, reply_dst);
+ } else {
+ pneigh_enqueue(&arp_tbl,
+ in_dev->arp_parms, skb);
+@@ -1279,6 +1359,577 @@ void arp_ifdown(struct net_device *dev)
+ }
+
+
++static void arpf_destroy(struct arpf_node *afp)
++{
++ if (!afp->at_dead) {
++ printk(KERN_ERR "Destroying alive arp table node %p from %08lx\n", afp,
++ *(((unsigned long*)&afp)-1));
++ return;
++ }
++ kmem_cache_free(arpf_cachep, afp);
++}
++
++static inline void arpf_put(struct arpf_node *afp)
++{
++ if (atomic_dec_and_test(&afp->at_refcnt))
++ arpf_destroy(afp);
++}
++
++static inline struct arpf_node *
++arpf_lookup(int table, struct sk_buff *skb, u32 sip, u32 tip,
++ unsigned char *from_hw, unsigned char *to_hw,
++ struct net_device *idev, struct net_device *odev)
++{
++ int sz_iif = idev? strlen(idev->name) : 0;
++ int sz_oif = odev? strlen(odev->name) : 0;
++ int alen;
++ struct arpf_node *afp;
++
++ if (ARPA_TABLE_OUTPUT != table) {
++ alen = idev->addr_len;
++ } else {
++ if (!from_hw) from_hw = odev->dev_addr;
++ if (!to_hw) to_hw = odev->broadcast;
++ alen = odev->addr_len;
++ }
++
++ read_lock_bh(&arpf_lock);
++ for (afp = arp_tabs[table]; afp; afp = afp->at_next) {
++ if ((tip ^ afp->at_to) & afp->at_to_mask)
++ continue;
++ if ((sip ^ afp->at_from) & afp->at_from_mask)
++ continue;
++ if (afp->at_llfrom_len &&
++ (afp->at_llfrom_len > alen ||
++ memcmp(from_hw, afp->at_llfrom, afp->at_llfrom_len)))
++ continue;
++ if (afp->at_llto_len &&
++ (afp->at_llto_len > alen ||
++ memcmp(to_hw, afp->at_llto, afp->at_llto_len)))
++ continue;
++ if (afp->at_iif_len &&
++ (afp->at_iif_len > sz_iif ||
++ memcmp(afp->at_iif, idev->name, afp->at_iif_len) ||
++ (sz_iif != afp->at_iif_len &&
++ !(afp->at_flags & ARPM_F_WILDIIF))))
++ continue;
++ if (afp->at_oif_len &&
++ (afp->at_oif_len > sz_oif ||
++ memcmp(afp->at_oif, odev->name, afp->at_oif_len) ||
++ (sz_oif != afp->at_oif_len &&
++ !(afp->at_flags & ARPM_F_WILDOIF))))
++ continue;
++ if (afp->at_flags & ARPM_F_BROADCAST &&
++ skb->pkt_type == PACKET_HOST)
++ continue;
++ if (afp->at_flags & ARPM_F_UNICAST &&
++ skb->pkt_type != PACKET_HOST)
++ continue;
++ if (afp->at_llsrc_len && afp->at_llsrc_len != alen)
++ continue;
++ if (afp->at_lldst_len && afp->at_lldst_len != alen)
++ continue;
++ atomic_inc(&afp->at_refcnt);
++ atomic_inc(&afp->at_packets);
++ break;
++ }
++ read_unlock_bh(&arpf_lock);
++ return afp;
++}
++
++static void
++arpf_send(int table, struct net *net, struct sk_buff *skb, u32 sip, u32 tip,
++ unsigned char *from_hw, unsigned char *to_hw,
++ struct net_device *idev, struct net_device *odev,
++ struct dst_entry *dst)
++{
++ struct arpf_node *afp = NULL;
++
++ if (!arp_tabs[table] ||
++ !net_eq(net, &init_net) ||
++ !(afp = arpf_lookup(table, skb, sip, tip,
++ from_hw, to_hw, idev, odev))) {
++ switch (table) {
++ case ARPA_TABLE_INPUT:
++ case ARPA_TABLE_FORWARD:
++ arp_send_dst(ARPOP_REPLY, ETH_P_ARP, sip, idev, tip,
++ from_hw, idev->dev_addr, from_hw, dst);
++ break;
++ case ARPA_TABLE_OUTPUT:
++ arp_send_dst(ARPOP_REQUEST, ETH_P_ARP, tip, odev, sip,
++ to_hw, odev->dev_addr, NULL, dst);
++ break;
++ }
++ return;
++ }
++
++ /* deny? */
++ if (!afp->at_action) goto out;
++
++ switch (table) {
++ case ARPA_TABLE_INPUT:
++ case ARPA_TABLE_FORWARD:
++ arp_send_dst(ARPOP_REPLY, ETH_P_ARP, sip, idev, tip,
++ afp->at_lldst_len?afp->at_lldst:from_hw,
++ afp->at_llsrc_len?afp->at_llsrc:idev->dev_addr,
++ afp->at_lldst_len?afp->at_lldst:from_hw, dst);
++ break;
++ case ARPA_TABLE_OUTPUT:
++ if (afp->at_flags & ARPM_F_PREFSRC && afp->at_src == 0) {
++ struct rtable *rt;
++ struct flowi4 fl4 = { .daddr = tip,
++ .flowi4_oif = odev->ifindex };
++
++ rt = ip_route_output_key(net, &fl4);
++ if (IS_ERR(rt))
++ break;
++ sip = fl4.saddr;
++ ip_rt_put(rt);
++ if (!sip)
++ break;
++ }
++ arp_send_dst(ARPOP_REQUEST, ETH_P_ARP, tip, odev,
++ afp->at_src?:sip,
++ afp->at_lldst_len?afp->at_lldst:to_hw,
++ afp->at_llsrc_len?afp->at_llsrc:odev->dev_addr,
++ NULL, dst);
++ break;
++ }
++
++out:
++ arpf_put(afp);
++}
++
++static int
++arpf_fill_node(struct sk_buff *skb, u32 portid, u32 seq, unsigned flags,
++ int event, int table, struct arpf_node *afp)
++{
++ struct arpmsg *am;
++ struct nlmsghdr *nlh;
++ u32 packets = atomic_read(&afp->at_packets);
++
++ nlh = nlmsg_put(skb, portid, seq, event, sizeof(*am), 0);
++ if (nlh == NULL)
++ return -ENOBUFS;
++ nlh->nlmsg_flags = flags;
++ am = nlmsg_data(nlh);
++ am->arpm_family = AF_UNSPEC;
++ am->arpm_table = table;
++ am->arpm_action = afp->at_action;
++ am->arpm_from_len = afp->at_from_len;
++ am->arpm_to_len = afp->at_to_len;
++ am->arpm_pref = afp->at_pref;
++ am->arpm_flags = afp->at_flags;
++ if (afp->at_from_len &&
++ nla_put(skb, ARPA_FROM, 4, &afp->at_from))
++ goto nla_put_failure;
++ if (afp->at_to_len &&
++ nla_put(skb, ARPA_TO, 4, &afp->at_to))
++ goto nla_put_failure;
++ if ((afp->at_src || afp->at_flags & ARPM_F_PREFSRC) &&
++ nla_put(skb, ARPA_SRC, 4, &afp->at_src))
++ goto nla_put_failure;
++ if (afp->at_iif[0] &&
++ nla_put(skb, ARPA_IIF, sizeof(afp->at_iif), afp->at_iif))
++ goto nla_put_failure;
++ if (afp->at_oif[0] &&
++ nla_put(skb, ARPA_OIF, sizeof(afp->at_oif), afp->at_oif))
++ goto nla_put_failure;
++ if (afp->at_llfrom_len &&
++ nla_put(skb, ARPA_LLFROM, afp->at_llfrom_len, afp->at_llfrom))
++ goto nla_put_failure;
++ if (afp->at_llto_len &&
++ nla_put(skb, ARPA_LLTO, afp->at_llto_len, afp->at_llto))
++ goto nla_put_failure;
++ if (afp->at_llsrc_len &&
++ nla_put(skb, ARPA_LLSRC, afp->at_llsrc_len, afp->at_llsrc))
++ goto nla_put_failure;
++ if (afp->at_lldst_len &&
++ nla_put(skb, ARPA_LLDST, afp->at_lldst_len, afp->at_lldst))
++ goto nla_put_failure;
++ if (nla_put(skb, ARPA_PACKETS, 4, &packets))
++ goto nla_put_failure;
++ nlmsg_end(skb, nlh);
++ return 0;
++
++nla_put_failure:
++ nlmsg_cancel(skb, nlh);
++ return -EMSGSIZE;
++}
++
++static void
++arpmsg_notify(struct sk_buff *oskb, struct nlmsghdr *nlh, int table,
++ struct arpf_node *afp, int event)
++{
++ struct sk_buff *skb;
++ u32 portid = oskb ? NETLINK_CB(oskb).portid : 0;
++ int payload = sizeof(struct arpmsg) + 256;
++ int err = -ENOBUFS;
++
++ skb = nlmsg_new(nlmsg_total_size(payload), GFP_KERNEL);
++ if (!skb)
++ goto errout;
++
++ err = arpf_fill_node(skb, portid, nlh->nlmsg_seq, 0, event, table, afp);
++ if (err < 0) {
++ kfree_skb(skb);
++ goto errout;
++ }
++
++ rtnl_notify(skb, &init_net, portid, RTNLGRP_ARP, nlh, GFP_KERNEL);
++ return;
++errout:
++ if (err < 0)
++ rtnl_set_sk_err(&init_net, RTNLGRP_ARP, err);
++}
++
++static inline int
++arpf_str_size(int a, struct nlattr **rta, int maxlen)
++{
++ int size = 0;
++
++ if (rta[a] && (size = nla_len(rta[a]))) {
++ if (size > maxlen)
++ size = maxlen;
++ }
++ return size;
++}
++
++static inline int
++arpf_get_str(int a, struct nlattr **rta, unsigned char *p,
++ int maxlen, unsigned char *l)
++{
++ int size = arpf_str_size(a, rta, maxlen);
++
++ if (size) {
++ memcpy(p, nla_data(rta[a]), size);
++ *l = size;
++ }
++ return size;
++}
++
++#define ARPF_MATCH_U32(ind, field) ( \
++ (!rta[ind] && r->at_ ## field == 0) || \
++ (rta[ind] && \
++ *(u32*) nla_data(rta[ind]) == r->at_ ## field))
++
++#define ARPF_MATCH_STR(ind, field) ( \
++ (!rta[ind] && r->at_ ## field ## _len == 0) || \
++ (rta[ind] && r->at_ ## field ## _len && \
++ r->at_ ## field ## _len < nla_len(rta[ind]) && \
++ strcmp(nla_data(rta[ind]), r->at_ ## field) == 0))
++
++#define ARPF_MATCH_DATA(ind, field) ( \
++ (!rta[ind] && r->at_ ## field ## _len == 0) || \
++ (rta[ind] && r->at_ ## field ## _len && \
++ r->at_ ## field ## _len == nla_len(rta[ind]) && \
++ memcmp(nla_data(rta[ind]), &r->at_ ## field, \
++ r->at_ ## field ## _len) == 0))
++
++/* RTM_NEWARPRULE/RTM_DELARPRULE/RTM_GETARPRULE */
++
++int arpf_rule_ctl(struct sk_buff *skb, struct nlmsghdr *n,
++ struct netlink_ext_ack *extack)
++{
++ struct net *net = sock_net(skb->sk);
++ struct nlattr *rta[ARPA_MAX + 1];
++ struct arpmsg *am;
++ struct arpf_node *r, **rp, **prevp = 0, **delp = 0, *newp = 0;
++ unsigned pref = 1;
++ int size, ret;
++
++ if (!capable(CAP_NET_ADMIN))
++ return -EPERM;
++
++ if (!net_eq(net, &init_net))
++ return -EINVAL;
++
++ ret = nlmsg_parse(n, sizeof(struct arpmsg), rta, ARPA_MAX, NULL,
++ extack);
++ if (ret < 0)
++ return ret;
++
++ am = nlmsg_data(n);
++ ret = -EINVAL;
++ if (am->arpm_table >= sizeof(arp_tabs)/sizeof(arp_tabs[0]))
++ goto out;
++ if (!((~am->arpm_flags) & (ARPM_F_BROADCAST|ARPM_F_UNICAST)))
++ goto out;
++ if (am->arpm_action > 1)
++ goto out;
++ if (am->arpm_to_len > 32 || am->arpm_from_len > 32)
++ goto out;
++ if (am->arpm_flags & ARPM_F_WILDIIF &&
++ (!rta[ARPA_IIF] || !nla_len(rta[ARPA_IIF]) ||
++ !*(char*) nla_data(rta[ARPA_IIF])))
++ am->arpm_flags &= ~ARPM_F_WILDIIF;
++ if (am->arpm_flags & ARPM_F_WILDOIF &&
++ (!rta[ARPA_OIF] || !nla_len(rta[ARPA_OIF]) ||
++ !*(char*) nla_data(rta[ARPA_OIF])))
++ am->arpm_flags &= ~ARPM_F_WILDOIF;
++ switch (am->arpm_table) {
++ case ARPA_TABLE_INPUT:
++ if (rta[ARPA_SRC] || rta[ARPA_OIF])
++ goto out;
++ break;
++ case ARPA_TABLE_OUTPUT:
++ if (rta[ARPA_IIF])
++ goto out;
++ if (am->arpm_flags & (ARPM_F_BROADCAST|ARPM_F_UNICAST))
++ goto out;
++ break;
++ case ARPA_TABLE_FORWARD:
++ if (rta[ARPA_SRC])
++ goto out;
++ break;
++ }
++ if (rta[ARPA_SRC] && !*(u32*) nla_data(rta[ARPA_SRC]))
++ am->arpm_flags |= ARPM_F_PREFSRC;
++ else
++ am->arpm_flags &= ~ARPM_F_PREFSRC;
++
++ for (rp = &arp_tabs[am->arpm_table]; (r=*rp) != NULL; rp=&r->at_next) {
++ if (pref < r->at_pref)
++ prevp = rp;
++ if (am->arpm_pref == r->at_pref ||
++ (!am->arpm_pref &&
++ am->arpm_to_len == r->at_to_len &&
++ am->arpm_from_len == r->at_from_len &&
++ !((am->arpm_flags ^ r->at_flags) &
++ (ARPM_F_BROADCAST | ARPM_F_UNICAST |
++ ARPM_F_WILDIIF | ARPM_F_WILDOIF)) &&
++ ARPF_MATCH_U32(ARPA_TO, to) &&
++ ARPF_MATCH_U32(ARPA_FROM, from) &&
++ ARPF_MATCH_DATA(ARPA_LLFROM, llfrom) &&
++ ARPF_MATCH_DATA(ARPA_LLTO, llto) &&
++ ARPF_MATCH_STR(ARPA_IIF, iif) &&
++ ARPF_MATCH_STR(ARPA_OIF, oif) &&
++ (n->nlmsg_type != RTM_DELARPRULE ||
++ /* DEL matches more keys */
++ (am->arpm_flags == r->at_flags &&
++ am->arpm_action == r->at_action &&
++ ARPF_MATCH_U32(ARPA_SRC, src) &&
++ ARPF_MATCH_DATA(ARPA_LLSRC, llsrc) &&
++ ARPF_MATCH_DATA(ARPA_LLDST, lldst)
++ )
++ )
++ )
++ )
++ break;
++ if (am->arpm_pref && r->at_pref > am->arpm_pref) {
++ r = NULL;
++ break;
++ }
++ pref = r->at_pref+1;
++ }
++
++ /*
++ * r=NULL: *rp != NULL (stopped before next pref), pref: not valid
++ * *rp == NULL (not found), pref: ready to use
++ * r!=NULL: found, pref: not valid
++ *
++ * prevp=NULL: no free slot
++ * prevp!=NULL: free slot for rule
++ */
++
++ if (n->nlmsg_type == RTM_DELARPRULE) {
++ if (!r)
++ return -ESRCH;
++ delp = rp;
++ goto dequeue;
++ }
++
++ if (r) {
++ /* Existing rule */
++ ret = -EEXIST;
++ if (n->nlmsg_flags&NLM_F_EXCL)
++ goto out;
++
++ if (n->nlmsg_flags&NLM_F_REPLACE) {
++ pref = r->at_pref;
++ prevp = delp = rp;
++ goto replace;
++ }
++ }
++
++ if (n->nlmsg_flags&NLM_F_APPEND) {
++ if (r) {
++ pref = r->at_pref+1;
++ for (rp=&r->at_next; (r=*rp) != NULL; rp=&r->at_next) {
++ if (pref != r->at_pref)
++ break;
++ pref ++;
++ }
++ ret = -EBUSY;
++ if (!pref)
++ goto out;
++ } else if (am->arpm_pref)
++ pref = am->arpm_pref;
++ prevp = rp;
++ }
++
++ if (!(n->nlmsg_flags&NLM_F_CREATE)) {
++ ret = -ENOENT;
++ if (n->nlmsg_flags&NLM_F_EXCL || r)
++ ret = 0;
++ goto out;
++ }
++
++ if (!(n->nlmsg_flags&NLM_F_APPEND)) {
++ if (!prevp) {
++ ret = -EBUSY;
++ if (r || *rp ||
++ (!am->arpm_pref && arp_tabs[am->arpm_table]))
++ goto out;
++ prevp = rp;
++ pref = am->arpm_pref? : 99;
++ } else {
++ if (r || !am->arpm_pref) {
++ pref = (*prevp)->at_pref - 1;
++ if (am->arpm_pref && am->arpm_pref < pref)
++ pref = am->arpm_pref;
++ } else {
++ prevp = rp;
++ pref = am->arpm_pref;
++ }
++ }
++ }
++
++replace:
++
++ ret = -ENOMEM;
++ r = kmem_cache_alloc(arpf_cachep, GFP_KERNEL);
++ if (!r)
++ return ret;
++ memset(r, 0, sizeof(*r));
++
++ arpf_get_str(ARPA_LLFROM, rta, r->at_llfrom, MAX_ADDR_LEN,
++ &r->at_llfrom_len);
++ arpf_get_str(ARPA_LLTO, rta, r->at_llto, MAX_ADDR_LEN,
++ &r->at_llto_len);
++ arpf_get_str(ARPA_LLSRC, rta, r->at_llsrc, MAX_ADDR_LEN,
++ &r->at_llsrc_len);
++ arpf_get_str(ARPA_LLDST, rta, r->at_lldst, MAX_ADDR_LEN,
++ &r->at_lldst_len);
++
++ if (delp)
++ r->at_next = (*delp)->at_next;
++ else if (*prevp)
++ r->at_next = *prevp;
++
++ r->at_pref = pref;
++ r->at_from_len = am->arpm_from_len;
++ r->at_from_mask = inet_make_mask(r->at_from_len);
++ if (rta[ARPA_FROM])
++ r->at_from = *(u32*) nla_data(rta[ARPA_FROM]);
++ r->at_from &= r->at_from_mask;
++ r->at_to_len = am->arpm_to_len;
++ r->at_to_mask = inet_make_mask(r->at_to_len);
++ if (rta[ARPA_TO])
++ r->at_to = *(u32*) nla_data(rta[ARPA_TO]);
++ r->at_to &= r->at_to_mask;
++ if (rta[ARPA_SRC])
++ r->at_src = *(u32*) nla_data(rta[ARPA_SRC]);
++ if (rta[ARPA_PACKETS]) {
++ u32 packets = *(u32*) nla_data(rta[ARPA_PACKETS]);
++ atomic_set(&r->at_packets, packets);
++ }
++ atomic_set(&r->at_refcnt, 1);
++ r->at_flags = am->arpm_flags;
++ r->at_action = am->arpm_action;
++
++ if (rta[ARPA_IIF] && (size = nla_len(rta[ARPA_IIF]))) {
++ if (size >= sizeof(r->at_iif))
++ size = sizeof(r->at_iif)-1;
++ memcpy(r->at_iif, nla_data(rta[ARPA_IIF]), size);
++ r->at_iif_len = strlen(r->at_iif);
++ }
++ if (rta[ARPA_OIF] && (size = nla_len(rta[ARPA_OIF]))) {
++ if (size >= sizeof(r->at_oif))
++ size = sizeof(r->at_oif)-1;
++ memcpy(r->at_oif, nla_data(rta[ARPA_OIF]), size);
++ r->at_oif_len = strlen(r->at_oif);
++ }
++
++ newp = r;
++
++dequeue:
++
++ if (delp) {
++ r = *delp;
++ write_lock_bh(&arpf_lock);
++ if (newp) {
++ if (!rta[ARPA_PACKETS])
++ atomic_set(&newp->at_packets,
++ atomic_read(&r->at_packets));
++ *delp = newp;
++ } else {
++ *delp = r->at_next;
++ }
++ r->at_dead = 1;
++ write_unlock_bh(&arpf_lock);
++ arpmsg_notify(skb, n, am->arpm_table, r, RTM_DELARPRULE);
++ arpf_put(r);
++ prevp = 0;
++ }
++
++ if (newp) {
++ if (prevp) {
++ write_lock_bh(&arpf_lock);
++ *prevp = newp;
++ write_unlock_bh(&arpf_lock);
++ }
++ arpmsg_notify(skb, n, am->arpm_table, newp, RTM_NEWARPRULE);
++ }
++
++ ret = 0;
++
++out:
++ return ret;
++}
++
++int arpf_dump_table(int t, struct sk_buff *skb, struct netlink_callback *cb)
++{
++ int idx, ret = -1;
++ struct arpf_node *afp;
++ int s_idx = cb->args[1];
++
++ for (idx=0, afp = arp_tabs[t]; afp; afp = afp->at_next, idx++) {
++ if (idx < s_idx)
++ continue;
++ if (arpf_fill_node(skb, NETLINK_CB(cb->skb).portid,
++ cb->nlh->nlmsg_seq, NLM_F_MULTI, RTM_NEWARPRULE, t, afp) < 0)
++ goto out;
++ }
++
++ ret = skb->len;
++
++out:
++ cb->args[1] = idx;
++
++ return ret;
++}
++
++int arpf_dump_rules(struct sk_buff *skb, struct netlink_callback *cb)
++{
++ int idx;
++ int s_idx = cb->args[0];
++
++ read_lock_bh(&arpf_lock);
++ for (idx = 0; idx < sizeof(arp_tabs)/sizeof(arp_tabs[0]); idx++) {
++ if (idx < s_idx)
++ continue;
++ if (idx > s_idx)
++ memset(&cb->args[1], 0, sizeof(cb->args)-1*sizeof(cb->args[0]));
++ if (arpf_dump_table(idx, skb, cb) < 0)
++ break;
++ }
++ read_unlock_bh(&arpf_lock);
++ cb->args[0] = idx;
++
++ return skb->len;
++}
++
+ /*
+ * Called once on startup.
+ */
+@@ -1292,6 +1943,16 @@ static int arp_proc_init(void);
+
+ void __init arp_init(void)
+ {
++ arpf_cachep = kmem_cache_create("ip_arpf_cache",
++ sizeof(struct arpf_node), 0,
++ SLAB_HWCACHE_ALIGN, NULL);
++ if (!arpf_cachep)
++ panic("IP: failed to allocate ip_arpf_cache\n");
++
++ rtnl_register(PF_UNSPEC, RTM_NEWARPRULE, arpf_rule_ctl, NULL, 0);
++ rtnl_register(PF_UNSPEC, RTM_DELARPRULE, arpf_rule_ctl, NULL, 0);
++ rtnl_register(PF_UNSPEC, RTM_GETARPRULE, NULL, arpf_dump_rules, 0);
++
+ neigh_table_init(NEIGH_ARP_TABLE, &arp_tbl);
+
+ dev_add_pack(&arp_packet_type);
+diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
+index e258a00b4a3d..e9e24f6fb16c 100644
+--- a/net/ipv4/devinet.c
++++ b/net/ipv4/devinet.c
+@@ -1308,9 +1308,14 @@ __be32 inet_select_addr(const struct net_device *dev, __be32 dst, int scope)
+ if (!in_dev)
+ continue;
+
+- addr = in_dev_select_addr(in_dev, scope);
+- if (addr)
+- goto out_unlock;
++ for_primary_ifa(in_dev) {
++ if (!IN_DEV_HIDDEN(in_dev) &&
++ ifa->ifa_scope != RT_SCOPE_LINK &&
++ ifa->ifa_scope <= scope) {
++ addr = ifa->ifa_local;
++ goto out_unlock;
++ }
++ } endfor_ifa(in_dev);
+ }
+ out_unlock:
+ rcu_read_unlock();
+@@ -2427,13 +2432,16 @@ static struct devinet_sysctl_table {
+ DEVINET_SYSCTL_RW_ENTRY(SEND_REDIRECTS, "send_redirects"),
+ DEVINET_SYSCTL_RW_ENTRY(ACCEPT_SOURCE_ROUTE,
+ "accept_source_route"),
++ DEVINET_SYSCTL_RW_ENTRY(FORWARD_SHARED, "forward_shared"),
+ DEVINET_SYSCTL_RW_ENTRY(ACCEPT_LOCAL, "accept_local"),
+ DEVINET_SYSCTL_RW_ENTRY(SRC_VMARK, "src_valid_mark"),
+ DEVINET_SYSCTL_RW_ENTRY(PROXY_ARP, "proxy_arp"),
+ DEVINET_SYSCTL_RW_ENTRY(MEDIUM_ID, "medium_id"),
++ DEVINET_SYSCTL_RW_ENTRY(RP_FILTER_MASK, "rp_filter_mask"),
+ DEVINET_SYSCTL_RW_ENTRY(BOOTP_RELAY, "bootp_relay"),
+ DEVINET_SYSCTL_RW_ENTRY(LOG_MARTIANS, "log_martians"),
+ DEVINET_SYSCTL_RW_ENTRY(TAG, "tag"),
++ DEVINET_SYSCTL_RW_ENTRY(HIDDEN, "hidden"),
+ DEVINET_SYSCTL_RW_ENTRY(ARPFILTER, "arp_filter"),
+ DEVINET_SYSCTL_RW_ENTRY(ARP_ANNOUNCE, "arp_announce"),
+ DEVINET_SYSCTL_RW_ENTRY(ARP_IGNORE, "arp_ignore"),
+diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
+index ed14ec245584..1c5782a2e983 100644
+--- a/net/ipv4/fib_frontend.c
++++ b/net/ipv4/fib_frontend.c
+@@ -51,6 +51,8 @@
+
+ #ifndef CONFIG_IP_MULTIPLE_TABLES
+
++#define FIB_RES_TABLE(r) (RT_TABLE_MAIN)
++
+ static int __net_init fib4_rules_init(struct net *net)
+ {
+ struct fib_table *local_table, *main_table;
+@@ -80,6 +82,8 @@ static bool fib4_has_custom_rules(struct net *net)
+ }
+ #else
+
++#define FIB_RES_TABLE(r) (fib_result_table(r))
++
+ struct fib_table *fib_new_table(struct net *net, u32 id)
+ {
+ struct fib_table *tb, *alias = NULL;
+@@ -351,13 +355,19 @@ EXPORT_SYMBOL_GPL(fib_info_nh_uses_dev);
+ */
+ static int __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+ u8 tos, int oif, struct net_device *dev,
+- int rpf, struct in_device *idev, u32 *itag)
++ int rpf, struct in_device *idev, u32 *itag,
++ int our)
+ {
+ struct net *net = dev_net(dev);
+ struct flow_keys flkeys;
++ u32 table;
++ unsigned char prefixlen;
++ unsigned char scope;
+ int ret, no_addr;
+ struct fib_result res;
+ struct flowi4 fl4;
++ int fwdsh;
++ unsigned int rpf_mask;
+ bool dev_match;
+
+ fl4.flowi4_oif = 0;
+@@ -371,10 +381,13 @@ static int __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+ fl4.flowi4_tun_key.tun_id = 0;
+ fl4.flowi4_flags = 0;
+ fl4.flowi4_uid = sock_net_uid(net, NULL);
++ fl4.fl4_gw = 0;
+
+ no_addr = idev->ifa_list == NULL;
+
++ fwdsh = IN_DEV_FORWARD_SHARED(idev);
+ fl4.flowi4_mark = IN_DEV_SRC_VMARK(idev) ? skb->mark : 0;
++ rpf_mask = IN_DEV_RPFILTER_MASK(idev);
+ if (!fib4_rules_early_flow_dissect(net, skb, &fl4, &flkeys)) {
+ fl4.flowi4_proto = 0;
+ fl4.fl4_sport = 0;
+@@ -383,7 +396,12 @@ static int __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+
+ if (fib_lookup(net, &fl4, &res, 0))
+ goto last_resort;
+- if (res.type != RTN_UNICAST &&
++ if (fwdsh) {
++ fwdsh = (res.type == RTN_LOCAL && !our);
++ if (fwdsh)
++ rpf = 0;
++ }
++ if (res.type != RTN_UNICAST && !fwdsh &&
+ (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev)))
+ goto e_inval;
+ fib_combine_itag(itag, &res);
+@@ -393,17 +411,36 @@ static int __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+ ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST;
+ return ret;
+ }
++ if (rpf_mask && rpf) {
++ int omi = 0;
++
++ idev = __in_dev_get_rcu(FIB_RES_DEV(res));
++ if (idev)
++ omi = IN_DEV_MEDIUM_ID(idev);
++ if (omi >= 1 && omi <= 31 && ((1 << omi) & rpf_mask))
++ rpf = 0;
++ }
+ if (no_addr)
+ goto last_resort;
+- if (rpf == 1)
+- goto e_rpf;
++ table = FIB_RES_TABLE(&res);
++ prefixlen = res.prefixlen;
++ scope = res.scope;
+ fl4.flowi4_oif = dev->ifindex;
++ if (fwdsh)
++ fl4.flowi4_iif = LOOPBACK_IFINDEX;
+
+ ret = 0;
+ if (fib_lookup(net, &fl4, &res, FIB_LOOKUP_IGNORE_LINKSTATE) == 0) {
+- if (res.type == RTN_UNICAST)
++ if (res.type == RTN_UNICAST &&
++ ((table == FIB_RES_TABLE(&res) &&
++ res.prefixlen >= prefixlen && res.scope >= scope) ||
++ !rpf)) {
+ ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST;
++ return ret;
++ }
+ }
++ if (rpf == 1)
++ goto e_rpf;
+ return ret;
+
+ last_resort:
+@@ -421,7 +458,7 @@ static int __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+ /* Ignore rp_filter for packets protected by IPsec. */
+ int fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+ u8 tos, int oif, struct net_device *dev,
+- struct in_device *idev, u32 *itag)
++ struct in_device *idev, u32 *itag, int our)
+ {
+ int r = secpath_exists(skb) ? 0 : IN_DEV_RPFILTER(idev);
+ struct net *net = dev_net(dev);
+@@ -446,7 +483,8 @@ int fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
+ }
+
+ full_check:
+- return __fib_validate_source(skb, src, dst, tos, oif, dev, r, idev, itag);
++ return __fib_validate_source(skb, src, dst, tos, oif, dev, r, idev,
++ itag, our);
+ }
+
+ static inline __be32 sk_extract_addr(struct sockaddr *addr)
+@@ -1328,9 +1366,7 @@ static int fib_inetaddr_event(struct notifier_block *this, unsigned long event,
+ switch (event) {
+ case NETDEV_UP:
+ fib_add_ifaddr(ifa);
+-#ifdef CONFIG_IP_ROUTE_MULTIPATH
+ fib_sync_up(dev, RTNH_F_DEAD);
+-#endif
+ atomic_inc(&net->ipv4.dev_addr_genid);
+ rt_cache_flush(dev_net(dev));
+ break;
+@@ -1374,9 +1410,7 @@ static int fib_netdev_event(struct notifier_block *this, unsigned long event, vo
+ for_ifa(in_dev) {
+ fib_add_ifaddr(ifa);
+ } endfor_ifa(in_dev);
+-#ifdef CONFIG_IP_ROUTE_MULTIPATH
+ fib_sync_up(dev, RTNH_F_DEAD);
+-#endif
+ atomic_inc(&net->ipv4.dev_addr_genid);
+ rt_cache_flush(net);
+ break;
+diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
+index cfec3af54c8d..6ffc52a5c272 100644
+--- a/net/ipv4/fib_rules.c
++++ b/net/ipv4/fib_rules.c
+@@ -78,6 +78,11 @@ unsigned int fib4_rules_seq_read(struct net *net)
+ return fib_rules_seq_read(net, AF_INET);
+ }
+
++u32 fib_result_table(struct fib_result *res)
++{
++ return res->table ? res->table->tb_id : RT_TABLE_UNSPEC;
++}
++
+ int __fib_lookup(struct net *net, struct flowi4 *flp,
+ struct fib_result *res, unsigned int flags)
+ {
+diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
+index 5022bc63863a..d8e8711406c6 100644
+--- a/net/ipv4/fib_semantics.c
++++ b/net/ipv4/fib_semantics.c
+@@ -53,6 +53,7 @@ static struct hlist_head *fib_info_hash;
+ static struct hlist_head *fib_info_laddrhash;
+ static unsigned int fib_info_hash_size;
+ static unsigned int fib_info_cnt;
++DEFINE_RWLOCK(fib_nhflags_lock);
+
+ #define DEVINDEX_HASHBITS 8
+ #define DEVINDEX_HASHSIZE (1U << DEVINDEX_HASHBITS)
+@@ -433,28 +434,71 @@ void rtmsg_fib(int event, __be32 key, struct fib_alias *fa,
+
+ static int fib_detect_death(struct fib_info *fi, int order,
+ struct fib_info **last_resort, int *last_idx,
+- int dflt)
++ int dflt, int *last_nhsel,
++ const struct flowi4 *flp)
+ {
+ struct neighbour *n;
+- int state = NUD_NONE;
++ int nhsel;
++ int state;
++ struct fib_nh * nh;
++ __be32 dst;
++ int flag, dead = 1;
+
+- n = neigh_lookup(&arp_tbl, &fi->fib_nh[0].nh_gw, fi->fib_dev);
+- if (n) {
+- state = n->nud_state;
+- neigh_release(n);
+- } else {
+- return 0;
+- }
+- if (state == NUD_REACHABLE)
+- return 0;
+- if ((state & NUD_VALID) && order != dflt)
+- return 0;
+- if ((state & NUD_VALID) ||
+- (*last_idx < 0 && order > dflt && state != NUD_INCOMPLETE)) {
+- *last_resort = fi;
+- *last_idx = order;
++ /* change_nexthops(fi) { */
++ for (nhsel = 0, nh = fi->fib_nh; nhsel < fi->fib_nhs; nh++, nhsel++) {
++ if (flp->flowi4_oif && flp->flowi4_oif != nh->nh_oif &&
++ !(flp->flowi4_flags & FLOWI_FLAG_SKIP_NH_OIF))
++ continue;
++ if (flp->fl4_gw && flp->fl4_gw != nh->nh_gw && nh->nh_gw &&
++ nh->nh_scope == RT_SCOPE_LINK)
++ continue;
++ if (nh->nh_flags & RTNH_F_DEAD)
++ continue;
++
++ flag = 0;
++ if (nh->nh_dev->flags & IFF_NOARP) {
++ dead = 0;
++ goto setfl;
++ }
++
++ dst = nh->nh_gw;
++ if (!nh->nh_gw || nh->nh_scope != RT_SCOPE_LINK)
++ dst = flp->daddr;
++++
++ state = NUD_NONE;
++ n = neigh_lookup(&arp_tbl, &dst, nh->nh_dev);
++ if (n) {
++ state = n->nud_state;
++ neigh_release(n);
++ }
++ if (state == NUD_REACHABLE ||
++ ((state & NUD_VALID) && order != dflt)) {
++ dead = 0;
++ goto setfl;
++ }
++ if (!(state & NUD_VALID))
++ flag = 1;
++ if (!dead)
++ goto setfl;
++ if ((state & NUD_VALID) ||
++ (*last_idx < 0 && order >= dflt)) {
++ *last_resort = fi;
++ *last_idx = order;
++ *last_nhsel = nhsel;
++ }
++++
++ setfl:
++++
++ read_lock_bh(&fib_nhflags_lock);
++ if (flag)
++ nh->nh_flags |= RTNH_F_SUSPECT;
++ else
++ nh->nh_flags &= ~RTNH_F_SUSPECT;
++ read_unlock_bh(&fib_nhflags_lock);
+ }
+- return 1;
++ /* } endfor_nexthops(fi) */
++
++ return dead;
+ }
+
+ #ifdef CONFIG_IP_ROUTE_MULTIPATH
+@@ -781,6 +825,7 @@ static int fib_check_nh(struct fib_config *cfg, struct fib_nh *nh,
+ int err = 0;
+ struct net *net;
+ struct net_device *dev;
++ struct fib_info *fi = nh->nh_parent;
+
+ net = cfg->fc_nlinfo.nl_net;
+ if (nh->nh_gw) {
+@@ -800,9 +845,12 @@ static int fib_check_nh(struct fib_config *cfg, struct fib_nh *nh,
+ return -ENODEV;
+ }
+ if (!(dev->flags & IFF_UP)) {
+- NL_SET_ERR_MSG(extack,
+- "Nexthop device is not up");
+- return -ENETDOWN;
++ if (fi->fib_protocol != RTPROT_STATIC) {
++ NL_SET_ERR_MSG(extack,
++ "Nexthop device is not up");
++ return -ENETDOWN;
++ }
++ nh->nh_flags |= RTNH_F_DEAD;
+ }
+ addr_type = inet_addr_type_dev_table(net, dev, nh->nh_gw);
+ if (addr_type != RTN_UNICAST) {
+@@ -847,31 +895,57 @@ static int fib_check_nh(struct fib_config *cfg, struct fib_nh *nh,
+ err = fib_lookup(net, &fl4, &res,
+ FIB_LOOKUP_IGNORE_LINKSTATE);
+ }
++ }
++ if (err) {
++ struct in_device *in_dev;
+
+- if (err) {
++ if (err != -ENETUNREACH ||
++ fi->fib_protocol != RTPROT_STATIC) {
+ NL_SET_ERR_MSG(extack,
+ "Nexthop has invalid gateway");
+- rcu_read_unlock();
+- return err;
++ goto out;
+ }
++
++ in_dev = inetdev_by_index(net, nh->nh_oif);
++ if (in_dev == NULL ||
++ in_dev->dev->flags & IFF_UP) {
++ NL_SET_ERR_MSG(extack,
++ "Device for nexthop is not up");
++ goto out;
++ }
++ nh->nh_flags |= RTNH_F_DEAD;
++ nh->nh_scope = RT_SCOPE_LINK;
++ nh->nh_dev = in_dev->dev;
++ dev_hold(nh->nh_dev);
++ } else {
++ err = -EINVAL;
++ if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) {
++ NL_SET_ERR_MSG(extack,
++ "Nexthop has invalid gateway");
++ goto out;
++ }
++ nh->nh_scope = res.scope;
++ nh->nh_oif = FIB_RES_OIF(res);
++ nh->nh_dev = dev = FIB_RES_DEV(res);
++ if (!dev) {
++ NL_SET_ERR_MSG(extack,
++ "No egress device for nexthop gateway");
++ goto out;
++ }
++ dev_hold(dev);
++ if (!netif_carrier_ok(dev))
++ nh->nh_flags |= RTNH_F_LINKDOWN;
++ if (!(nh->nh_dev->flags & IFF_UP)) {
++ if (fi->fib_protocol != RTPROT_STATIC) {
++ err = -ENETDOWN;
++ NL_SET_ERR_MSG(extack,
++ "Device for nexthop is not up");
++ goto out;
++ }
++ nh->nh_flags |= RTNH_F_DEAD;
++ }
++ err = 0;
+ }
+- err = -EINVAL;
+- if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) {
+- NL_SET_ERR_MSG(extack, "Nexthop has invalid gateway");
+- goto out;
+- }
+- nh->nh_scope = res.scope;
+- nh->nh_oif = FIB_RES_OIF(res);
+- nh->nh_dev = dev = FIB_RES_DEV(res);
+- if (!dev) {
+- NL_SET_ERR_MSG(extack,
+- "No egress device for nexthop gateway");
+- goto out;
+- }
+- dev_hold(dev);
+- if (!netif_carrier_ok(dev))
+- nh->nh_flags |= RTNH_F_LINKDOWN;
+- err = (dev->flags & IFF_UP) ? 0 : -ENETDOWN;
+ } else {
+ struct in_device *in_dev;
+
+@@ -887,8 +961,12 @@ static int fib_check_nh(struct fib_config *cfg, struct fib_nh *nh,
+ goto out;
+ err = -ENETDOWN;
+ if (!(in_dev->dev->flags & IFF_UP)) {
+- NL_SET_ERR_MSG(extack, "Device for nexthop is not up");
+- goto out;
++ if (fi->fib_protocol != RTPROT_STATIC) {
++ NL_SET_ERR_MSG(extack,
++ "Device for nexthop is not up");
++ goto out;
++ }
++ nh->nh_flags |= RTNH_F_DEAD;
+ }
+ nh->nh_dev = in_dev->dev;
+ dev_hold(nh->nh_dev);
+@@ -1535,10 +1613,15 @@ int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force)
+ prev_fi = fi;
+ dead = 0;
+ change_nexthops(fi) {
+- if (nexthop_nh->nh_flags & RTNH_F_DEAD)
+- dead++;
+- else if (nexthop_nh->nh_dev == dev &&
+- nexthop_nh->nh_scope != scope) {
++ if (nexthop_nh->nh_flags & RTNH_F_DEAD) {
++ if (fi->fib_protocol != RTPROT_STATIC ||
++ nexthop_nh->nh_dev == NULL ||
++ __in_dev_get_rtnl(nexthop_nh->nh_dev) == NULL ||
++ nexthop_nh->nh_dev->flags&IFF_UP)
++ dead++;
++ } else if (nexthop_nh->nh_dev == dev &&
++ nexthop_nh->nh_scope != scope) {
++ write_lock_bh(&fib_nhflags_lock);
+ switch (event) {
+ case NETDEV_DOWN:
+ case NETDEV_UNREGISTER:
+@@ -1550,7 +1633,11 @@ int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force)
+ }
+ call_fib_nh_notifiers(nexthop_nh,
+ FIB_EVENT_NH_DEL);
+- dead++;
++ write_unlock_bh(&fib_nhflags_lock);
++ if (fi->fib_protocol != RTPROT_STATIC ||
++ force ||
++ __in_dev_get_rtnl(dev) == NULL)
++ dead++;
+ }
+ #ifdef CONFIG_IP_ROUTE_MULTIPATH
+ if (event == NETDEV_UNREGISTER &&
+@@ -1580,13 +1667,13 @@ int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force)
+ }
+
+ /* Must be invoked inside of an RCU protected region. */
+-static void fib_select_default(const struct flowi4 *flp, struct fib_result *res)
++void fib_select_default(const struct flowi4 *flp, struct fib_result *res)
+ {
+ struct fib_info *fi = NULL, *last_resort = NULL;
+ struct hlist_head *fa_head = res->fa_head;
+ struct fib_table *tb = res->table;
+ u8 slen = 32 - res->prefixlen;
+- int order = -1, last_idx = -1;
++ int order = -1, last_idx = -1, last_nhsel = 0;
+ struct fib_alias *fa, *fa1 = NULL;
+ u32 last_prio = res->fi->fib_priority;
+ u8 last_tos = 0;
+@@ -1614,9 +1701,6 @@ static void fib_select_default(const struct flowi4 *flp, struct fib_result *res)
+ if (next_fi->fib_scope != res->scope ||
+ fa->fa_type != RTN_UNICAST)
+ continue;
+- if (!next_fi->fib_nh[0].nh_gw ||
+- next_fi->fib_nh[0].nh_scope != RT_SCOPE_LINK)
+- continue;
+
+ fib_alias_accessed(fa);
+
+@@ -1625,7 +1709,8 @@ static void fib_select_default(const struct flowi4 *flp, struct fib_result *res)
+ break;
+ fa1 = fa;
+ } else if (!fib_detect_death(fi, order, &last_resort,
+- &last_idx, fa1->fa_default)) {
++ &last_idx, fa1->fa_default,
++ &last_nhsel, flp)) {
+ fib_result_assign(res, fi);
+ fa1->fa_default = order;
+ goto out;
+@@ -1635,28 +1720,39 @@ static void fib_select_default(const struct flowi4 *flp, struct fib_result *res)
+ }
+
+ if (order <= 0 || !fi) {
++ if (fi && fi->fib_nhs > 1 &&
++ fib_detect_death(fi, order, &last_resort, &last_idx,
++ fa1->fa_default, &last_nhsel, flp) &&
++ last_resort == fi) {
++ read_lock_bh(&fib_nhflags_lock);
++ fi->fib_nh[last_nhsel].nh_flags &= ~RTNH_F_SUSPECT;
++ read_unlock_bh(&fib_nhflags_lock);
++ }
+ if (fa1)
+ fa1->fa_default = -1;
+ goto out;
+ }
+
+ if (!fib_detect_death(fi, order, &last_resort, &last_idx,
+- fa1->fa_default)) {
++ fa1->fa_default, &last_nhsel, flp)) {
+ fib_result_assign(res, fi);
+ fa1->fa_default = order;
+ goto out;
+ }
+
+- if (last_idx >= 0)
++ if (last_idx >= 0) {
+ fib_result_assign(res, last_resort);
++ read_lock_bh(&fib_nhflags_lock);
++ last_resort->fib_nh[last_nhsel].nh_flags &= ~RTNH_F_SUSPECT;
++ read_unlock_bh(&fib_nhflags_lock);
++ }
+ fa1->fa_default = last_idx;
+ out:
+ return;
+ }
+
+ /*
+- * Dead device goes up. We wake up dead nexthops.
+- * It takes sense only on multipath routes.
++ * Dead device goes up or new address is added. We wake up dead nexthops.
+ */
+ int fib_sync_up(struct net_device *dev, unsigned int nh_flags)
+ {
+@@ -1664,8 +1760,10 @@ int fib_sync_up(struct net_device *dev, unsigned int nh_flags)
+ unsigned int hash;
+ struct hlist_head *head;
+ struct fib_nh *nh;
+- int ret;
++ struct fib_result res;
++ int ret, rep;
+
++repeat:
+ if (!(dev->flags & IFF_UP))
+ return 0;
+
+@@ -1680,6 +1778,7 @@ int fib_sync_up(struct net_device *dev, unsigned int nh_flags)
+ hash = fib_devindex_hashfn(dev->ifindex);
+ head = &fib_info_devhash[hash];
+ ret = 0;
++ rep = 0;
+
+ hlist_for_each_entry(nh, head, nh_hash) {
+ struct fib_info *fi = nh->nh_parent;
+@@ -1692,16 +1791,37 @@ int fib_sync_up(struct net_device *dev, unsigned int nh_flags)
+ prev_fi = fi;
+ alive = 0;
+ change_nexthops(fi) {
+- if (!(nexthop_nh->nh_flags & nh_flags)) {
+- alive++;
++ if (!(nexthop_nh->nh_flags & nh_flags))
+ continue;
+- }
+ if (!nexthop_nh->nh_dev ||
+ !(nexthop_nh->nh_dev->flags & IFF_UP))
+ continue;
+ if (nexthop_nh->nh_dev != dev ||
+ !__in_dev_get_rtnl(dev))
+ continue;
++ if ((nh_flags & RTNH_F_DEAD) && nexthop_nh->nh_gw &&
++ fi->fib_protocol == RTPROT_STATIC) {
++ struct flowi4 fl4 = {
++ .daddr = nexthop_nh->nh_gw,
++ .flowi4_scope = nexthop_nh->nh_scope,
++ .flowi4_oif = nexthop_nh->nh_oif,
++ };
++
++ rcu_read_lock();
++ if (fib_lookup(dev_net(dev), &fl4, &res,
++ FIB_LOOKUP_IGNORE_LINKSTATE) != 0) {
++ rcu_read_unlock();
++ continue;
++ }
++ if (res.type != RTN_UNICAST &&
++ res.type != RTN_LOCAL) {
++ rcu_read_unlock();
++ continue;
++ }
++ nexthop_nh->nh_scope = res.scope;
++ rcu_read_unlock();
++ rep = 1;
++ }
+ alive++;
+ nexthop_nh->nh_flags &= ~nh_flags;
+ call_fib_nh_notifiers(nexthop_nh, FIB_EVENT_NH_ADD);
+@@ -1714,6 +1834,8 @@ int fib_sync_up(struct net_device *dev, unsigned int nh_flags)
+
+ fib_rebalance(fi);
+ }
++ if (rep)
++ goto repeat;
+
+ return ret;
+ }
+@@ -1767,23 +1889,16 @@ void fib_select_multipath(struct fib_result *res, int hash)
+ void fib_select_path(struct net *net, struct fib_result *res,
+ struct flowi4 *fl4, const struct sk_buff *skb)
+ {
+- if (fl4->flowi4_oif && !(fl4->flowi4_flags & FLOWI_FLAG_SKIP_NH_OIF))
+- goto check_saddr;
+-
++ if (res->type == RTN_UNICAST)
++ fib_select_default(fl4, res);
+ #ifdef CONFIG_IP_ROUTE_MULTIPATH
+ if (res->fi->fib_nhs > 1) {
+ int h = fib_multipath_hash(net, fl4, skb, NULL);
+
+ fib_select_multipath(res, h);
+ }
+- else
+ #endif
+- if (!res->prefixlen &&
+- res->table->tb_num_default > 1 &&
+- res->type == RTN_UNICAST)
+- fib_select_default(fl4, res);
+
+-check_saddr:
+ if (!fl4->saddr)
+ fl4->saddr = FIB_RES_PREFSRC(net, *res);
+ }
+diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
+index a573e37e0615..d7572cbcfd7c 100644
+--- a/net/ipv4/fib_trie.c
++++ b/net/ipv4/fib_trie.c
+@@ -1482,6 +1482,9 @@ int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp,
+ if (flp->flowi4_oif &&
+ flp->flowi4_oif != nh->nh_oif)
+ continue;
++ if (flp->fl4_gw && flp->fl4_gw != nh->nh_gw &&
++ nh->nh_gw && nh->nh_scope == RT_SCOPE_LINK)
++ continue;
+ }
+
+ if (!(fib_flags & FIB_LOOKUP_NOREF))
+diff --git a/net/ipv4/netfilter/iptable_nat.c b/net/ipv4/netfilter/iptable_nat.c
+index a317445448bf..9be4af94f10e 100644
+--- a/net/ipv4/netfilter/iptable_nat.c
++++ b/net/ipv4/netfilter/iptable_nat.c
+@@ -45,6 +45,13 @@ static const struct nf_hook_ops nf_nat_ipv4_ops[] = {
+ .hooknum = NF_INET_PRE_ROUTING,
+ .priority = NF_IP_PRI_NAT_DST,
+ },
++ /* Before routing, route before mangling */
++ {
++ .hook = ip_nat_route_input,
++ .pf = NFPROTO_IPV4,
++ .hooknum = NF_INET_PRE_ROUTING,
++ .priority = NF_IP_PRI_LAST-1,
++ },
+ {
+ .hook = iptable_nat_do_chain,
+ .pf = NFPROTO_IPV4,
+diff --git a/net/ipv4/netfilter/nf_nat_masquerade_ipv4.c b/net/ipv4/netfilter/nf_nat_masquerade_ipv4.c
+index 41327bb99093..96a6daa525e5 100644
+--- a/net/ipv4/netfilter/nf_nat_masquerade_ipv4.c
++++ b/net/ipv4/netfilter/nf_nat_masquerade_ipv4.c
+@@ -30,8 +30,8 @@ nf_nat_masquerade_ipv4(struct sk_buff *skb, unsigned int hooknum,
+ struct nf_conn_nat *nat;
+ enum ip_conntrack_info ctinfo;
+ struct nf_nat_range2 newrange;
+- const struct rtable *rt;
+- __be32 newsrc, nh;
++ struct rtable *rt;
++ __be32 newsrc;
+
+ WARN_ON(hooknum != NF_INET_POST_ROUTING);
+
+@@ -46,12 +46,23 @@ nf_nat_masquerade_ipv4(struct sk_buff *skb, unsigned int hooknum,
+ if (ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip == 0)
+ return NF_ACCEPT;
+
+- rt = skb_rtable(skb);
+- nh = rt_nexthop(rt, ip_hdr(skb)->daddr);
+- newsrc = inet_select_addr(out, nh, RT_SCOPE_UNIVERSE);
+- if (!newsrc) {
+- pr_info("%s ate my IP address\n", out->name);
+- return NF_DROP;
++ {
++ struct flowi4 fl4 = { .flowi4_tos = RT_TOS(ip_hdr(skb)->tos),
++ .flowi4_mark = skb->mark,
++ .flowi4_oif = out->ifindex,
++ .daddr = ip_hdr(skb)->daddr,
++ .fl4_gw = skb_rtable(skb)->rt_gateway };
++ rt = ip_route_output_key(dev_net(out), &fl4);
++ if (IS_ERR(rt)) {
++ /* Funky routing can do this. */
++ if (net_ratelimit())
++ pr_info("%s:"
++ " No route: Rusty's brain broke!\n",
++ out->name);
++ return NF_DROP;
++ }
++ newsrc = fl4.saddr;
++ ip_rt_put(rt);
+ }
+
+ nat = nf_ct_nat_ext_add(ct);
+diff --git a/net/ipv4/route.c b/net/ipv4/route.c
+index 3c89ca325947..25fcdd17c1fc 100644
+--- a/net/ipv4/route.c
++++ b/net/ipv4/route.c
+@@ -1647,7 +1647,7 @@ int ip_mc_validate_source(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+ return -EINVAL;
+ } else {
+ err = fib_validate_source(skb, saddr, 0, tos, 0, dev,
+- in_dev, itag);
++ in_dev, itag, 1);
+ if (err < 0)
+ return err;
+ }
+@@ -1722,7 +1722,7 @@ static void ip_handle_martian_source(struct net_device *dev,
+ static int __mkroute_input(struct sk_buff *skb,
+ const struct fib_result *res,
+ struct in_device *in_dev,
+- __be32 daddr, __be32 saddr, u32 tos)
++ __be32 daddr, __be32 saddr, u32 tos, __be32 lsrc)
+ {
+ struct fib_nh_exception *fnhe;
+ struct rtable *rth;
+@@ -1739,7 +1739,7 @@ static int __mkroute_input(struct sk_buff *skb,
+ }
+
+ err = fib_validate_source(skb, saddr, daddr, tos, FIB_RES_OIF(*res),
+- in_dev->dev, in_dev, &itag);
++ in_dev->dev, in_dev, &itag, 0);
+ if (err < 0) {
+ ip_handle_martian_source(in_dev->dev, in_dev, skb, daddr,
+ saddr);
+@@ -1749,7 +1749,7 @@ static int __mkroute_input(struct sk_buff *skb,
+
+ do_cache = res->fi && !itag;
+ if (out_dev == in_dev && err && IN_DEV_TX_REDIRECTS(out_dev) &&
+- skb->protocol == htons(ETH_P_IP) &&
++ skb->protocol == htons(ETH_P_IP) && !lsrc &&
+ (IN_DEV_SHARED_MEDIA(out_dev) ||
+ inet_addr_onlink(out_dev, saddr, FIB_RES_GW(*res))))
+ IPCB(skb)->flags |= IPSKB_DOREDIRECT;
+@@ -1907,10 +1907,12 @@ int fib_multipath_hash(const struct net *net, const struct flowi4 *fl4,
+
+ static int ip_mkroute_input(struct sk_buff *skb,
+ struct fib_result *res,
++ const struct flowi4 *fl4,
+ struct in_device *in_dev,
+ __be32 daddr, __be32 saddr, u32 tos,
+- struct flow_keys *hkeys)
++ struct flow_keys *hkeys, __be32 lsrc)
+ {
++ fib_select_default(fl4, res);
+ #ifdef CONFIG_IP_ROUTE_MULTIPATH
+ if (res->fi && res->fi->fib_nhs > 1) {
+ int h = fib_multipath_hash(res->fi->fib_net, NULL, skb, hkeys);
+@@ -1920,7 +1922,7 @@ static int ip_mkroute_input(struct sk_buff *skb,
+ #endif
+
+ /* create a routing cache entry */
+- return __mkroute_input(skb, res, in_dev, daddr, saddr, tos);
++ return __mkroute_input(skb, res, in_dev, daddr, saddr, tos, lsrc);
+ }
+
+ /*
+@@ -1935,7 +1937,7 @@ static int ip_mkroute_input(struct sk_buff *skb,
+ */
+
+ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+- u8 tos, struct net_device *dev,
++ u8 tos, struct net_device *dev, __be32 lsrc,
+ struct fib_result *res)
+ {
+ struct in_device *in_dev = __in_dev_get_rcu(dev);
+@@ -1993,18 +1995,25 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+ goto martian_source;
+ }
+
++ if (lsrc) {
++ if (ipv4_is_multicast(lsrc) || ipv4_is_lbcast(lsrc) ||
++ ipv4_is_zeronet(lsrc) || ipv4_is_loopback(lsrc))
++ goto martian_source;
++ }
++
+ /*
+ * Now we are ready to route packet.
+ */
+ fl4.flowi4_oif = 0;
+- fl4.flowi4_iif = dev->ifindex;
++ fl4.flowi4_iif = lsrc ? LOOPBACK_IFINDEX : dev->ifindex;
+ fl4.flowi4_mark = skb->mark;
+ fl4.flowi4_tos = tos;
+ fl4.flowi4_scope = RT_SCOPE_UNIVERSE;
+ fl4.flowi4_flags = 0;
+ fl4.daddr = daddr;
+- fl4.saddr = saddr;
++ fl4.saddr = lsrc? : saddr;
+ fl4.flowi4_uid = sock_net_uid(net, NULL);
++ fl4.fl4_gw = 0;
+
+ if (fib4_rules_early_flow_dissect(net, skb, &fl4, &_flkeys)) {
+ flkeys = &_flkeys;
+@@ -2015,6 +2024,8 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+ }
+
+ err = fib_lookup(net, &fl4, res, 0);
++ fl4.flowi4_iif = dev->ifindex;
++ fl4.saddr = saddr;
+ if (err != 0) {
+ if (!IN_DEV_FORWARD(in_dev))
+ err = -EHOSTUNREACH;
+@@ -2029,7 +2040,7 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+
+ if (res->type == RTN_LOCAL) {
+ err = fib_validate_source(skb, saddr, daddr, tos,
+- 0, dev, in_dev, &itag);
++ 0, dev, in_dev, &itag, 1);
+ if (err < 0)
+ goto martian_source;
+ goto local_input;
+@@ -2043,16 +2054,19 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+ goto martian_destination;
+
+ make_route:
+- err = ip_mkroute_input(skb, res, in_dev, daddr, saddr, tos, flkeys);
++ err = ip_mkroute_input(skb, res, &fl4, in_dev, daddr, saddr, tos,
++ flkeys, lsrc);
+ out: return err;
+
+ brd_input:
+ if (skb->protocol != htons(ETH_P_IP))
+ goto e_inval;
++ if (lsrc)
++ goto e_inval;
+
+ if (!ipv4_is_zeronet(saddr)) {
+ err = fib_validate_source(skb, saddr, 0, tos, 0, dev,
+- in_dev, &itag);
++ in_dev, &itag, 1);
+ if (err < 0)
+ goto martian_source;
+ }
+@@ -2156,9 +2170,26 @@ int ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+ }
+ EXPORT_SYMBOL(ip_route_input_noref);
+
++int ip_route_input_lookup(struct sk_buff *skb, __be32 daddr, __be32 saddr,
++ u8 tos, struct net_device *dev, __be32 lsrc)
++{
++ struct fib_result res;
++ int err;
++
++ tos &= IPTOS_RT_MASK;
++ rcu_read_lock();
++ err = ip_route_input_common_rcu(skb, daddr, saddr, tos, dev, lsrc,
++ &res);
++ rcu_read_unlock();
++
++ return err;
++}
++EXPORT_SYMBOL(ip_route_input_lookup);
++
+ /* called with rcu_read_lock held */
+-int ip_route_input_rcu(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+- u8 tos, struct net_device *dev, struct fib_result *res)
++int ip_route_input_common_rcu(struct sk_buff *skb, __be32 daddr, __be32 saddr,
++ u8 tos, struct net_device *dev, __be32 lsrc,
++ struct fib_result *res)
+ {
+ /* Multicast recognition logic is moved from route cache to here.
+ The problem was that too many Ethernet cards have broken/missing
+@@ -2204,7 +2235,13 @@ int ip_route_input_rcu(struct sk_buff *skb, __be32 daddr, __be32 saddr,
+ return err;
+ }
+
+- return ip_route_input_slow(skb, daddr, saddr, tos, dev, res);
++ return ip_route_input_slow(skb, daddr, saddr, tos, dev, lsrc, res);
++}
++
++int ip_route_input_rcu(struct sk_buff *skb, __be32 daddr, __be32 saddr,
++ u8 tos, struct net_device *dev, struct fib_result *res)
++{
++ return ip_route_input_common_rcu(skb, daddr, saddr, tos, dev, 0, res);
+ }
+
+ /* called with rcu_read_lock() */
+@@ -2456,6 +2493,7 @@ struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *fl4,
+ fl4->daddr = fl4->saddr = htonl(INADDR_LOOPBACK);
+ dev_out = net->loopback_dev;
+ fl4->flowi4_oif = LOOPBACK_IFINDEX;
++ fl4->fl4_gw = 0;
+ res->type = RTN_LOCAL;
+ flags |= RTCF_LOCAL;
+ goto make_route;
+@@ -2514,6 +2552,7 @@ struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *fl4,
+ orig_oif = FIB_RES_OIF(*res);
+
+ fl4->flowi4_oif = dev_out->ifindex;
++ fl4->fl4_gw = 0;
+ flags |= RTCF_LOCAL;
+ goto make_route;
+ }
+diff --git a/net/netfilter/nf_nat_core.c b/net/netfilter/nf_nat_core.c
+index d159e9e7835b..8c96a28ae3c9 100644
+--- a/net/netfilter/nf_nat_core.c
++++ b/net/netfilter/nf_nat_core.c
+@@ -1100,6 +1100,49 @@ static struct nf_nat_hook nat_hook = {
+ .manip_pkt = nf_nat_manip_pkt,
+ };
+
++unsigned int ip_nat_route_input(void *priv,
++ struct sk_buff *skb,
++ const struct nf_hook_state *state)
++{
++ struct iphdr *iph;
++ struct nf_conn *conn;
++ enum ip_conntrack_info ctinfo;
++ enum ip_conntrack_dir dir;
++ unsigned long statusbit;
++ __be32 saddr;
++
++ if (!(conn = nf_ct_get(skb, &ctinfo)))
++ return NF_ACCEPT;
++
++ if (!(conn->status & IPS_NAT_DONE_MASK))
++ return NF_ACCEPT;
++ dir = CTINFO2DIR(ctinfo);
++ statusbit = IPS_SRC_NAT;
++ if (dir == IP_CT_DIR_REPLY)
++ statusbit ^= IPS_NAT_MASK;
++ if (!(conn->status & statusbit))
++ return NF_ACCEPT;
++
++ if (skb_dst(skb))
++ return NF_ACCEPT;
++
++ if (skb->len < sizeof(struct iphdr))
++ return NF_ACCEPT;
++
++ /* use daddr in other direction as masquerade address (lsrc) */
++ iph = ip_hdr(skb);
++ saddr = conn->tuplehash[!dir].tuple.dst.u3.ip;
++ if (saddr == iph->saddr)
++ return NF_ACCEPT;
++
++ if (ip_route_input_lookup(skb, iph->daddr, iph->saddr, iph->tos,
++ skb->dev, saddr))
++ return NF_DROP;
++
++ return NF_ACCEPT;
++}
++EXPORT_SYMBOL_GPL(ip_nat_route_input);
++
+ static int __init nf_nat_init(void)
+ {
+ int ret, i;
+diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c
+index 9cec81209617..820ede89c74a 100644
+--- a/security/selinux/nlmsgtab.c
++++ b/security/selinux/nlmsgtab.c
+@@ -83,6 +83,9 @@ static const struct nlmsg_perm nlmsg_route_perms[] =
+ { RTM_NEWCHAIN, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
+ { RTM_DELCHAIN, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
+ { RTM_GETCHAIN, NETLINK_ROUTE_SOCKET__NLMSG_READ },
++ { RTM_NEWARPRULE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
++ { RTM_DELARPRULE, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
++ { RTM_GETARPRULE, NETLINK_ROUTE_SOCKET__NLMSG_READ },
+ };
+
+ static const struct nlmsg_perm nlmsg_tcpdiag_perms[] =
+@@ -166,7 +169,7 @@ int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm)
+ * structures at the top of this file with the new mappings
+ * before updating the BUILD_BUG_ON() macro!
+ */
+- BUILD_BUG_ON(RTM_MAX != (RTM_NEWCHAIN + 3));
++ BUILD_BUG_ON(RTM_MAX != (RTM_NEWARPRULE + 3));
+ err = nlmsg_perm(nlmsg_type, perm, nlmsg_route_perms,
+ sizeof(nlmsg_route_perms));
+ break;
diff --git a/sys-kernel/boest-v5.0.16/0002-pool-2.6.25-tcp-timewait-20s.diff.patch b/sys-kernel/boest-v5.0.16/0002-pool-2.6.25-tcp-timewait-20s.diff.patch
new file mode 100644
index 00000000..74ef4488
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0002-pool-2.6.25-tcp-timewait-20s.diff.patch
@@ -0,0 +1,27 @@
+From b91260ac92111f634ecaf45638d2b214fa902ed1 Mon Sep 17 00:00:00 2001
+From: Willy Tarreau <w@1wt.eu>
+Date: Sun, 15 Feb 2009 14:51:33 +0100
+Subject: [PATCH 02/12] pool/2.6.25-tcp-timewait-20s.diff
+
+From http://linux.1wt.eu/alix/kernel-src/2.6.27-wt11/patches-2.6.27-wt11.tar.bz2
+
+Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+---
+ include/net/tcp.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/net/tcp.h b/include/net/tcp.h
+index e0a65c067662..4c068f01a812 100644
+--- a/include/net/tcp.h
++++ b/include/net/tcp.h
+@@ -118,8 +118,8 @@ void tcp_time_wait(struct sock *sk, int state, int timeo);
+ * initial RTO.
+ */
+
+-#define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT
+- * state, about 60 seconds */
++#define TCP_TIMEWAIT_LEN (20*HZ) /* how long to wait to destroy TIME-WAIT
++ * state, about 20 seconds */
+ #define TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN
+ /* BSD style FIN_WAIT2 deadlock breaker.
+ * It used to be 3min, new value is 60sec,
diff --git a/sys-kernel/boest-v5.0.16/0003-pool-2.6.25-disable-tcp-debug.diff.patch b/sys-kernel/boest-v5.0.16/0003-pool-2.6.25-disable-tcp-debug.diff.patch
new file mode 100644
index 00000000..3813485e
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0003-pool-2.6.25-disable-tcp-debug.diff.patch
@@ -0,0 +1,25 @@
+From 23d59eef54ede06e2fadfc551d19795e583417ff Mon Sep 17 00:00:00 2001
+From: Willy Tarreau <w@1wt.eu>
+Date: Sun, 15 Feb 2009 14:51:33 +0100
+Subject: [PATCH 03/12] pool/2.6.25-disable-tcp-debug.diff
+
+From http://linux.1wt.eu/alix/kernel-src/2.6.27-wt11/patches-2.6.27-wt11.tar.bz2
+
+Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+---
+ include/net/tcp.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/net/tcp.h b/include/net/tcp.h
+index 4c068f01a812..5835fb7b05b6 100644
+--- a/include/net/tcp.h
++++ b/include/net/tcp.h
+@@ -18,7 +18,7 @@
+ #ifndef _TCP_H
+ #define _TCP_H
+
+-#define FASTRETRANS_DEBUG 1
++#define FASTRETRANS_DEBUG 0
+
+ #include <linux/list.h>
+ #include <linux/tcp.h>
diff --git a/sys-kernel/boest-v5.0.16/0004-TCP-add-a-sysctl-to-disable-simultaneous-connection-.patch b/sys-kernel/boest-v5.0.16/0004-TCP-add-a-sysctl-to-disable-simultaneous-connection-.patch
new file mode 100644
index 00000000..3ff8785c
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0004-TCP-add-a-sysctl-to-disable-simultaneous-connection-.patch
@@ -0,0 +1,142 @@
+From 53072877af3b2127705a5a72d1809b66b3e1beac Mon Sep 17 00:00:00 2001
+From: Willy Tarreau <w@1wt.eu>
+Date: Wed, 8 Oct 2008 10:00:42 +0200
+Subject: [PATCH 04/12] TCP: add a sysctl to disable simultaneous connection
+ opening.
+
+Strict implementation of RFC793 (TCP) requires support for a feature
+called "simultaneous connect", which allows two clients to connect to
+each other without anyone entering a listening state. While almost
+never used, and supported by few OSes, Linux supports this feature.
+
+However, it introduces a weakness in the protocol which makes it very
+easy for an attacker to prevent a client from connecting to a known
+server. The attacker only has to guess the source port to shut down
+the client connection during its establishment. The impact is limited,
+but it may be used to prevent an antivirus or IPS from fetching updates
+and not detecting an attack, or to prevent an SSL gateway from fetching
+a CRL for example.
+
+This patch provides a new sysctl "tcp_simult_connect" to enable or disable
+support for this useless feature. It comes disabled by default.
+
+Hundreds of systems running with that feature disabled for more than 4 years
+have never encountered an application which requires it. It is almost never
+supported by firewalls BTW.
+
+From http://linux.1wt.eu/alix/kernel-src/2.6.27-wt11/patches-2.6.27-wt11.tar.bz2
+
+Reviewed-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+
+Signed-off-by: Willy Tarreau <w@1wt.eu>
+Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+---
+ Documentation/networking/ip-sysctl.txt | 22 ++++++++++++++++++++++
+ include/net/netns/ipv4.h | 1 +
+ include/uapi/linux/sysctl.h | 1 +
+ net/ipv4/sysctl_net_ipv4.c | 7 +++++++
+ net/ipv4/tcp_input.c | 6 +++++-
+ 5 files changed, 36 insertions(+), 1 deletion(-)
+
+diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
+index 2c9787017dae..9f4d3cd44dbb 100644
+--- a/Documentation/networking/ip-sysctl.txt
++++ b/Documentation/networking/ip-sysctl.txt
+@@ -199,6 +199,28 @@ inet_peer_maxttl - INTEGER
+
+ TCP variables:
+
++tcp_simult_connect - BOOLEAN
++ Enables TCP simultaneous connect feature conforming to RFC793.
++ Strict implementation of RFC793 (TCP) requires support for a feature
++ called "simultaneous connect", which allows two clients to connect to
++ each other without anyone entering a listening state. While almost
++ never used, and supported by few OSes, Linux supports this feature.
++
++ However, it introduces a weakness in the protocol which makes it very
++ easy for an attacker to prevent a client from connecting to a known
++ server. The attacker only has to guess the source port to shut down
++ the client connection during its establishment. The impact is limited,
++ but it may be used to prevent an antivirus or IPS from fetching updates
++ and not detecting an attack, or to prevent an SSL gateway from fetching
++ a CRL for example.
++
++ If you want absolute compatibility with any possible application,
++ you should set it to 1. If you prefer to enhance security on your
++ systems you'd better let it to 0. After four years of usage on
++ hundreds of systems, no application was ever found to require this
++ feature, which is not even supported by most firewalls.
++ Default: 0
++
+ somaxconn - INTEGER
+ Limit of socket listen() backlog, known in userspace as SOMAXCONN.
+ Defaults to 128. See also tcp_max_syn_backlog for additional tuning
+diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
+index 104a6669e344..f406fdc12340 100644
+--- a/include/net/netns/ipv4.h
++++ b/include/net/netns/ipv4.h
+@@ -140,6 +140,7 @@ struct netns_ipv4 {
+ int sysctl_tcp_recovery;
+ int sysctl_tcp_thin_linear_timeouts;
+ int sysctl_tcp_slow_start_after_idle;
++ int sysctl_tcp_simult_connect;
+ int sysctl_tcp_retrans_collapse;
+ int sysctl_tcp_stdurg;
+ int sysctl_tcp_rfc1337;
+diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h
+index 87aa2a6d9125..c94a1099bc5b 100644
+--- a/include/uapi/linux/sysctl.h
++++ b/include/uapi/linux/sysctl.h
+@@ -426,6 +426,7 @@ enum
+ NET_TCP_ALLOWED_CONG_CONTROL=123,
+ NET_TCP_MAX_SSTHRESH=124,
+ NET_TCP_FRTO_RESPONSE=125,
++ NET_TCP_SIMULT_CONNECT=126,
+ };
+
+ enum {
+diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c
+index eeb4041fa5f9..5d6345007a7d 100644
+--- a/net/ipv4/sysctl_net_ipv4.c
++++ b/net/ipv4/sysctl_net_ipv4.c
+@@ -515,6 +515,13 @@ static struct ctl_table ipv4_table[] = {
+ .mode = 0444,
+ .proc_handler = proc_tcp_available_congestion_control,
+ },
++ {
++ .procname = "tcp_simult_connect",
++ .data = &init_net.ipv4.sysctl_tcp_simult_connect,
++ .maxlen = sizeof(int),
++ .mode = 0644,
++ .proc_handler = &proc_dointvec,
++ },
+ {
+ .procname = "tcp_allowed_congestion_control",
+ .maxlen = TCP_CA_BUF_MAX,
+diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
+index 95b2e31fff08..156399ec006c 100644
+--- a/net/ipv4/tcp_input.c
++++ b/net/ipv4/tcp_input.c
+@@ -5773,6 +5773,7 @@ static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb,
+ const struct tcphdr *th)
+ {
+ struct inet_connection_sock *icsk = inet_csk(sk);
++ struct net *net = sock_net(sk);
+ struct tcp_sock *tp = tcp_sk(sk);
+ struct tcp_fastopen_cookie foc = { .len = -1 };
+ int saved_clamp = tp->rx_opt.mss_clamp;
+@@ -5928,10 +5929,13 @@ static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb,
+ tcp_paws_reject(&tp->rx_opt, 0))
+ goto discard_and_undo;
+
+- if (th->syn) {
++ if (th->syn && net->ipv4.sysctl_tcp_simult_connect) {
+ /* We see SYN without ACK. It is attempt of
+ * simultaneous connect with crossed SYNs.
+ * Particularly, it can be connect to self.
++ * This feature is disabled by default as it introduces
++ * weakness in the protocol. It can be enabled by a
++ * sysctl.
+ */
+ tcp_set_state(sk, TCP_SYN_RECV);
+
diff --git a/sys-kernel/boest-v5.0.16/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch b/sys-kernel/boest-v5.0.16/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch
new file mode 100644
index 00000000..096574d2
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch
@@ -0,0 +1,34 @@
+From 4b5fbea773dc9d66f25f880f6bece8126f82a68e Mon Sep 17 00:00:00 2001
+From: Willy Tarreau <w@1wt.eu>
+Date: Sun, 15 Feb 2009 14:51:33 +0100
+Subject: [PATCH 05/12] pool/2.6.25-disable-kbdrate-at-boot.diff
+
+From http://linux.1wt.eu/alix/kernel-src/2.6.27-wt11/patches-2.6.27-wt11.tar.bz2
+
+Reviewed-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+---
+ arch/x86/boot/main.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/x86/boot/main.c b/arch/x86/boot/main.c
+index 73532543d689..e0d26ecfb713 100644
+--- a/arch/x86/boot/main.c
++++ b/arch/x86/boot/main.c
+@@ -64,6 +64,8 @@ static void copy_boot_params(void)
+ */
+ static void keyboard_init(void)
+ {
++/*This may take several seconds if the system has no kbd controller */
++#ifdef CONFIG_INPUT_KEYBOARD
+ struct biosregs ireg, oreg;
+ initregs(&ireg);
+
+@@ -73,6 +75,7 @@ static void keyboard_init(void)
+
+ ireg.ax = 0x0305; /* Set keyboard repeat rate */
+ intcall(0x16, &ireg, NULL);
++#endif
+ }
+
+ /*
diff --git a/sys-kernel/boest-v5.0.16/0006-Disable-CONFIG_PROCESSOR_SELECT-printk-s.patch b/sys-kernel/boest-v5.0.16/0006-Disable-CONFIG_PROCESSOR_SELECT-printk-s.patch
new file mode 100644
index 00000000..713fe39b
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0006-Disable-CONFIG_PROCESSOR_SELECT-printk-s.patch
@@ -0,0 +1,45 @@
+From 88a0e31f2ff96d3eb973ec3e9fb270c77b1d2144 Mon Sep 17 00:00:00 2001
+From: Bertrand Jacquin <bertrand@jacquin.bzh>
+Date: Wed, 9 Jan 2013 00:28:28 +0100
+Subject: [PATCH 06/12] Disable CONFIG_PROCESSOR_SELECT printk()'s
+
+Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+---
+ arch/x86/kernel/cpu/common.c | 17 -----------------
+ 1 file changed, 17 deletions(-)
+
+diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
+index 132a63dc5a76..0f9d27df958c 100644
+--- a/arch/x86/kernel/cpu/common.c
++++ b/arch/x86/kernel/cpu/common.c
+@@ -1158,10 +1158,6 @@ void __init early_cpu_init(void)
+ const struct cpu_dev *const *cdev;
+ int count = 0;
+
+-#ifdef CONFIG_PROCESSOR_SELECT
+- pr_info("KERNEL supported cpus:\n");
+-#endif
+-
+ for (cdev = __x86_cpu_dev_start; cdev < __x86_cpu_dev_end; cdev++) {
+ const struct cpu_dev *cpudev = *cdev;
+
+@@ -1169,19 +1165,6 @@ void __init early_cpu_init(void)
+ break;
+ cpu_devs[count] = cpudev;
+ count++;
+-
+-#ifdef CONFIG_PROCESSOR_SELECT
+- {
+- unsigned int j;
+-
+- for (j = 0; j < 2; j++) {
+- if (!cpudev->c_ident[j])
+- continue;
+- pr_info(" %s %s\n", cpudev->c_vendor,
+- cpudev->c_ident[j]);
+- }
+- }
+-#endif
+ }
+ early_identify_cpu(&boot_cpu_data);
+ }
diff --git a/sys-kernel/boest-v5.0.16/0007-This-patch-adds-support-for-a-restricted-user-contro.patch b/sys-kernel/boest-v5.0.16/0007-This-patch-adds-support-for-a-restricted-user-contro.patch
new file mode 100644
index 00000000..d9f04458
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0007-This-patch-adds-support-for-a-restricted-user-contro.patch
@@ -0,0 +1,75 @@
+From 812ca57f5a82891ee935585673aac7c4a2b3bf2d Mon Sep 17 00:00:00 2001
+From: "Anthony G. Basile" <blueness@gentoo.org>
+Date: Tue, 15 Jan 2019 10:16:38 -0500
+Subject: [PATCH 07/12] This patch adds support for a restricted
+ user-controlled namespace on tmpfs filesystem used to house PaX flags. The
+ namespace must be of the form user.pax.* and its value cannot exceed a size
+ of 8 bytes.
+
+This is needed even on all Gentoo systems so that XATTR_PAX flags
+are preserved for users who might build packages using portage on
+a tmpfs system with a non-hardened kernel and then switch to a
+hardened kernel with XATTR_PAX enabled.
+
+The namespace is added to any user with Extended Attribute support
+enabled for tmpfs. Users who do not enable xattrs will not have
+the XATTR_PAX flags preserved.
+---
+ include/uapi/linux/xattr.h | 4 ++++
+ mm/shmem.c | 15 +++++++++++++++
+ 2 files changed, 19 insertions(+)
+
+diff --git a/include/uapi/linux/xattr.h b/include/uapi/linux/xattr.h
+index c1395b5bd432..bac6d48eca8e 100644
+--- a/include/uapi/linux/xattr.h
++++ b/include/uapi/linux/xattr.h
+@@ -77,5 +77,9 @@
+ #define XATTR_POSIX_ACL_DEFAULT "posix_acl_default"
+ #define XATTR_NAME_POSIX_ACL_DEFAULT XATTR_SYSTEM_PREFIX XATTR_POSIX_ACL_DEFAULT
+
++/* User namespace */
++#define XATTR_PAX_PREFIX XATTR_USER_PREFIX "pax."
++#define XATTR_PAX_FLAGS_SUFFIX "flags"
++#define XATTR_NAME_PAX_FLAGS XATTR_PAX_PREFIX XATTR_PAX_FLAGS_SUFFIX
+
+ #endif /* _UAPI_LINUX_XATTR_H */
+diff --git a/mm/shmem.c b/mm/shmem.c
+index 2c012eee133d..b8bce7b3c614 100644
+--- a/mm/shmem.c
++++ b/mm/shmem.c
+@@ -3140,6 +3140,14 @@ static int shmem_xattr_handler_set(const struct xattr_handler *handler,
+ struct shmem_inode_info *info = SHMEM_I(inode);
+
+ name = xattr_full_name(handler, name);
++
++ if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) {
++ if (strcmp(name, XATTR_NAME_PAX_FLAGS))
++ return -EOPNOTSUPP;
++ if (size > 8)
++ return -EINVAL;
++ }
++
+ return simple_xattr_set(&info->xattrs, name, value, size, flags);
+ }
+
+@@ -3155,6 +3163,12 @@ static const struct xattr_handler shmem_trusted_xattr_handler = {
+ .set = shmem_xattr_handler_set,
+ };
+
++static const struct xattr_handler shmem_user_xattr_handler = {
++ .prefix = XATTR_USER_PREFIX,
++ .get = shmem_xattr_handler_get,
++ .set = shmem_xattr_handler_set,
++};
++
+ static const struct xattr_handler *shmem_xattr_handlers[] = {
+ #ifdef CONFIG_TMPFS_POSIX_ACL
+ &posix_acl_access_xattr_handler,
+@@ -3162,6 +3176,7 @@ static const struct xattr_handler *shmem_xattr_handlers[] = {
+ #endif
+ &shmem_security_xattr_handler,
+ &shmem_trusted_xattr_handler,
++ &shmem_user_xattr_handler,
+ NULL
+ };
+
diff --git a/sys-kernel/boest-v5.0.16/0008-fs-Enable-link-security-restrictions-by-default.patch b/sys-kernel/boest-v5.0.16/0008-fs-Enable-link-security-restrictions-by-default.patch
new file mode 100644
index 00000000..5f27adc9
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0008-fs-Enable-link-security-restrictions-by-default.patch
@@ -0,0 +1,26 @@
+From a3f9c164e32dbd9739c19c4987020c77bdde7e04 Mon Sep 17 00:00:00 2001
+From: Ben Hutchings <ben@decadent.org.uk>
+Date: Fri, 2 Nov 2012 05:32:06 +0000
+Subject: [PATCH 08/12] fs: Enable link security restrictions by default
+
+This reverts commit 561ec64ae67ef25cac8d72bb9c4bfc955edfd415
+('VFS: don't do protected {sym,hard}links by default').
+---
+ fs/namei.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/fs/namei.c b/fs/namei.c
+index 914178cdbe94..bd94f65a9efd 100644
+--- a/fs/namei.c
++++ b/fs/namei.c
+@@ -885,8 +885,8 @@ static inline void put_link(struct nameidata *nd)
+ path_put(&last->link);
+ }
+
+-int sysctl_protected_symlinks __read_mostly = 0;
+-int sysctl_protected_hardlinks __read_mostly = 0;
++int sysctl_protected_symlinks __read_mostly = 1;
++int sysctl_protected_hardlinks __read_mostly = 1;
+ int sysctl_protected_fifos __read_mostly;
+ int sysctl_protected_regular __read_mostly;
+
diff --git a/sys-kernel/boest-v5.0.16/0009-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch b/sys-kernel/boest-v5.0.16/0009-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch
new file mode 100644
index 00000000..a7c82b52
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0009-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch
@@ -0,0 +1,37 @@
+From 2baf9c00c23a074d9a95ff581548b2e1857dd7f5 Mon Sep 17 00:00:00 2001
+From: Laura Abbott <labbott@fedoraproject.org>
+Date: Tue, 8 Sep 2015 09:53:38 -0700
+Subject: [PATCH 09/12] usb-storage: Disable UAS on JMicron SATA enclosure
+
+Steve Ellis reported incorrect block sizes and alignement
+offsets with a SATA enclosure. Adding a quirk to disable
+UAS fixes the problems.
+
+Reported-by: Steven Ellis <sellis@redhat.com>
+Signed-off-by: Laura Abbott <labbott@fedoraproject.org>
+---
+ drivers/usb/storage/unusual_uas.h | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h
+index d0bdebd87ce3..1b23741036ee 100644
+--- a/drivers/usb/storage/unusual_uas.h
++++ b/drivers/usb/storage/unusual_uas.h
+@@ -87,12 +87,15 @@ UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+ US_FL_IGNORE_UAS),
+
+-/* Reported-by: Takeo Nakayama <javhera@gmx.com> */
++/*
++ * Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
++ * UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
++ */
+ UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
+ "JMicron",
+ "JMS566",
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+- US_FL_NO_REPORT_OPCODES),
++ US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
+ +
+ /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
+ UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
diff --git a/sys-kernel/boest-v5.0.16/0010-5.0-2600_enable-key-swapping-for-apple-mac.patch.patch b/sys-kernel/boest-v5.0.16/0010-5.0-2600_enable-key-swapping-for-apple-mac.patch.patch
new file mode 100644
index 00000000..424416a7
--- /dev/null
+++ b/'>sys-kernel/boest-v5.0.16/0010-5.0-2600_enable-key-swapping-for-apple-mac.patch.patch
@@ -0,0 +1,125 @@
+From 69f8bfcb8e0af72b0d448fc86994727034f14341 Mon Sep 17 00:00:00 2001
+From: Mike Pagano <mpagano@gentoo.org>
+Date: Tue, 15 Jan 2019 10:16:38 -0500
+Subject: [PATCH 10/12] 5.0:2600_enable-key-swapping-for-apple-mac.patch
+
+---
+ drivers/hid/hid-apple.c | 76 +++++++++++++++++++++++++++++++++++++++--
+ 1 file changed, 74 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
+index 1cb41992aaa1..c34a3be5085a 100644
+--- a/drivers/hid/hid-apple.c
++++ b/drivers/hid/hid-apple.c
+@@ -54,6 +54,22 @@ MODULE_PARM_DESC(swap_opt_cmd, "Swap the Option (\"Alt\") and Command (\"Flag\")
+ "(For people who want to keep Windows PC keyboard muscle memory. "
+ "[0] = as-is, Mac layout. 1 = swapped, Windows layout.)");
+
++static unsigned int swap_fn_leftctrl;
++module_param(swap_fn_leftctrl, uint, 0644);
++MODULE_PARM_DESC(swap_fn_leftctrl, "Swap the Fn and left Control keys. "
++ "(For people who want to keep PC keyboard muscle memory. "
++ "[0] = as-is, Mac layout, 1 = swapped, PC layout)");
++
++static unsigned int rightalt_as_rightctrl;
++module_param(rightalt_as_rightctrl, uint, 0644);
++MODULE_PARM_DESC(rightalt_as_rightctrl, "Use the right Alt key as a right Ctrl key. "
++ "[0] = as-is, Mac layout. 1 = Right Alt is right Ctrl");
++
++static unsigned int ejectcd_as_delete;
++module_param(ejectcd_as_delete, uint, 0644);
++MODULE_PARM_DESC(ejectcd_as_delete, "Use Eject-CD key as Delete key. "
++ "([0] = disabled, 1 = enabled)");
++
+ struct apple_sc {
+ unsigned long quirks;
+ unsigned int fn_on;
+@@ -166,6 +182,21 @@ static const struct apple_key_translation swapped_option_cmd_keys[] = {
+ { }
+ };
+
++static const struct apple_key_translation swapped_fn_leftctrl_keys[] = {
++ { KEY_FN, KEY_LEFTCTRL },
++ { }
++};
++
++static const struct apple_key_translation rightalt_as_rightctrl_keys[] = {
++ { KEY_RIGHTALT, KEY_RIGHTCTRL },
++ { }
++};
++
++static const struct apple_key_translation ejectcd_as_delete_keys[] = {
++ { KEY_EJECTCD, KEY_DELETE },
++ { }
++};
++
+ static const struct apple_key_translation *apple_find_translation(
+ const struct apple_key_translation *table, u16 from)
+ {
+@@ -185,9 +216,11 @@ static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input,
+ struct apple_sc *asc = hid_get_drvdata(hid);
+ const struct apple_key_translation *trans, *table;
+
+- if (usage->code == KEY_FN) {
++ u16 fn_keycode = (swap_fn_leftctrl) ? (KEY_LEFTCTRL) : (KEY_FN);
++
++ if (usage->code == fn_keycode) {
+ asc->fn_on = !!value;
+- input_event(input, usage->type, usage->code, value);
++ input_event(input, usage->type, KEY_FN, value);
+ return 1;
+ }
+
+@@ -266,6 +299,30 @@ static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input,
+ }
+ }
+
++ if (swap_fn_leftctrl) {
++ trans = apple_find_translation(swapped_fn_leftctrl_keys, usage->code);
++ if (trans) {
++ input_event(input, usage->type, trans->to, value);
++ return 1;
++ }
++ }
++
++ if (ejectcd_as_delete) {
++ trans = apple_find_translation(ejectcd_as_delete_keys, usage->code);
++ if (trans) {
++ input_event(input, usage->type, trans->to, value);
++ return 1;
++ }
++ }
++
++ if (rightalt_as_rightctrl) {
++ trans = apple_find_translation(rightalt_as_rightctrl_keys, usage->code);
++ if (trans) {
++ input_event(input, usage->type, trans->to, value);
++ return 1;
++ }
++ }
++
+ return 0;
+ }
+
+@@ -329,6 +386,21 @@ static void apple_setup_input(struct input_dev *input)
+
+ for (trans = apple_iso_keyboard; trans->from; trans++)
+ set_bit(trans->to, input->keybit);
++
++ if (swap_fn_leftctrl) {
++ for (trans = swapped_fn_leftctrl_keys; trans->from; trans++)
++ set_bit(trans->to, input->keybit);
++ }
++
++ if (ejectcd_as_delete) {
++ for (trans = ejectcd_as_delete_keys; trans->from; trans++)
++ set_bit(trans->to, input->keybit);
++ }
++
++ if (rightalt_as_rightctrl) {
++ for (trans = rightalt_as_rightctrl_keys; trans->from; trans++)
++ set_bit(trans->to, input->keybit);
++ }
+ }
+
+ static int apple_input_mapping(struct hid_device *hdev, struct hid_input *hi,
diff --git a/sys-kernel/boest-v5.0.16/0011-5.0-4567_distro-Gentoo-Kconfig.patch.patch b/sys-kernel/boest-v5.0.16/0011-5.0-4567_distro-Gentoo-Kconfig.patch.patch
new file mode 100644
index 00000000..d2f51111
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0011-5.0-4567_distro-Gentoo-Kconfig.patch.patch
@@ -0,0 +1,173 @@
+From 16fa500325672b92da6cdf39a10484d3bd875df3 Mon Sep 17 00:00:00 2001
+From: Mike Pagano <mpagano@gentoo.org>
+Date: Fri, 28 Dec 2018 18:58:06 -0500
+Subject: [PATCH 11/12] 5.0:4567_distro-Gentoo-Kconfig.patch
+
+---
+ Kconfig | 2 +
+ distro/Kconfig | 147 +++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 149 insertions(+)
+
+diff --git a/Kconfig b/Kconfig
+index 48a80beab685..a5ad73c66099 100644
+--- a/Kconfig
++++ b/Kconfig
+@@ -30,3 +30,5 @@ source "crypto/Kconfig"
+ source "lib/Kconfig"
+
+ source "lib/Kconfig.debug"
++
++source "distro/Kconfig"
+diff --git a/distro/Kconfig b/distro/Kconfig
+new file mode 100644
+index 000000000000..57379b7720de
+--- /dev/null
++++ b/distro/Kconfig
+@@ -0,0 +1,147 @@
++menu "Gentoo Linux"
++
++config GENTOO_LINUX
++ bool "Gentoo Linux support"
++
++ default y
++
++ help
++ In order to boot Gentoo Linux a minimal set of config settings needs to
++ be enabled in the kernel; to avoid the users from having to enable them
++ manually as part of a Gentoo Linux installation or a new clean config,
++ we enable these config settings by default for convenience.
++
++ See the settings that become available for more details and fine-tuning.
++
++config GENTOO_LINUX_UDEV
++ bool "Linux dynamic and persistent device naming (userspace devfs) support"
++
++ depends on GENTOO_LINUX
++ default y if GENTOO_LINUX
++
++ select DEVTMPFS
++ select TMPFS
++ select UNIX
++
++ select MMU
++ select SHMEM
++
++ help
++ In order to boot Gentoo Linux a minimal set of config settings needs to
++ be enabled in the kernel; to avoid the users from having to enable them
++ manually as part of a Gentoo Linux installation or a new clean config,
++ we enable these config settings by default for convenience.
++
++ Currently this only selects TMPFS, DEVTMPFS and their dependencies.
++ TMPFS is enabled to maintain a tmpfs file system at /dev/shm, /run and
++ /sys/fs/cgroup; DEVTMPFS to maintain a devtmpfs file system at /dev.
++
++ Some of these are critical files that need to be available early in the
++ boot process; if not available, it causes sysfs and udev to malfunction.
++
++ To ensure Gentoo Linux boots, it is best to leave this setting enabled;
++ if you run a custom setup, you could consider whether to disable this.
++
++config GENTOO_LINUX_PORTAGE
++ bool "Select options required by Portage features"
++
++ depends on GENTOO_LINUX
++ default y if GENTOO_LINUX
++
++ select CGROUPS
++ select NAMESPACES
++ select IPC_NS
++ select NET_NS
++ select PID_NS
++ select SYSVIPC
++
++ help
++ This enables options required by various Portage FEATURES.
++ Currently this selects:
++
++ CGROUPS (required for FEATURES=cgroup)
++ IPC_NS (required for FEATURES=ipc-sandbox)
++ NET_NS (required for FEATURES=network-sandbox)
++ PID_NS (required for FEATURES=pid-sandbox)
++ SYSVIPC (required by IPC_NS)
++
++
++ It is highly recommended that you leave this enabled as these FEATURES
++ are, or will soon be, enabled by default.
++
++menu "Support for init systems, system and service managers"
++ visible if GENTOO_LINUX
++
++config GENTOO_LINUX_INIT_SCRIPT
++ bool "OpenRC, runit and other script based systems and managers"
++
++ default y if GENTOO_LINUX
++
++ depends on GENTOO_LINUX
++
++ select BINFMT_SCRIPT
++
++ help
++ The init system is the first thing that loads after the kernel booted.
++
++ These config settings allow you to select which init systems to support;
++ instead of having to select all the individual settings all over the
++ place, these settings allows you to select all the settings at once.
++
++ This particular setting enables all the known requirements for OpenRC,
++ runit and similar script based systems and managers.
++
++ If you are unsure about this, it is best to leave this setting enabled.
++
++config GENTOO_LINUX_INIT_SYSTEMD
++ bool "systemd"
++
++ default n
++
++ depends on GENTOO_LINUX && GENTOO_LINUX_UDEV
++
++ select AUTOFS4_FS
++ select BLK_DEV_BSG
++ select CGROUPS
++ select CHECKPOINT_RESTORE
++ select CRYPTO_HMAC
++ select CRYPTO_SHA256
++ select CRYPTO_USER_API_HASH
++ select DEVPTS_MULTIPLE_INSTANCES
++ select DMIID if X86_32 || X86_64 || X86
++ select EPOLL
++ select FANOTIFY
++ select FHANDLE
++ select INOTIFY_USER
++ select IPV6
++ select NET
++ select NET_NS
++ select PROC_FS
++ select SECCOMP
++ select SECCOMP_FILTER
++ select SIGNALFD
++ select SYSFS
++ select TIMERFD
++ select TMPFS_POSIX_ACL
++ select TMPFS_XATTR
++
++ select ANON_INODES
++ select BLOCK
++ select EVENTFD
++ select FSNOTIFY
++ select INET
++ select NLATTR
++
++ help
++ The init system is the first thing that loads after the kernel booted.
++
++ These config settings allow you to select which init systems to support;
++ instead of having to select all the individual settings all over the
++ place, these settings allows you to select all the settings at once.
++
++ This particular setting enables all the known requirements for systemd;
++ it also enables suggested optional settings, as the package suggests to.
++
++endmenu
++
++endmenu
diff --git a/sys-kernel/boest-v5.0.16/0012-WARNING-This-patch-works-with-gcc-versions-4.9-and-w.patch b/sys-kernel/boest-v5.0.16/0012-WARNING-This-patch-works-with-gcc-versions-4.9-and-w.patch
new file mode 100644
index 00000000..3d8702f9
--- /dev/null
+++ b/sys-kernel/boest-v5.0.16/0012-WARNING-This-patch-works-with-gcc-versions-4.9-and-w.patch
@@ -0,0 +1,565 @@
+From 531877bf7a058c91a178e711ea1d14c7a2fb137b Mon Sep 17 00:00:00 2001
+From: Mike Pagano <mpagano@gentoo.org>
+Date: Mon, 4 Mar 2019 08:10:52 -0500
+Subject: [PATCH 12/12] WARNING This patch works with gcc versions 4.9+ and
+ with kernel version 4.13+ and should NOT be applied when compiling on older
+ versions of gcc due to key name changes of the march flags introduced with
+ the version 4.9 release of gcc.[1]
+
+Use the older version of this patch hosted on the same github for older
+versions of gcc.
+
+FEATURES
+This patch adds additional CPU options to the Linux kernel accessible under:
+ Processor type and features --->
+ Processor family --->
+
+The expanded microarchitectures include:
+* AMD Improved K8-family
+* AMD K10-family
+* AMD Family 10h (Barcelona)
+* AMD Family 14h (Bobcat)
+* AMD Family 16h (Jaguar)
+* AMD Family 15h (Bulldozer)
+* AMD Family 15h (Piledriver)
+* AMD Family 15h (Steamroller)
+* AMD Family 15h (Excavator)
+* AMD Family 17h (Zen)
+* Intel Silvermont low-power processors
+* Intel 1st Gen Core i3/i5/i7 (Nehalem)
+* Intel 1.5 Gen Core i3/i5/i7 (Westmere)
+* Intel 2nd Gen Core i3/i5/i7 (Sandybridge)
+* Intel 3rd Gen Core i3/i5/i7 (Ivybridge)
+* Intel 4th Gen Core i3/i5/i7 (Haswell)
+* Intel 5th Gen Core i3/i5/i7 (Broadwell)
+* Intel 6th Gen Core i3/i5/i7 (Skylake)
+* Intel 6th Gen Core i7/i9 (Skylake X)
+
+It also offers to compile passing the 'native' option which, "selects the CPU
+to generate code for at compilation time by determining the processor type of
+the compiling machine. Using -march=native enables all instruction subsets
+supported by the local machine and will produce code optimized for the local
+machine under the constraints of the selected instruction set."[3]
+
+MINOR NOTES
+This patch also changes 'atom' to 'bonnell' in accordance with the gcc v4.9
+changes. Note that upstream is using the deprecated 'match=atom' flags when I
+believe it should use the newer 'march=bonnell' flag for atom processors.[2]
+
+It is not recommended to compile on Atom-CPUs with the 'native' option.[4] The
+recommendation is to use the 'atom' option instead.
+
+BENEFITS
+Small but real speed increases are measurable using a make endpoint comparing
+a generic kernel to one built with one of the respective microarchs.
+
+See the following experimental evidence supporting this statement:
+https://github.com/graysky2/kernel_gcc_patch
+
+REQUIREMENTS
+linux version >=4.13
+gcc version >=4.9
+
+ACKNOWLEDGMENTS
+This patch builds on the seminal work by Jeroen.[5]
+
+REFERENCES
+1. https://gcc.gnu.org/gcc-4.9/changes.html
+2. https://bugzilla.kernel.org/show_bug.cgi?id=77461
+3. https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
+4. https://github.com/graysky2/kernel_gcc_patch/issues/15
+5. http://www.linuxforge.net/docs/linux/linux-gcc.php
+---
+ arch/x86/Kconfig.cpu | 235 +++++++++++++++++++++++++++++-----
+ arch/x86/Makefile | 35 ++++-
+ arch/x86/Makefile_32.cpu | 24 +++-
+ arch/x86/include/asm/module.h | 40 ++++++
+ 4 files changed, 297 insertions(+), 37 deletions(-)
+
+diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu
+index 6adce15268bd..7d0709e548af 100644
+--- a/arch/x86/Kconfig.cpu
++++ b/arch/x86/Kconfig.cpu
+@@ -116,6 +116,7 @@ config MPENTIUMM
+ config MPENTIUM4
+ bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon"
+ depends on X86_32
++ select X86_P6_NOP
+ ---help---
+ Select this for Intel Pentium 4 chips. This includes the
+ Pentium 4, Pentium D, P4-based Celeron and Xeon, and
+@@ -148,9 +149,8 @@ config MPENTIUM4
+ -Paxville
+ -Dempsey
+
+-
+ config MK6
+- bool "K6/K6-II/K6-III"
++ bool "AMD K6/K6-II/K6-III"
+ depends on X86_32
+ ---help---
+ Select this for an AMD K6-family processor. Enables use of
+@@ -158,7 +158,7 @@ config MK6
+ flags to GCC.
+
+ config MK7
+- bool "Athlon/Duron/K7"
++ bool "AMD Athlon/Duron/K7"
+ depends on X86_32
+ ---help---
+ Select this for an AMD Athlon K7-family processor. Enables use of
+@@ -166,12 +166,83 @@ config MK7
+ flags to GCC.
+
+ config MK8
+- bool "Opteron/Athlon64/Hammer/K8"
++ bool "AMD Opteron/Athlon64/Hammer/K8"
+ ---help---
+ Select this for an AMD Opteron or Athlon64 Hammer-family processor.
+ Enables use of some extended instructions, and passes appropriate
+ optimization flags to GCC.
+
++config MK8SSE3
++ bool "AMD Opteron/Athlon64/Hammer/K8 with SSE3"
++ ---help---
++ Select this for improved AMD Opteron or Athlon64 Hammer-family processors.
++ Enables use of some extended instructions, and passes appropriate
++ optimization flags to GCC.
++
++config MK10
++ bool "AMD 61xx/7x50/PhenomX3/X4/II/K10"
++ ---help---
++ Select this for an AMD 61xx Eight-Core Magny-Cours, Athlon X2 7x50,
++ Phenom X3/X4/II, Athlon II X2/X3/X4, or Turion II-family processor.
++ Enables use of some extended instructions, and passes appropriate
++ optimization flags to GCC.
++
++config MBARCELONA
++ bool "AMD Barcelona"
++ ---help---
++ Select this for AMD Family 10h Barcelona processors.
++
++ Enables -march=barcelona
++
++config MBOBCAT
++ bool "AMD Bobcat"
++ ---help---
++ Select this for AMD Family 14h Bobcat processors.
++
++ Enables -march=btver1
++
++config MJAGUAR
++ bool "AMD Jaguar"
++ ---help---
++ Select this for AMD Family 16h Jaguar processors.
++
++ Enables -march=btver2
++
++config MBULLDOZER
++ bool "AMD Bulldozer"
++ ---help---
++ Select this for AMD Family 15h Bulldozer processors.
++
++ Enables -march=bdver1
++
++config MPILEDRIVER
++ bool "AMD Piledriver"
++ ---help---
++ Select this for AMD Family 15h Piledriver processors.
++
++ Enables -march=bdver2
++
++config MSTEAMROLLER
++ bool "AMD Steamroller"
++ ---help---
++ Select this for AMD Family 15h Steamroller processors.
++
++ Enables -march=bdver3
++
++config MEXCAVATOR
++ bool "AMD Excavator"
++ ---help---
++ Select this for AMD Family 15h Excavator processors.
++
++ Enables -march=bdver4
++
++config MZEN
++ bool "AMD Zen"
++ ---help---
++ Select this for AMD Family 17h Zen processors.
++
++ Enables -march=znver1
++
+ config MCRUSOE
+ bool "Crusoe"
+ depends on X86_32
+@@ -253,6 +324,7 @@ config MVIAC7
+
+ config MPSC
+ bool "Intel P4 / older Netburst based Xeon"
++ select X86_P6_NOP
+ depends on X86_64
+ ---help---
+ Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey
+@@ -262,17 +334,9 @@ config MPSC
+ using the cpu family field
+ in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one.
+
+-config MCORE2
+- bool "Core 2/newer Xeon"
+- ---help---
+-
+- Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and
+- 53xx) CPUs. You can distinguish newer from older Xeons by the CPU
+- family in /proc/cpuinfo. Newer ones have 6 and older ones 15
+- (not a typo)
+-
+ config MATOM
+ bool "Intel Atom"
++ select X86_P6_NOP
+ ---help---
+
+ Select this for the Intel Atom platform. Intel Atom CPUs have an
+@@ -280,6 +344,99 @@ config MATOM
+ accordingly optimized code. Use a recent GCC with specific Atom
+ support in order to fully benefit from selecting this option.
+
++config MCORE2
++ bool "Intel Core 2"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and
++ 53xx) CPUs. You can distinguish newer from older Xeons by the CPU
++ family in /proc/cpuinfo. Newer ones have 6 and older ones 15
++ (not a typo)
++
++ Enables -march=core2
++
++config MNEHALEM
++ bool "Intel Nehalem"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for 1st Gen Core processors in the Nehalem family.
++
++ Enables -march=nehalem
++
++config MWESTMERE
++ bool "Intel Westmere"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for the Intel Westmere formerly Nehalem-C family.
++
++ Enables -march=westmere
++
++config MSILVERMONT
++ bool "Intel Silvermont"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for the Intel Silvermont platform.
++
++ Enables -march=silvermont
++
++config MSANDYBRIDGE
++ bool "Intel Sandy Bridge"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for 2nd Gen Core processors in the Sandy Bridge family.
++
++ Enables -march=sandybridge
++
++config MIVYBRIDGE
++ bool "Intel Ivy Bridge"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for 3rd Gen Core processors in the Ivy Bridge family.
++
++ Enables -march=ivybridge
++
++config MHASWELL
++ bool "Intel Haswell"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for 4th Gen Core processors in the Haswell family.
++
++ Enables -march=haswell
++
++config MBROADWELL
++ bool "Intel Broadwell"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for 5th Gen Core processors in the Broadwell family.
++
++ Enables -march=broadwell
++
++config MSKYLAKE
++ bool "Intel Skylake"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for 6th Gen Core processors in the Skylake family.
++
++ Enables -march=skylake
++
++config MSKYLAKEX
++ bool "Intel Skylake X"
++ select X86_P6_NOP
++ ---help---
++
++ Select this for 6th Gen Core processors in the Skylake X family.
++
++ Enables -march=skylake-avx512
++
+ config GENERIC_CPU
+ bool "Generic-x86-64"
+ depends on X86_64
+@@ -287,6 +444,19 @@ config GENERIC_CPU
+ Generic x86-64 CPU.
+ Run equally well on all x86-64 CPUs.
+
++config MNATIVE
++ bool "Native optimizations autodetected by GCC"
++ ---help---
++
++ GCC 4.2 and above support -march=native, which automatically detects
++ the optimum settings to use based on your processor. -march=native
++ also detects and applies additional settings beyond -march specific
++ to your CPU, (eg. -msse4). Unless you have a specific reason not to
++ (e.g. distcc cross-compiling), you should probably be using
++ -march=native rather than anything listed below.
++
++ Enables -march=native
++
+ endchoice
+
+ config X86_GENERIC
+@@ -311,7 +481,7 @@ config X86_INTERNODE_CACHE_SHIFT
+ config X86_L1_CACHE_SHIFT
+ int
+ default "7" if MPENTIUM4 || MPSC
+- default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU
++ default "6" if MK7 || MK8 || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MBULLDOZER || MPILEDRIVER || MSTEAMROLLER || MEXCAVATOR || MZEN || MJAGUAR || MPENTIUMM || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MNATIVE || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU
+ default "4" if MELAN || M486 || MGEODEGX1
+ default "5" if MWINCHIP3D || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX
+
+@@ -329,35 +499,36 @@ config X86_ALIGNMENT_16
+
+ config X86_INTEL_USERCOPY
+ def_bool y
+- depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2
++ depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK8SSE3 || MK7 || MEFFICEON || MCORE2 || MK10 || MBARCELONA || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MNATIVE
+
+ config X86_USE_PPRO_CHECKSUM
+ def_bool y
+- depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MVIAC7 || MEFFICEON || MGEODE_LX || MCORE2 || MATOM
++ depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MK10 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MK8SSE3 || MVIAC3_2 || MVIAC7 || MEFFICEON || MGEODE_LX || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MATOM || MNATIVE
+
+ config X86_USE_3DNOW
+ def_bool y
+ depends on (MCYRIXIII || MK7 || MGEODE_LX) && !UML
+
+-#
+-# P6_NOPs are a relatively minor optimization that require a family >=
+-# 6 processor, except that it is broken on certain VIA chips.
+-# Furthermore, AMD chips prefer a totally different sequence of NOPs
+-# (which work on all CPUs). In addition, it looks like Virtual PC
+-# does not understand them.
+-#
+-# As a result, disallow these if we're not compiling for X86_64 (these
+-# NOPs do work on all x86-64 capable chips); the list of processors in
+-# the right-hand clause are the cores that benefit from this optimization.
+-#
+ config X86_P6_NOP
+- def_bool y
+- depends on X86_64
+- depends on (MCORE2 || MPENTIUM4 || MPSC)
++ default n
++ bool "Support for P6_NOPs on Intel chips"
++ depends on (MCORE2 || MPENTIUM4 || MPSC || MATOM || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MNATIVE)
++ ---help---
++ P6_NOPs are a relatively minor optimization that require a family >=
++ 6 processor, except that it is broken on certain VIA chips.
++ Furthermore, AMD chips prefer a totally different sequence of NOPs
++ (which work on all CPUs). In addition, it looks like Virtual PC
++ does not understand them.
++
++ As a result, disallow these if we're not compiling for X86_64 (these
++ NOPs do work on all x86-64 capable chips); the list of processors in
++ the right-hand clause are the cores that benefit from this optimization.
++
++ Say Y if you have Intel CPU newer than Pentium Pro, N otherwise.
+
+ config X86_TSC
+ def_bool y
+- depends on (MWINCHIP3D || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2 || MVIAC7 || MGEODEGX1 || MGEODE_LX || MCORE2 || MATOM) || X86_64
++ depends on (MWINCHIP3D || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MK8SSE3 || MVIAC3_2 || MVIAC7 || MGEODEGX1 || MGEODE_LX || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MNATIVE || MATOM) || X86_64
+
+ config X86_CMPXCHG64
+ def_bool y
+@@ -367,7 +538,7 @@ config X86_CMPXCHG64
+ # generates cmov.
+ config X86_CMOV
+ def_bool y
+- depends on (MK8 || MK7 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7 || MCRUSOE || MEFFICEON || X86_64 || MATOM || MGEODE_LX)
++ depends on (MK8 || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MBULLDOZER || MPILEDRIVER || MSTEAMROLLER || MEXCAVATOR || MZEN || MJAGUAR || MK7 || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7 || MCRUSOE || MEFFICEON || X86_64 || MNATIVE || MATOM || MGEODE_LX)
+
+ config X86_MINIMUM_CPU_FAMILY
+ int
+diff --git a/arch/x86/Makefile b/arch/x86/Makefile
+index c0c7291d4ccf..1963f302cd57 100644
+--- a/arch/x86/Makefile
++++ b/arch/x86/Makefile
+@@ -118,13 +118,42 @@ else
+ KBUILD_CFLAGS += $(call cc-option,-mskip-rax-setup)
+
+ # FIXME - should be integrated in Makefile.cpu (Makefile_32.cpu)
++ cflags-$(CONFIG_MNATIVE) += $(call cc-option,-march=native)
+ cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8)
++ cflags-$(CONFIG_MK8SSE3) += $(call cc-option,-march=k8-sse3,-mtune=k8)
++ cflags-$(CONFIG_MK10) += $(call cc-option,-march=amdfam10)
++ cflags-$(CONFIG_MBARCELONA) += $(call cc-option,-march=barcelona)
++ cflags-$(CONFIG_MBOBCAT) += $(call cc-option,-march=btver1)
++ cflags-$(CONFIG_MJAGUAR) += $(call cc-option,-march=btver2)
++ cflags-$(CONFIG_MBULLDOZER) += $(call cc-option,-march=bdver1)
++ cflags-$(CONFIG_MPILEDRIVER) += $(call cc-option,-march=bdver2)
++ cflags-$(CONFIG_MSTEAMROLLER) += $(call cc-option,-march=bdver3)
++ cflags-$(CONFIG_MEXCAVATOR) += $(call cc-option,-march=bdver4)
++ cflags-$(CONFIG_MZEN) += $(call cc-option,-march=znver1)
+ cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona)
+
+ cflags-$(CONFIG_MCORE2) += \
+- $(call cc-option,-march=core2,$(call cc-option,-mtune=generic))
+- cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom) \
+- $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic))
++ $(call cc-option,-march=core2,$(call cc-option,-mtune=core2))
++ cflags-$(CONFIG_MNEHALEM) += \
++ $(call cc-option,-march=nehalem,$(call cc-option,-mtune=nehalem))
++ cflags-$(CONFIG_MWESTMERE) += \
++ $(call cc-option,-march=westmere,$(call cc-option,-mtune=westmere))
++ cflags-$(CONFIG_MSILVERMONT) += \
++ $(call cc-option,-march=silvermont,$(call cc-option,-mtune=silvermont))
++ cflags-$(CONFIG_MSANDYBRIDGE) += \
++ $(call cc-option,-march=sandybridge,$(call cc-option,-mtune=sandybridge))
++ cflags-$(CONFIG_MIVYBRIDGE) += \
++ $(call cc-option,-march=ivybridge,$(call cc-option,-mtune=ivybridge))
++ cflags-$(CONFIG_MHASWELL) += \
++ $(call cc-option,-march=haswell,$(call cc-option,-mtune=haswell))
++ cflags-$(CONFIG_MBROADWELL) += \
++ $(call cc-option,-march=broadwell,$(call cc-option,-mtune=broadwell))
++ cflags-$(CONFIG_MSKYLAKE) += \
++ $(call cc-option,-march=skylake,$(call cc-option,-mtune=skylake))
++ cflags-$(CONFIG_MSKYLAKEX) += \
++ $(call cc-option,-march=skylake-avx512,$(call cc-option,-mtune=skylake-avx512))
++ cflags-$(CONFIG_MATOM) += $(call cc-option,-march=bonnell) \
++ $(call cc-option,-mtune=bonnell,$(call cc-option,-mtune=generic))
+ cflags-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=generic)
+ KBUILD_CFLAGS += $(cflags-y)
+
+diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu
+index 1f5faf8606b4..4a3a27cedc75 100644
+--- a/arch/x86/Makefile_32.cpu
++++ b/arch/x86/Makefile_32.cpu
+@@ -23,7 +23,18 @@ cflags-$(CONFIG_MK6) += -march=k6
+ # Please note, that patches that add -march=athlon-xp and friends are pointless.
+ # They make zero difference whatsosever to performance at this time.
+ cflags-$(CONFIG_MK7) += -march=athlon
++cflags-$(CONFIG_MNATIVE) += $(call cc-option,-march=native)
+ cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8,-march=athlon)
++cflags-$(CONFIG_MK8SSE3) += $(call cc-option,-march=k8-sse3,-march=athlon)
++cflags-$(CONFIG_MK10) += $(call cc-option,-march=amdfam10,-march=athlon)
++cflags-$(CONFIG_MBARCELONA) += $(call cc-option,-march=barcelona,-march=athlon)
++cflags-$(CONFIG_MBOBCAT) += $(call cc-option,-march=btver1,-march=athlon)
++cflags-$(CONFIG_MJAGUAR) += $(call cc-option,-march=btver2,-march=athlon)
++cflags-$(CONFIG_MBULLDOZER) += $(call cc-option,-march=bdver1,-march=athlon)
++cflags-$(CONFIG_MPILEDRIVER) += $(call cc-option,-march=bdver2,-march=athlon)
++cflags-$(CONFIG_MSTEAMROLLER) += $(call cc-option,-march=bdver3,-march=athlon)
++cflags-$(CONFIG_MEXCAVATOR) += $(call cc-option,-march=bdver4,-march=athlon)
++cflags-$(CONFIG_MZEN) += $(call cc-option,-march=znver1,-march=athlon)
+ cflags-$(CONFIG_MCRUSOE) += -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0
+ cflags-$(CONFIG_MEFFICEON) += -march=i686 $(call tune,pentium3) -falign-functions=0 -falign-jumps=0 -falign-loops=0
+ cflags-$(CONFIG_MWINCHIPC6) += $(call cc-option,-march=winchip-c6,-march=i586)
+@@ -32,8 +43,17 @@ cflags-$(CONFIG_MCYRIXIII) += $(call cc-option,-march=c3,-march=i486) -falign-fu
+ cflags-$(CONFIG_MVIAC3_2) += $(call cc-option,-march=c3-2,-march=i686)
+ cflags-$(CONFIG_MVIAC7) += -march=i686
+ cflags-$(CONFIG_MCORE2) += -march=i686 $(call tune,core2)
+-cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom,$(call cc-option,-march=core2,-march=i686)) \
+- $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic))
++cflags-$(CONFIG_MNEHALEM) += -march=i686 $(call tune,nehalem)
++cflags-$(CONFIG_MWESTMERE) += -march=i686 $(call tune,westmere)
++cflags-$(CONFIG_MSILVERMONT) += -march=i686 $(call tune,silvermont)
++cflags-$(CONFIG_MSANDYBRIDGE) += -march=i686 $(call tune,sandybridge)
++cflags-$(CONFIG_MIVYBRIDGE) += -march=i686 $(call tune,ivybridge)
++cflags-$(CONFIG_MHASWELL) += -march=i686 $(call tune,haswell)
++cflags-$(CONFIG_MBROADWELL) += -march=i686 $(call tune,broadwell)
++cflags-$(CONFIG_MSKYLAKE) += -march=i686 $(call tune,skylake)
++cflags-$(CONFIG_MSKYLAKEX) += -march=i686 $(call tune,skylake-avx512)
++cflags-$(CONFIG_MATOM) += $(call cc-option,-march=bonnell,$(call cc-option,-march=core2,-march=i686)) \
++ $(call cc-option,-mtune=bonnell,$(call cc-option,-mtune=generic))
+
+ # AMD Elan support
+ cflags-$(CONFIG_MELAN) += -march=i486
+diff --git a/arch/x86/include/asm/module.h b/arch/x86/include/asm/module.h
+index 7948a17febb4..22c53c8b844b 100644
+--- a/arch/x86/include/asm/module.h
++++ b/arch/x86/include/asm/module.h
+@@ -25,6 +25,26 @@ struct mod_arch_specific {
+ #define MODULE_PROC_FAMILY "586MMX "
+ #elif defined CONFIG_MCORE2
+ #define MODULE_PROC_FAMILY "CORE2 "
++#elif defined CONFIG_MNATIVE
++#define MODULE_PROC_FAMILY "NATIVE "
++#elif defined CONFIG_MNEHALEM
++#define MODULE_PROC_FAMILY "NEHALEM "
++#elif defined CONFIG_MWESTMERE
++#define MODULE_PROC_FAMILY "WESTMERE "
++#elif defined CONFIG_MSILVERMONT
++#define MODULE_PROC_FAMILY "SILVERMONT "
++#elif defined CONFIG_MSANDYBRIDGE
++#define MODULE_PROC_FAMILY "SANDYBRIDGE "
++#elif defined CONFIG_MIVYBRIDGE
++#define MODULE_PROC_FAMILY "IVYBRIDGE "
++#elif defined CONFIG_MHASWELL
++#define MODULE_PROC_FAMILY "HASWELL "
++#elif defined CONFIG_MBROADWELL
++#define MODULE_PROC_FAMILY "BROADWELL "
++#elif defined CONFIG_MSKYLAKE
++#define MODULE_PROC_FAMILY "SKYLAKE "
++#elif defined CONFIG_MSKYLAKEX
++#define MODULE_PROC_FAMILY "SKYLAKEX "
+ #elif defined CONFIG_MATOM
+ #define MODULE_PROC_FAMILY "ATOM "
+ #elif defined CONFIG_M686
+@@ -43,6 +63,26 @@ struct mod_arch_specific {
+ #define MODULE_PROC_FAMILY "K7 "
+ #elif defined CONFIG_MK8
+ #define MODULE_PROC_FAMILY "K8 "
++#elif defined CONFIG_MK8SSE3
++#define MODULE_PROC_FAMILY "K8SSE3 "
++#elif defined CONFIG_MK10
++#define MODULE_PROC_FAMILY "K10 "
++#elif defined CONFIG_MBARCELONA
++#define MODULE_PROC_FAMILY "BARCELONA "
++#elif defined CONFIG_MBOBCAT
++#define MODULE_PROC_FAMILY "BOBCAT "
++#elif defined CONFIG_MBULLDOZER
++#define MODULE_PROC_FAMILY "BULLDOZER "
++#elif defined CONFIG_MPILEDRIVER
++#define MODULE_PROC_FAMILY "PILEDRIVER "
++#elif defined CONFIG_MSTEAMROLLER
++#define MODULE_PROC_FAMILY "STEAMROLLER "
++#elif defined CONFIG_MJAGUAR
++#define MODULE_PROC_FAMILY "JAGUAR "
++#elif defined CONFIG_MEXCAVATOR
++#define MODULE_PROC_FAMILY "EXCAVATOR "
++#elif defined CONFIG_MZEN
++#define MODULE_PROC_FAMILY "ZEN "
+ #elif defined CONFIG_MELAN
+ #define MODULE_PROC_FAMILY "ELAN "
+ #elif defined CONFIG_MCRUSOE
diff --git a/sys-kernel/stable-sources-5.0.16 b/sys-kernel/stable-sources-5.0.16
new file mode 120000
index 00000000..e56a1d1d
--- /dev/null
+++ b/sys-kernel/stable-sources-5.0.16
@@ -0,0 +1 @@
+boest-v5.0.16 \ No newline at end of file