Merge tag 'android11-5.4.219_r00' into android11-5.4
This is the merge of the upstream LTS release of 5.4.219 into the android11-5.4 branch. It contains the following commits:cb8a045992ANDROID: GKI: db845c: Update symbols list and ABIf944347410Merge 5.4.219 into android11-5.4-ltsfd92cfed8bLinux 5.4.2190cb5be43dcwifi: mac80211: fix MBSSID parsing use-after-free9478c5f9c0wifi: mac80211: don't parse mbssid in assoc response7f441a6c90mac80211: mlme: find auth challenge directlyc248c3330dRevert "fs: check FMODE_LSEEK to control internal pipe splicing"4fa407bf37Merge 5.4.218 into android11-5.4-lts1d0da8674cLinux 5.4.2183ff54a91e4Input: xpad - fix wireless 360 controller breaking after suspend6904677595Input: xpad - add supported devices as contributed on github9389750ac6wifi: cfg80211: update hidden BSSes to avoid WARN_ON7fab3bf520wifi: mac80211_hwsim: avoid mac80211 warning on bad rate77bb20ccb9wifi: cfg80211: avoid nontransmitted BSS list corruption785eaabfe3wifi: cfg80211: fix BSS refcounting bugs359ce507f7wifi: cfg80211: ensure length byte is present before access43689bf2cdwifi: cfg80211/mac80211: reject bad MBSSID elements020402c7ddwifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()c634a9107frandom: use expired timer rather than wq for mixing fast pool39800adc38random: avoid reading two cache lines on irq randomnessbc0375ca43random: restore O_NONBLOCK support49d2fc9f99USB: serial: qcserial: add new usb-id for Dell branded EM745520a5bde605scsi: stex: Properly zero out the passthrough command structure46b822a755efi: Correct Macmini DMI match in uefi cert quirkb719d10f7eALSA: hda: Fix position reporting on Poulsboe5d25a3bfdrandom: clamp credited irq bits to maximum mixed194f59391dceph: don't truncate file in atomic_open259c0f6816nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failureb7e409d11dnilfs2: fix leak of nilfs_root in case of writer thread creation failure792211333anilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()963089ad76rpmsg: qcom: glink: replace strncpy() with strscpy_pad()2da677c0c7mmc: core: Terminate infinite loop in SD-UHS voltage switch373eca05b5mmc: core: Replace with already defined values for readability7ec8f073c2USB: serial: ftdi_sio: fix 300 bps rate for SIO21446ad9cbusb: mon: make mmapped memory read onlyd2f3a51ca2arch: um: Mark the stack non-executable to fix a binutils warningbb2d4c37b1um: Cleanup compiler warning in arch/x86/um/tls_32.c9e26e0eef6um: Cleanup syscall_handler_t cast in syscalls_32.h3c9a75b3d2net/ieee802154: fix uninit value bug in dgram_sendmsg61be8898d7scsi: qedf: Fix a UAF bug in __qedf_probe()c790d3a00dARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomeraefe2f55a9dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failuredb702ecd71dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property59684c8777firmware: arm_scmi: Add SCMI PM driver remove routine70e4f70d54fs: fix UAF/GPF bug in nilfs_mdt_destroy398312c687perf tools: Fixup get_current_dir_name() compilation393a1aa421mm: pagewalk: Fix race between unmap and page walkerc01b171cd9Merge 5.4.217 into android11-5.4-lts6e150d605cLinux 5.4.2170c41153c36docs: update mediator information in CoC docs096740d675Makefile.extrawarn: Move -Wcast-function-type-strict to W=1e911caf9a1Revert "drm/amdgpu: use dirty framebuffer helper"ae19c3c76dxfs: remove unused variable 'done'538657def7xfs: fix uninitialized variable in xfs_attr3_leaf_inactive9ff41b8d71xfs: streamline xfs_attr3_leaf_inactivec893fedaf1xfs: move incore structures out of xfs_da_format.h5e13ad940axfs: fix memory corruption during remote attr value buffer invalidation821e0951b4xfs: refactor remote attr value buffer invalidationa1b66abe30xfs: fix IOCB_NOWAIT handling in xfs_file_dio_aio_read1e4a0723ebxfs: fix s_maxbytes computation on 32-bit kernels16de74ee3axfs: truncate should remove all blocks, not just to the end of the page cache87e73331e4xfs: introduce XFS_MAX_FILEOFFbd67d06b09xfs: fix misuse of the XFS_ATTR_INCOMPLETE flag24f45c8782x86/speculation: Add RSB VM Exit protections564275d4b9x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts4891e5fd10x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current9862c0f4fdx86/speculation: Disable RRSBA behaviorb9ae02c3c2x86/bugs: Add Cannon lake to RETBleed affected CPU listd6a8a470dcx86/cpu/amd: Enumerate BTC_NO2edfa537f3x86/common: Stamp out the stepping madness17a9fc4a7bx86/speculation: Fill RSB on vmexit for IBRS2242cf2150KVM: VMX: Fix IBRS handling after vmexit51c71ed134KVM: VMX: Prevent guest RSB poisoning attacks with eIBRSa31bdec99aKVM: VMX: Convert launched argument to flags5895a9297eKVM: VMX: Flatten __vmx_vcpu_run()64723cd346KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw57ba312f10KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S87dfe68a35x86/speculation: Remove x86_spec_ctrl_mask4109a8ce10x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit0fd086edf8x86/speculation: Fix SPEC_CTRL write on SMT state change18d5a93fd2x86/speculation: Fix firmware entry SPEC_CTRL handling03a575a0f9x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n8afd1c7da2x86/speculation: Change FILL_RETURN_BUFFER to work with objtool3ee9e9a5afintel_idle: Disable IBRS during long idle97bc52c14ax86/bugs: Report Intel retbleed vulnerabilityfd67fe3db9x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()2d4ce2d72cx86/speculation: Add spectre_v2=ibrs option to support Kernel IBRSe2d793a374x86/bugs: Optimize SPEC_CTRL MSR writesa3111faed5x86/entry: Add kernel IBRS implementationfd32a31553x86/entry: Remove skip_r11rcx3c93ff4e23x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value9a596426d7x86/bugs: Add AMD retbleed= boot parameter063b7f9806x86/bugs: Report AMD retbleed vulnerability954d591a84x86/cpufeatures: Move RETPOLINE flags to word 11893cd858b0x86/kvm/vmx: Make noinstr cleanf62d272c2fx86/cpu: Add a steppings field to struct x86_cpu_id69460b1ed6x86/cpu: Add consistent CPU match macros87449d94e7x86/devicetable: Move x86 specific macro out of generic codefbd29b7549Revert "x86/cpu: Add a steppings field to struct x86_cpu_id"3a8ff61e6fRevert "x86/speculation: Add RSB VM Exit protections"3e7819945eMerge 5.4.216 into android11-5.4-ltsf28b7414abLinux 5.4.216b8b87cb136clk: iproc: Do not rely on node name for correct PLL setupd417d5eb29clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks762706bd12selftests: Fix the if conditions of in test_extra_filter()ae0d3a4316nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices18ef5cd4c5nvme: add new line after variable declatation3ea4a53424usbnet: Fix memory leak in usbnet_disconnect()6ca922ec75Input: melfas_mip4 - fix return value check in mip4_probe()38c4d8230fRevert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"7291d19a9esoc: sunxi: sram: Fix debugfs info for A64 SRAM Ccdbcdfc961soc: sunxi: sram: Fix probe function ordering issues73dbc6e136soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()26170e4fd1soc: sunxi: sram: Prevent the driver from being unbound883778a1f4soc: sunxi: sram: Actually claim SRAM regions1ba5248608ARM: dts: am33xx: Fix MMCHS0 dma propertiesd0c69c722fARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driverd185652800media: dvb_vb2: fix possible out of bound access0f4634f70bmm: fix madivse_pageout mishandling on non-LRU pageffd11370b7mm/migrate_device.c: flush TLB while holding PTLb9e31f4885mm: prevent page_frag_alloc() from corrupting the memoryd535fb8384mm/page_alloc: fix race condition between build_all_zonelists and page allocation2ec4949738mmc: moxart: fix 4-bit bus width and remove 8-bit bus widthbb7c23e4e5libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-2055cebfac6a8Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()"9a3740f448ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()46e784cf4aARM: dts: integrator: Tag PCI host with device_type85b5edb1b4clk: ingenic-tcu: Properly enable registers before accessing timersf8a2e22289net: usb: qmi_wwan: Add new usb-id for Dell branded EM745543699b8fbcuas: ignore UAS for Thinkplus chipsfc540f6e4busb-storage: Add Hiksemi USB3-FW to IGNORE_UAS383c663c73uas: add no-uas quirk for Hiksemi usb_disk79e1dca55aMerge 5.4.215 into android11-5.4-lts6215647d96Linux 5.4.215579976dc0dext4: make directory inode spreading reflect flexbg size26e7c965f4xfs: fix use-after-free when aborting corrupt attr inactivation8b3c9eb1b3xfs: fix an ABBA deadlock in xfs_rename37ec5a20c8xfs: don't commit sunit/swidth updates to disk if that would cause repair failures4668f08cdaxfs: split the sunit parameter update into two partsfd6c5da3faxfs: refactor agfl length computation function6363fdf7acxfs: use bitops interface for buf log item AIL flag checka95582d9d5xfs: stabilize insert range start boundary to avoid COW writeback race7a20c664a7xfs: fix some memory leaks in log recoveryad9759d488xfs: always log corruption errors0336599b64xfs: constify the buffer pointer arguments to error functions8856a6572fxfs: convert EIO to EFSCORRUPTED when log contents are invalid9185003c93xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()796ff09598xfs: attach dquots and reserve quota blocks during unwritten conversiona33bcad48bxfs: range check ri_cnt when recovering log itemsa102869fb1xfs: add missing assert in xfs_fsmap_owner_from_rmap979eb12304xfs: slightly tweak an assert in xfs_fs_map_blocksc494dbca99xfs: replace -EIO with -EFSCORRUPTED for corrupt metadatabb7eb3ca4bext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 004aa8187ebworkqueue: don't skip lockdep work dependency in cancel_work_sync()a874609522drm/rockchip: Fix return type of cdn_dp_connector_mode_valid75ed7dee26drm/amd/display: Limit user regamma to a valid valuec89849ecfddrm/amdgpu: use dirty framebuffer helper0b467eab0aDrivers: hv: Never allocate anything besides framebuffer from framebuffer memory region8c8d0f7ac8cifs: always initialize struct msghdr smb_msg completely1438e412aeusb: xhci-mtk: fix issue of out-of-bounds array access2e47335140s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup9eb710d184serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting6cc0434f9dserial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting556e827b0fserial: Create uart_xmit_advance()903f7d322cnet: sched: fix possible refcount leak in tc_new_tfilter()0e8de8f54bnet: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD67199c26a0perf kcore_copy: Do not check /proc/modules is unchanged80b2f37b33perf jit: Include program header in ELF files95c5637d3dcan: gs_usb: gs_can_open(): fix race dev->can.state condition11ebf32fdenetfilter: ebtables: fix memory leak when blob is malformed6a3239f806net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscsd12a1eb070net/sched: taprio: avoid disabling offload when it was never enabled420c9b1073of: mdio: Add of_node_put() when breaking out of for_each_xxd2ac2baf1fi40e: Fix set max_tx_rate when it is lower than 1 Mbps450d106804i40e: Fix VF set max MTU size3daf097819iavf: Fix set max MTU size with port VLAN and jumbo framesbfaff9adaaiavf: Fix bad page state9bf52411eeMIPS: Loongson32: Fix PHY-mode being left unspecified405bd0ebb0MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko37f79374bbnet: team: Unsync device addresses on ndo_stop346e94aa4aipvlan: Fix out-of-bound bugs caused by unset skb->mac_headerb84fdb6be1iavf: Fix cached head and tail value for iavf_get_tx_pending721ea8ac06netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()d0a24bc8e2netfilter: nf_conntrack_irc: Tighten matching on DCC message0376a77fa7netfilter: nf_conntrack_sip: fix ct_sip_walk_headersc9355b7e5aarm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma312eb4574darm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHza52ef6ae28arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob016b150992mm/slub: fix to return errno if kmalloc() failscafb9cad9befi: libstub: check Shim mode using MokSBStateRT9599d46019ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptopbefadcf8f7ALSA: hda/realtek: Add quirk for ASUS GA503R laptopb90ac48c05ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack5f622518a7ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack8f8a740e91ALSA: hda/realtek: Re-arrange quirk table entriesdafeac1226ALSA: hda/realtek: Add quirk for Huawei WRT-WX995b9a7f0bfALSA: hda: add Intel 5 Series / 3400 PCI DID7fff38ab90ALSA: hda/tegra: set depop delay for tegra78d3ae9bfaUSB: serial: option: add Quectel RM520N55f0f59e82USB: serial: option: add Quectel BG95 0x0203 composition95b97afddeUSB: core: Fix RST error in hub.cf5e322ffe7Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"430c9bd664Revert "usb: add quirks for Lenovo OneLink+ Dock"05ec31717fusb: cdns3: fix issue with rearming ISO OUT endpoint10c5d34f6fusb: gadget: udc-xilinx: replace memcpy with memcpy_toioddf7bc2218usb: add quirks for Lenovo OneLink+ Dockda8ac08694tty: serial: atmel: Preserve previous USART mode if RS485 disablede56a402819serial: atmel: remove redundant assignment in rs485_config85a64208b3tty/serial: atmel: RS485 & ISO7816: wait for TXRDY before sending data9ad48cbf8bwifi: mac80211: Fix UAF in ieee80211_scan_rx()9a3695bde9usb: xhci-mtk: relax TT periodic bandwidth allocation174645cc63usb: xhci-mtk: allow multiple Start-Split in a microframe6cfde07c5dusb: xhci-mtk: add some schedule error number664b0b8f4eusb: xhci-mtk: add a function to (un)load bandwidth infod1eed0d3fbusb: xhci-mtk: use @sch_tt to check whether need do TT schedule1833e8e049usb: xhci-mtk: add only one extra CS for FS/LS INTR3826d4f0efusb: xhci-mtk: get the microframe boundary for ESIT4ccf7afa47usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stopa5bdea59f4usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()67bf926f16usb: dwc3: gadget: Refactor pullup()24e4f6308dusb: dwc3: gadget: Prevent repeat pullup()62b6cbc598usb: dwc3: Issue core soft reset before enabling run/stope24f90d761usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind85371aad28ALSA: hda/sigmatel: Fix unused variable warning for beep power change07191f9848cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()1878eaf0edvideo: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write47c5ef29e5mksysmap: Fix the mismatch of 'L0' symbols in System.mapf0ebdfc10bMIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()c53c3cbca5afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked1aea20f98enet: usb: qmi_wwan: add Quectel RM520N447f95d413ALSA: hda/tegra: Align BDL entry to 4KB boundary9f55da12d0ALSA: hda/sigmatel: Keep power up while beep is enabled39265647c4rxrpc: Fix calc of resend agecc273ed79erxrpc: Fix local destruction being repeatedda01ec04a0regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()17a21341d9ASoC: nau8824: Fix semaphore unbalance at error paths323f289a90iomap: iomap that extends beyond EOF should be marked dirtyd88039e6feMAINTAINERS: add Chandan as xfs maintainer for 5.4.y36128fd71fcifs: don't send down the destination address to sendmsg for a SOCK_STREAM81081a5c9ccifs: revalidate mapping when doing direct writes834f4d856ftracing: hold caller_addr to hardirq_{enable,disable}_ip2c4e260d45task_stack, x86/cea: Force-inline stack helpers4051324a6dALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC47d7e6af5bparisc: ccio-dma: Add missing iounmap in error path in ccio_probe()2aae9b7d07drm/meson: Fix OSD1 RGB to YCbCr coefficient5dd9cb66b7drm/meson: Correct OSD1 global alpha valuef1de50e1dbgpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx82e276e5fcNFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0e0e88c25f8of: fdt: fix off-by-one error in unflatten_dt_nodes()366e92d405Merge branch 'android11-5.4' into branch 'android11-5.4-lts'79028819d5Merge 5.4.214 into android11-5.4-lts04f2440283Revert "USB: core: Prevent nested device-reset calls"b4a6b74ba6Merge 5.4.213 into android11-5.4-ltsd60223937bRevert "io_uring: disable polling pollfree files"cfe83da8bdRevert "netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y"184c57f3a5Revert "sched/deadline: Fix priority inheritance with multiple scheduling classes"dd54474fffRevert "kernel/sched: Remove dl_boosted flag comment"d52832d985Revert "mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse"51223c9db5Merge 5.4.212 into android11-5.4-lts64522c903cRevert "fs: check FMODE_LSEEK to control internal pipe splicing"9f02aa34e1Linux 5.4.214c629ec4dddtracefs: Only clobber mode/uid/gid on remount if askedfe26b6ca04soc: fsl: select FSL_GUTS driver for DPIO1bd66f1053net: dp83822: disable rx error interruptc128bff9ffmm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()bf3cd8f2c6usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS72b31dc264platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes0573dc9f15perf/arm_pmu_platform: fix tests for platform_get_irq() failurebaba0cfc3dnvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()161e755552Input: iforce - add support for Boeder Force Feedback Wheela725bc34d8ieee802154: cc2520: add rc code in cc2520_tx()2670d1d3f5tg3: Disable tg3 device on system reboot to avoid triggering AERc118ae56a5hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message3e89e8d1c6HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo7e214f5b2fdrm/msm/rd: Fix FIFO-full deadlock7e17397001Linux 5.4.213077041e486MIPS: loongson32: ls1c: Fix hang during startup4e8d7039cfx86/nospec: Fix i386 RSB stuffing64f9755b40sch_sfb: Also store skb len before calling child enqueue9d3237b590tcp: fix early ETIMEDOUT after spurious non-SACK RTO19816a0214nvme-tcp: fix UAF when detecting digest errorsa4f0d34580RDMA/mlx5: Set local port to one when accessing counters3df71e11a4ipv6: sr: fix out-of-bounds read when setting HMAC data.e7f78835d5RDMA/siw: Pass a pointer to virt_to_page()5332a09451i40e: Fix kernel crash during module removald488e2baf2tipc: fix shift wrapping bug in map_get()279c7668e3sch_sfb: Don't assume the skb is still around after enqueueing to childa2f0ff5beeafs: Use the operation issue time instead of the reply time for callbacks8077a50c8crxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()36f7b71f8anetfilter: nf_conntrack_irc: Fix forged IP logic323b6847e5netfilter: br_netfilter: Drop dst references before setting.367a655f07RDMA/hns: Fix supported page size57b2897ec3soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs87fe1703baRDMA/cma: Fix arguments order in net device validationd80ad99911regulator: core: Clean up on enable failurec108e20351ARM: dts: imx6qdl-kontron-samx6i: remove duplicated nodee192a08f65smb3: missing inode locks in punch hole59c6902a96cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock13d67aadb1cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree059516952ccgroup: Optimize single thread migrationd0e7be0dc9scsi: lpfc: Add missing destroy_workqueue() in error path5682c94644scsi: mpt3sas: Fix use-after-free warning8d66989b5fnvmet: fix a use-after-free9fc8c5fa42debugfs: add debugfs_lookup_and_remove()0d895d2bb1kprobes: Prohibit probes in gate area0492798bf8ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()e275cf3318ALSA: aloop: Fix random zeros in capture data when using jiffies timer45321a7d02ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()adbbc1a8c5drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctlye1955cdd31fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()fcab25a6b0arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_levela3714415c4parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machinesdcf54e6caeparisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()c72d97146fdrm/radeon: add a force flush to delay work when radeonae2c6cc8fbdrm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.bca46f2295drm/gem: Fix GEM handle release errorsbd2a3bff31scsi: megaraid_sas: Fix double kfree()944f276cbcUSB: serial: ch341: fix disabled rx timer on older devicesf0003ab97aUSB: serial: ch341: fix lost character on LCR updatesd288c6383ausb: dwc3: disable USB core PHY management9c670d0bb1usb: dwc3: fix PHY disable sequence9ab0c653efbtrfs: harden identification of a stale device4e5ba186d9drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk3af1316df7ALSA: seq: Fix data-race at module auto-loading4fa63d526cALSA: seq: oss: Fix data-race for max_midi_devs access82a86f82bcnet: mac802154: Fix a condition in the receive pathd228b897b8ip: fix triggering of 'icmp redirect'66689c5c02wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected1142f04f92driver core: Don't probe devices after bus_type.match() probe deferralbb87fe79bcusb: gadget: mass_storage: Fix cdrom data transfers on MAC-OSdf18750848USB: core: Prevent nested device-reset calls87b47c7f9fs390: fix nospec table alignmentsb604e79fbas390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages33f8f83024usb-storage: Add ignore-residue quirk for NXP PN7462AUe2e153bb6dUSB: cdc-acm: Add Icom PMR F3400 support (0c26:0020)8ef85884f4usb: dwc2: fix wrong order of phy_power_on and phy_init08f27a2428usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles1abdc68b49USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode3cd8e3448eUSB: serial: option: add Quectel EM060K modemb988c14d7cUSB: serial: option: add support for OPPO R11 diag port234fd17306USB: serial: cp210x: add Decagon UCA device id0143b57361xhci: Add grace period after xHC start to prevent premature runtime suspend.c7e5a90eeethunderbolt: Use the actual buffer in tb_async_error()cb2684e906gpio: pca953x: Add mutex_lock for regcache sync in PM7756eb1ed1hwmon: (gpio-fan) Fix array out of bounds access979fe68b2eclk: bcm: rpi: Fix error handling of raspberrypi_fw_get_rate389a45dc06Input: rk805-pwrkey - fix module autoloading1929a5275eclk: core: Fix runtime PM sequence in clk_core_unprepare()577b32abfdRevert "clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops"582e87c6bbclk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops5d4acadcdfdrm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"bc37b05702usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup30d0901b30binder: fix UAF of ref->proc caused by race conditionb30dd08fd5USB: serial: ftdi_sio: add Omron CS1W-CIF31 device idf8632b8bb5misc: fastrpc: fix memory corruption on openec186b9f4amisc: fastrpc: fix memory corruption on probe0d90ef8749iio: adc: mcp3911: use correct formula for AD conversiond186c65599Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flaga6b7e8d975tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete1cf1930369vt: Clear selection before changing the font214877169epowerpc: align syscall table for ppc32d0aac7146estaging: rtl8712: fix use after free bugsa65a2a33c6serial: fsl_lpuart: RS485 RTS polariy is inverseae5e8d0baanet/smc: Remove redundant refcount increase47e6794316Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb"91ecfbcd8dtcp: annotate data-race around challenge_timestampf8a94fdf02sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb0946ff31d1kcm: fix strp_init() order and cleanup02986e1bb6ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handlerfffa19b5e5net: sched: tbf: don't call qdisc_put() while holding tree locke1ba258dacRevert "xhci: turn off port power in shutdown"2dca3c6126wifi: cfg80211: debugfs: fix return type in ht40allow_map_read()bed12d7531ieee802154/adf7242: defer destroy_workqueue callddc6e82321iio: adc: mcp3911: make use of the sign bit630a97e4daplatform/x86: pmc_atom: Fix SLP_TYPx bitfield mask765497cc74drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfgfced8363b4drm/msm/dsi: fix the inconsistent indenting83b25f9eb2net: dp83822: disable false carrier interrupt007541bc27Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"96f09cd544fs: only do a memory barrier for the first set_buffer_uptodate()d51e1682fanet: mvpp2: debugfs: fix memory leak when using debugfs_lookup()f4c4637a38wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()8028ff4cdbefi: capsule-loader: Fix use-after-free in efi_capsule_writed6deb370b5Linux 5.4.2120052348329net: neigh: don't call kfree_skb() under spin_lock_irqsave()25a80e7284net/af_packet: check len when min_header_len equals to 0fc78b2fc21io_uring: disable polling pollfree filesb474ff1b20kprobes: don't call disarm_kprobe() for disabled kprobes6fbc49b7f0lib/vdso: Mark do_hres() and do_coarse() as __always_inline2161d3c12clib/vdso: Let do_coarse() return 0 to simplify the callsite06ebb40b87btrfs: tree-checker: check for overlapping extent items63c7905840netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y5c5cd52ab0drm/amd/display: Fix pixel clock programmingc570198c3ds390/hypfs: avoid error message under KVM51be9dd391neigh: fix possible DoS due to net iface start/stop loop814b756d4edrm/amd/display: clear optc underflow before turn off odm clocka06e4eb651drm/amd/display: Avoid MPC infinite loop2608885a4fbtrfs: unify lookup return value when dir entry is missing1fe3375cf2btrfs: do not pin logs too early during renamese9b4baabf8btrfs: introduce btrfs_lookup_match_dir2fe3eee488mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse8b68e53d56bpf: Don't redirect packets with invalid pkt_len934e49f7d6ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead7d9591b32afbdev: fb_pm2fb: Avoid potential divide by zero error53c7c4d5d4HID: hidraw: fix memory leak in hidraw_release()466b67c054media: pvrusb2: fix memory leak in pvr_probe63d8c1933eudmabuf: Set the DMA mask for the udmabuf device (v2)fa2b822d86HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report6551fbe258Bluetooth: L2CAP: Fix build errors in some archsadc7640e19kbuild: Fix include path in scripts/Makefile.modpost80a7fe2b70x86/bugs: Add "unknown" reporting for MMIO Stale Data09602177d8s390/mm: do not trigger write fault when vma does not allow VM_WRITEc9c5501e81mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()b4c928ace9scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq2045b9d306perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU8e7fb19f1amd: call __md_stop_writes in md_stopf35c4fec07mm/hugetlb: fix hugetlb not supporting softdirty trackingf09c1b80dfACPI: processor: Remove freq Qos request for all CPUscacd522e66s390: fix double free of GS and RI CBs on fork() failurec3862f5592asm-generic: sections: refactor memory_intersects13b2856037loop: Check for overflow while configuring loop2668aeac01x86/unwind/orc: Unwind ftrace trampolines with correct ORC entrydd3365d3b4btrfs: check if root is readonly while setting security xattr5b44dcf8b7btrfs: add info when mount fails due to stale replace target40554fa41abtrfs: replace: drop assert for suspended replace201bb5d745btrfs: fix silent failure when deleting root reference571a13b350ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounteraa0a3f72c6net: Fix a data-race around sysctl_somaxconn.923fa41adenet: Fix a data-race around netdev_budget_usecs.adeb24afd2net: Fix a data-race around netdev_budget.575c57e9e0net: Fix a data-race around sysctl_net_busy_read.6e8f9df62dnet: Fix a data-race around sysctl_net_busy_poll.5da0632c07net: Fix a data-race around sysctl_tstamp_allow_data.4482215f93ratelimit: Fix data-races in ___ratelimit().a90afeab21net: Fix data-races around netdev_tstamp_prequeue.c1d0ef0e6fnet: Fix data-races around weight_p and dev_weight_[rt]x_bias.dbd0f1991anetfilter: nft_tunnel: restrict it to netdev familyfba05d2502netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet familiesa2ce367ae7netfilter: nft_payload: do not truncate csum_offset and csum_type8700153529netfilter: nft_payload: report ERANGE for too long offset and lengthbc7ba4cd0bbnxt_en: fix NQ resource accounting during vf creation on 57500 chips160c4eb47dnetfilter: ebtables: reject blobs that don't provide all entry points8b9155eae8net: ipvtap - add __init/__exit annotations to module init/exit funcs1498077d56bonding: 802.3ad: fix no transmission of LACPDUsac3541b11enet: moxa: get rid of asymmetry in DMA mapping/unmappingeb8236dff7net/mlx5e: Properly disable vlan strip on non-UL reps6e4b20d548rose: check NULL rose_loopback_neigh->loopback4c14faf166SUNRPC: RPC level errors should set task->tk_rpc_status8ee27a4f0faf_key: Do not call xfrm_probe_algs in parallel63da7a2bbfxfrm: fix refcount leak in __xfrm_policy_check()a9f94dc4ddkernel/sched: Remove dl_boosted flag commentd2b65976bfsched/deadline: Fix priority inheritance with multiple scheduling classesc498c8cbc2sched/deadline: Fix stale throttling on de-/boosted tasks184c8ab534sched/deadline: Unthrottle PI boosted threads while enqueuing71b7edfc76pinctrl: amd: Don't save/restore interrupt status and wake status bits8e52d0c57dRevert "selftests/bpf: Fix test_align verifier log patterns"2b13ddc9e0Revert "selftests/bpf: Fix "dubious pointer arithmetic" test"a89c4b5868usb: cdns3: Fix issue for clear halt endpoint87b41b041ckernel/sys_ni: add compat entry for fadvise64_64945dc19778parisc: Fix exception handler for fldw and fstw instructionsbb415d2687audit: fix potential double free on error path from fsnotify_add_inode_mark15a2cff2b5Revert "USB: HCD: Fix URB giveback issue in tasklet function"05426a3d4fMerge 5.4.211 into android11-5.4-lts684cc17be8Linux 5.4.211473f43725bbtrfs: raid56: don't trust any cached sector in __raid56_parity_recover()6fd4cea044btrfs: only write the sectors in the vertical stripe which has data stripes04e41b6baccan: j1939: j1939_session_destroy(): fix memory leak of skbs18e0ab31b0can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once()5c9637279ftracing/probes: Have kprobes and uprobes use $COMM too5d8244d42dMIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 02b7f559152video: fbdev: i740fb: Check the argument of i740_calc_vclk()5e14b04c84powerpc/64: Init jump labels before parse_early_param()720f6112c3smb3: check xattr value length earlier29e734ec33f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()dd9d894b41ALSA: timer: Use deferred fasync helper76f87b11a4ALSA: core: Add async signal helpersf4159834d1powerpc/32: Don't always pass -mcpu=powerpc to the compilerd78d0ee79bwatchdog: export lockup_detector_reconfigure814d83c5e1RISC-V: Add fast call path of crash_kexec()812cb21259riscv: mmap with PROT_WRITE but no PROT_READ is invalid1b49707df6mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start3e6994735cvfio: Clear the caps->buf to NULL after freeca3fc1c38etty: serial: Fix refcount leak bug in ucc_uart.c3c0efcd608lib/list_debug.c: Detect uninitialized listsa6805b3dcfext4: avoid resizing to a partial cluster size5bebfd6077ext4: avoid remove directory when directory is corruptedf5d46f1b47drivers:md:fix a potential use-after-free bug7a2fe15946nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown0bf3dcfb03dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failedd13b990d4fselftests/kprobe: Do not test for GRP/ without event failures082da6a9c3um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setupsc3ce788be3PCI/ACPI: Guard ARM64-specific mcfg_quirks695af60af7cxl: Fix a memory leak in an error handling pathca06b4cde5gadgetfs: ep_io - wait until IRQ finishes927907f1cbscsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user inputd401611a93clk: qcom: ipq8074: dont disable gcc_sleep_clk_srcf78ac62e6bvboxguest: Do not use devm for irqcfa8f707a5usb: renesas: Fix refcount leak bug0334d23c56usb: host: ohci-ppc-of: Fix refcount leak bugb743d6cef4drm/meson: Fix overflow implicit truncation warnings29b30e0413irqchip/tegra: Fix overflow implicit truncation warningse2d5318065usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_infoe65d9b7147usb: cdns3 fix use-after-free at workaround 2e7170b5a28PCI: Add ACS quirk for Broadcom BCM5750x NICsd58ef25678drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()d0c4307aealocking/atomic: Make test_and_*_bit() ordered on failure90fb514a16gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file55197ba6d6igb: Add lock to avoid data race44b406aab0fec: Fix timer capture timing in `fec_ptp_enable_pps()`f861285de8i40e: Fix to stop tx_timeout recovery if GLOBR fails781212b344ice: Ignore EEXIST when setting promisc mode545ec873f1net: dsa: microchip: ksz9477: fix fdb_dump last invalid entryb360ce159cnet: moxa: pass pdev instead of ndev to DMA functionscb1753bc68net: dsa: mv88e6060: prevent crash on an unused portccb0a42d3fpowerpc/pci: Fix get_phb_number() lockingb5dd26e073netfilter: nf_tables: really skip inactive sets when allocating namef415fda659clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocksff289f2be5iavf: Fix adminq error handling2b4daaed4fnios2: add force_successful_syscall_return()d6d9dd2cc3nios2: restarts apply only to the first sigframe we build...01e783b45enios2: fix syscall restart checks9e9151768bnios2: traced syscall does need to check the syscall number73c0883732nios2: don't leave NULLs in sys_call_table[]86a89da5cdnios2: page fault et.al. are *not* restartable syscalls...965333345ftee: add overflow check in register_shm_helper()cfa215a76adpaa2-eth: trace the allocated address instead of page struct9a6cbaa50fatm: idt77252: fix use-after-free bugs caused by tst_timer2f14656fe1xen/xenbus: fix return type in xenbus_file_read()c61d3b92f5nfp: ethtool: fix the display error of `ethtool -m DEVNAME`a1d13886fdNTB: ntb_tool: uninitialized heap data in tool_fn_write()215cbd3c0dtools build: Switch to new openssl API for test-libcryptoa91204264etools/vm/slabinfo: use alphabetic order when two values are equal12f777a957dt-bindings: arm: qcom: fix MSM8916 MTP compatibles0ecc55fecevsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout()f82f1e2042vsock: Fix memory leak in vsock_connect()f4f2acf012plip: avoid rcu debug splat85b5747321geneve: do not use RT_TOS for IPv6 flowlabel760a01c36bACPI: property: Return type of acpi_add_nondev_subnodes() should be bool49c1ae5fc8pinctrl: sunxi: Add I/O bias setting for H6 R-PIOb0de3436capinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxedc26012a1e6pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_mapac6d4482f2net: bgmac: Fix a BUG triggered by wrong bytes_compl1ad4ba9341devlink: Fix use-after-free after a failed reloadc1bdc6de51SUNRPC: Reinitialise the backchannel request buffers before reuseb0e2839873sunrpc: fix expiry of auth creds0a901c2f7fcan: mcp251x: Fix race condition on receive interruptf7ee3b772dNFSv4/pnfs: Fix a use-after-free bug in open14b5a92e33NFSv4.1: RECLAIM_COMPLETE must handle EACCES89dd9bec66NFSv4: Fix races in the legacy idmapper upcalle7eba28ba7NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly68a84001f7NFSv4.1: Don't decrease the value of seq_nr_highest_sent2c8477600cDocumentation: ACPI: EINJ: Fix obsolete example7db182a2ebapparmor: Fix memleak in aa_simple_write_to_buffer()ef6fb6f0d0apparmor: fix reference count leak in aa_pivotroot()7f6092dc8fapparmor: fix overlapping attachment computation98ab8dfa04apparmor: fix aa_label_asxprint return check1b4c44823aapparmor: Fix failed mount permission check error message825b0f6bb0apparmor: fix absroot causing audited secids to begin with =dd78c35a27apparmor: fix quiet_denied for file rules45be56968dcan: ems_usb: fix clang's -Wunaligned-access warningf67c43e4b1tracing: Have filter accept "common_cpu" to be consistent90b0526dd8btrfs: fix lost error handling when looking up extended ref on log replayd33e770f0ammc: pxamci: Fix an error handling path in pxamci_probe()6db5285844mmc: pxamci: Fix another error handling path in pxamci_probe()b1b2b8adb0ata: libata-eh: Add missing command name70e0c8a454rds: add missing barrier to release_refilld040e85ae9ALSA: info: Fix llseek return value when using callback992480132enet_sched: cls_route: disallow handle of 07d9d0ba99cnet/9p: Initialize the iounit field during fid creation13e17a18a4Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression4d5e45fdf0Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"f135c65085scsi: sg: Allow waiting for commands to complete on removed devicecf218ff991tcp: fix over estimation in sk_forced_mem_schedule()8cdba919acKVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()8fb5e77604KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq4c08dd3fbdKVM: Add infrastructure and macro to mark VM as bugged8659026858btrfs: reject log replay if there is unsupported RO compat flag1fcd691cc2net_sched: cls_route: remove from list when handle is 0b123049846iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)18048cba44firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails7c77d1f9batimekeeping: contribute wall clock to rng on time change5e0fcc5ad3ACPI: CPPC: Do not prevent CPPC from working in the future2c7e93e338dm writecache: set a default MAX_WRITEBACK_JOBS05cef0999bdm thin: fix use-after-free crash in dm_sm_register_threshold_callbackcb583ca612dm raid: fix address sanitizer warning in raid_status71f601c779dm raid: fix address sanitizer warning in raid_resume2f2fa48c9fintel_th: pci: Add Meteor Lake-P supportab1f9cb500intel_th: pci: Add Raptor Lake-S PCH support0d8fd1fa17intel_th: pci: Add Raptor Lake-S CPU support8887ef07ffext4: correct the misjudgment in ext4_iget_extra_inodebe9614e15eext4: correct max_inline_xattr_value_size computingb9a2dfd1a0ext4: fix extent status tree race in writeback error recovery pathb10b2122d7ext4: update s_overhead_clusters in the superblock during an on-line resize9d14687321ext4: fix use-after-free in ext4_xattr_set_entry41ff115b14ext4: make sure ext4_append() always allocates new block748d17d476ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h025604c702btrfs: reset block group chunk force if we have to waitcf8927ce66tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH61a1793b05kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification37690cb866spmi: trace: fix stack-out-of-bound access in SPMI tracing functions91d11a3376x86/olpc: fix 'logical not is only applied to the left hand side'42afeecce2scsi: qla2xxx: Fix erroneous mailbox timeout after PCI error injectiond2e82c78e3scsi: qla2xxx: Turn off multi-queue for 8G adapters83cb0fb848scsi: qla2xxx: Fix discovery issues in FC-AL topologybc98764d80scsi: zfcp: Fix missing auto port scan and thus missing target portseacb50f173video: fbdev: s3fb: Check the size of screen before memset_io()53198b8193video: fbdev: arkfb: Check the size of screen before memset_io()d71528ccdcvideo: fbdev: vt8623fb: Check the size of screen before memset_io()09777c16a0tools/thermal: Fix possible path truncationsa249e1b89cvideo: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()46513b4a80x86/numa: Use cpumask_available instead of hardcoded NULL check26d2d13d9fscripts/faddr2line: Fix vmlinux detection on arm64563ffb782dgenelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO9813d27d59powerpc/pci: Fix PHB numbering when using opal-phbid6a119c1a58kprobes: Forbid probing on trampoline and BPF code areascc53477d89perf symbol: Fail to read phdr workaroundf388643657powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_addressd99733ad47powerpc/xive: Fix refcount leak in xive_get_max_prio14329d29a0powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader3ec50b8a01powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias44a43b65d7powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32ddaa8cc5a6video: fbdev: sis: fix typos in SiS_GetModeID()49a4c1a87evideo: fbdev: amba-clcd: Fix refcount leak bugsa9286ff4c1watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()ba406e3100ASoC: audio-graph-card: Add of_node_put() in fail pathbb1cc434dffuse: Remove the control interface for virtio-fs0839846274ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()3edcd1348bs390/zcore: fix race when reading from hardware system area50be644f7diommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loopb948ff8a9emfd: max77620: Fix refcount leak in max77620_initialise_fps8d01edaf9emfd: t7l66xb: Drop platform disable callbackb45bcdf627kfifo: fix kfifo_to_user() return type8ee5d40ae2rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge9a87a53284iommu/exynos: Handle failed IOMMU device registration properly44913ccfa1tty: n_gsm: fix missing corner cases in gsmld_poll()ae9bfcbfd7tty: n_gsm: fix DM commandb625b74549tty: n_gsm: fix wrong T1 retry count handling373343d8a7vfio/ccw: Do not change FSM state in subchannel event51642e1328remoteproc: qcom: wcnss: Fix handling of IRQsfbf9795646tty: n_gsm: fix race condition in gsmld_write()597bec4a4ctty: n_gsm: fix packet re-transmission without open control channelba10f6c2f0tty: n_gsm: fix non flow control frames during mux flow off8b355d6b1fprofiling: fix shift too large makes kernel panic8791703eddASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLVba4d971fe1ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV34734e4c52serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()79f566907dASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe4f97b5bb81ASoC: codecs: da7210: add check for i2c_add_driverb488ceb233ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probed6d41f0464ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probed3f15a4be2opp: Fix error check in dev_pm_opp_attach_genpd()fa5b65d393jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal abortedfc1ec67ba5ext4: recover csum seed of tmp_inode after migrating to extents36a88efe87jbd2: fix outstanding credits assert in jbd2_journal_commit_transaction()242303bf7fnull_blk: fix ida error handling in null_add_dev()b348e204a5RDMA/rxe: Fix error unwind in rxe_create_qp()38403d143dmm/mmap.c: fix missing call to vm_unacct_memory in mmap_regiond3beb91c99platform/olpc: Fix uninitialized data in debugfs write358db0ebecUSB: serial: fix tty-port initialized comments06f56d9e74PCI: tegra194: Fix link up retry sequencef916f6e039PCI: tegra194: Fix Root Port interrupt handlinged44d9ce8cHID: alps: Declare U1_UNICORN_LEGACY support46f5458211mmc: cavium-thunderx: Add of_node_put() when breaking out of loopd0cc1ba2bemmc: cavium-octeon: Add of_node_put() when breaking out of loopb100b0b002gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()2f90813f1cRDMA/hfi1: fix potential memory leak in setup_base_ctxt()11edf0bba1RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY eventfb9193af53RDMA/hns: Fix incorrect clearing of interrupt status register414849317busb: gadget: udc: amd5536 depends on HAS_DMAbc6f609401scsi: smartpqi: Fix DMA direction for RAID requestsb1b8034953mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R9d8b911fe3memstick/ms_block: Fix a memory leak830c38ec9amemstick/ms_block: Fix some incorrect memory allocation4c472a2c9emmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch6bb0f10966staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callbackb5d924cb4cintel_th: msu: Fix vmalloced buffersd81195c474intel_th: msu-sink: Potential dereference of null pointer859342220aintel_th: Fix a resource leak in an error handling path3771ee6c46soundwire: bus_type: fix remove and shutdown support2fcb7182declk: qcom: camcc-sdm845: Fix topology around titan_top power domain7dc9eb967aclk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks5780dde510clk: qcom: ipq8074: fix NSS port frequency tables15f4d52835usb: host: xhci: use snprintf() in xhci_decode_trb()7cfb3120ecclk: qcom: clk-krait: unlock spin after mux completion8191b6cd9adriver core: fix potential deadlock in __driver_attachbe8f7c44d5misc: rtsx: Fix an error handling path in rtsx_pci_probe()507cabdb36clk: mediatek: reset: Fix written reset bit offset9ecabd76bfusb: xhci: tegra: Fix error check65d36ec409usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe8cbc3870ffusb: host: Fix refcount leak in ehci_hcd_ppc_of_probe8e88b42575fpga: altera-pr-ip: fix unsigned comparison with less than zero44ffee3979mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error pathf3cc27198cmtd: partitions: Fix refcount leak in parse_redboot_ofa1cdbd344fmtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release519ff31a6dHID: cp2112: prevent a buffer overflow in cp2112_xfer()1367f4a3e6mtd: rawnand: meson: Fix a potential double free issue80b1465b2amtd: maps: Fix refcount leak in ap_flash_init9124d51e01mtd: maps: Fix refcount leak in of_flash_probe_versatilee0012773afclk: renesas: r9a06g032: Fix UART clkgrp bitsel51fb8c2c10dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lockd3b2922637net: rose: fix netdev reference changes34b88491b4netdevsim: Avoid allocation warnings triggered from user space9d9e0d5560iavf: Fix max_rate limiting50a7949fd9crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of439297ec5cnet/mlx5e: Fix the value of MLX5E_MAX_RQ_NUM_MTTS878e7f3980wifi: libertas: Fix possible refcount leak in if_usb_probe()5cca5f714fwifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue52b11a48cfwifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`becbc82919i2c: mux-gpmux: Add of_node_put() when breaking out of loop6d9f3128c0i2c: cadence: Support PEC for SMBus block read80df14022cBluetooth: hci_intel: Add check for platform_driver_register26168f0656can: pch_can: pch_can_error(): initialize errc before using ita025f6ca15can: error: specify the values of data[5..7] of CAN error frames61bcc556ffcan: usb_8dev: do not report txerr and rxerr during bus-offd8833eaa5fcan: kvaser_usb_leaf: do not report txerr and rxerr during bus-offa37e2bad76can: kvaser_usb_hydra: do not report txerr and rxerr during bus-off80b135a023can: sun4i_can: do not report txerr and rxerr during bus-offd20bf7e761can: hi311x: do not report txerr and rxerr during bus-offe94369cdc0can: sja1000: do not report txerr and rxerr during bus-off5b9d4919a7can: rcar_can: do not report txerr and rxerr during bus-off4cb29f25b2can: pch_can: do not report txerr and rxerr during bus-offecbdb2985eselftests/bpf: fix a test for snprintf() overflowe134d998a9wifi: p54: add missing parentheses in p54_flush()6942c45a22wifi: p54: Fix an error handling path in p54spi_probe()60c9983425wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()72d9ce5b08fs: check FMODE_LSEEK to control internal pipe splicing8cf6e837dcselftests: timers: clocksource-switch: fix passing errors from child2f243fe8dbselftests: timers: valid-adjtimex: build fix for newer toolchains8ebe6121e7libbpf: Fix the name of a reused mapfd35e34ecetcp: make retransmitted SKB fit into the send window6296d09d2bdrm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.1ae9edf7e8mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()e86a88d39cmedia: platform: mtk-mdp: Fix mdp_ipi_comm structure alignmentcf411bcc65crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq2e34d6c818drm/msm/mdp5: Fix global state lock backoff5d4128a163drm: bridge: sii8620: fix possible off-by-one3a7ebe131cdrm/mediatek: dpi: Only enable dpi after the bridge is enabled42c8e38e86drm/mediatek: dpi: Remove output format of YUV0f214563abdrm/rockchip: Fix an error handling path rockchip_dp_probe()3345fd3533drm/rockchip: vop: Don't crash for invalid duplicate_state()9f64fb4551crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CEb53cbaf9b3drm/vc4: dsi: Correct DSI divider calculations120161c127drm/vc4: plane: Fix margin calculations for the right/bottom edges84f638fbf8drm/vc4: plane: Remove subpixel positioning check59340f399cmedia: hdpvr: fix error value returns in hdpvr_read87c35bbefddrm/mcde: Fix refcount leak in mcde_dsi_bind289079d6c5drm: bridge: adv7511: Add check for mipi_dsi_driver_register73304c7594wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()e9e21206b8ath9k: fix use-after-free in ath9k_hif_usb_rx_cbfef3261630media: tw686x: Register the irq at the end of probe871a1e9492i2c: Fix a potential use after free127ecd6b1fdrm: adv7511: override i2c address of cec before accessing it8cdf42c7badrm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff functiondb1a9add3fdrm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()6a5ade10a3drm/mipi-dbi: align max_chunk to 2 in spi_transferf52b31ecafwifi: rtlwifi: fix error codes in rtl_debugfs_set_write_h2c()c59876f8c9ath10k: do not enforce interrupt trigger type08cc3995fbdm: return early from dm_pr_call() if DM device is suspendedbc4e8b95c4thermal/tools/tmon: Include pthread and time headers in tmon.h91732a2794nohz/full, sched/rt: Fix missed tick-reenabling bug in dequeue_task_rt()35f9e861d9regulator: of: Fix refcount leak bug in of_get_regulation_constraints()52e1f85bf7blk-mq: don't create hctx debugfs dir until q->debugfs_dir is createdbee4d2ab4derofs: avoid consecutive detection for Highmem memory62060951ccarm64: dts: mt7622: fix BPI-R64 WPS button8501674394bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe()3d69823858ARM: dts: qcom: pm8841: add required thermal-sensor-cellsbc73c72a85soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_registera530fa52d4cpufreq: zynq: Fix refcount leak in zynq_get_revisionc4f92af7fcARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init935035cf97ARM: OMAP2+: Fix refcount leak in omapdss_init_ofb95e19f1ecARM: dts: qcom: mdm9615: add missing PMIC GPIO reg1f0448cb8asoc: fsl: guts: machine variable might be unset1e9cc69eaeARM: dts: ast2600-evb: fix board compatible4a4bb53e63ARM: dts: ast2500-evb: fix board compatible0b7f674c12x86/pmem: Fix platform-device leak in error path5afe042c88ARM: bcm: Fix refcount leak in bcm_kona_smc_init6b28bf3e04meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_initef5102a0a7ARM: findbit: fix overflowing offsetc7835f93dbspi: spi-rspi: Fix PIO fallback on RZ platforms90bdf50ae7selinux: Add boundary check in put_entry()3c48d3067ePM: hibernate: defer device probing when resuming from hibernation930e7b260eARM: shmobile: rcar-gen2: Increase refcount for new referencea770da1866arm64: dts: allwinner: a64: orangepi-win: Fix LED node name5f1510dd2farm64: dts: qcom: ipq8074: fix NAND node name308bb82c61ACPI: LPSS: Fix missing check in register_device_clock()b61119d085ACPI: PM: save NVS memory for Lenovo G40-4581abef841fACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks3e505298a7ARM: OMAP2+: display: Fix refcount leak bug749ee1c4c3spi: synquacer: Add missing clk_disable_unprepare()f7e6740e1eARM: dts: imx6ul: fix qspi node compatible5db7e1796dARM: dts: imx6ul: fix lcdif node compatible82cff0cf71ARM: dts: imx6ul: fix csi node compatible667023a284ARM: dts: imx6ul: change operating-points to uint32-matrixa6e6203616ARM: dts: imx6ul: add missing properties for srambd80dd86f9wait: Fix __wait_event_hrtimeout for RT/DL tasks3fb368c0aegenirq: Don't return error on missing optional irq_request_resources()b3f4236838ext2: Add more validity checks for inode counts04549063d5arm64: fix oops in concurrently setting insn_emulation sysctlsfa09c39265arm64: Do not forget syscall when starting a new thread.c5940c0821x86: Handle idle=nomwait cmdline properly for x86_idlecf2db24ec4epoll: autoremove wakers even more aggressivelya452bc3debnetfilter: nf_tables: fix null deref due to zeroed list head4dad1c8207netfilter: nf_tables: do not allow RULE_ID to refer to another chainfab2f61cc3netfilter: nf_tables: do not allow SET_ID to refer to another tablecc525d667barm64: dts: uniphier: Fix USB interrupts for PXs3 SoC57e2c84445ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC5d952c7ae3USB: HCD: Fix URB giveback issue in tasklet functione9205d8dd1coresight: Clear the connection field properly274e44e212MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACKdbd0059018powerpc/powernv: Avoid crashing if rng is NULL5b8f55bc05powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E28a6d14ba6powerpc/fsl-pci: Fix Class Code of PCIe Root Port9293b7ee52PCI: Add defines for normal and subtractive PCI bridges8c3ae6b1d7ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()ce839b9331md-raid10: fix KASAN warningecd489683aserial: mvebu-uart: uart2 error bits clearingd11e3f4fdcfuse: limit nseced43fb20d3iio: light: isl29028: Fix the warning in isl29028_remove()a5b8aad548drm/amdgpu: Check BO's requested pinning domains against its preferred_domains8afbf206aadrm/nouveau: fix another off-by-one in nvbios_addr5557e9469bdrm/gem: Properly annotate WW context on drm_gem_lock_reservations() errorb8f3830cd9parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat moded7ba24d3a8parisc: Fix device names in /proc/iomema7573260adovl: drop WARN_ON() dentry is NULL in ovl_encode_fh()8b4588b8b0usbnet: Fix linkwatch use-after-free on disconnect2afb553d68fbcon: Fix boundary checks for fbcon=vc:n1-n2 parameters6f9cd356ebthermal: sysfs: Fix cooling_device_stats_setup() error code patha698d2fa85fs: Add missing umask strip in vfs_tmpfilee2a231454evfs: Check the truncate maximum size in inode_newsize_ok()cc9e874dactty: vt: initialize unicode screen buffer9e274a4f60ALSA: hda/realtek: Add quirk for another Asus K42JZ model495f153c15ALSA: hda/cirrus - support for iMac 12,1 modelf4f2d3742bALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model79e522101cmm/mremap: hold the rmap lock in write mode when moving page table entries.731436e1eeKVM: x86: Set error code to segment selector on LLDT/LTR non-canonical #GP914a274320KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks7835986587KVM: nVMX: Let userspace set nVMX MSR to any _host_ supported value68e1313bb8KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0e40bde8a28KVM: nVMX: Snapshot pre-VM-Enter DEBUGCTL for !nested_run_pending casec841dfce0bKVM: nVMX: Snapshot pre-VM-Enter BNDCFGS for !nested_run_pending case717c93c7f6HID: wacom: Don't register pad_input for touch switch0ca140b284HID: wacom: Only report rotation for art pend14b6fe911add barriers to buffer_uptodate and set_buffer_uptodate6f3342a5e8wifi: mac80211_hwsim: use 32-bit skb cookie4f4bf4e52bwifi: mac80211_hwsim: add back erroneously removed cast84014008bcwifi: mac80211_hwsim: fix race condition in pending packetae52cf801aigc: Remove _I_PHY_ID checking05e0bb8c3cALSA: bcd2000: Fix a UAF bug on the error path of probing58e337d27fscsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"013acaa597x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments635e8e6f68Makefile: link with -z noexecstack --no-warn-rwx-segments Change-Id: I160e4fdc055e7b7708c84eb279f26cce9da6915d Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -230,6 +230,20 @@ The possible values in this file are:
|
||||
* - 'Mitigation: Clear CPU buffers'
|
||||
- The processor is vulnerable and the CPU buffer clearing mitigation is
|
||||
enabled.
|
||||
* - 'Unknown: No mitigations'
|
||||
- The processor vulnerability status is unknown because it is
|
||||
out of Servicing period. Mitigation is not attempted.
|
||||
|
||||
Definitions:
|
||||
------------
|
||||
|
||||
Servicing period: The process of providing functional and security updates to
|
||||
Intel processors or platforms, utilizing the Intel Platform Update (IPU)
|
||||
process or other similar mechanisms.
|
||||
|
||||
End of Servicing Updates (ESU): ESU is the date at which Intel will no
|
||||
longer provide Servicing, such as through IPU or other similar update
|
||||
processes. ESU dates will typically be aligned to end of quarter.
|
||||
|
||||
If the processor is vulnerable then the following information is appended to
|
||||
the above information:
|
||||
|
||||
@@ -4304,6 +4304,18 @@
|
||||
|
||||
retain_initrd [RAM] Keep initrd memory after extraction
|
||||
|
||||
retbleed= [X86] Control mitigation of RETBleed (Arbitrary
|
||||
Speculative Code Execution with Return Instructions)
|
||||
vulnerability.
|
||||
|
||||
off - unconditionally disable
|
||||
auto - automatically select a migitation
|
||||
|
||||
Selecting 'auto' will choose a mitigation method at run
|
||||
time according to the CPU.
|
||||
|
||||
Not specifying this option is equivalent to retbleed=auto.
|
||||
|
||||
rfkill.default_state=
|
||||
0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
|
||||
etc. communication is blocked by default.
|
||||
@@ -4547,6 +4559,7 @@
|
||||
eibrs - enhanced IBRS
|
||||
eibrs,retpoline - enhanced IBRS + Retpolines
|
||||
eibrs,lfence - enhanced IBRS + LFENCE
|
||||
ibrs - use IBRS to protect kernel
|
||||
|
||||
Not specifying this option is equivalent to
|
||||
spectre_v2=auto.
|
||||
|
||||
@@ -676,8 +676,8 @@ the ``menu`` governor to be used on the systems that use the ``ladder`` governor
|
||||
by default this way, for example.
|
||||
|
||||
The other kernel command line parameters controlling CPU idle time management
|
||||
described below are only relevant for the *x86* architecture and some of
|
||||
them affect Intel processors only.
|
||||
described below are only relevant for the *x86* architecture and references
|
||||
to ``intel_idle`` affect Intel processors only.
|
||||
|
||||
The *x86* architecture support code recognizes three kernel command line
|
||||
options related to CPU idle time management: ``idle=poll``, ``idle=halt``,
|
||||
@@ -699,10 +699,13 @@ idle, so it very well may hurt single-thread computations performance as well as
|
||||
energy-efficiency. Thus using it for performance reasons may not be a good idea
|
||||
at all.]
|
||||
|
||||
The ``idle=nomwait`` option disables the ``intel_idle`` driver and causes
|
||||
``acpi_idle`` to be used (as long as all of the information needed by it is
|
||||
there in the system's ACPI tables), but it is not allowed to use the
|
||||
``MWAIT`` instruction of the CPUs to ask the hardware to enter idle states.
|
||||
The ``idle=nomwait`` option prevents the use of ``MWAIT`` instruction of
|
||||
the CPU to enter idle states. When this option is used, the ``acpi_idle``
|
||||
driver will use the ``HLT`` instruction instead of ``MWAIT``. On systems
|
||||
running Intel processors, this option disables the ``intel_idle`` driver
|
||||
and forces the use of the ``acpi_idle`` driver instead. Note that in either
|
||||
case, ``acpi_idle`` driver will function only if all the information needed
|
||||
by it is in the system's ACPI tables.
|
||||
|
||||
In addition to the architecture-level kernel command line options affecting CPU
|
||||
idle time management, there are parameters affecting individual ``CPUIdle``
|
||||
|
||||
@@ -59,7 +59,7 @@ Like with atomic_t, the rule of thumb is:
|
||||
- RMW operations that have a return value are fully ordered.
|
||||
|
||||
- RMW operations that are conditional are unordered on FAILURE,
|
||||
otherwise the above rules apply. In the case of test_and_{}_bit() operations,
|
||||
otherwise the above rules apply. In the case of test_and_set_bit_lock(),
|
||||
if the bit in memory is unchanged by the operation then it is deemed to have
|
||||
failed.
|
||||
|
||||
|
||||
@@ -112,8 +112,8 @@ properties:
|
||||
- const: qcom,msm8974
|
||||
|
||||
- items:
|
||||
- const: qcom,msm8916-mtp/1
|
||||
- const: qcom,msm8916-mtp
|
||||
- const: qcom,msm8916-mtp/1
|
||||
- const: qcom,msm8916
|
||||
|
||||
- items:
|
||||
|
||||
@@ -34,8 +34,8 @@ Example:
|
||||
Use specific request line passing from dma
|
||||
For example, MMC request line is 5
|
||||
|
||||
sdhci: sdhci@98e00000 {
|
||||
compatible = "moxa,moxart-sdhci";
|
||||
mmc: mmc@98e00000 {
|
||||
compatible = "moxa,moxart-mmc";
|
||||
reg = <0x98e00000 0x5C>;
|
||||
interrupts = <5 0>;
|
||||
clocks = <&clk_apb>;
|
||||
|
||||
@@ -168,7 +168,7 @@ An error injection example::
|
||||
0x00000008 Memory Correctable
|
||||
0x00000010 Memory Uncorrectable non-fatal
|
||||
# echo 0x12345000 > param1 # Set memory address for injection
|
||||
# echo $((-1 << 12)) > param2 # Mask 0xfffffffffffff000 - anywhere in this page
|
||||
# echo 0xfffffffffffff000 > param2 # Mask - anywhere in this page
|
||||
# echo 0x8 > error_type # Choose correctable memory error
|
||||
# echo 1 > error_inject # Inject now
|
||||
|
||||
|
||||
@@ -517,6 +517,7 @@ All I-Force devices are supported by the iforce module. This includes:
|
||||
* AVB Mag Turbo Force
|
||||
* AVB Top Shot Pegasus
|
||||
* AVB Top Shot Force Feedback Racing Wheel
|
||||
* Boeder Force Feedback Wheel
|
||||
* Logitech WingMan Force
|
||||
* Logitech WingMan Force Wheel
|
||||
* Guillemot Race Leader Force Feedback
|
||||
|
||||
@@ -51,7 +51,7 @@ the Technical Advisory Board (TAB) or other maintainers if you're
|
||||
uncertain how to handle situations that come up. It will not be
|
||||
considered a violation report unless you want it to be. If you are
|
||||
uncertain about approaching the TAB or any other maintainers, please
|
||||
reach out to our conflict mediator, Mishi Choudhary <mishi@linux.com>.
|
||||
reach out to our conflict mediator, Joanna Lee <joanna.lee@gesmer.com>.
|
||||
|
||||
In the end, "be kind to each other" is really what the end goal is for
|
||||
everybody. We know everyone is human and we all fail at times, but the
|
||||
|
||||
@@ -17876,7 +17876,8 @@ S: Supported
|
||||
F: sound/xen/*
|
||||
|
||||
XFS FILESYSTEM
|
||||
M: Darrick J. Wong <darrick.wong@oracle.com>
|
||||
M: Chandan Babu R <chandan.babu@oracle.com>
|
||||
M: Darrick J. Wong <djwong@kernel.org>
|
||||
M: linux-xfs@vger.kernel.org
|
||||
L: linux-xfs@vger.kernel.org
|
||||
W: http://xfs.org/
|
||||
|
||||
5
Makefile
5
Makefile
@@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
VERSION = 5
|
||||
PATCHLEVEL = 4
|
||||
SUBLEVEL = 210
|
||||
SUBLEVEL = 219
|
||||
EXTRAVERSION =
|
||||
NAME = Kleptomaniac Octopus
|
||||
|
||||
@@ -1005,6 +1005,9 @@ KBUILD_CFLAGS += $(KCFLAGS)
|
||||
KBUILD_LDFLAGS_MODULE += --build-id
|
||||
LDFLAGS_vmlinux += --build-id
|
||||
|
||||
KBUILD_LDFLAGS += -z noexecstack
|
||||
KBUILD_LDFLAGS += $(call ld-option,--no-warn-rwx-segments)
|
||||
|
||||
ifeq ($(CONFIG_STRIP_ASM_SYMS),y)
|
||||
LDFLAGS_vmlinux += $(call ld-option, -X,)
|
||||
endif
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -425,6 +425,7 @@
|
||||
strlen
|
||||
strncmp
|
||||
strncpy
|
||||
strscpy_pad
|
||||
__sw_hweight32
|
||||
__sw_hweight64
|
||||
synchronize_irq
|
||||
@@ -660,6 +661,7 @@
|
||||
of_usb_get_phy_mode
|
||||
phy_pm_runtime_get_sync
|
||||
phy_pm_runtime_put_sync
|
||||
platform_device_add_data
|
||||
platform_get_irq_byname_optional
|
||||
pm_runtime_barrier
|
||||
system_freezable_wq
|
||||
|
||||
@@ -381,7 +381,7 @@
|
||||
&mmc2 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&wl12xx_vmmc>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
bus-width = <4>;
|
||||
cap-power-off-card;
|
||||
pinctrl-names = "default";
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
pinctrl-0 = <&emmc_pins>;
|
||||
bus-width = <8>;
|
||||
status = "okay";
|
||||
non-removable;
|
||||
};
|
||||
|
||||
&am33xx_pinmux {
|
||||
|
||||
@@ -75,7 +75,6 @@
|
||||
bus-width = <4>;
|
||||
non-removable;
|
||||
cap-power-off-card;
|
||||
ti,needs-special-hs-handling;
|
||||
keep-power-in-suspend;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc3_pins &wl18xx_pins>;
|
||||
|
||||
@@ -389,7 +389,6 @@
|
||||
bus-width = <4>;
|
||||
non-removable;
|
||||
cap-power-off-card;
|
||||
ti,needs-special-hs-handling;
|
||||
keep-power-in-suspend;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc3_pins &wl18xx_pins>;
|
||||
|
||||
@@ -75,7 +75,6 @@
|
||||
bus-width = <4>;
|
||||
non-removable;
|
||||
cap-power-off-card;
|
||||
ti,needs-special-hs-handling;
|
||||
keep-power-in-suspend;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc3_pins &wl18xx_pins>;
|
||||
|
||||
@@ -782,8 +782,7 @@
|
||||
bus-width = <4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc3_pins &wlan_pins>;
|
||||
ti,non-removable;
|
||||
ti,needs-special-hs-handling;
|
||||
non-removable;
|
||||
cap-power-off-card;
|
||||
keep-power-in-suspend;
|
||||
|
||||
|
||||
@@ -700,7 +700,7 @@
|
||||
&mmc2 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&wl12xx_vmmc>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
bus-width = <4>;
|
||||
cap-power-off-card;
|
||||
keep-power-in-suspend;
|
||||
|
||||
@@ -361,7 +361,7 @@
|
||||
pinctrl-0 = <&emmc_pins>;
|
||||
vmmc-supply = <&vmmcsd_fixed>;
|
||||
bus-width = <8>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
vmmc-supply = <&vmmcsd_fixed>;
|
||||
bus-width = <8>;
|
||||
pinctrl-0 = <&mmc1_pins_default>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
@@ -473,7 +473,7 @@
|
||||
vmmc-supply = <&vmmcsd_fixed>;
|
||||
bus-width = <8>;
|
||||
pinctrl-0 = <&mmc2_pins_default>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
@@ -341,7 +341,7 @@
|
||||
pinctrl-0 = <&emmc_pins>;
|
||||
vmmc-supply = <&ldo3_reg>;
|
||||
bus-width = <8>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
};
|
||||
|
||||
&mmc3 {
|
||||
@@ -351,7 +351,7 @@
|
||||
pinctrl-0 = <&wireless_pins>;
|
||||
vmmmc-supply = <&v3v3c_reg>;
|
||||
bus-width = <4>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
dmas = <&edma_xbar 12 0 1
|
||||
&edma_xbar 13 0 2>;
|
||||
dma-names = "tx", "rx";
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
pinctrl-0 = <&emmc_pins>;
|
||||
vmmc-supply = <&vmmc_reg>;
|
||||
bus-width = <8>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
@@ -1333,12 +1333,9 @@
|
||||
ranges = <0x0 0x60000 0x1000>;
|
||||
|
||||
mmc1: mmc@0 {
|
||||
compatible = "ti,omap4-hsmmc";
|
||||
ti,dual-volt;
|
||||
compatible = "ti,am335-sdhci";
|
||||
ti,needs-special-reset;
|
||||
ti,needs-special-hs-handling;
|
||||
dmas = <&edma_xbar 24 0 0
|
||||
&edma_xbar 25 0 0>;
|
||||
dmas = <&edma 24 0>, <&edma 25 0>;
|
||||
dma-names = "tx", "rx";
|
||||
interrupts = <64>;
|
||||
reg = <0x0 0x1000>;
|
||||
@@ -1827,7 +1824,7 @@
|
||||
ranges = <0x0 0xd8000 0x1000>;
|
||||
|
||||
mmc2: mmc@0 {
|
||||
compatible = "ti,omap4-hsmmc";
|
||||
compatible = "ti,am335-sdhci";
|
||||
ti,needs-special-reset;
|
||||
dmas = <&edma 2 0
|
||||
&edma 3 0>;
|
||||
|
||||
@@ -259,10 +259,11 @@
|
||||
ranges = <0x0 0x47810000 0x1000>;
|
||||
|
||||
mmc3: mmc@0 {
|
||||
compatible = "ti,omap4-hsmmc";
|
||||
compatible = "ti,am335-sdhci";
|
||||
ti,needs-special-reset;
|
||||
interrupts = <29>;
|
||||
reg = <0x0 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -250,10 +250,11 @@
|
||||
ranges = <0x0 0x47810000 0x1000>;
|
||||
|
||||
mmc3: mmc@0 {
|
||||
compatible = "ti,omap4-hsmmc";
|
||||
compatible = "ti,am437-sdhci";
|
||||
ti,needs-special-reset;
|
||||
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reg = <0x0 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -291,7 +291,7 @@
|
||||
pinctrl-0 = <&emmc_pins>;
|
||||
vmmc-supply = <&vmmc_3v3>;
|
||||
bus-width = <8>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
|
||||
@@ -872,7 +872,7 @@
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&emmc_pins_default>;
|
||||
pinctrl-1 = <&emmc_pins_sleep>;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
};
|
||||
|
||||
&mmc3 {
|
||||
@@ -889,7 +889,7 @@
|
||||
pinctrl-1 = <&mmc3_pins_sleep>;
|
||||
cap-power-off-card;
|
||||
keep-power-in-suspend;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -1104,9 +1104,8 @@
|
||||
ranges = <0x0 0x60000 0x1000>;
|
||||
|
||||
mmc1: mmc@0 {
|
||||
compatible = "ti,omap4-hsmmc";
|
||||
compatible = "ti,am437-sdhci";
|
||||
reg = <0x0 0x1000>;
|
||||
ti,dual-volt;
|
||||
ti,needs-special-reset;
|
||||
dmas = <&edma 24 0>,
|
||||
<&edma 25 0>;
|
||||
@@ -1641,7 +1640,7 @@
|
||||
ranges = <0x0 0xd8000 0x1000>;
|
||||
|
||||
mmc2: mmc@0 {
|
||||
compatible = "ti,omap4-hsmmc";
|
||||
compatible = "ti,am437-sdhci";
|
||||
reg = <0x0 0x1000>;
|
||||
ti,needs-special-reset;
|
||||
dmas = <&edma 2 0>,
|
||||
|
||||
@@ -694,7 +694,7 @@
|
||||
pinctrl-1 = <&mmc3_pins_sleep>;
|
||||
cap-power-off-card;
|
||||
keep-power-in-suspend;
|
||||
ti,non-removable;
|
||||
non-removable;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/ {
|
||||
model = "AST2500 EVB";
|
||||
compatible = "aspeed,ast2500";
|
||||
compatible = "aspeed,ast2500-evb", "aspeed,ast2500";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
/ {
|
||||
model = "AST2600 EVB";
|
||||
compatible = "aspeed,ast2600";
|
||||
compatible = "aspeed,ast2600-evb-a1", "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
|
||||
@@ -51,16 +51,6 @@
|
||||
vin-supply = <®_3p3v_s5>;
|
||||
};
|
||||
|
||||
reg_3p3v_s0: regulator-3p3v-s0 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "V_3V3_S0";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
vin-supply = <®_3p3v_s5>;
|
||||
};
|
||||
|
||||
reg_3p3v_s5: regulator-3p3v-s5 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "V_3V3_S5";
|
||||
|
||||
@@ -62,20 +62,18 @@
|
||||
clock-frequency = <696000000>;
|
||||
clock-latency = <61036>; /* two CLK32 periods */
|
||||
#cooling-cells = <2>;
|
||||
operating-points = <
|
||||
operating-points =
|
||||
/* kHz uV */
|
||||
696000 1275000
|
||||
528000 1175000
|
||||
396000 1025000
|
||||
198000 950000
|
||||
>;
|
||||
fsl,soc-operating-points = <
|
||||
<696000 1275000>,
|
||||
<528000 1175000>,
|
||||
<396000 1025000>,
|
||||
<198000 950000>;
|
||||
fsl,soc-operating-points =
|
||||
/* KHz uV */
|
||||
696000 1275000
|
||||
528000 1175000
|
||||
396000 1175000
|
||||
198000 1175000
|
||||
>;
|
||||
<696000 1275000>,
|
||||
<528000 1175000>,
|
||||
<396000 1175000>,
|
||||
<198000 1175000>;
|
||||
clocks = <&clks IMX6UL_CLK_ARM>,
|
||||
<&clks IMX6UL_CLK_PLL2_BUS>,
|
||||
<&clks IMX6UL_CLK_PLL2_PFD2>,
|
||||
@@ -157,6 +155,9 @@
|
||||
ocram: sram@900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00900000 0x20000>;
|
||||
ranges = <0 0x00900000 0x20000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
};
|
||||
|
||||
intc: interrupt-controller@a01000 {
|
||||
@@ -966,7 +967,7 @@
|
||||
};
|
||||
|
||||
csi: csi@21c4000 {
|
||||
compatible = "fsl,imx6ul-csi", "fsl,imx7-csi";
|
||||
compatible = "fsl,imx6ul-csi";
|
||||
reg = <0x021c4000 0x4000>;
|
||||
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clks IMX6UL_CLK_CSI>;
|
||||
@@ -975,7 +976,7 @@
|
||||
};
|
||||
|
||||
lcdif: lcdif@21c8000 {
|
||||
compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
|
||||
compatible = "fsl,imx6ul-lcdif", "fsl,imx6sx-lcdif";
|
||||
reg = <0x021c8000 0x4000>;
|
||||
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
|
||||
@@ -996,7 +997,7 @@
|
||||
qspi: spi@21e0000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "fsl,imx6ul-qspi", "fsl,imx6sx-qspi";
|
||||
compatible = "fsl,imx6ul-qspi";
|
||||
reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
|
||||
reg-names = "QuadSPI", "QuadSPI-memory";
|
||||
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
|
||||
pci: pciv3@62000000 {
|
||||
compatible = "arm,integrator-ap-pci", "v3,v360epc-pci";
|
||||
device_type = "pci";
|
||||
#interrupt-cells = <1>;
|
||||
#size-cells = <2>;
|
||||
#address-cells = <3>;
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
clocks = <&ref12>;
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
&mmc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
@@ -93,8 +93,8 @@
|
||||
clock-names = "PCLK";
|
||||
};
|
||||
|
||||
sdhci: sdhci@98e00000 {
|
||||
compatible = "moxa,moxart-sdhci";
|
||||
mmc: mmc@98e00000 {
|
||||
compatible = "moxa,moxart-mmc";
|
||||
reg = <0x98e00000 0x5C>;
|
||||
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk_apb>;
|
||||
|
||||
@@ -323,6 +323,7 @@
|
||||
|
||||
pmicgpio: gpio@150 {
|
||||
compatible = "qcom,pm8018-gpio", "qcom,ssbi-gpio";
|
||||
reg = <0x150>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
gpio-controller;
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
compatible = "qcom,spmi-temp-alarm";
|
||||
reg = <0x2400>;
|
||||
interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>;
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -585,8 +585,8 @@
|
||||
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
|
||||
status = "disabled";
|
||||
reg = <0x65a00000 0xcd00>;
|
||||
interrupt-names = "host", "peripheral";
|
||||
interrupts = <0 134 4>, <0 135 4>;
|
||||
interrupt-names = "dwc_usb3";
|
||||
interrupts = <0 134 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
|
||||
clock-names = "ref", "bus_early", "suspend";
|
||||
@@ -681,8 +681,8 @@
|
||||
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
|
||||
status = "disabled";
|
||||
reg = <0x65c00000 0xcd00>;
|
||||
interrupt-names = "host", "peripheral";
|
||||
interrupts = <0 137 4>, <0 138 4>;
|
||||
interrupt-names = "dwc_usb3";
|
||||
interrupts = <0 137 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
|
||||
clock-names = "ref", "bus_early", "suspend";
|
||||
|
||||
@@ -40,8 +40,8 @@ ENDPROC(_find_first_zero_bit_le)
|
||||
* Prototype: int find_next_zero_bit(void *addr, unsigned int maxbit, int offset)
|
||||
*/
|
||||
ENTRY(_find_next_zero_bit_le)
|
||||
teq r1, #0
|
||||
beq 3b
|
||||
cmp r2, r1
|
||||
bhs 3b
|
||||
ands ip, r2, #7
|
||||
beq 1b @ If new byte, goto old routine
|
||||
ARM( ldrb r3, [r0, r2, lsr #3] )
|
||||
@@ -81,8 +81,8 @@ ENDPROC(_find_first_bit_le)
|
||||
* Prototype: int find_next_zero_bit(void *addr, unsigned int maxbit, int offset)
|
||||
*/
|
||||
ENTRY(_find_next_bit_le)
|
||||
teq r1, #0
|
||||
beq 3b
|
||||
cmp r2, r1
|
||||
bhs 3b
|
||||
ands ip, r2, #7
|
||||
beq 1b @ If new byte, goto old routine
|
||||
ARM( ldrb r3, [r0, r2, lsr #3] )
|
||||
@@ -115,8 +115,8 @@ ENTRY(_find_first_zero_bit_be)
|
||||
ENDPROC(_find_first_zero_bit_be)
|
||||
|
||||
ENTRY(_find_next_zero_bit_be)
|
||||
teq r1, #0
|
||||
beq 3b
|
||||
cmp r2, r1
|
||||
bhs 3b
|
||||
ands ip, r2, #7
|
||||
beq 1b @ If new byte, goto old routine
|
||||
eor r3, r2, #0x18 @ big endian byte ordering
|
||||
@@ -149,8 +149,8 @@ ENTRY(_find_first_bit_be)
|
||||
ENDPROC(_find_first_bit_be)
|
||||
|
||||
ENTRY(_find_next_bit_be)
|
||||
teq r1, #0
|
||||
beq 3b
|
||||
cmp r2, r1
|
||||
bhs 3b
|
||||
ands ip, r2, #7
|
||||
beq 1b @ If new byte, goto old routine
|
||||
eor r3, r2, #0x18 @ big endian byte ordering
|
||||
|
||||
@@ -54,6 +54,7 @@ int __init bcm_kona_smc_init(void)
|
||||
return -ENODEV;
|
||||
|
||||
prop_val = of_get_address(node, 0, &prop_size, NULL);
|
||||
of_node_put(node);
|
||||
if (!prop_val)
|
||||
return -EINVAL;
|
||||
|
||||
|
||||
@@ -211,6 +211,7 @@ static int __init omapdss_init_fbdev(void)
|
||||
node = of_find_node_by_name(NULL, "omap4_padconf_global");
|
||||
if (node)
|
||||
omap4_dsi_mux_syscon = syscon_node_to_regmap(node);
|
||||
of_node_put(node);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -259,11 +260,13 @@ static int __init omapdss_init_of(void)
|
||||
|
||||
if (!pdev) {
|
||||
pr_err("Unable to find DSS platform device\n");
|
||||
of_node_put(node);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
r = of_platform_populate(node, NULL, NULL, &pdev->dev);
|
||||
put_device(&pdev->dev);
|
||||
of_node_put(node);
|
||||
if (r) {
|
||||
pr_err("Unable to populate DSS submodule devices\n");
|
||||
return r;
|
||||
|
||||
@@ -708,6 +708,7 @@ static int omap3xxx_prm_late_init(void)
|
||||
}
|
||||
|
||||
irq_num = of_irq_get(np, 0);
|
||||
of_node_put(np);
|
||||
if (irq_num == -EPROBE_DEFER)
|
||||
return irq_num;
|
||||
|
||||
|
||||
@@ -125,6 +125,7 @@ remove:
|
||||
|
||||
list_for_each_entry_safe(pos, tmp, &quirk_list, list) {
|
||||
list_del(&pos->list);
|
||||
of_node_put(pos->np);
|
||||
kfree(pos);
|
||||
}
|
||||
|
||||
@@ -174,11 +175,12 @@ static int __init rcar_gen2_regulator_quirk(void)
|
||||
memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg));
|
||||
|
||||
quirk->id = id;
|
||||
quirk->np = np;
|
||||
quirk->np = of_node_get(np);
|
||||
quirk->i2c_msg.addr = addr;
|
||||
|
||||
ret = of_irq_parse_one(np, 0, argsa);
|
||||
if (ret) { /* Skip invalid entry and continue */
|
||||
of_node_put(np);
|
||||
kfree(quirk);
|
||||
continue;
|
||||
}
|
||||
@@ -225,6 +227,7 @@ err_free:
|
||||
err_mem:
|
||||
list_for_each_entry_safe(pos, tmp, &quirk_list, list) {
|
||||
list_del(&pos->list);
|
||||
of_node_put(pos->np);
|
||||
kfree(pos);
|
||||
}
|
||||
|
||||
|
||||
@@ -77,6 +77,7 @@ static int __init zynq_get_revision(void)
|
||||
}
|
||||
|
||||
zynq_devcfg_base = of_iomap(np, 0);
|
||||
of_node_put(np);
|
||||
if (!zynq_devcfg_base) {
|
||||
pr_err("%s: Unable to map I/O memory\n", __func__);
|
||||
return -1;
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
status {
|
||||
led-0 {
|
||||
label = "orangepi:green:status";
|
||||
gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
|
||||
};
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
wps {
|
||||
label = "wps";
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
gpios = <&pio 102 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&pio 102 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
qpic_nand: nand@79b0000 {
|
||||
qpic_nand: nand-controller@79b0000 {
|
||||
compatible = "qcom,ipq8074-nand";
|
||||
reg = <0x79b0000 0x10000>;
|
||||
#address-cells = <1>;
|
||||
|
||||
@@ -77,3 +77,8 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wlan_host_wake_l {
|
||||
/* Kevin has an external pull up, but Bob does not. */
|
||||
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
@@ -237,6 +237,14 @@
|
||||
&edp {
|
||||
status = "okay";
|
||||
|
||||
/*
|
||||
* eDP PHY/clk don't sync reliably at anything other than 24 MHz. Only
|
||||
* set this here, because rk3399-gru.dtsi ensures we can generate this
|
||||
* off GPLL=600MHz, whereas some other RK3399 boards may not.
|
||||
*/
|
||||
assigned-clocks = <&cru PCLK_EDP>;
|
||||
assigned-clock-rates = <24000000>;
|
||||
|
||||
ports {
|
||||
edp_out: port@1 {
|
||||
reg = <1>;
|
||||
@@ -397,6 +405,7 @@ ap_i2c_tp: &i2c5 {
|
||||
};
|
||||
|
||||
wlan_host_wake_l: wlan-host-wake-l {
|
||||
/* Kevin has an external pull up, but Bob does not */
|
||||
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -102,7 +102,6 @@
|
||||
vcc5v0_host: vcc5v0-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>;
|
||||
enable-active-low;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc5v0_host_en>;
|
||||
regulator-name = "vcc5v0_host";
|
||||
|
||||
@@ -544,8 +544,8 @@
|
||||
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
|
||||
status = "disabled";
|
||||
reg = <0x65a00000 0xcd00>;
|
||||
interrupt-names = "host", "peripheral";
|
||||
interrupts = <0 134 4>, <0 135 4>;
|
||||
interrupt-names = "dwc_usb3";
|
||||
interrupts = <0 134 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
|
||||
clock-names = "ref", "bus_early", "suspend";
|
||||
@@ -646,8 +646,8 @@
|
||||
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
|
||||
status = "disabled";
|
||||
reg = <0x65c00000 0xcd00>;
|
||||
interrupt-names = "host", "peripheral";
|
||||
interrupts = <0 137 4>, <0 138 4>;
|
||||
interrupt-names = "dwc_usb3";
|
||||
interrupts = <0 137 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
|
||||
clock-names = "ref", "bus_early", "suspend";
|
||||
|
||||
@@ -59,6 +59,7 @@ config CRYPTO_GHASH_ARM64_CE
|
||||
select CRYPTO_HASH
|
||||
select CRYPTO_GF128MUL
|
||||
select CRYPTO_LIB_AES
|
||||
select CRYPTO_AEAD
|
||||
|
||||
config CRYPTO_CRCT10DIF_ARM64_CE
|
||||
tristate "CRCT10DIF digest algorithm using PMULL instructions"
|
||||
|
||||
@@ -189,8 +189,9 @@ void tls_preserve_current_state(void);
|
||||
|
||||
static inline void start_thread_common(struct pt_regs *regs, unsigned long pc)
|
||||
{
|
||||
s32 previous_syscall = regs->syscallno;
|
||||
memset(regs, 0, sizeof(*regs));
|
||||
forget_syscall(regs);
|
||||
regs->syscallno = previous_syscall;
|
||||
regs->pc = pc;
|
||||
|
||||
if (system_uses_irq_prio_masking())
|
||||
|
||||
@@ -45,7 +45,8 @@ static void ci_leaf_init(struct cacheinfo *this_leaf,
|
||||
|
||||
int init_cache_level(unsigned int cpu)
|
||||
{
|
||||
unsigned int ctype, level, leaves, fw_level;
|
||||
unsigned int ctype, level, leaves;
|
||||
int fw_level;
|
||||
struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
|
||||
|
||||
for (level = 1, leaves = 0; level <= MAX_CACHE_LEVEL; level++) {
|
||||
@@ -63,6 +64,9 @@ int init_cache_level(unsigned int cpu)
|
||||
else
|
||||
fw_level = acpi_find_last_cache_level(cpu);
|
||||
|
||||
if (fw_level < 0)
|
||||
return fw_level;
|
||||
|
||||
if (level < fw_level) {
|
||||
/*
|
||||
* some external caches not specified in CLIDR_EL1
|
||||
|
||||
@@ -552,7 +552,7 @@ ia64_get_irr(unsigned int vector)
|
||||
{
|
||||
unsigned int reg = vector / 64;
|
||||
unsigned int bit = vector % 64;
|
||||
u64 irr;
|
||||
unsigned long irr;
|
||||
|
||||
switch (reg) {
|
||||
case 0: irr = ia64_getreg(_IA64_REG_CR_IRR0); break;
|
||||
|
||||
@@ -127,6 +127,16 @@ static void octeon_irq_free_cd(struct irq_domain *d, unsigned int irq)
|
||||
static int octeon_irq_force_ciu_mapping(struct irq_domain *domain,
|
||||
int irq, int line, int bit)
|
||||
{
|
||||
struct device_node *of_node;
|
||||
int ret;
|
||||
|
||||
of_node = irq_domain_get_of_node(domain);
|
||||
if (!of_node)
|
||||
return -EINVAL;
|
||||
ret = irq_alloc_desc_at(irq, of_node_to_nid(of_node));
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
return irq_domain_associate(domain, irq, line << 6 | bit);
|
||||
}
|
||||
|
||||
|
||||
@@ -86,11 +86,12 @@ static void octeon2_usb_clocks_start(struct device *dev)
|
||||
"refclk-frequency", &clock_rate);
|
||||
if (i) {
|
||||
dev_err(dev, "No UCTL \"refclk-frequency\"\n");
|
||||
of_node_put(uctl_node);
|
||||
goto exit;
|
||||
}
|
||||
i = of_property_read_string(uctl_node,
|
||||
"refclk-type", &clock_type);
|
||||
|
||||
of_node_put(uctl_node);
|
||||
if (!i && strcmp("crystal", clock_type) == 0)
|
||||
is_crystal_clock = true;
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ static void *c_start(struct seq_file *m, loff_t *pos)
|
||||
{
|
||||
unsigned long i = *pos;
|
||||
|
||||
return i < NR_CPUS ? (void *) (i + 1) : NULL;
|
||||
return i < nr_cpu_ids ? (void *) (i + 1) : NULL;
|
||||
}
|
||||
|
||||
static void *c_next(struct seq_file *m, void *v, loff_t *pos)
|
||||
|
||||
@@ -50,6 +50,7 @@ struct clk *clk_get_io(void)
|
||||
{
|
||||
return &cpu_clk_generic[2];
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(clk_get_io);
|
||||
|
||||
struct clk *clk_get_ppe(void)
|
||||
{
|
||||
|
||||
@@ -98,7 +98,7 @@ int ls1x_eth_mux_init(struct platform_device *pdev, void *priv)
|
||||
if (plat_dat->bus_id) {
|
||||
__raw_writel(__raw_readl(LS1X_MUX_CTRL0) | GMAC1_USE_UART1 |
|
||||
GMAC1_USE_UART0, LS1X_MUX_CTRL0);
|
||||
switch (plat_dat->interface) {
|
||||
switch (plat_dat->phy_interface) {
|
||||
case PHY_INTERFACE_MODE_RGMII:
|
||||
val &= ~(GMAC1_USE_TXCLK | GMAC1_USE_PWM23);
|
||||
break;
|
||||
@@ -107,12 +107,12 @@ int ls1x_eth_mux_init(struct platform_device *pdev, void *priv)
|
||||
break;
|
||||
default:
|
||||
pr_err("unsupported mii mode %d\n",
|
||||
plat_dat->interface);
|
||||
plat_dat->phy_interface);
|
||||
return -ENOTSUPP;
|
||||
}
|
||||
val &= ~GMAC1_SHUT;
|
||||
} else {
|
||||
switch (plat_dat->interface) {
|
||||
switch (plat_dat->phy_interface) {
|
||||
case PHY_INTERFACE_MODE_RGMII:
|
||||
val &= ~(GMAC0_USE_TXCLK | GMAC0_USE_PWM01);
|
||||
break;
|
||||
@@ -121,7 +121,7 @@ int ls1x_eth_mux_init(struct platform_device *pdev, void *priv)
|
||||
break;
|
||||
default:
|
||||
pr_err("unsupported mii mode %d\n",
|
||||
plat_dat->interface);
|
||||
plat_dat->phy_interface);
|
||||
return -ENOTSUPP;
|
||||
}
|
||||
val &= ~GMAC0_SHUT;
|
||||
@@ -131,7 +131,7 @@ int ls1x_eth_mux_init(struct platform_device *pdev, void *priv)
|
||||
plat_dat = dev_get_platdata(&pdev->dev);
|
||||
|
||||
val &= ~PHY_INTF_SELI;
|
||||
if (plat_dat->interface == PHY_INTERFACE_MODE_RMII)
|
||||
if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII)
|
||||
val |= 0x4 << PHY_INTF_SELI_SHIFT;
|
||||
__raw_writel(val, LS1X_MUX_CTRL1);
|
||||
|
||||
@@ -146,9 +146,9 @@ static struct plat_stmmacenet_data ls1x_eth0_pdata = {
|
||||
.bus_id = 0,
|
||||
.phy_addr = -1,
|
||||
#if defined(CONFIG_LOONGSON1_LS1B)
|
||||
.interface = PHY_INTERFACE_MODE_MII,
|
||||
.phy_interface = PHY_INTERFACE_MODE_MII,
|
||||
#elif defined(CONFIG_LOONGSON1_LS1C)
|
||||
.interface = PHY_INTERFACE_MODE_RMII,
|
||||
.phy_interface = PHY_INTERFACE_MODE_RMII,
|
||||
#endif
|
||||
.mdio_bus_data = &ls1x_mdio_bus_data,
|
||||
.dma_cfg = &ls1x_eth_dma_cfg,
|
||||
@@ -186,7 +186,7 @@ struct platform_device ls1x_eth0_pdev = {
|
||||
static struct plat_stmmacenet_data ls1x_eth1_pdata = {
|
||||
.bus_id = 1,
|
||||
.phy_addr = -1,
|
||||
.interface = PHY_INTERFACE_MODE_MII,
|
||||
.phy_interface = PHY_INTERFACE_MODE_MII,
|
||||
.mdio_bus_data = &ls1x_mdio_bus_data,
|
||||
.dma_cfg = &ls1x_eth_dma_cfg,
|
||||
.has_gmac = 1,
|
||||
|
||||
@@ -15,7 +15,6 @@ static struct platform_device *ls1c_platform_devices[] __initdata = {
|
||||
static int __init ls1c_platform_init(void)
|
||||
{
|
||||
ls1x_serial_set_uartclk(&ls1x_uart_pdev);
|
||||
ls1x_rtc_set_extclk(&ls1x_rtc_pdev);
|
||||
|
||||
return platform_add_devices(ls1c_platform_devices,
|
||||
ARRAY_SIZE(ls1c_platform_devices));
|
||||
|
||||
@@ -629,7 +629,7 @@ static __maybe_unused void build_convert_pte_to_entrylo(u32 **p,
|
||||
return;
|
||||
}
|
||||
|
||||
if (cpu_has_rixi && !!_PAGE_NO_EXEC) {
|
||||
if (cpu_has_rixi && _PAGE_NO_EXEC != 0) {
|
||||
if (fill_includes_sw_bits) {
|
||||
UASM_i_ROTR(p, reg, reg, ilog2(_PAGE_GLOBAL));
|
||||
} else {
|
||||
@@ -2568,7 +2568,7 @@ static void check_pabits(void)
|
||||
unsigned long entry;
|
||||
unsigned pabits, fillbits;
|
||||
|
||||
if (!cpu_has_rixi || !_PAGE_NO_EXEC) {
|
||||
if (!cpu_has_rixi || _PAGE_NO_EXEC == 0) {
|
||||
/*
|
||||
* We'll only be making use of the fact that we can rotate bits
|
||||
* into the fill if the CPU supports RIXI, so don't bother
|
||||
|
||||
@@ -50,7 +50,8 @@
|
||||
stw r13, PT_R13(sp)
|
||||
stw r14, PT_R14(sp)
|
||||
stw r15, PT_R15(sp)
|
||||
stw r2, PT_ORIG_R2(sp)
|
||||
movi r24, -1
|
||||
stw r24, PT_ORIG_R2(sp)
|
||||
stw r7, PT_ORIG_R7(sp)
|
||||
|
||||
stw ra, PT_RA(sp)
|
||||
|
||||
@@ -74,6 +74,8 @@ extern void show_regs(struct pt_regs *);
|
||||
((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\
|
||||
- 1)
|
||||
|
||||
#define force_successful_syscall_return() (current_pt_regs()->orig_r2 = -1)
|
||||
|
||||
int do_syscall_trace_enter(void);
|
||||
void do_syscall_trace_exit(void);
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
@@ -185,6 +185,7 @@ ENTRY(handle_system_call)
|
||||
ldw r5, PT_R5(sp)
|
||||
|
||||
local_restart:
|
||||
stw r2, PT_ORIG_R2(sp)
|
||||
/* Check that the requested system call is within limits */
|
||||
movui r1, __NR_syscalls
|
||||
bgeu r2, r1, ret_invsyscall
|
||||
@@ -192,7 +193,6 @@ local_restart:
|
||||
movhi r11, %hiadj(sys_call_table)
|
||||
add r1, r1, r11
|
||||
ldw r1, %lo(sys_call_table)(r1)
|
||||
beq r1, r0, ret_invsyscall
|
||||
|
||||
/* Check if we are being traced */
|
||||
GET_THREAD_INFO r11
|
||||
@@ -213,6 +213,9 @@ local_restart:
|
||||
translate_rc_and_ret:
|
||||
movi r1, 0
|
||||
bge r2, zero, 3f
|
||||
ldw r1, PT_ORIG_R2(sp)
|
||||
addi r1, r1, 1
|
||||
beq r1, zero, 3f
|
||||
sub r2, zero, r2
|
||||
movi r1, 1
|
||||
3:
|
||||
@@ -255,9 +258,9 @@ traced_system_call:
|
||||
ldw r6, PT_R6(sp)
|
||||
ldw r7, PT_R7(sp)
|
||||
|
||||
/* Fetch the syscall function, we don't need to check the boundaries
|
||||
* since this is already done.
|
||||
*/
|
||||
/* Fetch the syscall function. */
|
||||
movui r1, __NR_syscalls
|
||||
bgeu r2, r1, traced_invsyscall
|
||||
slli r1, r2, 2
|
||||
movhi r11,%hiadj(sys_call_table)
|
||||
add r1, r1, r11
|
||||
@@ -276,6 +279,9 @@ traced_system_call:
|
||||
translate_rc_and_ret2:
|
||||
movi r1, 0
|
||||
bge r2, zero, 4f
|
||||
ldw r1, PT_ORIG_R2(sp)
|
||||
addi r1, r1, 1
|
||||
beq r1, zero, 4f
|
||||
sub r2, zero, r2
|
||||
movi r1, 1
|
||||
4:
|
||||
@@ -287,6 +293,11 @@ end_translate_rc_and_ret2:
|
||||
RESTORE_SWITCH_STACK
|
||||
br ret_from_exception
|
||||
|
||||
/* If the syscall number was invalid return ENOSYS */
|
||||
traced_invsyscall:
|
||||
movi r2, -ENOSYS
|
||||
br translate_rc_and_ret2
|
||||
|
||||
Luser_return:
|
||||
GET_THREAD_INFO r11 /* get thread_info pointer */
|
||||
ldw r10, TI_FLAGS(r11) /* get thread_info->flags */
|
||||
@@ -336,9 +347,6 @@ external_interrupt:
|
||||
/* skip if no interrupt is pending */
|
||||
beq r12, r0, ret_from_interrupt
|
||||
|
||||
movi r24, -1
|
||||
stw r24, PT_ORIG_R2(sp)
|
||||
|
||||
/*
|
||||
* Process an external hardware interrupt.
|
||||
*/
|
||||
|
||||
@@ -240,7 +240,7 @@ static int do_signal(struct pt_regs *regs)
|
||||
/*
|
||||
* If we were from a system call, check for system call restarting...
|
||||
*/
|
||||
if (regs->orig_r2 >= 0) {
|
||||
if (regs->orig_r2 >= 0 && regs->r1) {
|
||||
continue_addr = regs->ea;
|
||||
restart_addr = continue_addr - 4;
|
||||
retval = regs->r2;
|
||||
@@ -261,6 +261,7 @@ static int do_signal(struct pt_regs *regs)
|
||||
regs->ea = restart_addr;
|
||||
break;
|
||||
}
|
||||
regs->orig_r2 = -1;
|
||||
}
|
||||
|
||||
if (get_signal(&ksig)) {
|
||||
|
||||
@@ -13,5 +13,6 @@
|
||||
#define __SYSCALL(nr, call) [nr] = (call),
|
||||
|
||||
void *sys_call_table[__NR_syscalls] = {
|
||||
[0 ... __NR_syscalls-1] = sys_ni_syscall,
|
||||
#include <asm/unistd.h>
|
||||
};
|
||||
|
||||
@@ -520,7 +520,6 @@ alloc_pa_dev(unsigned long hpa, struct hardware_path *mod_path)
|
||||
dev->id.hversion_rev = iodc_data[1] & 0x0f;
|
||||
dev->id.sversion = ((iodc_data[4] & 0x0f) << 16) |
|
||||
(iodc_data[5] << 8) | iodc_data[6];
|
||||
dev->hpa.name = parisc_pathname(dev);
|
||||
dev->hpa.start = hpa;
|
||||
/* This is awkward. The STI spec says that gfx devices may occupy
|
||||
* 32MB or 64MB. Unfortunately, we don't know how to tell whether
|
||||
@@ -534,10 +533,10 @@ alloc_pa_dev(unsigned long hpa, struct hardware_path *mod_path)
|
||||
dev->hpa.end = hpa + 0xfff;
|
||||
}
|
||||
dev->hpa.flags = IORESOURCE_MEM;
|
||||
name = parisc_hardware_description(&dev->id);
|
||||
if (name) {
|
||||
strlcpy(dev->name, name, sizeof(dev->name));
|
||||
}
|
||||
dev->hpa.name = dev->name;
|
||||
name = parisc_hardware_description(&dev->id) ? : "unknown";
|
||||
snprintf(dev->name, sizeof(dev->name), "%s [%s]",
|
||||
name, parisc_pathname(dev));
|
||||
|
||||
/* Silently fail things like mouse ports which are subsumed within
|
||||
* the keyboard controller
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <linux/linkage.h>
|
||||
#include <linux/init.h>
|
||||
|
||||
.level PA_ASM_LEVEL
|
||||
.level 1.1
|
||||
|
||||
__INITDATA
|
||||
ENTRY(boot_args)
|
||||
@@ -69,6 +69,47 @@ $bss_loop:
|
||||
stw,ma %arg2,4(%r1)
|
||||
stw,ma %arg3,4(%r1)
|
||||
|
||||
#if !defined(CONFIG_64BIT) && defined(CONFIG_PA20)
|
||||
/* This 32-bit kernel was compiled for PA2.0 CPUs. Check current CPU
|
||||
* and halt kernel if we detect a PA1.x CPU. */
|
||||
ldi 32,%r10
|
||||
mtctl %r10,%cr11
|
||||
.level 2.0
|
||||
mfctl,w %cr11,%r10
|
||||
.level 1.1
|
||||
comib,<>,n 0,%r10,$cpu_ok
|
||||
|
||||
load32 PA(msg1),%arg0
|
||||
ldi msg1_end-msg1,%arg1
|
||||
$iodc_panic:
|
||||
copy %arg0, %r10
|
||||
copy %arg1, %r11
|
||||
load32 PA(init_stack),%sp
|
||||
#define MEM_CONS 0x3A0
|
||||
ldw MEM_CONS+32(%r0),%arg0 // HPA
|
||||
ldi ENTRY_IO_COUT,%arg1
|
||||
ldw MEM_CONS+36(%r0),%arg2 // SPA
|
||||
ldw MEM_CONS+8(%r0),%arg3 // layers
|
||||
load32 PA(__bss_start),%r1
|
||||
stw %r1,-52(%sp) // arg4
|
||||
stw %r0,-56(%sp) // arg5
|
||||
stw %r10,-60(%sp) // arg6 = ptr to text
|
||||
stw %r11,-64(%sp) // arg7 = len
|
||||
stw %r0,-68(%sp) // arg8
|
||||
load32 PA(.iodc_panic_ret), %rp
|
||||
ldw MEM_CONS+40(%r0),%r1 // ENTRY_IODC
|
||||
bv,n (%r1)
|
||||
.iodc_panic_ret:
|
||||
b . /* wait endless with ... */
|
||||
or %r10,%r10,%r10 /* qemu idle sleep */
|
||||
msg1: .ascii "Can't boot kernel which was built for PA8x00 CPUs on this machine.\r\n"
|
||||
msg1_end:
|
||||
|
||||
$cpu_ok:
|
||||
#endif
|
||||
|
||||
.level PA_ASM_LEVEL
|
||||
|
||||
/* Initialize startup VM. Just map first 16/32 MB of memory */
|
||||
load32 PA(swapper_pg_dir),%r4
|
||||
mtctl %r4,%cr24 /* Initialize kernel root pointer */
|
||||
|
||||
@@ -413,7 +413,7 @@
|
||||
412 32 utimensat_time64 sys_utimensat sys_utimensat
|
||||
413 32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64
|
||||
414 32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64
|
||||
416 32 io_pgetevents_time64 sys_io_pgetevents sys_io_pgetevents
|
||||
416 32 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64
|
||||
417 32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64
|
||||
418 32 mq_timedsend_time64 sys_mq_timedsend sys_mq_timedsend
|
||||
419 32 mq_timedreceive_time64 sys_mq_timedreceive sys_mq_timedreceive
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
#define R1(i) (((i)>>21)&0x1f)
|
||||
#define R2(i) (((i)>>16)&0x1f)
|
||||
#define R3(i) ((i)&0x1f)
|
||||
#define FR3(i) ((((i)<<1)&0x1f)|(((i)>>6)&1))
|
||||
#define FR3(i) ((((i)&0x1f)<<1)|(((i)>>6)&1))
|
||||
#define IM(i,n) (((i)>>1&((1<<(n-1))-1))|((i)&1?((0-1L)<<(n-1)):0))
|
||||
#define IM5_2(i) IM((i)>>16,5)
|
||||
#define IM5_3(i) IM((i),5)
|
||||
|
||||
@@ -17,23 +17,6 @@ HAS_BIARCH := $(call cc-option-yn, -m32)
|
||||
# Set default 32 bits cross compilers for vdso and boot wrapper
|
||||
CROSS32_COMPILE ?=
|
||||
|
||||
ifeq ($(HAS_BIARCH),y)
|
||||
ifeq ($(CROSS32_COMPILE),)
|
||||
ifdef CONFIG_PPC32
|
||||
# These options will be overridden by any -mcpu option that the CPU
|
||||
# or platform code sets later on the command line, but they are needed
|
||||
# to set a sane 32-bit cpu target for the 64-bit cross compiler which
|
||||
# may default to the wrong ISA.
|
||||
KBUILD_CFLAGS += -mcpu=powerpc
|
||||
KBUILD_AFLAGS += -mcpu=powerpc
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_PPC_BOOK3S_32
|
||||
KBUILD_CFLAGS += -mcpu=powerpc
|
||||
endif
|
||||
|
||||
# If we're on a ppc/ppc64/ppc64le machine use that defconfig, otherwise just use
|
||||
# ppc64_defconfig because we have nothing better to go on.
|
||||
uname := $(shell uname -m)
|
||||
@@ -192,6 +175,7 @@ endif
|
||||
endif
|
||||
|
||||
CFLAGS-$(CONFIG_TARGET_CPU_BOOL) += $(call cc-option,-mcpu=$(CONFIG_TARGET_CPU))
|
||||
AFLAGS-$(CONFIG_TARGET_CPU_BOOL) += $(call cc-option,-mcpu=$(CONFIG_TARGET_CPU))
|
||||
|
||||
# Altivec option not allowed with e500mc64 in GCC.
|
||||
ifdef CONFIG_ALTIVEC
|
||||
@@ -202,14 +186,6 @@ endif
|
||||
CFLAGS-$(CONFIG_E5500_CPU) += $(E5500_CPU)
|
||||
CFLAGS-$(CONFIG_E6500_CPU) += $(call cc-option,-mcpu=e6500,$(E5500_CPU))
|
||||
|
||||
ifdef CONFIG_PPC32
|
||||
ifdef CONFIG_PPC_E500MC
|
||||
CFLAGS-y += $(call cc-option,-mcpu=e500mc,-mcpu=powerpc)
|
||||
else
|
||||
CFLAGS-$(CONFIG_E500) += $(call cc-option,-mcpu=8540 -msoft-float,-mcpu=powerpc)
|
||||
endif
|
||||
endif
|
||||
|
||||
asinstr := $(call as-instr,lis 9$(comma)foo@high,-DHAVE_AS_ATHIGH=1)
|
||||
|
||||
KBUILD_CPPFLAGS += -I $(srctree)/arch/$(ARCH) $(asinstr)
|
||||
|
||||
@@ -66,23 +66,35 @@ void set_pci_dma_ops(const struct dma_map_ops *dma_ops)
|
||||
pci_dma_ops = dma_ops;
|
||||
}
|
||||
|
||||
/*
|
||||
* This function should run under locking protection, specifically
|
||||
* hose_spinlock.
|
||||
*/
|
||||
static int get_phb_number(struct device_node *dn)
|
||||
{
|
||||
int ret, phb_id = -1;
|
||||
u32 prop_32;
|
||||
u64 prop;
|
||||
|
||||
/*
|
||||
* Try fixed PHB numbering first, by checking archs and reading
|
||||
* the respective device-tree properties. Firstly, try powernv by
|
||||
* reading "ibm,opal-phbid", only present in OPAL environment.
|
||||
* the respective device-tree properties. Firstly, try reading
|
||||
* standard "linux,pci-domain", then try reading "ibm,opal-phbid"
|
||||
* (only present in powernv OPAL environment), then try device-tree
|
||||
* alias and as the last try to use lower bits of "reg" property.
|
||||
*/
|
||||
ret = of_property_read_u64(dn, "ibm,opal-phbid", &prop);
|
||||
ret = of_get_pci_domain_nr(dn);
|
||||
if (ret >= 0) {
|
||||
prop = ret;
|
||||
ret = 0;
|
||||
}
|
||||
if (ret)
|
||||
ret = of_property_read_u64(dn, "ibm,opal-phbid", &prop);
|
||||
|
||||
if (ret) {
|
||||
ret = of_alias_get_id(dn, "pci");
|
||||
if (ret >= 0) {
|
||||
prop = ret;
|
||||
ret = 0;
|
||||
}
|
||||
}
|
||||
if (ret) {
|
||||
u32 prop_32;
|
||||
ret = of_property_read_u32_index(dn, "reg", 1, &prop_32);
|
||||
prop = prop_32;
|
||||
}
|
||||
@@ -90,18 +102,20 @@ static int get_phb_number(struct device_node *dn)
|
||||
if (!ret)
|
||||
phb_id = (int)(prop & (MAX_PHBS - 1));
|
||||
|
||||
spin_lock(&hose_spinlock);
|
||||
|
||||
/* We need to be sure to not use the same PHB number twice. */
|
||||
if ((phb_id >= 0) && !test_and_set_bit(phb_id, phb_bitmap))
|
||||
return phb_id;
|
||||
goto out_unlock;
|
||||
|
||||
/*
|
||||
* If not pseries nor powernv, or if fixed PHB numbering tried to add
|
||||
* the same PHB number twice, then fallback to dynamic PHB numbering.
|
||||
*/
|
||||
/* If everything fails then fallback to dynamic PHB numbering. */
|
||||
phb_id = find_first_zero_bit(phb_bitmap, MAX_PHBS);
|
||||
BUG_ON(phb_id >= MAX_PHBS);
|
||||
set_bit(phb_id, phb_bitmap);
|
||||
|
||||
out_unlock:
|
||||
spin_unlock(&hose_spinlock);
|
||||
|
||||
return phb_id;
|
||||
}
|
||||
|
||||
@@ -112,10 +126,13 @@ struct pci_controller *pcibios_alloc_controller(struct device_node *dev)
|
||||
phb = zalloc_maybe_bootmem(sizeof(struct pci_controller), GFP_KERNEL);
|
||||
if (phb == NULL)
|
||||
return NULL;
|
||||
spin_lock(&hose_spinlock);
|
||||
|
||||
phb->global_number = get_phb_number(dev);
|
||||
|
||||
spin_lock(&hose_spinlock);
|
||||
list_add_tail(&phb->list_node, &hose_list);
|
||||
spin_unlock(&hose_spinlock);
|
||||
|
||||
phb->dn = dev;
|
||||
phb->is_dynamic = slab_is_available();
|
||||
#ifdef CONFIG_PPC64
|
||||
|
||||
@@ -740,6 +740,13 @@ void __init early_init_devtree(void *params)
|
||||
of_scan_flat_dt(early_init_dt_scan_root, NULL);
|
||||
of_scan_flat_dt(early_init_dt_scan_memory_ppc, NULL);
|
||||
|
||||
/*
|
||||
* As generic code authors expect to be able to use static keys
|
||||
* in early_param() handlers, we initialize the static keys just
|
||||
* before parsing early params (it's fine to call jump_label_init()
|
||||
* more than once).
|
||||
*/
|
||||
jump_label_init();
|
||||
parse_early_param();
|
||||
|
||||
/* make sure we've parsed cmdline for mem= before this */
|
||||
|
||||
@@ -25,6 +25,7 @@ sys_call_table:
|
||||
#include <asm/syscall_table_64.h>
|
||||
#undef __SYSCALL
|
||||
#else
|
||||
.p2align 2
|
||||
#define __SYSCALL(nr, entry) .long entry
|
||||
#include <asm/syscall_table_32.h>
|
||||
#undef __SYSCALL
|
||||
|
||||
@@ -17,9 +17,9 @@ static const struct flag_info flag_array[] = {
|
||||
.clear = " ",
|
||||
}, {
|
||||
.mask = _PAGE_RW,
|
||||
.val = _PAGE_RW,
|
||||
.set = "rw",
|
||||
.clear = "r ",
|
||||
.val = 0,
|
||||
.set = "r ",
|
||||
.clear = "rw",
|
||||
}, {
|
||||
.mask = _PAGE_EXEC,
|
||||
.val = _PAGE_EXEC,
|
||||
|
||||
@@ -118,9 +118,9 @@ config GENERIC_CPU
|
||||
depends on PPC64 && CPU_LITTLE_ENDIAN
|
||||
select ARCH_HAS_FAST_MULTIPLIER
|
||||
|
||||
config GENERIC_CPU
|
||||
config POWERPC_CPU
|
||||
bool "Generic 32 bits powerpc"
|
||||
depends on PPC32 && !PPC_8xx
|
||||
depends on PPC32 && !PPC_8xx && !PPC_85xx
|
||||
|
||||
config CELL_CPU
|
||||
bool "Cell Broadband Engine"
|
||||
@@ -151,11 +151,11 @@ config POWER9_CPU
|
||||
|
||||
config E5500_CPU
|
||||
bool "Freescale e5500"
|
||||
depends on E500
|
||||
depends on PPC64 && E500
|
||||
|
||||
config E6500_CPU
|
||||
bool "Freescale e6500"
|
||||
depends on E500
|
||||
depends on PPC64 && E500
|
||||
|
||||
config 860_CPU
|
||||
bool "8xx family"
|
||||
@@ -174,11 +174,23 @@ config G4_CPU
|
||||
depends on PPC_BOOK3S_32
|
||||
select ALTIVEC
|
||||
|
||||
config E500_CPU
|
||||
bool "e500 (8540)"
|
||||
depends on PPC_85xx && !PPC_E500MC
|
||||
|
||||
config E500MC_CPU
|
||||
bool "e500mc"
|
||||
depends on PPC_85xx && PPC_E500MC
|
||||
|
||||
config TOOLCHAIN_DEFAULT_CPU
|
||||
bool "Rely on the toolchain's implicit default CPU"
|
||||
depends on PPC32
|
||||
|
||||
endchoice
|
||||
|
||||
config TARGET_CPU_BOOL
|
||||
bool
|
||||
default !GENERIC_CPU
|
||||
default !GENERIC_CPU && !TOOLCHAIN_DEFAULT_CPU
|
||||
|
||||
config TARGET_CPU
|
||||
string
|
||||
@@ -193,6 +205,9 @@ config TARGET_CPU
|
||||
default "e300c2" if E300C2_CPU
|
||||
default "e300c3" if E300C3_CPU
|
||||
default "G4" if G4_CPU
|
||||
default "8540" if E500_CPU
|
||||
default "e500mc" if E500MC_CPU
|
||||
default "powerpc" if POWERPC_CPU
|
||||
|
||||
config PPC_BOOK3S
|
||||
def_bool y
|
||||
|
||||
@@ -226,6 +226,7 @@ static int setup_msi_msg_address(struct pci_dev *dev, struct msi_msg *msg)
|
||||
if (!prop) {
|
||||
dev_dbg(&dev->dev,
|
||||
"axon_msi: no msi-address-(32|64) properties found\n");
|
||||
of_node_put(dn);
|
||||
return -ENOENT;
|
||||
}
|
||||
|
||||
|
||||
@@ -671,6 +671,7 @@ spufs_init_isolated_loader(void)
|
||||
return;
|
||||
|
||||
loader = of_get_property(dn, "loader", &size);
|
||||
of_node_put(dn);
|
||||
if (!loader)
|
||||
return;
|
||||
|
||||
|
||||
@@ -63,6 +63,8 @@ int powernv_get_random_real_mode(unsigned long *v)
|
||||
struct powernv_rng *rng;
|
||||
|
||||
rng = raw_cpu_read(powernv_rng);
|
||||
if (!rng)
|
||||
return 0;
|
||||
|
||||
*v = rng_whiten(rng, __raw_rm_readq(rng->regs_real));
|
||||
|
||||
|
||||
@@ -520,6 +520,7 @@ int fsl_add_bridge(struct platform_device *pdev, int is_primary)
|
||||
struct resource rsrc;
|
||||
const int *bus_range;
|
||||
u8 hdr_type, progif;
|
||||
u32 class_code;
|
||||
struct device_node *dev;
|
||||
struct ccsr_pci __iomem *pci;
|
||||
u16 temp;
|
||||
@@ -593,6 +594,13 @@ int fsl_add_bridge(struct platform_device *pdev, int is_primary)
|
||||
PPC_INDIRECT_TYPE_SURPRESS_PRIMARY_BUS;
|
||||
if (fsl_pcie_check_link(hose))
|
||||
hose->indirect_type |= PPC_INDIRECT_TYPE_NO_PCIE_LINK;
|
||||
/* Fix Class Code to PCI_CLASS_BRIDGE_PCI_NORMAL for pre-3.0 controller */
|
||||
if (in_be32(&pci->block_rev1) < PCIE_IP_REV_3_0) {
|
||||
early_read_config_dword(hose, 0, 0, PCIE_FSL_CSR_CLASSCODE, &class_code);
|
||||
class_code &= 0xff;
|
||||
class_code |= PCI_CLASS_BRIDGE_PCI_NORMAL << 8;
|
||||
early_write_config_dword(hose, 0, 0, PCIE_FSL_CSR_CLASSCODE, class_code);
|
||||
}
|
||||
} else {
|
||||
/*
|
||||
* Set PBFR(PCI Bus Function Register)[10] = 1 to
|
||||
|
||||
@@ -18,6 +18,7 @@ struct platform_device;
|
||||
|
||||
#define PCIE_LTSSM 0x0404 /* PCIE Link Training and Status */
|
||||
#define PCIE_LTSSM_L0 0x16 /* L0 state */
|
||||
#define PCIE_FSL_CSR_CLASSCODE 0x474 /* FSL GPEX CSR */
|
||||
#define PCIE_IP_REV_2_2 0x02080202 /* PCIE IP block version Rev2.2 */
|
||||
#define PCIE_IP_REV_3_0 0x02080300 /* PCIE IP block version Rev3.0 */
|
||||
#define PIWAR_EN 0x80000000 /* Enable */
|
||||
|
||||
@@ -683,6 +683,7 @@ static bool xive_get_max_prio(u8 *max_prio)
|
||||
}
|
||||
|
||||
reg = of_get_property(rootdn, "ibm,plat-res-int-priorities", &len);
|
||||
of_node_put(rootdn);
|
||||
if (!reg) {
|
||||
pr_err("Failed to read 'ibm,plat-res-int-priorities' property\n");
|
||||
return false;
|
||||
|
||||
@@ -18,9 +18,8 @@ static long riscv_sys_mmap(unsigned long addr, unsigned long len,
|
||||
if (unlikely(offset & (~PAGE_MASK >> page_shift_offset)))
|
||||
return -EINVAL;
|
||||
|
||||
if ((prot & PROT_WRITE) && (prot & PROT_EXEC))
|
||||
if (unlikely(!(prot & PROT_READ)))
|
||||
return -EINVAL;
|
||||
if (unlikely((prot & PROT_WRITE) && !(prot & PROT_READ)))
|
||||
return -EINVAL;
|
||||
|
||||
return ksys_mmap_pgoff(addr, len, prot, flags, fd,
|
||||
offset >> (PAGE_SHIFT - page_shift_offset));
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <linux/mm.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/kexec.h>
|
||||
|
||||
#include <asm/processor.h>
|
||||
#include <asm/ptrace.h>
|
||||
@@ -43,6 +44,9 @@ void die(struct pt_regs *regs, const char *str)
|
||||
|
||||
ret = notify_die(DIE_OOPS, str, regs, 0, regs->scause, SIGSEGV);
|
||||
|
||||
if (regs && kexec_should_crash(current))
|
||||
crash_kexec(regs);
|
||||
|
||||
bust_spinlocks(0);
|
||||
add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE);
|
||||
spin_unlock_irq(&die_lock);
|
||||
|
||||
@@ -437,7 +437,7 @@ __init int hypfs_diag_init(void)
|
||||
int rc;
|
||||
|
||||
if (diag204_probe()) {
|
||||
pr_err("The hardware system does not support hypfs\n");
|
||||
pr_info("The hardware system does not support hypfs\n");
|
||||
return -ENODATA;
|
||||
}
|
||||
|
||||
|
||||
@@ -501,9 +501,9 @@ fail_hypfs_sprp_exit:
|
||||
hypfs_vm_exit();
|
||||
fail_hypfs_diag_exit:
|
||||
hypfs_diag_exit();
|
||||
pr_err("Initialization of hypfs failed with rc=%i\n", rc);
|
||||
fail_dbfs_exit:
|
||||
hypfs_dbfs_exit();
|
||||
pr_err("Initialization of hypfs failed with rc=%i\n", rc);
|
||||
return rc;
|
||||
}
|
||||
device_initcall(hypfs_init)
|
||||
|
||||
@@ -35,9 +35,11 @@ static inline bool is_hugepage_only_range(struct mm_struct *mm,
|
||||
static inline int prepare_hugepage_range(struct file *file,
|
||||
unsigned long addr, unsigned long len)
|
||||
{
|
||||
if (len & ~HPAGE_MASK)
|
||||
struct hstate *h = hstate_file(file);
|
||||
|
||||
if (len & ~huge_page_mask(h))
|
||||
return -EINVAL;
|
||||
if (addr & ~HPAGE_MASK)
|
||||
if (addr & ~huge_page_mask(h))
|
||||
return -EINVAL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ int s390_verify_sig(const char *kernel, unsigned long kernel_len)
|
||||
const unsigned long marker_len = sizeof(MODULE_SIG_STRING) - 1;
|
||||
struct module_signature *ms;
|
||||
unsigned long sig_len;
|
||||
int ret;
|
||||
|
||||
/* Skip signature verification when not secure IPLed. */
|
||||
if (!ipl_secure_flag)
|
||||
@@ -63,11 +64,18 @@ int s390_verify_sig(const char *kernel, unsigned long kernel_len)
|
||||
return -EBADMSG;
|
||||
}
|
||||
|
||||
return verify_pkcs7_signature(kernel, kernel_len,
|
||||
kernel + kernel_len, sig_len,
|
||||
VERIFY_USE_PLATFORM_KEYRING,
|
||||
VERIFYING_MODULE_SIGNATURE,
|
||||
NULL, NULL);
|
||||
ret = verify_pkcs7_signature(kernel, kernel_len,
|
||||
kernel + kernel_len, sig_len,
|
||||
VERIFY_USE_SECONDARY_KEYRING,
|
||||
VERIFYING_MODULE_SIGNATURE,
|
||||
NULL, NULL);
|
||||
if (ret == -ENOKEY && IS_ENABLED(CONFIG_INTEGRITY_PLATFORM_KEYRING))
|
||||
ret = verify_pkcs7_signature(kernel, kernel_len,
|
||||
kernel + kernel_len, sig_len,
|
||||
VERIFY_USE_PLATFORM_KEYRING,
|
||||
VERIFYING_MODULE_SIGNATURE,
|
||||
NULL, NULL);
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_KEXEC_SIG */
|
||||
|
||||
|
||||
@@ -76,6 +76,18 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
|
||||
|
||||
memcpy(dst, src, arch_task_struct_size);
|
||||
dst->thread.fpu.regs = dst->thread.fpu.fprs;
|
||||
|
||||
/*
|
||||
* Don't transfer over the runtime instrumentation or the guarded
|
||||
* storage control block pointers. These fields are cleared here instead
|
||||
* of in copy_thread() to avoid premature freeing of associated memory
|
||||
* on fork() failure. Wait to clear the RI flag because ->stack still
|
||||
* refers to the source thread.
|
||||
*/
|
||||
dst->thread.ri_cb = NULL;
|
||||
dst->thread.gs_cb = NULL;
|
||||
dst->thread.gs_bc_cb = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -133,13 +145,11 @@ int copy_thread_tls(unsigned long clone_flags, unsigned long new_stackp,
|
||||
frame->childregs.flags = 0;
|
||||
if (new_stackp)
|
||||
frame->childregs.gprs[15] = new_stackp;
|
||||
|
||||
/* Don't copy runtime instrumentation info */
|
||||
p->thread.ri_cb = NULL;
|
||||
/*
|
||||
* Clear the runtime instrumentation flag after the above childregs
|
||||
* copy. The CB pointer was already cleared in arch_dup_task_struct().
|
||||
*/
|
||||
frame->childregs.psw.mask &= ~PSW_MASK_RI;
|
||||
/* Don't copy guarded storage control block */
|
||||
p->thread.gs_cb = NULL;
|
||||
p->thread.gs_bc_cb = NULL;
|
||||
|
||||
/* Set a new TLS ? */
|
||||
if (clone_flags & CLONE_SETTLS) {
|
||||
|
||||
@@ -124,6 +124,7 @@ SECTIONS
|
||||
/*
|
||||
* Table with the patch locations to undo expolines
|
||||
*/
|
||||
. = ALIGN(4);
|
||||
.nospec_call_table : {
|
||||
__nospec_call_start = . ;
|
||||
*(.s390_indirect*)
|
||||
|
||||
@@ -432,7 +432,9 @@ static inline vm_fault_t do_exception(struct pt_regs *regs, int access)
|
||||
flags = FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE;
|
||||
if (user_mode(regs))
|
||||
flags |= FAULT_FLAG_USER;
|
||||
if (access == VM_WRITE || (trans_exc_code & store_indication) == 0x400)
|
||||
if ((trans_exc_code & store_indication) == 0x400)
|
||||
access = VM_WRITE;
|
||||
if (access == VM_WRITE)
|
||||
flags |= FAULT_FLAG_WRITE;
|
||||
down_read(&mm->mmap_sem);
|
||||
|
||||
|
||||
@@ -132,10 +132,18 @@ export LDS_ELF_FORMAT := $(ELF_FORMAT)
|
||||
# The wrappers will select whether using "malloc" or the kernel allocator.
|
||||
LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
|
||||
|
||||
# Avoid binutils 2.39+ warnings by marking the stack non-executable and
|
||||
# ignorning warnings for the kallsyms sections.
|
||||
LDFLAGS_EXECSTACK = -z noexecstack
|
||||
ifeq ($(CONFIG_LD_IS_BFD),y)
|
||||
LDFLAGS_EXECSTACK += $(call ld-option,--no-warn-rwx-segments)
|
||||
endif
|
||||
|
||||
LD_FLAGS_CMDLINE = $(foreach opt,$(KBUILD_LDFLAGS),-Wl,$(opt))
|
||||
|
||||
# Used by link-vmlinux.sh which has special support for um link
|
||||
export CFLAGS_vmlinux := $(LINK-y) $(LINK_WRAPS) $(LD_FLAGS_CMDLINE)
|
||||
export LDFLAGS_vmlinux := $(LDFLAGS_EXECSTACK)
|
||||
|
||||
# When cleaning we don't include .config, so we don't include
|
||||
# TT or skas makefiles and don't clean skas_ptregs.h.
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
#include <sched.h>
|
||||
#include <errno.h>
|
||||
@@ -641,10 +642,24 @@ void halt_skas(void)
|
||||
UML_LONGJMP(&initial_jmpbuf, INIT_JMP_HALT);
|
||||
}
|
||||
|
||||
static bool noreboot;
|
||||
|
||||
static int __init noreboot_cmd_param(char *str, int *add)
|
||||
{
|
||||
noreboot = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
__uml_setup("noreboot", noreboot_cmd_param,
|
||||
"noreboot\n"
|
||||
" Rather than rebooting, exit always, akin to QEMU's -no-reboot option.\n"
|
||||
" This is useful if you're using CONFIG_PANIC_TIMEOUT in order to catch\n"
|
||||
" crashes in CI\n");
|
||||
|
||||
void reboot_skas(void)
|
||||
{
|
||||
block_signals_trace();
|
||||
UML_LONGJMP(&initial_jmpbuf, INIT_JMP_REBOOT);
|
||||
UML_LONGJMP(&initial_jmpbuf, noreboot ? INIT_JMP_HALT : INIT_JMP_REBOOT);
|
||||
}
|
||||
|
||||
void __switch_mm(struct mm_id *mm_idp)
|
||||
|
||||
@@ -100,7 +100,7 @@ $(obj)/zoffset.h: $(obj)/compressed/vmlinux FORCE
|
||||
AFLAGS_header.o += -I$(objtree)/$(obj)
|
||||
$(obj)/header.o: $(obj)/zoffset.h
|
||||
|
||||
LDFLAGS_setup.elf := -m elf_i386 -T
|
||||
LDFLAGS_setup.elf := -m elf_i386 -z noexecstack -T
|
||||
$(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE
|
||||
$(call if_changed,ld)
|
||||
|
||||
|
||||
@@ -57,6 +57,10 @@ else
|
||||
KBUILD_LDFLAGS += $(shell $(LD) --help 2>&1 | grep -q "\-z noreloc-overflow" \
|
||||
&& echo "-z noreloc-overflow -pie --no-dynamic-linker")
|
||||
endif
|
||||
|
||||
KBUILD_LDFLAGS += -z noexecstack
|
||||
KBUILD_LDFLAGS += $(call ld-option,--no-warn-rwx-segments)
|
||||
|
||||
LDFLAGS_vmlinux := -T
|
||||
|
||||
hostprogs-y := mkpiggy
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user