mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Merge remote-tracking branch 'remotes/origin/tmp-aefd2d632eb0' into msm-lahaina
* remotes/origin/tmp-aefd2d632eb0: ANDROID: binder: fix sleeping from invalid function caused by RT inheritance FROMGIT: scsi: ufs: override auto suspend tunables for ufs FROMGIT: scsi: core: allow auto suspend override by low-level driver Linux 5.4-rc6 net: fix installing orphaned programs net: cls_bpf: fix NULL deref on offload filter removal selftests: bpf: Skip write only files in debugfs selftests: net: reuseport_dualstack: fix uninitalized parameter r8169: fix wrong PHY ID issue with RTL8168dp net: dsa: bcm_sf2: Fix IMP setup for port different than 8 net: phylink: Fix phylink_dbg() macro gve: Fixes DMA synchronization. inet: stop leaking jiffies on the wire ixgbe: Remove duplicate clear_bit() call Documentation: networking: device drivers: Remove stray asterisks e1000: fix memory leaks i40e: Fix receive buffer starvation for AF_XDP igb: Fix constant media auto sense switching when no cable is connected net: ethernet: arc: add the missed clk_disable_unprepare ANDROID: gki_defconfig: enable CONFIG_KEYBOARD_GPIO NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid() NFSv4: Don't allow a cached open with a revoked delegation arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core arm64: Brahma-B53 is SSB and spectre v2 safe arm64: apply ARM64_ERRATUM_845719 workaround for Brahma-B53 core igb: Enable media autosense for the i350. igb/igc: Don't warn on fatal read failures when the device is removed tcp: increase tcp_max_syn_backlog max value net: increase SOMAXCONN to 4096 netdevsim: Fix use-after-free during device dismantle rxrpc: Fix handling of last subpacket of jumbo packet usb: dwc3: gadget: fix race when disabling ep with cancelled xfers ANDROID: Remove KVM_INTEL allmodconfig workaround ANDROID: Fix x86_64 allmodconfig build iocost: don't nest spin_lock_irq in ioc_weight_write() s390/idle: fix cpu idle time calculation s390/unwind: fix mixing regs and sp s390/cmm: fix information leak in cmm_timeout_handler() arm64: cpufeature: Enable Qualcomm Falkor errata 1009 for Kryo KVM: vmx, svm: always run with EFER.NXE=1 when shadow paging is active kvm: call kvm_arch_destroy_vm if vm creation fails efi/efi_test: Lock down /dev/efi_test and require CAP_SYS_ADMIN x86, efi: Never relocate kernel below lowest acceptable address efi: libstub/arm: Account for firmware reserved memory at the base of RAM efi/random: Treat EFI_RNG_PROTOCOL output as bootloader randomness efi/tpm: Return -EINVAL when determining tpm final events log size fails efi: Make CONFIG_EFI_RCI2_TABLE selectable on x86 only hv_netvsc: Fix error handling in netvsc_attach() hv_netvsc: Fix error handling in netvsc_set_features() cxgb4: fix panic when attaching to ULD fail net: annotate lockless accesses to sk->sk_napi_id FROMLIST: scsi: ufs-qcom: enter and exit hibern8 during clock scaling FROMLIST: scsi: ufs: export hibern8 entry and exit ANDROID: scsi: ufs: UFS crypto variant operations API ANDROID: gki_defconfig: enable inline encryption FROMLIST: ext4: add inline encryption support FROMLIST: f2fs: add inline encryption support FROMLIST: fscrypt: add inline encryption support FROMLIST: scsi: ufs: Add inline encryption support to UFS FROMLIST: scsi: ufs: UFS crypto API FROMLIST: scsi: ufs: UFS driver v2.1 spec crypto additions FROMLIST: block: blk-crypto for Inline Encryption ANDROID: block: Fix bio_crypt_should_process WARN_ON ALSA: timer: Fix mutex deadlock at releasing card FROMLIST: block: Add encryption context to struct bio io_uring: ensure we clear io_kiocb->result before each issue parisc: fix frame pointer in ftrace_regs_caller() net: annotate accesses to sk->sk_incoming_cpu FROMLIST: block: Keyslot Manager for Inline Encryption FROMLIST: f2fs: add support for IV_INO_LBLK_64 encryption policies FROMLIST: ext4: add support for IV_INO_LBLK_64 encryption policies FROMLIST: fscrypt: add support for IV_INO_LBLK_64 policies FROMLIST: docs: ioctl-number: document fscrypt ioctl numbers FROMLIST: fscrypt: zeroize fscrypt_info before freeing FROMLIST: fscrypt: remove struct fscrypt_ctx FROMLIST: fscrypt: invoke crypto API for ESSIV handling mlxsw: core: Unpublish devlink parameters during reload qed: Optimize execution time for nvm attributes configuration. vxlan: fix unexpected failure of vxlan_changelink() qed: fix spelling mistake "queuess" -> "queues" SUNRPC: Destroy the back channel when we destroy the host transport SUNRPC: The RDMA back channel mustn't disappear while requests are outstanding SUNRPC: The TCP back channel mustn't disappear while requests are outstanding drm/amdgpu: enable -msse2 for GCC 7.1+ users drm/amdgpu: fix stack alignment ABI mismatch for GCC 7.1+ drm/amdgpu: fix stack alignment ABI mismatch for Clang drm/radeon: Fix EEH during kexec drm/amdgpu/gmc10: properly set BANK_SELECT and FRAGMENT_SIZE drm/amdgpu/powerplay/vega10: allow undervolting in p7 dc.c:use kzalloc without test drm/amd/display: setting the DIG_MODE to the correct value. drm/amd/display: Passive DP->HDMI dongle detection fix drm/amd/display: add 50us buffer as WA for pstate switch in active drm/amd/display: Allow inverted gamma drm/amd/display: do not synchronize "drr" displays drm/amdgpu: If amdgpu_ib_schedule fails return back the error. drm/sched: Set error to s_fence if HW job submission failed. drm/amdgpu/gfx10: update gfx golden settings for navi12 drm/amdgpu/gfx10: update gfx golden settings for navi14 drm/amdgpu/gfx10: update gfx golden settings drm/amd/display: Change Navi14's DWB flag to 1 drm/amdgpu/sdma5: do not execute 0-sized IBs (v2) drm/amdgpu: Fix SDMA hang when performing VKexample test iwlwifi: fw api: support new API for scan config cmd mt76: dma: fix buffer unmap with non-linear skbs mt76: mt76x2e: disable pcie_aspm by default ALSA: hda - Fix mutex deadlock in HDMI codec driver usb: cdns3: gadget: Fix g_audio use case when connected to Super-Speed host usb: cdns3: gadget: reset EP_CLAIMED flag while unloading gfs2: Fix initialisation of args for remount iommu/vt-d: Fix panic after kexec -p for kdump iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41 iommu/ipmmu-vmsa: Remove dev_err() on platform_get_irq() failure nl80211: fix validation of mesh path nexthop nl80211: Disallow setting of HT for channel 14 USB: serial: whiteheat: fix line-speed endianness USB: serial: whiteheat: fix potential slab corruption MAINTAINERS: Change to my personal email address drm/i915: Fix PCH reference clock for FDI on HSW/BDW net: rtnetlink: fix a typo fbd -> fdb net/smc: fix refcounting for non-blocking connect() bonding: fix using uninitialized mode_lock net: fec_ptp: Use platform_get_irq_xxx_optional() to avoid error message net: fec_main: Use platform_get_irq_byname_optional() to avoid error message MAINTAINERS: remove Dave Watson as TLS maintainer vxlan: check tun_info options_len properly erspan: fix the tun_info options_len check for erspan net: hisilicon: Fix ping latency when deal with high throughput net/mlx4_core: Dynamically set guaranteed amount of counters per VF net/mlx5e: Initialize on stack link modes bitmap net/mlx5e: Fix ethtool self test: link speed net/mlx5e: Fix handling of compressed CQEs in case of low NAPI budget net/mlx5e: Don't store direct pointer to action's tunnel info net/mlx5: Fix NULL pointer dereference in extended destination net/mlx5: Fix rtable reference leak net/mlx5e: Only skip encap flows update when encap init failed net/mlx5e: Replace kfree with kvfree when free vhca stats net/mlx5e: Remove incorrect match criteria assignment line net/mlx5e: Determine source port properly for vlan push action net/mlx5: Fix flow counter list auto bits struct net: mscc: ocelot: refuse to overwrite the port's native vlan net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up wimax: i2400: Fix memory leak in i2400m_op_rfkill_sw_toggle drm/i915/tgl: Fix doc not corresponding to code ANDROID: staging: ion: Fix dynamic heap ID assignment ANDROID: Fix typo for FROMLIST: section drm/panfrost: Don't dereference bogus MMU pointers ANDROID: media: increase video max frame number drm/panfrost: fix -Wmissing-prototypes warnings net: hisilicon: Fix "Trying to free already-free IRQ" fjes: Handle workqueue allocation failure Revert "sched: Rework pick_next_task() slow-path" arm64: cpufeature: Enable Qualcomm Falkor/Kryo errata 1003 drm/etnaviv: fix dumping of iommuv2 drm/etnaviv: reinstate MMUv1 command buffer window check drm/etnaviv: fix deadlock in GPU coredump arm64: Ensure VM_WRITE|VM_SHARED ptes are clean by default um-ubd: Entrust re-queue to the upper layers nvme-multipath: remove unused groups_only mode in ana log nvme-multipath: fix possible io hang after ctrl reconnect powerpc/powernv: Fix CPU idle to be called with IRQs disabled sched/topology: Allow sched_asym_cpucapacity to be disabled sched/topology: Don't try to build empty sched domains USB: gadget: Reject endpoints with 0 maxpacket value powerpc/prom_init: Undo relocation before entering secure mode ANDROID: dummy_cpufreq: Implement get() ANDROID: gki_defconfig: enable CONFIG_CPUSETS ANDROID: virtio: virtio_input: Set the amount of multitouch slots in virtio input scsi: qla2xxx: stop timer in shutdown path hwmon: (ina3221) Fix read timeout issue net: usb: lan78xx: Disable interrupts before calling generic_handle_irq() Revert "ANDROID: Revert "kheaders: make headers archive reproducible"" net: dsa: sja1105: improve NET_DSA_SJA1105_TAS dependency net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum net: fix sk_page_frag() recursion from memory reclaim udp: fix data-race in udp_set_dev_scratch() net: dpaa2: Use the correct style for SPDX License Identifier net: add READ_ONCE() annotation in __skb_wait_for_more_packets() net: use skb_queue_empty_lockless() in busy poll contexts net: use skb_queue_empty_lockless() in poll() handlers udp: use skb_queue_empty_lockless() net: add skb_queue_empty_lockless() ANDROID: gki_defconfig: enable CONFIG_CPU_FREQ_GOV_CONSERVATIVE RDMA/hns: Prevent memory leaks of eq->buf_list RISC-V: Add PCIe I/O BAR memory mapping RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case RDMA/mlx5: Use irq xarray locking for mkey_table ANDROID: fix VIDEOBUF2_CORE dependency in 'allmodconfig' builds UAS: Revert commit3ae62a4209("UAS: fix alignment of scatter/gather segments") usb-storage: Revert commit747668dbc0("usb-storage: Set virt_boundary_mask to avoid SG overflows") usbip: Fix free of unallocated memory in vhci tx usbip: tools: Fix read_usb_vudc_device() error path handling usb: xhci: fix __le32/__le64 accessors in debugfs code usb: xhci: fix Immediate Data Transfer endianness xhci: Fix use-after-free regression in xhci clear hub TT implementation USB: ldusb: fix control-message timeout USB: ldusb: use unsigned size format specifiers USB: ldusb: fix ring-buffer locking USB: Skip endpoints with 0 maxpacket length io_uring: don't touch ctx in setup after ring fd install ANDROID: modpost: fix up merge issues due to namespace removal Revert "ALSA: hda: Flush interrupts on disabling" perf/headers: Fix spelling s/EACCESS/EACCES/, s/privilidge/privilege/ perf/x86/uncore: Fix event group support perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h) perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity perf/core: Start rejecting the syscall with attr.__reserved_2 set vringh: fix copy direction of vringh_iov_push_kern() vsock/virtio: remove unused 'work' field from 'struct virtio_vsock_pkt' virtio_ring: fix stalls for packed rings riscv: for C functions called only from assembly, mark with __visible riscv: fp: add missing __user pointer annotations riscv: add missing header file includes riscv: mark some code and data as file-static riscv: init: merge split string literals in preprocessor directive riscv: add prototypes for assembly language functions from head.S io_uring: Fix leaked shadow_req fix memory leak in large read decrypt offload Linux 5.4-rc5 usb: cdns3: gadget: Don't manage pullups usb: dwc3: remove the call trace of USBx_GFLADJ usb: gadget: configfs: fix concurrent issue between composite APIs usb: dwc3: pci: prevent memory leak in dwc3_pci_probe usb: gadget: composite: Fix possible double free memory bug usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode. usb: renesas_usbhs: fix type of buf usb: renesas_usbhs: Fix warnings in usbhsg_recip_handler_std_set_device() usb: gadget: udc: renesas_usb3: Fix __le16 warnings usb: renesas_usbhs: fix __le16 warnings usb: cdns3: include host-export,h for cdns3_host_init usb: mtu3: fix missing include of mtu3_dr.h usb: fsl: Check memory resource before releasing it usb: dwc3: select CONFIG_REGMAP_MMIO ANDROID: add README.md selftests: fib_tests: add more tests for metric update ipv4: fix route update on metric change. net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol() ALSA: bebob: Fix prototype of helper function to return negative value cxgb4: request the TX CIDX updates to status page netns: fix GFP flags in rtnl_net_notifyid() net: ethernet: Use the correct style for SPDX License Identifier net/smc: keep vlan_id for SMC-R in smc_listen_work() net/smc: fix closing of fallback SMC sockets ANDROID: virt_wifi: Add data ops for scan data simulation ANDROID: Allow DRM_IOCTL_MODE_*_DUMB for render clients. riscv: cleanup do_trap_break net: hwbm: if CONFIG_NET_HWBM unset, make stub functions static ANDROID: cpufreq: create dummy cpufreq driver net: mvneta: make stub functions static inline net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware nbd: verify socket is supported during setup ata: libahci_platform: Fix regulator_get_optional() misuse nbd: handle racing with error'ed out commands nbd: protect cmd->status with cmd->lock Revert "ANDROID: x86: Remove a useless warning message" ANDROID: init: GKI: enable hidden configs for media ANDROID: gki_defconfig: add FORTIFY_SOURCE, remove SPMI_MSM_PMIC_ARB Revert "Revert "Revert "Revert "x86/mm: Identify the end of the kernel area to be reserved"""" build.config.*: Link android-mainline kernels with LLD ANDROID: ALSA: jack: Update supported jack switch types ANDROID: ASoC: compress: fix unsigned integer overflow check io_uring: fix bad inflight accounting for SETUP_IOPOLL|SETUP_SQTHREAD io_uring: used cached copies of sq->dropped and cq->overflow FROMLIST: iommu: Export core IOMMU functions to kernel modules FROMLIST: PCI: Export PCI ACS and DMA searching functions to modules FROMLIST: of: Export of_phandle_iterator_args() to modules ARM: dts: stm32: relax qspi pins slew-rate for stm32mp157 io_uring: Fix race for sqes with userspace io_uring: Fix broken links with offloading io_uring: Fix corrupted user_data xen: issue deprecation warning for 32-bit pv guest kvm: Allocate memslots and buses before calling kvm_arch_init_vm powerpc/powernv/eeh: Fix oops when probing cxl devices irqchip/sifive-plic: Skip contexts except supervisor in plic_init() ANDROID: soc: qcom: Add required header to irq.h ACPI: processor: Add QoS requests for all CPUs cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs CIFS: Fix use after free of file info structures CIFS: Fix retry mid list corruption on reconnects scsi: sd: define variable dif as unsigned int instead of bool ANDROID: v4l2-compat-ioctl32.c: copy reserved fields scsi: target: cxgbit: Fix cxgbit_fw4_ack() IB/core: Avoid deadlock during netlink message handling ANDROID: of: property: Enable of_devlink by default virt_wifi: fix refcnt leak in module exit routine net: remove unnecessary variables and callback vxlan: add adjacent link to limit depth level net: core: add ignore flag to netdev_adjacent structure macsec: fix refcnt leak in module exit routine team: fix nested locking lockdep warning bonding: use dynamic lockdep key instead of subclass bonding: fix unexpected IFF_BONDING bit unset net: core: add generic lockdep keys net: core: limit nested device depth keys: Fix memory leak in copy_net_ns ANDROID: of: property: Make sure child dependencies don't block probing of parent ANDROID: driver core: Allow fwnode_operations.add_links to differentiate errors ANDROID: driver core: Allow a device to wait on optional suppliers ANDROID: driver core: Add device link support for SYNC_STATE_ONLY flag FROMGIT: docs: driver-model: Add documentation for sync_state FROMGIT: driver: core: Improve documentation for fwnode_operations.add_links() FROMGIT: of: property: Minor code formatting/style clean ups i2c: stm32f7: remove warning when compiling with W=1 i2c: stm32f7: fix a race in slave mode with arbitration loss irq i2c: stm32f7: fix first byte to send in slave mode i2c: mt65xx: fix NULL ptr dereference RDMA/nldev: Skip counter if port doesn't match irqchip/gic-v3-its: Use the exact ITSList for VMOVP FROMLIST: drivers: pinctrl: msm: setup GPIO chip in hierarchy FROMLIST: drivers: irqchip: pdc: Add irqchip set/get state calls FROMLIST: genirq: Introduce irq_chip_get/set_parent_state calls FROMLIST: drivers: irqchip: pdc: additionally set type in SPI config registers FROMLIST: dt-bindings/interrupt-controller: pdc: add SPI config register FROMLIST: of: irq: document properties for wakeup interrupt parent FROMLIST: drivers: irqchip: add PDC irqdomain for wakeup capable GPIOs FROMLIST: drivers: irqchip: pdc: Do not toggle IRQ_ENABLE during mask/unmask FROMLIST: drivers: irqchip: qcom-pdc: update max PDC interrupts FROMLIST: irqdomain: add bus token DOMAIN_BUS_WAKEUP gfs2: Fix memory leak when gfs2meta's fs_context is freed ALSA: hda/realtek - Fix 2 front mics of codec 0x623 ALSA: hda/realtek - Add support for ALC623 ALSA: usb-audio: Add DSD support for Gustard U16/X26 USB Interface netfilter: nft_payload: fix missing check for matching length in offloads ipvs: move old_secure_tcp into struct netns_ipvs ipvs: don't ignore errors in case refcounting ip_vs module fails ANDROID: drop patches/ symbolic link mfd: mt6397: Fix probe after changing mt6397-core net: phy: smsc: LAN8740: add PHY_RST_AFTER_CLK_EN flag MIPS: tlbex: Fix build_restore_pagemask KScratch restore io_uring: correct timeout req sequence when inserting a new entry io_uring : correct timeout req sequence when waiting timeout io_uring: revert "io_uring: optimize submit_and_wait API" MIPS: bmips: mark exception vectors as char arrays xsk: Fix registration of Rx-only sockets net/flow_dissector: switch to siphash MAINTAINERS: Update the Spreadtrum SoC maintainer ANDROID: Revert "ANDROID: Removed check for asm-goto" riscv: cleanup <asm/bug.h> riscv: Fix undefined reference to vmemmap_populate_basepages riscv: Fix implicit declaration of 'page_to_section' riscv: fix fs/proc/kcore.c compilation with sparsemem enabled ANDROID: sdcardfs: evict dentries on fscrypt key removal ANDROID: fscrypt: add key removal notifier chain ANDROID: move up spin_unlock_bh() ahead of remove_proc_entry() ANDROID: Kconfig.gki: Add hidden MMC config support ANDROID: Kconfig.gki: Add Hidden QCOM configs ANDROID: Kconfig.gki: Add SND_PCM_ELD to HIDDEN_DRM configs ANDROID: Kconfig.gki: Add extra audio selections ANDROID: Kconfig.gki: Add extra GKI_HIDDEN_REGMAP_CONFIGS selections ANDROID: Four part re-add of asm-goto usage [4/4] ANDROID: Four part re-add of asm-goto usage [3/4] ANDROID: Four part re-add of asm-goto usage [2/4] ANDROID: Four part re-add of asm-goto usage [1/4] ANDROID: Move out patches/ and replace by link to kernel/common-patches project of: reserved_mem: add missing of_node_put() for proper ref-counting of: unittest: fix memory leak in unittest_data_add dt-bindings: riscv: Fix CPU schema errors MAINTAINERS: Remove Gregory and Brian for ARCH_BRCMSTB drm/v3d: Fix memory leak in v3d_submit_cl_ioctl panfrost: Properly undo pm_runtime_enable when deferring a probe dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle posix-cpu-timers: Fix two trivial comments timers/sched_clock: Include local timekeeping.h for missing declarations lib/vdso: Make clock_getres() POSIX compliant again fuse: redundant get_fuse_inode() calls in fuse_writepages_fill() fuse: Add changelog entries for protocols 7.1 - 7.8 fuse: truncate pending writes on O_TRUNC fuse: flush dirty data/metadata before non-truncate setattr netfilter: nf_tables_offload: restore basechain deletion netfilter: nf_flow_table: set timeout before insertion into hashes rtlwifi: rtl_pci: Fix problem of too small skb->len iwlwifi: pcie: 0x2720 is qu and 0x30DC is not iwlwifi: pcie: add workaround for power gating in integrated 22000 iwlwifi: mvm: handle iwl_mvm_tvqm_enable_txq() error return iwlwifi: pcie: fix all 9460 entries for qnj iwlwifi: pcie: fix PCI ID 0x2720 configs that should be soc rtlwifi: Fix potential overflow on P2P code iwlwifi: pcie: fix merge damage on making QnJ exclusive scripts/nsdeps: use alternative sed delimiter virtiofs: Remove set but not used variable 'fc' fs/dax: Fix pmd vs pte conflict detection opp: Reinitialize the list_kref before adding the static OPPs again bpf: Fix use after free in bpf_get_prog_name ALSA: hda: Add Tigerlake/Jasperlake PCI ID scsi: qla2xxx: Fix partial flash write of MBI scsi: qla2xxx: Initialized mailbox to prevent driver load failure scsi: lpfc: Honor module parameter lpfc_use_adisc ipv6: include <net/addrconf.h> for missing declarations net: openvswitch: free vport unless register_netdevice() succeeds selftests: Make l2tp.sh executable net: sched: taprio: fix -Wmissing-prototypes warnings bnxt_en: Avoid disabling pci device in bnxt_remove_one() for already disabled device. bnxt_en: Minor formatting changes in FW devlink_health_reporter bnxt_en: Adjust the time to wait before polling firmware readiness. bnxt_en: Fix devlink NVRAM related byte order related issues. bnxt_en: Fix the size of devlink MSIX parameters. net: stmmac: Fix the problem of tso_xmit dynamic_debug: provide dynamic_hex_dump stub bpf: Fix use after free in subprog's jited symbol removal RDMA/uverbs: Prevent potential underflow KVM: nVMX: Don't leak L1 MMIO regions to L2 ARC: perf: Accommodate big-endian CPU ARC: [plat-hsdk]: Enable on-boardi SPI ADC IC ARC: [plat-hsdk]: Enable on-board SPI NOR flash IC KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update cpufreq: Cancel policy update work scheduled before freeing s390/kaslr: add support for R_390_GLOB_DAT relocation type s390/zcrypt: fix memleak at release ALSA: usb-audio: Fix copy&paste error in the validator perf/aux: Fix AUX output stopping kvm: clear kvmclock MSR on reset KVM: x86: fix bugon.cocci warnings KVM: VMX: Remove specialized handling of unexpected exit-reasons selftests: kvm: fix sync_regs_test with newer gccs selftests: kvm: vmx_dirty_log_test: skip the test when VMX is not supported selftests: kvm: consolidate VMX support checks selftests: kvm: vmx_set_nested_state_test: don't check for VMX support twice KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled selftests: kvm: synchronize .gitignore to Makefile kvm: x86: Expose RDPID in KVM_GET_SUPPORTED_CPUID cpuidle: haltpoll: Take 'idle=' override into account ACPI: NFIT: Fix unlock on error in scrub_show() tracing: Fix race in perf_trace_buf initialization x86/cpu/vmware: Fix platform detection VMWARE_PORT macro x86/cpu/vmware: Use the full form of INL in VMWARE_HYPERCALL, for clang/llvm xdp: Handle device unregister for devmap_hash map type r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2 ipv4: fix IPSKB_FRAG_PMTU handling with fragmentation ARM: 8926/1: v7m: remove register save to stack before svc Input: st1232 - fix reporting multitouch coordinates Revert "pwm: Let pwm_get_state() return the last implemented state" mmc: mxs: fix flags passed to dmaengine_prep_slave_sg virtiofs: Retry request submission from worker context virtiofs: Count pending forgets as in_flight forgets virtiofs: Set FR_SENT flag only after request has been sent virtiofs: No need to check fpq->connected state virtiofs: Do not end request in submission context fuse: don't advise readdirplus for negative lookup drm/komeda: Fix typos in komeda_splitter_validate drm/komeda: Don't flush inactive pipes i2c: aspeed: fix master pending state handling mmc: cqhci: Commit descriptors before setting the doorbell mmc: sdhci-omap: Fix Tuning procedure for temperatures < -20C ALSA: hda/realtek - Add support for ALC711 perf/aux: Fix tracking of auxiliary trace buffer allocation fuse: don't dereference req->args on finished request opp: core: Revert "add regulators enable and disable" cifs: Fix missed free operations CIFS: avoid using MID 0xFFFF cifs: clarify comment about timestamp granularity for old servers cifs: Handle -EINPROGRESS only when noblockcnt is set PM: QoS: Drop frequency QoS types from device PM QoS cpufreq: Use per-policy frequency QoS PM: QoS: Introduce frequency QoS Linux 5.4-rc4 hwmon: (nct7904) Fix the incorrect value of vsen_mask & tcpu_mask & temp_mode in nct7904_data struct. perf/x86/intel/pt: Fix base for single entry topa KVM: arm64: pmu: Reset sample period on overflow handling KVM: arm64: pmu: Set the CHAINED attribute before creating the in-kernel event arm64: KVM: Handle PMCR_EL0.LC as RES1 on pure AArch64 systems KVM: arm64: pmu: Fix cycle counter truncation net: reorder 'struct net' fields to avoid false sharing net: dsa: fix switch tree list net: ethernet: dwmac-sun8i: show message only when switching to promisc net: aquantia: add an error handling in aq_nic_set_multicast_list net: netem: correct the parent's backlog when corrupted packet was dropped net: netem: fix error path for corrupted GSO frames macb: propagate errors when getting optional clocks xen/netback: fix error path of xenvif_connect_data() net: hns3: fix mis-counting IRQ vector numbers issue scripts/gdb: fix debugging modules on s390 kernel/events/uprobes.c: only do FOLL_SPLIT_PMD for uprobe register mm/thp: allow dropping THP from page cache mm/vmscan.c: support removing arbitrary sized pages from mapping mm/thp: fix node page state in split_huge_page_to_list() proc/meminfo: fix output alignment mm/init-mm.c: include <linux/mman.h> for vm_committed_as_batch mm/filemap.c: include <linux/ramfs.h> for generic_file_vm_ops definition mm: include <linux/huge_mm.h> for is_vma_temporary_stack zram: fix race between backing_dev_show and backing_dev_store mm/memcontrol: update lruvec counters in mem_cgroup_move_account ocfs2: fix panic due to ocfs2_wq is null hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic() mm: memblock: do not enforce current limit for memblock_phys* family mm: memcg: get number of pages on the LRU list in memcgroup base on lru_zone_size mm/gup: fix a misnamed "write" argument, and a related bug mm/gup_benchmark: add a missing "w" to getopt string ocfs2: fix error handling in ocfs2_setattr() mm: memcg/slab: fix panic in __free_slab() caused by premature memcg pointer release mm/memunmap: don't access uninitialized memmap in memunmap_pages() mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span() mm/page_owner: don't access uninitialized memmaps when reading /proc/pagetypeinfo scripts/gdb: fix lx-dmesg when CONFIG_PRINTK_CALLER is set mm/memory-failure.c: don't access uninitialized memmaps in memory_failure() fs/proc/page.c: don't access uninitialized memmaps in fs/proc/page.c drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_page_store() xdp: Prevent overflow in devmap_hash cost calculation for 32-bit builds filldir[64]: remove WARN_ON_ONCE() for bad directory entries scsi: ufs-bsg: Wake the device before sending raw upiu commands scsi: lpfc: Check queue pointer before use mips: vdso: Fix __arch_get_hw_counter() MAINTAINERS: Use @kernel.org address for Paul Burton scsi: qla2xxx: fixup incorrect usage of host_byte selftests/bpf: More compatible nc options in test_tc_edt net/mlx5: fix memory leak in mlx5_fw_fatal_reporter_dump net/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq net/mlx5e: TX, Fix consumer index of error cqe dump net/mlx5e: kTLS, Enhance TX resync flow net/mlx5e: kTLS, Save a copy of the crypto info net/mlx5e: kTLS, Remove unneeded cipher type checks net/mlx5e: kTLS, Limit DUMP wqe size net/mlx5e: kTLS, Fix missing SQ edge fill net/mlx5e: kTLS, Fix page refcnt leak in TX resync error flow net/mlx5e: kTLS, Save by-value copy of the record frags net/mlx5e: kTLS, Save only the frag page to release at completion net/mlx5e: kTLS, Size of a Dump WQE is fixed net/mlx5e: kTLS, Release reference on DUMPed fragments in shutdown flow net/mlx5e: Tx, Zero-memset WQE info struct upon update net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow usb: cdns3: Error out if USB_DR_MODE_UNKNOWN in cdns3_core_init_role() ARM: dts: bcm2837-rpi-cm3: Avoid leds-gpio probing issue USB: ldusb: fix read info leaks IB/core: Use rdma_read_gid_l2_fields to compare GID L2 fields RDMA/qedr: Fix reported firmware version RDMA/siw: free siw_base_qp in kref release routine tracing: Fix "gfp_t" format for synthetic events RDMA/iwcm: move iw_rem_ref() calls out of spinlock iw_cxgb4: fix ECN check on the passive accept net: usb: lan78xx: Connect PHY before registering MAC vsock/virtio: discard packets if credit is not respected vsock/virtio: send a credit update when buffer size is changed mlxsw: spectrum_trap: Push Ethernet header before reporting trap ASoC: SOF: control: return true when kcontrol values change ASoC: stm32: sai: fix sysclk management on shutdown ASoC: Intel: sof-rt5682: add a check for devm_clk_get ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting net: ensure correct skb->tstamp in various fragmenters net: bcmgenet: reset 40nm EPHY on energy detect net: bcmgenet: soft reset 40nm EPHYs before MAC init net: phy: bcm7xxx: define soft_reset for 40nm EPHY net: bcmgenet: don't set phydev->link from MAC bus: ti-sysc: Fix watchdog quirk handling ARM: OMAP2+: Add pdata for OMAP3 ISP IOMMU ARM: OMAP2+: Plug in device_enable/idle ops for IOMMUs iommu/vt-d: Return the correct dma mask when we are bypassing the IOMMU iommu/amd: Check PM_LEVEL_SIZE() condition in locked section nvme-pci: Set the prp2 correctly when using more than 4k page HID: i2c-hid: add Trekstor Primebook C11B to descriptor override symbol namespaces: revert to previous __ksymtab name scheme modpost: make updating the symbol namespace explicit modpost: delegate updating namespaces to separate function HID: logitech-hidpp: do all FF cleanup in hidpp_ff_destroy() HID: logitech-hidpp: rework device validation HID: logitech-hidpp: split g920_get_config() HID: i2c-hid: Remove runtime power management x86/boot/acpi: Move get_cmdline_acpi_rsdp() under #ifdef guard x86/hyperv: Set pv_info.name to "Hyper-V" ACPI: CPPC: Set pcc_data[pcc_ss_id] to NULL in acpi_cppc_processor_exit() dmaengine: qcom: bam_dma: Fix resource leak scsi: lpfc: remove left-over BUILD_NVME defines scsi: core: try to get module before removing device scsi: hpsa: add missing hunks in reset-patch scsi: target: core: Do not overwrite CDB byte 1 net: Update address for MediaTek ethernet driver in MAINTAINERS ipv4: fix race condition between route lookup and invalidation ipv4: Return -ENETUNREACH if we can't create route but saddr is valid net: phy: micrel: Update KSZ87xx PHY name net: phy: micrel: Discern KSZ8051 and KSZ8795 PHYs io_uring: fix logic error in io_timeout io_uring: fix up O_NONBLOCK handling for sockets drm/amdgpu/vce: fix allocation size in enc ring test drm/amdgpu: fix error handling in amdgpu_bo_list_create drm/amdgpu: fix potential VM faults drm/amdgpu: user pages array memory leak fix drm/amdgpu/vcn: fix allocation size in enc ring test drm/amdgpu/uvd7: fix allocation size in enc ring test (v2) drm/amdgpu/uvd6: fix allocation size in enc ring test (v2) IB/hfi1: Use a common pad buffer for 9B and 16B packets IB/hfi1: Avoid excessive retry for TID RDMA READ request RDMA/mlx5: Clear old rate limit when closing QP net: dsa: microchip: Add shared regmap mutex net: dsa: microchip: Do not reinit mutexes on KSZ87xx net: stmmac: fix argument to stmmac_pcs_ctrl_ane() dpaa2-eth: Fix TX FQID values dpaa2-eth: add irq for the dpmac connect/disconnect event usb: hso: obey DMA rules in tiocmget Btrfs: check for the full sync flag while holding the inode lock during fsync Btrfs: fix qgroup double free after failure to reserve metadata for delalloc coccinelle: api/devm_platform_ioremap_resource: remove useless script ALSA: hda - Force runtime PM on Nvidia HDMI codecs dm cache: fix bugs when a GFP_NOWAIT allocation fails ARM: davinci_all_defconfig: enable GPIO backlight ARM: davinci: dm365: Fix McBSP dma_slave_map entry binder: Don't modify VMA bounds in ->mmap handler btrfs: tracepoints: Fix bad entry members of qgroup events btrfs: tracepoints: Fix wrong parameter order for qgroup events stop_machine: Avoid potential race behaviour EDAC/ghes: Fix Use after free in ghes_edac remove path ALSA: hda/realtek - Enable headset mic on Asus MJ401TA ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers kheaders: substituting --sort in archive creation powerpc/32s: fix allow/prevent_user_access() when crossing segment boundaries. net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow net: phy: Fix "link partner" information disappear issue rxrpc: use rcu protection while reading sk->sk_user_data drm/i915: Fixup preempt-to-busy vs resubmission of a virtual request drm/i915/userptr: Never allow userptr into the mappable GGTT drm/i915: Favor last VBT child device with conflicting AUX ch/DDC pin drm/i915/execlists: Refactor -EIO markup of hung requests Revert "blackhole_netdev: fix syzkaller reported issue" arm64: tags: Preserve tags for addresses translated via TTBR1 arm64: mm: fix inverted PAR_EL1.F check arm64: sysreg: fix incorrect definition of SYS_PAR_EL1_F arm64: entry.S: Do not preempt from IRQ before all cpufeatures are enabled md/raid0: fix warning message for parameter default_layout kthread: make __kthread_queue_delayed_work static pinctrl: aspeed-g6: Rename SD3 to EMMC and rework pin groups pinctrl: aspeed-g6: Fix UART13 group pinmux pinctrl: aspeed-g6: Make SIG_DESC_CLEAR() behave intuitively pinctrl: aspeed-g6: Fix I3C3/I3C4 pinmux configuration pinctrl: aspeed-g6: Fix I2C14 SDA description pinctrl: aspeed-g6: Sort pins for sanity dt-bindings: pinctrl: aspeed-g6: Rework SD3 function and groups perf kmem: Fix memory leak in compact_gfp_flags() usercopy: Avoid soft lockups in test_check_nonzero_user() pinctrl: berlin: as370: fix a typo s/spififib/spdifib ACPI: processor: Avoid NULL pointer dereferences at init time USB: serial: ti_usb_3410_5052: clean up serial data access USB: serial: ti_usb_3410_5052: fix port-close races xtensa: fix change_bit in exclusive access option HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring() RISC-V: fix virtual address overlapped in FIXADDR_START and VMEMMAP_START net: usb: sr9800: fix uninitialized local variable net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3 net: stmmac: make tc_flow_parsers static davinci_cpdma: make cpdma_chan_split_pool static net: i82596: fix dma_alloc_attr for sni_82596 sctp: change sctp_prot .no_autobind with true sched: etf: Fix ordering of packets with same txtime net: avoid potential infinite loop in tc_ctl_action() net: dsa: sja1105: Use the correct style for SPDX License Identifier tcp: fix a possible lockdep splat in tcp_done() arm: dts: mediatek: Update mt7629 dts to reflect the latest dt-binding net: ethernet: mediatek: Fix MT7629 missing GMII mode support Revert "Input: elantech - enable SMBus on new (2018+) systems" net/sched: fix corrupted L2 header with MPLS 'push' and 'pop' actions net: avoid errors when trying to pop MLPS header on non-MPLS packets net: cavium: Use the correct style for SPDX License Identifier net: dsa: microchip: Use the correct style for SPDX License Identifier PCI: PM: Fix pci_power_up() xtensa: virt: fix PCI IO ports mapping libata/ahci: Fix PCS quirk application vfio/type1: Initialize resv_msi_base 8250-men-mcb: fix error checking when get_num_ports returns -ENODEV USB: usblp: fix use-after-free on disconnect usb: udc: lpc32xx: fix bad bit shift operation usb: cdns3: Fix dequeue implementation. USB: legousbtower: fix a signedness bug in tower_probe() USB: legousbtower: fix memleak on disconnect USB: ldusb: fix memleak on disconnect net: ethernet: broadcom: have drivers select DIMLIB as needed net: Update address for vrf and l3mdev in MAINTAINERS net: bcmgenet: Set phydev->dev_flags only for internal PHYs blackhole_netdev: fix syzkaller reported issue ARM: dts: bcm2835-rpi-zero-w: Fix bus-width of sdhci sparc64: disable fast-GUP due to unexplained oopses btrfs: qgroup: Always free PREALLOC META reserve in btrfs_delalloc_release_extents() drm/panfrost: Handle resetting on timeout better blk-rq-qos: fix first node deletion of rq_qos_del() blkcg: Fix multiple bugs in blkcg_activate_policy() xfs: change the seconds fields in xfs_bulkstat to signed tools headers UAPI: Sync sched.h with the kernel rbd: cancel lock_dwork if the wait is interrupted ceph: just skip unrecognized info in ceph_reply_info_extra tools headers kvm: Sync kvm.h headers with the kernel sources tools headers kvm: Sync kvm headers with the kernel sources tools headers kvm: Sync kvm headers with the kernel sources perf c2c: Fix memory leak in build_cl_output() perf tools: Fix mode setting in copyfile_mode_ns() perf annotate: Fix multiple memory and file descriptor leaks io_uring: consider the overflow of sequence for timeout req perf tools: Fix resource leak of closedir() on the error paths perf evlist: Fix fix for freed id arrays perf jvmti: Link against tools/lib/ctype.h to have weak strlcpy() scripts: setlocalversion: fix a bashism kbuild: update comment about KBUILD_ALLDIRS virtio-fs: don't show mount options nvme-tcp: fix possible leakage during error flow nvmet-loop: fix possible leakage during error flow btrfs: don't needlessly create extent-refs kernel thread iommu/amd: Fix incorrect PASID decoding from event log iommu/ipmmu-vmsa: Only call platform_get_irq() when interrupt is mandatory iommu/rockchip: Don't use platform_get_irq to implicitly count irqs dmaengine: sprd: Fix the possible memory leak issue dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config dmaengine: xilinx_dma: Fix 64-bit simple AXIDMA transfer x86/apic/x2apic: Fix a NULL pointer deref when handling a dying cpu x86/hyperv: Make vapic support x2apic mode KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use arm64: hibernate: check pgd table allocation arm64: cpufeature: Treat ID_AA64ZFR0_EL1 as RAZ when SVE is not enabled net: aquantia: correctly handle macvlan and multicast coexistence net: aquantia: do not pass lro session with invalid tcp checksum net: aquantia: when cleaning hw cache it should be toggled net: aquantia: temperature retrieval fix gpio: lynxpoint: set default handler to be handle_bad_irq() gpio: merrifield: Move hardware initialization to callback gpio: lynxpoint: Move hardware initialization to callback gpio: intel-mid: Move hardware initialization to callback gpiolib: Initialize the hardware with a callback gpio: merrifield: Restore use of irq_base xtensa: drop EXPORT_SYMBOL for outs*/ins* mm/memory-failure: poison read receives SIGKILL instead of SIGBUS if mmaped more than once mm/slab.c: fix kernel-doc warning for __ksize() xarray.h: fix kernel-doc warning bitmap.h: fix kernel-doc warning and typo fs/fs-writeback.c: fix kernel-doc warning fs/libfs.c: fix kernel-doc warning fs/direct-io.c: fix kernel-doc warning mm, compaction: fix wrong pfn handling in __reset_isolation_pfn() mm, hugetlb: allow hugepage allocations to reclaim as needed lib/test_meminit: add a kmem_cache_alloc_bulk() test mm/slub.c: init_on_free=1 should wipe freelist ptr for bulk allocations lib/generic-radix-tree.c: add kmemleak annotations mm/slub: fix a deadlock in show_slab_objects() mm, page_owner: rename flag indicating that page is allocated mm, page_owner: decouple freeing stack trace from debug_pagealloc mm, page_owner: fix off-by-one error in __set_page_owner_handle() xtensa: fix type conversion in __get_user_[no]check xtensa: clean up assembly arguments in uaccess macros block: Fix elv_support_iosched() parisc: Remove 32-bit DMA enforcement from sba_iommu parisc: Fix vmap memory leak in ioremap()/iounmap() parisc: prefer __section from compiler_attributes.h parisc: sysctl.c: Use CONFIG_PARISC instead of __hppa_ define firmware: dmi: Fix unlikely out-of-bounds read in save_mem_devices riscv: tlbflush: remove confusing comment on local_flush_tlb_all() riscv: dts: HiFive Unleashed: add default chosen/stdout-path riscv: remove the switch statement in do_trap_break() drm/panfrost: Add missing GPU feature registers bpf: lwtunnel: Fix reroute supplying invalid dst xtensa: fix {get,put}_user() for 64bit values kmemleak: Do not corrupt the object_list during clean-up nvme-tcp: Initialize sk->sk_ll_usec only with NET_RX_BUSY_POLL nvme: Wait for reset state when required nvme: Prevent resets during paused controller state nvme: Restart request timers in resetting state nvme: Remove ADMIN_ONLY state nvme-pci: Free tagset if no IO queues hrtimer: Annotate lockless access to timer->base staging: wlan-ng: fix exit return when sme->key_idx >= NUM_WEPKEYS ARM: imx_v6_v7_defconfig: Enable CONFIG_DRM_MSM arm64: dts: imx8mn: Use correct clock for usdhc's ipg clk arm64: dts: imx8mm: Use correct clock for usdhc's ipg clk arm64: dts: imx8mq: Use correct clock for usdhc's ipg clk platform/x86: i2c-multi-instantiate: Fail the probe if no IRQ provided ARM: dts: imx7s: Correct GPT's ipg clock source ARM: dts: vf610-zii-scu4-aib: Specify 'i2c-mux-idle-disconnect' drm/ttm: fix handling in ttm_bo_add_mem_to_lru drm/ttm: Restore ttm prefaulting drm/ttm: fix busy reference in ttm_mem_evict_first ARM: dts: imx6q-logicpd: Re-Enable SNVS power key ath10k: fix latency issue for QCA988x virtio-fs: Change module name to virtiofs.ko dmaengine: imx-sdma: fix size check for sdma script_number dmaengine: tegra210-adma: fix transfer failure arm64: dts: lx2160a: Correct CPU core idle state name dmaengine: sprd: Fix the link-list pointer register configuration issue batman-adv: Avoid free/alloc race when handling OGM buffer batman-adv: Avoid free/alloc race when handling OGM2 buffer netdevsim: Fix error handling in nsim_fib_init and nsim_fib_exit net/ibmvnic: Fix EOI when running in XIVE mode. net: lpc_eth: avoid resetting twice tcp: annotate sk->sk_wmem_queued lockless reads tcp: annotate sk->sk_sndbuf lockless reads tcp: annotate sk->sk_rcvbuf lockless reads tcp: annotate tp->urg_seq lockless reads tcp: annotate tp->snd_nxt lockless reads tcp: annotate tp->write_seq lockless reads tcp: annotate tp->copied_seq lockless reads tcp: annotate tp->rcv_nxt lockless reads tcp: add rcu protection around tp->fastopen_rsk vhost/test: stop device before reset tools/virtio: xen stub mailmap: Add Simon Arlott (replacement for expired email address) rxrpc: Fix possible NULL pointer access in ICMP handling drm/amdgpu/sdma5: fix mask value of POLL_REGMEM packet for pipe sync drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1 Revert "drm/radeon: Fix EEH during kexec" Input: synaptics-rmi4 - avoid processing unknown IRQs btrfs: block-group: Fix a memory leak due to missing btrfs_put_block_group() drm/msm/dsi: Implement reset correctly Btrfs: add missing extents release on file extent cluster relocation error x86/boot/64: Round memory hole size up to next PMD page x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area arm64: Fix kcore macros after 52-bit virtual addressing fallout tools/virtio: more stubs net/smc: receive pending data after RCV_SHUTDOWN net/smc: receive returns without data net/smc: fix SMCD link group creation with VLAN id net: update net_dim documentation after rename r8169: fix jumbo packet handling on resume from suspend arm64: dts: rockchip: Fix override mode for rk3399-kevin panel arm64: dts: rockchip: Fix usb-c on Hugsun X99 TV Box arm64: dts: rockchip: fix RockPro64 sdmmc settings ARM: 8914/1: NOMMU: Fix exc_ret for XIP ARM: 8908/1: add __always_inline to functions called from __get_user_check() HID: google: add magnemite/masterball USB ids MAINTAINERS: Add BCM2711 to BCM2835 ARCH dma-buf/resv: fix exclusive fence get drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50 dm snapshot: rework COW throttling to fix deadlock dm snapshot: introduce account_start_copy() and account_end_copy() drm/tiny: Kconfig: Remove always-y THERMAL dep. from TINYDRM_REPAPER platform/x86: intel_punit_ipc: Avoid error message when retrieving IRQ platform/x86: classmate-laptop: remove unused variable opp: of: drop incorrect lockdep_assert_held() PM: sleep: include <linux/pm_runtime.h> for pm_wq cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown ACPI: PM: Drop Dell XPS13 9360 from LPS0 Idle _DSM blacklist net: silence KCSAN warnings about sk->sk_backlog.len reads net: annotate sk->sk_rcvlowat lockless reads net: silence KCSAN warnings around sk_add_backlog() calls tcp: annotate lockless access to tcp_memory_pressure net: add {READ|WRITE}_ONCE() annotations on ->rskq_accept_head net: avoid possible false sharing in sk_leave_memory_pressure() tun: remove possible false sharing in tun_flow_update() netfilter: conntrack: avoid possible false sharing netns: fix NLM_F_ECHO mechanism for RTM_NEWNSID scsi: ch: Make it possible to open a ch device multiple times again scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE scsi: sni_53c710: fix compilation error scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions scsi: qla2xxx: fix a potential NULL pointer dereference net: usb: qmi_wwan: add Telit 0x1050 composition act_mirred: Fix mirred_init_module error handling net: taprio: Fix returning EINVAL when configuring without flags s390/qeth: Fix initialization of vnicc cmd masks during set online s390/qeth: Fix error handling during VNICC initialization phylink: fix kernel-doc warnings sctp: add chunks to sk_backlog when the newsk sk_socket is not set bonding: fix potential NULL deref in bond_update_slave_arr net: stmmac: fix disabling flexible PPS output net: stmmac: fix length of PTP clock's name string ARM: mm: alignment: use "u32" for 32-bit instructions ARM: mm: fix alignment handler faults under memory pressure ARM: dts: Use level interrupt for omap4 & 5 wlcore drivers/amba: fix reset control error handling ASoC: simple_card_utils.h: Fix potential multiple redefinition error ASoC: msm8916-wcd-digital: add missing MIX2 path for RX1/2 drm/amdgpu/powerplay: fix typo in mvdd table setup iwlwifi: pcie: change qu with jf devices to use qu configuration iwlwifi: exclude GEO SAR support for 3168 iwlwifi: pcie: fix memory leaks in iwl_pcie_ctxt_info_gen3_init iwlwifi: dbg_ini: fix memory leak in alloc_sgtable iwlwifi: pcie: fix rb_allocator workqueue allocation iwlwifi: pcie: fix indexing in command dump for new HW iwlwifi: mvm: fix race in sync rx queue notification iwlwifi: mvm: force single phy init iwlwifi: fix ACPI table revision checks iwlwifi: don't access trans_cfg via cfg memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()' mmc: sdhci-iproc: fix spurious interrupts on Multiblock reads with bcm2711 pinctrl: armada-37xx: swap polarity on LED group arm64: dts: armada-3720-turris-mox: convert usb-phy to phy-supply ip6erspan: remove the incorrect mtu limit for ip6erspan Doc: networking/device_drivers/pensando: fix ionic.rst warnings NFC: pn533: fix use-after-free and memleaks Input: soc_button_array - partial revert of support for newer surface devices net_sched: fix backward compatibility for TCA_ACT_KIND net_sched: fix backward compatibility for TCA_KIND net/mlx5: DR, Allow insertion of duplicate rules selftests/bpf: More compatible nc options in test_lwt_ip_encap selftests/bpf: Set rp_filter in test_flow_dissector llc: fix sk_buff refcounting in llc_conn_state_process() llc: fix another potential sk_buff leak in llc_ui_sendmsg() llc: fix sk_buff leak in llc_conn_service() llc: fix sk_buff leak in llc_sap_state_process() dm clone: Make __hash_find static rt2x00: remove input-polldev.h header ARM: dts: am3874-iceboard: Fix 'i2c-mux-idle-disconnect' usage ARM: dts: omap5: fix gpu_cm clock provider name arm64: Allow CAVIUM_TX2_ERRATUM_219 to be selected arm64: Avoid Cavium TX2 erratum 219 when switching TTBR arm64: Enable workaround for Cavium TX2 erratum 219 when running SMT arm64: KVM: Trap VM ops when ARM64_WORKAROUND_CAVIUM_TX2_219_TVM is set mac80211: fix scan when operating on DFS channels in ETSI domains mac80211: accept deauth frames in IBSS mode cfg80211: fix a bunch of RCU issues in multi-bssid code nl80211: fix memory leak in nl80211_get_ftm_responder_stats ptp: fix typo of "mechanism" in Kconfig help text ionic: fix stats memory dereference ASoC: core: Fix pcm code debugfs error ARM: dts: sun7i: Drop the module clock from the device tree dt-bindings: media: sun4i-csi: Drop the module clock rxrpc: Fix call crypto state cleanup rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record rxrpc: Fix trace-after-put looking at the put call record rxrpc: Fix trace-after-put looking at the put connection record rxrpc: Fix trace-after-put looking at the put peer record media: dt-bindings: Fix building error for dt_binding_check rxrpc: Fix call ref leak ALSA: hdac: clear link output stream mapping ALSA: hda/realtek: Reduce the Headphone static noise on XPS 9350/9360 lib: test_user_copy: style cleanup net: stmmac: selftests: Fix L2 Hash Filter test net: stmmac: gmac4+: Not all Unicast addresses may be available net: stmmac: selftests: Check if filtering is available before running net: dsa: b53: Do not clear existing mirrored port mask arm64: dts: zii-ultra: fix ARM regulator states soc: imx: imx-scu: Getting UID from SCU should have response pinctrl: stmfx: fix null pointer on remove pinctrl: iproc: allow for error from platform_get_irq() nvme: retain split access workaround for capability reads nvme: fix possible deadlock when nvme_update_formats fails pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable() pinctrl: bcm-iproc: Use SPDX header pinctrl: armada-37xx: fix control of pins 32 and up arm64: dts: rockchip: fix RockPro64 sdhci settings arm64: dts: rockchip: fix RockPro64 vdd-log regulator settings regulator: qcom-rpmh: Fix PMIC5 BoB min voltage ARM: dts: logicpd-torpedo-som: Remove twl_keypad cfg80211: wext: avoid copying malformed SSIDs mac80211: Reject malformed SSID elements mac80211_hwsim: fix incorrect dev_alloc_name failure goto MAINTAINERS: Add hp_sdc drivers to parisc arch scsi: MAINTAINERS: Update qla2xxx driver scsi: zfcp: fix reaction on bit error threshold notification scsi: core: save/restore command resid for error handling dt-bindings: arm: rockchip: fix Theobroma-System board bindings arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line HID: Fix assumption that devices have inputs ARM: omap2plus_defconfig: Fix selected panels after generic panel changes samples/bpf: Add a workaround for asm_inline xsk: Fix crash in poll when device does not support ndo_xsk_wakeup samples/bpf: Fix build for task_fd_query_user.c ASoc: rockchip: i2s: Fix RPM imbalance mmc: sh_mmcif: Use platform_get_irq_optional() for optional interrupt mmc: renesas_sdhi: Do not use platform_get_irq() to count interrupts ACPI: HMAT: ACPI_HMAT_MEMORY_PD_VALID is deprecated since ACPI-6.3 Input: goodix - add support for 9-bytes reports Input: da9063 - fix capability and drop KEY_SLEEP ASoC: wm_adsp: Don't generate kcontrols without READ flags sysfs: Fixes __BIN_ATTR_WO() macro rt2x00: initialize last_reset selftests/bpf: test_progs: Don't leak server_fd in test_sockopt_inherit selftests/bpf: test_progs: Don't leak server_fd in tcp_rtt regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized ASoC: intel: bytcr_rt5651: add null check to support_button_press ASoC: intel: sof_rt5682: add remove function to disable jack ASoC: rt5682: add NULL handler to set_jack function ASoC: intel: sof_rt5682: use separate route map for dmic ASoC: SOF: Intel: hda: Disable DMI L1 entry during capture ASoC: SOF: Intel: initialise and verify FW crash dump data. ASoC: SOF: Intel: hda: fix warnings during FW load ASoC: SOF: pcm: harden PCM STOP sequence ASoC: SOF: pcm: fix resource leak in hw_free ASoC: SOF: topology: fix parse fail issue for byte/bool tuple types ASoC: SOF: loader: fix kernel oops on firmware boot failure regulator: lochnagar: Add on_off_delay for VDDCORE ASoC: wm_adsp: Fix theoretical NULL pointer for alg_region pinctrl: cherryview: restore Strago DMI workaround for all versions pinctrl: intel: Allocate IRQ chip dynamic HID: prodikeys: make array keys static const, makes object smaller HID: fix error message in hid_open_report() ASoC: max98373: check for device node before parsing regulator: ti-abb: Fix timeout in ti_abb_wait_txdone/ti_abb_clear_all_txdone iommu/io-pgtable-arm: Support all Mali configurations iommu/io-pgtable-arm: Correct Mali attributes iommu/arm-smmu: Free context bitmap in the err path of arm_smmu_init_domain_context scsi: qla2xxx: Remove WARN_ON_ONCE in qla2x00_status_cont_entry() scsi: sd: Ignore a failure to sync cache due to lack of authorization arm64: dts: Fix gpio to pinmux mapping libbpf: handle symbol versioning properly for libbpf.a arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay arm64: dts: allwinner: a64: Drop PMU node arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay tools: bpf: Use !building_out_of_srctree to determine srctree ASoC: topology: Fix a signedness bug in soc_tplg_dapm_widget_create() scsi: core: fix dh and multipathing for SCSI hosts without request batching scsi: core: fix missing .cleanup_rq for SCSI hosts without request batching regulator: da9062: fix suspend_enable/disable preparation dt-bindings: fixed-regulator: fix compatible enum regulator: fixed: Prevent NULL pointer dereference when !CONFIG_OF ASoC: soc-component: fix a couple missing error assignments ASoC: wm8994: Do not register inapplicable controls for WM1811 ASoC: samsung: arndale: Add missing OF node dereferencing irqchip/sifive-plic: Switch to fasteoi flow irqchip/gic-v3: Fix GIC_LINE_NR accessor regulator: core: make regulator_register() EPROBE_DEFER aware regulator: of: fix suspend-min/max-voltage parsing irqchip/atmel-aic5: Add support for sam9x60 irqchip irqchip/al-fic: Add support for irq retrigger Change-Id: I5e7fd941c93a36889378f480cc27d8ea77d11b39 Signed-off-by: Raghavendra Rao Ananta <[email protected]>
This commit is contained in:
commit
c249464a77
1257 changed files with 13728 additions and 39772 deletions
|
|
@ -87,7 +87,7 @@ FUNC_GROUP_DECL(MACLINK3, L23);
|
|||
|
||||
#define K25 7
|
||||
SIG_EXPR_LIST_DECL_SESG(K25, MACLINK4, MACLINK4, SIG_DESC_SET(SCU410, 7));
|
||||
SIG_EXPR_LIST_DECL_SESG(K25, SDA14, SDA14, SIG_DESC_SET(SCU4B0, 7));
|
||||
SIG_EXPR_LIST_DECL_SESG(K25, SDA14, I2C14, SIG_DESC_SET(SCU4B0, 7));
|
||||
PIN_DECL_2(K25, GPIOA7, MACLINK4, SDA14);
|
||||
FUNC_GROUP_DECL(MACLINK4, K25);
|
||||
|
||||
|
|
@ -1262,13 +1262,13 @@ GROUP_DECL(SPI1, AB11, AC11, AA11);
|
|||
#define AD11 206
|
||||
SIG_EXPR_LIST_DECL_SEMG(AD11, SPI1DQ2, QSPI1, SPI1, SIG_DESC_SET(SCU438, 14));
|
||||
SIG_EXPR_LIST_DECL_SEMG(AD11, TXD13, UART13G1, UART13,
|
||||
SIG_DESC_SET(SCU438, 14));
|
||||
SIG_DESC_CLEAR(SCU4B8, 2), SIG_DESC_SET(SCU4D8, 14));
|
||||
PIN_DECL_2(AD11, GPIOZ6, SPI1DQ2, TXD13);
|
||||
|
||||
#define AF10 207
|
||||
SIG_EXPR_LIST_DECL_SEMG(AF10, SPI1DQ3, QSPI1, SPI1, SIG_DESC_SET(SCU438, 15));
|
||||
SIG_EXPR_LIST_DECL_SEMG(AF10, RXD13, UART13G1, UART13,
|
||||
SIG_DESC_SET(SCU438, 15));
|
||||
SIG_DESC_CLEAR(SCU4B8, 3), SIG_DESC_SET(SCU4D8, 15));
|
||||
PIN_DECL_2(AF10, GPIOZ7, SPI1DQ3, RXD13);
|
||||
|
||||
GROUP_DECL(QSPI1, AB11, AC11, AA11, AD11, AF10);
|
||||
|
|
@ -1440,91 +1440,85 @@ FUNC_GROUP_DECL(RGMII2, D4, C2, C1, D3, E4, F5, D2, E3, D1, F4, E2, E1);
|
|||
FUNC_GROUP_DECL(RMII2, D4, C2, C1, D3, D2, D1, F4, E2, E1);
|
||||
|
||||
#define AB4 232
|
||||
SIG_EXPR_LIST_DECL_SESG(AB4, SD3CLK, SD3, SIG_DESC_SET(SCU400, 24));
|
||||
PIN_DECL_1(AB4, GPIO18D0, SD3CLK);
|
||||
SIG_EXPR_LIST_DECL_SEMG(AB4, EMMCCLK, EMMCG1, EMMC, SIG_DESC_SET(SCU400, 24));
|
||||
PIN_DECL_1(AB4, GPIO18D0, EMMCCLK);
|
||||
|
||||
#define AA4 233
|
||||
SIG_EXPR_LIST_DECL_SESG(AA4, SD3CMD, SD3, SIG_DESC_SET(SCU400, 25));
|
||||
PIN_DECL_1(AA4, GPIO18D1, SD3CMD);
|
||||
SIG_EXPR_LIST_DECL_SEMG(AA4, EMMCCMD, EMMCG1, EMMC, SIG_DESC_SET(SCU400, 25));
|
||||
PIN_DECL_1(AA4, GPIO18D1, EMMCCMD);
|
||||
|
||||
#define AC4 234
|
||||
SIG_EXPR_LIST_DECL_SESG(AC4, SD3DAT0, SD3, SIG_DESC_SET(SCU400, 26));
|
||||
PIN_DECL_1(AC4, GPIO18D2, SD3DAT0);
|
||||
SIG_EXPR_LIST_DECL_SEMG(AC4, EMMCDAT0, EMMCG1, EMMC, SIG_DESC_SET(SCU400, 26));
|
||||
PIN_DECL_1(AC4, GPIO18D2, EMMCDAT0);
|
||||
|
||||
#define AA5 235
|
||||
SIG_EXPR_LIST_DECL_SESG(AA5, SD3DAT1, SD3, SIG_DESC_SET(SCU400, 27));
|
||||
PIN_DECL_1(AA5, GPIO18D3, SD3DAT1);
|
||||
SIG_EXPR_LIST_DECL_SEMG(AA5, EMMCDAT1, EMMCG4, EMMC, SIG_DESC_SET(SCU400, 27));
|
||||
PIN_DECL_1(AA5, GPIO18D3, EMMCDAT1);
|
||||
|
||||
#define Y5 236
|
||||
SIG_EXPR_LIST_DECL_SESG(Y5, SD3DAT2, SD3, SIG_DESC_SET(SCU400, 28));
|
||||
PIN_DECL_1(Y5, GPIO18D4, SD3DAT2);
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y5, EMMCDAT2, EMMCG4, EMMC, SIG_DESC_SET(SCU400, 28));
|
||||
PIN_DECL_1(Y5, GPIO18D4, EMMCDAT2);
|
||||
|
||||
#define AB5 237
|
||||
SIG_EXPR_LIST_DECL_SESG(AB5, SD3DAT3, SD3, SIG_DESC_SET(SCU400, 29));
|
||||
PIN_DECL_1(AB5, GPIO18D5, SD3DAT3);
|
||||
SIG_EXPR_LIST_DECL_SEMG(AB5, EMMCDAT3, EMMCG4, EMMC, SIG_DESC_SET(SCU400, 29));
|
||||
PIN_DECL_1(AB5, GPIO18D5, EMMCDAT3);
|
||||
|
||||
#define AB6 238
|
||||
SIG_EXPR_LIST_DECL_SESG(AB6, SD3CD, SD3, SIG_DESC_SET(SCU400, 30));
|
||||
PIN_DECL_1(AB6, GPIO18D6, SD3CD);
|
||||
SIG_EXPR_LIST_DECL_SEMG(AB6, EMMCCD, EMMCG1, EMMC, SIG_DESC_SET(SCU400, 30));
|
||||
PIN_DECL_1(AB6, GPIO18D6, EMMCCD);
|
||||
|
||||
#define AC5 239
|
||||
SIG_EXPR_LIST_DECL_SESG(AC5, SD3WP, SD3, SIG_DESC_SET(SCU400, 31));
|
||||
PIN_DECL_1(AC5, GPIO18D7, SD3WP);
|
||||
SIG_EXPR_LIST_DECL_SEMG(AC5, EMMCWP, EMMCG1, EMMC, SIG_DESC_SET(SCU400, 31));
|
||||
PIN_DECL_1(AC5, GPIO18D7, EMMCWP);
|
||||
|
||||
FUNC_GROUP_DECL(SD3, AB4, AA4, AC4, AA5, Y5, AB5, AB6, AC5);
|
||||
GROUP_DECL(EMMCG1, AB4, AA4, AC4, AB6, AC5);
|
||||
GROUP_DECL(EMMCG4, AB4, AA4, AC4, AA5, Y5, AB5, AB6, AC5);
|
||||
|
||||
#define Y1 240
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y1, FWSPIDCS, FWSPID, FWSPID, SIG_DESC_SET(SCU500, 3));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y1, VBCS, VB, SIG_DESC_SET(SCU500, 5));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y1, SD3DAT4, SD3DAT4, SIG_DESC_SET(SCU404, 0));
|
||||
PIN_DECL_3(Y1, GPIO18E0, FWSPIDCS, VBCS, SD3DAT4);
|
||||
FUNC_GROUP_DECL(SD3DAT4, Y1);
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y1, EMMCDAT4, EMMCG8, EMMC, SIG_DESC_SET(SCU404, 0));
|
||||
PIN_DECL_3(Y1, GPIO18E0, FWSPIDCS, VBCS, EMMCDAT4);
|
||||
|
||||
#define Y2 241
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y2, FWSPIDCK, FWSPID, FWSPID, SIG_DESC_SET(SCU500, 3));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y2, VBCK, VB, SIG_DESC_SET(SCU500, 5));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y2, SD3DAT5, SD3DAT5, SIG_DESC_SET(SCU404, 1));
|
||||
PIN_DECL_3(Y2, GPIO18E1, FWSPIDCK, VBCK, SD3DAT5);
|
||||
FUNC_GROUP_DECL(SD3DAT5, Y2);
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y2, EMMCDAT5, EMMCG8, EMMC, SIG_DESC_SET(SCU404, 1));
|
||||
PIN_DECL_3(Y2, GPIO18E1, FWSPIDCK, VBCK, EMMCDAT5);
|
||||
|
||||
#define Y3 242
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y3, FWSPIDMOSI, FWSPID, FWSPID,
|
||||
SIG_DESC_SET(SCU500, 3));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y3, VBMOSI, VB, SIG_DESC_SET(SCU500, 5));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y3, SD3DAT6, SD3DAT6, SIG_DESC_SET(SCU404, 2));
|
||||
PIN_DECL_3(Y3, GPIO18E2, FWSPIDMOSI, VBMOSI, SD3DAT6);
|
||||
FUNC_GROUP_DECL(SD3DAT6, Y3);
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y3, EMMCDAT6, EMMCG8, EMMC, SIG_DESC_SET(SCU404, 2));
|
||||
PIN_DECL_3(Y3, GPIO18E2, FWSPIDMOSI, VBMOSI, EMMCDAT6);
|
||||
|
||||
#define Y4 243
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y4, FWSPIDMISO, FWSPID, FWSPID,
|
||||
SIG_DESC_SET(SCU500, 3));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y4, VBMISO, VB, SIG_DESC_SET(SCU500, 5));
|
||||
SIG_EXPR_LIST_DECL_SESG(Y4, SD3DAT7, SD3DAT7, SIG_DESC_SET(SCU404, 3));
|
||||
PIN_DECL_3(Y4, GPIO18E3, FWSPIDMISO, VBMISO, SD3DAT7);
|
||||
FUNC_GROUP_DECL(SD3DAT7, Y4);
|
||||
SIG_EXPR_LIST_DECL_SEMG(Y4, EMMCDAT7, EMMCG8, EMMC, SIG_DESC_SET(SCU404, 3));
|
||||
PIN_DECL_3(Y4, GPIO18E3, FWSPIDMISO, VBMISO, EMMCDAT7);
|
||||
|
||||
GROUP_DECL(FWSPID, Y1, Y2, Y3, Y4);
|
||||
GROUP_DECL(FWQSPID, Y1, Y2, Y3, Y4, AE12, AF12);
|
||||
GROUP_DECL(EMMCG8, AB4, AA4, AC4, AA5, Y5, AB5, AB6, AC5, Y1, Y2, Y3, Y4);
|
||||
FUNC_DECL_2(FWSPID, FWSPID, FWQSPID);
|
||||
FUNC_GROUP_DECL(VB, Y1, Y2, Y3, Y4);
|
||||
|
||||
FUNC_DECL_3(EMMC, EMMCG1, EMMCG4, EMMCG8);
|
||||
/*
|
||||
* FIXME: Confirm bits and priorities are the right way around for the
|
||||
* following 4 pins
|
||||
*/
|
||||
#define AF25 244
|
||||
SIG_EXPR_LIST_DECL_SEMG(AF25, I3C3SCL, I3C3, I3C3, SIG_DESC_SET(SCU438, 20),
|
||||
SIG_DESC_SET(SCU4D8, 20));
|
||||
SIG_EXPR_LIST_DECL_SESG(AF25, FSI1CLK, FSI1, SIG_DESC_CLEAR(SCU438, 20),
|
||||
SIG_DESC_SET(SCU4D8, 20));
|
||||
SIG_EXPR_LIST_DECL_SEMG(AF25, I3C3SCL, I3C3, I3C3, SIG_DESC_SET(SCU438, 20));
|
||||
SIG_EXPR_LIST_DECL_SESG(AF25, FSI1CLK, FSI1, SIG_DESC_SET(SCU4D8, 20));
|
||||
PIN_DECL_(AF25, SIG_EXPR_LIST_PTR(AF25, I3C3SCL),
|
||||
SIG_EXPR_LIST_PTR(AF25, FSI1CLK));
|
||||
|
||||
#define AE26 245
|
||||
SIG_EXPR_LIST_DECL_SEMG(AE26, I3C3SDA, I3C3, I3C3, SIG_DESC_SET(SCU438, 21),
|
||||
SIG_DESC_SET(SCU4D8, 21));
|
||||
SIG_EXPR_LIST_DECL_SESG(AE26, FSI1DATA, FSI1, SIG_DESC_CLEAR(SCU438, 21),
|
||||
SIG_DESC_SET(SCU4D8, 21));
|
||||
SIG_EXPR_LIST_DECL_SEMG(AE26, I3C3SDA, I3C3, I3C3, SIG_DESC_SET(SCU438, 21));
|
||||
SIG_EXPR_LIST_DECL_SESG(AE26, FSI1DATA, FSI1, SIG_DESC_SET(SCU4D8, 21));
|
||||
PIN_DECL_(AE26, SIG_EXPR_LIST_PTR(AE26, I3C3SDA),
|
||||
SIG_EXPR_LIST_PTR(AE26, FSI1DATA));
|
||||
|
||||
|
|
@ -1533,18 +1527,14 @@ FUNC_DECL_2(I3C3, HVI3C3, I3C3);
|
|||
FUNC_GROUP_DECL(FSI1, AF25, AE26);
|
||||
|
||||
#define AE25 246
|
||||
SIG_EXPR_LIST_DECL_SEMG(AE25, I3C4SCL, I3C4, I3C4, SIG_DESC_SET(SCU438, 22),
|
||||
SIG_DESC_SET(SCU4D8, 22));
|
||||
SIG_EXPR_LIST_DECL_SESG(AE25, FSI2CLK, FSI2, SIG_DESC_CLEAR(SCU438, 22),
|
||||
SIG_DESC_SET(SCU4D8, 22));
|
||||
SIG_EXPR_LIST_DECL_SEMG(AE25, I3C4SCL, I3C4, I3C4, SIG_DESC_SET(SCU438, 22));
|
||||
SIG_EXPR_LIST_DECL_SESG(AE25, FSI2CLK, FSI2, SIG_DESC_SET(SCU4D8, 22));
|
||||
PIN_DECL_(AE25, SIG_EXPR_LIST_PTR(AE25, I3C4SCL),
|
||||
SIG_EXPR_LIST_PTR(AE25, FSI2CLK));
|
||||
|
||||
#define AF24 247
|
||||
SIG_EXPR_LIST_DECL_SEMG(AF24, I3C4SDA, I3C4, I3C4, SIG_DESC_SET(SCU438, 23),
|
||||
SIG_DESC_SET(SCU4D8, 23));
|
||||
SIG_EXPR_LIST_DECL_SESG(AF24, FSI2DATA, FSI2, SIG_DESC_CLEAR(SCU438, 23),
|
||||
SIG_DESC_SET(SCU4D8, 23));
|
||||
SIG_EXPR_LIST_DECL_SEMG(AF24, I3C4SDA, I3C4, I3C4, SIG_DESC_SET(SCU438, 23));
|
||||
SIG_EXPR_LIST_DECL_SESG(AF24, FSI2DATA, FSI2, SIG_DESC_SET(SCU4D8, 23));
|
||||
PIN_DECL_(AF24, SIG_EXPR_LIST_PTR(AF24, I3C4SDA),
|
||||
SIG_EXPR_LIST_PTR(AF24, FSI2DATA));
|
||||
|
||||
|
|
@ -1574,6 +1564,8 @@ static struct pinctrl_pin_desc aspeed_g6_pins[ASPEED_G6_NR_PINS] = {
|
|||
ASPEED_PINCTRL_PIN(A3),
|
||||
ASPEED_PINCTRL_PIN(AA11),
|
||||
ASPEED_PINCTRL_PIN(AA12),
|
||||
ASPEED_PINCTRL_PIN(AA16),
|
||||
ASPEED_PINCTRL_PIN(AA17),
|
||||
ASPEED_PINCTRL_PIN(AA23),
|
||||
ASPEED_PINCTRL_PIN(AA24),
|
||||
ASPEED_PINCTRL_PIN(AA25),
|
||||
|
|
@ -1585,6 +1577,8 @@ static struct pinctrl_pin_desc aspeed_g6_pins[ASPEED_G6_NR_PINS] = {
|
|||
ASPEED_PINCTRL_PIN(AB11),
|
||||
ASPEED_PINCTRL_PIN(AB12),
|
||||
ASPEED_PINCTRL_PIN(AB15),
|
||||
ASPEED_PINCTRL_PIN(AB16),
|
||||
ASPEED_PINCTRL_PIN(AB17),
|
||||
ASPEED_PINCTRL_PIN(AB18),
|
||||
ASPEED_PINCTRL_PIN(AB19),
|
||||
ASPEED_PINCTRL_PIN(AB22),
|
||||
|
|
@ -1602,6 +1596,7 @@ static struct pinctrl_pin_desc aspeed_g6_pins[ASPEED_G6_NR_PINS] = {
|
|||
ASPEED_PINCTRL_PIN(AC11),
|
||||
ASPEED_PINCTRL_PIN(AC12),
|
||||
ASPEED_PINCTRL_PIN(AC15),
|
||||
ASPEED_PINCTRL_PIN(AC16),
|
||||
ASPEED_PINCTRL_PIN(AC17),
|
||||
ASPEED_PINCTRL_PIN(AC18),
|
||||
ASPEED_PINCTRL_PIN(AC19),
|
||||
|
|
@ -1619,6 +1614,7 @@ static struct pinctrl_pin_desc aspeed_g6_pins[ASPEED_G6_NR_PINS] = {
|
|||
ASPEED_PINCTRL_PIN(AD12),
|
||||
ASPEED_PINCTRL_PIN(AD14),
|
||||
ASPEED_PINCTRL_PIN(AD15),
|
||||
ASPEED_PINCTRL_PIN(AD16),
|
||||
ASPEED_PINCTRL_PIN(AD19),
|
||||
ASPEED_PINCTRL_PIN(AD20),
|
||||
ASPEED_PINCTRL_PIN(AD22),
|
||||
|
|
@ -1634,8 +1630,11 @@ static struct pinctrl_pin_desc aspeed_g6_pins[ASPEED_G6_NR_PINS] = {
|
|||
ASPEED_PINCTRL_PIN(AE12),
|
||||
ASPEED_PINCTRL_PIN(AE14),
|
||||
ASPEED_PINCTRL_PIN(AE15),
|
||||
ASPEED_PINCTRL_PIN(AE16),
|
||||
ASPEED_PINCTRL_PIN(AE18),
|
||||
ASPEED_PINCTRL_PIN(AE19),
|
||||
ASPEED_PINCTRL_PIN(AE25),
|
||||
ASPEED_PINCTRL_PIN(AE26),
|
||||
ASPEED_PINCTRL_PIN(AE7),
|
||||
ASPEED_PINCTRL_PIN(AE8),
|
||||
ASPEED_PINCTRL_PIN(AF10),
|
||||
|
|
@ -1643,6 +1642,8 @@ static struct pinctrl_pin_desc aspeed_g6_pins[ASPEED_G6_NR_PINS] = {
|
|||
ASPEED_PINCTRL_PIN(AF12),
|
||||
ASPEED_PINCTRL_PIN(AF14),
|
||||
ASPEED_PINCTRL_PIN(AF15),
|
||||
ASPEED_PINCTRL_PIN(AF24),
|
||||
ASPEED_PINCTRL_PIN(AF25),
|
||||
ASPEED_PINCTRL_PIN(AF7),
|
||||
ASPEED_PINCTRL_PIN(AF8),
|
||||
ASPEED_PINCTRL_PIN(AF9),
|
||||
|
|
@ -1792,17 +1793,6 @@ static struct pinctrl_pin_desc aspeed_g6_pins[ASPEED_G6_NR_PINS] = {
|
|||
ASPEED_PINCTRL_PIN(Y3),
|
||||
ASPEED_PINCTRL_PIN(Y4),
|
||||
ASPEED_PINCTRL_PIN(Y5),
|
||||
ASPEED_PINCTRL_PIN(AB16),
|
||||
ASPEED_PINCTRL_PIN(AA17),
|
||||
ASPEED_PINCTRL_PIN(AB17),
|
||||
ASPEED_PINCTRL_PIN(AE16),
|
||||
ASPEED_PINCTRL_PIN(AC16),
|
||||
ASPEED_PINCTRL_PIN(AA16),
|
||||
ASPEED_PINCTRL_PIN(AD16),
|
||||
ASPEED_PINCTRL_PIN(AF25),
|
||||
ASPEED_PINCTRL_PIN(AE26),
|
||||
ASPEED_PINCTRL_PIN(AE25),
|
||||
ASPEED_PINCTRL_PIN(AF24),
|
||||
};
|
||||
|
||||
static const struct aspeed_pin_group aspeed_g6_groups[] = {
|
||||
|
|
@ -1976,11 +1966,9 @@ static const struct aspeed_pin_group aspeed_g6_groups[] = {
|
|||
ASPEED_PINCTRL_GROUP(SALT9G1),
|
||||
ASPEED_PINCTRL_GROUP(SD1),
|
||||
ASPEED_PINCTRL_GROUP(SD2),
|
||||
ASPEED_PINCTRL_GROUP(SD3),
|
||||
ASPEED_PINCTRL_GROUP(SD3DAT4),
|
||||
ASPEED_PINCTRL_GROUP(SD3DAT5),
|
||||
ASPEED_PINCTRL_GROUP(SD3DAT6),
|
||||
ASPEED_PINCTRL_GROUP(SD3DAT7),
|
||||
ASPEED_PINCTRL_GROUP(EMMCG1),
|
||||
ASPEED_PINCTRL_GROUP(EMMCG4),
|
||||
ASPEED_PINCTRL_GROUP(EMMCG8),
|
||||
ASPEED_PINCTRL_GROUP(SGPM1),
|
||||
ASPEED_PINCTRL_GROUP(SGPS1),
|
||||
ASPEED_PINCTRL_GROUP(SIOONCTRL),
|
||||
|
|
@ -2059,6 +2047,7 @@ static const struct aspeed_pin_function aspeed_g6_functions[] = {
|
|||
ASPEED_PINCTRL_FUNC(ADC8),
|
||||
ASPEED_PINCTRL_FUNC(ADC9),
|
||||
ASPEED_PINCTRL_FUNC(BMCINT),
|
||||
ASPEED_PINCTRL_FUNC(EMMC),
|
||||
ASPEED_PINCTRL_FUNC(ESPI),
|
||||
ASPEED_PINCTRL_FUNC(ESPIALT),
|
||||
ASPEED_PINCTRL_FUNC(FSI1),
|
||||
|
|
@ -2191,11 +2180,6 @@ static const struct aspeed_pin_function aspeed_g6_functions[] = {
|
|||
ASPEED_PINCTRL_FUNC(SALT9),
|
||||
ASPEED_PINCTRL_FUNC(SD1),
|
||||
ASPEED_PINCTRL_FUNC(SD2),
|
||||
ASPEED_PINCTRL_FUNC(SD3),
|
||||
ASPEED_PINCTRL_FUNC(SD3DAT4),
|
||||
ASPEED_PINCTRL_FUNC(SD3DAT5),
|
||||
ASPEED_PINCTRL_FUNC(SD3DAT6),
|
||||
ASPEED_PINCTRL_FUNC(SD3DAT7),
|
||||
ASPEED_PINCTRL_FUNC(SGPM1),
|
||||
ASPEED_PINCTRL_FUNC(SGPS1),
|
||||
ASPEED_PINCTRL_FUNC(SIOONCTRL),
|
||||
|
|
|
|||
|
|
@ -508,7 +508,7 @@ struct aspeed_pin_desc {
|
|||
* @idx: The bit index in the register
|
||||
*/
|
||||
#define SIG_DESC_SET(reg, idx) SIG_DESC_IP_BIT(ASPEED_IP_SCU, reg, idx, 1)
|
||||
#define SIG_DESC_CLEAR(reg, idx) SIG_DESC_IP_BIT(ASPEED_IP_SCU, reg, idx, 0)
|
||||
#define SIG_DESC_CLEAR(reg, idx) { ASPEED_IP_SCU, reg, BIT_MASK(idx), 0, 0 }
|
||||
|
||||
#define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group
|
||||
#define SIG_DESC_LIST_DECL(sig, group, ...) \
|
||||
|
|
@ -738,6 +738,7 @@ struct aspeed_pin_desc {
|
|||
static const char *FUNC_SYM(func)[] = { __VA_ARGS__ }
|
||||
|
||||
#define FUNC_DECL_2(func, one, two) FUNC_DECL_(func, #one, #two)
|
||||
#define FUNC_DECL_3(func, one, two, three) FUNC_DECL_(func, #one, #two, #three)
|
||||
|
||||
#define FUNC_GROUP_DECL(func, ...) \
|
||||
GROUP_DECL(func, __VA_ARGS__); \
|
||||
|
|
|
|||
|
|
@ -1,14 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (C) 2014-2017 Broadcom
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation version 2.
|
||||
*
|
||||
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
||||
* kind, whether express or implied; without even the implied warranty
|
||||
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -853,7 +845,7 @@ static int iproc_gpio_probe(struct platform_device *pdev)
|
|||
|
||||
/* optional GPIO interrupt support */
|
||||
irq = platform_get_irq(pdev, 0);
|
||||
if (irq) {
|
||||
if (irq > 0) {
|
||||
struct irq_chip *irqc;
|
||||
struct gpio_irq_chip *girq;
|
||||
|
||||
|
|
|
|||
|
|
@ -640,8 +640,8 @@ static int ns2_pinmux_enable(struct pinctrl_dev *pctrl_dev,
|
|||
const struct ns2_pin_function *func;
|
||||
const struct ns2_pin_group *grp;
|
||||
|
||||
if (grp_select > pinctrl->num_groups ||
|
||||
func_select > pinctrl->num_functions)
|
||||
if (grp_select >= pinctrl->num_groups ||
|
||||
func_select >= pinctrl->num_functions)
|
||||
return -EINVAL;
|
||||
|
||||
func = &pinctrl->functions[func_select];
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ static const struct berlin_desc_group as370_soc_pinctrl_groups[] = {
|
|||
BERLIN_PINCTRL_FUNCTION(0x0, "gpio"), /* GPIO5 */
|
||||
BERLIN_PINCTRL_FUNCTION(0x1, "i2s1"), /* DO3 */
|
||||
BERLIN_PINCTRL_FUNCTION(0x2, "pwm"), /* PWM5 */
|
||||
BERLIN_PINCTRL_FUNCTION(0x3, "spififib"), /* SPDIFIB */
|
||||
BERLIN_PINCTRL_FUNCTION(0x3, "spdifib"), /* SPDIFIB */
|
||||
BERLIN_PINCTRL_FUNCTION(0x4, "spdifo"), /* SPDIFO */
|
||||
BERLIN_PINCTRL_FUNCTION(0x5, "phy")), /* DBG5 */
|
||||
BERLIN_PINCTRL_GROUP("I2S1_MCLK", 0x0, 0x3, 0x12,
|
||||
|
|
|
|||
|
|
@ -1513,7 +1513,6 @@ static const struct dmi_system_id chv_no_valid_mask[] = {
|
|||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
|
||||
DMI_MATCH(DMI_PRODUCT_FAMILY, "Intel_Strago"),
|
||||
DMI_MATCH(DMI_PRODUCT_VERSION, "1.0"),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -1521,7 +1520,6 @@ static const struct dmi_system_id chv_no_valid_mask[] = {
|
|||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "Setzer"),
|
||||
DMI_MATCH(DMI_PRODUCT_VERSION, "1.0"),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -1529,7 +1527,6 @@ static const struct dmi_system_id chv_no_valid_mask[] = {
|
|||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "Cyan"),
|
||||
DMI_MATCH(DMI_PRODUCT_VERSION, "1.0"),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -1537,7 +1534,6 @@ static const struct dmi_system_id chv_no_valid_mask[] = {
|
|||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "Celes"),
|
||||
DMI_MATCH(DMI_PRODUCT_VERSION, "1.0"),
|
||||
},
|
||||
},
|
||||
{}
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ struct intel_pinctrl_context {
|
|||
* @pctldesc: Pin controller description
|
||||
* @pctldev: Pointer to the pin controller device
|
||||
* @chip: GPIO chip in this pin controller
|
||||
* @irqchip: IRQ chip in this pin controller
|
||||
* @soc: SoC/PCH specific pin configuration data
|
||||
* @communities: All communities in this pin controller
|
||||
* @ncommunities: Number of communities in this pin controller
|
||||
|
|
@ -108,6 +109,7 @@ struct intel_pinctrl {
|
|||
struct pinctrl_desc pctldesc;
|
||||
struct pinctrl_dev *pctldev;
|
||||
struct gpio_chip chip;
|
||||
struct irq_chip irqchip;
|
||||
const struct intel_pinctrl_soc_data *soc;
|
||||
struct intel_community *communities;
|
||||
size_t ncommunities;
|
||||
|
|
@ -1139,16 +1141,6 @@ static irqreturn_t intel_gpio_irq(int irq, void *data)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static struct irq_chip intel_gpio_irqchip = {
|
||||
.name = "intel-gpio",
|
||||
.irq_ack = intel_gpio_irq_ack,
|
||||
.irq_mask = intel_gpio_irq_mask,
|
||||
.irq_unmask = intel_gpio_irq_unmask,
|
||||
.irq_set_type = intel_gpio_irq_type,
|
||||
.irq_set_wake = intel_gpio_irq_wake,
|
||||
.flags = IRQCHIP_MASK_ON_SUSPEND,
|
||||
};
|
||||
|
||||
static int intel_gpio_add_pin_ranges(struct intel_pinctrl *pctrl,
|
||||
const struct intel_community *community)
|
||||
{
|
||||
|
|
@ -1198,12 +1190,22 @@ static int intel_gpio_probe(struct intel_pinctrl *pctrl, int irq)
|
|||
|
||||
pctrl->chip = intel_gpio_chip;
|
||||
|
||||
/* Setup GPIO chip */
|
||||
pctrl->chip.ngpio = intel_gpio_ngpio(pctrl);
|
||||
pctrl->chip.label = dev_name(pctrl->dev);
|
||||
pctrl->chip.parent = pctrl->dev;
|
||||
pctrl->chip.base = -1;
|
||||
pctrl->irq = irq;
|
||||
|
||||
/* Setup IRQ chip */
|
||||
pctrl->irqchip.name = dev_name(pctrl->dev);
|
||||
pctrl->irqchip.irq_ack = intel_gpio_irq_ack;
|
||||
pctrl->irqchip.irq_mask = intel_gpio_irq_mask;
|
||||
pctrl->irqchip.irq_unmask = intel_gpio_irq_unmask;
|
||||
pctrl->irqchip.irq_set_type = intel_gpio_irq_type;
|
||||
pctrl->irqchip.irq_set_wake = intel_gpio_irq_wake;
|
||||
pctrl->irqchip.flags = IRQCHIP_MASK_ON_SUSPEND;
|
||||
|
||||
ret = devm_gpiochip_add_data(pctrl->dev, &pctrl->chip, pctrl);
|
||||
if (ret) {
|
||||
dev_err(pctrl->dev, "failed to register gpiochip\n");
|
||||
|
|
@ -1233,15 +1235,14 @@ static int intel_gpio_probe(struct intel_pinctrl *pctrl, int irq)
|
|||
return ret;
|
||||
}
|
||||
|
||||
ret = gpiochip_irqchip_add(&pctrl->chip, &intel_gpio_irqchip, 0,
|
||||
ret = gpiochip_irqchip_add(&pctrl->chip, &pctrl->irqchip, 0,
|
||||
handle_bad_irq, IRQ_TYPE_NONE);
|
||||
if (ret) {
|
||||
dev_err(pctrl->dev, "failed to add irqchip\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
gpiochip_set_chained_irqchip(&pctrl->chip, &intel_gpio_irqchip, irq,
|
||||
NULL);
|
||||
gpiochip_set_chained_irqchip(&pctrl->chip, &pctrl->irqchip, irq, NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -183,10 +183,10 @@ static struct armada_37xx_pin_group armada_37xx_nb_groups[] = {
|
|||
PIN_GRP_EXTRA("uart2", 9, 2, BIT(1) | BIT(13) | BIT(14) | BIT(19),
|
||||
BIT(1) | BIT(13) | BIT(14), BIT(1) | BIT(19),
|
||||
18, 2, "gpio", "uart"),
|
||||
PIN_GRP_GPIO("led0_od", 11, 1, BIT(20), "led"),
|
||||
PIN_GRP_GPIO("led1_od", 12, 1, BIT(21), "led"),
|
||||
PIN_GRP_GPIO("led2_od", 13, 1, BIT(22), "led"),
|
||||
PIN_GRP_GPIO("led3_od", 14, 1, BIT(23), "led"),
|
||||
PIN_GRP_GPIO_2("led0_od", 11, 1, BIT(20), BIT(20), 0, "led"),
|
||||
PIN_GRP_GPIO_2("led1_od", 12, 1, BIT(21), BIT(21), 0, "led"),
|
||||
PIN_GRP_GPIO_2("led2_od", 13, 1, BIT(22), BIT(22), 0, "led"),
|
||||
PIN_GRP_GPIO_2("led3_od", 14, 1, BIT(23), BIT(23), 0, "led"),
|
||||
|
||||
};
|
||||
|
||||
|
|
@ -221,11 +221,11 @@ static const struct armada_37xx_pin_data armada_37xx_pin_sb = {
|
|||
};
|
||||
|
||||
static inline void armada_37xx_update_reg(unsigned int *reg,
|
||||
unsigned int offset)
|
||||
unsigned int *offset)
|
||||
{
|
||||
/* We never have more than 2 registers */
|
||||
if (offset >= GPIO_PER_REG) {
|
||||
offset -= GPIO_PER_REG;
|
||||
if (*offset >= GPIO_PER_REG) {
|
||||
*offset -= GPIO_PER_REG;
|
||||
*reg += sizeof(u32);
|
||||
}
|
||||
}
|
||||
|
|
@ -376,7 +376,7 @@ static inline void armada_37xx_irq_update_reg(unsigned int *reg,
|
|||
{
|
||||
int offset = irqd_to_hwirq(d);
|
||||
|
||||
armada_37xx_update_reg(reg, offset);
|
||||
armada_37xx_update_reg(reg, &offset);
|
||||
}
|
||||
|
||||
static int armada_37xx_gpio_direction_input(struct gpio_chip *chip,
|
||||
|
|
@ -386,7 +386,7 @@ static int armada_37xx_gpio_direction_input(struct gpio_chip *chip,
|
|||
unsigned int reg = OUTPUT_EN;
|
||||
unsigned int mask;
|
||||
|
||||
armada_37xx_update_reg(®, offset);
|
||||
armada_37xx_update_reg(®, &offset);
|
||||
mask = BIT(offset);
|
||||
|
||||
return regmap_update_bits(info->regmap, reg, mask, 0);
|
||||
|
|
@ -399,7 +399,7 @@ static int armada_37xx_gpio_get_direction(struct gpio_chip *chip,
|
|||
unsigned int reg = OUTPUT_EN;
|
||||
unsigned int val, mask;
|
||||
|
||||
armada_37xx_update_reg(®, offset);
|
||||
armada_37xx_update_reg(®, &offset);
|
||||
mask = BIT(offset);
|
||||
regmap_read(info->regmap, reg, &val);
|
||||
|
||||
|
|
@ -413,7 +413,7 @@ static int armada_37xx_gpio_direction_output(struct gpio_chip *chip,
|
|||
unsigned int reg = OUTPUT_EN;
|
||||
unsigned int mask, val, ret;
|
||||
|
||||
armada_37xx_update_reg(®, offset);
|
||||
armada_37xx_update_reg(®, &offset);
|
||||
mask = BIT(offset);
|
||||
|
||||
ret = regmap_update_bits(info->regmap, reg, mask, mask);
|
||||
|
|
@ -434,7 +434,7 @@ static int armada_37xx_gpio_get(struct gpio_chip *chip, unsigned int offset)
|
|||
unsigned int reg = INPUT_VAL;
|
||||
unsigned int val, mask;
|
||||
|
||||
armada_37xx_update_reg(®, offset);
|
||||
armada_37xx_update_reg(®, &offset);
|
||||
mask = BIT(offset);
|
||||
|
||||
regmap_read(info->regmap, reg, &val);
|
||||
|
|
@ -449,7 +449,7 @@ static void armada_37xx_gpio_set(struct gpio_chip *chip, unsigned int offset,
|
|||
unsigned int reg = OUTPUT_VAL;
|
||||
unsigned int mask, val;
|
||||
|
||||
armada_37xx_update_reg(®, offset);
|
||||
armada_37xx_update_reg(®, &offset);
|
||||
mask = BIT(offset);
|
||||
val = value ? mask : 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -705,7 +705,7 @@ static int stmfx_pinctrl_probe(struct platform_device *pdev)
|
|||
|
||||
static int stmfx_pinctrl_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct stmfx *stmfx = dev_get_platdata(&pdev->dev);
|
||||
struct stmfx *stmfx = dev_get_drvdata(pdev->dev.parent);
|
||||
|
||||
return stmfx_function_disable(stmfx,
|
||||
STMFX_FUNC_GPIO |
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include <linux/soc/qcom/irq.h>
|
||||
|
||||
#include <linux/soc/qcom/irq.h>
|
||||
|
||||
#include "../core.h"
|
||||
#include "../pinconf.h"
|
||||
#include "pinctrl-msm.h"
|
||||
|
|
@ -1153,6 +1155,7 @@ static int msm_gpio_init(struct msm_pinctrl *pctrl)
|
|||
girq = &chip->irq;
|
||||
girq->chip = &pctrl->irq_chip;
|
||||
girq->parent_handler = msm_gpio_irq_handler;
|
||||
girq->fwnode = pctrl->dev->fwnode;
|
||||
girq->num_parents = 1;
|
||||
girq->fwnode = pctrl->dev->fwnode;
|
||||
girq->parents = devm_kcalloc(pctrl->dev, 1, sizeof(*girq->parents),
|
||||
|
|
|
|||
|
|
@ -146,10 +146,10 @@ struct msm_pinctrl_soc_data {
|
|||
const char *const *tiles;
|
||||
unsigned int ntiles;
|
||||
const int *reserved_gpios;
|
||||
struct pinctrl_qup *qup_regs;
|
||||
unsigned int nqup_regs;
|
||||
const struct msm_gpio_wakeirq_map *wakeirq_map;
|
||||
unsigned int nwakeirq_map;
|
||||
struct pinctrl_qup *qup_regs;
|
||||
unsigned int nqup_regs;
|
||||
};
|
||||
|
||||
extern const struct dev_pm_ops msm_pinctrl_dev_pm_ops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue