Merge keystone/android12-5.10-keystone-qcom-release.39+ (9782146
) into msm-5.10
* refs/heads/tmp-9782146: FROMGIT: usb: typec: tcpm: Respond Not_Supported if no snk_vdo FROMGIT: usb: typec: tcpm: Properly interrupt VDM AMS FROMGIT: usb: typec: tcpm: Use LE to CPU conversion when accessing msg->header UPSTREAM: swiotlb: Fix the type of index ANDROID: Don't add image to all target with KBUILD_MIXED_TREE Linux 5.10.39 scripts: switch explicitly to Python 3 tweewide: Fix most Shebang lines ipv6: remove extra dev_hold() for fallback tunnels ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods sit: proper dev_{hold|put} in ndo_[un]init methods ip6_gre: proper dev_{hold|put} in ndo_[un]init methods net: stmmac: Do not enable RX FIFO overflow interrupts lib: stackdepot: turn depot_lock spinlock to raw_spinlock block: reexpand iov_iter after read/write ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP net:CXGB4: fix leak if sk_buff is not used gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055 drm/amd/display: Fix two cursor duplication when using overlay nvmet: remove unsupported command noise net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found ceph: don't allow access to MDS-private inodes ceph: don't clobber i_snap_caps on non-I_NEW inode ceph: fix fscache invalidation scsi: lpfc: Fix illegal memory access on Abort IOCBs riscv: Workaround mcount name prior to clang-13 scripts/recordmcount.pl: Fix RISC-V regex for clang riscv: Use $(LD) instead of $(CC) to link vDSO platform/chrome: cros_ec_typec: Add DP mode check ARM: 9075/1: kernel: Fix interrupted SMC calls um: Disable CONFIG_GCOV with MODULES um: Mark all kernel symbols as local NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalid Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert() ACPI / hotplug / PCI: Fix reference count leak in enable_slot() ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend() dmaengine: dw-edma: Fix crash on loading/unloading driver PCI: thunder: Fix compile testing virtio_net: Do not pull payload in skb->head isdn: capi: fix mismatched prototypes cxgb4: Fix the -Wmisleading-indentation warning usb: sl811-hcd: improve misleading indentation kgdb: fix gcc-11 warning on indentation airo: work around stack usage warning drm/i915/display: fix compiler warning about array overrun x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes ANDROID: I3C: Enable I3C core framework ANDROID: GKI: Update abi_gki_aarch64_qcom for hung task detect ANDROID: GKI: 5/21 KMI update FROMGIT: blk-mq: clearing flush request reference in tags->rqs[] FROMGIT: blk-mq: clear stale request in tags->rq[] before freeing one request pool FROMGIT: blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter Revert "ANDROID: GKI: Enable CONFIG_KUNIT" BACKPORT: block: Remove queue_limits.bio_max_bytes FROMGIT: kasan: use dump_stack_lvl(KERN_ERR) to print stacks FROMGIT: fix for "printk: introduce dump_stack_lvl()" FROMGIT: printk: introduce dump_stack_lvl() UPSTREAM: arm64: mte: Remove unused mte_assign_mem_tag_range() UPSTREAM: arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere ANDROID: vendor_hooks: add hooks for slab memory leak debugging Revert "Revert "ANDROID: GKI: Change UCLAMP_BUCKETS_COUNT to 20"" ANDROID: GKI: Disable CONFIG_ZONE_DMA on arm64 ANDROID: abi_gki_aarch64_qcom: Add *gic_v3_set_affinity trace syms ANDROID: mmc: Add vendor hooks ANDROID: gic-v3: Change GIC v3 vendor hook to restricted ANDROID: GKI: enable hidden configs for DMA ANDROID: GKI: remove kernel_read from abi symbol list Revert "Revert "mmc: block: Issue a cache flush only when it's enabled"" Revert "ANDROID: GKI: restore a part of "struct mmc_host"" Revert "Revert "media: v4l2-ctrls: fix reference to freed memory"" Revert "Revert "sched,fair: Alternative sched_slice()"" FROMGIT: usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work FROMGIT: usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4 Revert "Revert "nvme-pci: set min_align_mask"" Revert "Revert "swiotlb: respect min_align_mask"" Revert "Revert "swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single"" Revert "Revert "swiotlb: refactor swiotlb_tbl_map_single"" Revert "Revert "swiotlb: clean up swiotlb_tbl_unmap_single"" Revert "Revert "swiotlb: factor out a nr_slots helper"" Revert "Revert "swiotlb: factor out an io_tlb_offset helper"" Revert "Revert "swiotlb: add a IO_TLB_SIZE define"" Revert "Revert "driver core: add a min_align_mask field to struct device_dma_parameters"" Revert "Revert "capabilities: require CAP_SETFCAP to map uid 0"" Revert "ANDROID: usb: typec: ucsi: Ensure bounds check when accessing src_pdos" ANDROID: Fix compilation error with huge_pmd_share() UPSTREAM: mm: memblock: add more debug logs UPSTREAM: mm: memblock: drop __init from memblock functions to make it inline ANDROID: modpost: Check for KBUILD_MIXED_TREE for Modules.symvers ANDROID: hung_task: Add vendor hook for hung task detect ANDROID: vendor_hooks: add hook to balance_dirty_pages() ANDROID: vendor_hooks: Add hooks for reducing virtual address fragmentation ANDROID: abi_gki_aarch64_qcom: Add aes_encrypt/aes_expandkey ANDROID: iommu: Add vendor hook for iova allocation and free tracking ANDROID: iommu/io-pgtable-arm: Fix unmapping loop in __arm_lpae_unmap() ANDROID: kernel: Fix debug_kinfo warning message Revert "mm: fix struct page layout on 32-bit systems" Revert "usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4" Revert "kyber: fix out of bounds access when preempted" Revert "PM: runtime: Fix unpaired parent child_count for force_resume" Revert "clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940" ANDROID: ABI: Update allowed list for QCOM ANDROID: Update the ABI xml ANDROID: Update the generic symbol list ANDROID: Update the generic symbol list ANDROID: Update the generic symbol list ANDROID: abi_gki_aarch64_qcom: Add missing symbols for i3c ANDROID: dm-user: Drop additional reference FROMGIT: scsi: ufs: ufs-mediatek: Fix power down spec violation UPSTREAM: scsi: ufs-mediatek: Support option to disable auto-hibern8 UPSTREAM: scsi: ufs-mediatek: Decouple features from platform bindings BACKPORT: scsi: ufs-mediatek: Support VA09 regulator operations UPSTREAM: scsi: ufs: Add retry flow for failed HBA enabling Linux 5.10.38 ASoC: rsnd: check all BUSIF status when error nvme: do not try to reconfigure APST when the controller is not live ext4: fix debug format string warning debugfs: Make debugfs_allow RO after init dt-bindings: serial: 8250: Remove duplicated compatible strings dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1 i2c: mediatek: Fix send master code at more than 1MHz media: rkvdec: Remove of_match_ptr() clk: exynos7: Mark aclk_fsys1_200 as critical drm/i915: Fix crash in auto_retire drm/i915/overlay: Fix active retire callback alignment drm/i915: Read C0DRB3/C1DRB3 as 16 bits again drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp kobject_uevent: remove warning in init_uevent_argv() usb: typec: tcpm: Fix error while calculating PPS out values ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address ARM: 9012/1: move device tree mapping out of linear region ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940 clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue MIPS: Avoid handcoded DIVU in `__div64_32' altogether MIPS: Avoid DIVU in `__div64_32' is result would be zero MIPS: Reinstate platform `__div64_32' handler mm: fix struct page layout on 32-bit systems iommu/vt-d: Remove WO permissions on second-level paging entries iommu/vt-d: Preset Access/Dirty bits for IOVA over FL Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL" Revert "iommu/vt-d: Remove WO permissions on second-level paging entries" KVM: VMX: Disable preemption when probing user return MSRs KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported KVM: nVMX: Always make an attempt to map eVMCS after migration KVM: x86: Move RDPID emulation intercept to its own enum KVM: x86: Emulate RDPID only if RDTSCP is supported xen/gntdev: fix gntdev_mmap() error exit path cdc-wdm: untangle a circular dependency between callback and softint iio: tsl2583: Fix division by a zero lux_val iio: gyro: mpu3050: Fix reported temperature value xhci: Add reset resume quirk for AMD xhci controller. xhci: Do not use GFP_KERNEL in (potentially) atomic context xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI usb: typec: ucsi: Put fwnode in any case during ->probe() usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4 usb: dwc3: gadget: Return success always for kick transfer in ep queue usb: dwc3: gadget: Enable suspend events usb: core: hub: fix race condition about TRSMRCY of resume usb: dwc2: Fix gadget DMA unmap direction usb: xhci: Increase timeout for HC halt usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield usb: dwc3: omap: improve extcon initialization blk-mq: Swap two calls in blk_mq_exit_queue() blk-mq: plug request for shared sbitmap nbd: Fix NULL pointer in flush_workqueue f2fs: compress: fix to assign cc.cluster_idx correctly f2fs: compress: fix race condition of overwrite vs truncate f2fs: compress: fix to free compress page correctly nvmet-rdma: Fix NULL deref when SEND is completed with error nvmet: fix inline bio check for bdev-ns nvmet: add lba to sect conversion helpers kyber: fix out of bounds access when preempted ACPI: scan: Fix a memory leak in an error handling path usb: musb: Fix an error message hwmon: (occ) Fix poll rate limiting usb: fotg210-hcd: Fix an error message iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER iio: proximity: pulsedlight: Fix rumtime PM imbalance on error iio: light: gp2ap002: Fix rumtime PM imbalance on error usb: dwc3: gadget: Free gadget structure only after freeing endpoints perf tools: Fix dynamic libbpf link xen/unpopulated-alloc: fix error return code in fill_list() xen/unpopulated-alloc: consolidate pgmap manipulation dax: Wake up all waiters after invalidating dax entry dax: Add a wakeup mode parameter to put_unlocked_entry() dax: Add an enum for specifying dax wakup mode KVM: x86: Prevent deadlock against tk_core.seq KVM: x86: Cancel pvclock_gtod_work on module removal drm/msm/dp: initialize audio_comp when audio starts KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer kvm: exit halt polling on need_resched() as well drm/i915: Avoid div-by-zero on gen2 drm/amd/display: Initialize attribute for hdcp_srm sysfs file drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected btrfs: fix race leading to unpersisted data and metadata on fsync arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup blk-iocost: fix weight updates of inner active iocgs mm/hugetlb: fix F_SEAL_FUTURE_WRITE kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled userfaultfd: release page in error path to avoid BUG_ON squashfs: fix divide error in calculate_skip() hfsplus: prevent corruption in shrinking truncate powerpc/64s: Fix crashes when toggling entry flush barrier powerpc/64s: Fix crashes when toggling stf barrier ARC: mm: Use max_high_pfn as a HIGHMEM zone border ARC: mm: PAE: use 40-bit physical page mask ARC: entry: fix off-by-one error in syscall number validation f2fs: avoid unneeded data copy in f2fs_ioc_move_range() mptcp: fix splat when closing unaccepted socket i40e: Fix PHY type identifiers for 2.5G and 5G adapters i40e: fix the restart auto-negotiation after FEC modified i40e: Fix use-after-free in i40e_client_subtask() i40e: fix broken XDP support netfilter: nftables: avoid overflows in nft_hash_buckets() kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources kernel: kexec_file: fix error return code of kexec_calculate_store_digests() fs/proc/generic.c: fix incorrect pde_is_permanent check sched/fair: Fix unfairness caused by missing load decay sched: Fix out-of-bound access in uclamp can: m_can: m_can_tx_work_queue(): fix tx_skb race condition can: mcp251x: fix resume from sleep before interface was brought up can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path netfilter: nftables: Fix a memleak from userdata error path in new objects netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check smc: disallow TCP_ULP in smc_setsockopt() net: fix nla_strcmp to handle more then one trailing null character ethtool: fix missing NLM_F_MULTI flag when dumping mm/gup: check for isolation errors mm/gup: return an error on migration failure mm/gup: check every subpage of a compound page during isolation ksm: fix potential missing rmap_item for stable_node mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page() mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts() khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate() arm64: entry: always set GIC_PRIO_PSR_I_SET during entry arm64: entry: factor irq triage logic into macros drm/radeon: Avoid power table parsing memory leaks drm/radeon: Fix off-by-one power_state index heap overwrite net: stmmac: Clear receive all(RA) bit when promiscuous mode is off xsk: Fix for xp_aligned_validate_desc() when len == chunk_size netfilter: xt_SECMARK: add new revision to fix structure layout sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b ethernet:enic: Fix a use after free bug in enic_hard_start_xmit block/rnbd-clt: Check the return value of the function rtrs_clt_query block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t libbpf: Fix signed overflow in ringbuf_process_ring sunrpc: Fix misplaced barrier in call_decode RISC-V: Fix error code returned by riscv_hartid_to_cpuid() sctp: do asoc update earlier in sctp_sf_do_dupcook_a net: hns3: disable phy loopback setting in hclge_mac_start_phy net: hns3: use netif_tx_disable to stop the transmit queue net: hns3: fix for vxlan gpe tx checksum bug net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet() net: hns3: initialize the message content in hclge_get_link_mode() net: hns3: fix incorrect configuration for igu_egu_hw_err rtc: ds1307: Fix wday settings for rx8130 scsi: ufs: core: Narrow down fast path in system suspend path scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend scsi: ufs: core: Do not put UFS power into LPM if link is broken scsi: qla2xxx: Prevent PRLI in target mode ceph: fix inode leak on getattr error in __fh_to_dentry swiotlb: Fix the type of index xprtrdma: rpcrdma_mr_pop() already does list_del_init() xprtrdma: Fix cwnd update ordering xprtrdma: Avoid Receive Queue wrapping pwm: atmel: Fix duty cycle calculation in .get_state() SUNRPC: fix ternary sign expansion bug in tracing dmaengine: idxd: fix cdev setup and free device lifetime issues dmaengine: idxd: fix dma device lifetime dmaengine: idxd: Fix potential null dereference on pointer status rtc: fsl-ftm-alarm: add MODULE_TABLE() nfsd: ensure new clients break delegations NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting thermal/drivers/tsens: Fix missing put_device error SUNRPC: Handle major timeout in xprt_adjust_timeout() SUNRPC: Remove trace_xprt_transmit_queued SUNRPC: Move fault injection call sites NFSv4.2 fix handling of sr_eof in SEEK's reply pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() PCI: endpoint: Fix missing destroy_workqueue() NFS: Deal correctly with attribute generation counter overflow NFSv4.2: Always flush out writes in nfs42_proc_fallocate() NFS: Fix attribute bitmask in _nfs42_proc_fallocate() NFS: nfs4_bitmask_adjust() must not change the server global bitmasks rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block() f2fs: Fix a hungtask problem in atomic write f2fs: fix to cover __allocate_new_section() with curseg_lock f2fs: fix to avoid touching checkpointed data in get_victim() PCI: endpoint: Fix NULL pointer dereference for ->get_features() PCI: endpoint: Make *_free_bar() to return error codes on failure PCI: endpoint: Add helper API to get the 'next' unreserved BAR PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR f2fs: fix to update last i_size if fallocate partially succeeds f2fs: fix to align to section for fallocate() on pinned file ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook PCI: Release OF node in pci_scan_device()'s error path PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader remoteproc: qcom_q6v5_mss: Replace ioremap with memremap f2fs: fix a redundant call to f2fs_balance_fs if an error occurs f2fs: fix panic during f2fs_resize_fs() f2fs: fix to allow migrating fully valid segment f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE f2fs: move ioctl interface definitions to separated file thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params() ASoC: rt286: Make RT286_SET_GPIO_* readable and writable watchdog: fix barriers when printing backtraces from all CPUs watchdog/softlockup: remove logic that tried to prevent repeated reports watchdog: explicitly update timestamp when reporting softlockup watchdog: rename __touch_watchdog() to a better descriptive name ia64: module: fix symbolizer crash on fdescr bnxt_en: Add PCI IDs for Hyper-V VF devices. kbuild: generate Module.symvers only when vmlinux exists selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test selftests: mlxsw: Increase the tolerance of backlog buildup net: ethernet: mtk_eth_soc: fix RX VLAN offload iavf: remove duplicate free resources calls powerpc/iommu: Annotate nested lock for lockdep qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt crypto: ccp: Free SEV device if SEV init fails mt76: mt7615: fix entering driver-own state on mt7663 drm/amdgpu: Add mem sync flag for IB allocated by SA drm/amd/display: add handling for hdcp2 rx id list validation drm/amd/display: fixed divide by zero kernel crash during dsc enablement powerpc/pseries: Stop calling printk in rtas_stop_self() samples/bpf: Fix broken tracex1 due to kprobe argument change net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user() ASoC: rt286: Generalize support for ALC3263 codec powerpc/smp: Set numa node before updating mask flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target() sctp: Fix out-of-bounds warning in sctp_process_asconf_param() ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740 kconfig: nconf: stop endless search loops selftests: Set CC to clang in lib.mk if LLVM is set drm/amd/display: Force vsync flip when reconfiguring MPCC iommu/amd: Remove performance counter pre-initialization test Revert "iommu/amd: Fix performance counter initialization" ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init() powerpc/mm: Add cond_resched() while removing hpte mappings iwlwifi: pcie: make cfg vs. trans_cfg more robust cuse: prevent clone virtiofs: fix userns fuse: invalidate attrs when page writeback completes mt76: mt7915: fix txpower init for TSSI off chips mt76: mt76x0: disable GTK offloading mt76: mt7615: support loading EEPROM for MT7613BE rtw88: 8822c: add LC calibration for RTL8822C pinctrl: samsung: use 'int' for register masks in Exynos mac80211: clear the beacon's CRC after channel switch IB/hfi1: Correct oversized ring allocation coresight: Do not scan for graph if none is present MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED i2c: Add I2C_AQ_NO_REP_START adapter quirk ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055 Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip. ice: handle increasing Tx or Rx ring sizes ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet ip6_vti: proper dev_{hold|put} in ndo_[un]init methods net: hns3: add handling for xmit skb with recursive fraglist net: hns3: remediate a potential overflow risk of bd_num_list powerpc/32: Statically initialise first emergency context selftests/powerpc: Fix L1D flushing tests for Power10 Bluetooth: check for zapped sk before connecting net: bridge: when suppression is enabled exclude RARP packets net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports Bluetooth: initialize skb_queue_head at l2cap_chan_create() Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default ALSA: bebob: enable to deliver MIDI messages for multiple ports ALSA: rme9652: don't disable if not enabled ALSA: hdspm: don't disable if not enabled ALSA: hdsp: don't disable if not enabled i2c: bail out early when RDWR parameters are wrong Bluetooth: Fix incorrect status handling in LE PHY UPDATE event ASoC: rsnd: core: Check convert rate in rsnd_hw_params net: stmmac: Set FIFO sizes for ipq806x net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF tipc: convert dest node's address to network order fs: dlm: flush swork on shutdown fs: dlm: check on minimum msglen size fs: dlm: add errno handling to check callback fs: dlm: fix debugfs dump ath11k: fix thermal temperature read kvm: Cap halt polling at kvm->max_halt_poll_ns cpufreq: intel_pstate: Use HWP if enabled by platform firmware PM: runtime: Fix unpaired parent child_count for force_resume ACPI: PM: Add ACPI ID of Alder Lake Fan KVM/VMX: Invoke NMI non-IST entry instead of IST entry KVM: x86/mmu: Remove the defunct update_pte() paging hook tpm, tpm_tis: Reserve locality in tpm_tis_resume() tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt() tpm: fix error return code in tpm2_get_cc_attrs_tbl() KEYS: trusted: Fix memory leak on object td UPSTREAM: module: unexport find_module and module_mutex FROMLIST: scsi: ufs: Increase the usable queue depth ANDROID: abi_gki_aarch64_qcom: Add vmemdup_user ANDROID: cgroup: add vendor hook to cgroup .attach() ANDROID: gki_defconfig: Enable HID_BETOP_FF JOYSTICK_XPAD_FF and JOYSTICK_XPAD_LEDS ANDROID: abi_gki_aarch64_qcom: Add devm_rproc_* APIs ANDROID: Incremental fs: Add uid to INCFS_IOC_GET_LAST_READ_ERROR ANDROID: Incremental fs: Make sysfs_name changeable on remount ANDROID: Incremental fs: Count pending_reads even when very short ANDROID: sched/fair: export sysctl_sched_min_granularity symbol ANDROID: Fix compat hwcap reporting on asymmetric 32-bit SoCs Revert "ANDROID: usb: dwc3: gadget: don't cancel the started requests" BACKPORT: sched/uclamp: Allow to reset a task uclamp constraint value ANDROID: GKI: restore termiox fields Revert "spi: Fix use-after-free with devm_spi_alloc_*" FROMGIT: block: avoid double io accounting for flush request UPSTREAM: kasan: fix kasan_byte_accessible() to be consistent with actual checks FROMLIST: blk-mq: Swap two calls in blk_mq_exit_queue() ANDROID: FUSE OWNERS pointing to android-mainline OWNERS Linux 5.10.37 sctp: delay auto_asconf init until binding the first addr Revert "net/sctp: fix race condition in sctp_destroy_sock" smp: Fix smp_call_function_single_async prototype net: Only allow init netns to set default tcp cong to a restricted algo arm64: Remove arm64_dma32_phys_limit and its uses bpf: Prevent writable memory-mapping of read-only ringbuf pages bpf, ringbuf: Deny reserve of buffers larger than ringbuf bpf: Fix alu32 const subreg bound tracking on bitwise operations afs: Fix speculative status fetches mm/memory-failure: unnecessary amount of unmapping mm/sparse: add the missing sparse_buffer_fini() in error branch mm: memcontrol: slab: fix obtain a reference to a freeing memcg mm/sl?b.c: remove ctor argument from kmem_cache_flags kfifo: fix ternary sign extension bugs ia64: fix EFI_DEBUG build perf session: Add swap operation for event TIME_CONV perf jit: Let convert_timestamp() to be backwards-compatible perf tools: Change fields type in perf_record_time_conv net:nfc:digital: Fix a double free in digital_tg_recv_dep_req net: bridge: mcast: fix broken length + header check for MRDv6 Adv. RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res RDMA/siw: Fix a use after free in siw_alloc_mr bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds selftests/bpf: Fix core_reloc test runner selftests/bpf: Fix field existence CO-RE reloc tests selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send KVM: VMX: Intercept FS/GS_BASE MSR accesses for 32-bit KVM bnxt_en: Fix RX consumer index logic in the error path. selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E bnxt_en: fix ternary sign extension bug in bnxt_show_temp() net: enetc: fix link error again net: phy: marvell: fix m88e1111_set_downshift net: phy: marvell: fix m88e1011_set_downshift powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add') powerpc/perf: Fix the threshold event selection for memory events in power10 wlcore: Fix buffer overrun by snprintf due to incorrect buffer size ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock ath10k: Fix a use after free in ath10k_htc_send_bundle ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices powerpc/64: Fix the definition of the fixmap area RDMA/core: Add CM to restrack after successful attachment to a device RDMA/rxe: Fix a bug in rxe_fill_ip_info() net: phy: intel-xway: enable integrated led functions net: renesas: ravb: Fix a stuck issue when a lot of frames are received net: stmmac: fix TSO and TBS feature enabling during driver open nfp: devlink: initialize the devlink port attribute "lanes" crypto: ccp: Detect and reject "invalid" addresses destined for PSP mt76: mt7615: fix memleak when mt7615_unregister_device() net: davinci_emac: Fix incorrect masking of tx and rx error channel net: marvell: prestera: fix port event handling on init vsock/virtio: free queued packets when closing socket sfc: ef10: fix TX queue lookup in TX event handling ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails RDMA/cxgb4: add missing qpid increment gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check net: ethernet: ixp4xx: Set the DMA masks explicitly libbpf: Initialize the bpf_seq_printf parameters array field by field vsock/vmci: log once the failed queue pair allocation netfilter: nftables_offload: special ethertype handling for VLAN netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector netfilter: nft_payload: fix C-VLAN offload support mwl8k: Fix a double Free in mwl8k_probe_hw i2c: mediatek: Fix wrong dma sync flag i2c: sh7760: fix IRQ error path wlcore: fix overlapping snprintf arguments in debugfs rtlwifi: 8821ae: upgrade PHY and RF parameters KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid powerpc/smp: Reintroduce cpu_core_mask powerpc/pseries: extract host bridge from pci_bus prior to bus removal MIPS: pci-legacy: stop using of_pci_range_to_resource drm/amd/pm: fix error code in smu_set_power_limit() perf beauty: Fix fsconfig generator iommu/amd: Put newline after closing bracket in warning drm/i915/gvt: Fix error code in intel_gvt_init_device() net/packet: remove data races in fanout operations net/packet: make packet_fanout.arr size configurable up to 64K net/mlx5: Fix bit-wise and with zero ASoC: ak5558: correct reset polarity powerpc/xive: Fix xmon command "dxi" powerpc/xive: Drop check on irq_data in xive_core_debug_show() i2c: sh7760: add IRQ check i2c: rcar: add IRQ check i2c: rcar: protect against supurious interrupts on V3U i2c: rcar: make sure irq is not threaded on Gen2 and earlier i2c: mlxbf: add IRQ check i2c: jz4780: add IRQ check i2c: emev2: add IRQ check i2c: cadence: add IRQ check i2c: xiic: fix reference leak when pm_runtime_get_sync fails i2c: stm32f7: fix reference leak when pm_runtime_get_sync fails i2c: sprd: fix reference leak when pm_runtime_get_sync fails i2c: omap: fix reference leak when pm_runtime_get_sync fails i2c: imx: fix reference leak when pm_runtime_get_sync fails i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails i2c: img-scb: fix reference leak when pm_runtime_get_sync fails i2c: cadence: fix reference leak when pm_runtime_get_sync fails RDMA/rtrs-clt: destroy sysfs after removing session from active list RDMA/srpt: Fix error return code in srpt_cm_req_recv() net: thunderx: Fix unintentional sign extension issue cxgb4: Fix unintentional sign extension issues RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal() IB/hfi1: Fix error return code in parse_platform_config() RDMA/qedr: Fix error return code in qedr_iw_connect() ovl: invalidate readdir cache on changes to dir with origin KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit mt76: mt7663s: fix the possible device hang in high traffic mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation mt76: mt7915: fix mib stats counter reporting to mac80211 mt76: mt7615: fix mib stats counter reporting to mac80211 mt76: mt7915: fix aggr len debugfs node mt76: mt7915: fix tx skb dma unmap mt76: mt7615: fix tx skb dma unmap mt7601u: fix always true expression rtw88: Fix an error code in rtw_debugfs_set_rsvd_page() xfs: fix return of uninitialized value in variable error perf vendor events amd: Fix broken L2 Cache Hits from L2 HWPF metric mac80211: bail out if cipher schemes are invalid powerpc: iommu: fix build when neither PCI or IBMVIO is set powerpc/perf: Fix PMU constraint check for EBB events powerpc/64s: Fix pte update for kernel memory on radix IB/hfi1: Use kzalloc() for mmu_rb_handler allocation liquidio: Fix unintented sign extension of a left shift of a u16 ASoC: simple-card: fix possible uninitialized single_cpu local variable KVM: arm64: Initialize VCPU mdcr_el2 before loading it HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event() HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls iommu/vt-d: Invalidate PASID cache when root/context entry changed iommu/vt-d: Remove WO permissions on second-level paging entries iommu/vt-d: Preset Access/Dirty bits for IOVA over FL iommu/vt-d: Report the right page fault address iommu/vt-d: Report right snoop capability when using FL for IOVA iommu: Fix a boundary issue to avoid performance drop iommu/vt-d: Don't set then clear private data in prq_event_thread() mips: bmips: fix syscon-reboot nodes net: hns3: Limiting the scope of vector_ring_chain variable nfc: pn533: prevent potential memory corruption RDMA/core: Fix corrupted SL on passive side bug: Remove redundant condition check in report_bug net/tipc: fix missing destroy_workqueue() on error in tipc_crypto_start() powerpc/pseries: Only register vio drivers if vio bus exists udp: never accept GSO_FRAGLIST packets net: phy: lan87xx: fix access to wrong register of LAN87xx ALSA: core: remove redundant spin_lock pair in snd_card_disconnect gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration IB/isert: Fix a use after free in isert_connect_request RDMA/mlx5: Fix drop packet rule in egress table iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK ASoC: wm8960: Remove bitclk relax condition in wm8960_configure_sysclk MIPS: loongson64: fix bug when PAGE_SIZE > 16KB pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero pinctrl: pinctrl-single: remove unused parameter inet: use bigger hash table for IP ID generation ima: Fix the error code for restoring the PCR value MIPS: fix local_irq_{disable,enable} in asmmacro.h powerpc/prom: Mark identical_pvr_fixup as __init powerpc/fadump: Mark fadump_calculate_reserve_size as __init libbpf: Add explicit padding to btf_dump_emit_type_decl_opts selftests/bpf: Re-generate vmlinux.h and BPF skeletons if bpftool changed iommu/vt-d: Reject unsupported page request modes iommu: Check dev->iommu in iommu_dev_xxx functions bpftool: Fix maybe-uninitialized warnings libbpf: Add explicit padding to bpf_xdp_set_link_opts net: lapbether: Prevent racing when checking whether the netif is running Bluetooth: avoid deadlock between hci_dev->lock and socket lock KVM: x86/mmu: Retry page faults that hit an invalid memslot wilc1000: write value to WILC_INTR2_ENABLE register RDMA/mlx5: Fix mlx5 rates to IB rates map ASoC: Intel: Skylake: Compile when any configuration is selected ASoC: Intel: boards: sof-wm8804: add check for PLL setting perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars HID: plantronics: Workaround for double volume key presses xsk: Respect device's headroom and tailroom on generic xmit path drivers/block/null_blk/main: Fix a double free in null_init. sched/debug: Fix cgroup_path[] serialization io_uring: fix overflows checks in provide buffers perf/amd/uncore: Fix sysfs type mismatch x86/events/amd/iommu: Fix sysfs type mismatch HSI: core: fix resource leaks in hsi_add_client_from_dt() media: cedrus: Fix H265 status definitions nvme-pci: don't simple map sgl when sgls are disabled nvmet-tcp: fix a segmentation fault during io parsing error mfd: stm32-timers: Avoid clearing auto reload register mailbox: sprd: Introduce refcnt when clients requests/free channels scsi: ibmvfc: Fix invalid state machine BUG_ON() scsi: sni_53c710: Add IRQ check scsi: sun3x_esp: Add IRQ check scsi: jazz_esp: Add IRQ check scsi: hisi_sas: Fix IRQ checks scsi: ufs: ufshcd-pltfrm: Fix deferred probing scsi: pm80xx: Fix potential infinite loop scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check() clk: uniphier: Fix potential infinite loop drm/radeon: Fix a missing check bug in radeon_dp_mst_detect() drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train() clk: zynqmp: pll: add set_pll_mode to check condition in zynqmp_pll_enable clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer vfio/pci: Re-order vfio_pci_probe() vfio/pci: Move VGA and VF initialization to functions vfio/fsl-mc: Re-order vfio_fsl_mc_probe() media: v4l2-ctrls.c: fix race condition in hdl->requests list media: i2c: imx219: Balance runtime PM use-count media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream nvme: retrigger ANA log update if group descriptor isn't found power: supply: bq25980: Move props from battery node clk: imx: Fix reparenting of UARTs not associated with stdout nvmet-tcp: fix incorrect locking in state_change sk callback nvme-tcp: block BH in sk state_change sk callback seccomp: Fix CONFIG tests for Seccomp_filters ata: libahci_platform: fix IRQ check sata_mv: add IRQ checks pata_ipx4xx_cf: fix IRQ check pata_arasan_cf: fix IRQ check selftests: fix prepending $(OUTPUT) to $(TEST_PROGS) x86/kprobes: Fix to check non boostable prefixes correctly of: overlay: fix for_each_child.cocci warnings drm/amdkfd: fix build error with AMD_IOMMU_V2=m media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs() media: m88rs6000t: avoid potential out-of-bounds reads on arrays media: atomisp: Fixed error handling path media: [next] staging: media: atomisp: fix memory leak of object flash media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30 media: m88ds3103: fix return value check in m88ds3103_probe() media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming() media: venus: core: Fix some resource leaks in the error path of 'venus_probe()' drm/probe-helper: Check epoch counter in output_poll_execute() media: aspeed: fix clock handling logic media: rkisp1: rsz: crash fix when setting src format media: omap4iss: return error code when omap4iss_get() failed media: saa7146: use sg_dma_len when building pgtable media: saa7134: use sg_dma_len when building pgtable media: vivid: fix assignment of dev->fbuf_out_flags rcu: Remove spurious instrumentation_end() in rcu_nmi_enter() afs: Fix updating of i_mode due to 3rd party change sched/fair: Fix shift-out-of-bounds in load_balance() drm/mcde/panel: Inverse misunderstood flag drm/amd/display: Fix off by one in hdmi_14_process_transaction() drm/stm: Fix bus_flags handling drm/tilcdc: send vblank event when disabling crtc soc: aspeed: fix a ternary sign expansion bug xen-blkback: fix compatibility bug with single page rings serial: omap: fix rs485 half-duplex filtering serial: omap: don't disable rs485 if rts gpio is missing ttyprintk: Add TTY hangup callback. usb: dwc2: Fix hibernation between host and device modes. usb: dwc2: Fix host mode hibernation exit with remote wakeup flow. PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check Drivers: hv: vmbus: Increase wait time for VMbus unload hwmon: (pmbus/pxe1610) don't bail out when not all pages are active x86/platform/uv: Fix !KEXEC build failure spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue Drivers: hv: vmbus: Use after free in __vmbus_open() ARM: dts: aspeed: Rainier: Fix humidity sensor bus address platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table security: keys: trusted: fix TPM2 authorizations memory: samsung: exynos5422-dmc: handle clk_set_parent() failure memory: renesas-rpc-if: fix possible NULL pointer dereference of resource spi: spi-zynqmp-gqspi: Fix missing unlock on error in zynqmp_qspi_exec_op() m68k: Add missing mmap_read_lock() to sys_cacheflush() usbip: vudc: fix missing unlock on error in usbip_sockfd_store() crypto: chelsio - Read rxchannel-id from firmware node: fix device cleanups in error handling code firmware: qcom-scm: Fix QCOM_SCM configuration serial: core: return early on unsupported ioctls tty: fix return value for unsupported termiox ioctls tty: Remove dead termiox code tty: fix return value for unsupported ioctls tty: actually undefine superseded ASYNC flags USB: cdc-acm: fix TIOCGSERIAL implementation USB: cdc-acm: fix unprivileged TIOCCSERIAL usb: gadget: r8a66597: Add missing null check on return from platform_get_resource spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware() spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality spi: spi-zynqmp-gqspi: add mutex locking for exec_op spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible cpufreq: armada-37xx: Fix determining base CPU frequency cpufreq: armada-37xx: Fix driver cleanup when registration failed clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0 clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz cpufreq: armada-37xx: Fix the AVS value for load L1 clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock cpufreq: armada-37xx: Fix setting TBG parent for load levels crypto: qat - Fix a double free in adf_create_ring crypto: sa2ul - Fix memory leak of rxd crypto: sun8i-ss - Fix memory leak of pad crypto: allwinner - add missing CRYPTO_ prefix ACPI: CPPC: Replace cppc_attr with kobj_attribute cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration PM: runtime: Replace inline function pm_runtime_callbacks_present() soc: qcom: mdt_loader: Detect truncated read of segments soc: qcom: mdt_loader: Validate that p_filesz < p_memsz spi: fsl: add missing iounmap() on error in of_fsl_spi_probe() spi: Fix use-after-free with devm_spi_alloc_* clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe() clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped clocksource/drivers/timer-ti-dm: Fix posted mode status check order PM / devfreq: Use more accurate returned new_freq as resume_freq soc: qcom: pdr: Fix error return code in pdr_register_listener staging: greybus: uart: fix unprivileged TIOCCSERIAL staging: fwserial: fix TIOCGSERIAL implementation staging: fwserial: fix TIOCSSERIAL implementation staging: rtl8192u: Fix potential infinite loop staging: comedi: tests: ni_routes_test: Fix compilation error irqchip/gic-v3: Fix OF_BAD_ADDR error handling mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol firmware: qcom_scm: Workaround lack of "is available" call on SC7180 firmware: qcom_scm: Reduce locking section for __get_convention() firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool m68k: mvme147,mvme16x: Don't wipe PCC timer config bits soundwire: stream: fix memory leak in stream config error path memory: pl353: fix mask of ECC page_size config register driver core: platform: Declare early_platform_cleanup() prototype drivers: nvmem: Fix voltage settings for QTI qfprom-efuse USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR() usb: gadget: aspeed: fix dma map failure crypto: qat - fix error path in adf_isr_resource_alloc() crypto: poly1305 - fix poly1305_core_setkey() declaration NFSv4.2: fix copy stateid copying for the async copy NFSD: Fix sparse warning in nfs4proc.c arm64: dts: mediatek: fix reset GPIO level on pumpkin phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup soundwire: bus: Fix device found flag correctly bus: qcom: Put child node before return arm64: dts: renesas: r8a779a0: Fix PMU interrupt mtd: require write permissions for locking and badblock ioctls dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties' usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()' usb: gadget: s3c: Fix incorrect resources releasing fotg210-udc: Complete OUT requests on short packets fotg210-udc: Don't DMA more than the buffer can take fotg210-udc: Mask GRP2 interrupts we don't handle fotg210-udc: Remove a dubious condition leading to fotg210_done fotg210-udc: Fix EP0 IN requests bigger than two packets fotg210-udc: Fix DMA on EP0 for length > max packet size crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init crypto: qat - don't release uninitialized resources crypto: ccp - fix command queuing to TEE ring buffer usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1) usb: gadget: pch_udc: Initialize device pointer before use usb: gadget: pch_udc: Check for DMA mapping error usb: gadget: pch_udc: Check if driver is present before calling ->setup() usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits() devtmpfs: fix placement of complete() call x86/microcode: Check for offline CPUs before requesting new microcode spi: stm32: Fix use-after-free on unbind arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding regulator: bd9576: Fix return from bd957x_probe() spi: stm32: drop devres version of spi_register_master crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x arm64: dts: qcom: sm8250: fix number of pins in 'gpio-ranges' arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges' arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges' arm64: dts: qcom: sm8250: Fix timer interrupt to specify EL2 physical timer arm64: dts: qcom: sm8250: Fix level triggered PMU interrupt polarity ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control mtd: maps: fix error return code of physmap_flash_remove() mtd: don't lock when recursively deleting partitions mtd: rawnand: qcom: Return actual error code instead of -ENODEV mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions() mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe() spi: rockchip: avoid objtool warning regmap: set debugfs_name to NULL after it is freed usb: typec: stusb160x: fix return value check in stusb160x_probe() usb: typec: tps6598x: Fix return value check in tps6598x_probe() usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS serial: stm32: fix tx_empty condition serial: stm32: add FIFO flush when port is closed serial: stm32: fix FIFO flush in startup and set_termios serial: stm32: call stm32_transmit_chars locked serial: stm32: fix tx dma completion, release channel serial: stm32: fix a deadlock in set_termios serial: stm32: fix wake-up flag handling serial: stm32: fix a deadlock condition with wakeup event serial: stm32: fix TX and RX FIFO thresholds serial: stm32: fix incorrect characters on console serial: stm32: fix startup by enabling usart for reception serial: stm32: Use of_device_get_match_data() serial: stm32: fix probe and remove order for dma serial: stm32: add "_usart" prefix in functions name serial: stm32: fix code cleaning warnings and checks x86/platform/uv: Set section block size for hubless architectures arm64: dts: renesas: Add mmc aliases into board dts files ARM: dts: renesas: Add mmc aliases into R-Car Gen2 board dts files ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family ARM: dts: exynos: correct PMIC interrupt trigger level on Snow ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100 memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] crypto: sun8i-ss - fix result memory leak on error path fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE) firmware: xilinx: Add a blank line after function declaration firmware: xilinx: Fix dereferencing freed memory Revert "tools/power turbostat: adjust for temperature offset" usb: gadget: pch_udc: Revertd3cb25a121
completely Revert "drm/qxl: do not run release if qxl failed to init" ovl: fix missing revert_creds() on error path Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register" Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit" KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read KVM: arm64: Fully zero the vcpu state on reset KVM: Stop looking for coalesced MMIO zones if the bus is destroyed KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit KVM: nVMX: Defer the MMU reload to the normal path on an EPTP switch KVM: SVM: Inject #GP on guest MSR_TSC_AUX accesses if RDTSCP unsupported KVM: SVM: Do not allow SEV/SEV-ES initialization after vCPUs are created KVM: SVM: Don't strip the C-bit from CR2 on #PF interception KVM: nSVM: Set the shadow root level to the TDP level for nested NPT KVM: x86: Remove emulator's broken checks on CR0/CR3/CR4 loads KVM: x86/mmu: Alloc page for PDPTEs when shadowing 32-bit NPT with 64-bit KVM: s390: extend kvm_s390_shadow_fault to return entry pointer KVM: s390: split kvm_s390_real_to_abs KVM: s390: VSIE: fix MVPG handling for prefixing and MSO s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility KVM: s390: fix guarded storage control register handling KVM: s390: split kvm_s390_logical_to_effective KVM: s390: VSIE: correctly handle MVPG when in VSIE ALSA: hda/realtek: Fix speaker amp on HP Envy AiO 32 ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices ALSA: hda/realtek: Re-order ALC662 quirk table entries ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries ALSA: hda/realtek: Re-order ALC269 HP quirk table entries ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2 drm/amd/display: Reject non-zero src_y and src_x for video planes drm: bridge/panel: Cleanup connector on bridge detach drm/dp_mst: Set CLEAR_PAYLOAD_ID_TABLE as broadcast drm/dp_mst: Revise broadcast msg lct & lcr drm/radeon: fix copy of uninitialized variable back to userspace drm/panfrost: Don't try to map pages that are already mapped drm/panfrost: Clear MMU irqs before handling the fault drm/qxl: use ttm bo priorities drm/i915/gvt: Fix vfio_edid issue for BXT/APL drm/i915/gvt: Fix virtual display setup for BXT/APL FDDI: defxx: Make MMIO the configuration default except for EISA mt76: fix potential DMA mapping leak rtw88: Fix array overrun in rtw_get_tx_power_params() cfg80211: scan: drop entry from hidden_list on overflow ipw2x00: potential buffer overflow in libipw_wx_set_encodeext() mt76: mt7615: use ieee80211_free_txskb() in mt7615_tx_token_put() md: Fix missing unused status line of /proc/mdstat md: md_open returns -EBUSY when entering racing area md: factor out a mddev_find_locked helper from mddev_find md: split mddev_find md-cluster: fix use-after-free issue when removing rdev md/bitmap: wait for external bitmap writes to complete during tear down async_xor: increase src_offs when dropping destination page x86, sched: Treat Intel SNC topology as default, COD as exception selinux: add proper NULL termination to the secclass_map permissions misc: vmw_vmci: explicitly initialize vmci_datagram payload misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create() misc: lis3lv02d: Fix false-positive WARN on various HP models phy: cadence: Sierra: Fix PHY power_on sequence sc16is7xx: Defer probe if device read fails iio:adc:ad7476: Fix remove handling iio:accel:adis16201: Fix wrong axis assignment that prevents loading iio: inv_mpu6050: Fully validate gyro and accel scale writes soc/tegra: regulators: Fix locking up when voltage-spread is out of range PM / devfreq: Unlock mutex and free devfreq struct in error path PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c PCI: xgene: Fix cfg resource mapping KVM: x86: Defer the MMU unload to the normal path on an global INVPCID PCI: Allow VPD access for QLogic ISP2722 FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR MIPS: pci-rt2880: fix slot 0 configuration MIPS: pci-mt7620: fix PLL lock check ASoC: tlv320aic32x4: Increase maximum register in regmap ASoC: tlv320aic32x4: Register clocks before registering component ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function ASoC: samsung: tm2_wm5110: check of of_parse return value usb: xhci-mtk: improve bandwidth scheduling with TT usb: xhci-mtk: remove or operator for setting schedule parameters usb: typec: tcpm: update power supply once partner accepts usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply drm: bridge: fix LONTIUM use of mipi_dsi_() functions staging: fwserial: fix TIOCSSERIAL permission check tty: moxa: fix TIOCSSERIAL permission check staging: fwserial: fix TIOCSSERIAL jiffies conversions USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check staging: greybus: uart: fix TIOCSSERIAL jiffies conversions USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions tty: amiserial: fix TIOCSSERIAL permission check tty: moxa: fix TIOCSSERIAL jiffies conversions usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode() Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL" io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers net/nfc: fix use-after-free llcp_sock_bind/connect bluetooth: eliminate the potential race condition when removing the HCI controller Bluetooth: verify AMP hci_chan before amp_destroy BACKPORT: scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk Revert "xfrm: Use actual socket sk instead of skb socket for xfrm_output_resume" ANDROID: vendor_hooks: Add hooks to dup_task_struct ANDROID: arm64: enable compat vdso UPSTREAM: arm64: vdso32: drop -no-integrated-as flag BACKPORT: scsi: ufs-mediatek: Add HS-G4 support UPSTREAM: scsi: ufs: Add enums for UniPro version higher than 1.6 FROMGIT: usb: typec: tcpm: Fix SINK_DISCOVERY current limit for Rp-default FROMGIT: xhci: Do not use GFP_KERNEL in (potentially) atomic context FROMGIT: xhci: Fix giving back cancelled URBs even if halted endpoint can't reset ANDROID: usb: gadget: f_accessory: update SS/SSP descriptors Revert "sched,fair: Alternative sched_slice()" Revert "media: v4l2-ctrls: fix reference to freed memory" ANDROID: GKI: restore a part of "struct mmc_host" Revert "mmc: block: Issue a cache flush only when it's enabled" ANDROID: iommu/io-pgtable-arm: Free underlying page tables for large mappings Revert "UPSTREAM: usb: gadget: f_uac2: validate input parameters" ANDROID: vendor_hooks: Add hooks for account irqtime process tick BACKPORT: arm64: fpsimd: run kernel mode NEON with softirqs disabled UPSTREAM: arm64: assembler: introduce wxN aliases for wN registers BACKPORT: arm64: assembler: remove conditional NEON yield macros UPSTREAM: fsverity: relax build time dependency on CRYPTO_SHA256 UPSTREAM: fscrypt: relax Kconfig dependencies for crypto API algorithms UPSTREAM: crypto: arm64/gcm - move authentication tag check to SIMD domain UPSTREAM: crypto: arm64/crc-t10dif - move NEON yield to C code UPSTREAM: crypto: arm64/aes-ce-mac - simplify NEON yield UPSTREAM: crypto: arm64/aes-neonbs - remove NEON yield calls UPSTREAM: crypto: arm64/sha512-ce - simplify NEON yield UPSTREAM: crypto: arm64/sha3-ce - simplify NEON yield UPSTREAM: crypto: arm64/sha2-ce - simplify NEON yield UPSTREAM: crypto: arm64/sha1-ce - simplify NEON yield UPSTREAM: arm64: assembler: add cond_yield macro UPSTREAM: crypto: remove cipher routines from public crypto API UPSTREAM: chcr_ktls: use AES library for single use cipher ANDROID: add OWNERS for sysfs-fs-f2fs FROMGIT: mm/memory_hotplug: rate limit page migration warnings ANDROID: db845c_gki.fragment: Add QCOM_TSENSE config to avoid thermal crashes UPSTREAM: usb: gadget: f_uac2: validate input parameters UPSTREAM: usb: f_uac2: adds support for SS and SSP f2fs: return EINVAL for hole cases in swap file ANDROID: Update the ABI xml and symbol list f2fs: avoid swapon failure by giving a warning first ANDROID: topology: Add flag to indicate topology has been updated f2fs: compress: fix to assign cc.cluster_idx correctly f2fs: compress: fix race condition of overwrite vs truncate f2fs: compress: fix to free compress page correctly f2fs: support iflag change given the mask f2fs: avoid null pointer access when handling IPU error ANDROID: Update the ABI xml and symbol list ANDROID: Add missing CFI jump table symbols to kallsyms Revert "BACKPORT: bio: limit bio max size" ANDROID: thermal: Add vendor thermal_pm_notify_suspend function Linux 5.10.36 thermal/core/fair share: Lock the thermal zone while looping over instances thermal/drivers/cpufreq_cooling: Fix slab OOB issue lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf() dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails dm integrity: fix missing goto in bitmap_flush_interval error handling dm space map common: fix division bug in sm_ll_find_free_block() dm persistent data: packed struct should have an aligned() attribute too tracing: Restructure trace_clock_global() to never block tracing: Map all PIDs to command lines tools/power turbostat: Fix offset overflow issue in index converting rsi: Use resume_noirq for SDIO tty: fix memory leak in vc_deallocate usb: dwc2: Fix session request interrupt handler usb: dwc3: core: Do core softreset when switch mode usb: dwc3: gadget: Fix START_TRANSFER link state check usb: dwc3: gadget: Remove FS bInterval_m1 limitation usb: gadget/function/f_fs string table fix for multiple languages usb: gadget: Fix double free of device descriptor pointers usb: gadget: dummy_hcd: fix gpf in gadget_setup media: venus: hfi_parser: Don't initialize parser on v1 media: v4l2-ctrls: fix reference to freed memory media: staging/intel-ipu3: Fix race condition during set_fmt media: staging/intel-ipu3: Fix set_fmt error handling media: staging/intel-ipu3: Fix memory leak in imu_fmt media: dvb-usb: Fix memory leak at error in dvb_usb_device_init() media: dvb-usb: Fix use-after-free access media: dvbdev: Fix memory leak in dvb_media_device_free() ext4: Fix occasional generic/418 failure ext4: allow the dax flag to be set and cleared on inline directories ext4: fix error return code in ext4_fc_perform_commit() ext4: fix ext4_error_err save negative errno into superblock ext4: fix error code in ext4_commit_super ext4: do not set SB_ACTIVE in ext4_orphan_cleanup() ext4: fix check to prevent false positive report of incorrect used inodes ext4: annotate data race in jbd2_journal_dirty_metadata() ext4: annotate data race in start_this_handle() kbuild: update config_data.gz only when the content of .config is changed x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI Revert337f13046f
("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op") smb3: do not attempt multichannel to server which does not support it smb3: when mounting with multichannel include it in requested capabilities jffs2: check the validity of dstlen in jffs2_zlib_compress() Fix misc new gcc warnings security: commoncap: fix -Wstringop-overread warning sfc: farch: fix TX queue lookup in TX event handling sfc: farch: fix TX queue lookup in TX flush done handling exfat: fix erroneous discard when clear cluster bit fuse: fix write deadlock dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences md/raid1: properly indicate failure when ending a failed write request crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS crypto: arm/curve25519 - Move '.fpu' after '.arch' tpm: vtpm_proxy: Avoid reading host log when using a virtual device tpm: efi: Use local variable for calculating final log size intel_th: pci: Add Alder Lake-M support powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR powerpc/kexec_file: Use current CPU info while setting up FDT powerpc/eeh: Fix EEH handling for hugepages in ioremap space. powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors jffs2: Hook up splice_write callback jffs2: Fix kasan slab-out-of-bounds problem Input: ili210x - add missing negation for touch indication on ili210x NFSv4: Don't discard segments marked for return in _pnfs_return_layout() NFS: Don't discard pNFS layout segments that are marked for return NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure openvswitch: fix stack OOB read while fragmenting IPv4 packets mlxsw: spectrum_mr: Update egress RIF list before route's action f2fs: fix to avoid out-of-bounds memory access f2fs: fix error handling in f2fs_end_enable_verity() ubifs: Only check replay with inode type to judge if inode linked kcsan, debugfs: Move debugfs file creation out of early init virtiofs: fix memory leak in virtio_fs_probe() fs: fix reporting supported extra file attributes for statx() Makefile: Move -Wno-unused-but-set-variable out of GCC only block arm64/vdso: Discard .note.gnu.property sections in vDSO btrfs: fix race when picking most recent mod log operation for an old root tools/power/turbostat: Fix turbostat for AMD Zen CPUs ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops ALSA: hda/realtek - Headset Mic issue on HP platform ALSA: hda/realtek: fix mic boost on Intel NUC 8 ALSA: hda/realtek: GA503 use same quirks as GA401 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8 ALSA: usb-audio: Explicitly set up the clock selector ALSA: sb: Fix two use after free in snd_sb_qsound_build ALSA: hda/conexant: Re-order CX5066 quirk table entries ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer power: supply: cpcap-battery: fix invalid usage of list cursor sched,psi: Handle potential task count underflow bugs more gracefully s390/archrandom: add parameter check for s390_arch_random_generate block/rnbd-clt: Fix missing a memory free when unloading the module sched,fair: Alternative sched_slice() perf: Rework perf_event_exit_event() scsi: libfc: Fix a format specifier mfd: arizona: Fix rumtime PM imbalance on error mfd: da9063: Support SMBus and I2C mode mfd: intel-m10-bmc: Fix the register access range scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response drm/amdgpu: fix NULL pointer dereference drm/amd/display: Try YCbCr420 color when YCbCr444 fails amdgpu: avoid incorrect %hu format string drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug drm/amd/display: Fix UBSAN: shift-out-of-bounds warning drm/amd/display: Fix debugfs link_settings entry drm/radeon/ttm: Fix memory leak userptr pages drm/amdgpu/ttm: Fix memory leak userptr pages drm/msm/mdp5: Do not multiply vclk line count by 100 drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal sched/fair: Ignore percpu threads for imbalance pulls media: gscpa/stv06xx: fix memory leak media: dvb-usb: fix memory leak in dvb_usb_adapter_init media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming media: platform: sti: Fix runtime PM imbalance in regs_show media: i2c: adv7842: fix possible use-after-free in adv7842_remove() media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove() media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove() media: adv7604: fix possible use-after-free in adv76xx_remove() media: tc358743: fix possible use-after-free in tc358743_remove() power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove() power: supply: generic-adc-battery: fix possible use-after-free in gab_remove() clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver media: vivid: update EDID media: em28xx: fix memory leak scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg() scsi: smartpqi: Add new PCI IDs scsi: smartpqi: Correct request leakage during reset operations scsi: smartpqi: Use host-wide tag space power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce selftests/resctrl: Fix checking for < 0 for unsigned values selftests/resctrl: Fix incorrect parsing of iMC counters selftests/resctrl: Use resctrl/info for feature detection selftests/resctrl: Fix missing options "-n" and "-p" selftests/resctrl: Clean up resctrl features check selftests/resctrl: Fix compilation issues for other global variables selftests/resctrl: Fix compilation issues for global variables selftests/resctrl: Enable gcc checks to detect buffer overflows nvmet: return proper error code from discovery ctrl drm/komeda: Fix bit check to import to value of proper type ata: ahci: Disable SXS for Hisilicon Kunpeng920 mmc: sdhci-brcmstb: Remove CQE quirk mmc: sdhci-pci: Add PCI IDs for Intel LKF mmc: sdhci-esdhc-imx: validate pinctrl before use it scsi: qla2xxx: Fix use after free in bsg drm/vkms: fix misuse of WARN_ON scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats() drm/amd/display: fix dml prefetch validation drm/amd/display: DCHUB underflow counter increasing in some scenarios drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool' drm/amd/pm: fix workload mismatch on vega10 drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f drm/amdkfd: Fix UBSAN shift-out-of-bounds warning drm/amdgpu: mask the xgmi number of hops reported from psp to kfd backlight: qcom-wled: Fix FSC update issue for WLED5 backlight: qcom-wled: Use sink_addr for sync toggle power: supply: Use IRQF_ONESHOT media: gspca/sq905.c: fix uninitialized variable media: media/saa7164: fix saa7164_encoder_register() memory leak bugs extcon: arizona: Fix various races on driver unbind extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged power: supply: bq27xxx: fix power_avg for newer ICs atomisp: don't let it go past pipes array media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt() media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB media: ite-cir: check for receive overflow scsi: target: pscsi: Fix warning in pscsi_complete_cmd() kvfree_rcu: Use same set of GFP flags as does single-argument sched/pelt: Fix task util_est update filtering drm/amdgpu: Fix some unload driver issues scsi: lpfc: Fix pt2pt connection does not recover after LOGO scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work drm/amd/display: Don't optimize bandwidth before disabling planes drm/amd/display: Check for DSC support instead of ASIC revision drm/ast: fix memory leak when unload the driver drm/amd/display: changing sr exit latency drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check drm/qxl: release shadow on shutdown drm/qxl: do not run release if qxl failed to init drm: Added orientation quirk for OneGX1 Pro btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s btrfs: do proper error handling in btrfs_update_reloc_root btrfs: do proper error handling in create_reloc_root spi: sync up initial chipselect state platform/x86: intel_pmc_core: Don't use global pmcdev in quirks crypto: omap-aes - Fix PM reference leak on omap-aes.c crypto: sa2ul - Fix PM reference leak in sa_ul_probe() crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c crypto: stm32/hash - Fix PM reference leak on stm32-hash.c crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe() crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove() intel_th: Consistency and off-by-one fix tty: n_gsm: check error while registering tty devices usb: dwc3: gadget: Check for disabled LPM quirk usb: core: hub: Fix PM reference leak in usb_port_resume() usb: musb: fix PM reference leak in musb_irq_work() usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove() spi: qup: fix PM reference leak in spi_qup_remove() spi: omap-100k: Fix reference leak to master spi: dln2: Fix reference leak to master platform/x86: ISST: Account for increased timeout in some cases tools/power/x86/intel-speed-select: Increase string size ARM: dts: at91: change the key code of the gpio key bus: mhi: core: Clear context for stopped channels from remove() xhci: fix potential array out of bounds with several interrupters xhci: check control context is valid before dereferencing it. xhci: check port array allocation was successful before dereferencing it fpga: dfl: pci: add DID for D5005 PAC cards usb: xhci-mtk: support quirk to disable usb2 lpm random: initialize ChaCha20 constants with correct endianness perf/arm_pmu_platform: Fix error handling perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors soundwire: cadence: only prepare attached devices on clock stop tee: optee: do not check memref size on return from Secure World arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on soc/tegra: pmc: Fix completion of power-gate toggling efi/libstub: Add $(CLANG_FLAGS) to x86 flags x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS) ARM: dts: ux500: Fix up TVK R3 sensors ARM: dts: BCM5301X: fix "reg" formatting in /memory node kselftest/arm64: mte: Fix MTE feature detection PCI: PM: Do not read power state in pci_enable_device_flags() ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node kselftest/arm64: mte: Fix compilation with native compiler usb: xhci: Fix port minor revision usb: dwc3: gadget: Ignore EP queue requests during bus reset usb: gadget: f_uac1: validate input parameters usb: gadget: f_uac2: validate input parameters genirq/matrix: Prevent allocation counter corruption crypto: hisilicon/sec - fixes a printing error x86/sev: Do not require Hypervisor CPUID bit for SEV guests usb: webcam: Invalid size of Processing Unit Descriptor usb: gadget: uvc: add bInterval checking for HS mode crypto: qat - fix unmap invalid dma address crypto: api - check for ERR pointers in crypto_destroy_tfm() bus: mhi: core: Destroy SBL devices when moving to mission mode spi: ath79: remove spi-master setup and cleanup assignment spi: ath79: always call chipselect function staging: wimax/i2400m: fix byte-order issue bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first cpuidle: tegra: Fix C7 idling state on Tegra114 fbdev: zero-fill colormap in fbcmap.c posix-timers: Preserve return value in clock_adjtime32() btrfs: fix race between transaction aborts and fsyncs leading to use-after-free intel_th: pci: Add Rocket Lake CPU support btrfs: fix metadata extent leak after failure to create subvolume x86/build: Disable HIGHMEM64G selection for M486SX btrfs: handle remount to no compress during compression smb2: fix use-after-free in smb2_ioctl_query_info() cifs: detect dead connections only when echoes are enabled. cifs: fix out-of-bound memory access when calling smb3_notify() at mount point cifs: Return correct error code from smb2_get_enc_key irqchip/gic-v3: Do not enable irqs when handling spurious interrups mmc: core: Fix hanging on I/O during system suspend for removable cards mmc: core: Set read only for SD cards with permanent write protect bit mmc: core: Do a power cycle when the CMD11 fails mmc: block: Issue a cache flush only when it's enabled mmc: block: Update ext_csd.cache_ctrl if it was written mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers mmc: sdhci: Check for reset prior to DMA address unmap mmc: uniphier-sd: Fix a resource leak in the remove function mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe() scsi: mpt3sas: Block PCI config access from userspace during reset scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand() spi: spi-ti-qspi: Free DMA resources spi: stm32-qspi: fix pm_runtime usage_count counter erofs: add unsupported inode i_format check mtd: physmap: physmap-bt1-rom: Fix unintentional stack access mtd: rawnand: atmel: Update ecc_stats.corrected counter mtd: spinand: core: add missing MODULE_DEVICE_TABLE() Revert "mtd: spi-nor: macronix: Add support for mx25l51245g" mtd: spi-nor: core: Fix an issue of releasing resources during read/write fs/epoll: restore waking from ep_done_scan() ecryptfs: fix kernel panic with null dev_name arm64: dts: mt8173: fix property typo of 'phys' in dsi node arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld ftrace: Handle commands when closing set_ftrace_filter file ACPI: custom_method: fix a possible memory leak ACPI: custom_method: fix potential use-after-free issue tpm: acpi: Check eventlog signature before using it vhost-vdpa: fix vm_flags for virtqueue doorbell mapping s390/zcrypt: fix zcard and zqueue hot-unplug memleak s390/disassembler: increase ebpf disasm buffer size dyndbg: fix parsing file query without a line-range suffix nitro_enclaves: Fix stale file descriptors on failed usercopy bus: mhi: core: Sanity check values from remote device before use bus: mhi: core: Clear configuration from channel context during reset bus: mhi: core: Fix check for syserr at power_up ANDROID: qcom: Add neighbor related symbols ANDROID: usb: typec: ucsi: Ensure bounds check when accessing src_pdos FROMGIT: usb: typec: tcpm: Fix wrong handling for Not_Supported in VDM AMS ANDROID: Update the ABI xml and symbol list FROMGIT: usb: dwc3: omap: improve extcon initialization FROMGIT: usb: typec: ucsi: Put fwnode in any case during ->probe() FROMGIT: usb: dwc3: gadget: Return success always for kick transfer in ep queue FROMGIT: usb: dwc3: gadget: Free gadget structure only after freeing endpoints FROMGIT: usb: dwc2: Fix gadget DMA unmap direction FROMGIT: usb: dwc3: gadget: Rename EOPF event macros to Suspend FROMGIT: usb: dwc3: gadget: Enable suspend events Revert "capabilities: require CAP_SETFCAP to map uid 0" Revert "driver core: add a min_align_mask field to struct device_dma_parameters" Revert "swiotlb: add a IO_TLB_SIZE define" Revert "swiotlb: factor out an io_tlb_offset helper" Revert "swiotlb: factor out a nr_slots helper" Revert "swiotlb: clean up swiotlb_tbl_unmap_single" Revert "swiotlb: refactor swiotlb_tbl_map_single" Revert "swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single" Revert "swiotlb: respect min_align_mask" Revert "nvme-pci: set min_align_mask" UPSTREAM: block: fix inflight statistics of part0 ANDROID: GKI: 5/7 KMI update BACKPORT: bio: limit bio max size ANDROID: i2c: Add vendor hook to allow assign dev_name to I2C devices UPSTREAM: binder: tell userspace to dump current backtrace when detected oneway spamming ANDROID: arm64: module: add RELA metadata for FIPS140 use ANDROID: GKI: rename filp_open to filp_open_block in symbol lists ANDROID: GKI: dwc3: add Android ABI padding to some structures FROMGIT: usb: dwc3: gadget: Handle DEV_TXF_FLUSH_BYPASS capability FROMGIT: usb: dwc3: Capture new capability register GHWPARAMS9 FROMGIT: usb: dwc3: core: Do core softreset when switch mode ANDROID: android: Add symbols to debug_symbols driver BACKPORT: FROMGIT: remoteproc: add is_iomem to da_to_va FROMGIT: remoteproc: introduce is_iomem to rproc_mem_entry ANDROID: abi_gki_aarch64_qcom: Add __bitmap_andnot and cpumask_any_but ANDROID: abi_gki_aarch64_qcom: Add __kfifo_free Linux 5.10.35 vfio: Depend on MMU perf/core: Fix unconditional security_locked_down() call platform/x86: thinkpad_acpi: Correct thermal sensor allocation USB: Add reset-resume quirk for WD19's Realtek Hub USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX ovl: allow upperdir inside lowerdir ovl: fix leaked dentry nvme-pci: set min_align_mask swiotlb: respect min_align_mask swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single swiotlb: refactor swiotlb_tbl_map_single swiotlb: clean up swiotlb_tbl_unmap_single swiotlb: factor out a nr_slots helper swiotlb: factor out an io_tlb_offset helper swiotlb: add a IO_TLB_SIZE define driver core: add a min_align_mask field to struct device_dma_parameters tools/cgroup/slabinfo.py: updated to work on current kernel perf ftrace: Fix access to pid in array when setting a pid filter capabilities: require CAP_SETFCAP to map uid 0 perf data: Fix error return code in perf_data__create_dir() net: qrtr: Avoid potential use after free in MHI send bpf: Fix leakage of uninitialized bpf stack under speculation bpf: Fix masking negation logic upon negative dst register igb: Enable RSS for Intel I211 Ethernet Controller net: usb: ax88179_178a: initialize local variables before use netfilter: conntrack: Make global sysctls readonly in non-init netns mips: Do not include hi and lo in clobber list for R6 ANDROID: abi_gki_aarch64_qcom: Add __page_pinner_migration_failed ANDROID: vendor_hooks: set debugging data when rt_mutex is working ANDROID: abi_gki_aarch64_qcom: Add irq_do_set_affinity ANDROID: Update the ABI xml and symbol list ANDROID: ABI: Update the generic symbol list fsverity: relax build time dependency on CRYPTO_SHA256 fscrypt: relax Kconfig dependencies for crypto API algorithms f2fs: drop inplace IO if fs status is abnormal f2fs: compress: remove unneed check condition f2fs: clean up left deprecated IO trace codes f2fs: avoid using native allocate_segment_by_default() f2fs: remove unnecessary struct declaration f2fs: fix to avoid NULL pointer dereference f2fs: avoid duplicated codes for cleanup f2fs: document: add description about compressed space handling f2fs: clean up build warnings f2fs: modify open brace '{' following function definitions f2fs: fix the periodic wakeups of discard thread f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block() f2fs: fix to avoid GC/mmap race with f2fs_truncate() f2fs: set checkpoint_merge by default f2fs: Fix a hungtask problem in atomic write f2fs: fix to restrict mount condition on readonly block device f2fs: introduce gc_merge mount option f2fs: fix to cover __allocate_new_section() with curseg_lock f2fs: fix wrong alloc_type in f2fs_do_replace_block f2fs: delete empty compress.h f2fs: fix a typo in inode.c f2fs: allow to change discard policy based on cached discard cmds f2fs: fix to avoid touching checkpointed data in get_victim() f2fs: fix to update last i_size if fallocate partially succeeds f2fs: fix error path of f2fs_remount() f2fs: fix wrong comment of nat_tree_lock f2fs: fix to avoid out-of-bounds memory access f2fs: don't start checkpoint thread in readonly mountpoint f2fs: do not use AT_SSR mode in FG_GC & high urgent BG_GC f2fs: add sysfs nodes to get runtime compression stat f2fs: fix to use per-inode maxbytes in f2fs_fiemap f2fs: fix to align to section for fallocate() on pinned file f2fs: expose # of overprivision segments f2fs: fix error handling in f2fs_end_enable_verity() f2fs: fix a redundant call to f2fs_balance_fs if an error occurs f2fs: remove unused file_clear_encrypt() f2fs: check if swapfile is section-alligned f2fs: fix last_lblock check in check_swap_activate_fast f2fs: remove unnecessary IS_SWAPFILE check f2fs: Replace one-element array with flexible-array member f2fs: compress: Allow modular (de)compression algorithms f2fs: check discard command number before traversing discard pending list f2fs: update comments for explicit memory barrier f2fs: remove unused FORCE_FG_GC macro f2fs: avoid unused f2fs_show_compress_options() f2fs: fix panic during f2fs_resize_fs() f2fs: fix to allow migrating fully valid segment f2fs: fix a spelling error f2fs: fix a spacing coding style Conflicts: Documentation/devicetree/bindings Documentation/devicetree/bindings/media/renesas,vin.yaml Documentation/devicetree/bindings/serial/8250.yaml Documentation/devicetree/bindings/serial/st,stm32-uart.yaml drivers/bus/mhi/core/init.c drivers/bus/mhi/core/main.c drivers/bus/mhi/core/pm.c drivers/firmware/qcom_scm-smc.c drivers/firmware/qcom_scm.c drivers/firmware/qcom_scm.h drivers/soc/qcom/mdt_loader.c drivers/usb/gadget/function/f_uac2.c net/qrtr/mhi.c Change-Id: I18208c8a9e6e84b94ee30c8046a3ea74a18e3bea Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
This commit is contained in:
commit
9e52596f2d
1
.gitignore
vendored
1
.gitignore
vendored
@ -56,6 +56,7 @@ modules.order
|
||||
/tags
|
||||
/TAGS
|
||||
/linux
|
||||
/modules-only.symvers
|
||||
/vmlinux
|
||||
/vmlinux.32
|
||||
/vmlinux.symvers
|
||||
|
2
Documentation/ABI/testing/OWNERS
Normal file
2
Documentation/ABI/testing/OWNERS
Normal file
@ -0,0 +1,2 @@
|
||||
# include OWNERS from the authoritative android-mainline branch
|
||||
include kernel/common:android-mainline:/Documentation/ABI/testing/OWNERS
|
@ -276,7 +276,7 @@ Date April 2019
|
||||
Contact: "Daniel Rosenberg" <drosen@google.com>
|
||||
Description: If checkpoint=disable, it displays the number of blocks that
|
||||
are unusable.
|
||||
If checkpoint=enable it displays the enumber of blocks that
|
||||
If checkpoint=enable it displays the number of blocks that
|
||||
would be unusable if checkpoint=disable were to be set.
|
||||
|
||||
What: /sys/fs/f2fs/<disk>/encoding
|
||||
@ -410,6 +410,11 @@ Description: Give a way to change checkpoint merge daemon's io priority.
|
||||
and set the I/O priority within valid range of it. "," delimiter
|
||||
is necessary in between I/O class and priority number.
|
||||
|
||||
What: /sys/fs/f2fs/<disk>/ovp_segments
|
||||
Date: March 2021
|
||||
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
|
||||
Description: Shows the number of overprovision segments.
|
||||
|
||||
What: /sys/fs/f2fs/<disk>/compr_written_block
|
||||
Date: March 2021
|
||||
Contact: "Daeho Jeong" <daehojeong@google.com>
|
||||
|
@ -45,9 +45,14 @@ fffe8000 fffeffff DTCM mapping area for platforms with
|
||||
fffe0000 fffe7fff ITCM mapping area for platforms with
|
||||
ITCM mounted inside the CPU.
|
||||
|
||||
ffc00000 ffefffff Fixmap mapping region. Addresses provided
|
||||
ffc80000 ffefffff Fixmap mapping region. Addresses provided
|
||||
by fix_to_virt() will be located here.
|
||||
|
||||
ffc00000 ffc7ffff Guard region
|
||||
|
||||
ff800000 ffbfffff Permanent, fixed read-only mapping of the
|
||||
firmware provided DT blob
|
||||
|
||||
fee00000 feffffff Mapping of PCI I/O space. This is a static
|
||||
mapping within the vmalloc space.
|
||||
|
||||
|
@ -28,8 +28,8 @@ Symmetric Key Cipher Request Handle
|
||||
Single Block Cipher API
|
||||
-----------------------
|
||||
|
||||
.. kernel-doc:: include/linux/crypto.h
|
||||
.. kernel-doc:: include/crypto/internal/cipher.h
|
||||
:doc: Single Block Cipher API
|
||||
|
||||
.. kernel-doc:: include/linux/crypto.h
|
||||
.. kernel-doc:: include/crypto/internal/cipher.h
|
||||
:functions: crypto_alloc_cipher crypto_free_cipher crypto_has_cipher crypto_cipher_blocksize crypto_cipher_setkey crypto_cipher_encrypt_one crypto_cipher_decrypt_one
|
||||
|
@ -178,6 +178,7 @@ mktables
|
||||
mktree
|
||||
mkutf8data
|
||||
modpost
|
||||
modules-only.symvers
|
||||
modules.builtin
|
||||
modules.builtin.modinfo
|
||||
modules.nsdeps
|
||||
|
@ -16,35 +16,8 @@ components running across different processing clusters on a chip or
|
||||
device to communicate with a power management controller (PMC) on a
|
||||
device to issue or respond to power management requests.
|
||||
|
||||
EEMI ops is a structure containing all eemi APIs supported by Zynq MPSoC.
|
||||
The zynqmp-firmware driver maintain all EEMI APIs in zynqmp_eemi_ops
|
||||
structure. Any driver who want to communicate with PMC using EEMI APIs
|
||||
can call zynqmp_pm_get_eemi_ops().
|
||||
|
||||
Example of EEMI ops::
|
||||
|
||||
/* zynqmp-firmware driver maintain all EEMI APIs */
|
||||
struct zynqmp_eemi_ops {
|
||||
int (*get_api_version)(u32 *version);
|
||||
int (*query_data)(struct zynqmp_pm_query_data qdata, u32 *out);
|
||||
};
|
||||
|
||||
static const struct zynqmp_eemi_ops eemi_ops = {
|
||||
.get_api_version = zynqmp_pm_get_api_version,
|
||||
.query_data = zynqmp_pm_query_data,
|
||||
};
|
||||
|
||||
Example of EEMI ops usage::
|
||||
|
||||
static const struct zynqmp_eemi_ops *eemi_ops;
|
||||
u32 ret_payload[PAYLOAD_ARG_CNT];
|
||||
int ret;
|
||||
|
||||
eemi_ops = zynqmp_pm_get_eemi_ops();
|
||||
if (IS_ERR(eemi_ops))
|
||||
return PTR_ERR(eemi_ops);
|
||||
|
||||
ret = eemi_ops->query_data(qdata, ret_payload);
|
||||
Any driver who wants to communicate with PMC using EEMI APIs use the
|
||||
functions provided for each function.
|
||||
|
||||
IOCTL
|
||||
------
|
||||
|
@ -110,6 +110,12 @@ background_gc=%s Turn on/off cleaning operations, namely garbage
|
||||
on synchronous garbage collection running in background.
|
||||
Default value for this option is on. So garbage
|
||||
collection is on by default.
|
||||
gc_merge When background_gc is on, this option can be enabled to
|
||||
let background GC thread to handle foreground GC requests,
|
||||
it can eliminate the sluggish issue caused by slow foreground
|
||||
GC operation when GC is triggered from a process with limited
|
||||
I/O and CPU resources.
|
||||
nogc_merge Disable GC merge feature.
|
||||
disable_roll_forward Disable the roll-forward recovery routine
|
||||
norecovery Disable the roll-forward recovery routine, mounted read-
|
||||
only (i.e., -o ro,disable_roll_forward)
|
||||
@ -813,6 +819,14 @@ Compression implementation
|
||||
* chattr +c file
|
||||
* chattr +c dir; touch dir/file
|
||||
* mount w/ -o compress_extension=ext; touch file.ext
|
||||
* mount w/ -o compress_extension=*; touch any_file
|
||||
|
||||
- At this point, compression feature doesn't expose compressed space to user
|
||||
directly in order to guarantee potential data updates later to the space.
|
||||
Instead, the main goal is to reduce data writes to flash disk as much as
|
||||
possible, resulting in extending disk life time as well as relaxing IO
|
||||
congestion. Alternatively, we've added ioctl interface to reclaim compressed
|
||||
space and show it to user after putting the immutable bit.
|
||||
|
||||
Compress metadata layout::
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
use strict;
|
||||
use Text::Tabs;
|
||||
use Getopt::Long;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
# The TCM v4 multi-protocol fabric module generation script for drivers/target/$NEW_MOD
|
||||
#
|
||||
# Copyright (c) 2010 Rising Tide Systems
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
# add symbolic names to read_msr / write_msr in trace
|
||||
# decode_msr msr-index.h < trace
|
||||
import sys
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
# This is a POC (proof of concept or piece of crap, take your pick) for reading the
|
||||
# text representation of trace output related to page allocation. It makes an attempt
|
||||
# to extract some high-level information on what is going on. The accuracy of the parser
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
# This is a POC for reading the text representation of trace output related to
|
||||
# page reclaim. It makes an attempt to extract some high-level information on
|
||||
# what is going on. The accuracy of the parser may vary
|
||||
|
@ -1567,8 +1567,8 @@ The following tables list existing packed RGB formats.
|
||||
- MEDIA_BUS_FMT_RGB101010_1X30
|
||||
- 0x1018
|
||||
-
|
||||
- 0
|
||||
- 0
|
||||
-
|
||||
-
|
||||
- r\ :sub:`9`
|
||||
- r\ :sub:`8`
|
||||
- r\ :sub:`7`
|
||||
|
@ -6694,6 +6694,7 @@ F: Documentation/filesystems/f2fs.rst
|
||||
F: fs/f2fs/
|
||||
F: include/linux/f2fs_fs.h
|
||||
F: include/trace/events/f2fs.h
|
||||
F: include/uapi/linux/f2fs.h
|
||||
|
||||
F71805F HARDWARE MONITORING DRIVER
|
||||
M: Jean Delvare <jdelvare@suse.com>
|
||||
|
12
Makefile
12
Makefile
@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
VERSION = 5
|
||||
PATCHLEVEL = 10
|
||||
SUBLEVEL = 34
|
||||
SUBLEVEL = 39
|
||||
EXTRAVERSION =
|
||||
NAME = Dare mighty things
|
||||
|
||||
@ -794,16 +794,16 @@ KBUILD_CFLAGS += -Wno-gnu
|
||||
KBUILD_CFLAGS += -mno-global-merge
|
||||
else
|
||||
|
||||
# These warnings generated too much noise in a regular build.
|
||||
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
|
||||
KBUILD_CFLAGS += -Wno-unused-but-set-variable
|
||||
|
||||
# Warn about unmarked fall-throughs in switch statement.
|
||||
# Disabled for clang while comment to attribute conversion happens and
|
||||
# https://github.com/ClangBuiltLinux/linux/issues/636 is discussed.
|
||||
KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough,)
|
||||
endif
|
||||
|
||||
# These warnings generated too much noise in a regular build.
|
||||
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
|
||||
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
|
||||
ifdef CONFIG_FRAME_POINTER
|
||||
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
@ -1589,7 +1589,7 @@ endif # CONFIG_MODULES
|
||||
# make distclean Remove editor backup files, patch leftover files and the like
|
||||
|
||||
# Directories & files removed with 'make clean'
|
||||
CLEAN_FILES += include/ksym vmlinux.symvers \
|
||||
CLEAN_FILES += include/ksym vmlinux.symvers modules-only.symvers \
|
||||
modules.builtin modules.builtin.modinfo modules.nsdeps \
|
||||
compile_commands.json
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1373,7 +1373,7 @@
|
||||
__traceiter_android_rvh_select_task_rq_rt
|
||||
__traceiter_android_vh_cpu_idle_enter
|
||||
__traceiter_android_vh_cpu_idle_exit
|
||||
__traceiter_android_vh_gic_v3_set_affinity
|
||||
__traceiter_android_rvh_gic_v3_set_affinity
|
||||
__traceiter_android_vh_ipi_stop
|
||||
__traceiter_android_vh_scheduler_tick
|
||||
__traceiter_cpu_idle
|
||||
@ -1412,7 +1412,7 @@
|
||||
__tracepoint_android_rvh_select_task_rq_rt
|
||||
__tracepoint_android_vh_cpu_idle_enter
|
||||
__tracepoint_android_vh_cpu_idle_exit
|
||||
__tracepoint_android_vh_gic_v3_set_affinity
|
||||
__tracepoint_android_rvh_gic_v3_set_affinity
|
||||
__tracepoint_android_vh_ipi_stop
|
||||
__tracepoint_android_vh_scheduler_tick
|
||||
__tracepoint_cpu_idle
|
||||
|
@ -50,8 +50,11 @@
|
||||
bio_endio
|
||||
bio_init
|
||||
bio_put
|
||||
__bitmap_andnot
|
||||
__bitmap_clear
|
||||
__bitmap_equal
|
||||
bitmap_from_arr32
|
||||
__bitmap_or
|
||||
bitmap_parse
|
||||
bitmap_parselist
|
||||
bitmap_print_to_pagebuf
|
||||
@ -90,6 +93,7 @@
|
||||
bpf_trace_run5
|
||||
bpf_trace_run6
|
||||
bpf_trace_run7
|
||||
bpf_trace_run8
|
||||
bpf_trace_run9
|
||||
build_skb
|
||||
bus_find_device
|
||||
@ -159,6 +163,8 @@
|
||||
clk_hw_get_name
|
||||
clk_hw_get_parent
|
||||
__clk_is_enabled
|
||||
clk_notifier_register
|
||||
clk_notifier_unregister
|
||||
clk_prepare
|
||||
clk_put
|
||||
clk_register
|
||||
@ -300,16 +306,22 @@
|
||||
_dev_err
|
||||
devfreq_add_device
|
||||
devfreq_add_governor
|
||||
devfreq_monitor_resume
|
||||
devfreq_monitor_start
|
||||
devfreq_monitor_stop
|
||||
devfreq_monitor_suspend
|
||||
devfreq_recommended_opp
|
||||
devfreq_register_opp_notifier
|
||||
devfreq_remove_device
|
||||
devfreq_unregister_opp_notifier
|
||||
devfreq_update_interval
|
||||
dev_fwnode
|
||||
dev_get_by_name
|
||||
device_add_disk
|
||||
device_add_groups
|
||||
device_create
|
||||
device_create_file
|
||||
device_create_with_groups
|
||||
device_destroy
|
||||
device_find_child
|
||||
device_for_each_child
|
||||
@ -386,6 +398,7 @@
|
||||
devm_platform_ioremap_resource_byname
|
||||
devm_power_supply_register
|
||||
devm_pwm_get
|
||||
devm_regmap_add_irq_chip
|
||||
__devm_regmap_init
|
||||
__devm_regmap_init_i2c
|
||||
__devm_regmap_init_spi
|
||||
@ -498,6 +511,7 @@
|
||||
downgrade_write
|
||||
down_interruptible
|
||||
down_read
|
||||
down_read_trylock
|
||||
down_timeout
|
||||
down_trylock
|
||||
down_write
|
||||
@ -716,6 +730,7 @@
|
||||
file_path
|
||||
filp_close
|
||||
filp_open_block
|
||||
find_extend_vma
|
||||
find_get_pid
|
||||
find_next_bit
|
||||
find_next_zero_bit
|
||||
@ -817,6 +832,7 @@
|
||||
handle_simple_irq
|
||||
handle_sysrq
|
||||
have_governor_per_policy
|
||||
hex2bin
|
||||
hex_dump_to_buffer
|
||||
hex_to_bin
|
||||
hid_add_device
|
||||
@ -966,7 +982,6 @@
|
||||
kasprintf
|
||||
kernel_cpustat
|
||||
kernel_kobj
|
||||
kernel_read
|
||||
kernel_restart
|
||||
kern_mount
|
||||
kern_unmount
|
||||
@ -998,6 +1013,7 @@
|
||||
kobject_init_and_add
|
||||
kobject_put
|
||||
kobject_uevent
|
||||
kobject_uevent_env
|
||||
kobj_sysfs_ops
|
||||
krealloc
|
||||
kstat
|
||||
@ -1277,6 +1293,7 @@
|
||||
perf_event_create_kernel_counter
|
||||
perf_event_enable
|
||||
perf_event_pause
|
||||
perf_event_read_local
|
||||
perf_event_read_value
|
||||
perf_event_release_kernel
|
||||
perf_event_update_userpage
|
||||
@ -1448,6 +1465,7 @@
|
||||
regmap_bulk_read
|
||||
regmap_bulk_write
|
||||
regmap_get_device
|
||||
regmap_irq_get_virq
|
||||
regmap_multi_reg_write
|
||||
regmap_multi_reg_write_bypassed
|
||||
regmap_raw_read
|
||||
@ -1572,6 +1590,7 @@
|
||||
__sg_page_iter_next
|
||||
__sg_page_iter_start
|
||||
sg_scsi_ioctl
|
||||
shmem_file_setup
|
||||
simple_attr_open
|
||||
simple_attr_read
|
||||
simple_attr_release
|
||||
@ -1623,7 +1642,9 @@
|
||||
snd_soc_card_get_kcontrol
|
||||
snd_soc_card_jack_new
|
||||
snd_soc_component_disable_pin
|
||||
snd_soc_component_enable_pin
|
||||
snd_soc_component_force_enable_pin
|
||||
snd_soc_component_get_pin_status
|
||||
snd_soc_component_read
|
||||
snd_soc_component_set_jack
|
||||
snd_soc_component_set_pll
|
||||
@ -1634,6 +1655,7 @@
|
||||
snd_soc_dai_set_sysclk
|
||||
snd_soc_dai_set_tdm_slot
|
||||
snd_soc_dapm_add_routes
|
||||
snd_soc_dapm_del_routes
|
||||
snd_soc_dapm_disable_pin
|
||||
snd_soc_dapm_disable_pin_unlocked
|
||||
snd_soc_dapm_force_enable_pin_unlocked
|
||||
@ -1651,10 +1673,13 @@
|
||||
snd_soc_get_enum_double
|
||||
snd_soc_get_volsw
|
||||
snd_soc_get_volsw_range
|
||||
snd_soc_get_volsw_sx
|
||||
snd_soc_info_enum_double
|
||||
snd_soc_info_volsw
|
||||
snd_soc_info_volsw_range
|
||||
snd_soc_info_volsw_sx
|
||||
snd_soc_jack_report
|
||||
snd_soc_lookup_component
|
||||
snd_soc_new_compress
|
||||
snd_soc_of_get_dai_link_codecs
|
||||
snd_soc_of_get_dai_name
|
||||
@ -1665,6 +1690,7 @@
|
||||
snd_soc_put_enum_double
|
||||
snd_soc_put_volsw
|
||||
snd_soc_put_volsw_range
|
||||
snd_soc_put_volsw_sx
|
||||
snd_soc_register_card
|
||||
snd_soc_register_component
|
||||
snd_soc_runtime_set_dai_fmt
|
||||
@ -1755,6 +1781,7 @@
|
||||
sysrq_mask
|
||||
system_freezing_cnt
|
||||
system_highpri_wq
|
||||
system_long_wq
|
||||
system_power_efficient_wq
|
||||
system_state
|
||||
system_unbound_wq
|
||||
@ -1765,6 +1792,7 @@
|
||||
__tasklet_schedule
|
||||
task_may_not_preempt
|
||||
__task_pid_nr_ns
|
||||
task_rq_lock
|
||||
tcpci_get_tcpm_port
|
||||
tcpci_irq
|
||||
tcpci_register_port
|
||||
@ -1800,11 +1828,13 @@
|
||||
trace_event_raw_init
|
||||
trace_event_reg
|
||||
trace_handle_return
|
||||
__traceiter_android_rvh_cgroup_force_kthread_migration
|
||||
__traceiter_android_rvh_cpu_overutilized
|
||||
__traceiter_android_rvh_dequeue_task
|
||||
__traceiter_android_rvh_find_energy_efficient_cpu
|
||||
__traceiter_android_rvh_irqs_disable
|
||||
__traceiter_android_rvh_irqs_enable
|
||||
__traceiter_android_rvh_post_init_entity_util_avg
|
||||
__traceiter_android_rvh_preempt_disable
|
||||
__traceiter_android_rvh_preempt_enable
|
||||
__traceiter_android_rvh_select_task_rq_rt
|
||||
@ -1821,8 +1851,10 @@
|
||||
__traceiter_android_vh_enable_thermal_genl_check
|
||||
__traceiter_android_vh_ep_create_wakeup_source
|
||||
__traceiter_android_vh_ipi_stop
|
||||
__traceiter_android_vh_of_i2c_get_board_info
|
||||
__traceiter_android_vh_pagecache_get_page
|
||||
__traceiter_android_vh_rmqueue
|
||||
__traceiter_android_vh_thermal_pm_notify_suspend
|
||||
__traceiter_android_vh_timerfd_create
|
||||
__traceiter_android_vh_typec_store_partner_src_caps
|
||||
__traceiter_android_vh_typec_tcpci_override_toggling
|
||||
@ -1858,11 +1890,13 @@
|
||||
__traceiter_sched_util_est_se_tp
|
||||
__traceiter_suspend_resume
|
||||
trace_output_call
|
||||
__tracepoint_android_rvh_cgroup_force_kthread_migration
|
||||
__tracepoint_android_rvh_cpu_overutilized
|
||||
__tracepoint_android_rvh_dequeue_task
|
||||
__tracepoint_android_rvh_find_energy_efficient_cpu
|
||||
__tracepoint_android_rvh_irqs_disable
|
||||
__tracepoint_android_rvh_irqs_enable
|
||||
__tracepoint_android_rvh_post_init_entity_util_avg
|
||||
__tracepoint_android_rvh_preempt_disable
|
||||
__tracepoint_android_rvh_preempt_enable
|
||||
__tracepoint_android_rvh_select_task_rq_rt
|
||||
@ -1879,8 +1913,10 @@
|
||||
__tracepoint_android_vh_enable_thermal_genl_check
|
||||
__tracepoint_android_vh_ep_create_wakeup_source
|
||||
__tracepoint_android_vh_ipi_stop
|
||||
__tracepoint_android_vh_of_i2c_get_board_info
|
||||
__tracepoint_android_vh_pagecache_get_page
|
||||
__tracepoint_android_vh_rmqueue
|
||||
__tracepoint_android_vh_thermal_pm_notify_suspend
|
||||
__tracepoint_android_vh_timerfd_create
|
||||
__tracepoint_android_vh_typec_store_partner_src_caps
|
||||
__tracepoint_android_vh_typec_tcpci_override_toggling
|
||||
@ -1918,6 +1954,7 @@
|
||||
__tracepoint_sched_util_est_se_tp
|
||||
__tracepoint_suspend_resume
|
||||
trace_print_array_seq
|
||||
trace_print_bitmask_seq
|
||||
trace_print_flags_seq
|
||||
trace_print_symbols_seq
|
||||
trace_raw_output_prep
|
||||
@ -2008,6 +2045,7 @@
|
||||
usb_role_switch_get_drvdata
|
||||
usb_role_switch_register
|
||||
usb_role_switch_unregister
|
||||
usb_speed_string
|
||||
usb_string_id
|
||||
usb_unregister_notify
|
||||
__usecs_to_jiffies
|
||||
|
@ -1033,7 +1033,6 @@
|
||||
config_group_init
|
||||
config_group_init_type_name
|
||||
_ctype
|
||||
filp_open
|
||||
fs_bio_set
|
||||
hex_to_bin
|
||||
iov_iter_bvec
|
||||
|
@ -11,6 +11,8 @@
|
||||
add_uevent_var
|
||||
add_wait_queue
|
||||
adjust_managed_page_count
|
||||
aes_encrypt
|
||||
aes_expandkey
|
||||
alarm_cancel
|
||||
alarm_init
|
||||
alarm_start_relative
|
||||
@ -42,6 +44,7 @@
|
||||
arm64_const_caps_ready
|
||||
arm64_use_ng_mappings
|
||||
__arm_smccc_smc
|
||||
arp_tbl
|
||||
atomic_notifier_call_chain
|
||||
atomic_notifier_chain_register
|
||||
atomic_notifier_chain_unregister
|
||||
@ -56,6 +59,7 @@
|
||||
bdput
|
||||
bio_endio
|
||||
bitmap_allocate_region
|
||||
__bitmap_andnot
|
||||
__bitmap_clear
|
||||
bitmap_find_next_zero_area_off
|
||||
__bitmap_or
|
||||
@ -272,6 +276,7 @@
|
||||
cpu_latency_qos_remove_request
|
||||
cpu_latency_qos_request_active
|
||||
cpu_latency_qos_update_request
|
||||
cpumask_any_but
|
||||
cpumask_next
|
||||
cpumask_next_and
|
||||
cpu_number
|
||||
@ -492,6 +497,8 @@
|
||||
devm_reset_control_array_get
|
||||
__devm_reset_control_get
|
||||
devm_reset_controller_register
|
||||
devm_rproc_add
|
||||
devm_rproc_alloc
|
||||
devm_rtc_allocate_device
|
||||
devm_snd_soc_register_card
|
||||
devm_thermal_of_cooling_device_register
|
||||
@ -582,6 +589,7 @@
|
||||
dma_fence_remove_callback
|
||||
dma_fence_signal
|
||||
dma_fence_signal_locked
|
||||
dma_fence_signal_timestamp_locked
|
||||
dma_fence_wait_timeout
|
||||
dma_free_attrs
|
||||
dma_get_sgtable_attrs
|
||||
@ -1040,6 +1048,7 @@
|
||||
i2c_del_adapter
|
||||
i2c_del_driver
|
||||
i2c_get_dma_safe_msg_buf
|
||||
i2c_new_client_device
|
||||
i2c_put_dma_safe_msg_buf
|
||||
i2c_register_driver
|
||||
i2c_transfer
|
||||
@ -1164,6 +1173,7 @@
|
||||
ipv6_ext_hdr
|
||||
ipv6_find_hdr
|
||||
ipv6_skip_exthdr
|
||||
ipv6_stub
|
||||
irq_chip_ack_parent
|
||||
irq_chip_disable_parent
|
||||
irq_chip_enable_parent
|
||||
@ -1192,6 +1202,7 @@
|
||||
irq_domain_update_bus_token
|
||||
irq_domain_xlate_onecell
|
||||
irq_domain_xlate_twocell
|
||||
irq_do_set_affinity
|
||||
irq_find_mapping
|
||||
irq_find_matching_fwspec
|
||||
irq_get_irqchip_state
|
||||
@ -1234,6 +1245,7 @@
|
||||
kern_mount
|
||||
kern_unmount
|
||||
__kfifo_alloc
|
||||
__kfifo_free
|
||||
__kfifo_in
|
||||
__kfifo_out
|
||||
kfree
|
||||
@ -1423,6 +1435,7 @@
|
||||
napi_gro_receive
|
||||
__napi_schedule
|
||||
napi_schedule_prep
|
||||
neigh_lookup
|
||||
__netdev_alloc_skb
|
||||
netdev_rx_handler_register
|
||||
netdev_rx_handler_unregister
|
||||
@ -1531,6 +1544,7 @@
|
||||
of_graph_is_present
|
||||
of_graph_parse_endpoint
|
||||
of_hwspin_lock_get_id
|
||||
of_i2c_get_board_info
|
||||
of_icc_get
|
||||
of_icc_xlate_onecell
|
||||
of_iomap
|
||||
@ -2392,6 +2406,7 @@
|
||||
__traceiter_android_rvh_find_busiest_queue
|
||||
__traceiter_android_rvh_find_lowest_rq
|
||||
__traceiter_android_rvh_flush_task
|
||||
__traceiter_android_rvh_gic_v3_set_affinity
|
||||
__traceiter_android_rvh_irqs_disable
|
||||
__traceiter_android_rvh_irqs_enable
|
||||
__traceiter_android_rvh_migrate_queued_task
|
||||
@ -2477,6 +2492,7 @@
|
||||
__tracepoint_android_rvh_find_busiest_queue
|
||||
__tracepoint_android_rvh_find_lowest_rq
|
||||
__tracepoint_android_rvh_flush_task
|
||||
__tracepoint_android_rvh_gic_v3_set_affinity
|
||||
__tracepoint_android_rvh_irqs_disable
|
||||
__tracepoint_android_rvh_irqs_enable
|
||||
__tracepoint_android_rvh_migrate_queued_task
|
||||
@ -2517,6 +2533,8 @@
|
||||
__tracepoint_android_vh_binder_set_priority
|
||||
__tracepoint_android_vh_binder_transaction_init
|
||||
__tracepoint_android_vh_binder_wakeup_ilocked
|
||||
__tracepoint_android_vh_check_uninterruptible_tasks
|
||||
__tracepoint_android_vh_check_uninterruptible_tasks_dn
|
||||
__tracepoint_android_vh_cpu_idle_enter
|
||||
__tracepoint_android_vh_cpu_idle_exit
|
||||
__tracepoint_android_vh_dump_throttled_rt_tasks
|
||||
@ -2806,6 +2824,7 @@
|
||||
vmalloc_to_page
|
||||
vmalloc_to_pfn
|
||||
vmap
|
||||
vmemdup_user
|
||||
vmf_insert_mixed
|
||||
vmf_insert_pfn
|
||||
vm_get_page_prot
|
||||
|
@ -2564,7 +2564,7 @@
|
||||
blk_status_to_errno
|
||||
blkdev_get
|
||||
filp_close
|
||||
filp_open
|
||||
filp_open_block
|
||||
file_path
|
||||
I_BDEV
|
||||
set_blocksize
|
||||
|
@ -7,6 +7,18 @@
|
||||
|
||||
#include <uapi/asm/page.h>
|
||||
|
||||
#ifdef CONFIG_ARC_HAS_PAE40
|
||||
|
||||
#define MAX_POSSIBLE_PHYSMEM_BITS 40
|
||||
#define PAGE_MASK_PHYS (0xff00000000ull | PAGE_MASK)
|
||||
|
||||
#else /* CONFIG_ARC_HAS_PAE40 */
|
||||
|
||||
#define MAX_POSSIBLE_PHYSMEM_BITS 32
|
||||
#define PAGE_MASK_PHYS PAGE_MASK
|
||||
|
||||
#endif /* CONFIG_ARC_HAS_PAE40 */
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#define clear_page(paddr) memset((paddr), 0, PAGE_SIZE)
|
||||
|
@ -107,8 +107,8 @@
|
||||
#define ___DEF (_PAGE_PRESENT | _PAGE_CACHEABLE)
|
||||
|
||||
/* Set of bits not changed in pte_modify */
|
||||
#define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_SPECIAL)
|
||||
|
||||
#define _PAGE_CHG_MASK (PAGE_MASK_PHYS | _PAGE_ACCESSED | _PAGE_DIRTY | \
|
||||
_PAGE_SPECIAL)
|
||||
/* More Abbrevaited helpers */
|
||||
#define PAGE_U_NONE __pgprot(___DEF)
|
||||
#define PAGE_U_R __pgprot(___DEF | _PAGE_READ)
|
||||
@ -132,13 +132,7 @@
|
||||
#define PTE_BITS_IN_PD0 (_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_HW_SZ)
|
||||
#define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ)
|
||||
|
||||
#ifdef CONFIG_ARC_HAS_PAE40
|
||||
#define PTE_BITS_NON_RWX_IN_PD1 (0xff00000000 | PAGE_MASK | _PAGE_CACHEABLE)
|
||||
#define MAX_POSSIBLE_PHYSMEM_BITS 40
|
||||
#else
|
||||
#define PTE_BITS_NON_RWX_IN_PD1 (PAGE_MASK | _PAGE_CACHEABLE)
|
||||
#define MAX_POSSIBLE_PHYSMEM_BITS 32
|
||||
#endif
|
||||
#define PTE_BITS_NON_RWX_IN_PD1 (PAGE_MASK_PHYS | _PAGE_CACHEABLE)
|
||||
|
||||
/**************************************************************************
|
||||
* Mapping of vm_flags (Generic VM) to PTE flags (arch specific)
|
||||
|
@ -33,5 +33,4 @@
|
||||
|
||||
#define PAGE_MASK (~(PAGE_SIZE-1))
|
||||
|
||||
|
||||
#endif /* _UAPI__ASM_ARC_PAGE_H */
|
||||
|
@ -177,7 +177,7 @@ tracesys:
|
||||
|
||||
; Do the Sys Call as we normally would.
|
||||
; Validate the Sys Call number
|
||||
cmp r8, NR_syscalls
|
||||
cmp r8, NR_syscalls - 1
|
||||
mov.hi r0, -ENOSYS
|
||||
bhi tracesys_exit
|
||||
|
||||
@ -255,7 +255,7 @@ ENTRY(EV_Trap)
|
||||
;============ Normal syscall case
|
||||
|
||||
; syscall num shd not exceed the total system calls avail
|
||||
cmp r8, NR_syscalls
|
||||
cmp r8, NR_syscalls - 1
|
||||
mov.hi r0, -ENOSYS
|
||||
bhi .Lret_from_system_call
|
||||
|
||||
|
@ -158,7 +158,16 @@ void __init setup_arch_memory(void)
|
||||
min_high_pfn = PFN_DOWN(high_mem_start);
|
||||
max_high_pfn = PFN_DOWN(high_mem_start + high_mem_sz);
|
||||
|
||||
max_zone_pfn[ZONE_HIGHMEM] = min_low_pfn;
|
||||
/*
|
||||
* max_high_pfn should be ok here for both HIGHMEM and HIGHMEM+PAE.
|
||||
* For HIGHMEM without PAE max_high_pfn should be less than
|
||||
* min_low_pfn to guarantee that these two regions don't overlap.
|
||||
* For PAE case highmem is greater than lowmem, so it is natural
|
||||
* to use max_high_pfn.
|
||||
*
|
||||
* In both cases, holes should be handled by pfn_valid().
|
||||
*/
|
||||
max_zone_pfn[ZONE_HIGHMEM] = max_high_pfn;
|
||||
|
||||
high_memory = (void *)(min_high_pfn << PAGE_SHIFT);
|
||||
kmap_init();
|
||||
|
@ -53,9 +53,10 @@ EXPORT_SYMBOL(ioremap);
|
||||
void __iomem *ioremap_prot(phys_addr_t paddr, unsigned long size,
|
||||
unsigned long flags)
|
||||
{
|
||||
unsigned int off;
|
||||
unsigned long vaddr;
|
||||
struct vm_struct *area;
|
||||
phys_addr_t off, end;
|
||||
phys_addr_t end;
|
||||
pgprot_t prot = __pgprot(flags);
|
||||
|
||||
/* Don't allow wraparound, zero size */
|
||||
@ -72,7 +73,7 @@ void __iomem *ioremap_prot(phys_addr_t paddr, unsigned long size,
|
||||
|
||||
/* Mappings have to be page-aligned */
|
||||
off = paddr & ~PAGE_MASK;
|
||||
paddr &= PAGE_MASK;
|
||||
paddr &= PAGE_MASK_PHYS;
|
||||
size = PAGE_ALIGN(end + 1) - paddr;
|
||||
|
||||
/*
|
||||
|
@ -576,7 +576,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr_unaligned,
|
||||
pte_t *ptep)
|
||||
{
|
||||
unsigned long vaddr = vaddr_unaligned & PAGE_MASK;
|
||||
phys_addr_t paddr = pte_val(*ptep) & PAGE_MASK;
|
||||
phys_addr_t paddr = pte_val(*ptep) & PAGE_MASK_PHYS;
|
||||
struct page *page = pfn_to_page(pte_pfn(*ptep));
|
||||
|
||||
create_tlb(vma, vaddr, ptep);
|
||||
|
@ -114,8 +114,8 @@ asflags-y := -DZIMAGE
|
||||
|
||||
# Supply kernel BSS size to the decompressor via a linker symbol.
|
||||
KBSS_SZ = $(shell echo $$(($$($(NM) $(obj)/../../../../vmlinux | \
|
||||
sed -n -e 's/^\([^ ]*\) [AB] __bss_start$$/-0x\1/p' \
|
||||
-e 's/^\([^ ]*\) [AB] __bss_stop$$/+0x\1/p') )) )
|
||||
sed -n -e 's/^\([^ ]*\) [ABD] __bss_start$$/-0x\1/p' \
|
||||
-e 's/^\([^ ]*\) [ABD] __bss_stop$$/+0x\1/p') )) )
|
||||
LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ)
|
||||
# Supply ZRELADDR to the decompressor via a linker symbol.
|
||||
ifneq ($(CONFIG_AUTO_ZRELADDR),y)
|
||||
|
@ -707,9 +707,9 @@ &i2c7 {
|
||||
multi-master;
|
||||
status = "okay";
|
||||
|
||||
si7021-a20@20 {
|
||||
si7021-a20@40 {
|
||||
compatible = "silabs,si7020";
|
||||
reg = <0x20>;
|
||||
reg = <0x40>;
|
||||
};
|
||||
|
||||
tmp275@48 {
|
||||
|
@ -8,6 +8,7 @@
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "sam9x60.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Microchip SAM9X60-EK";
|
||||
@ -84,7 +85,7 @@ gpio_keys {
|
||||
sw1 {
|
||||
label = "SW1";
|
||||
gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
|
||||
linux,code=<0x104>;
|
||||
linux,code=<KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "at91-sama5d27_som1.dtsi"
|
||||
#include <dt-bindings/mfd/atmel-flexcom.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Atmel SAMA5D27 SOM1 EK";
|
||||
@ -467,7 +468,7 @@ gpio_keys {
|
||||
pb4 {
|
||||
label = "USER";
|
||||
gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -8,6 +8,7 @@
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "at91-sama5d27_wlsom1.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Microchip SAMA5D27 WLSOM1 EK";
|
||||
@ -35,7 +36,7 @@ gpio_keys {
|
||||
sw4 {
|
||||
label = "USER BUTTON";
|
||||
gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "sama5d2.dtsi"
|
||||
#include "sama5d2-pinfunc.h"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/mfd/atmel-flexcom.h>
|
||||
|
||||
/ {
|
||||
@ -51,7 +52,7 @@ gpio_keys {
|
||||
sw4 {
|
||||
label = "USER_PB1";
|
||||
gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "sama5d2-pinfunc.h"
|
||||
#include <dt-bindings/mfd/atmel-flexcom.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/pinctrl/at91.h>
|
||||
|
||||
/ {
|
||||
@ -403,7 +404,7 @@ gpio_keys {
|
||||
bp1 {
|
||||
label = "PB_USER";
|
||||
gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "sama5d2-pinfunc.h"
|
||||
#include <dt-bindings/mfd/atmel-flexcom.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/regulator/active-semi,8945a-regulator.h>
|
||||
|
||||
/ {
|
||||
@ -713,7 +714,7 @@ gpio_keys {
|
||||
bp1 {
|
||||
label = "PB_USER";
|
||||
gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "sama5d36.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "SAMA5D3 Xplained";
|
||||
@ -354,7 +355,7 @@ gpio_keys {
|
||||
bp3 {
|
||||
label = "PB_USER";
|
||||
gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "at91sam9260.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Atmel at91sam9260ek";
|
||||
@ -156,7 +157,7 @@ btn3 {
|
||||
btn4 {
|
||||
label = "Button 4";
|
||||
gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -5,6 +5,7 @@
|
||||
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
*/
|
||||
#include "at91sam9g20.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
|
||||
@ -234,7 +235,7 @@ btn3 {
|
||||
btn4 {
|
||||
label = "Button 4";
|
||||
gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <0x104>;
|
||||
linux,code = <KEY_PROG1>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
spi {
|
||||
|
@ -22,8 +22,8 @@ chosen {
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
spi {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
spi {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -32,8 +32,8 @@ chosen {
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -21,8 +21,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
nand: nand@18028000 {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x08000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -18,8 +18,8 @@ chosen {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -15,8 +15,8 @@ / {
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000
|
||||
0x88000000 0x18000000>;
|
||||
reg = <0x00000000 0x08000000>,
|
||||
<0x88000000 0x18000000>;
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
|
@ -136,7 +136,7 @@ battery@36 {
|
||||
compatible = "maxim,max17042";
|
||||
|
||||
interrupt-parent = <&gpx2>;
|
||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
pinctrl-0 = <&max17042_fuel_irq>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -174,7 +174,7 @@ i2c_max77693: i2c-gpio-1 {
|
||||
max77693@66 {
|
||||
compatible = "maxim,max77693";
|
||||
interrupt-parent = <&gpx1>;
|
||||
interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&max77693_irq>;
|
||||
reg = <0x66>;
|
||||
@ -223,7 +223,7 @@ i2c_max77693_fuel: i2c-gpio-3 {
|
||||
max77693-fuel-gauge@36 {
|
||||
compatible = "maxim,max17047";
|
||||
interrupt-parent = <&gpx2>;
|
||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&max77693_fuel_irq>;
|
||||
reg = <0x36>;
|
||||
@ -668,7 +668,7 @@ &i2c_7 {
|
||||
max77686: max77686_pmic@9 {
|
||||
compatible = "maxim,max77686";
|
||||
interrupt-parent = <&gpx0>;
|
||||
interrupts = <7 IRQ_TYPE_NONE>;
|
||||
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-0 = <&max77686_irq>;
|
||||
pinctrl-names = "default";
|
||||
reg = <0x09>;
|
||||
|
@ -279,7 +279,7 @@ usb3503: usb3503@8 {
|
||||
max77686: pmic@9 {
|
||||
compatible = "maxim,max77686";
|
||||
interrupt-parent = <&gpx3>;
|
||||
interrupts = <2 IRQ_TYPE_NONE>;
|
||||
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&max77686_irq>;
|
||||
reg = <0x09>;
|
||||
|
@ -134,7 +134,7 @@ max77686: pmic@9 {
|
||||
compatible = "maxim,max77686";
|
||||
reg = <0x09>;
|
||||
interrupt-parent = <&gpx3>;
|
||||
interrupts = <2 IRQ_TYPE_NONE>;
|
||||
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&max77686_irq>;
|
||||
#clock-cells = <1>;
|
||||
|
@ -292,7 +292,7 @@ &i2c_0 {
|
||||
max77686: max77686@9 {
|
||||
compatible = "maxim,max77686";
|
||||
interrupt-parent = <&gpx3>;
|
||||
interrupts = <2 IRQ_TYPE_NONE>;
|
||||
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&max77686_irq>;
|
||||
wakeup-source;
|
||||
|
@ -53,6 +53,9 @@ aliases {
|
||||
i2c11 = &i2cexio1;
|
||||
i2c12 = &i2chdmi;
|
||||
i2c13 = &i2cpwr;
|
||||
mmc0 = &mmcif1;
|
||||
mmc1 = &sdhi0;
|
||||
mmc2 = &sdhi2;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -53,6 +53,9 @@ aliases {
|
||||
i2c12 = &i2cexio1;
|
||||
i2c13 = &i2chdmi;
|
||||
i2c14 = &i2cexio4;
|
||||
mmc0 = &sdhi0;
|
||||
mmc1 = &sdhi1;
|
||||
mmc2 = &sdhi2;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -28,6 +28,8 @@ aliases {
|
||||
serial0 = &scif0;
|
||||
i2c9 = &gpioi2c2;
|
||||
i2c10 = &i2chdmi;
|
||||
mmc0 = &sdhi0;
|
||||
mmc1 = &sdhi2;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -49,6 +49,9 @@ aliases {
|
||||
i2c10 = &gpioi2c4;
|
||||
i2c11 = &i2chdmi;
|
||||
i2c12 = &i2cexio4;
|
||||
mmc0 = &sdhi0;
|
||||
mmc1 = &sdhi1;
|
||||
mmc2 = &sdhi2;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -19,6 +19,9 @@ aliases {
|
||||
i2c10 = &gpioi2c4;
|
||||
i2c11 = &i2chdmi;
|
||||
i2c12 = &i2cexio4;
|
||||
mmc0 = &mmcif0;
|
||||
mmc1 = &sdhi0;
|
||||
mmc2 = &sdhi1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -31,6 +31,8 @@ aliases {
|
||||
serial0 = &scif2;
|
||||
i2c9 = &gpioi2c1;
|
||||
i2c10 = &i2chdmi;
|
||||
mmc0 = &mmcif0;
|
||||
mmc1 = &sdhi1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -115,7 +115,7 @@ &fg {
|
||||
compatible = "maxim,max77836-battery";
|
||||
|
||||
interrupt-parent = <&gph3>;
|
||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&fg_irq>;
|
||||
|
@ -8,37 +8,43 @@
|
||||
/ {
|
||||
soc {
|
||||
i2c@80128000 {
|
||||
/* Marked:
|
||||
* 129
|
||||
* M35
|
||||
* L3GD20
|
||||
*/
|
||||
l3gd20@6a {
|
||||
/* Gyroscope */
|
||||
compatible = "st,l3gd20";
|
||||
status = "disabled";
|
||||
accelerometer@19 {
|
||||
compatible = "st,lsm303dlhc-accel";
|
||||
st,drdy-int-pin = <1>;
|
||||
drive-open-drain;
|
||||
reg = <0x6a>; // 0x6a or 0x6b
|
||||
reg = <0x19>;
|
||||
vdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
vddio-supply = <&db8500_vsmps2_reg>;
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <18 IRQ_TYPE_EDGE_RISING>,
|
||||
<19 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&accel_tvk_mode>;
|
||||
};
|
||||
magnetometer@1e {
|
||||
compatible = "st,lsm303dlm-magn";
|
||||
st,drdy-int-pin = <1>;
|
||||
reg = <0x1e>;
|
||||
vdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
vddio-supply = <&db8500_vsmps2_reg>;
|
||||
// This interrupt is not properly working with the driver
|
||||
// interrupt-parent = <&gpio1>;
|
||||
// interrupts = <0 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&magn_tvk_mode>;
|
||||
};
|
||||
gyroscope@68 {
|
||||
/* Gyroscope */
|
||||
compatible = "st,l3g4200d-gyro";
|
||||
reg = <0x68>;
|
||||
vdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
vddio-supply = <&db8500_vsmps2_reg>;
|
||||
};
|
||||
/*
|
||||
* Marked:
|
||||
* 2122
|
||||
* C3H
|
||||
* DQEEE
|
||||
* LIS3DH?
|
||||
*/
|
||||
lis3dh@18 {
|
||||
/* Accelerometer */
|
||||
compatible = "st,lis3dh-accel";
|
||||
st,drdy-int-pin = <1>;
|
||||
reg = <0x18>;
|
||||
pressure@5c {
|
||||
/* Barometer/pressure sensor */
|
||||
compatible = "st,lps001wp-press";
|
||||
reg = <0x5c>;
|
||||
vdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
vddio-supply = <&db8500_vsmps2_reg>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&accel_tvk_mode>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -54,5 +60,26 @@ panel {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
accelerometer {
|
||||
accel_tvk_mode: accel_tvk {
|
||||
/* Accelerometer interrupt lines 1 & 2 */
|
||||
tvk_cfg {
|
||||
pins = "GPIO82_C1", "GPIO83_D3";
|
||||
ste,config = <&gpio_in_pd>;
|
||||
};
|
||||
};
|
||||
};
|
||||
magnetometer {
|
||||
magn_tvk_mode: magn_tvk {
|
||||
/* GPIO 32 used for DRDY, pull this down */
|
||||
tvk_cfg {
|
||||
pins = "GPIO32_V2";
|
||||
ste,config = <&gpio_in_pd>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1806,10 +1806,15 @@ pins2 {
|
||||
usart2_idle_pins_c: usart2-idle-2 {
|
||||
pins1 {
|
||||
pinmux = <STM32_PINMUX('D', 5, ANALOG)>, /* USART2_TX */
|
||||
<STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */
|
||||
<STM32_PINMUX('D', 3, ANALOG)>; /* USART2_CTS_NSS */
|
||||
};
|
||||
pins2 {
|
||||
pinmux = <STM32_PINMUX('D', 4, AF7)>; /* USART2_RTS */
|
||||
bias-disable;
|
||||
drive-push-pull;
|
||||
slew-rate = <3>;
|
||||
};
|
||||
pins3 {
|
||||
pinmux = <STM32_PINMUX('D', 6, AF7)>; /* USART2_RX */
|
||||
bias-disable;
|
||||
};
|
||||
@ -1855,10 +1860,15 @@ pins2 {
|
||||
usart3_idle_pins_b: usart3-idle-1 {
|
||||
pins1 {
|
||||
pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */
|
||||
<STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */
|
||||
<STM32_PINMUX('I', 10, ANALOG)>; /* USART3_CTS_NSS */
|
||||
};
|
||||
pins2 {
|
||||
pinmux = <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */
|
||||
bias-disable;
|
||||
drive-push-pull;
|
||||
slew-rate = <0>;
|
||||
};
|
||||
pins3 {
|
||||
pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
|
||||
bias-disable;
|
||||
};
|
||||
@ -1891,10 +1901,15 @@ pins2 {
|
||||
usart3_idle_pins_c: usart3-idle-2 {
|
||||
pins1 {
|
||||
pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */
|
||||
<STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */
|
||||
<STM32_PINMUX('B', 13, ANALOG)>; /* USART3_CTS_NSS */
|
||||
};
|
||||
pins2 {
|
||||
pinmux = <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */
|
||||
bias-disable;
|
||||
drive-push-pull;
|
||||
slew-rate = <0>;
|
||||
};
|
||||
pins3 {
|
||||
pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
|
||||
bias-disable;
|
||||
};
|
||||
|
@ -448,7 +448,7 @@ touchscreen@4c {
|
||||
|
||||
reset-gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
|
||||
|
||||
avdd-supply = <&vdd_3v3_sys>;
|
||||
vdda-supply = <&vdd_3v3_sys>;
|
||||
vdd-supply = <&vdd_3v3_sys>;
|
||||
};
|
||||
|
||||
|
@ -583,7 +583,7 @@ eth: ethernet@65000000 {
|
||||
clocks = <&sys_clk 6>;
|
||||
reset-names = "ether";
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rgmii";
|
||||
phy-mode = "rgmii-id";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <asm/simd.h>
|
||||
#include <crypto/aes.h>
|
||||
#include <crypto/ctr.h>
|
||||
#include <crypto/internal/cipher.h>
|
||||
#include <crypto/internal/simd.h>
|
||||
#include <crypto/internal/skcipher.h>
|
||||
#include <crypto/scatterwalk.h>
|
||||
@ -23,6 +24,8 @@ MODULE_ALIAS_CRYPTO("cbc(aes)-all");
|
||||
MODULE_ALIAS_CRYPTO("ctr(aes)");
|
||||
MODULE_ALIAS_CRYPTO("xts(aes)");
|
||||
|
||||
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
|
||||
|
||||
asmlinkage void aesbs_convert_key(u8 out[], u32 const rk[], int rounds);
|
||||
|
||||
asmlinkage void aesbs_ecb_encrypt(u8 out[], u8 const in[], u8 const rk[],
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <linux/linkage.h>
|
||||
|
||||
.text
|
||||
.fpu neon
|
||||
.arch armv7-a
|
||||
.fpu neon
|
||||
.align 4
|
||||
|
||||
ENTRY(curve25519_neon)
|
||||
|
@ -29,7 +29,7 @@ void __weak poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit)
|
||||
|
||||
static __ro_after_init DEFINE_STATIC_KEY_FALSE(have_neon);
|
||||
|
||||
void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 *key)
|
||||
void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE])
|
||||
{
|
||||
poly1305_init_arm(&dctx->h, key);
|
||||
dctx->s[0] = get_unaligned_le32(key + 16);
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef _ASM_FIXMAP_H
|
||||
#define _ASM_FIXMAP_H
|
||||
|
||||
#define FIXADDR_START 0xffc00000UL
|
||||
#define FIXADDR_START 0xffc80000UL
|
||||
#define FIXADDR_END 0xfff00000UL
|
||||
#define FIXADDR_TOP (FIXADDR_END - PAGE_SIZE)
|
||||
|
||||
|
@ -67,6 +67,10 @@
|
||||
*/
|
||||
#define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff))
|
||||
|
||||
#define FDT_FIXED_BASE UL(0xff800000)
|
||||
#define FDT_FIXED_SIZE (2 * SECTION_SIZE)
|
||||
#define FDT_VIRT_BASE(physbase) ((void *)(FDT_FIXED_BASE | (physbase) % SECTION_SIZE))
|
||||
|
||||
#if !defined(CONFIG_SMP) && !defined(CONFIG_ARM_LPAE)
|
||||
/*
|
||||
* Allow 16MB-aligned ioremap pages
|
||||
@ -107,6 +111,7 @@ extern unsigned long vectors_base;
|
||||
#define MODULES_VADDR PAGE_OFFSET
|
||||
|
||||
#define XIP_VIRT_ADDR(physaddr) (physaddr)
|
||||
#define FDT_VIRT_BASE(physbase) ((void *)(physbase))
|
||||
|
||||
#endif /* !CONFIG_MMU */
|
||||
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
|
||||
extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
|
||||
extern const struct machine_desc *setup_machine_fdt(void *dt_virt);
|
||||
extern void __init arm_dt_init_cpu_maps(void);
|
||||
|
||||
#else /* CONFIG_OF */
|
||||
|
||||
static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys)
|
||||
static inline const struct machine_desc *setup_machine_fdt(void *dt_virt)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <asm/vdso_datapage.h>
|
||||
#include <asm/hardware/cache-l2x0.h>
|
||||
#include <linux/kbuild.h>
|
||||
#include <linux/arm-smccc.h>
|
||||
#include "signal.h"
|
||||
|
||||
/*
|
||||
@ -148,6 +149,8 @@ int main(void)
|
||||
DEFINE(SLEEP_SAVE_SP_PHYS, offsetof(struct sleep_save_sp, save_ptr_stash_phys));
|
||||
DEFINE(SLEEP_SAVE_SP_VIRT, offsetof(struct sleep_save_sp, save_ptr_stash));
|
||||
#endif
|
||||
DEFINE(ARM_SMCCC_QUIRK_ID_OFFS, offsetof(struct arm_smccc_quirk, id));
|
||||
DEFINE(ARM_SMCCC_QUIRK_STATE_OFFS, offsetof(struct arm_smccc_quirk, state));
|
||||
BLANK();
|
||||
DEFINE(DMA_BIDIRECTIONAL, DMA_BIDIRECTIONAL);
|
||||
DEFINE(DMA_TO_DEVICE, DMA_TO_DEVICE);
|
||||
|
@ -2,11 +2,11 @@
|
||||
void convert_to_tag_list(struct tag *tags);
|
||||
|
||||
#ifdef CONFIG_ATAGS
|
||||
const struct machine_desc *setup_machine_tags(phys_addr_t __atags_pointer,
|
||||
const struct machine_desc *setup_machine_tags(void *__atags_vaddr,
|
||||
unsigned int machine_nr);
|
||||
#else
|
||||
static inline const struct machine_desc * __init __noreturn
|
||||
setup_machine_tags(phys_addr_t __atags_pointer, unsigned int machine_nr)
|
||||
setup_machine_tags(void *__atags_vaddr, unsigned int machine_nr)
|
||||
{
|
||||
early_print("no ATAGS support: can't continue\n");
|
||||
while (true);
|
||||
|
@ -174,7 +174,7 @@ static void __init squash_mem_tags(struct tag *tag)
|
||||
}
|
||||
|
||||
const struct machine_desc * __init
|
||||
setup_machine_tags(phys_addr_t __atags_pointer, unsigned int machine_nr)
|
||||
setup_machine_tags(void *atags_vaddr, unsigned int machine_nr)
|
||||
{
|
||||
struct tag *tags = (struct tag *)&default_tags;
|
||||
const struct machine_desc *mdesc = NULL, *p;
|
||||
@ -195,8 +195,8 @@ setup_machine_tags(phys_addr_t __atags_pointer, unsigned int machine_nr)
|
||||
if (!mdesc)
|
||||
return NULL;
|
||||
|
||||
if (__atags_pointer)
|
||||
tags = phys_to_virt(__atags_pointer);
|
||||
if (atags_vaddr)
|
||||
tags = atags_vaddr;
|
||||
else if (mdesc->atag_offset)
|
||||
tags = (void *)(PAGE_OFFSET + mdesc->atag_offset);
|
||||
|
||||
|
@ -203,12 +203,12 @@ static const void * __init arch_get_next_mach(const char *const **match)
|
||||
|
||||
/**
|
||||
* setup_machine_fdt - Machine setup when an dtb was passed to the kernel
|
||||
* @dt_phys: physical address of dt blob
|
||||
* @dt_virt: virtual address of dt blob
|
||||
*
|
||||
* If a dtb was passed to the kernel in r2, then use it to choose the
|
||||
* correct machine_desc and to setup the system.
|
||||
*/
|
||||
const struct machine_desc * __init setup_machine_fdt(unsigned int dt_phys)
|
||||
const struct machine_desc * __init setup_machine_fdt(void *dt_virt)
|
||||
{
|
||||
const struct machine_desc *mdesc, *mdesc_best = NULL;
|
||||
|
||||
@ -221,7 +221,7 @@ const struct machine_desc * __init setup_machine_fdt(unsigned int dt_phys)
|
||||
mdesc_best = &__mach_desc_GENERIC_DT;
|
||||
#endif
|
||||
|
||||
if (!dt_phys || !early_init_dt_verify(phys_to_virt(dt_phys)))
|
||||
if (!dt_virt || !early_init_dt_verify(dt_virt))
|
||||
return NULL;
|
||||
|
||||
mdesc = of_flat_dt_match_machine(mdesc_best, arch_get_next_mach);
|
||||
|
@ -274,11 +274,10 @@ __create_page_tables:
|
||||
* We map 2 sections in case the ATAGs/DTB crosses a section boundary.
|
||||
*/
|
||||
mov r0, r2, lsr #SECTION_SHIFT
|
||||
movs r0, r0, lsl #SECTION_SHIFT
|
||||
subne r3, r0, r8
|
||||
addne r3, r3, #PAGE_OFFSET
|
||||
addne r3, r4, r3, lsr #(SECTION_SHIFT - PMD_ORDER)
|
||||
orrne r6, r7, r0
|
||||
cmp r2, #0
|
||||
ldrne r3, =FDT_FIXED_BASE >> (SECTION_SHIFT - PMD_ORDER)
|
||||
addne r3, r3, r4
|
||||
orrne r6, r7, r0, lsl #SECTION_SHIFT
|
||||
strne r6, [r3], #1 << PMD_ORDER
|
||||
addne r6, r6, #1 << SECTION_SHIFT
|
||||
strne r6, [r3]
|
||||
|
@ -886,7 +886,7 @@ static void breakpoint_handler(unsigned long unknown, struct pt_regs *regs)
|
||||
info->trigger = addr;
|
||||
pr_debug("breakpoint fired: address = 0x%x\n", addr);
|
||||
perf_bp_event(bp, regs);
|
||||
if (!bp->overflow_handler)
|
||||
if (is_default_overflow_handler(bp))
|
||||
enable_single_step(bp, addr);
|
||||
goto unlock;
|
||||
}
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/kexec.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <linux/of_fdt.h>
|
||||
#include <linux/cpu.h>
|
||||
#include <linux/interrupt.h>
|
||||
@ -1095,19 +1096,27 @@ static struct notifier_block arm_restart_nb = {
|
||||
|
||||
void __init setup_arch(char **cmdline_p)
|
||||
{
|
||||
const struct machine_desc *mdesc;
|
||||
const struct machine_desc *mdesc = NULL;
|
||||
void *atags_vaddr = NULL;
|
||||
|
||||
if (__atags_pointer)
|
||||
atags_vaddr = FDT_VIRT_BASE(__atags_pointer);
|
||||
|
||||
setup_processor();
|
||||
mdesc = setup_machine_fdt(__atags_pointer);
|
||||
if (atags_vaddr) {
|
||||
mdesc = setup_machine_fdt(atags_vaddr);
|
||||
if (mdesc)
|
||||
memblock_reserve(__atags_pointer,
|
||||
fdt_totalsize(atags_vaddr));
|
||||
}
|
||||
if (!mdesc)
|
||||
mdesc = setup_machine_tags(__atags_pointer, __machine_arch_type);
|
||||
mdesc = setup_machine_tags(atags_vaddr, __machine_arch_type);
|
||||
if (!mdesc) {
|
||||
early_print("\nError: invalid dtb and unrecognized/unsupported machine ID\n");
|
||||
early_print(" r1=0x%08x, r2=0x%08x\n", __machine_arch_type,
|
||||
__atags_pointer);
|
||||
if (__atags_pointer)
|
||||
early_print(" r2[]=%*ph\n", 16,
|
||||
phys_to_virt(__atags_pointer));
|
||||
early_print(" r2[]=%*ph\n", 16, atags_vaddr);
|
||||
dump_machine_table();
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,9 @@
|
||||
* Copyright (c) 2015, Linaro Limited
|
||||
*/
|
||||
#include <linux/linkage.h>
|
||||
#include <linux/arm-smccc.h>
|
||||
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/opcodes-sec.h>
|
||||
#include <asm/opcodes-virt.h>
|
||||
#include <asm/unwind.h>
|
||||
@ -27,7 +29,14 @@ UNWIND( .fnstart)
|
||||
UNWIND( .save {r4-r7})
|
||||
ldm r12, {r4-r7}
|
||||
\instr
|
||||
pop {r4-r7}
|
||||
ldr r4, [sp, #36]
|
||||
cmp r4, #0
|
||||
beq 1f // No quirk structure
|
||||
ldr r5, [r4, #ARM_SMCCC_QUIRK_ID_OFFS]
|
||||
cmp r5, #ARM_SMCCC_QUIRK_QCOM_A6
|
||||
bne 1f // No quirk present
|
||||
str r6, [r4, #ARM_SMCCC_QUIRK_STATE_OFFS]
|
||||
1: pop {r4-r7}
|
||||
ldr r12, [sp, #(4 * 4)]
|
||||
stm r12, {r0-r3}
|
||||
bx lr
|
||||
|
@ -1,4 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <linux/ftrace.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/mm_types.h>
|
||||
@ -25,6 +26,13 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
|
||||
if (!idmap_pgd)
|
||||
return -EINVAL;
|
||||
|
||||
/*
|
||||
* Function graph tracer state gets incosistent when the kernel
|
||||
* calls functions that never return (aka suspend finishers) hence
|
||||
* disable graph tracing during their execution.
|
||||
*/
|
||||
pause_graph_tracing();
|
||||
|
||||
/*
|
||||
* Provide a temporary page table with an identity mapping for
|
||||
* the MMU-enable code, required for resuming. On successful
|
||||
@ -32,6 +40,9 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
|
||||
* back to the correct page tables.
|
||||
*/
|
||||
ret = __cpu_suspend(arg, fn, __mpidr);
|
||||
|
||||
unpause_graph_tracing();
|
||||
|
||||
if (ret == 0) {
|
||||
cpu_switch_mm(mm->pgd, mm);
|
||||
local_flush_bp_all();
|
||||
@ -45,7 +56,13 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
|
||||
int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
|
||||
{
|
||||
u32 __mpidr = cpu_logical_map(smp_processor_id());
|
||||
return __cpu_suspend(arg, fn, __mpidr);
|
||||
int ret;
|
||||
|
||||
pause_graph_tracing();
|
||||
ret = __cpu_suspend(arg, fn, __mpidr);
|
||||
unpause_graph_tracing();
|
||||
|
||||
return ret;
|
||||
}
|
||||
#define idmap_pgd NULL
|
||||
#endif
|
||||
|
@ -223,7 +223,6 @@ void __init arm_memblock_init(const struct machine_desc *mdesc)
|
||||
if (mdesc->reserve)
|
||||
mdesc->reserve();
|
||||
|
||||
early_init_fdt_reserve_self();
|
||||
early_init_fdt_scan_reserved_mem();
|
||||
|
||||
/* reserve memory for DMA contiguous allocations */
|
||||
|
@ -39,6 +39,8 @@
|
||||
#include "mm.h"
|
||||
#include "tcm.h"
|
||||
|
||||
extern unsigned long __atags_pointer;
|
||||
|
||||
/*
|
||||
* empty_zero_page is a special page that is used for
|
||||
* zero-initialized data and COW.
|
||||
@ -946,7 +948,7 @@ static void __init create_mapping(struct map_desc *md)
|
||||
return;
|
||||
}
|
||||
|
||||
if ((md->type == MT_DEVICE || md->type == MT_ROM) &&
|
||||
if (md->type == MT_DEVICE &&
|
||||
md->virtual >= PAGE_OFFSET && md->virtual < FIXADDR_START &&
|
||||
(md->virtual < VMALLOC_START || md->virtual >= VMALLOC_END)) {
|
||||
pr_warn("BUG: mapping for 0x%08llx at 0x%08lx out of vmalloc space\n",
|
||||
@ -1333,6 +1335,15 @@ static void __init devicemaps_init(const struct machine_desc *mdesc)
|
||||
for (addr = VMALLOC_START; addr < (FIXADDR_TOP & PMD_MASK); addr += PMD_SIZE)
|
||||
pmd_clear(pmd_off_k(addr));
|
||||
|
||||
if (__atags_pointer) {
|
||||
/* create a read-only mapping of the device tree */
|
||||
map.pfn = __phys_to_pfn(__atags_pointer & SECTION_MASK);
|
||||
map.virtual = FDT_FIXED_BASE;
|
||||
map.length = FDT_FIXED_SIZE;
|
||||
map.type = MT_ROM;
|
||||
create_mapping(&map);
|
||||
}
|
||||
|
||||
/*
|
||||
* Map the kernel if it is XIP.
|
||||
* It is always first in the modulearea.
|
||||
@ -1489,8 +1500,7 @@ static void __init map_lowmem(void)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ARM_PV_FIXUP
|
||||
extern unsigned long __atags_pointer;
|
||||
typedef void pgtables_remap(long long offset, unsigned long pgd, void *bdata);
|
||||
typedef void pgtables_remap(long long offset, unsigned long pgd);
|
||||
pgtables_remap lpae_pgtables_remap_asm;
|
||||
|
||||
/*
|
||||
@ -1503,7 +1513,6 @@ static void __init early_paging_init(const struct machine_desc *mdesc)
|
||||
unsigned long pa_pgd;
|
||||
unsigned int cr, ttbcr;
|
||||
long long offset;
|
||||
void *boot_data;
|
||||
|
||||
if (!mdesc->pv_fixup)
|
||||
return;
|
||||
@ -1520,7 +1529,6 @@ static void __init early_paging_init(const struct machine_desc *mdesc)
|
||||
*/
|
||||
lpae_pgtables_remap = (pgtables_remap *)(unsigned long)__pa(lpae_pgtables_remap_asm);
|
||||
pa_pgd = __pa(swapper_pg_dir);
|
||||
boot_data = __va(__atags_pointer);
|
||||
barrier();
|
||||
|
||||
pr_info("Switching physical address space to 0x%08llx\n",
|
||||
@ -1556,7 +1564,7 @@ static void __init early_paging_init(const struct machine_desc *mdesc)
|
||||
* needs to be assembly. It's fairly simple, as we're using the
|
||||
* temporary tables setup by the initial assembly code.
|
||||
*/
|
||||
lpae_pgtables_remap(offset, pa_pgd, boot_data);
|
||||
lpae_pgtables_remap(offset, pa_pgd);
|
||||
|
||||
/* Re-enable the caches and cacheable TLB walks */
|
||||
asm volatile("mcr p15, 0, %0, c2, c0, 2" : : "r" (ttbcr));
|
||||
|
@ -39,8 +39,8 @@ ENTRY(lpae_pgtables_remap_asm)
|
||||
|
||||
/* Update level 2 entries for the boot data */
|
||||
add r7, r2, #0x1000
|
||||
add r7, r7, r3, lsr #SECTION_SHIFT - L2_ORDER
|
||||
bic r7, r7, #(1 << L2_ORDER) - 1
|
||||
movw r3, #FDT_FIXED_BASE >> (SECTION_SHIFT - L2_ORDER)
|
||||
add r7, r7, r3
|
||||
ldrd r4, r5, [r7]
|
||||
adds r4, r4, r0
|
||||
adc r5, r5, r1
|
||||
|
@ -22,6 +22,10 @@ &bq25895 {
|
||||
ti,termination-current = <144000>; /* uA */
|
||||
};
|
||||
|
||||
&buck3_reg {
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
&proximity {
|
||||
proximity-near-level = <25>;
|
||||
};
|
||||
|
@ -156,7 +156,8 @@ uart1: serial@12200 {
|
||||
};
|
||||
|
||||
nb_periph_clk: nb-periph-clk@13000 {
|
||||
compatible = "marvell,armada-3700-periph-clock-nb";
|
||||
compatible = "marvell,armada-3700-periph-clock-nb",
|
||||
"syscon";
|
||||
reg = <0x13000 0x100>;
|
||||
clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>,
|
||||
<&tbg 3>, <&xtalclk>;
|
||||
|
@ -1169,7 +1169,7 @@ dsi1: dsi@1401c000 {
|
||||
<&mmsys CLK_MM_DSI1_DIGITAL>,
|
||||
<&mipi_tx1>;
|
||||
clock-names = "engine", "digital", "hs";
|
||||
phy = <&mipi_tx1>;
|
||||
phys = <&mipi_tx1>;
|
||||
phy-names = "dphy";
|
||||
status = "disabled";
|
||||
};
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user