Merge tag 'android11-5.4.147_r00' android11-5.4
This is the merge of the upstream LTS release of 5.4.147 into the android11-5.4 branch. It contains the following commits:5e10f36746Merge 5.4.147 into android11-5.4-lts48a24510c3Linux 5.4.1471f8ee02449Revert "time: Handle negative seconds correctly in timespec64_to_ns()"dc15f641c6Revert "posix-cpu-timers: Force next expiration recalc after itimer reset"541e757944Revert "block: nbd: add sanity check for first_minor"5f3ecbf4d5Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue"d756462d85Merge 5.4.146 into android11-5.4-lts245f15a48cLinux 5.4.146b40facee46clk: kirkwood: Fix a clocking boot regression8810c51077backlight: pwm_bl: Improve bootloader/kernel device handover5de2ee621bfbmem: don't allow too huge resolutions4a95b04afaIMA: remove the dependency on CRYPTO_MD5c69935f0b0IMA: remove -Wmissing-prototypes warning85b0726d5bfuse: flush extending writes8a98ced6e1fuse: truncate pagecache on atomic_o_trunc06dad664d4KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter1735cec1e8KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted20fff3ef33KVM: s390: index kvm->arch.idle_mask by vcpu_idx0323ab5b25x86/resctrl: Fix a maybe-uninitialized build warning treated as error51f4575ca1perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op03c3e977eetty: Fix data race between tiocsti() and flush_to_ldisc()7a25a0a94ctime: Handle negative seconds correctly in timespec64_to_ns()ae968e270fbpf: Fix pointer arithmetic mask tightening under state pruninga0a4778feabpf: verifier: Allocate idmap scratch in verifier envf5893af270bpf: Fix leakage due to insufficient speculative store bypass mitigatione80c3533c3bpf: Introduce BPF nospec instruction for mitigating Spectre v41c9424a765ipv4: fix endianness issue in inet_rtm_getroute_build_skb()b3fe6d1921octeontx2-af: Fix loop in free and unmap counter8216d7157bnet: qualcomm: fix QCA7000 checksum handling4648917e49net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failede46e23c289ipv4: make exception cache less predictiblef73cbdd1b8ipv6: make exception cache less predictibleaa167dcde4brcmfmac: pcie: fix oops on failure to resume and reprobe5debec63a2bcma: Fix memory leak for internally-handled cores574e563649ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()d946e685d6ASoC: wcd9335: Disable irq on slave ports in the remove functionf3ec07f832ASoC: wcd9335: Fix a memory leak in the error handling path of the probe functiona6088f4ed3ASoC: wcd9335: Fix a double irq free in the remove function7bfa680f3btty: serial: fsl_lpuart: fix the wrong mapbase value0f1375fa69usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available06203abb72usb: ehci-orion: Handle errors of clk_prepare_enable() in probea0a9ecca2di2c: mt65xx: fix IRQ checkb444064a0eCIFS: Fix a potencially linear read overflowe37eeaf950bpf: Fix possible out of bound write in narrow load handlingfb8e695e9cmmc: moxart: Fix issue with uninitialized dma_slave_config48b1f117e8mmc: dw_mmc: Fix issue with uninitialized dma_slave_config57314d8414ASoC: Intel: Skylake: Fix module resource and format selection92397571c2ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCsb58cf18e38rsi: fix an error code in rsi_probe()d82fe3dd0brsi: fix error code in rsi_load_9116_firmware()4be8deab6fi2c: s3c2410: fix IRQ checkda3e5f3204i2c: iop3xx: fix deferred probing2da3272ae0Bluetooth: add timeout sanity check to hci_inquiry70d71611ebmm/swap: consider max pages in iomap_swapfile_add_extent8f5e26053cusb: gadget: mv_u3d: request_irq() after initializing UDCeb3c6a2501nfsd4: Fix forced-expiry locking81e69d3fddlockd: Fix invalid lockowner cast after vfs_test_locke1c02e2e6amac80211: Fix insufficient headroom issue for AMSDU606668e24ausb: phy: tahvo: add IRQ checkecf18ac8ffusb: host: ohci-tmio: add IRQ checkabbcd61d09Bluetooth: Move shutdown callback before flushing tx and rx queue93ec1fd04fusb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse30d9607bcdusb: phy: twl6030: add IRQ checkse1473ac285usb: phy: fsl-usb: add IRQ check9535f55d0cusb: gadget: udc: at91: add IRQ check05e5b16b79drm/msm/dsi: Fix some reference counted resource leaks5ccb04c6e1Bluetooth: fix repeated calls to sco_sock_killc2451d5439counter: 104-quad-8: Return error when invalid mode during ceiling_writea1194b805carm64: dts: exynos: correct GIC CPU interfaces address range on Exynos71b6fcd1037drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs156eaacba3PM: EM: Increase energy calculation precision5537dc810bBluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflowc0faa638f0debugfs: Return error during {full/open}_proxy_open() on rmmodf44714b4ebsoc: qcom: smsm: Fix missed interrupts if state changes while maskede7997fe3e9PCI: PM: Enable PME if it can be signaled from D3cold9e570f3d47PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistentlyf865b316ccmedia: venus: venc: Fix potential null pointer dereference on pointer fmtd2ea2f0725media: em28xx-input: fix refcount bug in em28xx_usb_disconnectebf570042bleds: trigger: audio: Add an activate callback to ensure the initial brightness is set0a01dc7766leds: lt3593: Put fwnode in any case during ->probe()e39c73563ai2c: highlander: add IRQ checkfba783ddd9net: cipso: fix warnings in netlbl_cipsov4_add_std9fdac650c4cgroup/cpuset: Fix a partition bug with hotplugffde058199net/mlx5e: Prohibit inner indir TIRs in IPoIB87f817c560ARM: dts: meson8b: ec100: Fix the pwm regulator supply propertiese55d7cbe1fARM: dts: meson8b: mxq: Fix the pwm regulator supply properties4b0bbc412bARM: dts: meson8b: odroidc1: Fix the pwm regulator supply propertiesf7058060c0ARM: dts: meson8: Use a higher default GPU clock frequency37ed461b52tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos9521362753drm/amdgpu/acp: Make PM domain really work252fad3d02netns: protect netns ID lookups with RCUbd1cd32caa6lowpan: iphc: Fix an off-by-one check of array indexc4895cf45fBluetooth: sco: prevent information leak in sco_conn_defer_accept()a96eb96ce4media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats7163014d7dmedia: go7007: remove redundant initialization8101492879media: dvb-usb: Fix error handling in dvb_usb_i2c_initfa8aaa7690media: dvb-usb: fix uninit-value in vp702x_read_mac_addr88933f9c93media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_initf81c89614esoc: qcom: rpmhpd: Use corner in power_off5b3987f583arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties6c106c7320ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi004778bf39bpf: Fix potential memleak and UAF in the verifier.fa4802c54ebpf: Fix a typo of reuseport map in bpf.h.9a193caf9dmedia: cxd2880-spi: Fix an error handling path34106f5260soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionallyb928930530media: TDA1997x: enable EDID support43282ca83adrm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()fc9cf22290EDAC/i10nm: Fix NVDIMM detection32d8a3684bspi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible4206dbc985spi: sprd: Fix the wrong WDG_LOAD_VAL1f70517eacregulator: vctrl: Avoid lockdep warning in enable/disable opsd255d6a645regulator: vctrl: Use locked regulator_get_voltage in probe path013177ccc4certs: Trigger creation of RSA module signing key if it's not an RSA keycc74533a47crypto: qat - use proper type for vf_maskb3fa499d72block: nbd: add sanity check for first_minorc60a31db39clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel6b10d3d3a9lib/mpi: use kcalloc in mpi_resize57c8e2ea47genirq/timings: Fix error return code in irq_timings_test_irqs()2d00b22c8bspi: spi-pic32: Fix issue with uninitialized dma_slave_configb29593d069spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config449884aeb3sched: Fix UCLAMP_FLAG_IDLE setting67da2d9c9em68k: emu: Fix invalid free in nfeth_cleanup()c68ba4a708s390/debug: fix debug area life cycle7a67a00ea8s390/kasan: fix large PMD pages address alignment check98296eb3deudf_get_extendedattr() had no boundary checks.ae4240d1f4fcntl: fix potential deadlock for &fasync_struct.fa_locka6273c8c2acrypto: qat - do not export adf_iov_putmsg()7dfa7bb69ecrypto: qat - fix naming for init/shutdown VF to PF notifications843b4e713acrypto: qat - fix reuse of completion variable4a98826455crypto: qat - handle both source of interrupt in VF ISRc2b3f81125crypto: qat - do not ignore errors from enable_vf2pf_comms()1c189ccef0libata: fix ata_host_start()e55b627d6es390/cio: add dev_busid sysfs entry for each subchannel0423517520power: supply: max17042_battery: fix typo in MAx17042_TOFFeb45ae88bfnvmet: pass back cntlid on successful completion6cb5d6ae68nvme-rdma: don't update queue count when failing to set io queues3073ec7f06nvme-tcp: don't update queue count when failing to set io queues93cf19b4d9bcache: add proper error unwinding in bcache_device_inite55f20798fisofs: joliet: Fix iocharset=utf8 mount option0f5cd92e5eudf: Fix iocharset=utf8 mount option86987cf0fbudf: Check LVID earliercc608af36ehrtimer: Ensure timerfd notification for HIGHRES=na845787830hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()c322a963d5posix-cpu-timers: Force next expiration recalc after itimer reset28996dbb8arcu/tree: Handle VM stoppage in stall detectionb7c560ae51sched/deadline: Fix missing clock update in migrate_task_rq_dl()40db13e3efcrypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()ebf0f71ae3power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errorsbba2b82d1bsched/deadline: Fix reset_on_fork reporting of DL tasks53a6ef40c6crypto: mxs-dcp - Check for DMA mapping errors344a38789aregmap: fix the offset of register error loga5e42516a6locking/mutex: Fix HANDOFF conditionf019fa5605Merge branch 'android11-5.4' into 'android11-5.4-lts'80833b7bc2ANDROID: GKI: db845c: Update symbols list and ABI for lts v5.4.1449ccfa71ab0Merge 5.4.145 into android11-5.4-ltsa0f68fb55eLinux 5.4.145d83f0b39e7PCI: Call Max Payload Size-related fixup quirks early0c8277e334x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versionsd31a4c35b9xhci: fix unsafe memory usage in xhci tracinge00d39ca92usb: mtu3: fix the wrong HS mult valuec3ffd35014usb: mtu3: use @mult for HS isoc or intr00b6325590usb: host: xhci-rcar: Don't reload firmware after the completion7a74ae301cALSA: usb-audio: Add registration quirk for JBL Quantum 800c1ea74f642Revert "btrfs: compression: don't try to compress if we don't have enough pages"f05c74e104x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gatingb1ca1665e6Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"cf1222b877mm/page_alloc: speed up the iteration of max_order17d409c83enet: ll_temac: Remove left-over debug messageccadb91437powerpc/boot: Delete unneeded .globl _zimage_start295501c77cipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table (v2)6dec8e17b8USB: serial: mos7720: improve OOM-handling in read_mos_reg()d84708451digmp: Add ip_mc_list lock in ip_check_mc_rcucd8ad6ed9amedia: stkwebcam: fix memory leak in stk_camera_probe9febc9153fARC: wireup clone3 syscall417b11d325ALSA: pcm: fix divide error in snd_pcm_lib_ioctlcf28619cd9ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17a8146f1490ARM: 8918/2: only build return_address() if neededebad44b643cryptoloop: add a deprecation warningd12526ddf5perf/x86/amd/power: Assign pmu.modulebe1f76fceeperf/x86/amd/ibs: Work around erratum #1197861118d64eperf/x86/intel/pt: Fix mask of num_address_ranges40d23de514qede: Fix memset corruption468623f696net: macb: Add a NULL check on desc_ptp50f73f31aeqed: Fix the VF msix vectors flow92abb09f7areset: reset-zynqmp: Fixed the argument data typeb820c4c651gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats48051387faxtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG56c77c1b52kthread: Fix PF_KTHREAD vs to_kthread() raceaf3cf928b9ubifs: report correct st_size for encrypted symlinksaa4e216156f2fs: report correct st_size for encrypted symlinks52d8e5b0abext4: report correct st_size for encrypted symlinks228a4203d8fscrypt: add fscrypt_symlink_getattr() for computing st_size9b3849ba66ext4: fix race writing to an inline_data file while its xattrs are changing8ac6727e49Revert "once: Fix panic when module unload"2e0ca55ea4Merge 5.4.144 into android11-5.4-ltsc6bf0ed9d1Linux 5.4.1440634c0f919audit: move put_tree() to avoid trim_trees refcount underflow and UAFcab0003311net: don't unconditionally copy_from_user a struct ifreq for socket ioctls6752b3b062Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"67871ada3aRevert "floppy: reintroduce O_NDELAY fix"d7f7eca72ebtrfs: fix NULL pointer dereference when deleting device by invalid ide644da7acearm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-884f76285f6dKVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs620681d720net: dsa: mt7530: fix VLAN traffic leaks again38adbf21f3bpf: Fix cast to pointer from integer of different size warning812ee47ad7bpf: Track contents of read-only maps as scalarsf441801520vt_kdsetmode: extend console locking8a19e00450btrfs: fix race between marking inode needs to be logged and log syncingf3a1ac258enet/rds: dma_map_sg is entitled to merge entriesad6a2bc758drm/nouveau/disp: power down unused DP links during init689179c462drm: Copy drm_wait_vblank to user before returning18ceb99f84qed: Fix null-pointer dereference in qed_rdma_create_qp()f1a0db49abqed: qed ll2 race condition fixes73ba9e4ecevringh: Use wiov->used to check for read/write desc orderee52acae6fvirtio_pci: Support surprise removal of virtio pci devicebe9b79e841virtio: Improve vq->broken access to avoid any compiler optimization0d4ba693dbopp: remove WARN when no valid OPPs remainbaf56a1d81perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u320ad96094abusb: gadget: u_audio: fix race condition on endpoint stopc5c2b4ca50drm/i915: Fix syncmap memory leak2f3cefa6abnet: hns3: fix get wrong pfc_en when query PFC configuration6f0c0b35e2net: hns3: fix duplicate node in VLAN list951805c23dnet: hns3: clear hardware resource when loading driver08162f6564rtnetlink: Return correct error on changing device netnsf58e42d192net: marvell: fix MVNETA_TX_IN_PRGRS bit number45454400a6xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'53b480e68cip_gre: add validation for csum_startbb8ca7e2e6RDMA/efa: Free IRQ vectors on error flowe29565b451e1000e: Fix the max snoop/no-snoop latency for 10M8a21e84334IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()944a50f56fRDMA/bnxt_re: Add missing spin lock initialization28b1895410scsi: core: Fix hang of freezing queue between blocking and running device628c582854usb: dwc3: gadget: Stop EP0 transfers during pullup disabled9da281c8fusb: dwc3: gadget: Fix dwc3_calc_trbs_left()21880abf19USB: serial: option: add new VID/PID to support Fibocom FG1502e098e91eeRevert "USB: serial: ch341: fix character loss at high transfer rates"16b281a70acan: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters765437d1f0mm, oom: make the calculation of oom badness more accurate1cccf5c030mmc: sdhci-msm: Update the software timeout value for sdhcaec1e470d9ovl: fix uninitialized pointer read in ovl_lookup_real_one()57bd5b59f1once: Fix panic when module unload5892f910f4netfilter: conntrack: collect all entries in one cycle7c95c89b69ARC: Fix CONFIG_STACKDEPOTa6b049aeefnet: qrtr: fix another OOB Read in qrtr_endpoint_postfeaf47115aMerge branch 'android11-5.4' into 'android11-5.4-lts'4a23ba6f12Merge branch 'android11-5.4' into 'android11-5.4-lts'406300927bRevert "virtio: Protect vqs list access"874997f95fMerge 5.4.143 into android11-5.4-lts2d724dbd16Revert "net: igmp: fix data-race in igmp_ifc_timer_expire()"50637be299Revert "net: igmp: increase size of mr_ifc_count"f5f155f4d6Revert "PCI/MSI: Protect msi_desc::masked for multi-MSI"5395faca89Merge 5.4.142 into android11-5.4-lts48266f7c1bMerge branch 'android11-5.4' into 'android11-5.4-lts'fd80923202Linux 5.4.1434bf1941581netfilter: nft_exthdr: fix endianness of tcp option caste4fd994f02fs: warn about impending deprecation of mandatory locks41c7f46c89mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim1a3aa81444mm, memcg: avoid stale protection values when cgroup is above protection9c1c449dccASoC: intel: atom: Fix breakage for PCM buffer address setup846ba58a7cPCI: Increase D3 delay for AMD Renoir/Cezanne XHCI548b75f490btrfs: prevent rename2 from exchanging a subvol with a directory from different parents0fc6a9c202ipack: tpci200: fix memory leak in the tpci200_register280d66b317ipack: tpci200: fix many double free issues in tpci200_pci_probecb7aa51031slimbus: ngd: reset dma setup during runtime pmabce32d0f7slimbus: messaging: check for valid transaction id0786d315f5slimbus: messaging: start transaction ids from 1 instead of zero20c2f141b1tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name8fbfebe188ALSA: hda - fix the 'Capture Switch' value change notifications85e60614d1mmc: dw_mmc: Fix hang on data CRC error4f6c9caf7bovl: add splice file read write helper85813f1f9eiavf: Fix ping is lost after untrusted VF had tried to change MACa498115dcdi40e: Fix ATR queue selection1b8a8fba78ovs: clear skb->tstamp in forwarding path84dbbf5482net: mdio-mux: Handle -EPROBE_DEFER correctly453486e79enet: mdio-mux: Don't ignore memory allocation errors6b70c67849net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32da92ce3645virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO9aeadce8e3virtio-net: support XDP when not more queues3ed7cf8386vrf: Reset skb conntrack connection on VRF rcv447b160289bnxt_en: Add missing DMA memory barriersc9566df334ptp_pch: Restore dependency on PCIa73b9aa142net: 6pack: fix slab-out-of-bounds in decode_data2bc7571343bnxt: disable napi before canceling DIMa9fb0f1559bnxt: don't lock the tx queue from napi poll1fe038030cbpf: Clear zext_dst of dead insns73a45f75a0vhost: Fix the calculation in vhost_overflow()b9a59636c4virtio: Protect vqs list accessb264e37b35dccp: add do-while-0 stubs for dccp_pr_debug macros9112ebc299cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variantcb9a9d5fe6iommu: Check if group is NULL before remove device911a8141efBluetooth: hidp: use correct wait queue when removing ctrl_wait5b14c1f16edrm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1Xf92dc3a89dnet: usb: lan78xx: don't modify phy_device state concurrentlybe70436799ARM: dts: nomadik: Fix up interrupt controller node names69aa1a1a56scsi: core: Fix capacity set to zero after offlinining device935de7ec7ascsi: core: Avoid printing an error if target_alloc() returns -ENXIO7a721a1e18scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()9900e06ae6scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()e37cf26bd5dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available12d1322d93ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps6521811145efd29dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()9c97a05392dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfersfc566b5a21USB: core: Avoid WARNings for 0-length descriptor requests1bd505c814media: drivers/media/usb: fix memory leak in zr364xx_probe705660a6d9media: zr364xx: fix memory leaks in probe()79dff2a3f4media: zr364xx: propagate errors from zr364xx_start_readpipe()7305d6d407mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards23f77ad13fath9k: Postpone key cache entry deletion for TXQ frames reference itc6feaf806dath: Modify ath_key_delete() to not need full key entryb7d593705eath: Export ath_hw_keysetmac()add283e251ath9k: Clear key cache explicitly on disabling hardware0c049ce432ath: Use safer key clearing with key cache entries172b91bbbbx86/fpu: Make init_fpstate correct with optimized XSAVE81d152c8daext4: fix EXT4_MAX_LOGICAL_BLOCK macro62d24bac60Merge branch 'android11-5.4' into 'android11-5.4-lts'c15b830f7cLinux 5.4.142a17f2f2c89KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)7c1c96ffb6KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)456fd88922iommu/vt-d: Fix agaw for a supported 48 bit guest address width5b5f855a79vmlinux.lds.h: Handle clang's module.{c,d}tor sectionse9b2b2b29cceph: take snap_empty_lock atomically with snaprealm refcount change95ff775df6ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm1d8c232afbceph: add some lockdep assertions around snaprealm handlinga6ff0f3f9fKVM: VMX: Use current VMCS to query WAITPKG support for MSR emulationec25d05e18PCI/MSI: Protect msi_desc::masked for multi-MSI48d2439c6fPCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()386ead1d35PCI/MSI: Correct misleading comments76d81dec16PCI/MSI: Do not set invalid bits in MSI mask6b4bcbf133PCI/MSI: Enforce MSI[X] entry updates to be visible4495a41fbcPCI/MSI: Enforce that MSI-X table entry is masked for update1866c8f6d4PCI/MSI: Mask all unused MSI-X entries3b4220c2bfPCI/MSI: Enable and mask MSI-X early0c8dea3fd5genirq/timings: Prevent potential array overflow in __irq_timings_store()4dfe809271genirq/msi: Ensure deactivation on teardowne3e54a9300x86/resctrl: Fix default monitoring groups reportinga6b594ad74x86/ioapic: Force affinity setup before startupdb5e266694x86/msi: Force affinity setup before startupeda32c2188genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP06b3477436x86/tools: Fix objdump version check again74451dd8bfpowerpc/kprobes: Fix kprobe Oops happens in bookeb74145d858nbd: Aovid double completion of a requestad9550114dvsock/virtio: avoid potential deadlock when vsock device removeb9cd73cce5xen/events: Fix race in set_evtchn_to_irq4d3c5c319bnet: igmp: increase size of mr_ifc_count721ff564cctcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets2ce8a68a31net: linkwatch: fix failure to restore device state across suspend/resume33597972a2net: bridge: fix memleak in br_add_if()f6eee53bebnet: dsa: sja1105: fix broken backpressure in .port_fdb_dump1e6a570d37net: dsa: lantiq: fix broken backpressure in .port_fdb_dump564f6bbd0enet: dsa: lan9303: fix broken backpressure in .port_fdb_dumpa9243455e8net: igmp: fix data-race in igmp_ifc_timer_expire()ed957c77b3net: Fix memory leak in ieee802154_raw_deliver13a381b8bcnet: dsa: microchip: Fix ksz_read64()991117eeeedrm/meson: fix colour distortion from HDR set during vendor u-boote114f15de8net/mlx5: Fix return value from tracer initializationf99aa76bb8psample: Add a fwd declaration for skbuff9dc8e396c1iavf: Set RSS LUT and key in reset handle path23436edae3net: sched: act_mirred: Reset ct info when mirror/redirect skb9636fbfe7bppp: Fix generating ifname when empty IFLA_IFNAME is specified1c31ee907fnet: phy: micrel: Fix link detection on ksz87xx switch"dfeb64f6e2platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables699db2bb96platform/x86: pcengines-apuv2: revert wiring up simswitch GPIO as LEDaf7f1539cfnet: dsa: mt7530: add the missing RxUnicast MIB counterd353a61860ASoC: cs42l42: Fix LRCLK frame start edgeb036452082netfilter: nf_conntrack_bridge: Fix memory leak when errorcd36a36ea4ASoC: cs42l42: Remove duplicate control for WNF filter frequencyeb789cc917ASoC: cs42l42: Fix inversion of ADC Notch Switch control6a33813363ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J55e86f07b8ASoC: cs42l42: Correct definition of ADC Volume control22d2e3c6a1ieee802154: hwsim: fix GPF in hwsim_new_edge_nl5bac8c2a30ieee802154: hwsim: fix GPF in hwsim_set_edge_lqiddcf807fbblibnvdimm/region: Fix label activation vs errorsbc97fde4c6ACPI: NFIT: Fix support for virtual SPA rangesa753e3f334ceph: reduce contention in ceph_check_delayed_caps()aa04486c41i2c: dev: zero out array used for i2c reads from userspacec18b28e5adASoC: intel: atom: Fix reference to PCM buffer addressaab3fa5446ASoC: xilinx: Fix reference to PCM buffer address60e2854acfiio: adc: Fix incorrect exit of for-loopbcac522592iio: humidity: hdc100x: Add margin to the conversion timeda7cb80905iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels7116e6b9d8Merge 5.4.141 into android11-5.4-ltsb704883aa8Linux 5.4.141983d6a6b7ebtrfs: don't flush from btrfs_delayed_inode_reserve_metadataea13f678a3btrfs: export and rename qgroup_reserve_meta41a9b8f36dbtrfs: qgroup: don't commit transaction when we already hold the handle38b8485b72net: xilinx_emaclite: Do not print real IOMEM pointer654c19a7e8btrfs: fix lockdep splat when enabling and disabling qgroupsc55442cdfdbtrfs: qgroup: remove ASYNC_COMMIT mechanism in favor of reserve retry-after-EDQUOTfdaf6a322fbtrfs: transaction: Cleanup unused TRANS_STATE_BLOCKED36af2de520btrfs: qgroup: try to flush qgroup space when we get -EDQUOT5c79287c2bbtrfs: qgroup: allow to unreserve range without releasing other rangesb7a722fd75btrfs: make btrfs_qgroup_reserve_data take btrfs_inodedfadea4061btrfs: make qgroup_free_reserved_data take btrfs_inode812f39ed5bovl: prevent private clone if bind mount is not allowedeeb4742501ppp: Fix generating ppp unit id when ifname is not specified3460f3959dALSA: hda: Add quirk for ASUS Flow x1381d1a3f976USB:ehci:fix Kunpeng920 ehci hardware problemd28adaabbbKVM: X86: MMU: Use the correct inherited permissions to get shadow page5f4ab7e25fusb: dwc3: gadget: Avoid runtime resume if disabling pullup1782c4af6busb: dwc3: gadget: Disable gadget IRQ during pullup disable54b7022f28usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disablee36245a68eusb: dwc3: gadget: Prevent EP queuing while stopping transfers823f692508usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup25a0625fa9usb: dwc3: gadget: Allow runtime suspend if UDC unbinded5f081a928dusb: dwc3: Stop active transfers before halting the controller396f29ea0ctracing: Reject string operand in the histogram expression28276c280fmedia: v4l2-mem2mem: always consider OUTPUT queue during poll236aca7092tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag5b774238e8KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCBc33130b10fMerge 5.4.140 into android11-5.4-ltsac1d54ea63Merge branch 'android11-5.4' into 'android11-5.4-lts'a998faa9c4Linux 5.4.1403c197fdd07arm64: fix compat syscall return truncation72fcaf6952net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset742e85fa9ealpha: Send stop IPI to send to online CPUs26946d2139virt_wifi: fix error on connect17d7c9c940reiserfs: check directory items on read from diskbcad6ece2areiserfs: add check for root_inode in reiserfs_fill_supere30a88f1f5libata: fix ata_pio_sector for CONFIG_HIGHMEMa2671d96a3bpf, selftests: Adjust few selftest result_unpriv outcomes4892b4f324perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guestd6cf5342fasoc: ixp4xx/qmgr: fix invalid __iomem accessa5bf7ef13espi: meson-spicc: fix memory leak in meson_spicc_remove27991c78d6soc: ixp4xx: fix printing resources07fd256d53arm64: vdso: Avoid ISB after reading from cntvct_el090e498ef3fKVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds2e1a80b934KVM: Do not leak memory for duplicate debugfs directories43486cd739KVM: x86: accept userspace interrupt only if no event is injected1b7b9713a5md/raid10: properly indicate failure when ending a failed write request790cb68d35pcmcia: i82092: fix a null pointer dereference bug42ac2c6348timers: Move clearing of base::timer_running under base:: Lock8211bb20daserial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.f73dcb5d63serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver607460d386MIPS: Malta: Do not byte-swap accesses to the CBUS UART3eb686d01cserial: 8250: Mask out floating 16/32-bit bus bits3b73a69962serial: 8250_mtk: fix uart corruption issue when rx power offafdef443a8serial: tegra: Only print FIFO error message when an error occurs097a183f9cext4: fix potential htree corruption when growing large_dir directoriesac23a17381pipe: increase minimum default pipe size to 2 pagesf3cae04bd4media: rtl28xxu: fix zero-length control requeste2f6d5b038staging: rtl8712: get rid of flush_scheduled_work8f241df0e6staging: rtl8723bs: Fix a resource leak in sd_int_dpcbbdd4a5162tpm_ftpm_tee: Free and unregister TEE shared memory during kexec3c712f14d8optee: Fix memory leak when failing to register shm pages0572199b78tee: add tee_shm_alloc_kernel_buf()b247bf412coptee: Clear stale cache entries during initialization7da261e6bbtracing / histogram: Give calculation hist_fields a sizeba22053f5dscripts/tracing: fix the bug that can't parse raw_trace_func8d1191f924clk: fix leak on devm_clk_bulk_get_all() unwinded5c9a49e6usb: otg-fsm: Fix hrtimer list corruption449a705fbausb: gadget: f_hid: idle uses the highest byte for duration02f336cee5usb: gadget: f_hid: fixed NULL pointer dereferencef780a9580cusb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers134e27da54usb: cdns3: Fixed incorrect gadget statedf1c6eec4eALSA: usb-audio: Add registration quirk for JBL Quantum 600639b45456eALSA: hda/realtek: add mic quirk for Acer SF314-42d09639528bfirmware_loader: fix use-after-free in firmware_fallback_sysfs1deb6b9030firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback0ee687e672USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v201b2c35b05USB: serial: ch341: fix character loss at high transfer rates9ed43cfaa7USB: serial: option: add Telit FD980 composition 0x1056518e81874cUSB: usbtmc: Fix RCU stall warningff29fe26abBluetooth: defer cleanup of resources in hci_unregister_dev()580c10a40cblk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()ed169b054bnet: vxge: fix use-after-free in vxge_device_unregisterc5549876a9net: fec: fix use-after-free in fec_drv_remove3fed6dee16net: pegasus: fix uninit-value in get_interrupt_interval75cef4fc07bnx2x: fix an error code in bnx2x_nic_load()437ee90d7bmips: Fix non-POSIX regexpb1fa6747b9net: ipv6: fix returned variable type in ip6_skb_dst_mtu3e63b566d9nfp: update ethtool reporting of pauseframe controld333503de1sctp: move the active_key update after sh_keys is addedde30346dd3gpio: tqmx86: really make IRQ optional9d440b5c1dnet: natsemi: Fix missing pci_disable_device() in probe and remove6934040698net: phy: micrel: Fix detection of ksz87xx switch2b8ab7aec0net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones71b0a935dbnet: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add88b7781609net, gro: Set inner transport header offset in tcp/udp GRO hookba3abe3f82dmaengine: imx-dma: configure the generic DMA type to make it workee2f81330amedia: videobuf2-core: dequeue if start_streaming fails3377f2f8c6scsi: sr: Return correct event when media event code is 3f588d4b7bespi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculationb58e3d59a5spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay2c1065d40aomap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator299e3968c0ARM: dts: am437x-l4: fix typo in can@0 node9cbe7e21ddclk: stm32f4: fix post divisor setup for I2S/SAI PLLs3f9eed4462ALSA: usb-audio: fix incorrect clock source setting16db40fc4aarm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode7c08460773ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins1b1f1aa225ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_initaecff98c3eARM: dts: colibri-imx6ull: limit SDIO clock to 25MHzc39907335bARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms61b71c5f51ARM: imx: add missing clk_disable_unprepare()d88d6bba3bARM: imx: add missing iounmap()6c629cd023arm64: dts: ls1028a: fix node name for the sysclk4a830a37d3ALSA: seq: Fix racy deletion of subscriber0658a45335Revert "ACPICA: Fix memory leak caused by _CID repair function"ea224455ddMerge 5.4.139 into android11-5.4-lts8ab681fd3fANDROID: GKI: fix up android/abi_gki_aarch64.xml merge1d03502d2eMerge branch 'android11-5.4' into 'android11-5.4-lts'e350cd02e2Linux 5.4.13903ff8a4f9dspi: mediatek: Fix fifo transfera0f66ddf05bpf, selftests: Adjust few selftest outcomes wrt unreachable coded3796e8f6bbpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones8dec99abcdbpf: Test_verifier, add alu32 bounds tracking testsfd568de580bpf: Fix leakage under speculation on mispredicted branchesd2f790327fbpf: Do not mark insn as seen under speculative path verification283d742988bpf: Inherit expanded/patched seen count from old aux dataa0a9546aaeRevert "watchdog: iTCO_wdt: Account for rebooting on second timeout"76f5314d78firmware: arm_scmi: Add delayed response status check1b38f70bbcfirmware: arm_scmi: Ensure drivers provide a probe function44f522298cRevert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"38f54217b4ACPI: fix NULL pointer dereference0ea2f55babnvme: fix nvme_setup_command metadata trace eventb508b652d4net: Fix zero-copy head len calculation.bf692e7ef6qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()6bc48348ecr8152: Fix potential PM refcount imbalancea57c75ff07ASoC: tlv320aic31xx: fix reversed bclk/wclk master bitse2cccb839aspi: stm32h7: fix full duplex irq handler handlingb72f2d9e91regulator: rt5033: Fix n_voltages settings for BUCK and LDO86f2a3e9aabtrfs: fix lost inode on log replay after mix of fsync, rename and inode evictionb7f0fa2192btrfs: fix race causing unnecessary inode logging during link and renamecb006da62abtrfs: do not commit logs and transactions during link and rename operations174c27d0f9btrfs: delete duplicated words + other fixes in commentsae7ff75631Merge 5.4.138 into android11-5.4-lts7b90d57b09Linux 5.4.1387eef18c047can: j1939: j1939_session_deactivate(): clarify lifetime of session object18b536de3bi40e: Add additional info to PHY type errord21eb93110Revert "perf map: Fix dso->nsinfo refcounting"16447b2f5cpowerpc/pseries: Fix regression while building external modules265883d1d8PCI: mvebu: Setup BAR0 in order to fix MSI21734a31c9can: hi311x: fix a signedness bug in hi3110_cmd()f4fa45b0f9sis900: Fix missing pci_disable_device() in probe and removedff00ce448tulip: windbond-840: Fix missing pci_disable_device() in probe and removee0310bbeaasctp: fix return value check in __sctp_rcv_asconf_lookup408614108anet/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()ac49832306net/mlx5: Fix flow table chaining527feae56fnet: llc: fix skb_over_panicede4c93860mlx4: Fix missing error code in mlx4_load_one()acb97d4b2dnet: Set true network header for ECN decapsulation851946a681tipc: fix sleeping in tipc accept routine194b71d28bi40e: Fix log TC creation failure when max num of queues is exceeded834af62212i40e: Fix queue-to-TC mapping on Tx74aea4b715i40e: Fix firmware LLDP agent related warningb2ab34e862i40e: Fix logic of disabling queues519582e44enetfilter: nft_nat: allow to specify layer 4 protocol NAT only3a7a4cee7bnetfilter: conntrack: adjust stop timestamp to real expiry value1c04378340cfg80211: Fix possible memory leak in function cfg80211_bss_update6cf2abea10nfc: nfcsim: fix use after free during module unload6b313d0ffaNIU: fix incorrect error return, missed in previous revertc4663c1627HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDTe9e2ce00aecan: esd_usb2: fix memory leak43726620b2can: ems_usb: fix memory leak8198673892can: usb_8dev: fix memory leaka051dbd17bcan: mcba_usb_start(): add missing urb->transfer_dma initialization793581441bcan: raw: raw_setsockopt(): fix raw_rcv panic for sock UAFc621638d0ecan: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750msa24d87b429ocfs2: issue zeroout to EOF blockseaaa4284e2ocfs2: fix zero out valid data9bd1092148KVM: add missing compat KVM_CLEAR_DIRTY_LOG7a94dfe5e2x86/kvm: fix vcpu-id indexed array sizes2dc291582cRevert "ACPI: resources: Add checks for ACPI IRQ override"a8eec69797btrfs: mark compressed range uptodate only if all bio succeed57429c1ec7btrfs: fix rw device counting in __btrfs_free_extra_devids61f2cbc792x86/asm: Ensure asm/proto.h can be included stand-alone99372c38a9net_sched: check error pointer in tcf_dump_walker()758a7acf8bMerge 5.4.137 into android11-5.4-lts911bc13b3aMerge branch 'android11-5.4' into 'android11-5.4-lts'5b1de8e15fLinux 5.4.137ebb1b38be0ipv6: ip6_finish_output2: set sk into newly allocated nskb6c04123962ARM: dts: versatile: Fix up interrupt controller node namesbefa900533iomap: remove the length variable in iomap_seek_hole83fb41b2f6iomap: remove the length variable in iomap_seek_data302e1acd4ccifs: fix the out of range assignment to bit fields in parse_server_interfaces02a470e3c6firmware: arm_scmi: Fix range check for the maximum number of pending messages289dd58431firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflowe3acb292f0hfs: add lock nesting notation to hfs_find_initaf1178296dhfs: fix high memory mapping in hfs_bnode_read89136a47e2hfs: add missing clean-up in hfs_fill_superded37d0344ipv6: allocate enough headroom in ip6_finish_output2()f65b7f377csctp: move 198 addresses from unusable to private scopec8d32973eenet: annotate data race around sk_ll_usecc23b9a5610net/802/garp: fix memleak in garp_request_join()88c4cae3ednet/802/mrp: fix memleak in mrp_request_join()eef99860c6cgroup1: fix leaked context root causing sporadic NULL deref in LTP7f0365b4daworkqueue: fix UAF in pwq_unbound_release_workfn()85abe0d47faf_unix: fix garbage collect vs MSG_PEEKaf45f3527aKVM: x86: determine if an exception has an error code only when injecting it.828cab3c8ctools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include525c5513b6selftest: fix build error in tools/testing/selftests/vm/userfaultfd.cfab7e04ebbANDROID: Update android/abi_gki_aarch64.xmlc1b1b25ee2ANDROID: Update android/abi_gki_aarch64_goldfishccc19b14a1Merge 5.4.136 into android11-5.4-lts253dccefb5Linux 5.4.136587f86b7a2xhci: add xhci_get_virt_ep() helperf9d0c35556perf inject: Close inject.output on exita9c103fa91PCI: Mark AMD Navi14 GPU ATS as broken11561d2f7bbtrfs: compression: don't try to compress if we don't have enough pages4980301e1ciio: accel: bma180: Fix BMA25x bandwidth register valuesd04f2582c4iio: accel: bma180: Use explicit member assignment4e0afa8895net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear2a4865d154net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz7d8c06b8d2drm: Return -ENOTTY for non-drm ioctlsb5d7bebd96nds32: fix up stack guard gapba378b7960rbd: always kick acquire on "acquired" and "released" notifications13066d6628rbd: don't hold lock_rwsem while running_list is being drainedb12ead825fhugetlbfs: fix mount mode command line processing60dbbd76f1userfaultfd: do not untag user pointers540eee8cbbselftest: use mmap instead of posix_memalign to allocate memorye706ac3fc8ixgbe: Fix packet corruption due to missing DMA synce617fa62f6media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()77713fb336btrfs: check for missing device in btrfs_trim_fsf899f24d34tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.59a9f75fb2tracing/histogram: Rename "cpu" to "common_cpu"379d8da335firmware/efi: Tell memblock about EFI iomem reservations281a94362busb: dwc2: gadget: Fix sending zero length packet in DDMA mode.167079fbfaUSB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick811c4cdf29USB: serial: cp210x: fix comments for GE CS1000f54ee7e16dUSB: serial: option: add support for u-blox LARA-R6 familye28d28eb9busb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()863d071dbcusb: max-3421: Prevent corruption of freed memorye4077a90e6USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UASda6f6769eeusb: hub: Fix link power management max exit latency (MEL) calculationsfea6b53e63usb: hub: Disable USB 3 device initiated lpm if exit latency is too high962ce043efKVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state2b9ffddd70KVM: PPC: Book3S: Fix H_RTAS rets buffer overflowc968f563ccxhci: Fix lost USB 2 remote wakea660ecde5cALSA: hdmi: Expose all pins on MSI MS-7C94 boardf73696354dALSA: sb: Fix potential ABBA deadlock in CSP driver7aa2dfbc6bALSA: usb-audio: Add registration quirk for JBL Quantum headsets46d62c3fe2ALSA: usb-audio: Add missing proc text entry for BESPOKEN typef1754f96abs390/boot: fix use of expolines in the DMA code8eb521d192s390/ftrace: fix ftrace_update_ftrace_func implementation268132b070Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one"f323809e31proc: Avoid mixing integer types in mem_rw()b71a75209fdrm/panel: raspberrypi-touchscreen: Prevent double-free2e6ab87f8enet: sched: cls_api: Fix the the wrong parameterb60461696asctp: update active_key for asoc when old key is being replaced9fa89c2caenvme: set the PRACT bit when using Write Zeroes with T10 PIc50141b3d7r8169: Avoid duplicate sysfs entry creation errorf726817d6bafs: Fix tracepoint string placement with built-in AFSb22c9e433bRevert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"69a49e7b5bnvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING8302513614ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptionsa88414fb11net/sched: act_skbmod: Skip non-Ethernet packetsc278b954ccnet: hns3: fix rx VLAN offload state inconsistent issue006ed6f4d0net/tcp_fastopen: fix data races around tfo_active_disable_stamp3942ba2356net: hisilicon: rename CACHE_LINE_MASK to avoid redefinitionf11f12decdbnxt_en: Check abort error state in bnxt_half_open_nic()16ce6cb786bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()c993e7aadcbnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()6ee8e6be30bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence.35637acc98spi: cadence: Correct initialisation of runtime PM again2f2150bf41scsi: target: Fix protect handling in WRITE SAME(32)a6cb717f85scsi: iscsi: Fix iface sysfs attr detection25df44e90fnetrom: Decrease sock refcount when sock timers expire8d7924ce85net: sched: fix memory leak in tcindex_partial_destroy_workf38527f189KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leakb85dadd434KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crashb3224bd318net: decnet: Fix sleeping inside in af_decnetbd2b3b13aaefi/tpm: Differentiate missing and invalid final event log table.9413c0abb5net: fix uninit-value in caif_seqpkt_sendmsg6d56299ff9bpftool: Check malloc return value in mount_bpffs_for_pinedec100986bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats58259e8b6es390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]cc876a5618liquidio: Fix unintentional sign extension issue on left shift of u1642fe8f433bASoC: rt5631: Fix regcache sync errors on resumed99aaf0736spi: mediatek: fix fifo rx mode08cdda8d89regulator: hi6421: Fix getting wrong drvdatab25be6bf64regulator: hi6421: Use correct variable type for regmap api val argumenta1ade24cccspi: stm32: fixes pm_runtime calls in probe/remove40e203ce74spi: stm32: Use dma_request_chan() instead dma_request_slave_channel()24b78097a8spi: imx: add a check for speed_hz before calculating the clock52cff6123aperf data: Close all files in close_dir()0f63857d10perf probe-file: Delete namelist in del_events() on the error path8b92ea243bperf lzma: Close lzma stream on exit51351c6d5aperf script: Fix memory 'threads' and 'cpus' leaks on exitd2bfc3eda9perf dso: Fix memory leak in dso__new_map()05804a7d22perf test event_update: Fix memory leak of evlistd257f3abdcperf test session_topology: Delete session->evlist89d1762a4aperf env: Fix sibling_dies memory leakfd335143beperf probe: Fix dso->nsinfo refcounting6513dee46fperf map: Fix dso->nsinfo refcountingff9fc81fa8nvme-pci: do not call nvme_dev_remove_admin from nvme_removed029df83c6cxgb4: fix IRQ free race during driver unloadae9b644344pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skippeda37ca2a076selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect05364a2794selftests: icmp_redirect: remove from checking for IPv6 route get7f4848229eipv6: fix 'disable_policy' for fwd packetsc67fb96f54gve: Fix an error handling path in 'gve_probe()'e33da4eeaaigb: Fix position of assignment to *ring7dd8977736igb: Check if num of q_vectors is smaller than max before array accessd3d7cceee8iavf: Fix an error handling path in 'iavf_probe()'7a13a8a8a5e1000e: Fix an error handling path in 'e1000_probe()'9fc381db75fm10k: Fix an error handling path in 'fm10k_probe()'5d6a04927bigb: Fix an error handling path in 'igb_probe()'cddd53237digc: Fix an error handling path in 'igc_probe()'47f69d8828igc: Prefer to use the pci_release_mem_regions method83b2d55a51ixgbe: Fix an error handling path in 'ixgbe_probe()'ba4fbb68fcigc: change default return of igc_read_phy_reg()88e0720133igb: Fix use-after-free error during reseta9508e0edfigc: Fix use-after-free error during resetf40a4f7a60Merge 5.4.135 into android11-5.4-lts0a0beb1f91Linux 5.4.135d2f7b384a7udp: annotate data races around unix_sk(sk)->gso_sizec72374978bperf test bpf: Free obj_buf17bc942c0bbpftool: Properly close va_list 'ap' by va_end() on error84ed834094ipv6: tcp: drop silly ICMPv6 packet too big messages315033cab3tcp: annotate data races around tp->mtu_info41f45e91c9dma-buf/sync_file: Don't leak fences on merge failure04b0671683net: fddi: fix UAF in fza_probe8aa13a8696net: validate lwtstate->data before returning from skb_tunnel_info()8cff7b28abnet: send SYNACK packet with accepted fwmarkb7e5563f2anet: ti: fix UAF in tlan_remove_one2b70ca9284net: qcom/emac: fix UAF in emac_remove463c0addb4net: moxa: fix UAF in moxart_mac_probe7ac4a6a74enet: ip_tunnel: fix mtu calculation for ETHER tunnel devicesd5dc50ca1fnet: bcmgenet: Ensure all TX/RX queues DMAs are disabled7ecd40801enet: bridge: sync fdb to new unicast-filtering ports813d45499fnet/sched: act_ct: fix err check for nf_conntrack_confirm2497307356netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfoc6f4a71153net: ipv6: fix return value of ip6_skb_dst_mtu9872273b67net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz6148ddff2dnet: dsa: mv88e6xxx: enable .port_set_policy() on Topazd73c180e6adm writecache: return the exact table values that were set8a85afc662mm: slab: fix kmem_cache_create failed when sysfs node not destroyedf53729b828usb: cdns3: Enable TDL_CHK only for OUT ep52b01a8086f2fs: Show casefolding support only when supported91d8460167arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi filef696cc7f1bfirmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible stringe2b28026b8arm64: dts: armada-3720-turris-mox: add firmware nodef7d1fa65e7cifs: prevent NULL deref in cifs_compose_mount_options()06d8a7eb58s390: introduce proper type handling call_on_stack() macro2a47e0719asched/fair: Fix CFS bandwidth hrtimer expiry type5b7d065868scsi: qedf: Add check to synchronize abort and flush0fe70c15f9scsi: libfc: Fix array index out of bound exceptiond7b647d055scsi: libsas: Add LUN number check in .slave_alloc callback863c4bc883scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8712e9ed613rtc: max77686: Do not enforce (incorrect) interrupt trigger type199d8ea4c7kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set484193b635thermal/core: Correct function name thermal_zone_device_unregister()556cf02830arm64: dts: imx8mq: assign PCIe clocks9d3eb68a53arm64: dts: ls208xa: remove bus-num from dspi nodee054b361cafirmware: tegra: bpmp: Fix Tegra234-only builds94d0095770soc/tegra: fuse: Fix Tegra234-only builds270a2e9fafARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp154bc66215bcARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings856c753237ARM: dts: rockchip: fix supply properties in io-domains nodesc5bb9cc2cearm64: dts: juno: Update SCPI nodes as per the YAML schemaf572a91393ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings95e795474cARM: dts: stm32: fix RCC node name on stm32f429 MCUa898aa9f88ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards5c17edaaeaARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios3446233096ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpiose79e29a4e1kbuild: sink stdout from cmd for silent buildf817d46775rtc: mxc_v2: add missing MODULE_DEVICE_TABLE0a22b51782ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_infoe20e85639eARM: dts: imx6: phyFLEX: Fix UART hardware flow controla5b19d33aeARM: dts: Hurricane 2: Fix NAND nodes namesf83535a47fARM: dts: BCM63xx: Fix NAND nodes namescb05b84ad7ARM: NSP: dts: fix NAND nodes names14e3bad3b5ARM: Cygnus: dts: fix NAND nodes names587a757afeARM: brcmstb: dts: fix NAND nodes namesa9c32c7aeereset: ti-syscon: fix to_ti_syscon_reset_data macrob400afa427arm64: dts: rockchip: Fix power-controller node names for rk3328dfb4e8ed07arm64: dts: rockchip: Fix power-controller node names for px30789070f178ARM: dts: rockchip: Fix power-controller node names for rk32886aaffe6ce8ARM: dts: rockchip: Fix power-controller node names for rk3188439115ee56ARM: dts: rockchip: Fix power-controller node names for rk3066a3b4c347283ARM: dts: rockchip: Fix IOMMU nodes properties on rk322xc9d29d62daARM: dts: rockchip: Fix the timer clocks orderd105e15de6arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsicfe3d29e5cARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk328879573c6441ARM: dts: gemini: add device_type on pci7037876393ARM: dts: gemini: rename mdio to the right name2a9f50cc6eMerge branch 'android11-5.4' into 'android11-5.4-lts' Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I1dfe5c5858c0c1f38ccb32e253ff7ff7f509eced
This commit is contained in:
@@ -45,14 +45,24 @@ how the user addresses are used by the kernel:
|
||||
|
||||
1. User addresses not accessed by the kernel but used for address space
|
||||
management (e.g. ``mprotect()``, ``madvise()``). The use of valid
|
||||
tagged pointers in this context is allowed with the exception of
|
||||
``brk()``, ``mmap()`` and the ``new_address`` argument to
|
||||
``mremap()`` as these have the potential to alias with existing
|
||||
user addresses.
|
||||
tagged pointers in this context is allowed with these exceptions:
|
||||
|
||||
NOTE: This behaviour changed in v5.6 and so some earlier kernels may
|
||||
incorrectly accept valid tagged pointers for the ``brk()``,
|
||||
``mmap()`` and ``mremap()`` system calls.
|
||||
- ``brk()``, ``mmap()`` and the ``new_address`` argument to
|
||||
``mremap()`` as these have the potential to alias with existing
|
||||
user addresses.
|
||||
|
||||
NOTE: This behaviour changed in v5.6 and so some earlier kernels may
|
||||
incorrectly accept valid tagged pointers for the ``brk()``,
|
||||
``mmap()`` and ``mremap()`` system calls.
|
||||
|
||||
- The ``range.start``, ``start`` and ``dst`` arguments to the
|
||||
``UFFDIO_*`` ``ioctl()``s used on a file descriptor obtained from
|
||||
``userfaultfd()``, as fault addresses subsequently obtained by reading
|
||||
the file descriptor will be untagged, which may otherwise confuse
|
||||
tag-unaware programs.
|
||||
|
||||
NOTE: This behaviour changed in v5.14 and so some earlier kernels may
|
||||
incorrectly accept valid tagged pointers for this system call.
|
||||
|
||||
2. User addresses accessed by the kernel (e.g. ``write()``). This ABI
|
||||
relaxation is disabled by default and the application thread needs to
|
||||
|
||||
@@ -191,7 +191,7 @@ Documentation written by Tom Zanussi
|
||||
with the event, in nanoseconds. May be
|
||||
modified by .usecs to have timestamps
|
||||
interpreted as microseconds.
|
||||
cpu int the cpu on which the event occurred.
|
||||
common_cpu int the cpu on which the event occurred.
|
||||
====================== ==== =======================================
|
||||
|
||||
Extended error information
|
||||
|
||||
@@ -152,8 +152,8 @@ Shadow pages contain the following information:
|
||||
shadow pages) so role.quadrant takes values in the range 0..3. Each
|
||||
quadrant maps 1GB virtual address space.
|
||||
role.access:
|
||||
Inherited guest access permissions in the form uwx. Note execute
|
||||
permission is positive, not negative.
|
||||
Inherited guest access permissions from the parent ptes in the form uwx.
|
||||
Note execute permission is positive, not negative.
|
||||
role.invalid:
|
||||
The page is invalid and should not be used. It is a root page that is
|
||||
currently pinned (by a cpu hardware register pointing to it); once it is
|
||||
|
||||
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
VERSION = 5
|
||||
PATCHLEVEL = 4
|
||||
SUBLEVEL = 134
|
||||
SUBLEVEL = 147
|
||||
EXTRAVERSION =
|
||||
NAME = Kleptomaniac Octopus
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1384,6 +1384,7 @@
|
||||
sdhci_remove_host
|
||||
sdhci_reset
|
||||
sdhci_set_bus_width
|
||||
__sdhci_set_timeout
|
||||
|
||||
# required by smem.ko
|
||||
hwspin_lock_free
|
||||
|
||||
@@ -585,7 +585,7 @@ void
|
||||
smp_send_stop(void)
|
||||
{
|
||||
cpumask_t to_whom;
|
||||
cpumask_copy(&to_whom, cpu_possible_mask);
|
||||
cpumask_copy(&to_whom, cpu_online_mask);
|
||||
cpumask_clear_cpu(smp_processor_id(), &to_whom);
|
||||
#ifdef DEBUG_IPI_MSG
|
||||
if (hard_smp_processor_id() != boot_cpu_id)
|
||||
|
||||
@@ -29,6 +29,7 @@ config ARC
|
||||
select GENERIC_SMP_IDLE_THREAD
|
||||
select HAVE_ARCH_KGDB
|
||||
select HAVE_ARCH_TRACEHOOK
|
||||
select HAVE_COPY_THREAD_TLS
|
||||
select HAVE_DEBUG_STACKOVERFLOW
|
||||
select HAVE_FUTEX_CMPXCHG if FUTEX
|
||||
select HAVE_IOREMAP_PROT
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <linux/types.h>
|
||||
|
||||
int sys_clone_wrapper(int, int, int, int, int);
|
||||
int sys_clone3_wrapper(void *, size_t);
|
||||
int sys_cacheflush(uint32_t, uint32_t uint32_t);
|
||||
int sys_arc_settls(void *);
|
||||
int sys_arc_gettls(void);
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define __ARCH_WANT_SET_GET_RLIMIT
|
||||
#define __ARCH_WANT_SYS_EXECVE
|
||||
#define __ARCH_WANT_SYS_CLONE
|
||||
#define __ARCH_WANT_SYS_CLONE3
|
||||
#define __ARCH_WANT_SYS_VFORK
|
||||
#define __ARCH_WANT_SYS_FORK
|
||||
#define __ARCH_WANT_TIME32_SYSCALLS
|
||||
|
||||
@@ -35,6 +35,18 @@ ENTRY(sys_clone_wrapper)
|
||||
b .Lret_from_system_call
|
||||
END(sys_clone_wrapper)
|
||||
|
||||
ENTRY(sys_clone3_wrapper)
|
||||
SAVE_CALLEE_SAVED_USER
|
||||
bl @sys_clone3
|
||||
DISCARD_CALLEE_SAVED_USER
|
||||
|
||||
GET_CURR_THR_INFO_FLAGS r10
|
||||
btst r10, TIF_SYSCALL_TRACE
|
||||
bnz tracesys_exit
|
||||
|
||||
b .Lret_from_system_call
|
||||
END(sys_clone3_wrapper)
|
||||
|
||||
ENTRY(ret_from_fork)
|
||||
; when the forked child comes here from the __switch_to function
|
||||
; r0 has the last task pointer.
|
||||
|
||||
@@ -171,9 +171,8 @@ asmlinkage void ret_from_fork(void);
|
||||
* | user_r25 |
|
||||
* ------------------ <===== END of PAGE
|
||||
*/
|
||||
int copy_thread(unsigned long clone_flags,
|
||||
unsigned long usp, unsigned long kthread_arg,
|
||||
struct task_struct *p)
|
||||
int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
|
||||
unsigned long kthread_arg, struct task_struct *p, unsigned long tls)
|
||||
{
|
||||
struct pt_regs *c_regs; /* child's pt_regs */
|
||||
unsigned long *childksp; /* to unwind out of __switch_to() */
|
||||
@@ -231,7 +230,7 @@ int copy_thread(unsigned long clone_flags,
|
||||
* set task's userland tls data ptr from 4th arg
|
||||
* clone C-lib call is difft from clone sys-call
|
||||
*/
|
||||
task_thread_info(p)->thr_ptr = regs->r3;
|
||||
task_thread_info(p)->thr_ptr = tls;
|
||||
} else {
|
||||
/* Normal fork case: set parent's TLS ptr in child */
|
||||
task_thread_info(p)->thr_ptr =
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <asm/syscalls.h>
|
||||
|
||||
#define sys_clone sys_clone_wrapper
|
||||
#define sys_clone3 sys_clone3_wrapper
|
||||
|
||||
#undef __SYSCALL
|
||||
#define __SYSCALL(nr, call) [nr] = (call),
|
||||
|
||||
@@ -88,6 +88,8 @@ SECTIONS
|
||||
CPUIDLE_TEXT
|
||||
LOCK_TEXT
|
||||
KPROBES_TEXT
|
||||
IRQENTRY_TEXT
|
||||
SOFTIRQENTRY_TEXT
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
}
|
||||
|
||||
@@ -829,11 +829,14 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio5_target {
|
||||
ti,no-reset-on-init;
|
||||
};
|
||||
|
||||
&gpio5 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&display_mux_pins>;
|
||||
status = "okay";
|
||||
ti,no-reset-on-init;
|
||||
|
||||
p8 {
|
||||
/*
|
||||
|
||||
@@ -1611,7 +1611,7 @@
|
||||
compatible = "ti,am4372-d_can", "ti,am3352-d_can";
|
||||
reg = <0x0 0x2000>;
|
||||
clocks = <&dcan1_fck>;
|
||||
clock-name = "fck";
|
||||
clock-names = "fck";
|
||||
syscon-raminit = <&scm_conf 0x644 1>;
|
||||
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
|
||||
status = "disabled";
|
||||
@@ -2077,7 +2077,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
target-module@22000 { /* 0x48322000, ap 116 64.0 */
|
||||
gpio5_target: target-module@22000 { /* 0x48322000, ap 116 64.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "gpio6";
|
||||
reg = <0x22000 0x4>,
|
||||
|
||||
@@ -589,7 +589,7 @@
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c0_pins>;
|
||||
clock-frequency = <400000>;
|
||||
clock-frequency = <100000>;
|
||||
|
||||
tps65218: tps65218@24 {
|
||||
reg = <0x24>;
|
||||
|
||||
@@ -611,12 +611,11 @@
|
||||
>;
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
&gpio3_target {
|
||||
ti,no-reset-on-init;
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
&gpio2_target {
|
||||
status = "okay";
|
||||
ti,no-reset-on-init;
|
||||
};
|
||||
|
||||
@@ -208,12 +208,12 @@
|
||||
};
|
||||
|
||||
pinctrl_hvi3c3_default: hvi3c3_default {
|
||||
function = "HVI3C3";
|
||||
function = "I3C3";
|
||||
groups = "HVI3C3";
|
||||
};
|
||||
|
||||
pinctrl_hvi3c4_default: hvi3c4_default {
|
||||
function = "HVI3C4";
|
||||
function = "I3C4";
|
||||
groups = "HVI3C4";
|
||||
};
|
||||
|
||||
|
||||
@@ -460,7 +460,7 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
nand: nand@18046000 {
|
||||
nand_controller: nand-controller@18046000 {
|
||||
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
|
||||
reg = <0x18046000 0x600>, <0xf8105408 0x600>,
|
||||
<0x18046f00 0x20>;
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
nand: nand@26000 {
|
||||
nand_controller: nand-controller@26000 {
|
||||
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
|
||||
reg = <0x26000 0x600>,
|
||||
<0x11b408 0x600>,
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
nand: nand@26000 {
|
||||
nand_controller: nand-controller@26000 {
|
||||
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
|
||||
reg = <0x026000 0x600>,
|
||||
<0x11b408 0x600>,
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
nand: nand@2000 {
|
||||
nand_controller: nand-controller@2000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.0", "brcm,brcmnand";
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
&nand {
|
||||
&nand_controller {
|
||||
status = "okay";
|
||||
|
||||
nandcs@1 {
|
||||
nand@1 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <1>;
|
||||
nand-ecc-step-size = <512>;
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
reg-names = "aon-ctrl", "aon-sram";
|
||||
};
|
||||
|
||||
nand: nand@3e2800 {
|
||||
nand_controller: nand-controller@3e2800 {
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -82,8 +82,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@1 {
|
||||
&nand_controller {
|
||||
nand@1 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -60,8 +60,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@1 {
|
||||
&nand_controller {
|
||||
nand@1 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -68,8 +68,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@1 {
|
||||
&nand_controller {
|
||||
nand@1 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -70,8 +70,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -70,8 +70,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -86,8 +86,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -74,8 +74,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -74,8 +74,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -90,8 +90,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -64,8 +64,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -31,10 +31,10 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
&nand_controller {
|
||||
status = "okay";
|
||||
|
||||
nandcs@0 {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-ecc-strength = <4>;
|
||||
|
||||
@@ -74,8 +74,8 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nand {
|
||||
nandcs@0 {
|
||||
&nand_controller {
|
||||
nand@0 {
|
||||
compatible = "brcm,nandcs";
|
||||
reg = <0>;
|
||||
nand-on-flash-bbt;
|
||||
|
||||
@@ -1326,7 +1326,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
target-module@55000 { /* 0x48055000, ap 13 0e.0 */
|
||||
gpio2_target: target-module@55000 { /* 0x48055000, ap 13 0e.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
reg = <0x55000 0x4>,
|
||||
<0x55010 0x4>,
|
||||
@@ -1359,7 +1359,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
target-module@57000 { /* 0x48057000, ap 15 06.0 */
|
||||
gpio3_target: target-module@57000 { /* 0x48057000, ap 15 06.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
reg = <0x57000 0x4>,
|
||||
<0x57010 0x4>,
|
||||
|
||||
@@ -140,7 +140,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
mdio0: ethernet-phy {
|
||||
mdio0: mdio {
|
||||
compatible = "virtual,mdio-gpio";
|
||||
/* Uses MDC and MDIO */
|
||||
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
mdio0: ethernet-phy {
|
||||
mdio0: mdio {
|
||||
compatible = "virtual,mdio-gpio";
|
||||
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
|
||||
<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
mdio0: ethernet-phy {
|
||||
mdio0: mdio {
|
||||
compatible = "virtual,mdio-gpio";
|
||||
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
|
||||
<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
mdio0: ethernet-phy {
|
||||
mdio0: mdio {
|
||||
compatible = "virtual,mdio-gpio";
|
||||
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
|
||||
<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
mdio0: ethernet-phy {
|
||||
mdio0: mdio {
|
||||
compatible = "virtual,mdio-gpio";
|
||||
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
|
||||
<&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
|
||||
|
||||
@@ -286,6 +286,7 @@
|
||||
clock-names = "PCLK", "PCICLK";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pci_default_pins>;
|
||||
device_type = "pci";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
@@ -388,13 +388,13 @@
|
||||
|
||||
pinctrl_power_button: powerbutgrp {
|
||||
fsl,pins = <
|
||||
MX53_PAD_SD2_DATA2__GPIO1_13 0x1e4
|
||||
MX53_PAD_SD2_DATA0__GPIO1_15 0x1e4
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_power_out: poweroutgrp {
|
||||
fsl,pins = <
|
||||
MX53_PAD_SD2_DATA0__GPIO1_15 0x1e4
|
||||
MX53_PAD_SD2_DATA2__GPIO1_13 0x1e4
|
||||
>;
|
||||
};
|
||||
|
||||
|
||||
@@ -315,8 +315,8 @@
|
||||
fsl,pins = <
|
||||
MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
|
||||
MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
|
||||
MX6QDL_PAD_EIM_D30__UART3_RTS_B 0x1b0b1
|
||||
MX6QDL_PAD_EIM_D31__UART3_CTS_B 0x1b0b1
|
||||
MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1
|
||||
MX6QDL_PAD_EIM_D30__UART3_CTS_B 0x1b0b1
|
||||
>;
|
||||
};
|
||||
|
||||
@@ -403,6 +403,7 @@
|
||||
&uart3 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart3>;
|
||||
uart-has-rtscts;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
@@ -54,7 +54,13 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_microsom_enet_ar8035>;
|
||||
phy-mode = "rgmii-id";
|
||||
phy-reset-duration = <2>;
|
||||
|
||||
/*
|
||||
* The PHY seems to require a long-enough reset duration to avoid
|
||||
* some rare issues where the PHY gets stuck in an inconsistent and
|
||||
* non-functional state at boot-up. 10ms proved to be fine .
|
||||
*/
|
||||
phy-reset-duration = <10>;
|
||||
phy-reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
assigned-clock-rates = <0>, <198000000>;
|
||||
cap-power-off-card;
|
||||
keep-power-in-suspend;
|
||||
max-frequency = <25000000>;
|
||||
mmc-pwrseq = <&wifi_pwrseq>;
|
||||
no-1-8-v;
|
||||
non-removable;
|
||||
|
||||
@@ -241,8 +241,13 @@
|
||||
"pp2", "ppmmu2", "pp4", "ppmmu4",
|
||||
"pp5", "ppmmu5", "pp6", "ppmmu6";
|
||||
resets = <&reset RESET_MALI>;
|
||||
|
||||
clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
|
||||
clock-names = "bus", "core";
|
||||
|
||||
assigned-clocks = <&clkc CLKID_MALI>;
|
||||
assigned-clock-rates = <318750000>;
|
||||
|
||||
operating-points-v2 = <&gpu_opp_table>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
regulator-min-microvolt = <860000>;
|
||||
regulator-max-microvolt = <1140000>;
|
||||
|
||||
vin-supply = <&vcc_5v>;
|
||||
pwm-supply = <&vcc_5v>;
|
||||
|
||||
pwms = <&pwm_cd 0 1148 0>;
|
||||
pwm-dutycycle-range = <100 0>;
|
||||
@@ -232,7 +232,7 @@
|
||||
regulator-min-microvolt = <860000>;
|
||||
regulator-max-microvolt = <1140000>;
|
||||
|
||||
vin-supply = <&vcc_5v>;
|
||||
pwm-supply = <&vcc_5v>;
|
||||
|
||||
pwms = <&pwm_cd 1 1148 0>;
|
||||
pwm-dutycycle-range = <100 0>;
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
regulator-min-microvolt = <860000>;
|
||||
regulator-max-microvolt = <1140000>;
|
||||
|
||||
pwm-supply = <&vcc_5v>;
|
||||
|
||||
pwms = <&pwm_cd 0 1148 0>;
|
||||
pwm-dutycycle-range = <100 0>;
|
||||
|
||||
@@ -84,7 +86,7 @@
|
||||
regulator-min-microvolt = <860000>;
|
||||
regulator-max-microvolt = <1140000>;
|
||||
|
||||
vin-supply = <&vcc_5v>;
|
||||
pwm-supply = <&vcc_5v>;
|
||||
|
||||
pwms = <&pwm_cd 1 1148 0>;
|
||||
pwm-dutycycle-range = <100 0>;
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
regulator-min-microvolt = <860000>;
|
||||
regulator-max-microvolt = <1140000>;
|
||||
|
||||
vin-supply = <&p5v0>;
|
||||
pwm-supply = <&p5v0>;
|
||||
|
||||
pwms = <&pwm_cd 0 12218 0>;
|
||||
pwm-dutycycle-range = <91 0>;
|
||||
@@ -162,7 +162,7 @@
|
||||
regulator-min-microvolt = <860000>;
|
||||
regulator-max-microvolt = <1140000>;
|
||||
|
||||
vin-supply = <&p5v0>;
|
||||
pwm-supply = <&p5v0>;
|
||||
|
||||
pwms = <&pwm_cd 1 12218 0>;
|
||||
pwm-dutycycle-range = <91 0>;
|
||||
|
||||
@@ -30,14 +30,6 @@
|
||||
regulator-max-microvolt = <5000000>;
|
||||
};
|
||||
|
||||
vdds_1v8_main: fixedregulator-vdds_1v8_main {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vdds_1v8_main";
|
||||
vin-supply = <&smps7_reg>;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vmmcsd_fixed: fixedregulator-mmcsd {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vmmcsd_fixed";
|
||||
@@ -487,6 +479,7 @@
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
vdds_1v8_main:
|
||||
smps7_reg: smps7 {
|
||||
/* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
|
||||
regulator-name = "smps7";
|
||||
|
||||
@@ -390,7 +390,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
sleep {
|
||||
suspend {
|
||||
global_pwroff: global-pwroff {
|
||||
rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
@@ -761,7 +761,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pd_vio@RK3066_PD_VIO {
|
||||
power-domain@RK3066_PD_VIO {
|
||||
reg = <RK3066_PD_VIO>;
|
||||
clocks = <&cru ACLK_LCDC0>,
|
||||
<&cru ACLK_LCDC1>,
|
||||
@@ -788,7 +788,7 @@
|
||||
<&qos_rga>;
|
||||
};
|
||||
|
||||
pd_video@RK3066_PD_VIDEO {
|
||||
power-domain@RK3066_PD_VIDEO {
|
||||
reg = <RK3066_PD_VIDEO>;
|
||||
clocks = <&cru ACLK_VDPU>,
|
||||
<&cru ACLK_VEPU>,
|
||||
@@ -797,7 +797,7 @@
|
||||
pm_qos = <&qos_vpu>;
|
||||
};
|
||||
|
||||
pd_gpu@RK3066_PD_GPU {
|
||||
power-domain@RK3066_PD_GPU {
|
||||
reg = <RK3066_PD_GPU>;
|
||||
clocks = <&cru ACLK_GPU>;
|
||||
pm_qos = <&qos_gpu>;
|
||||
|
||||
@@ -150,16 +150,16 @@
|
||||
compatible = "rockchip,rk3188-timer", "rockchip,rk3288-timer";
|
||||
reg = <0x2000e000 0x20>;
|
||||
interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru SCLK_TIMER3>, <&cru PCLK_TIMER3>;
|
||||
clock-names = "timer", "pclk";
|
||||
clocks = <&cru PCLK_TIMER3>, <&cru SCLK_TIMER3>;
|
||||
clock-names = "pclk", "timer";
|
||||
};
|
||||
|
||||
timer6: timer@200380a0 {
|
||||
compatible = "rockchip,rk3188-timer", "rockchip,rk3288-timer";
|
||||
reg = <0x200380a0 0x20>;
|
||||
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru SCLK_TIMER6>, <&cru PCLK_TIMER0>;
|
||||
clock-names = "timer", "pclk";
|
||||
clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER6>;
|
||||
clock-names = "pclk", "timer";
|
||||
};
|
||||
|
||||
i2s0: i2s@1011a000 {
|
||||
@@ -701,7 +701,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pd_vio@RK3188_PD_VIO {
|
||||
power-domain@RK3188_PD_VIO {
|
||||
reg = <RK3188_PD_VIO>;
|
||||
clocks = <&cru ACLK_LCDC0>,
|
||||
<&cru ACLK_LCDC1>,
|
||||
@@ -723,7 +723,7 @@
|
||||
<&qos_rga>;
|
||||
};
|
||||
|
||||
pd_video@RK3188_PD_VIDEO {
|
||||
power-domain@RK3188_PD_VIDEO {
|
||||
reg = <RK3188_PD_VIDEO>;
|
||||
clocks = <&cru ACLK_VDPU>,
|
||||
<&cru ACLK_VEPU>,
|
||||
@@ -732,7 +732,7 @@
|
||||
pm_qos = <&qos_vpu>;
|
||||
};
|
||||
|
||||
pd_gpu@RK3188_PD_GPU {
|
||||
power-domain@RK3188_PD_GPU {
|
||||
reg = <RK3188_PD_GPU>;
|
||||
clocks = <&cru ACLK_GPU>;
|
||||
pm_qos = <&qos_gpu>;
|
||||
|
||||
@@ -570,10 +570,9 @@
|
||||
compatible = "rockchip,iommu";
|
||||
reg = <0x20020800 0x100>;
|
||||
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "vpu_mmu";
|
||||
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
||||
clock-names = "aclk", "iface";
|
||||
iommu-cells = <0>;
|
||||
#iommu-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -581,10 +580,9 @@
|
||||
compatible = "rockchip,iommu";
|
||||
reg = <0x20030480 0x40>, <0x200304c0 0x40>;
|
||||
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "vdec_mmu";
|
||||
clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>;
|
||||
clock-names = "aclk", "iface";
|
||||
iommu-cells = <0>;
|
||||
#iommu-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -614,7 +612,6 @@
|
||||
compatible = "rockchip,iommu";
|
||||
reg = <0x20053f00 0x100>;
|
||||
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "vop_mmu";
|
||||
clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
|
||||
clock-names = "aclk", "iface";
|
||||
#iommu-cells = <0>;
|
||||
@@ -625,10 +622,9 @@
|
||||
compatible = "rockchip,iommu";
|
||||
reg = <0x20070800 0x100>;
|
||||
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "iep_mmu";
|
||||
clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
|
||||
clock-names = "aclk", "iface";
|
||||
iommu-cells = <0>;
|
||||
#iommu-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
flash0-supply = <&vcc_flash>;
|
||||
flash1-supply = <&vccio_pmu>;
|
||||
gpio30-supply = <&vccio_pmu>;
|
||||
gpio1830 = <&vcc_io>;
|
||||
gpio1830-supply = <&vcc_io>;
|
||||
lcdc-supply = <&vcc_io>;
|
||||
sdcard-supply = <&vccio_sd>;
|
||||
wifi-supply = <&vcc_18>;
|
||||
|
||||
@@ -357,10 +357,10 @@
|
||||
audio-supply = <&vcc_18>;
|
||||
bb-supply = <&vcc_io>;
|
||||
dvp-supply = <&vcc_io>;
|
||||
flash0-suuply = <&vcc_18>;
|
||||
flash0-supply = <&vcc_18>;
|
||||
flash1-supply = <&vcc_lan>;
|
||||
gpio30-supply = <&vcc_io>;
|
||||
gpio1830 = <&vcc_io>;
|
||||
gpio1830-supply = <&vcc_io>;
|
||||
lcdc-supply = <&vcc_io>;
|
||||
sdcard-supply = <&vccio_sd>;
|
||||
wifi-supply = <&vcc_18>;
|
||||
|
||||
@@ -238,8 +238,8 @@
|
||||
compatible = "rockchip,rk3288-timer";
|
||||
reg = <0x0 0xff810000 0x0 0x20>;
|
||||
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&xin24m>, <&cru PCLK_TIMER>;
|
||||
clock-names = "timer", "pclk";
|
||||
clocks = <&cru PCLK_TIMER>, <&xin24m>;
|
||||
clock-names = "pclk", "timer";
|
||||
};
|
||||
|
||||
display-subsystem {
|
||||
@@ -771,7 +771,7 @@
|
||||
* *_HDMI HDMI
|
||||
* *_MIPI_* MIPI
|
||||
*/
|
||||
pd_vio@RK3288_PD_VIO {
|
||||
power-domain@RK3288_PD_VIO {
|
||||
reg = <RK3288_PD_VIO>;
|
||||
clocks = <&cru ACLK_IEP>,
|
||||
<&cru ACLK_ISP>,
|
||||
@@ -813,7 +813,7 @@
|
||||
* Note: The following 3 are HEVC(H.265) clocks,
|
||||
* and on the ACLK_HEVC_NIU (NOC).
|
||||
*/
|
||||
pd_hevc@RK3288_PD_HEVC {
|
||||
power-domain@RK3288_PD_HEVC {
|
||||
reg = <RK3288_PD_HEVC>;
|
||||
clocks = <&cru ACLK_HEVC>,
|
||||
<&cru SCLK_HEVC_CABAC>,
|
||||
@@ -827,7 +827,7 @@
|
||||
* (video endecoder & decoder) clocks that on the
|
||||
* ACLK_VCODEC_NIU and HCLK_VCODEC_NIU (NOC).
|
||||
*/
|
||||
pd_video@RK3288_PD_VIDEO {
|
||||
power-domain@RK3288_PD_VIDEO {
|
||||
reg = <RK3288_PD_VIDEO>;
|
||||
clocks = <&cru ACLK_VCODEC>,
|
||||
<&cru HCLK_VCODEC>;
|
||||
@@ -838,7 +838,7 @@
|
||||
* Note: ACLK_GPU is the GPU clock,
|
||||
* and on the ACLK_GPU_NIU (NOC).
|
||||
*/
|
||||
pd_gpu@RK3288_PD_GPU {
|
||||
power-domain@RK3288_PD_GPU {
|
||||
reg = <RK3288_PD_GPU>;
|
||||
clocks = <&cru ACLK_GPU>;
|
||||
pm_qos = <&qos_gpu_r>,
|
||||
@@ -1575,7 +1575,7 @@
|
||||
drive-strength = <12>;
|
||||
};
|
||||
|
||||
sleep {
|
||||
suspend {
|
||||
global_pwroff: global-pwroff {
|
||||
rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
@@ -755,14 +755,14 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vica: intc@10140000 {
|
||||
vica: interrupt-controller@10140000 {
|
||||
compatible = "arm,versatile-vic";
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
reg = <0x10140000 0x20>;
|
||||
};
|
||||
|
||||
vicb: intc@10140020 {
|
||||
vicb: interrupt-controller@10140020 {
|
||||
compatible = "arm,versatile-vic";
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
@@ -112,17 +112,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
autorepeat;
|
||||
button@0 {
|
||||
button-0 {
|
||||
label = "Wake up";
|
||||
linux,code = <KEY_WAKEUP>;
|
||||
gpios = <&gpioa 0 0>;
|
||||
};
|
||||
button@1 {
|
||||
button-1 {
|
||||
label = "Tamper";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&gpioc 13 0>;
|
||||
|
||||
@@ -81,12 +81,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
autorepeat;
|
||||
button@0 {
|
||||
button-0 {
|
||||
label = "Wake up";
|
||||
linux,code = <KEY_WAKEUP>;
|
||||
gpios = <&gpioc 13 0>;
|
||||
|
||||
@@ -79,12 +79,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
autorepeat;
|
||||
button@0 {
|
||||
button-0 {
|
||||
label = "User";
|
||||
linux,code = <KEY_HOME>;
|
||||
gpios = <&gpioa 0 0>;
|
||||
|
||||
@@ -283,8 +283,6 @@
|
||||
};
|
||||
|
||||
timers13: timers@40001c00 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40001C00 0x400>;
|
||||
clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM13)>;
|
||||
@@ -299,8 +297,6 @@
|
||||
};
|
||||
|
||||
timers14: timers@40002000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40002000 0x400>;
|
||||
clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM14)>;
|
||||
@@ -623,8 +619,6 @@
|
||||
};
|
||||
|
||||
timers10: timers@40014400 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40014400 0x400>;
|
||||
clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM10)>;
|
||||
@@ -639,8 +633,6 @@
|
||||
};
|
||||
|
||||
timers11: timers@40014800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40014800 0x400>;
|
||||
clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM11)>;
|
||||
@@ -696,7 +688,7 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
rcc: rcc@40023810 {
|
||||
rcc: rcc@40023800 {
|
||||
#reset-cells = <1>;
|
||||
#clock-cells = <2>;
|
||||
compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
|
||||
|
||||
@@ -104,12 +104,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
autorepeat;
|
||||
button@0 {
|
||||
button-0 {
|
||||
label = "User";
|
||||
linux,code = <KEY_WAKEUP>;
|
||||
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
@@ -265,8 +265,6 @@
|
||||
};
|
||||
|
||||
timers13: timers@40001c00 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40001C00 0x400>;
|
||||
clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM13)>;
|
||||
@@ -281,8 +279,6 @@
|
||||
};
|
||||
|
||||
timers14: timers@40002000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40002000 0x400>;
|
||||
clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM14)>;
|
||||
@@ -366,9 +362,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c3: i2c@40005C00 {
|
||||
i2c3: i2c@40005c00 {
|
||||
compatible = "st,stm32f7-i2c";
|
||||
reg = <0x40005C00 0x400>;
|
||||
reg = <0x40005c00 0x400>;
|
||||
interrupts = <72>,
|
||||
<73>;
|
||||
resets = <&rcc STM32F7_APB1_RESET(I2C3)>;
|
||||
@@ -533,8 +529,6 @@
|
||||
};
|
||||
|
||||
timers10: timers@40014400 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40014400 0x400>;
|
||||
clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM10)>;
|
||||
@@ -549,8 +543,6 @@
|
||||
};
|
||||
|
||||
timers11: timers@40014800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-timers";
|
||||
reg = <0x40014800 0x400>;
|
||||
clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM11)>;
|
||||
|
||||
@@ -75,12 +75,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
autorepeat;
|
||||
button@0 {
|
||||
button-0 {
|
||||
label = "User";
|
||||
linux,code = <KEY_HOME>;
|
||||
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
@@ -438,8 +438,6 @@
|
||||
};
|
||||
|
||||
lptimer4: timer@58002c00 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-lptimer";
|
||||
reg = <0x58002c00 0x400>;
|
||||
clocks = <&rcc LPTIM4_CK>;
|
||||
@@ -454,8 +452,6 @@
|
||||
};
|
||||
|
||||
lptimer5: timer@58003000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "st,stm32-lptimer";
|
||||
reg = <0x58003000 0x400>;
|
||||
clocks = <&rcc LPTIM5_CK>;
|
||||
|
||||
@@ -1311,12 +1311,6 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
stmmac_axi_config_0: stmmac-axi-config {
|
||||
snps,wr_osr_lmt = <0x7>;
|
||||
snps,rd_osr_lmt = <0x7>;
|
||||
snps,blen = <0 0 0 0 16 8 4>;
|
||||
};
|
||||
|
||||
ethernet0: ethernet@5800a000 {
|
||||
compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
|
||||
reg = <0x5800a000 0x2000>;
|
||||
@@ -1339,6 +1333,12 @@
|
||||
snps,axi-config = <&stmmac_axi_config_0>;
|
||||
snps,tso;
|
||||
status = "disabled";
|
||||
|
||||
stmmac_axi_config_0: stmmac-axi-config {
|
||||
snps,wr_osr_lmt = <0x7>;
|
||||
snps,rd_osr_lmt = <0x7>;
|
||||
snps,blen = <0 0 0 0 16 8 4>;
|
||||
};
|
||||
};
|
||||
|
||||
usbh_ohci: usbh-ohci@5800c000 {
|
||||
|
||||
@@ -195,16 +195,15 @@
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
vic: intc@10140000 {
|
||||
vic: interrupt-controller@10140000 {
|
||||
compatible = "arm,versatile-vic";
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
reg = <0x10140000 0x1000>;
|
||||
clear-mask = <0xffffffff>;
|
||||
valid-mask = <0xffffffff>;
|
||||
};
|
||||
|
||||
sic: intc@10003000 {
|
||||
sic: interrupt-controller@10003000 {
|
||||
compatible = "arm,versatile-sic";
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
amba {
|
||||
/* The Versatile PB is using more SIC IRQ lines than the AB */
|
||||
sic: intc@10003000 {
|
||||
sic: interrupt-controller@10003000 {
|
||||
clear-mask = <0xffffffff>;
|
||||
/*
|
||||
* Valid interrupt lines mask according to
|
||||
|
||||
@@ -17,10 +17,14 @@ CFLAGS_REMOVE_return_address.o = -pg
|
||||
# Object file lists.
|
||||
|
||||
obj-y := elf.o entry-common.o irq.o opcodes.o \
|
||||
process.o ptrace.o reboot.o return_address.o \
|
||||
process.o ptrace.o reboot.o \
|
||||
setup.o signal.o sigreturn_codes.o \
|
||||
stacktrace.o sys_arm.o time.o traps.o
|
||||
|
||||
ifneq ($(CONFIG_ARM_UNWIND),y)
|
||||
obj-$(CONFIG_FRAME_POINTER) += return_address.o
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_ATAGS) += atags_parse.o
|
||||
obj-$(CONFIG_ATAGS_PROC) += atags_proc.o
|
||||
obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += atags_compat.o
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
*/
|
||||
#include <linux/export.h>
|
||||
#include <linux/ftrace.h>
|
||||
|
||||
#if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND)
|
||||
#include <linux/sched.h>
|
||||
|
||||
#include <asm/stacktrace.h>
|
||||
@@ -53,6 +51,4 @@ void *return_address(unsigned int level)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) */
|
||||
|
||||
EXPORT_SYMBOL_GPL(return_address);
|
||||
|
||||
@@ -103,6 +103,7 @@ struct mmdc_pmu {
|
||||
struct perf_event *mmdc_events[MMDC_NUM_COUNTERS];
|
||||
struct hlist_node node;
|
||||
struct fsl_mmdc_devtype_data *devtype_data;
|
||||
struct clk *mmdc_ipg_clk;
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -462,11 +463,14 @@ static int imx_mmdc_remove(struct platform_device *pdev)
|
||||
|
||||
cpuhp_state_remove_instance_nocalls(cpuhp_mmdc_state, &pmu_mmdc->node);
|
||||
perf_pmu_unregister(&pmu_mmdc->pmu);
|
||||
iounmap(pmu_mmdc->mmdc_base);
|
||||
clk_disable_unprepare(pmu_mmdc->mmdc_ipg_clk);
|
||||
kfree(pmu_mmdc);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_base)
|
||||
static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_base,
|
||||
struct clk *mmdc_ipg_clk)
|
||||
{
|
||||
struct mmdc_pmu *pmu_mmdc;
|
||||
char *name;
|
||||
@@ -494,6 +498,7 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
|
||||
}
|
||||
|
||||
mmdc_num = mmdc_pmu_init(pmu_mmdc, mmdc_base, &pdev->dev);
|
||||
pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk;
|
||||
if (mmdc_num == 0)
|
||||
name = "mmdc";
|
||||
else
|
||||
@@ -529,7 +534,7 @@ pmu_free:
|
||||
|
||||
#else
|
||||
#define imx_mmdc_remove NULL
|
||||
#define imx_mmdc_perf_init(pdev, mmdc_base) 0
|
||||
#define imx_mmdc_perf_init(pdev, mmdc_base, mmdc_ipg_clk) 0
|
||||
#endif
|
||||
|
||||
static int imx_mmdc_probe(struct platform_device *pdev)
|
||||
@@ -567,7 +572,13 @@ static int imx_mmdc_probe(struct platform_device *pdev)
|
||||
val &= ~(1 << BP_MMDC_MAPSR_PSD);
|
||||
writel_relaxed(val, reg);
|
||||
|
||||
return imx_mmdc_perf_init(pdev, mmdc_base);
|
||||
err = imx_mmdc_perf_init(pdev, mmdc_base, mmdc_ipg_clk);
|
||||
if (err) {
|
||||
iounmap(mmdc_base);
|
||||
clk_disable_unprepare(mmdc_ipg_clk);
|
||||
}
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
int imx_mmdc_get_ddr_type(void)
|
||||
|
||||
@@ -28,11 +28,11 @@
|
||||
* ^
|
||||
* ^
|
||||
* imx53_suspend code
|
||||
* PM_INFO structure(imx53_suspend_info)
|
||||
* PM_INFO structure(imx5_cpu_suspend_info)
|
||||
* ======================== low address =======================
|
||||
*/
|
||||
|
||||
/* Offsets of members of struct imx53_suspend_info */
|
||||
/* Offsets of members of struct imx5_cpu_suspend_info */
|
||||
#define SUSPEND_INFO_MX53_M4IF_V_OFFSET 0x0
|
||||
#define SUSPEND_INFO_MX53_IOMUXC_V_OFFSET 0x4
|
||||
#define SUSPEND_INFO_MX53_IO_COUNT_OFFSET 0x8
|
||||
|
||||
@@ -1602,6 +1602,9 @@ exit:
|
||||
rn = arm_bpf_get_reg32(src_lo, tmp2[1], ctx);
|
||||
emit_ldx_r(dst, rn, off, ctx, BPF_SIZE(code));
|
||||
break;
|
||||
/* speculation barrier */
|
||||
case BPF_ST | BPF_NOSPEC:
|
||||
break;
|
||||
/* ST: *(size *)(dst + off) = imm */
|
||||
case BPF_ST | BPF_MEM | BPF_W:
|
||||
case BPF_ST | BPF_MEM | BPF_H:
|
||||
|
||||
@@ -537,13 +537,13 @@
|
||||
clocks {
|
||||
compatible = "arm,scpi-clocks";
|
||||
|
||||
scpi_dvfs: scpi-dvfs {
|
||||
scpi_dvfs: clocks-0 {
|
||||
compatible = "arm,scpi-dvfs-clocks";
|
||||
#clock-cells = <1>;
|
||||
clock-indices = <0>, <1>, <2>;
|
||||
clock-output-names = "atlclk", "aplclk","gpuclk";
|
||||
};
|
||||
scpi_clk: scpi-clk {
|
||||
scpi_clk: clocks-1 {
|
||||
compatible = "arm,scpi-variable-clocks";
|
||||
#clock-cells = <1>;
|
||||
clock-indices = <3>;
|
||||
@@ -551,7 +551,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
scpi_devpd: scpi-power-domains {
|
||||
scpi_devpd: power-controller {
|
||||
compatible = "arm,scpi-power-domains";
|
||||
num-domains = <2>;
|
||||
#power-domain-cells = <1>;
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
#address-cells = <0>;
|
||||
interrupt-controller;
|
||||
reg = <0x11001000 0x1000>,
|
||||
<0x11002000 0x1000>,
|
||||
<0x11002000 0x2000>,
|
||||
<0x11004000 0x2000>,
|
||||
<0x11006000 0x2000>;
|
||||
};
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
sysclk: clock-sysclk {
|
||||
sysclk: sysclk {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <100000000>;
|
||||
|
||||
@@ -501,7 +501,6 @@
|
||||
clocks = <&clockgen 4 3>;
|
||||
clock-names = "dspi";
|
||||
spi-num-chipselects = <5>;
|
||||
bus-num = <0>;
|
||||
};
|
||||
|
||||
esdhc: esdhc@2140000 {
|
||||
|
||||
@@ -1056,6 +1056,14 @@
|
||||
<&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>,
|
||||
<&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>;
|
||||
reset-names = "pciephy", "apps", "turnoff";
|
||||
assigned-clocks = <&clk IMX8MQ_CLK_PCIE1_CTRL>,
|
||||
<&clk IMX8MQ_CLK_PCIE1_PHY>,
|
||||
<&clk IMX8MQ_CLK_PCIE1_AUX>;
|
||||
assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_250M>,
|
||||
<&clk IMX8MQ_SYS2_PLL_100M>,
|
||||
<&clk IMX8MQ_SYS1_PLL_80M>;
|
||||
assigned-clock-rates = <250000000>, <100000000>,
|
||||
<10000000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -1085,6 +1093,14 @@
|
||||
<&src IMX8MQ_RESET_PCIE2_CTRL_APPS_EN>,
|
||||
<&src IMX8MQ_RESET_PCIE2_CTRL_APPS_TURNOFF>;
|
||||
reset-names = "pciephy", "apps", "turnoff";
|
||||
assigned-clocks = <&clk IMX8MQ_CLK_PCIE2_CTRL>,
|
||||
<&clk IMX8MQ_CLK_PCIE2_PHY>,
|
||||
<&clk IMX8MQ_CLK_PCIE2_AUX>;
|
||||
assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_250M>,
|
||||
<&clk IMX8MQ_SYS2_PLL_100M>,
|
||||
<&clk IMX8MQ_SYS1_PLL_80M>;
|
||||
assigned-clock-rates = <250000000>, <100000000>,
|
||||
<10000000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
@@ -106,12 +106,19 @@
|
||||
/* enabled by U-Boot if SFP module is present */
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
firmware {
|
||||
armada-3700-rwtm {
|
||||
compatible = "marvell,armada-3700-rwtm-firmware", "cznic,turris-mox-rwtm";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c1_pins>;
|
||||
clock-frequency = <100000>;
|
||||
/delete-property/ mrvl,i2c-fast-mode;
|
||||
status = "okay";
|
||||
|
||||
rtc@6f {
|
||||
|
||||
@@ -500,4 +500,12 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
firmware {
|
||||
armada-3700-rwtm {
|
||||
compatible = "marvell,armada-3700-rwtm-firmware";
|
||||
mboxes = <&rwtm 0>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -30,3 +30,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&msmgpio {
|
||||
gpio-reserved-ranges = <85 4>;
|
||||
};
|
||||
|
||||
@@ -277,10 +277,6 @@
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
/* Depends on LVDS */
|
||||
max-clock = <135000000>;
|
||||
min-vrefresh = <50>;
|
||||
|
||||
adi,input-depth = <8>;
|
||||
adi,input-colorspace = "rgb";
|
||||
adi,input-clock = "1x";
|
||||
|
||||
@@ -213,20 +213,20 @@
|
||||
#size-cells = <0>;
|
||||
|
||||
/* These power domains are grouped by VD_LOGIC */
|
||||
pd_usb@PX30_PD_USB {
|
||||
power-domain@PX30_PD_USB {
|
||||
reg = <PX30_PD_USB>;
|
||||
clocks = <&cru HCLK_HOST>,
|
||||
<&cru HCLK_OTG>,
|
||||
<&cru SCLK_OTG_ADP>;
|
||||
pm_qos = <&qos_usb_host>, <&qos_usb_otg>;
|
||||
};
|
||||
pd_sdcard@PX30_PD_SDCARD {
|
||||
power-domain@PX30_PD_SDCARD {
|
||||
reg = <PX30_PD_SDCARD>;
|
||||
clocks = <&cru HCLK_SDMMC>,
|
||||
<&cru SCLK_SDMMC>;
|
||||
pm_qos = <&qos_sdmmc>;
|
||||
};
|
||||
pd_gmac@PX30_PD_GMAC {
|
||||
power-domain@PX30_PD_GMAC {
|
||||
reg = <PX30_PD_GMAC>;
|
||||
clocks = <&cru ACLK_GMAC>,
|
||||
<&cru PCLK_GMAC>,
|
||||
@@ -234,7 +234,7 @@
|
||||
<&cru SCLK_GMAC_RX_TX>;
|
||||
pm_qos = <&qos_gmac>;
|
||||
};
|
||||
pd_mmc_nand@PX30_PD_MMC_NAND {
|
||||
power-domain@PX30_PD_MMC_NAND {
|
||||
reg = <PX30_PD_MMC_NAND>;
|
||||
clocks = <&cru HCLK_NANDC>,
|
||||
<&cru HCLK_EMMC>,
|
||||
@@ -247,14 +247,14 @@
|
||||
pm_qos = <&qos_emmc>, <&qos_nand>,
|
||||
<&qos_sdio>, <&qos_sfc>;
|
||||
};
|
||||
pd_vpu@PX30_PD_VPU {
|
||||
power-domain@PX30_PD_VPU {
|
||||
reg = <PX30_PD_VPU>;
|
||||
clocks = <&cru ACLK_VPU>,
|
||||
<&cru HCLK_VPU>,
|
||||
<&cru SCLK_CORE_VPU>;
|
||||
pm_qos = <&qos_vpu>, <&qos_vpu_r128>;
|
||||
};
|
||||
pd_vo@PX30_PD_VO {
|
||||
power-domain@PX30_PD_VO {
|
||||
reg = <PX30_PD_VO>;
|
||||
clocks = <&cru ACLK_RGA>,
|
||||
<&cru ACLK_VOPB>,
|
||||
@@ -270,7 +270,7 @@
|
||||
pm_qos = <&qos_rga_rd>, <&qos_rga_wr>,
|
||||
<&qos_vop_m0>, <&qos_vop_m1>;
|
||||
};
|
||||
pd_vi@PX30_PD_VI {
|
||||
power-domain@PX30_PD_VI {
|
||||
reg = <PX30_PD_VI>;
|
||||
clocks = <&cru ACLK_CIF>,
|
||||
<&cru ACLK_ISP>,
|
||||
@@ -281,7 +281,7 @@
|
||||
<&qos_isp_wr>, <&qos_isp_m1>,
|
||||
<&qos_vip>;
|
||||
};
|
||||
pd_gpu@PX30_PD_GPU {
|
||||
power-domain@PX30_PD_GPU {
|
||||
reg = <PX30_PD_GPU>;
|
||||
clocks = <&cru SCLK_GPU>;
|
||||
pm_qos = <&qos_gpu>;
|
||||
|
||||
@@ -270,13 +270,13 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pd_hevc@RK3328_PD_HEVC {
|
||||
power-domain@RK3328_PD_HEVC {
|
||||
reg = <RK3328_PD_HEVC>;
|
||||
};
|
||||
pd_video@RK3328_PD_VIDEO {
|
||||
power-domain@RK3328_PD_VIDEO {
|
||||
reg = <RK3328_PD_VIDEO>;
|
||||
};
|
||||
pd_vpu@RK3328_PD_VPU {
|
||||
power-domain@RK3328_PD_VPU {
|
||||
reg = <RK3328_PD_VPU>;
|
||||
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
||||
};
|
||||
|
||||
@@ -2317,7 +2317,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
sleep {
|
||||
suspend {
|
||||
ap_pwroff: ap-pwroff {
|
||||
rockchip,pins = <1 RK_PA5 1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
@@ -299,7 +299,17 @@ static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
|
||||
|
||||
static inline unsigned long regs_return_value(struct pt_regs *regs)
|
||||
{
|
||||
return regs->regs[0];
|
||||
unsigned long val = regs->regs[0];
|
||||
|
||||
/*
|
||||
* Audit currently uses regs_return_value() instead of
|
||||
* syscall_get_return_value(). Apply the same sign-extension here until
|
||||
* audit is updated to use syscall_get_return_value().
|
||||
*/
|
||||
if (compat_user_mode(regs))
|
||||
val = sign_extend64(val, 31);
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc)
|
||||
|
||||
@@ -29,24 +29,25 @@ static inline void syscall_rollback(struct task_struct *task,
|
||||
regs->regs[0] = regs->orig_x0;
|
||||
}
|
||||
|
||||
static inline long syscall_get_return_value(struct task_struct *task,
|
||||
struct pt_regs *regs)
|
||||
{
|
||||
unsigned long val = regs->regs[0];
|
||||
|
||||
if (is_compat_thread(task_thread_info(task)))
|
||||
val = sign_extend64(val, 31);
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
static inline long syscall_get_error(struct task_struct *task,
|
||||
struct pt_regs *regs)
|
||||
{
|
||||
unsigned long error = regs->regs[0];
|
||||
|
||||
if (is_compat_thread(task_thread_info(task)))
|
||||
error = sign_extend64(error, 31);
|
||||
unsigned long error = syscall_get_return_value(task, regs);
|
||||
|
||||
return IS_ERR_VALUE(error) ? error : 0;
|
||||
}
|
||||
|
||||
static inline long syscall_get_return_value(struct task_struct *task,
|
||||
struct pt_regs *regs)
|
||||
{
|
||||
return regs->regs[0];
|
||||
}
|
||||
|
||||
static inline void syscall_set_return_value(struct task_struct *task,
|
||||
struct pt_regs *regs,
|
||||
int error, long val)
|
||||
|
||||
@@ -1868,7 +1868,7 @@ void syscall_trace_exit(struct pt_regs *regs)
|
||||
audit_syscall_exit(regs);
|
||||
|
||||
if (flags & _TIF_SYSCALL_TRACEPOINT)
|
||||
trace_sys_exit(regs, regs_return_value(regs));
|
||||
trace_sys_exit(regs, syscall_get_return_value(current, regs));
|
||||
|
||||
if (flags & (_TIF_SYSCALL_TRACE | _TIF_SINGLESTEP))
|
||||
tracehook_report_syscall(regs, PTRACE_SYSCALL_EXIT);
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/fpsimd.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/syscall.h>
|
||||
#include <asm/signal32.h>
|
||||
#include <asm/traps.h>
|
||||
#include <asm/vdso.h>
|
||||
@@ -868,7 +869,7 @@ static void do_signal(struct pt_regs *regs)
|
||||
retval == -ERESTART_RESTARTBLOCK ||
|
||||
(retval == -ERESTARTSYS &&
|
||||
!(ksig.ka.sa.sa_flags & SA_RESTART)))) {
|
||||
regs->regs[0] = -EINTR;
|
||||
syscall_set_return_value(current, regs, -EINTR, 0);
|
||||
regs->pc = continue_addr;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,10 +50,7 @@ static void invoke_syscall(struct pt_regs *regs, unsigned int scno,
|
||||
ret = do_ni_syscall(regs, scno);
|
||||
}
|
||||
|
||||
if (is_compat_task())
|
||||
ret = lower_32_bits(ret);
|
||||
|
||||
regs->regs[0] = ret;
|
||||
syscall_set_return_value(current, regs, 0, ret);
|
||||
}
|
||||
|
||||
static inline bool has_syscall_work(unsigned long flags)
|
||||
@@ -108,7 +105,7 @@ static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr,
|
||||
if (has_syscall_work(flags)) {
|
||||
/* set default errno for user-issued syscall(-1) */
|
||||
if (scno == NO_SYSCALL)
|
||||
regs->regs[0] = -ENOSYS;
|
||||
syscall_set_return_value(current, regs, -ENOSYS, 0);
|
||||
scno = syscall_trace_enter(regs);
|
||||
if (scno == NO_SYSCALL)
|
||||
goto trace_exit;
|
||||
|
||||
@@ -701,6 +701,19 @@ emit_cond_jmp:
|
||||
}
|
||||
break;
|
||||
|
||||
/* speculation barrier */
|
||||
case BPF_ST | BPF_NOSPEC:
|
||||
/*
|
||||
* Nothing required here.
|
||||
*
|
||||
* In case of arm64, we rely on the firmware mitigation of
|
||||
* Speculative Store Bypass as controlled via the ssbd kernel
|
||||
* parameter. Whenever the mitigation is enabled, it works
|
||||
* for all of the kernel code with no need to provide any
|
||||
* additional instructions.
|
||||
*/
|
||||
break;
|
||||
|
||||
/* ST: *(size *)(dst + off) = imm */
|
||||
case BPF_ST | BPF_MEM | BPF_W:
|
||||
case BPF_ST | BPF_MEM | BPF_H:
|
||||
|
||||
@@ -254,8 +254,8 @@ static void __exit nfeth_cleanup(void)
|
||||
|
||||
for (i = 0; i < MAX_UNIT; i++) {
|
||||
if (nfeth_dev[i]) {
|
||||
unregister_netdev(nfeth_dev[0]);
|
||||
free_netdev(nfeth_dev[0]);
|
||||
unregister_netdev(nfeth_dev[i]);
|
||||
free_netdev(nfeth_dev[i]);
|
||||
}
|
||||
}
|
||||
free_irq(nfEtherIRQ, nfeth_interrupt);
|
||||
|
||||
@@ -320,7 +320,7 @@ KBUILD_LDFLAGS += -m $(ld-emul)
|
||||
|
||||
ifdef CONFIG_MIPS
|
||||
CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \
|
||||
egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \
|
||||
egrep -vw '__GNUC_(MINOR_|PATCHLEVEL_)?_' | \
|
||||
sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/" -e 's/\$$/&&/g')
|
||||
endif
|
||||
|
||||
|
||||
@@ -62,15 +62,11 @@ do { \
|
||||
|
||||
static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address)
|
||||
{
|
||||
pmd_t *pmd = NULL;
|
||||
struct page *pg;
|
||||
pmd_t *pmd;
|
||||
|
||||
pg = alloc_pages(GFP_KERNEL | __GFP_ACCOUNT, PMD_ORDER);
|
||||
if (pg) {
|
||||
pgtable_pmd_page_ctor(pg);
|
||||
pmd = (pmd_t *)page_address(pg);
|
||||
pmd = (pmd_t *) __get_free_pages(GFP_KERNEL, PMD_ORDER);
|
||||
if (pmd)
|
||||
pmd_init((unsigned long)pmd, (unsigned long)invalid_pte_table);
|
||||
}
|
||||
return pmd;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,8 @@ static struct plat_serial8250_port uart8250_data[] = {
|
||||
.mapbase = 0x1f000900, /* The CBUS UART */
|
||||
.irq = MIPS_CPU_IRQ_BASE + MIPSCPU_INT_MB2,
|
||||
.uartclk = 3686400, /* Twice the usual clk! */
|
||||
.iotype = UPIO_MEM32,
|
||||
.iotype = IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) ?
|
||||
UPIO_MEM32BE : UPIO_MEM32,
|
||||
.flags = CBUS_UART_FLAGS,
|
||||
.regshift = 3,
|
||||
},
|
||||
|
||||
@@ -1355,6 +1355,9 @@ jeq_common:
|
||||
}
|
||||
break;
|
||||
|
||||
case BPF_ST | BPF_NOSPEC: /* speculation barrier */
|
||||
break;
|
||||
|
||||
case BPF_ST | BPF_B | BPF_MEM:
|
||||
case BPF_ST | BPF_H | BPF_MEM:
|
||||
case BPF_ST | BPF_W | BPF_MEM:
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user