Merge tag 'android12-5.10.177_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.177 into the android12-5.10 branch. It contains the following commits: 289d29ddbfdb Merge tag 'android12-5.10.177_r00' into android12-5.100334ff98b9Revert "net: mdio: fix owner field for mdio buses registered using device-tree"f3670bd0ffMerge 5.10.177 into android12-5.10-lts387078f903Linux 5.10.17734a02011c5hsr: ratelimit only when errors are printed7c414f6f06gfs2: Always check inode size of inline inodes3392d67af0ext4: fix kernel BUG in 'ext4_write_inline_data_end()'b4781477f3libbpf: Fix btf_dump's packed struct determination7ad30ad8c6selftests/bpf: Add few corner cases to test padding handling of btf_dumpe5a16bcb13libbpf: Fix BTF-to-C converter's padding logicb9f7422dd9selftests/bpf: Test btf dump for struct with padding only fieldsf1c17475a9zonefs: Fix error message in zonefs_file_dio_append()b51e442295btrfs: scan device in non-exclusive mode3eeff8d26cs390/uaccess: add missing earlyclobber annotations to __clear_user()7051d51f12drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub79815326a5drm/etnaviv: fix reference leak when mmaping imported buffera484f8bec8rcu: Fix rcu_torture_read ftrace event08bfd05987xtensa: fix KASAN report for show_stack8ada1b5c8bALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z3b6992bdf0ALSA: usb-audio: Fix regression on detection of Roland VS-1000044721f4fALSA: hda/conexant: Partial revert of a quirk for Lenovo3d328a17c8NFSv4: Fix hangs when recovering open state after a server reboot80a4200d51powerpc: Don't try to copy PPR for task with NULL pt_regs12c2612e18pinctrl: at91-pio4: fix domain name assignment25065ed83bpinctrl: amd: Disable and mask interrupts on resumefbf3fe7f7bnet: phy: dp83869: fix default value for tx-/rx-internal-delayb3d7a4478cxen/netback: don't do grant copy across page boundary5f63470343btrfs: fix race between quota disable and quota assign ioctlsba5deb64ddInput: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table26a32a212bcifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL63bbe24b99cifs: prevent infinite recursion in CIFSGetDFSRefer()8b3d7ad3e8Input: focaltech - use explicitly signed char type449a1a61f7Input: alps - fix compatibility with -funsigned-char988061d099pinctrl: ocelot: Fix alt mode for oceloted3439a8c4net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only8104c79551bnxt_en: Add missing 200G link speed reporting62850a0763bnxt_en: Fix typo in PCI id to device description string mappingf524d1e550i40e: fix registers dump after run ethtool adapter self testfa7fafedc9net: ipa: compute DMA pool size properly96e34c8800ALSA: ymfpci: Fix BUG_ON in probe function688b1178c4ALSA: ymfpci: Fix assignment in if conditionee17dea307s390/vfio-ap: fix memory leak in vfio_ap device driverab2a559078can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write9b22e0cfc4net: stmmac: don't reject VLANs when IFF_PROMISC is setf032e12514net/net_failover: fix txq exceeding warning1025c47151regulator: Handle deferred clk69ed49a7b8r8169: fix RTL8168H and RTL8107E rx crc error3907fcb5a4ptp_qoriq: fix memory leak in probe()6ff4a54c02scsi: megaraid_sas: Fix crash after a double completion059c3a7a3dsfc: ef10: don't overwrite offload features at NIC reset4a81e2da72mtd: rawnand: meson: invalidate cache on polling ECC bit47a449ec09mips: bmips: BCM6358: disable RAC flush for TP1ac63f78d9aca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()8b1269b709tracing: Fix wrong return in kprobe_event_gen_test.c038765a095tools/power turbostat: Fix /dev/cpu_dma_latency warnings5ec5680dc6fbdev: au1200fb: Fix potential divide by zeroce5551db36fbdev: lxfb: Fix potential divide by zeroc2be7f8056fbdev: intelfb: Fix potential divide by zero78eb964805fbdev: nvidia: Fix potential divide by zero1f2a94baeesched_getaffinity: don't assume 'cpumask_size()' is fully initialized6eaa2254ccfbdev: tgafb: Fix potential divide by zerobaef27176eALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()fcf80111a4ALSA: asihpi: check pao in control_message()b94ffa2874net: hsr: Don't log netdev_err message on unknown prp dst node74d6d33f36md: avoid signed overflow in slot_store()10941fd5c3fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY0b9493b504dm crypt: avoid accessing uninitialized taskletb2d1956547bus: imx-weim: fix branch condition evaluates to a garbage value1635a062fadrm/meson: fix missing component unbind on bind errors794a6cea22drm/meson: Fix error handling when afbcd.ops->init failsf7385e0886kcsan: avoid passing -g for test46ae204069kernel: kcsan: kcsan_test: build without structleak plugina5ce0a559busb: dwc3: gadget: Add 1ms delay after end transfer command without IOCddb1973e67usb: dwc3: gadget: move cmd_endtransfer to extra function01e4c9c03dNFSD: fix use-after-free in __nfs42_ssc_open()34ef9cd887KVM: fix memoryleak in kvm_init()a6d345c3a3xfs: don't reuse busy extents on extent trimcb61e1e36fxfs: shut down the filesystem if we screw up quota reservation91d7a4bd56ocfs2: fix data corruption after failed writed4a5181ba1sched/fair: Sanitize vruntime of entity being migrateddfdcda25fbsched/fair: sanitize vruntime of entity being placed66ff37993ddm crypt: add cond_resched() to dmcrypt_write()c68f08cc74dm stats: check for and propagate alloc_percpu failure1eaa2b7ae9i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()85b637feeefirmware: arm_scmi: Fix device node validation for mailbox transportf632a90f8etee: amdtee: fix race condition in amdtee_open_session4ede0da36cdrm/i915: Preserve crtc_state->inherited during state clearingd5329a06b4drm/i915/active: Fix missing debug object activationd18db946ccnilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()560437bba1wifi: mac80211: fix qos on mesh interfacesa6adfe9bbdusb: ucsi: Fix NULL pointer deref in ucsi_connector_change()09671cfc2busb: chipidea: core: fix possible concurrent when switch role073ce98aa3usb: chipdea: core: fix return -EINVAL if request role is the same with current role5a36b601afusb: cdns3: Fix issue with using incorrect PCI device functionaae6d1bf4ddm thin: fix deadlock when swapping to thin device4d2626e107igb: revert rtnl_lock() that causes deadlocke66f3039c7fsverity: Remove WQ_UNBOUND from fsverity read workqueue33f341c1fcusb: gadget: u_audio: don't let userspace block driver unbind1f01027c51usb: dwc2: fix a devres leak in hw_enable upon suspend resumedce1284215scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMRf7a4ce3514cifs: empty interface list when server doesn't support query interfaces8beb18c25bsh: sanitize the flags on sigreturn87e800e3dcnet: usb: qmi_wwan: add Telit 0x1080 composition27d4ce4aa3net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990ddfc061793scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file3e0a423a55scsi: lpfc: Avoid usage of list iterator variable after loopf9a937f75bscsi: ufs: core: Add soft dependency on governor_simpleondemand522314863fscsi: hisi_sas: Check devm_add_action() return value799d29a447scsi: target: iscsi: Fix an error message in iscsi_check_key()8c42442887selftests/bpf: check that modifier resolves after pointerdf1da53a7em68k: Only force 030 bus error if PC not in exception table7df72bedbdca8210: fix mac_len negative array access3d8fafc530HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded082b8240a6riscv: Bump COMMAND_LINE_SIZE value to 10242d6c2dee59thunderbolt: Use const qualifier for `ring_interrupt_index`06e04b450bthunderbolt: Use scale field when allocating USB3 bandwidth32fa53c27euas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2231cfa78ecscsi: qla2xxx: Perform lockless command completion in abort pathf73a88df19hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs33c2fa39fbhwmon: fix potential sensor registration fail if of_node is missingf86ff88a15platform/chrome: cros_ec_chardev: fix kernel data leak from ioctlda3d3fdfb4Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished workfce0e47e9eBluetooth: L2CAP: Fix responding with wrong PDU type77a61df0a0Bluetooth: L2CAP: Fix not checking for maximum number of DCID65ceb17074Bluetooth: btqcomsmd: Fix command timeout after setting BD address7aa3d03e1bnet: mdio: thunder: Add missing fwnode_handle_put()94ef1715d2gve: Cache link_speed value from device3c72445dadnvme-tcp: fix nvme_tcp_term_pdu to match spec73db80dcdcnet/sonic: use dma_mapping_error() for error checkf8cec30541erspan: do not use skb_mac_header() in ndo_start_xmit()19aa85b9dfatm: idt77252: fix kmemleak when rmmod idt772525eadc80328net/mlx5: E-Switch, Fix an Oops in error handling code265101aea4net/mlx5: Read the TC mapping of all priorities on ETS query18cead61e4net/mlx5: Fix steering rules cleanupa4bbab27c4bpf: Adjust insufficient default bpf_jit_limita44e98abcckeys: Do not cache key in task struct if key is requested from kernel threadec23a669debootconfig: Fix testcase to increase max node56e0bc4a72net/ps3_gelic_net: Use dma_mapping_error3d5a97283enet/ps3_gelic_net: Fix RX sk_buff lengthcb5879efdenet: qcom/emac: Fix use after free bug in emac_remove due to race conditiond04dac7faenet: mdio: fix owner field for mdio buses registered using device-tree1b333766eanet: phy: Ensure state transitions are processed from phy_stop()bfeeb3aaadxirc2ps_cs: Fix use after free bug in xirc2ps_detach39c3b9dd48qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info33d1603a38net: usb: smsc95xx: Limit packet length to skb->lenc09cdf6eb8scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()a3ada13f20i2c: imx-lpi2c: check only for enabled interrupt flagsbde2e73d52igc: fix the validation logic for taprio's gate listd3e4844c18igbvf: Regard vf reset nack as successfe3850c72aintel/igbvf: free irq on the error path in igbvf_request_msix()155d6d434fiavf: fix non-tunneled IPv6 UDP packet type and hashing15dcb57ebaiavf: fix inverted Rx hash condition leading to disabled hash580634b03axsk: Add missing overflow check in xdp_umem_reg7b5dffe048ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl35a49d2758ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl75e2144291power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition2b346876b9power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition18359b8e30power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync1fde5782f1net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()cfeda9432cdrm/sun4i: fix missing component unbind on bind errorsb5131ed83cserial: 8250: ASPEED_VUART: select REGMAP instead of depending on it5fcb12f00aserial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED19a98d56dftty: serial: fsl_lpuart: fix race on RX DMA shutdownae12308c7dserial: fsl_lpuart: Fix comment typoa43f7d0628KVM: Register /dev/kvm as the _very_ last thing during initialization7958663668KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()6100066358KVM: Optimize kvm_make_vcpus_request_mask() a bitad120bc869KVM: KVM: Use cpumask_available() to check for NULL cpumask when kicking vCPUs4cc54f6ae5KVM: Clean up benign vcpu->cpu data races when kicking vCPUs8f9ae017ddipmi:ssif: Add a timer between request retriesc94de7f85dipmi:ssif: resend_msg() cannot failcd35cbde00ipmi:ssif: Increase the message retry time4d57c90f24ipmi:ssif: make ssif_i2c_send() void18dd825b86perf: fix perf_event_context->timeddcf832000perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output29ee1495e8interconnect: qcom: osm-l3: fix icc_onecell_data allocation90eb02302bRevert "HID: core: Provide new max_buffer_size attribute to over-ride the default"f1b6325b25Revert "HID: uhid: Over-ride the default maximum data buffer value with our own"df23049a96Merge 5.10.176 into android12-5.10-lts9b0fcb1986ANDROID: preserve CRC for __irq_domain_add()87cdb8101eMerge 5.10.175 into android12-5.10-lts1baa036104Merge 5.10.174 into android12-5.10-ltsfe51d37c6cMerge branch 'android12-5.10' into android12-5.10-lts04d892b616Revert "PCI: loongson: Prevent LS7A MRRS increases"1aaaa18b4aRevert "PCI: loongson: Add more devices that need MRRS quirk"a880d7ebc5ANDROID: remove CONFIG_NET_CLS_TCINDEX from gki_defconfigca9787bdecLinux 5.10.176e57f797e3fHID: uhid: Over-ride the default maximum data buffer value with our own9bc878756bHID: core: Provide new max_buffer_size attribute to over-ride the defaultdaa97e770exfs: remove xfs_setattr_time() declaration183ca91954fs: use consistent setgid checks in is_sxid()0e9dbde96cattr: use consistent sgid stripping checks240b96ffecattr: add setattr_should_drop_sgid()baea3ae425fs: move should_remove_suid()24378d6f74attr: add in_group_or_capable()94ac142c19fs: move S_ISGID stripping into the vfs_*() helpers347750e1b6fs: add mode_strip_sgid() helperf60b68c464xfs: use setattr_copy to set vfs inode attributes8cf9400f89xfs: set prealloc flag in xfs_alloc_file_space()308dfe49ebxfs: fallocate() should call file_modified()35f049abbaxfs: remove XFS_PREALLOC_SYNCc84fb29626xfs: don't leak btree cursor when insrec fails after a splitbe60f08c03xfs: purge dquots after inode walk fails during quotacheckd6f223cfefxfs: don't assert fail on perag references on teardownd0292124bbPCI/DPC: Await readiness of secondary bus after reset337aa99f76PCI: Unify delay handling for reset and resumeb5e0b3d742s390/ipl: add missing intersection check to ipl_report handling84e2e393bfio_uring: avoid null-ptr-deref in io_arm_poll_handler5e784a7d07drm/i915/active: Fix misuse of non-idle barriers as fence trackers8f27d43217drm/i915: Don't use stolen memory for ring buffers with LLCb4a798374fx86/mm: Fix use of uninitialized buffer in sme_enable()764217184fx86/mce: Make sure logged MCEs are processed after sysfs update15e926dfd8cpuidle: psci: Iterate backwards over list in psci_pd_remove()38742635edfbdev: stifb: Provide valid pixelclock and add fb_check_var() checks03fc29e75emmc: sdhci_am654: lower power-on failed message severityb2747b690cmm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage83c3b2f4e7ftrace: Fix invalid address access in lookup_rec() when index is 0f9a98b8ddemptcp: avoid setting TCP_CLOSE state twice684c7372bbdrm/shmem-helper: Remove another errant put in error pathfbc5ffcce7ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro9addf5e105ALSA: hda: intel-dsp-config: add MTL PCI idc54974ccafKVM: nVMX: add missing consistency checks for CR0 and CR47b18dea697cifs: Fix smb2_set_path_size()ec663c410ctracing: Make tracepoint lockdep check actually test something8ae86ef7a0tracing: Check field value in hist_field_name()de3170bd41tracing: Make splice_read available againefae80ca13interconnect: fix mem leak when freeing nodesb37d3ccbd5firmware: xilinx: don't make a sleepable memory allocation from an atomic context0c16c20b87serial: 8250_em: Fix UART port typef5a5150c70tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted020166bc66ext4: fix possible double unlock when moving a directory7257070be7drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytesab7da8d93ash: intc: Avoid spurious sizeof-pointer-div warning6936525142drm/amdkfd: Fix an illegal memory accessa98160d8f3ext4: fix task hung in ext4_xattr_delete_inode0bf15bc393ext4: fail ext4_iget if special inode unallocated8e7f26b956jffs2: correct logic when creating a hole in jffs2_write_begin980d4e70c7mmc: atmel-mci: fix race between stop command and start of next command04eaeaa2f7media: m5mols: fix off-by-one loop termination errora4c048d502hwmon: (adm1266) Set `can_sleep` flag for GPIO chipa4c3e11324hwmon: tmp512: drop of_match_ptr for ID tablec5bd9719b5hwmon: (ucd90320) Add minimum delay between bus accesses663c3afee8hwmon: (ina3221) return prober error code0a73c8b3cchwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition4a8c3ad12chwmon: (adt7475) Fix masking of hysteresis registersaff84fadbahwmon: (adt7475) Display smoothing attributes in correct orderd4dbd26f98ethernet: sun: add check for the mdesc_grab()eb80cb66a2qed/qed_mng_tlv: correctly zero out ->min instead of ->hour1c06d12237selftests: net: devlink_port_split.py: skip test if no suitable device availablebd2e78462anet/iucv: Fix size of interrupt data2cc46ed406net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull013fae04b8ipv4: Fix incorrect table ID in IOCTL path1f0586dcc0net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290cccba1ff07ice: xsk: disable txq irq before flushing hw2f28cb5c2ablock: sunvdc: add check for mdesc_grab() returning NULLa6317235danvmet: avoid potential UAF in nvmet_req_complete()9ebc344ce5nvme: fix handling single range discard request4cf15887a4block: null_blk: Fix handling of fake timeout requestd14d2574a5null_blk: Move driver into its own directoryd5e61a859adrm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoce294f0aa47net: usb: smsc75xx: Limit packet length to skb->len9708efad9bnet/smc: fix deadlock triggered by cancel_delayed_work_syn()43aa468df2nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition194248138fnet: phy: smsc: bail out in lan87xx_read_status if genphy_read_status failsbe59b87ee4net: tunnels: annotate lockless accesses to dev->needed_headroom281e86e3faqed/qed_dev: guard against a possible division by zero31817c5307net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()3cbecb1c90i40e: Fix kernel crash during reboot when adapter is in recovery mode91eb592401ipvlan: Make skb->skb_iif track skb->dev for l3s mode2703da7884nfc: pn533: initialize struct pn533_out_arg properly77ad58bca0tcp: tcp_make_synack() can be called from process context68c665bb18scsi: core: Fix a procfs host directory removal regressionbe5aa25341scsi: core: Fix a comment in function scsi_host_dev_release()0fac20b180netfilter: nft_redir: correct value of inet type `.maxattrs`c144dff64enetfilter: nft_redir: correct length for loading protocol registers3a0f8ea35dnetfilter: nft_masq: correct length for loading protocol registerseff050d83enetfilter: nft_nat: correct length for loading protocol registers0c6c5abeb4ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()6f0c2f70d9scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()79fe786dabdocs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidateea1e21d38aclk: HI655X: select REGMAP instead of depending on it081893e254drm/meson: fix 1px pink line on GXM when scaling video overlayed9ed2f58ccifs: Move the in_send statistic to __smb_send_rqst()a3c502218cdrm/panfrost: Don't sync rpm suspension after mmu flushing0da0b81697xfrm: Allow transport-mode states with AF_UNSPEC selector0847230e9bMerge 5.10.173 into android12-5.10-lts2b5ee1cbc1Merge 5.10.172 into android12-5.10-lts78985e3685Merge 5.10.171 into android12-5.10-lts45fa1d879aMerge 5.10.170 into android12-5.10-ltsde26e1b210Linux 5.10.175aa8579bc08s390/dasd: add missing discipline function6baebcecf0KVM: VMX: Fix crash due to uninitialized current_vmcs685ed0a277KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper0ef55bafabKVM: nVMX: Don't use Enlightened MSR Bitmap for L39da269bee7UML: define RUNTIME_DISCARD_EXIT5c425eb9dash: define RUNTIME_DISCARD_EXITbfef72d2fcs390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.366af633e778powerpc/vmlinux.lds: Don't discard .rela* for relocatable buildsaf560685bapowerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXITd367c5ebe9arch: fix broken BuildID for arm64 and riscv7550aade97ext4: block range must be validated before use in ext4_mb_clear_bb()c3fd717b58ext4: add strict range checks while freeing blocks65061f49a5ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()9cd21f5babext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb()b500560501drm/i915: Don't use BAR mappings for ring buffers with LLCc53d50d808skbuff: Fix nfct leak on napi stolena4932a2c54ipmi:watchdog: Set panic count to proper value on a panic7aa5a495cbipmi/watchdog: replace atomic_add() and atomic_sub()a5c140d88amedia: rc: gpio-ir-recv: add remove function13b04efb5bmedia: ov5640: Fix analogue gain control42bb1e6b7fscripts: handle BrokenPipeError for python scriptsbe658aa43aPCI: Add SolidRun vendor IDd47d364f66macintosh: windfarm: Use unsigned type for 1-bit bitfields9cff3f106aalpha: fix R_ALPHA_LITERAL reloc for large modules9a61a3a6ecpowerpc/kcsan: Exclude udelay to prevent recursive instrumentation5ddcb0a348MIPS: Fix a compilation issue7f77f3dab5block, bfq: fix uaf for bfqq in bic_set_bfqq()6291281f15block, bfq: replace 0/1 with false/true in bic apise6f03decf5block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC"1425f1bb5dblock, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq5533742c7cblock, bfq: fix possible uaf for 'bfqq->bic'c660e024bctpm/eventlog: Don't abort tpm_read_log on faulty ACPI addressb1fddddf58watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error pathsf2a5ec7f7biommu/amd: Add a length limitation for the ivrs_acpihid command-line parameterb113f90204ext4: Fix deadlock during directory renameab89b8a67fRISC-V: Don't check text_mutex during stop_machine3de277af48riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack modece7dd61e00SUNRPC: Fix a server shutdown leake1b8342a85net/smc: fix fallback failed while sendmsg with fastopen93367126f6platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it0fe672336dscsi: megaraid_sas: Update max supported LD IDs to 240f4eae84f57net: ethernet: mtk_eth_soc: fix RX data corruption issue01a1e98109btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR065c1ed5c4netfilter: tproxy: fix deadlock due to missing BH disable26fa059cc9netfilter: ctnetlink: revert to dumping mark regardless of event typed16701a385bnxt_en: Avoid order-5 memory allocation for TPA datac0df4e5c24net: phylib: get rid of unnecessary lockingd2a5a9cdc5net: stmmac: add to set device wake up flag when stmmac init phyc3aaec463anet: caif: Fix use-after-free in cfusbl_device_notify()db16d65674net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driverd5e8f7edc2net: usb: lan78xx: Remove lots of set but unused 'ret' variables374cbffe7dselftests: nft_nat: ensuring the listening side is up before starting the client42d9ed4e5dila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()6f0cc879c8powerpc: dts: t1040rdb: fix compatible string for Rev A boards80be62358fnfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_propertiescbf11ff370bgmac: fix *initial* chip reset to support BCM53584c43a0291fdrm/msm/a5xx: fix context faults during ring switch34e71ca0a0drm/msm/a5xx: fix the emptyness check in the preempt code8dde1d9d6fdrm/msm: Document and rename preempt_lock00c2020b8bdrm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register08c0b54befdrm/msm: Fix potential invalid ptr free8b4a6dd157drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype9ca74e5e75drm/nouveau/kms/nv50-: remove unused functions0c440f1455ext4: Fix possible corruption when moving a directory6b223e32d6scsi: core: Remove the /proc/scsi/${proc_name} directory earliere993e3ea95riscv: Add header include guards to insn.h713c335e5ariscv: Avoid enabling interrupts in die()f9fdb3e7b0RISC-V: Avoid dereferening NULL regs in die()030b1c4217arm64: efi: Make efi_rt_lock a raw_spinlock7e00b52c8ciommu/vt-d: Fix PASID directory pointer coherencyc424b18191iommu/vt-d: Fix lockdep splat in intel_pasid_get_entry()aeab1f1a60irqdomain: Fix domain registration racebb7597777cirqdomain: Change the type of 'size' in __irq_domain_add() to be consistent4ab311d51cirqdomain: Fix mapping-creation race8617599c64irqdomain: Refactor __irq_domain_alloc_irqs()ff762cdbf0irqdomain: Look for existing mapping only once6414597815irq: Fix typos in commentsfe80a53eabudf: Fix off-by-one error when discarding preallocation7786bfd8f7nfc: change order inside nfc_se_io error path3f00c476daext4: zero i_disksize when initializing the bootloader inodea9bd94f67bext4: fix WARNING in ext4_update_inline_datad72a6c3139ext4: move where set the MAY_INLINE_DATA flag is set1d2366624bext4: fix another off-by-one fsmap error on 1k block filesystems8706c972fcext4: fix RENAME_WHITEOUT handling for inline directoriesd0632ff49bext4: fix cgroup writeback accounting with fs-layer encryption3106cb47cddrm/connector: print max_requested_bpc in state debugfs4279e87da6drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc155462843dc4x86/CPU/AMD: Disable XSAVES on AMD family 0x17a1eb8bf1e3fork: allow CLONE_NEWTIME in clone3 flagsa759905de9fs: prevent out-of-bounds array speculation when closing a file descriptor955623617fLinux 5.10.174c036dae036staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh1afff6203astaging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a scriptdecf73066fwifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"e5f315b55fLinux 5.10.1738ecd5dabddusb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() failsa5bbea50d6malidp: Fix NULL vs IS_ERR() checking1dfc0a52f7scsi: mpt3sas: Remove usage of dma_get_required_mask() API747652f9c5scsi: mpt3sas: re-do lost mpt3sas DMA mask fix2392303df2scsi: mpt3sas: Don't change DMA mask while reallocating poolsf73bbfb47fRevert "scsi: mpt3sas: Fix return value check of dma_get_required_mask()"331c18e8acmedia: uvcvideo: Fix race condition with usb_kill_urb9d83b69e93media: uvcvideo: Provide sync and async uvc_ctrl_status_eventc5fe3fba1bdrm/virtio: Fix error code in virtio_gpu_object_shmem_init()0a1d0c79eatcp: Fix listen() regression in 5.10.1637474be26b0Bluetooth: hci_sock: purge socket queues in the destruct() callbackd90967f850drm/display/dp_mst: Fix down message handling after a packet reception erroree4a4282d7drm/display/dp_mst: Fix down/up message handling after sink disconnect411b8ad505x86/resctl: fix scheduler confusion with 'current'9554af9801x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}7123a4337bnet: tls: avoid hanging tasks on the tx_locka6549336f5soundwire: cadence: Drain the RX FIFO after an IO timeoute5ca5b7136soundwire: cadence: Remove wasted space in response_buf4d2423f15bphy: rockchip-typec: Fix unsigned comparison with less than zero01923e3196PCI: Add ACS quirk for Wangxun NICsfaa050d2ffPCI: loongson: Add more devices that need MRRS quirkdd9981a11dkernel/fail_function: fix memory leak with using debugfs_lookup()b2301851e7PCI: Take other bus devices into account when distributing resourcesfdca189e52PCI: Align extra resources for hotplug bridges properly877aacda14usb: gadget: uvc: Make bSourceID read/write56495e8d3cusb: uvc: Enumerate valid values for color matching961f93d63dUSB: ene_usb6250: Allocate enough memory for full object426cbe9a0ausb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math654ae53925PCI: loongson: Prevent LS7A MRRS increases09ca779ac0iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()3357e90d3ciio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()8db64cea47tools/iio/iio_utils:fix memory leak160494b66fmei: bus-fixup:upon error print return values of send and receive17b96b5c19serial: sc16is7xx: setup GPIO controller later in probe0cb1f78d88tty: serial: fsl_lpuart: disable the CTS when send break signal84ea44dc3etty: fix out-of-bounds access in tty_driver_lookup_tty()e8a5efd5aestaging: emxx_udc: Add checks for dma_alloc_coherent()c4d96503d6media: uvcvideo: Silence memcpy() run-time false positive warnings78b1fdc47emedia: uvcvideo: Quirk for autosuspend in Logitech B910 and C91023f9bead35media: uvcvideo: Handle errors from calls to usb_stringd8aa2e1ae6media: uvcvideo: Handle cameras with invalid descriptors76752888edIB/hfi1: Update RMT size calculation754e81ff44mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak903b91cea7bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support07fb565336firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 325c9fba724tracing: Add NULL checks for buffer in ring_buffer_free_read_page()e30b26e746thermal: intel: BXT_PMIC: select REGMAP instead of depending on itf73134231fthermal: intel: quark_dts: fix error pointer dereference01829cb870ASoC: zl38060 add gpiolib dependency2bc1f260edASoC: zl38060: Remove spurious gpiolib selectc8e7c0ec45ASoC: adau7118: don't disable regulators on device unbindc79a924ed6loop: loop_set_status_from_info() check before assignmentaf5f9a4761scsi: ipr: Work around fortify-string warning555f315832rtc: sun6i: Always export the internal oscillator3e734e6941vc_screen: modify vcs_size() handling in vcs_read()ac73d8f6a6tcp: tcp_check_req() can be called from process context4d08ed4651ARM: dts: spear320-hmi: correct STMPE GPIO compatible2f935409cdnet/sched: act_sample: fix action bind logic8978315cb4nfc: fix memory leak of se_io context in nfc_genl_se_io8817602cffnet/mlx5: Geneve, Fix handling of Geneve object id as error code0ac65fab2b9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()3e0359f1519p/xen: fix connection sequencec959a53b629p/xen: fix version parsing82a0c1fe1fnet: fix __dev_kfree_skb_any() vs drop monitor8ee401f89csctp: add a refcnt in sctp_stream_priorities to avoid a nested loopda26369377ipv6: Add lwtunnel encap size of all siblings in nexthop calculation9060abce33netfilter: ebtables: fix table blob use-after-free1ff0b87df9netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()9f7abdd500watchdog: pcwd_usb: Fix attempting to access uninitialized memoryc5a21a5501watchdog: Fix kmemleak in watchdog_cdev_register273559f58fwatchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path7cb46fa16bx86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list8a18856e07ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed9d448dd6bcubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()0aa0253f6cubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmapf09a84548cubifs: ubifs_writepage: Mark page dirty after writing inode failed9d4768523bubifs: dirty_cow_znode: Fix memleak in error handling path343d273d5fubifs: Re-statistic cleaned znode count if commit failedfcbc795abeubi: Fix possible null-ptr-deref in ubi_free_volume()bf50229494ubifs: Fix memory leak in alloc_wbufs()31d60afe2cubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()35f8d4064eubi: Fix use-after-free when volume resizing failed38fd7acdc1ubifs: Reserve one leb for each journal head while doing budget38a097dce1ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1495ea59a24ubifs: Fix wrong dirty space budget for dirty inode9e07ee28c2ubifs: Rectify space budget for ubifs_xrename()ffebd804c7ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted93e748ba51ubifs: Fix build errors as symbol undefined846bfba341ubi: ensure that VID header offset + VID header size <= alloc, sizef2b9c4544eum: vector: Fix memory leak in vector_config6be349d738fs: f2fs: initialize fsdata in pagecache_write()33909b1a64f2fs: use memcpy_{to,from}_page() where possible9d4a4a9ee9pwm: stm32-lp: fix the check on arr and cmp registers updatec2677c49b7pwm: sifive: Always let the first pwm_apply_state succeed8b98e7a45epwm: sifive: Reduce time the controller lock is helda1368eaea0objtool: Fix memory leak in create_static_call_sections()5d03a19ac7fs/jfs: fix shift exponent db_agl2size negative18c3fa7a7fnet/sched: Retire tcindex classifier322df540bakbuild: Port silent mode detection to future gnu make.f8ac5467e1pinctrl: rockchip: fix reading pull type on rk356850afcd5316pinctrl: rockchip: fix mux route data for rk3568844da39013wifi: ath9k: use proper statements in conditionalsa2a1e3f4edarm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY64a99c0ac6drm/edid: fix AVI infoframe aspect ratio handling1f064aaa81drm/radeon: Fix eDP for single-display iMac11,2266864c1e0drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv5a27124271vfio/type1: prevent underflow of locked_vm via exec()691a8e26dePCI: Avoid FLR for AMD FCH AHCI adapters88b51c6a6dPCI: hotplug: Allow marking devices as disconnected during bind/unbindd219b19e1fPCI/PM: Observe reset delay irrespective of bridge_d3285d8390d9riscv: jump_label: Fixup unaligned arch_static_branch function8f9542cad6scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()c315560e3escsi: ses: Fix possible desc_ptr out-of-bounds accesses2ecd344173scsi: ses: Fix possible addl_desc_ptr out-of-bounds accessese4dd25da78scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()d68937dfc7scsi: ses: Don't attach if enclosure has no components0d14ace68dscsi: qla2xxx: Fix erroneous link downe596253113scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests40bedbf10dscsi: qla2xxx: Fix link failure in NPIV environment6e02a43acdring-buffer: Handle race between rb_move_tail and rb_check_pages1693f3bc1fktest.pl: Add RUN_TIMEOUT option with default unlimited39255e4788ktest.pl: Fix missing "end_monitor" when machine check fails0dfb3f4588ktest.pl: Give back console on Ctrt^C on monitored77831e69mm/thp: check and bail out if page in deferred queue alreadye6d20325f4mm: memcontrol: deprecate charge movingf1f6c87d82docs: gdbmacros: print newest record6814e8e420remoteproc/mtk_scp: Move clk ops outside send_lock3b78c2482bmedia: ipu3-cio2: Fix PM runtime usage_count in driver unbind6c96c0b2e3mips: fix syscall_get_nrcd4d3eab23dax/kmem: Fix leak of memory-hotplug resources241e893df4alpha: fix FEN fault handlingae16346078rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails0f2fd21b5bARM: dts: exynos: correct TMU phandle in Odroid HC17dd9de2e2fARM: dts: exynos: correct TMU phandle in Odroid XUd1887cca65ARM: dts: exynos: correct TMU phandle in Exynos5250136d6f3c5dARM: dts: exynos: correct TMU phandle in Odroid XU3 family135e968d6aARM: dts: exynos: correct TMU phandle in Exynos4aaa2d2249cARM: dts: exynos: correct TMU phandle in Exynos4210f2b478228bdm flakey: don't corrupt the zero page07e375c18adm flakey: fix logic when corrupting a bio17f81b1277thermal: intel: powerclamp: Fix cur_state for multi package system2cfe78619bwifi: cfg80211: Fix use after free for wext73090cebe3wifi: rtl8xxxu: Use a longer retry limit of 483383f79d6bdm: add cond_resched() to dm_wq_work()e6409208c1mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type0dc0fa313bext4: refuse to create ea block when umountedd738789ae9ext4: optimize ea_inode block expansionab22799f11jbd2: fix data missing when reusing bh which is ready to be checkpointeda9cd89463eALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PCae2340769eALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()246f26664bio_uring/poll: allow some retries for poll triggering spuriously7f3d132415io_uring: remove MSG_NOSIGNAL from recvmsg72783d2af8io_uring/rsrc: disallow multi-source reg buffersa442f12e47io_uring: add a conditional reschedule to the IOPOLL cancelation loop3d1f9533a3io_uring: mark task TASK_RUNNING before handling resume/task work3f32f8492eio_uring: handle TIF_NOTIFY_RESUME when checking for task_work306c8b49b5irqdomain: Drop bogus fwspec-mapping error handlinge0538aa7e0irqdomain: Fix disassociation race6b24bd85aeirqdomain: Fix association race8c64acd24aima: Align ima_file_mmap() parameters with mmap_file LSM hookc1aa96927bbrd: return 0/-error from brd_insert_page()3326ef84cdDocumentation/hw-vuln: Document the interaction between IBRS and STIBPabfed855f0x86/speculation: Allow enabling STIBP with legacy IBRS44a44b57e8x86/microcode/AMD: Fix mixed steppings support87cf9bc78cx86/microcode/AMD: Add a @cpu parameter to the reloading functions0a89768b85x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter5255fd8dfbx86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe rangec16e4610d5x86/kprobes: Fix __recover_optprobed_insn check optimizing logicf75ee95196x86/reboot: Disable SVM, not just VMX, when stopping CPUs051f991c57x86/reboot: Disable virtualization in an emergency if SVM is supported8ff2cc2f87x86/crash: Disable virt in core NMI crash handler to avoid double shootdown537be939a8x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)edd7f5bc6fKVM: s390: disable migration mode when dirty tracking is disabled018798c6fbKVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI76a9886e1bKVM: Destroy target device if coalesced MMIO unregistration failsbacfce056eudf: Fix file corruption when appending just after end of preallocated extenta44ec34b90udf: Detect system inodes linked into directory hierarchy63478c3ce2udf: Preserve link count of system fileseb2133900cudf: Do not update file length for failed writes to inline files965982feb3udf: Do not bother merging very long extents9c792a59e0udf: Truncate added extents on failed expansion6bf9caa585ocfs2: fix non-auto defrag path not working issue2c559b3ba8ocfs2: fix defrag path triggering jbd2 ASSERTe9f20138b5f2fs: fix cgroup writeback accounting with fs-layer encryption00b5587326f2fs: fix information leak in f2fs_move_inline_dirents()f9dbc35ecbexfat: fix inode->i_blocks for non-512 byte sector size device4017209e08exfat: redefine DIR_DELETED as the bad cluster numberc2d1997074exfat: fix unexpected EOF while reading dir34b0588341exfat: fix reporting fs error when reading dir beyond EOFef7d71d7bdfs: hfsplus: fix UAF issue in hfsplus_put_superdc9f78b6d2hfs: fix missing hfs_bnode_get() in __hfs_bnode_create300b6404e6ARM: dts: exynos: correct HDMI phy compatible in Exynos469493675fdcifs: Fix uninitialized memory read in smb3_qfs_tcon()59102ded74s390/kprobes: fix current_kprobe never cleared after kprobes reenterd8724dc0ces390/kprobes: fix irq mask clobbering on kprobe reenter from post_handlerd43abcf91cs390: discard .interp section6cf48403c4s390/extmem: return correct segment type in __segment_load()be2dad7bc9ipmi_ssif: Rename idle state and check66b40f8756rtc: pm8xxx: fix set-alarm racee5b643645afirmware: coreboot: framebuffer: Ignore reserved pixel color bitsbf990eebeawifi: rtl8xxxu: fixing transmisison failure for rtl8192eu759f6a72bcnfsd: zero out pointers after putting nfsd_files on COPY setup error9b8047b210dm cache: add cond_resched() to various workqueue loops52206dd1c7dm thin: add cond_resched() to various workqueue loops861229a52bdrm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL57df5da8e6bHID: logitech-hidpp: Don't restart communication if not necessaryca64ebcb45pinctrl: at91: use devm_kasprintf() to avoid potential leaks5735878a7bhwmon: (coretemp) Simplify platform device handling2f8623377fgfs2: Improve gfs2_make_fs_rw error handlingbfa4ffd815regulator: s5m8767: Bounds check id indexing into arraysb4ff71c6f0regulator: max77802: Bounds check regulator id against opmode0adacf6d6bASoC: kirkwood: Iterate over array indexes instead of using pointer mathfcfc774022docs/scripts/gdb: add necessary make scripts_gdb step540c66180adrm/msm/dsi: Add missing check for alloc_ordered_workqueued473c55ce1drm: amd: display: Fix memory leakagece9e9d3dcbdrm/radeon: free iio for atombios when driver shutdown819d8dba03drm/tiny: ili9486: Do not assume 8-bit only SPI controllersbc919c866dHID: Add Mapping for System Microphone Mutef4cb425252drm/omap: dsi: Fix excessive stack usage9f73793b81drm/amd/display: Fix potential null-deref in dm_resume348cc9ab33Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CEe974e8f1e3PM: EM: fix memory leak with using debugfs_lookup()0c2b778edduaccess: Add minimum bounds check on kernel buffer sized80f947bb3coda: Avoid partial allocation of sig_inputArgs206c511e42net/mlx5: fw_tracer: Fix debug print1ef724fed3ACPI: video: Fix Lenovo Ideapad Z570 DMI match46ce77b07cwifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup7873def499m68k: Check syscall_trace_enter() return code8418813205net: bcmgenet: Add a check for oversized packets1fc9760afdcrypto: hisilicon: Wipe entire pool on error2fc7748d48clocksource: Suspend the watchdog temporarily when high read latency detected94933dab75ACPI: Don't build ACPICA with '-Os'9f1865ebfaice: add missing checks for PF vsi typeb33091fc28inet: fix fast path in __inet_hash_connect()47dc1f425awifi: mt7601u: fix an integer underflow0ca2efea4fwifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds4707c94f7fx86/bugs: Reset speculation control settings on init6ef02cdb5atimers: Prevent union confusion from unexpected restart_syscall()781bff0a53thermal: intel: Fix unsigned comparison with less than zero744e538dcfwifi: ath11k: debugfs: fix to work with multiple PCI devicesd99d194e2frcu-tasks: Make rude RCU-Tasks work well with CPU hotplug2bf501f1bcrcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()f5657f3306rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checksd6ef66194bwifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()99ff971b62wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()6e291810feblk-iocost: fix divide by 0 error in calc_lcoefs()199624f314ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phyf34cc701eaudf: Define EFSCORRUPTED error code91f9d70871rpmsg: glink: Avoid infinite loop on intent for missing channel2b72ceef17media: saa7134: Use video_unregister_device for radio_dev42f8ba8355media: usb: siano: Fix use after free bugs caused by do_submit_urbcc2f9c8eb1media: i2c: ov7670: 0 instead of -EINVAL was returned78da5a378bmedia: rc: Fix use-after-free bugs caused by ene_tx_irqsim()c6c3b4ae31media: i2c: imx219: Fix binning for RAW8 capturea34288e3a1media: i2c: imx219: Split common registers from mode tables09a0410886media: i2c: imx219: remove redundant writesdfaafeb8e9media: i2c: ov772x: Fix memleak in ov772x_probe()bcae9115a1media: ov5675: Fix memleak in ov5675_init_controls()a163ee1134media: ov2740: Fix memleak in ov2740_init_controls()505ff3a0c5media: max9286: Fix memleak in max9286_v4l2_register()f3e10a3437builddeb: clean generated package content55f3bca25dpowerpc: Remove linker flag from KBUILD_AFLAGSb74aaa314fmedia: platform: ti: Add missing check for devm_regulator_getc7a218cbf6media: ti: cal: fix possible memory leak in cal_ctx_create()0a2e2674f7remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers7e5bc675ebInput: iqs269a - do not poll during ATI65e39fdce1Input: iqs269a - do not poll during suspend or resumeb0b84fd32calpha/boot/tools/objstrip: fix the check for ELF header4cab7debf3vdpa/mlx5: Don't clear mr struct on destroy MRbccccd43a0MIPS: vpe-mt: drop physical_memsize132203ce40MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set6fc6d29be8powerpc/eeh: Set channel state after notifying the driversdfc41e3859powerpc/eeh: Small refactor of eeh_handle_normal_event()386cc2af90powerpc/rtas: ensure 4KB alignment for rtas_data_bufc9a299f2f4powerpc/rtas: make all exports GPL7afd768784powerpc/pseries/lparcfg: add missing RTAS retry status handlingdf995aef64powerpc/pseries/lpar: add missing RTAS retry status handling9626f83a6epowerpc/perf/hv-24x7: add missing RTAS retry status handling831a2d8de1clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()4f060379aapowerpc/powernv/ioda: Skip unallocated resources when mapping to PE15fed9258bclk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC241048adcbclk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC1957c5b5ecInput: ads7846 - don't check penirq immediately for 78458d9b9e56c2Input: ads7846 - always set last command to PWRDOWNd247f3527bInput: ads7846 - convert to one messagea6c4384446Input: ads7846 - convert to full duplex7f2034b9b0Input: ads7846 - don't report pressure for ads7845092effd9f9clk: imx: avoid memory leak092f17eca8clk: renesas: cpg-mssr: Remove superfluous check in resume code7beb9b4538clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed44a2a912c7linux/kconfig.h: replace IF_ENABLED() with PTR_IF() in <linux/kernel.h>9a6dca86cfInput: iqs269a - configure device with a single block writeb7afc359f6Input: iqs269a - increase interrupt handler return delaya6a70ab2bbInput: iqs269a - drop unused device node referencesb7fb5b5d2cmtd: rawnand: sunxi: Fix the size of the last OOB regionc90fa32bd4RISC-V: fix funct4 definition for c.jalr in parse_asm.hc7950aa872clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents7fd6fd898bclk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents3ee13bdf0dmfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()8a041377a4objtool: add UACCESS exceptions for __tsan_volatile_read/write455cf05161printf: fix errname.c listb18946a9ceselftests/ftrace: Fix bash specific "==" operatorb8dc9f6fdesparc: allow PM configs for sparc32 COMPILE_TEST93925ab9ddperf tools: Fix auto-complete on aarch641d6101d922leds: led-core: Fix refcount leak in of_led_get()071b7f5720perf llvm: Fix inadvertent file creationdeece7bd60gfs2: jdata writepage fixcfd85a0922cifs: Fix warning and UAF when destroy the MR listcaac205e0dcifs: Fix lost destroy smbd connection when MR allocate failed9e8ccaf4ffnfsd: fix race to check ls_layoutse73640184chid: bigben_probe(): validate report countfddde36316HID: bigben: use spinlock to safely schedule workersec8b79668eHID: bigben_worker() remove unneeded check on report_field2ca8ae5cf6HID: bigben: use spinlock to protect concurrent accessesf69065e1bdASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declaredc785a87d9aspi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()ac3a513d4fNFS: fix disabling of swap242df51a82nfs4trace: fix state manager flag printing6d434b4c49NFSv4: keep state manager thread active if swap is enabledd601f78282NFS: Fix up handling of outstanding layoutcommit in nfs_update_inode()c550f65a54dm: remove flush_scheduled_work() during local_exit()f23a4b9bf8ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init4c6d18ea71hwmon: (mlxreg-fan) Return zero speed for broken fana79f1e71e7spi: bcm63xx-hsspi: Fix multi-bit mode setting59b0ce292aspi: bcm63xx-hsspi: fix pm_runtimeca769960cbscsi: aic94xx: Add missing check for dma_map_single()30c7c72b6cscsi: mpt3sas: Fix a memory leak0cb8a92a88drm/amdgpu: fix enum odm_combine_mode mismatch859bdc96bahwmon: (ltc2945) Handle error case in ltc2945_value_stored9bcf67b8bASoC: dt-bindings: meson: fix gx-card codec node regexb4d74716daASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()ce07bbe038ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()d8f5539b5eASoC: mchp-spdifrx: fix controls that works with completion mechanism45956f1764ASoC: mchp-spdifrx: fix return value in case completion times out426423ed55ASoC: atmel: fix spelling mistakes1983a70778ASoC: mchp-spdifrx: fix controls which rely on rsr registerb33ca7b7bbspi: dw_bt1: fix MUX_MMIO dependencies33033f392dgpio: vf610: connect GPIO label to dev namef2f6e683d9ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()6a89ddee16drm/mediatek: Clean dangling pointer on bind error pathb64b6dff15drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc3a50d86696drm/mediatek: Drop unbalanced obj unref55bc7babc0drm/mediatek: Use NULL instead of 0 for NULL pointerda5fd53999drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmdcfd710a7e5gpu: host1x: Don't skip assigning syncpoints to channels53f98ffcd8pinctrl: mediatek: Initialize variable *buf to zerod2eb2e7125pinctrl: mediatek: Initialize variable pullen and pullup to zeroa46d29437bpinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()49907c8873drm/msm/mdp5: Add check for kzalloce9743b3052drm/msm/dpu: Add check for pstates31f2f8de0edrm/msm/dpu: Add check for cstate70bc4db1fbdrm/msm: use strscpy instead of strncpy23770064a3drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness10c58ca62adrm/bridge: lt9611: pass a pointer to the of nodeffd4cbd7eadrm/bridge: lt9611: fix clock calculationaa37ec52c1drm/bridge: lt9611: fix programming of video modesbffd007802drm/bridge: lt9611: fix polarity programming3c865a0146drm/bridge: lt9611: fix HPD reenablement88618e800adrm/bridge: lt9611: fix sleep mode setup8dbd54d679drm/msm/dpu: Disallow unallocated resources to be returned42fdae9f59ALSA: hda/ca0132: minor fix for allocation sizeb26bd7791fdrm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()a3bf72eab8ASoC: fsl_sai: initialize is_dsp_mode flagd4438cbd9cdrm/vc4: hdmi: Correct interlaced timings again15a6be1011drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5bc65127ba4drm/vc4: hvs: Set AXI panic modesd562054a3apinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups3dd6f15938pinctrl: rockchip: do coding style for mux route struct6da121152apinctrl: rockchip: add support for rk35688ab860dd87pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain86704e50ffpinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins1bab31a096drm/msm/hdmi: Add missing check for alloc_ordered_workqueue8eb74bd9c9gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()fdcacfd110drm: tidss: Fix pixel format definition2adbcf94ebdrm/vc4: dpi: Fix format mapping for RGB56509c6e21d6adrm/vc4: dpi: Add option for inverting pixel clock and output enable0b8f390e22drm/vkms: Fix null-ptr-deref in vkms_release()5b9bcb33cfdrm/bridge: megachips: Fix error handling in i2c_register_driver()181fb5efb6drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXCa86bd12bd9drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats5ae70041a6drm: Fix potential null-ptr-deref due to drmm_mode_config_init()8f06907f9fsefltests: netdevsim: wait for devlink instance after netns removal6038e45879selftest: fib_tests: Always cleanup before exite1c848d9ddnet: bcmgenet: fix MoCA LED control4a413d3609l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()5663df2062selftests/net: Interpret UDP_GRO cmsg data as an int value7cefa69222irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts27a601623dirqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts9f487d888ebpf: Fix global subprog context argument resolution logic3e8733949fcan: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus errore02bc49288thermal/drivers/hisi: Drop second sensor hi36603856f75597wifi: mac80211: make rate u32 in sta_set_rate_info_rx()f333346001crypto: crypto4xx - Call dma_unmap_page when doneb10827bce7selftests/bpf: Fix out-of-srctree buildd7c5ecbc49wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()3185d6cfc5wifi: iwl4965: Add missing check for create_singlethread_workqueue()2f80b3ff92wifi: iwl3945: Add missing check for create_singlethread_workqueue5da95a7eb9RISC-V: time: initialize hrtimer based broadcast clock event devicedabc22a30dm68k: /proc/hardware should depend on PROC_FSc9c8714226crypto: rsa-pkcs1pad - Use akcipher_request_completeeb209a35d3rds: rds_rm_zerocopy_callback() correct order for list_add_tail()b7aa7fbc16libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()b8ed41cc04Bluetooth: L2CAP: Fix potential user-after-free4f4c970a05OPP: fix error checking in opp_migrate_dentry()4a9272a864tap: tap_open(): correctly initialize socket uid9a31af61f3tun: tun_chr_open(): correctly initialize socket uid2416abd6banet: add sock_init_data_uid()4a614a68d9s390/vmem: fix empty page tables cleanup under KASANdf8d3536b6irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probecee12e8be8irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probec9aaf4efe1irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domainsb00baffcc2irqchip: Fix refcount leak in platform_irqchip_probe9cc2a41c58net/mlx5: Enhance debug print in page allocation failure94c4eafbbdbpftool: profile online CPUs instead of possible627e140a5bcrypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware959bd9d42acrypto: ccp - Refactor out sev_fw_alloc()6952629bedleds: led-class: Add missing put_device() to led_put()92a07ba4f0crypto: xts - Handle EBUSY correctly1198484164net: ethernet: ti: add missing of_node_put before return80c81aafc9net: ethernet: ti: am65-cpsw: handle deferred probe with dev_err_probe()37f0ca73fenet: ethernet: ti: am65-cpsw: fix tx csum offload for multi mac mode8e83e1619fx86/microcode: Adjust late loading result reporting message511e27e5fdx86/microcode: Check CPU capabilities after late microcode update correctly89e848bb4ax86/microcode: Add a parameter to microcode_check() to store CPU capabilitiesf5e78fa916x86/microcode: Print previous version of microcode after reloade623080668x86/microcode: Default-disable late loading9e56938f20x86/microcode: Rip out the OLD_INTERFACE8078a170bax86: Mark stop_this_cpu() __noreturn3900b7de1dx86/microcode: Replace deprecated CPU-hotplug functions.2e3bd75f64x86/cpu: Init AP exception handling from cpu_init_secondary()0e7a569929powercap: fix possible name leak in powercap_register_zone()ae849d2f48crypto: seqiv - Handle EBUSY correctly796e02cca3crypto: essiv - Handle EBUSY correctly62d428c9fecrypto: ccp - Failure on re-initialization due to duplicate sysfs filename6fb7dead79ACPI: battery: Fix missing NUL-termination with large strings45a1ca6f3awifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()137963e3b9wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup78b56b0a61wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()f26dd69f61wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails5668e63e26ath9k: htc: clean up statistics macros221f9bd5ecath9k: hif_usb: simplify if-if to if-elseec246dfe00wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback functionb44178e718wifi: orinoco: check return value of hermes_write_wordrec()430f9f9becwifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU695f1d9431thermal/drivers/tsens: Sort out msm8976 vs msm8956 data40f62ff0d7thermal/drivers/tsens: Add compat string for the qcom,msm8960a9f2002484thermal/drivers/qcom/tsens_v1: Enable sensor 3 on MSM8976e6ec7fa688thermal/drivers/tsens: Drop msm8976-specific defines5419cd28c8ACPICA: nsrepair: handle cases without a return value correctly4c33e01fe1crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID24c5300f6f5crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leakdaaec051cdcrypto: ccp: Use the stack and common buffer for status commandsc997b509fdcrypto: ccp: Use the stack for small SEV command buffers318dd6f5b7lib/mpi: Fix buffer overrun when SG is too long1c37e86a78rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()ad410f64f7rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() callsb02b6bb83crcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purposea4935bb734genirq: Fix the return type of kstat_cpu_irqs_sum()5562585c4aACPICA: Drop port I/O validation for some regions6e43b2d9d1crypto: x86/ghash - fix unaligned access in ghash_setkey()f6e429cde9wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()93b8809be5wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()2ddb1820bdwifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()647230e71ewifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()0258757caawifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()b4b4447481wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()e08e6812efwifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()a1e94fb4d0wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()8a2eb9d9d0wifi: ipw2200: fix memory leak in ipw_wdev_init()841ae9b924wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()3938f01405libbpf: Fix btf__align_of() by taking into account field offsets1e950b9a84wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()d4fddfd728rtlwifi: fix -Wpointer-sign warning75f4eed70awifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()9c8f50c743wifi: libertas: fix memory leak in lbs_init_adapter()e9ef5631ddwifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()0e5b782c1cwifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()97018e737bwifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()d85d0b1a61wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()efc8df9705wifi: rsi: Fix memory leak in rsi_coex_attach()0a82c1e057block: bio-integrity: Copy flags when bio_integrity_payload is cloned895cb50196x86/perf/zhaoxin: Add stepping check for ZXC80a1751730sched/rt: pick_next_rt_entity(): check list_entry53dbbe3634sched/deadline,rt: Remove unused parameter from pick_next_[rt|dl]_entity()a50e28d433s390/dasd: Fix potential memleak in dasd_eckd_init()72aebdac39s390/dasd: Prepare for additional path event handlinga33c33593bblk-mq: correct stale comment of .get_budget2c58012d96blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx12bcc4ec54blk-mq: avoid sleep in blk_mq_alloc_request_hctxd7cf3864d7arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm nodee874629c5fARM: dts: imx7s: correct iomuxc gpr mux controller cellsbbddc7c708ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO referencea451c1377aarm64: dts: renesas: beacon-renesom: Fix gpio expander reference4c37a37743arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node namec39c3ed4a3arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name269fd2fb04arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name373bb505ffarm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name1c30db46ddarm64: dts: amlogic: meson-gx: add missing unit address to rng node name436060c1b6arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property6a46320f2aarm64: dts: amlogic: meson-gx: add missing SCPI sensors compatibleeb5f2c5657arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node namea7163b258aarm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name14736f2eaeARM: imx: Call ida_simple_remove() for ida_simple_get23134f7a54ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato5325b8a120arm64: dts: ti: k3-j7200: Fix wakeup pinmux range4811cfd286ARM: s3c: fix s3c64xx_set_timer_source prototype66315db914ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()1fa673af0aarm64: dts: meson: remove CPU opps below 1GHz for G12A boardsc56595b948arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names192cb335d8arm64: dts: qcom: ipq8074: fix Gen3 PCIe nodee839d027d7arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges77970cf389arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY9b5b1652e3arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size8f1cb871f9arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes7ee2ca51e3arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names5633e86ccearm64: dts: meson-gx: Fix the SCPI DVFS node name and unit addressbd55aa16bfarm64: dts: meson-g12a: Fix internal Ethernet PHY unit name8303a34fcearm64: dts: meson-gx: Fix Ethernet MAC address unit name2df155a114arm64: dts: qcom: sc7180: correct SPMI bus address cells64b69cb420arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name717aa39846arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description227f8c1c5cARM: zynq: Fix refcount leak in zynq_early_slcr_init644688a921arm64: dts: qcom: qcs404: use symbol names for PCIe resets4862c41d5fARM: OMAP2+: Fix memory leak in realtime_counter_init()e1bb97947cpowerpc/mm: Rearrange if-else block to avoid clang warning21a2eec4a4HID: asus: use spinlock to safely schedule workers6a63a3334aHID: asus: use spinlock to protect concurrent accessescb8382c371HID: asus: Remove check for same LED brightness on set9fd42770b5Linux 5.10.172da24142b1eio_uring: ensure that io_init_req() passes in the right issue_flagsa02b4a8660Revert "nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property"d480976b05Revert "nvmem: core: remove nvmem_config wp_gpio"a4160f76c7Revert "nvmem: core: fix cleanup after dev_set_name()"07d89b34a9Revert "nvmem: core: fix registration vs use race"365c551e77Revert "nvmem: core: fix return value"a25aa776b0Linux 5.10.17108681391b8io_uring: add missing lock in io_get_file_fixed218925bfd5USB: core: Don't hold device lock while reading the "descriptors" sysfs filec5360eec64usb: gadget: u_serial: Add null pointer check in gserial_resumecebcd4300aUSB: serial: option: add support for VW/Skoda "Carstick LTE"87c647def3drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling0a4181b23adrm/virtio: Fix NULL vs IS_ERR checking in virtio_gpu_object_shmem_inita401ef0557scripts/tags.sh: fix incompatibility with PCRE265c07e15f2scripts/tags.sh: Invoke 'realpath' via 'xargs'1c44109c30md: Flush workqueue md_rdev_misc_wq in md_alloc()80653a6e6evc_screen: don't clobber return value in vcs_read3e4bbd1f38net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().a2957adbf3bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state75fbe1e435HID: core: Fix deadloop in hid_apply_multiplier.2fd5059f4fneigh: make sure used and confirmed times are valid065f6a6633IB/hfi1: Assign npages earlier6195cea4c7btrfs: send: limit number of clones and allocated memory size8e833fe47fACPI: NFIT: fix a potential deadlock during NFIT teardownabbf52efadARM: dts: rockchip: add power-domains property to dp node on rk32881f3a209b2farm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc887975834dFix XFRM-I support for nested ESP tunnels0caf8151c2Merge 5.10.169 into android12-5.10-ltsbb0ae42d0bRevert "Revert "nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property""22d269bb30Linux 5.10.17012e3119a87bpf: add missing header file includec44e96d6c3Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"1ba10d3640ext4: Fix function prototype mismatch for ext4_feat_ktype01e652f03aaudit: update the mailing list in MAINTAINERSe1dc3f102awifi: mwifiex: Add missing compatible string for SD87874311ad1e76nbd: fix possible overflow on 'first_minor' in nbd_dev_add()2e0c3e43ebnbd: fix possible overflow for 'first_minor' in nbd_dev_add()fd8107206anbd: fix max value for 'first_minor'f3f6b33b77Revert "Revert "block: nbd: add sanity check for first_minor""3b6ce54cfauaccess: Add speculation barrier to copy_from_user()267f62b7f3mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh3d743415c6drm/i915/gvt: fix double free bug in split_2MB_gtt_entryb50f6fc9d7powerpc: dts: t208x: Disable 10G on MAC1 and MAC26a3fb887dacan: kvaser_usb: hydra: help gcc-13 to figure out cmd_len1b0cafaae8KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRSc41d856b70KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valida7ef904b68KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception119e75d8ferandom: always mix cycle counter in add_latent_entropy()2da1f95085clk: mxl: syscon_node_to_regmap() returns error pointers1423d88753powerpc: dts: t208x: Mark MAC1 and MAC2 as 10Gcaa47d9173clk: mxl: Fix a clk entry by adding relevant flags9dcf2ca5d3clk: mxl: Add option to override gate clks3789e905f4clk: mxl: Remove redundant spinlocks072eb5fbd6clk: mxl: Switch from direct readl/writel based IO to regmap based IO051d73eb9awifi: rtl8xxxu: gen2: Turn on the rate controleb9236d74cdrm/etnaviv: don't truncate physical page address2ae7379698Linux 5.10.169e953810345nvmem: core: fix return valuec00867afe4net: sched: sch: Fix off by one in htb_activate_prios()31167df7c2ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak6af2872cc6alarmtimer: Prevent starvation by small intervals and SIG_IGN6416c2108bkvm: initialize all of the kvm_debugregs structure before sending it to userspace4fe9950815net/sched: tcindex: search key must be 16 bitsb452e20b95i40e: Add checking for null for nlmsg_find_attr()5dfa51dbfcnet/sched: act_ctinfo: use percpu stats015ea70d72flow_offload: fill flags to action structure1d76a84448drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list210e601180drm/i915/gen11: Moving WAs to icl_gt_workarounds_init()0ee5ed0126nilfs2: fix underflow in second superblock position calculations7546fb3554ipv6: Fix tcp socket connection with DSCP.5337bb508bipv6: Fix datagram socket connection with DSCP.1a4a5fd652ixgbe: add double of VLAN header when computing the max MTU7ff0fdba82net: mpls: fix stale pointer if allocation fails during device rename2dd914105anet: stmmac: Restrict warning on disabling DMA store and fwd mode7eb8ebb5e8bnxt_en: Fix mqprio and XDP ring checking logiccc7ca4871anet: stmmac: fix order of dwmac5 FlexPPS parametrization sequencec0f65ee0a3net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()525bdcb083net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path9d68bfa220dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.eb8e9d8572net/sched: tcindex: update imperfect hash filters respecting rcu747a17e25asctp: sctp_sock_filter(): avoid list_entry() on possibly empty lista5c51e0c32net: bgmac: fix BCM5358 support by setting correct flags23974088fdi40e: add double of VLAN header when computing the max MTU152a5f32acixgbe: allow to increase MTU to 3K with XDP enabled3a63392c19revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"e2bf52ff15net: Fix unwanted sign extension in netdev_stats_to_stats64()1933be146cRevert "mm: Always release pages to the buddy allocator in memblock_free_late()."9662320238hugetlb: check for undefined shift on 32 bit architecturesec9c7aa088sched/psi: Fix use-after-free in ep_remove_wait_queue()7ed5c14722ALSA: hda/realtek - fixed wrong gpio assigned59d5c80ce5ALSA: hda/conexant: add a new hda codec SN61800b3edcb24bmmc: mmc_spi: fix error handling in mmc_spi_probe()30716d9f0fmmc: sdio: fix possible resource leaks in some error paths73ad25c50dmmc: jz4740: Work around bug on JZ4760(B)eaba3f9b67netfilter: nft_tproxy: restrict to prerouting hook6618b0dcf2ovl: remove privs in ovl_fallocate()f6f94837d9ovl: remove privs in ovl_copyfile()645df4047bs390/signal: fix endless loop in do_signalc261f798f7aio: fix mremap after fork null-deref2dcb474af1nvmem: core: fix registration vs use race23676ecd2envmem: core: fix cleanup after dev_set_name()89991ededcnvmem: core: remove nvmem_config wp_gpioa19a0f67dbnvmem: core: add error handling for dev_set_name25f65c83f5platform/x86: touchscreen_dmi: Add Chuwi Vi8 (CWI501) DMI matchecf5b49df3nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association55dbd6f4eas390/decompressor: specify __decompress() buf len to avoid overflow90fcf55d83net: sched: sch: Bounds check priority614a58e00dnet: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoCaa84a8cc1bnet/rose: Fix to not accept on connected socket37bb61763dtools/virtio: fix the vringh test for virtio ring changes3ec44268e2ASoC: cs42l56: fix DT probe7fc4e7191eALSA: hda: Do not unset preset when cleaning up codec490fcbc7b5selftests/bpf: Verify copy_register_state() preserves parent/live fields7d3a5ec579ASoC: Intel: sof_rt5682: always set dpcm_capture for amplifiers Update the .xml file to handle the ABI update in the LTS branch: Leaf changes summary: 1 artifact changed Changed leaf types summary: 0 leaf type changed Removed/Changed/Added functions summary: 0 Removed, 1 Changed, 0 Added function Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 1 function with some sub-type change: [C] 'function irq_domain* __irq_domain_add(fwnode_handle*, int, irq_hw_number_t, int, const irq_domain_ops*, void*)' at irqdomain.c:229:1 has some sub-type changes: parameter 2 of type 'int' changed: type name changed from 'int' to 'unsigned int' type size hasn't changed Change-Id: I0a63ed2e6b2f1871671f8341f3c3b431592fcd64 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -52,7 +52,7 @@ Date: Dec 2014
|
||||
KernelVersion: 4.0
|
||||
Description: Default output terminal descriptors
|
||||
|
||||
All attributes read only:
|
||||
All attributes read only except bSourceID:
|
||||
|
||||
============== =============================================
|
||||
iTerminal index of string descriptor
|
||||
|
||||
@@ -82,6 +82,8 @@ Brief summary of control files.
|
||||
memory.swappiness set/show swappiness parameter of vmscan
|
||||
(See sysctl's vm.swappiness)
|
||||
memory.move_charge_at_immigrate set/show controls of moving charges
|
||||
This knob is deprecated and shouldn't be
|
||||
used.
|
||||
memory.oom_control set/show oom controls.
|
||||
memory.numa_stat show the number of memory usage per numa
|
||||
node
|
||||
@@ -740,8 +742,15 @@ NOTE2:
|
||||
It is recommended to set the soft limit always below the hard limit,
|
||||
otherwise the hard limit will take precedence.
|
||||
|
||||
8. Move charges at task migration
|
||||
=================================
|
||||
8. Move charges at task migration (DEPRECATED!)
|
||||
===============================================
|
||||
|
||||
THIS IS DEPRECATED!
|
||||
|
||||
It's expensive and unreliable! It's better practice to launch workload
|
||||
tasks directly from inside their target cgroup. Use dedicated workload
|
||||
cgroups to allow fine-grained policy adjustments without having to
|
||||
move physical pages between control domains.
|
||||
|
||||
Users can move charges associated with a task along with task migration, that
|
||||
is, uncharge task's pages from the old cgroup and charge them to the new cgroup.
|
||||
|
||||
@@ -479,8 +479,16 @@ Spectre variant 2
|
||||
On Intel Skylake-era systems the mitigation covers most, but not all,
|
||||
cases. See :ref:`[3] <spec_ref3>` for more details.
|
||||
|
||||
On CPUs with hardware mitigation for Spectre variant 2 (e.g. Enhanced
|
||||
IBRS on x86), retpoline is automatically disabled at run time.
|
||||
On CPUs with hardware mitigation for Spectre variant 2 (e.g. IBRS
|
||||
or enhanced IBRS on x86), retpoline is automatically disabled at run time.
|
||||
|
||||
Systems which support enhanced IBRS (eIBRS) enable IBRS protection once at
|
||||
boot, by setting the IBRS bit, and they're automatically protected against
|
||||
Spectre v2 variant attacks, including cross-thread branch target injections
|
||||
on SMT systems (STIBP). In other words, eIBRS enables STIBP too.
|
||||
|
||||
Legacy IBRS systems clear the IBRS bit on exit to userspace and
|
||||
therefore explicitly enable STIBP for that
|
||||
|
||||
The retpoline mitigation is turned on by default on vulnerable
|
||||
CPUs. It can be forced on or off by the administrator
|
||||
@@ -504,9 +512,12 @@ Spectre variant 2
|
||||
For Spectre variant 2 mitigation, individual user programs
|
||||
can be compiled with return trampolines for indirect branches.
|
||||
This protects them from consuming poisoned entries in the branch
|
||||
target buffer left by malicious software. Alternatively, the
|
||||
programs can disable their indirect branch speculation via prctl()
|
||||
(See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
|
||||
target buffer left by malicious software.
|
||||
|
||||
On legacy IBRS systems, at return to userspace, implicit STIBP is disabled
|
||||
because the kernel clears the IBRS bit. In this case, the userspace programs
|
||||
can disable indirect branch speculation via prctl() (See
|
||||
:ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
|
||||
On x86, this will turn on STIBP to guard against attacks from the
|
||||
sibling thread when the user program is running, and use IBPB to
|
||||
flush the branch target buffer when switching to/from the program.
|
||||
|
||||
@@ -312,10 +312,10 @@ define dmesg
|
||||
set var $prev_flags = $info->flags
|
||||
end
|
||||
|
||||
set var $id = ($id + 1) & $id_mask
|
||||
if ($id == $end_id)
|
||||
loop_break
|
||||
end
|
||||
set var $id = ($id + 1) & $id_mask
|
||||
end
|
||||
end
|
||||
document dmesg
|
||||
|
||||
@@ -39,6 +39,10 @@ Setup
|
||||
this mode. In this case, you should build the kernel with
|
||||
CONFIG_RANDOMIZE_BASE disabled if the architecture supports KASLR.
|
||||
|
||||
- Build the gdb scripts (required on kernels v5.1 and above)::
|
||||
|
||||
make scripts_gdb
|
||||
|
||||
- Enable the gdb stub of QEMU/KVM, either
|
||||
|
||||
- at VM startup time by appending "-s" to the QEMU command line
|
||||
|
||||
@@ -61,7 +61,7 @@ patternProperties:
|
||||
description: phandle of the CPU DAI
|
||||
|
||||
patternProperties:
|
||||
"^codec-[0-9]+$":
|
||||
"^codec(-[0-9]+)?$":
|
||||
type: object
|
||||
description: |-
|
||||
Codecs:
|
||||
|
||||
@@ -1188,7 +1188,7 @@ defined:
|
||||
return
|
||||
-ECHILD and it will be called again in ref-walk mode.
|
||||
|
||||
``_weak_revalidate``
|
||||
``d_weak_revalidate``
|
||||
called when the VFS needs to revalidate a "jumped" dentry. This
|
||||
is called when a path-walk ends at dentry that was not acquired
|
||||
by doing a lookup in the parent directory. This includes "/",
|
||||
|
||||
@@ -2926,7 +2926,7 @@ Produces::
|
||||
bash-1994 [000] .... 4342.324898: ima_get_action <-process_measurement
|
||||
bash-1994 [000] .... 4342.324898: ima_match_policy <-ima_get_action
|
||||
bash-1994 [000] .... 4342.324899: do_truncate <-do_last
|
||||
bash-1994 [000] .... 4342.324899: should_remove_suid <-do_truncate
|
||||
bash-1994 [000] .... 4342.324899: setattr_should_drop_suidgid <-do_truncate
|
||||
bash-1994 [000] .... 4342.324899: notify_change <-do_truncate
|
||||
bash-1994 [000] .... 4342.324900: current_fs_time <-notify_change
|
||||
bash-1994 [000] .... 4342.324900: current_kernel_time <-current_fs_time
|
||||
|
||||
@@ -4036,6 +4036,18 @@ not holding a previously reported uncorrected error).
|
||||
:Parameters: struct kvm_s390_cmma_log (in, out)
|
||||
:Returns: 0 on success, a negative value on error
|
||||
|
||||
Errors:
|
||||
|
||||
====== =============================================================
|
||||
ENOMEM not enough memory can be allocated to complete the task
|
||||
ENXIO if CMMA is not enabled
|
||||
EINVAL if KVM_S390_CMMA_PEEK is not set but migration mode was not enabled
|
||||
EINVAL if KVM_S390_CMMA_PEEK is not set but dirty tracking has been
|
||||
disabled (and thus migration mode was automatically disabled)
|
||||
EFAULT if the userspace address is invalid or if no page table is
|
||||
present for the addresses (e.g. when using hugepages).
|
||||
====== =============================================================
|
||||
|
||||
This ioctl is used to get the values of the CMMA bits on the s390
|
||||
architecture. It is meant to be used in two scenarios:
|
||||
|
||||
@@ -4116,12 +4128,6 @@ mask is unused.
|
||||
|
||||
values points to the userspace buffer where the result will be stored.
|
||||
|
||||
This ioctl can fail with -ENOMEM if not enough memory can be allocated to
|
||||
complete the task, with -ENXIO if CMMA is not enabled, with -EINVAL if
|
||||
KVM_S390_CMMA_PEEK is not set but migration mode was not enabled, with
|
||||
-EFAULT if the userspace address is invalid or if no page table is
|
||||
present for the addresses (e.g. when using hugepages).
|
||||
|
||||
4.108 KVM_S390_SET_CMMA_BITS
|
||||
----------------------------
|
||||
|
||||
|
||||
@@ -302,6 +302,10 @@ Allows userspace to start migration mode, needed for PGSTE migration.
|
||||
Setting this attribute when migration mode is already active will have
|
||||
no effects.
|
||||
|
||||
Dirty tracking must be enabled on all memslots, else -EINVAL is returned. When
|
||||
dirty tracking is disabled on any memslot, migration mode is automatically
|
||||
stopped.
|
||||
|
||||
:Parameters: none
|
||||
:Returns: -ENOMEM if there is not enough free memory to start migration mode;
|
||||
-EINVAL if the state of the VM is invalid (e.g. no memory defined);
|
||||
|
||||
@@ -3001,7 +3001,7 @@ F: drivers/net/ieee802154/atusb.h
|
||||
AUDIT SUBSYSTEM
|
||||
M: Paul Moore <paul@paul-moore.com>
|
||||
M: Eric Paris <eparis@redhat.com>
|
||||
L: linux-audit@redhat.com (moderated for non-subscribers)
|
||||
L: audit@vger.kernel.org
|
||||
S: Supported
|
||||
W: https://github.com/linux-audit
|
||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
|
||||
|
||||
13
Makefile
13
Makefile
@@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
VERSION = 5
|
||||
PATCHLEVEL = 10
|
||||
SUBLEVEL = 168
|
||||
SUBLEVEL = 177
|
||||
EXTRAVERSION =
|
||||
NAME = Dare mighty things
|
||||
|
||||
@@ -93,9 +93,16 @@ endif
|
||||
|
||||
# If the user is running make -s (silent mode), suppress echoing of
|
||||
# commands
|
||||
# make-4.0 (and later) keep single letter options in the 1st word of MAKEFLAGS.
|
||||
|
||||
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
|
||||
quiet=silent_
|
||||
ifeq ($(filter 3.%,$(MAKE_VERSION)),)
|
||||
silence:=$(findstring s,$(firstword -$(MAKEFLAGS)))
|
||||
else
|
||||
silence:=$(findstring s,$(filter-out --%,$(MAKEFLAGS)))
|
||||
endif
|
||||
|
||||
ifeq ($(silence),s)
|
||||
quiet=silent_
|
||||
endif
|
||||
|
||||
export quiet Q KBUILD_VERBOSE
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -148,7 +148,7 @@ main (int argc, char *argv[])
|
||||
#ifdef __ELF__
|
||||
elf = (struct elfhdr *) buf;
|
||||
|
||||
if (elf->e_ident[0] == 0x7f && str_has_prefix((char *)elf->e_ident + 1, "ELF")) {
|
||||
if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) {
|
||||
if (elf->e_type != ET_EXEC) {
|
||||
fprintf(stderr, "%s: %s is not an ELF executable\n",
|
||||
prog_name, inname);
|
||||
|
||||
@@ -146,10 +146,8 @@ apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab,
|
||||
base = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr;
|
||||
symtab = (Elf64_Sym *)sechdrs[symindex].sh_addr;
|
||||
|
||||
/* The small sections were sorted to the end of the segment.
|
||||
The following should definitely cover them. */
|
||||
gp = (u64)me->core_layout.base + me->core_layout.size - 0x8000;
|
||||
got = sechdrs[me->arch.gotsecindex].sh_addr;
|
||||
gp = got + 0x8000;
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
unsigned long r_sym = ELF64_R_SYM (rela[i].r_info);
|
||||
|
||||
@@ -235,7 +235,21 @@ do_entIF(unsigned long type, struct pt_regs *regs)
|
||||
{
|
||||
int signo, code;
|
||||
|
||||
if ((regs->ps & ~IPL_MAX) == 0) {
|
||||
if (type == 3) { /* FEN fault */
|
||||
/* Irritating users can call PAL_clrfen to disable the
|
||||
FPU for the process. The kernel will then trap in
|
||||
do_switch_stack and undo_switch_stack when we try
|
||||
to save and restore the FP registers.
|
||||
|
||||
Given that GCC by default generates code that uses the
|
||||
FP registers, PAL_clrfen is not useful except for DoS
|
||||
attacks. So turn the bleeding FPU back on and be done
|
||||
with it. */
|
||||
current_thread_info()->pcb.flags |= 1;
|
||||
__reload_thread(¤t_thread_info()->pcb);
|
||||
return;
|
||||
}
|
||||
if (!user_mode(regs)) {
|
||||
if (type == 1) {
|
||||
const unsigned int *data
|
||||
= (const unsigned int *) regs->pc;
|
||||
@@ -368,20 +382,6 @@ do_entIF(unsigned long type, struct pt_regs *regs)
|
||||
}
|
||||
break;
|
||||
|
||||
case 3: /* FEN fault */
|
||||
/* Irritating users can call PAL_clrfen to disable the
|
||||
FPU for the process. The kernel will then trap in
|
||||
do_switch_stack and undo_switch_stack when we try
|
||||
to save and restore the FP registers.
|
||||
|
||||
Given that GCC by default generates code that uses the
|
||||
FP registers, PAL_clrfen is not useful except for DoS
|
||||
attacks. So turn the bleeding FPU back on and be done
|
||||
with it. */
|
||||
current_thread_info()->pcb.flags |= 1;
|
||||
__reload_thread(¤t_thread_info()->pcb);
|
||||
return;
|
||||
|
||||
case 5: /* illoc */
|
||||
default: /* unexpected instruction-fault type */
|
||||
;
|
||||
|
||||
@@ -296,6 +296,7 @@
|
||||
|
||||
&usbotg1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usbotg1>;
|
||||
disable-over-current;
|
||||
srp-disable;
|
||||
hnp-disable;
|
||||
|
||||
@@ -249,7 +249,7 @@
|
||||
i80-if-timings {
|
||||
cs-setup = <0>;
|
||||
wr-setup = <0>;
|
||||
wr-act = <1>;
|
||||
wr-active = <1>;
|
||||
wr-hold = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/ {
|
||||
thermal-zones {
|
||||
cpu_thermal: cpu-thermal {
|
||||
thermal-sensors = <&tmu 0>;
|
||||
thermal-sensors = <&tmu>;
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
trips {
|
||||
|
||||
@@ -605,7 +605,7 @@
|
||||
status = "disabled";
|
||||
|
||||
hdmi_i2c_phy: hdmiphy@38 {
|
||||
compatible = "exynos4210-hdmiphy";
|
||||
compatible = "samsung,exynos4210-hdmiphy";
|
||||
reg = <0x38>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -382,7 +382,6 @@
|
||||
&cpu_thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tmu 0>;
|
||||
};
|
||||
|
||||
&gic {
|
||||
|
||||
@@ -1109,7 +1109,7 @@
|
||||
&cpu_thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tmu 0>;
|
||||
thermal-sensors = <&tmu>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
|
||||
@@ -116,7 +116,6 @@
|
||||
};
|
||||
|
||||
&cpu0_thermal {
|
||||
thermal-sensors = <&tmu_cpu0 0>;
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
|
||||
|
||||
@@ -605,7 +605,7 @@
|
||||
};
|
||||
|
||||
mipi_phy: mipi-video-phy {
|
||||
compatible = "samsung,s5pv210-mipi-video-phy";
|
||||
compatible = "samsung,exynos5420-mipi-video-phy";
|
||||
syscon = <&pmu_system_controller>;
|
||||
#phy-cells = <1>;
|
||||
};
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
thermal-zones {
|
||||
cpu0_thermal: cpu0-thermal {
|
||||
thermal-sensors = <&tmu_cpu0 0>;
|
||||
thermal-sensors = <&tmu_cpu0>;
|
||||
trips {
|
||||
cpu0_alert0: cpu-alert-0 {
|
||||
temperature = <70000>; /* millicelsius */
|
||||
@@ -84,7 +84,7 @@
|
||||
};
|
||||
};
|
||||
cpu1_thermal: cpu1-thermal {
|
||||
thermal-sensors = <&tmu_cpu1 0>;
|
||||
thermal-sensors = <&tmu_cpu1>;
|
||||
trips {
|
||||
cpu1_alert0: cpu-alert-0 {
|
||||
temperature = <70000>;
|
||||
@@ -128,7 +128,7 @@
|
||||
};
|
||||
};
|
||||
cpu2_thermal: cpu2-thermal {
|
||||
thermal-sensors = <&tmu_cpu2 0>;
|
||||
thermal-sensors = <&tmu_cpu2>;
|
||||
trips {
|
||||
cpu2_alert0: cpu-alert-0 {
|
||||
temperature = <70000>;
|
||||
@@ -172,7 +172,7 @@
|
||||
};
|
||||
};
|
||||
cpu3_thermal: cpu3-thermal {
|
||||
thermal-sensors = <&tmu_cpu3 0>;
|
||||
thermal-sensors = <&tmu_cpu3>;
|
||||
trips {
|
||||
cpu3_alert0: cpu-alert-0 {
|
||||
temperature = <70000>;
|
||||
@@ -216,7 +216,7 @@
|
||||
};
|
||||
};
|
||||
gpu_thermal: gpu-thermal {
|
||||
thermal-sensors = <&tmu_gpu 0>;
|
||||
thermal-sensors = <&tmu_gpu>;
|
||||
trips {
|
||||
gpu_alert0: gpu-alert-0 {
|
||||
temperature = <70000>;
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
thermal-zones {
|
||||
cpu0_thermal: cpu0-thermal {
|
||||
thermal-sensors = <&tmu_cpu0 0>;
|
||||
thermal-sensors = <&tmu_cpu0>;
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <0>;
|
||||
trips {
|
||||
@@ -139,7 +139,7 @@
|
||||
};
|
||||
};
|
||||
cpu1_thermal: cpu1-thermal {
|
||||
thermal-sensors = <&tmu_cpu1 0>;
|
||||
thermal-sensors = <&tmu_cpu1>;
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <0>;
|
||||
trips {
|
||||
@@ -212,7 +212,7 @@
|
||||
};
|
||||
};
|
||||
cpu2_thermal: cpu2-thermal {
|
||||
thermal-sensors = <&tmu_cpu2 0>;
|
||||
thermal-sensors = <&tmu_cpu2>;
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <0>;
|
||||
trips {
|
||||
@@ -285,7 +285,7 @@
|
||||
};
|
||||
};
|
||||
cpu3_thermal: cpu3-thermal {
|
||||
thermal-sensors = <&tmu_cpu3 0>;
|
||||
thermal-sensors = <&tmu_cpu3>;
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <0>;
|
||||
trips {
|
||||
@@ -358,7 +358,7 @@
|
||||
};
|
||||
};
|
||||
gpu_thermal: gpu-thermal {
|
||||
thermal-sensors = <&tmu_gpu 0>;
|
||||
thermal-sensors = <&tmu_gpu>;
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <0>;
|
||||
trips {
|
||||
|
||||
@@ -580,6 +580,7 @@
|
||||
|
||||
&usbotg1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usbotg1>;
|
||||
disable-over-current;
|
||||
srp-disable;
|
||||
hnp-disable;
|
||||
|
||||
@@ -494,7 +494,7 @@
|
||||
|
||||
mux: mux-controller {
|
||||
compatible = "mmio-mux";
|
||||
#mux-control-cells = <0>;
|
||||
#mux-control-cells = <1>;
|
||||
mux-reg-masks = <0x14 0x00000010>;
|
||||
};
|
||||
|
||||
|
||||
@@ -1203,6 +1203,7 @@
|
||||
clock-names = "dp", "pclk";
|
||||
phys = <&edp_phy>;
|
||||
phy-names = "dp";
|
||||
power-domains = <&power RK3288_PD_VIO>;
|
||||
resets = <&cru SRST_EDP>;
|
||||
reset-names = "dp";
|
||||
rockchip,grf = <&grf>;
|
||||
|
||||
@@ -242,7 +242,7 @@
|
||||
irq-trigger = <0x1>;
|
||||
|
||||
stmpegpio: stmpe-gpio {
|
||||
compatible = "stmpe,gpio";
|
||||
compatible = "st,stmpe-gpio";
|
||||
reg = <0>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
regulator-ramp-delay = <50>; /* 4ms */
|
||||
|
||||
enable-active-high;
|
||||
enable-gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
|
||||
enable-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
|
||||
gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
||||
gpios-states = <0x1>;
|
||||
states = <1100000 0>, <1300000 1>;
|
||||
|
||||
@@ -99,6 +99,7 @@ struct mmdc_pmu {
|
||||
cpumask_t cpu;
|
||||
struct hrtimer hrtimer;
|
||||
unsigned int active_events;
|
||||
int id;
|
||||
struct device *dev;
|
||||
struct perf_event *mmdc_events[MMDC_NUM_COUNTERS];
|
||||
struct hlist_node node;
|
||||
@@ -433,8 +434,6 @@ static enum hrtimer_restart mmdc_pmu_timer_handler(struct hrtimer *hrtimer)
|
||||
static int mmdc_pmu_init(struct mmdc_pmu *pmu_mmdc,
|
||||
void __iomem *mmdc_base, struct device *dev)
|
||||
{
|
||||
int mmdc_num;
|
||||
|
||||
*pmu_mmdc = (struct mmdc_pmu) {
|
||||
.pmu = (struct pmu) {
|
||||
.task_ctx_nr = perf_invalid_context,
|
||||
@@ -452,15 +451,16 @@ static int mmdc_pmu_init(struct mmdc_pmu *pmu_mmdc,
|
||||
.active_events = 0,
|
||||
};
|
||||
|
||||
mmdc_num = ida_simple_get(&mmdc_ida, 0, 0, GFP_KERNEL);
|
||||
pmu_mmdc->id = ida_simple_get(&mmdc_ida, 0, 0, GFP_KERNEL);
|
||||
|
||||
return mmdc_num;
|
||||
return pmu_mmdc->id;
|
||||
}
|
||||
|
||||
static int imx_mmdc_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct mmdc_pmu *pmu_mmdc = platform_get_drvdata(pdev);
|
||||
|
||||
ida_simple_remove(&mmdc_ida, pmu_mmdc->id);
|
||||
cpuhp_state_remove_instance_nocalls(cpuhp_mmdc_state, &pmu_mmdc->node);
|
||||
perf_pmu_unregister(&pmu_mmdc->pmu);
|
||||
iounmap(pmu_mmdc->mmdc_base);
|
||||
@@ -474,7 +474,6 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
|
||||
{
|
||||
struct mmdc_pmu *pmu_mmdc;
|
||||
char *name;
|
||||
int mmdc_num;
|
||||
int ret;
|
||||
const struct of_device_id *of_id =
|
||||
of_match_device(imx_mmdc_dt_ids, &pdev->dev);
|
||||
@@ -497,14 +496,14 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
|
||||
cpuhp_mmdc_state = ret;
|
||||
}
|
||||
|
||||
mmdc_num = mmdc_pmu_init(pmu_mmdc, mmdc_base, &pdev->dev);
|
||||
pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk;
|
||||
if (mmdc_num == 0)
|
||||
name = "mmdc";
|
||||
else
|
||||
name = devm_kasprintf(&pdev->dev,
|
||||
GFP_KERNEL, "mmdc%d", mmdc_num);
|
||||
ret = mmdc_pmu_init(pmu_mmdc, mmdc_base, &pdev->dev);
|
||||
if (ret < 0)
|
||||
goto pmu_free;
|
||||
|
||||
name = devm_kasprintf(&pdev->dev,
|
||||
GFP_KERNEL, "mmdc%d", ret);
|
||||
|
||||
pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk;
|
||||
pmu_mmdc->devtype_data = (struct fsl_mmdc_devtype_data *)of_id->data;
|
||||
|
||||
hrtimer_init(&pmu_mmdc->hrtimer, CLOCK_MONOTONIC,
|
||||
@@ -525,6 +524,7 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
|
||||
|
||||
pmu_register_err:
|
||||
pr_warn("MMDC Perf PMU failed (%d), disabled\n", ret);
|
||||
ida_simple_remove(&mmdc_ida, pmu_mmdc->id);
|
||||
cpuhp_state_remove_instance_nocalls(cpuhp_mmdc_state, &pmu_mmdc->node);
|
||||
hrtimer_cancel(&pmu_mmdc->hrtimer);
|
||||
pmu_free:
|
||||
|
||||
@@ -165,7 +165,7 @@ err_free_pdata:
|
||||
kfree(pdata);
|
||||
|
||||
err_free_pdev:
|
||||
platform_device_unregister(pdev);
|
||||
platform_device_put(pdev);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -76,6 +76,7 @@ static void __init realtime_counter_init(void)
|
||||
}
|
||||
|
||||
rate = clk_get_rate(sys_clk);
|
||||
clk_put(sys_clk);
|
||||
|
||||
if (soc_is_dra7xx()) {
|
||||
/*
|
||||
|
||||
@@ -173,7 +173,8 @@ static struct samsung_pwm_variant s3c64xx_pwm_variant = {
|
||||
.tclk_mask = (1 << 7) | (1 << 6) | (1 << 5),
|
||||
};
|
||||
|
||||
void __init s3c64xx_set_timer_source(unsigned int event, unsigned int source)
|
||||
void __init s3c64xx_set_timer_source(enum s3c64xx_timer_mode event,
|
||||
enum s3c64xx_timer_mode source)
|
||||
{
|
||||
s3c64xx_pwm_variant.output_mask = BIT(SAMSUNG_PWM_NUM) - 1;
|
||||
s3c64xx_pwm_variant.output_mask &= ~(BIT(event) | BIT(source));
|
||||
|
||||
@@ -213,6 +213,7 @@ int __init zynq_early_slcr_init(void)
|
||||
zynq_slcr_regmap = syscon_regmap_lookup_by_compatible("xlnx,zynq-slcr");
|
||||
if (IS_ERR(zynq_slcr_regmap)) {
|
||||
pr_err("%s: failed to find zynq-slcr\n", __func__);
|
||||
of_node_put(np);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
scpi_clocks: clocks {
|
||||
compatible = "arm,scpi-clocks";
|
||||
|
||||
scpi_dvfs: clock-controller {
|
||||
scpi_dvfs: clocks-0 {
|
||||
compatible = "arm,scpi-dvfs-clocks";
|
||||
#clock-cells = <1>;
|
||||
clock-indices = <0>;
|
||||
@@ -160,7 +160,7 @@
|
||||
};
|
||||
|
||||
scpi_sensors: sensors {
|
||||
compatible = "amlogic,meson-gxbb-scpi-sensors";
|
||||
compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1727,7 +1727,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
internal_ephy: ethernet_phy@8 {
|
||||
internal_ephy: ethernet-phy@8 {
|
||||
compatible = "ethernet-phy-id0180.3301",
|
||||
"ethernet-phy-ieee802.3-c22";
|
||||
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
@@ -57,26 +57,6 @@
|
||||
compatible = "operating-points-v2";
|
||||
opp-shared;
|
||||
|
||||
opp-100000000 {
|
||||
opp-hz = /bits/ 64 <100000000>;
|
||||
opp-microvolt = <731000>;
|
||||
};
|
||||
|
||||
opp-250000000 {
|
||||
opp-hz = /bits/ 64 <250000000>;
|
||||
opp-microvolt = <731000>;
|
||||
};
|
||||
|
||||
opp-500000000 {
|
||||
opp-hz = /bits/ 64 <500000000>;
|
||||
opp-microvolt = <731000>;
|
||||
};
|
||||
|
||||
opp-667000000 {
|
||||
opp-hz = /bits/ 64 <666666666>;
|
||||
opp-microvolt = <731000>;
|
||||
};
|
||||
|
||||
opp-1000000000 {
|
||||
opp-hz = /bits/ 64 <1000000000>;
|
||||
opp-microvolt = <731000>;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
io-channel-names = "buttons";
|
||||
keyup-threshold-microvolt = <1800000>;
|
||||
|
||||
update-button {
|
||||
button-update {
|
||||
label = "update";
|
||||
linux,code = <KEY_VENDOR>;
|
||||
press-threshold-microvolt = <1300000>;
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
reg = <0x14 0x10>;
|
||||
};
|
||||
|
||||
eth_mac: eth_mac@34 {
|
||||
eth_mac: eth-mac@34 {
|
||||
reg = <0x34 0x10>;
|
||||
};
|
||||
|
||||
@@ -243,7 +243,7 @@
|
||||
scpi_clocks: clocks {
|
||||
compatible = "arm,scpi-clocks";
|
||||
|
||||
scpi_dvfs: scpi_clocks@0 {
|
||||
scpi_dvfs: clocks-0 {
|
||||
compatible = "arm,scpi-dvfs-clocks";
|
||||
#clock-cells = <1>;
|
||||
clock-indices = <0>;
|
||||
@@ -524,7 +524,7 @@
|
||||
#size-cells = <2>;
|
||||
ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
|
||||
|
||||
hwrng: rng {
|
||||
hwrng: rng@0 {
|
||||
compatible = "amlogic,meson-rng";
|
||||
reg = <0x0 0x0 0x0 0x4>;
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
status {
|
||||
led {
|
||||
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
status {
|
||||
led {
|
||||
label = "n1:white:status";
|
||||
gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "on";
|
||||
|
||||
@@ -75,6 +75,5 @@
|
||||
enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
|
||||
max-speed = <2000000>;
|
||||
clocks = <&wifi32k>;
|
||||
clock-names = "lpo";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -759,7 +759,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
eth-phy-mux {
|
||||
eth-phy-mux@55c {
|
||||
compatible = "mdio-mux-mmioreg", "mdio-mux";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -428,6 +428,7 @@
|
||||
pwm: pwm@11006000 {
|
||||
compatible = "mediatek,mt7622-pwm";
|
||||
reg = <0 0x11006000 0 0x1000>;
|
||||
#pwm-cells = <2>;
|
||||
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>;
|
||||
clocks = <&topckgen CLK_TOP_PWM_SEL>,
|
||||
<&pericfg CLK_PERI_PWM_PD>,
|
||||
|
||||
@@ -205,6 +205,15 @@
|
||||
method = "smc";
|
||||
};
|
||||
|
||||
clk13m: fixed-factor-clock-13m {
|
||||
compatible = "fixed-factor-clock";
|
||||
#clock-cells = <0>;
|
||||
clocks = <&clk26m>;
|
||||
clock-div = <2>;
|
||||
clock-mult = <1>;
|
||||
clock-output-names = "clk13m";
|
||||
};
|
||||
|
||||
clk26m: oscillator {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
@@ -355,8 +364,7 @@
|
||||
"mediatek,mt6765-timer";
|
||||
reg = <0 0x10017000 0 0x1000>;
|
||||
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&topckgen CLK_TOP_CLK13M>;
|
||||
clock-names = "clk13m";
|
||||
clocks = <&clk13m>;
|
||||
};
|
||||
|
||||
gce: mailbox@10238000 {
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
#phy-cells = <0>;
|
||||
clocks = <&gcc GCC_USB1_PIPE_CLK>;
|
||||
clock-names = "pipe0";
|
||||
clock-output-names = "gcc_usb1_pipe_clk_src";
|
||||
clock-output-names = "usb3phy_1_cc_pipe_clk";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
#phy-cells = <0>;
|
||||
clocks = <&gcc GCC_USB0_PIPE_CLK>;
|
||||
clock-names = "pipe0";
|
||||
clock-output-names = "gcc_usb0_pipe_clk_src";
|
||||
clock-output-names = "usb3phy_0_cc_pipe_clk";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -167,34 +167,61 @@
|
||||
resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
|
||||
};
|
||||
|
||||
pcie_phy0: phy@86000 {
|
||||
compatible = "qcom,ipq8074-qmp-pcie-phy";
|
||||
reg = <0x00086000 0x1000>;
|
||||
#phy-cells = <0>;
|
||||
clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
|
||||
clock-names = "pipe_clk";
|
||||
clock-output-names = "pcie20_phy0_pipe_clk";
|
||||
pcie_qmp0: phy@84000 {
|
||||
compatible = "qcom,ipq8074-qmp-gen3-pcie-phy";
|
||||
reg = <0x00084000 0x1bc>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
clocks = <&gcc GCC_PCIE0_AUX_CLK>,
|
||||
<&gcc GCC_PCIE0_AHB_CLK>;
|
||||
clock-names = "aux", "cfg_ahb";
|
||||
resets = <&gcc GCC_PCIE0_PHY_BCR>,
|
||||
<&gcc GCC_PCIE0PHY_PHY_BCR>;
|
||||
reset-names = "phy",
|
||||
"common";
|
||||
status = "disabled";
|
||||
|
||||
pcie_phy0: phy@84200 {
|
||||
reg = <0x84200 0x16c>,
|
||||
<0x84400 0x200>,
|
||||
<0x84800 0x1f0>,
|
||||
<0x84c00 0xf4>;
|
||||
#phy-cells = <0>;
|
||||
#clock-cells = <0>;
|
||||
clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
|
||||
clock-names = "pipe0";
|
||||
clock-output-names = "pcie20_phy0_pipe_clk";
|
||||
};
|
||||
};
|
||||
|
||||
pcie_phy1: phy@8e000 {
|
||||
pcie_qmp1: phy@8e000 {
|
||||
compatible = "qcom,ipq8074-qmp-pcie-phy";
|
||||
reg = <0x0008e000 0x1000>;
|
||||
#phy-cells = <0>;
|
||||
clocks = <&gcc GCC_PCIE1_PIPE_CLK>;
|
||||
clock-names = "pipe_clk";
|
||||
clock-output-names = "pcie20_phy1_pipe_clk";
|
||||
reg = <0x0008e000 0x1c4>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
clocks = <&gcc GCC_PCIE1_AUX_CLK>,
|
||||
<&gcc GCC_PCIE1_AHB_CLK>;
|
||||
clock-names = "aux", "cfg_ahb";
|
||||
resets = <&gcc GCC_PCIE1_PHY_BCR>,
|
||||
<&gcc GCC_PCIE1PHY_PHY_BCR>;
|
||||
reset-names = "phy",
|
||||
"common";
|
||||
status = "disabled";
|
||||
|
||||
pcie_phy1: phy@8e200 {
|
||||
reg = <0x8e200 0x130>,
|
||||
<0x8e400 0x200>,
|
||||
<0x8e800 0x1f8>;
|
||||
#phy-cells = <0>;
|
||||
#clock-cells = <0>;
|
||||
clocks = <&gcc GCC_PCIE1_PIPE_CLK>;
|
||||
clock-names = "pipe0";
|
||||
clock-output-names = "pcie20_phy1_pipe_clk";
|
||||
};
|
||||
};
|
||||
|
||||
tlmm: pinctrl@1000000 {
|
||||
@@ -581,9 +608,9 @@
|
||||
phy-names = "pciephy";
|
||||
|
||||
ranges = <0x81000000 0 0x10200000 0x10200000
|
||||
0 0x100000 /* downstream I/O */
|
||||
0x82000000 0 0x10300000 0x10300000
|
||||
0 0xd00000>; /* non-prefetchable memory */
|
||||
0 0x10000>, /* downstream I/O */
|
||||
<0x82000000 0 0x10220000 0x10220000
|
||||
0 0xfde0000>; /* non-prefetchable memory */
|
||||
|
||||
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "msi";
|
||||
@@ -626,16 +653,18 @@
|
||||
};
|
||||
|
||||
pcie0: pci@20000000 {
|
||||
compatible = "qcom,pcie-ipq8074";
|
||||
compatible = "qcom,pcie-ipq8074-gen3";
|
||||
reg = <0x20000000 0xf1d>,
|
||||
<0x20000f20 0xa8>,
|
||||
<0x00080000 0x2000>,
|
||||
<0x20001000 0x1000>,
|
||||
<0x00080000 0x4000>,
|
||||
<0x20100000 0x1000>;
|
||||
reg-names = "dbi", "elbi", "parf", "config";
|
||||
reg-names = "dbi", "elbi", "atu", "parf", "config";
|
||||
device_type = "pci";
|
||||
linux,pci-domain = <0>;
|
||||
bus-range = <0x00 0xff>;
|
||||
num-lanes = <1>;
|
||||
max-link-speed = <3>;
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
|
||||
@@ -643,9 +672,9 @@
|
||||
phy-names = "pciephy";
|
||||
|
||||
ranges = <0x81000000 0 0x20200000 0x20200000
|
||||
0 0x100000 /* downstream I/O */
|
||||
0x82000000 0 0x20300000 0x20300000
|
||||
0 0xd00000>; /* non-prefetchable memory */
|
||||
0 0x10000>, /* downstream I/O */
|
||||
<0x82000000 0 0x20220000 0x20220000
|
||||
0 0xfde0000>; /* non-prefetchable memory */
|
||||
|
||||
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "msi";
|
||||
@@ -663,28 +692,30 @@
|
||||
clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
|
||||
<&gcc GCC_PCIE0_AXI_M_CLK>,
|
||||
<&gcc GCC_PCIE0_AXI_S_CLK>,
|
||||
<&gcc GCC_PCIE0_AHB_CLK>,
|
||||
<&gcc GCC_PCIE0_AUX_CLK>;
|
||||
|
||||
<&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
|
||||
<&gcc GCC_PCIE0_RCHNG_CLK>;
|
||||
clock-names = "iface",
|
||||
"axi_m",
|
||||
"axi_s",
|
||||
"ahb",
|
||||
"aux";
|
||||
"axi_bridge",
|
||||
"rchng";
|
||||
|
||||
resets = <&gcc GCC_PCIE0_PIPE_ARES>,
|
||||
<&gcc GCC_PCIE0_SLEEP_ARES>,
|
||||
<&gcc GCC_PCIE0_CORE_STICKY_ARES>,
|
||||
<&gcc GCC_PCIE0_AXI_MASTER_ARES>,
|
||||
<&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
|
||||
<&gcc GCC_PCIE0_AHB_ARES>,
|
||||
<&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>;
|
||||
<&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
|
||||
<&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
|
||||
reset-names = "pipe",
|
||||
"sleep",
|
||||
"sticky",
|
||||
"axi_m",
|
||||
"axi_s",
|
||||
"ahb",
|
||||
"axi_m_sticky";
|
||||
"axi_m_sticky",
|
||||
"axi_s_sticky";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -775,7 +775,7 @@
|
||||
|
||||
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
|
||||
resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>,
|
||||
<&gcc 21>;
|
||||
<&gcc GCC_PCIE_0_PIPE_ARES>;
|
||||
reset-names = "phy", "pipe";
|
||||
|
||||
clock-output-names = "pcie_0_pipe_clk";
|
||||
@@ -1305,12 +1305,12 @@
|
||||
<&gcc GCC_PCIE_0_SLV_AXI_CLK>;
|
||||
clock-names = "iface", "aux", "master_bus", "slave_bus";
|
||||
|
||||
resets = <&gcc 18>,
|
||||
<&gcc 17>,
|
||||
<&gcc 15>,
|
||||
<&gcc 19>,
|
||||
resets = <&gcc GCC_PCIE_0_AXI_MASTER_ARES>,
|
||||
<&gcc GCC_PCIE_0_AXI_SLAVE_ARES>,
|
||||
<&gcc GCC_PCIE_0_AXI_MASTER_STICKY_ARES>,
|
||||
<&gcc GCC_PCIE_0_CORE_STICKY_ARES>,
|
||||
<&gcc GCC_PCIE_0_BCR>,
|
||||
<&gcc 16>;
|
||||
<&gcc GCC_PCIE_0_AHB_ARES>;
|
||||
reset-names = "axi_m",
|
||||
"axi_s",
|
||||
"axi_m_sticky",
|
||||
|
||||
@@ -3066,8 +3066,8 @@
|
||||
interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
|
||||
qcom,ee = <0>;
|
||||
qcom,channel = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <4>;
|
||||
cell-index = <0>;
|
||||
|
||||
@@ -896,7 +896,7 @@
|
||||
};
|
||||
|
||||
wcd_intr_default: wcd_intr_default {
|
||||
pins = <54>;
|
||||
pins = "gpio54";
|
||||
function = "gpio";
|
||||
|
||||
input-enable;
|
||||
|
||||
@@ -399,20 +399,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
/* 0 - lcd_reset */
|
||||
/* 1 - lcd_pwr */
|
||||
/* 2 - lcd_select */
|
||||
/* 3 - backlight-enable */
|
||||
/* 4 - Touch_shdwn */
|
||||
/* 5 - LCD_H_pol */
|
||||
/* 6 - lcd_V_pol */
|
||||
gpio_exp1: gpio@20 {
|
||||
compatible = "onnn,pca9654";
|
||||
reg = <0x20>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
touchscreen@26 {
|
||||
compatible = "ilitek,ili2117";
|
||||
reg = <0x26>;
|
||||
@@ -445,6 +431,16 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio_exp1: gpio@70 {
|
||||
compatible = "nxp,pca9538";
|
||||
reg = <0x70>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names = "lcd_reset", "lcd_pwr", "lcd_select",
|
||||
"backlight-enable", "Touch_shdwn",
|
||||
"LCD_H_pol", "lcd_V_pol";
|
||||
};
|
||||
};
|
||||
|
||||
&lvds0 {
|
||||
|
||||
@@ -91,7 +91,6 @@
|
||||
linux,default-trigger = "heartbeat";
|
||||
gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
mode = <0x23>;
|
||||
};
|
||||
|
||||
user_led: led-1 {
|
||||
@@ -99,7 +98,6 @@
|
||||
linux,default-trigger = "mmc1";
|
||||
gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
mode = <0x05>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
&wkup_pmx0 {
|
||||
&wkup_pmx2 {
|
||||
mcu_cpsw_pins_default: mcu-cpsw-pins-default {
|
||||
pinctrl-single,pins = <
|
||||
J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
|
||||
|
||||
@@ -56,7 +56,34 @@
|
||||
wkup_pmx0: pinctrl@4301c000 {
|
||||
compatible = "pinctrl-single";
|
||||
/* Proxy 0 addressing */
|
||||
reg = <0x00 0x4301c000 0x00 0x178>;
|
||||
reg = <0x00 0x4301c000 0x00 0x34>;
|
||||
#pinctrl-cells = <1>;
|
||||
pinctrl-single,register-width = <32>;
|
||||
pinctrl-single,function-mask = <0xffffffff>;
|
||||
};
|
||||
|
||||
wkup_pmx1: pinctrl@0x4301c038 {
|
||||
compatible = "pinctrl-single";
|
||||
/* Proxy 0 addressing */
|
||||
reg = <0x00 0x4301c038 0x00 0x8>;
|
||||
#pinctrl-cells = <1>;
|
||||
pinctrl-single,register-width = <32>;
|
||||
pinctrl-single,function-mask = <0xffffffff>;
|
||||
};
|
||||
|
||||
wkup_pmx2: pinctrl@0x4301c068 {
|
||||
compatible = "pinctrl-single";
|
||||
/* Proxy 0 addressing */
|
||||
reg = <0x00 0x4301c068 0x00 0xec>;
|
||||
#pinctrl-cells = <1>;
|
||||
pinctrl-single,register-width = <32>;
|
||||
pinctrl-single,function-mask = <0xffffffff>;
|
||||
};
|
||||
|
||||
wkup_pmx3: pinctrl@0x4301c174 {
|
||||
compatible = "pinctrl-single";
|
||||
/* Proxy 0 addressing */
|
||||
reg = <0x00 0x4301c174 0x00 0x20>;
|
||||
#pinctrl-cells = <1>;
|
||||
pinctrl-single,register-width = <32>;
|
||||
pinctrl-single,function-mask = <0xffffffff>;
|
||||
|
||||
@@ -25,7 +25,7 @@ int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md);
|
||||
({ \
|
||||
efi_virtmap_load(); \
|
||||
__efi_fpsimd_begin(); \
|
||||
spin_lock(&efi_rt_lock); \
|
||||
raw_spin_lock(&efi_rt_lock); \
|
||||
})
|
||||
|
||||
#define arch_efi_call_virt(p, f, args...) \
|
||||
@@ -37,12 +37,12 @@ int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md);
|
||||
|
||||
#define arch_efi_call_virt_teardown() \
|
||||
({ \
|
||||
spin_unlock(&efi_rt_lock); \
|
||||
raw_spin_unlock(&efi_rt_lock); \
|
||||
__efi_fpsimd_end(); \
|
||||
efi_virtmap_unload(); \
|
||||
})
|
||||
|
||||
extern spinlock_t efi_rt_lock;
|
||||
extern raw_spinlock_t efi_rt_lock;
|
||||
efi_status_t __efi_rt_asm_wrapper(void *, const char *, ...);
|
||||
|
||||
#define ARCH_EFI_IRQ_FLAGS_MASK (PSR_D_BIT | PSR_A_BIT | PSR_I_BIT | PSR_F_BIT)
|
||||
|
||||
@@ -144,7 +144,7 @@ asmlinkage efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char *f)
|
||||
return s;
|
||||
}
|
||||
|
||||
DEFINE_SPINLOCK(efi_rt_lock);
|
||||
DEFINE_RAW_SPINLOCK(efi_rt_lock);
|
||||
|
||||
asmlinkage u64 *efi_rt_stack_top __ro_after_init;
|
||||
|
||||
|
||||
@@ -47,6 +47,8 @@ do_trace:
|
||||
jbsr syscall_trace_enter
|
||||
RESTORE_SWITCH_STACK
|
||||
addql #4,%sp
|
||||
addql #1,%d0
|
||||
jeq ret_from_exception
|
||||
movel %sp@(PT_OFF_ORIG_D0),%d1
|
||||
movel #-ENOSYS,%d0
|
||||
cmpl #NR_syscalls,%d1
|
||||
|
||||
@@ -19,6 +19,7 @@ config HEARTBEAT
|
||||
# We have a dedicated heartbeat LED. :-)
|
||||
config PROC_HARDWARE
|
||||
bool "/proc/hardware support"
|
||||
depends on PROC_FS
|
||||
help
|
||||
Say Y here to support the /proc/hardware file, which gives you
|
||||
access to information about the machine you're running on,
|
||||
|
||||
@@ -92,6 +92,8 @@ ENTRY(system_call)
|
||||
jbsr syscall_trace_enter
|
||||
RESTORE_SWITCH_STACK
|
||||
addql #4,%sp
|
||||
addql #1,%d0
|
||||
jeq ret_from_exception
|
||||
movel %d3,%a0
|
||||
jbsr %a0@
|
||||
movel %d0,%sp@(PT_OFF_D0) /* save the return value */
|
||||
|
||||
@@ -167,9 +167,12 @@ do_trace_entry:
|
||||
jbsr syscall_trace
|
||||
RESTORE_SWITCH_STACK
|
||||
addql #4,%sp
|
||||
addql #1,%d0 | optimization for cmpil #-1,%d0
|
||||
jeq ret_from_syscall
|
||||
movel %sp@(PT_OFF_ORIG_D0),%d0
|
||||
cmpl #NR_syscalls,%d0
|
||||
jcs syscall
|
||||
jra ret_from_syscall
|
||||
badsys:
|
||||
movel #-ENOSYS,%sp@(PT_OFF_D0)
|
||||
jra ret_from_syscall
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/ptrace.h>
|
||||
#include <linux/kallsyms.h>
|
||||
#include <linux/extable.h>
|
||||
|
||||
#include <asm/setup.h>
|
||||
#include <asm/fpu.h>
|
||||
@@ -549,7 +550,8 @@ static inline void bus_error030 (struct frame *fp)
|
||||
errorcode |= 2;
|
||||
|
||||
if (mmusr & (MMU_I | MMU_WP)) {
|
||||
if (ssw & 4) {
|
||||
/* We might have an exception table for this PC */
|
||||
if (ssw & 4 && !search_exception_tables(fp->ptregs.pc)) {
|
||||
pr_err("Data %s fault at %#010lx in %s (pc=%#lx)\n",
|
||||
ssw & RW ? "read" : "write",
|
||||
fp->un.fmtb.daddr,
|
||||
|
||||
@@ -64,6 +64,8 @@ phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr)
|
||||
return dma_addr;
|
||||
}
|
||||
|
||||
bool bmips_rac_flush_disable;
|
||||
|
||||
void arch_sync_dma_for_cpu_all(void)
|
||||
{
|
||||
void __iomem *cbr = BMIPS_GET_CBR();
|
||||
@@ -74,6 +76,9 @@ void arch_sync_dma_for_cpu_all(void)
|
||||
boot_cpu_type() != CPU_BMIPS4380)
|
||||
return;
|
||||
|
||||
if (unlikely(bmips_rac_flush_disable))
|
||||
return;
|
||||
|
||||
/* Flush stale data out of the readahead cache */
|
||||
cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG);
|
||||
__raw_writel(cfg | 0x100, cbr + BMIPS_RAC_CONFIG);
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
#define REG_BCM6328_OTP ((void __iomem *)CKSEG1ADDR(0x1000062c))
|
||||
#define BCM6328_TP1_DISABLED BIT(9)
|
||||
|
||||
extern bool bmips_rac_flush_disable;
|
||||
|
||||
static const unsigned long kbase = VMLINUX_LOAD_ADDRESS & 0xfff00000;
|
||||
|
||||
struct bmips_quirk {
|
||||
@@ -103,6 +105,12 @@ static void bcm6358_quirks(void)
|
||||
* disable SMP for now
|
||||
*/
|
||||
bmips_smp_enabled = 0;
|
||||
|
||||
/*
|
||||
* RAC flush causes kernel panics on BCM6358 when booting from TP1
|
||||
* because the bootloader is not initializing it properly.
|
||||
*/
|
||||
bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local() & (1 << 31));
|
||||
}
|
||||
|
||||
static void bcm6368_quirks(void)
|
||||
|
||||
@@ -374,7 +374,7 @@ struct pci_msu {
|
||||
PCI_CFG04_STAT_SSE | \
|
||||
PCI_CFG04_STAT_PE)
|
||||
|
||||
#define KORINA_CNFG1 ((KORINA_STAT<<16)|KORINA_CMD)
|
||||
#define KORINA_CNFG1 (KORINA_STAT | KORINA_CMD)
|
||||
|
||||
#define KORINA_REVID 0
|
||||
#define KORINA_CLASS_CODE 0
|
||||
|
||||
@@ -38,7 +38,7 @@ static inline bool mips_syscall_is_indirect(struct task_struct *task,
|
||||
static inline long syscall_get_nr(struct task_struct *task,
|
||||
struct pt_regs *regs)
|
||||
{
|
||||
return current_thread_info()->syscall;
|
||||
return task_thread_info(task)->syscall;
|
||||
}
|
||||
|
||||
static inline void mips_syscall_update_nr(struct task_struct *task,
|
||||
|
||||
@@ -104,7 +104,6 @@ struct vpe_control {
|
||||
struct list_head tc_list; /* Thread contexts */
|
||||
};
|
||||
|
||||
extern unsigned long physical_memsize;
|
||||
extern struct vpe_control vpecontrol;
|
||||
extern const struct file_operations vpe_fops;
|
||||
|
||||
|
||||
@@ -423,9 +423,11 @@ static void cps_shutdown_this_cpu(enum cpu_death death)
|
||||
wmb();
|
||||
}
|
||||
} else {
|
||||
pr_debug("Gating power to core %d\n", core);
|
||||
/* Power down the core */
|
||||
cps_pm_enter_state(CPS_PM_POWER_GATED);
|
||||
if (IS_ENABLED(CONFIG_HOTPLUG_CPU)) {
|
||||
pr_debug("Gating power to core %d\n", core);
|
||||
/* Power down the core */
|
||||
cps_pm_enter_state(CPS_PM_POWER_GATED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -92,12 +92,11 @@ int vpe_run(struct vpe *v)
|
||||
write_tc_c0_tchalt(read_tc_c0_tchalt() & ~TCHALT_H);
|
||||
|
||||
/*
|
||||
* The sde-kit passes 'memsize' to __start in $a3, so set something
|
||||
* here... Or set $a3 to zero and define DFLT_STACK_SIZE and
|
||||
* DFLT_HEAP_SIZE when you compile your program
|
||||
* We don't pass the memsize here, so VPE programs need to be
|
||||
* compiled with DFLT_STACK_SIZE and DFLT_HEAP_SIZE defined.
|
||||
*/
|
||||
mttgpr(7, 0);
|
||||
mttgpr(6, v->ntcs);
|
||||
mttgpr(7, physical_memsize);
|
||||
|
||||
/* set up VPE1 */
|
||||
/*
|
||||
|
||||
@@ -22,12 +22,6 @@
|
||||
DEFINE_SPINLOCK(ebu_lock);
|
||||
EXPORT_SYMBOL_GPL(ebu_lock);
|
||||
|
||||
/*
|
||||
* This is needed by the VPE loader code, just set it to 0 and assume
|
||||
* that the firmware hardcodes this value to something useful.
|
||||
*/
|
||||
unsigned long physical_memsize = 0L;
|
||||
|
||||
/*
|
||||
* this struct is filled by the soc specific detection code and holds
|
||||
* information about the specific soc type, revision and name
|
||||
|
||||
@@ -92,7 +92,7 @@ aflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -mlittle-endian
|
||||
|
||||
ifeq ($(HAS_BIARCH),y)
|
||||
KBUILD_CFLAGS += -m$(BITS)
|
||||
KBUILD_AFLAGS += -m$(BITS) -Wl,-a$(BITS)
|
||||
KBUILD_AFLAGS += -m$(BITS)
|
||||
KBUILD_LDFLAGS += -m elf$(BITS)$(LDEMULATION)
|
||||
endif
|
||||
|
||||
|
||||
44
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-2.dtsi
Normal file
44
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-2.dtsi
Normal file
@@ -0,0 +1,44 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
|
||||
/*
|
||||
* QorIQ FMan v3 10g port #2 device tree stub [ controller @ offset 0x400000 ]
|
||||
*
|
||||
* Copyright 2022 Sean Anderson <sean.anderson@seco.com>
|
||||
* Copyright 2012 - 2015 Freescale Semiconductor Inc.
|
||||
*/
|
||||
|
||||
fman@400000 {
|
||||
fman0_rx_0x08: port@88000 {
|
||||
cell-index = <0x8>;
|
||||
compatible = "fsl,fman-v3-port-rx";
|
||||
reg = <0x88000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
fman0_tx_0x28: port@a8000 {
|
||||
cell-index = <0x28>;
|
||||
compatible = "fsl,fman-v3-port-tx";
|
||||
reg = <0xa8000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
ethernet@e0000 {
|
||||
cell-index = <0>;
|
||||
compatible = "fsl,fman-memac";
|
||||
reg = <0xe0000 0x1000>;
|
||||
fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>;
|
||||
ptp-timer = <&ptp_timer0>;
|
||||
pcsphy-handle = <&pcsphy0>;
|
||||
};
|
||||
|
||||
mdio@e1000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
|
||||
reg = <0xe1000 0x1000>;
|
||||
fsl,erratum-a011043; /* must ignore read errors */
|
||||
|
||||
pcsphy0: ethernet-phy@0 {
|
||||
reg = <0x0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
44
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-3.dtsi
Normal file
44
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-3.dtsi
Normal file
@@ -0,0 +1,44 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
|
||||
/*
|
||||
* QorIQ FMan v3 10g port #3 device tree stub [ controller @ offset 0x400000 ]
|
||||
*
|
||||
* Copyright 2022 Sean Anderson <sean.anderson@seco.com>
|
||||
* Copyright 2012 - 2015 Freescale Semiconductor Inc.
|
||||
*/
|
||||
|
||||
fman@400000 {
|
||||
fman0_rx_0x09: port@89000 {
|
||||
cell-index = <0x9>;
|
||||
compatible = "fsl,fman-v3-port-rx";
|
||||
reg = <0x89000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
fman0_tx_0x29: port@a9000 {
|
||||
cell-index = <0x29>;
|
||||
compatible = "fsl,fman-v3-port-tx";
|
||||
reg = <0xa9000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
ethernet@e2000 {
|
||||
cell-index = <1>;
|
||||
compatible = "fsl,fman-memac";
|
||||
reg = <0xe2000 0x1000>;
|
||||
fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>;
|
||||
ptp-timer = <&ptp_timer0>;
|
||||
pcsphy-handle = <&pcsphy1>;
|
||||
};
|
||||
|
||||
mdio@e3000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
|
||||
reg = <0xe3000 0x1000>;
|
||||
fsl,erratum-a011043; /* must ignore read errors */
|
||||
|
||||
pcsphy1: ethernet-phy@0 {
|
||||
reg = <0x0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
/ {
|
||||
model = "fsl,T1040RDB-REV-A";
|
||||
compatible = "fsl,T1040RDB-REV-A";
|
||||
};
|
||||
|
||||
&seville_port0 {
|
||||
|
||||
@@ -609,8 +609,8 @@
|
||||
/include/ "qoriq-bman1.dtsi"
|
||||
|
||||
/include/ "qoriq-fman3-0.dtsi"
|
||||
/include/ "qoriq-fman3-0-1g-0.dtsi"
|
||||
/include/ "qoriq-fman3-0-1g-1.dtsi"
|
||||
/include/ "qoriq-fman3-0-10g-2.dtsi"
|
||||
/include/ "qoriq-fman3-0-10g-3.dtsi"
|
||||
/include/ "qoriq-fman3-0-1g-2.dtsi"
|
||||
/include/ "qoriq-fman3-0-1g-3.dtsi"
|
||||
/include/ "qoriq-fman3-0-1g-4.dtsi"
|
||||
@@ -659,3 +659,19 @@
|
||||
interrupts = <16 2 1 9>;
|
||||
};
|
||||
};
|
||||
|
||||
&fman0_rx_0x08 {
|
||||
/delete-property/ fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
&fman0_tx_0x28 {
|
||||
/delete-property/ fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
&fman0_rx_0x09 {
|
||||
/delete-property/ fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
&fman0_tx_0x29 {
|
||||
/delete-property/ fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
@@ -1054,45 +1054,46 @@ void eeh_handle_normal_event(struct eeh_pe *pe)
|
||||
}
|
||||
|
||||
pr_info("EEH: Recovery successful.\n");
|
||||
} else {
|
||||
/*
|
||||
* About 90% of all real-life EEH failures in the field
|
||||
* are due to poorly seated PCI cards. Only 10% or so are
|
||||
* due to actual, failed cards.
|
||||
*/
|
||||
pr_err("EEH: Unable to recover from failure from PHB#%x-PE#%x.\n"
|
||||
"Please try reseating or replacing it\n",
|
||||
pe->phb->global_number, pe->addr);
|
||||
goto out;
|
||||
}
|
||||
|
||||
eeh_slot_error_detail(pe, EEH_LOG_PERM);
|
||||
/*
|
||||
* About 90% of all real-life EEH failures in the field
|
||||
* are due to poorly seated PCI cards. Only 10% or so are
|
||||
* due to actual, failed cards.
|
||||
*/
|
||||
pr_err("EEH: Unable to recover from failure from PHB#%x-PE#%x.\n"
|
||||
"Please try reseating or replacing it\n",
|
||||
pe->phb->global_number, pe->addr);
|
||||
|
||||
/* Notify all devices that they're about to go down. */
|
||||
eeh_set_channel_state(pe, pci_channel_io_perm_failure);
|
||||
eeh_set_irq_state(pe, false);
|
||||
eeh_pe_report("error_detected(permanent failure)", pe,
|
||||
eeh_report_failure, NULL);
|
||||
eeh_slot_error_detail(pe, EEH_LOG_PERM);
|
||||
|
||||
/* Mark the PE to be removed permanently */
|
||||
eeh_pe_state_mark(pe, EEH_PE_REMOVED);
|
||||
/* Notify all devices that they're about to go down. */
|
||||
eeh_set_irq_state(pe, false);
|
||||
eeh_pe_report("error_detected(permanent failure)", pe,
|
||||
eeh_report_failure, NULL);
|
||||
eeh_set_channel_state(pe, pci_channel_io_perm_failure);
|
||||
|
||||
/*
|
||||
* Shut down the device drivers for good. We mark
|
||||
* all removed devices correctly to avoid access
|
||||
* the their PCI config any more.
|
||||
*/
|
||||
if (pe->type & EEH_PE_VF) {
|
||||
eeh_pe_dev_traverse(pe, eeh_rmv_device, NULL);
|
||||
eeh_pe_dev_mode_mark(pe, EEH_DEV_REMOVED);
|
||||
} else {
|
||||
eeh_pe_state_clear(pe, EEH_PE_PRI_BUS, true);
|
||||
eeh_pe_dev_mode_mark(pe, EEH_DEV_REMOVED);
|
||||
/* Mark the PE to be removed permanently */
|
||||
eeh_pe_state_mark(pe, EEH_PE_REMOVED);
|
||||
|
||||
pci_lock_rescan_remove();
|
||||
pci_hp_remove_devices(bus);
|
||||
pci_unlock_rescan_remove();
|
||||
/* The passed PE should no longer be used */
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* Shut down the device drivers for good. We mark
|
||||
* all removed devices correctly to avoid access
|
||||
* the their PCI config any more.
|
||||
*/
|
||||
if (pe->type & EEH_PE_VF) {
|
||||
eeh_pe_dev_traverse(pe, eeh_rmv_device, NULL);
|
||||
eeh_pe_dev_mode_mark(pe, EEH_DEV_REMOVED);
|
||||
} else {
|
||||
eeh_pe_state_clear(pe, EEH_PE_PRI_BUS, true);
|
||||
eeh_pe_dev_mode_mark(pe, EEH_DEV_REMOVED);
|
||||
|
||||
pci_lock_rescan_remove();
|
||||
pci_hp_remove_devices(bus);
|
||||
pci_unlock_rescan_remove();
|
||||
/* The passed PE should no longer be used */
|
||||
return;
|
||||
}
|
||||
|
||||
out:
|
||||
@@ -1188,10 +1189,10 @@ void eeh_handle_special_event(void)
|
||||
|
||||
/* Notify all devices to be down */
|
||||
eeh_pe_state_clear(pe, EEH_PE_PRI_BUS, true);
|
||||
eeh_set_channel_state(pe, pci_channel_io_perm_failure);
|
||||
eeh_pe_report(
|
||||
"error_detected(permanent failure)", pe,
|
||||
eeh_report_failure, NULL);
|
||||
eeh_set_channel_state(pe, pci_channel_io_perm_failure);
|
||||
|
||||
pci_lock_rescan_remove();
|
||||
list_for_each_entry(hose, &hose_list, list_node) {
|
||||
|
||||
@@ -298,6 +298,9 @@ static int gpr_set(struct task_struct *target, const struct user_regset *regset,
|
||||
static int ppr_get(struct task_struct *target, const struct user_regset *regset,
|
||||
struct membuf to)
|
||||
{
|
||||
if (!target->thread.regs)
|
||||
return -EINVAL;
|
||||
|
||||
return membuf_write(&to, &target->thread.regs->ppr, sizeof(u64));
|
||||
}
|
||||
|
||||
@@ -305,6 +308,9 @@ static int ppr_set(struct task_struct *target, const struct user_regset *regset,
|
||||
unsigned int pos, unsigned int count, const void *kbuf,
|
||||
const void __user *ubuf)
|
||||
{
|
||||
if (!target->thread.regs)
|
||||
return -EINVAL;
|
||||
|
||||
return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
|
||||
&target->thread.regs->ppr, 0, sizeof(u64));
|
||||
}
|
||||
|
||||
@@ -52,10 +52,10 @@ struct rtas_t rtas = {
|
||||
EXPORT_SYMBOL(rtas);
|
||||
|
||||
DEFINE_SPINLOCK(rtas_data_buf_lock);
|
||||
EXPORT_SYMBOL(rtas_data_buf_lock);
|
||||
EXPORT_SYMBOL_GPL(rtas_data_buf_lock);
|
||||
|
||||
char rtas_data_buf[RTAS_DATA_BUF_SIZE] __cacheline_aligned;
|
||||
EXPORT_SYMBOL(rtas_data_buf);
|
||||
char rtas_data_buf[RTAS_DATA_BUF_SIZE] __aligned(SZ_4K);
|
||||
EXPORT_SYMBOL_GPL(rtas_data_buf);
|
||||
|
||||
unsigned long rtas_rmo_buf;
|
||||
|
||||
@@ -64,7 +64,7 @@ unsigned long rtas_rmo_buf;
|
||||
* This is done like this so rtas_flash can be a module.
|
||||
*/
|
||||
void (*rtas_flash_term_hook)(int);
|
||||
EXPORT_SYMBOL(rtas_flash_term_hook);
|
||||
EXPORT_SYMBOL_GPL(rtas_flash_term_hook);
|
||||
|
||||
/* RTAS use home made raw locking instead of spin_lock_irqsave
|
||||
* because those can be called from within really nasty contexts
|
||||
@@ -312,7 +312,7 @@ void rtas_progress(char *s, unsigned short hex)
|
||||
|
||||
spin_unlock(&progress_lock);
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_progress); /* needed by rtas_flash module */
|
||||
EXPORT_SYMBOL_GPL(rtas_progress); /* needed by rtas_flash module */
|
||||
|
||||
int rtas_token(const char *service)
|
||||
{
|
||||
@@ -322,7 +322,7 @@ int rtas_token(const char *service)
|
||||
tokp = of_get_property(rtas.dev, service, NULL);
|
||||
return tokp ? be32_to_cpu(*tokp) : RTAS_UNKNOWN_SERVICE;
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_token);
|
||||
EXPORT_SYMBOL_GPL(rtas_token);
|
||||
|
||||
int rtas_service_present(const char *service)
|
||||
{
|
||||
@@ -482,7 +482,7 @@ int rtas_call(int token, int nargs, int nret, int *outputs, ...)
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_call);
|
||||
EXPORT_SYMBOL_GPL(rtas_call);
|
||||
|
||||
/* For RTAS_BUSY (-2), delay for 1 millisecond. For an extended busy status
|
||||
* code of 990n, perform the hinted delay of 10^n (last digit) milliseconds.
|
||||
@@ -517,7 +517,7 @@ unsigned int rtas_busy_delay(int status)
|
||||
|
||||
return ms;
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_busy_delay);
|
||||
EXPORT_SYMBOL_GPL(rtas_busy_delay);
|
||||
|
||||
static int rtas_error_rc(int rtas_rc)
|
||||
{
|
||||
@@ -563,7 +563,7 @@ int rtas_get_power_level(int powerdomain, int *level)
|
||||
return rtas_error_rc(rc);
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_get_power_level);
|
||||
EXPORT_SYMBOL_GPL(rtas_get_power_level);
|
||||
|
||||
int rtas_set_power_level(int powerdomain, int level, int *setlevel)
|
||||
{
|
||||
@@ -581,7 +581,7 @@ int rtas_set_power_level(int powerdomain, int level, int *setlevel)
|
||||
return rtas_error_rc(rc);
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_set_power_level);
|
||||
EXPORT_SYMBOL_GPL(rtas_set_power_level);
|
||||
|
||||
int rtas_get_sensor(int sensor, int index, int *state)
|
||||
{
|
||||
@@ -599,7 +599,7 @@ int rtas_get_sensor(int sensor, int index, int *state)
|
||||
return rtas_error_rc(rc);
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_get_sensor);
|
||||
EXPORT_SYMBOL_GPL(rtas_get_sensor);
|
||||
|
||||
int rtas_get_sensor_fast(int sensor, int index, int *state)
|
||||
{
|
||||
@@ -660,7 +660,7 @@ int rtas_set_indicator(int indicator, int index, int new_value)
|
||||
return rtas_error_rc(rc);
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL(rtas_set_indicator);
|
||||
EXPORT_SYMBOL_GPL(rtas_set_indicator);
|
||||
|
||||
/*
|
||||
* Ignoring RTAS extended delay
|
||||
|
||||
@@ -436,7 +436,7 @@ void vtime_flush(struct task_struct *tsk)
|
||||
#define calc_cputime_factors()
|
||||
#endif
|
||||
|
||||
void __delay(unsigned long loops)
|
||||
void __no_kcsan __delay(unsigned long loops)
|
||||
{
|
||||
unsigned long start;
|
||||
|
||||
@@ -457,7 +457,7 @@ void __delay(unsigned long loops)
|
||||
}
|
||||
EXPORT_SYMBOL(__delay);
|
||||
|
||||
void udelay(unsigned long usecs)
|
||||
void __no_kcsan udelay(unsigned long usecs)
|
||||
{
|
||||
__delay(tb_ticks_per_usec * usecs);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#define BSS_FIRST_SECTIONS *(.bss.prominit)
|
||||
#define EMITS_PT_NOTE
|
||||
#define RO_EXCEPTION_TABLE_ALIGN 0
|
||||
#define RUNTIME_DISCARD_EXIT
|
||||
|
||||
#include <asm/page.h>
|
||||
#include <asm-generic/vmlinux.lds.h>
|
||||
@@ -382,9 +383,12 @@ SECTIONS
|
||||
DISCARDS
|
||||
/DISCARD/ : {
|
||||
*(*.EMB.apuinfo)
|
||||
*(.glink .iplt .plt .rela* .comment)
|
||||
*(.glink .iplt .plt .comment)
|
||||
*(.gnu.version*)
|
||||
*(.gnu.attributes)
|
||||
*(.eh_frame)
|
||||
#ifndef CONFIG_RELOCATABLE
|
||||
*(.rela*)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -941,15 +941,12 @@ is_local:
|
||||
}
|
||||
}
|
||||
} else {
|
||||
bool hflush = false;
|
||||
bool hflush;
|
||||
unsigned long hstart, hend;
|
||||
|
||||
if (IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE)) {
|
||||
hstart = (start + PMD_SIZE - 1) & PMD_MASK;
|
||||
hend = end & PMD_MASK;
|
||||
if (hstart < hend)
|
||||
hflush = true;
|
||||
}
|
||||
hstart = (start + PMD_SIZE - 1) & PMD_MASK;
|
||||
hend = end & PMD_MASK;
|
||||
hflush = IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE) && hstart < hend;
|
||||
|
||||
if (local) {
|
||||
asm volatile("ptesync": : :"memory");
|
||||
|
||||
@@ -79,9 +79,8 @@ static u32 phys_coresperchip; /* Physical cores per chip */
|
||||
*/
|
||||
void read_24x7_sys_info(void)
|
||||
{
|
||||
int call_status, len, ntypes;
|
||||
|
||||
spin_lock(&rtas_data_buf_lock);
|
||||
const s32 token = rtas_token("ibm,get-system-parameter");
|
||||
int call_status;
|
||||
|
||||
/*
|
||||
* Making system parameter: chips and sockets and cores per chip
|
||||
@@ -91,32 +90,27 @@ void read_24x7_sys_info(void)
|
||||
phys_chipspersocket = 1;
|
||||
phys_coresperchip = 1;
|
||||
|
||||
call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
|
||||
NULL,
|
||||
PROCESSOR_MODULE_INFO,
|
||||
__pa(rtas_data_buf),
|
||||
RTAS_DATA_BUF_SIZE);
|
||||
do {
|
||||
spin_lock(&rtas_data_buf_lock);
|
||||
call_status = rtas_call(token, 3, 1, NULL, PROCESSOR_MODULE_INFO,
|
||||
__pa(rtas_data_buf), RTAS_DATA_BUF_SIZE);
|
||||
if (call_status == 0) {
|
||||
int ntypes = be16_to_cpup((__be16 *)&rtas_data_buf[2]);
|
||||
int len = be16_to_cpup((__be16 *)&rtas_data_buf[0]);
|
||||
|
||||
if (len >= 8 && ntypes != 0) {
|
||||
phys_sockets = be16_to_cpup((__be16 *)&rtas_data_buf[4]);
|
||||
phys_chipspersocket = be16_to_cpup((__be16 *)&rtas_data_buf[6]);
|
||||
phys_coresperchip = be16_to_cpup((__be16 *)&rtas_data_buf[8]);
|
||||
}
|
||||
}
|
||||
spin_unlock(&rtas_data_buf_lock);
|
||||
} while (rtas_busy_delay(call_status));
|
||||
|
||||
if (call_status != 0) {
|
||||
pr_err("Error calling get-system-parameter %d\n",
|
||||
call_status);
|
||||
} else {
|
||||
len = be16_to_cpup((__be16 *)&rtas_data_buf[0]);
|
||||
if (len < 8)
|
||||
goto out;
|
||||
|
||||
ntypes = be16_to_cpup((__be16 *)&rtas_data_buf[2]);
|
||||
|
||||
if (!ntypes)
|
||||
goto out;
|
||||
|
||||
phys_sockets = be16_to_cpup((__be16 *)&rtas_data_buf[4]);
|
||||
phys_chipspersocket = be16_to_cpup((__be16 *)&rtas_data_buf[6]);
|
||||
phys_coresperchip = be16_to_cpup((__be16 *)&rtas_data_buf[8]);
|
||||
}
|
||||
|
||||
out:
|
||||
spin_unlock(&rtas_data_buf_lock);
|
||||
}
|
||||
|
||||
/* Domains for which more than one result element are returned for each event. */
|
||||
|
||||
@@ -2260,7 +2260,8 @@ static void pnv_ioda_setup_pe_res(struct pnv_ioda_pe *pe,
|
||||
int index;
|
||||
int64_t rc;
|
||||
|
||||
if (!res || !res->flags || res->start > res->end)
|
||||
if (!res || !res->flags || res->start > res->end ||
|
||||
res->flags & IORESOURCE_UNSET)
|
||||
return;
|
||||
|
||||
if (res->flags & IORESOURCE_IO) {
|
||||
|
||||
@@ -1433,22 +1433,22 @@ static inline void __init check_lp_set_hblkrm(unsigned int lp,
|
||||
|
||||
void __init pseries_lpar_read_hblkrm_characteristics(void)
|
||||
{
|
||||
const s32 token = rtas_token("ibm,get-system-parameter");
|
||||
unsigned char local_buffer[SPLPAR_TLB_BIC_MAXLENGTH];
|
||||
int call_status, len, idx, bpsize;
|
||||
|
||||
if (!firmware_has_feature(FW_FEATURE_BLOCK_REMOVE))
|
||||
return;
|
||||
|
||||
spin_lock(&rtas_data_buf_lock);
|
||||
memset(rtas_data_buf, 0, RTAS_DATA_BUF_SIZE);
|
||||
call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
|
||||
NULL,
|
||||
SPLPAR_TLB_BIC_TOKEN,
|
||||
__pa(rtas_data_buf),
|
||||
RTAS_DATA_BUF_SIZE);
|
||||
memcpy(local_buffer, rtas_data_buf, SPLPAR_TLB_BIC_MAXLENGTH);
|
||||
local_buffer[SPLPAR_TLB_BIC_MAXLENGTH - 1] = '\0';
|
||||
spin_unlock(&rtas_data_buf_lock);
|
||||
do {
|
||||
spin_lock(&rtas_data_buf_lock);
|
||||
memset(rtas_data_buf, 0, RTAS_DATA_BUF_SIZE);
|
||||
call_status = rtas_call(token, 3, 1, NULL, SPLPAR_TLB_BIC_TOKEN,
|
||||
__pa(rtas_data_buf), RTAS_DATA_BUF_SIZE);
|
||||
memcpy(local_buffer, rtas_data_buf, SPLPAR_TLB_BIC_MAXLENGTH);
|
||||
local_buffer[SPLPAR_TLB_BIC_MAXLENGTH - 1] = '\0';
|
||||
spin_unlock(&rtas_data_buf_lock);
|
||||
} while (rtas_busy_delay(call_status));
|
||||
|
||||
if (call_status != 0) {
|
||||
pr_warn("%s %s Error calling get-system-parameter (0x%x)\n",
|
||||
|
||||
@@ -322,6 +322,7 @@ static void parse_mpp_x_data(struct seq_file *m)
|
||||
*/
|
||||
static void parse_system_parameter_string(struct seq_file *m)
|
||||
{
|
||||
const s32 token = rtas_token("ibm,get-system-parameter");
|
||||
int call_status;
|
||||
|
||||
unsigned char *local_buffer = kmalloc(SPLPAR_MAXLENGTH, GFP_KERNEL);
|
||||
@@ -331,16 +332,15 @@ static void parse_system_parameter_string(struct seq_file *m)
|
||||
return;
|
||||
}
|
||||
|
||||
spin_lock(&rtas_data_buf_lock);
|
||||
memset(rtas_data_buf, 0, SPLPAR_MAXLENGTH);
|
||||
call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
|
||||
NULL,
|
||||
SPLPAR_CHARACTERISTICS_TOKEN,
|
||||
__pa(rtas_data_buf),
|
||||
RTAS_DATA_BUF_SIZE);
|
||||
memcpy(local_buffer, rtas_data_buf, SPLPAR_MAXLENGTH);
|
||||
local_buffer[SPLPAR_MAXLENGTH - 1] = '\0';
|
||||
spin_unlock(&rtas_data_buf_lock);
|
||||
do {
|
||||
spin_lock(&rtas_data_buf_lock);
|
||||
memset(rtas_data_buf, 0, SPLPAR_MAXLENGTH);
|
||||
call_status = rtas_call(token, 3, 1, NULL, SPLPAR_CHARACTERISTICS_TOKEN,
|
||||
__pa(rtas_data_buf), RTAS_DATA_BUF_SIZE);
|
||||
memcpy(local_buffer, rtas_data_buf, SPLPAR_MAXLENGTH);
|
||||
local_buffer[SPLPAR_MAXLENGTH - 1] = '\0';
|
||||
spin_unlock(&rtas_data_buf_lock);
|
||||
} while (rtas_busy_delay(call_status));
|
||||
|
||||
if (call_status != 0) {
|
||||
printk(KERN_INFO
|
||||
|
||||
@@ -83,6 +83,6 @@ int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
||||
#define ftrace_init_nop ftrace_init_nop
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif /* CONFIG_DYNAMIC_FTRACE */
|
||||
|
||||
#endif /* _ASM_RISCV_FTRACE_H */
|
||||
|
||||
@@ -18,6 +18,7 @@ static __always_inline bool arch_static_branch(struct static_key *key,
|
||||
bool branch)
|
||||
{
|
||||
asm_volatile_goto(
|
||||
" .align 2 \n\t"
|
||||
" .option push \n\t"
|
||||
" .option norelax \n\t"
|
||||
" .option norvc \n\t"
|
||||
@@ -39,6 +40,7 @@ static __always_inline bool arch_static_branch_jump(struct static_key *key,
|
||||
bool branch)
|
||||
{
|
||||
asm_volatile_goto(
|
||||
" .align 2 \n\t"
|
||||
" .option push \n\t"
|
||||
" .option norelax \n\t"
|
||||
" .option norvc \n\t"
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
* Copyright (C) 2020 SiFive
|
||||
*/
|
||||
|
||||
#ifndef _ASM_RISCV_INSN_H
|
||||
#define _ASM_RISCV_INSN_H
|
||||
|
||||
#include <linux/bits.h>
|
||||
|
||||
/* The bit field of immediate value in I-type instruction */
|
||||
@@ -125,7 +128,7 @@
|
||||
#define FUNCT3_C_J 0xa000
|
||||
#define FUNCT3_C_JAL 0x2000
|
||||
#define FUNCT4_C_JR 0x8000
|
||||
#define FUNCT4_C_JALR 0xf000
|
||||
#define FUNCT4_C_JALR 0x9000
|
||||
|
||||
#define FUNCT12_SRET 0x10200000
|
||||
|
||||
@@ -217,3 +220,5 @@ static inline bool is_ ## INSN_NAME ## _insn(long insn) \
|
||||
(RVC_X(x_, RVC_B_IMM_5_OPOFF, RVC_B_IMM_5_MASK) << RVC_B_IMM_5_OFF) | \
|
||||
(RVC_X(x_, RVC_B_IMM_7_6_OPOFF, RVC_B_IMM_7_6_MASK) << RVC_B_IMM_7_6_OFF) | \
|
||||
(RVC_IMM_SIGN(x_) << RVC_B_IMM_SIGN_OFF); })
|
||||
|
||||
#endif /* _ASM_RISCV_INSN_H */
|
||||
|
||||
@@ -9,4 +9,6 @@
|
||||
int patch_text_nosync(void *addr, const void *insns, size_t len);
|
||||
int patch_text(void *addr, u32 insn);
|
||||
|
||||
extern int riscv_patch_in_stop_machine;
|
||||
|
||||
#endif /* _ASM_RISCV_PATCH_H */
|
||||
|
||||
8
arch/riscv/include/uapi/asm/setup.h
Normal file
8
arch/riscv/include/uapi/asm/setup.h
Normal file
@@ -0,0 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
|
||||
#ifndef _UAPI_ASM_RISCV_SETUP_H
|
||||
#define _UAPI_ASM_RISCV_SETUP_H
|
||||
|
||||
#define COMMAND_LINE_SIZE 1024
|
||||
|
||||
#endif /* _UAPI_ASM_RISCV_SETUP_H */
|
||||
@@ -15,11 +15,21 @@
|
||||
int ftrace_arch_code_modify_prepare(void) __acquires(&text_mutex)
|
||||
{
|
||||
mutex_lock(&text_mutex);
|
||||
|
||||
/*
|
||||
* The code sequences we use for ftrace can't be patched while the
|
||||
* kernel is running, so we need to use stop_machine() to modify them
|
||||
* for now. This doesn't play nice with text_mutex, we use this flag
|
||||
* to elide the check.
|
||||
*/
|
||||
riscv_patch_in_stop_machine = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ftrace_arch_code_modify_post_process(void) __releases(&text_mutex)
|
||||
{
|
||||
riscv_patch_in_stop_machine = false;
|
||||
mutex_unlock(&text_mutex);
|
||||
return 0;
|
||||
}
|
||||
@@ -109,9 +119,9 @@ int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec)
|
||||
{
|
||||
int out;
|
||||
|
||||
ftrace_arch_code_modify_prepare();
|
||||
mutex_lock(&text_mutex);
|
||||
out = ftrace_make_nop(mod, rec, MCOUNT_ADDR);
|
||||
ftrace_arch_code_modify_post_process();
|
||||
mutex_unlock(&text_mutex);
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <asm/kprobes.h>
|
||||
#include <asm/cacheflush.h>
|
||||
#include <asm/fixmap.h>
|
||||
#include <asm/ftrace.h>
|
||||
#include <asm/patch.h>
|
||||
|
||||
struct patch_insn {
|
||||
@@ -19,6 +20,8 @@ struct patch_insn {
|
||||
atomic_t cpu_count;
|
||||
};
|
||||
|
||||
int riscv_patch_in_stop_machine = false;
|
||||
|
||||
#ifdef CONFIG_MMU
|
||||
static void *patch_map(void *addr, int fixmap)
|
||||
{
|
||||
@@ -55,8 +58,15 @@ static int patch_insn_write(void *addr, const void *insn, size_t len)
|
||||
* Before reaching here, it was expected to lock the text_mutex
|
||||
* already, so we don't need to give another lock here and could
|
||||
* ensure that it was safe between each cores.
|
||||
*
|
||||
* We're currently using stop_machine() for ftrace & kprobes, and while
|
||||
* that ensures text_mutex is held before installing the mappings it
|
||||
* does not ensure text_mutex is held by the calling thread. That's
|
||||
* safe but triggers a lockdep failure, so just elide it for that
|
||||
* specific case.
|
||||
*/
|
||||
lockdep_assert_held(&text_mutex);
|
||||
if (!riscv_patch_in_stop_machine)
|
||||
lockdep_assert_held(&text_mutex);
|
||||
|
||||
if (across_pages)
|
||||
patch_map(addr + len, FIX_TEXT_POKE1);
|
||||
@@ -117,13 +127,25 @@ NOKPROBE_SYMBOL(patch_text_cb);
|
||||
|
||||
int patch_text(void *addr, u32 insn)
|
||||
{
|
||||
int ret;
|
||||
struct patch_insn patch = {
|
||||
.addr = addr,
|
||||
.insn = insn,
|
||||
.cpu_count = ATOMIC_INIT(0),
|
||||
};
|
||||
|
||||
return stop_machine_cpuslocked(patch_text_cb,
|
||||
&patch, cpu_online_mask);
|
||||
/*
|
||||
* kprobes takes text_mutex, before calling patch_text(), but as we call
|
||||
* calls stop_machine(), the lockdep assertion in patch_insn_write()
|
||||
* gets confused by the context in which the lock is taken.
|
||||
* Instead, ensure the lock is held before calling stop_machine(), and
|
||||
* set riscv_patch_in_stop_machine to skip the check in
|
||||
* patch_insn_write().
|
||||
*/
|
||||
lockdep_assert_held(&text_mutex);
|
||||
riscv_patch_in_stop_machine = true;
|
||||
ret = stop_machine_cpuslocked(patch_text_cb, &patch, cpu_online_mask);
|
||||
riscv_patch_in_stop_machine = false;
|
||||
return ret;
|
||||
}
|
||||
NOKPROBE_SYMBOL(patch_text);
|
||||
|
||||
@@ -96,7 +96,7 @@ void notrace walk_stackframe(struct task_struct *task,
|
||||
while (!kstack_end(ksp)) {
|
||||
if (__kernel_text_address(pc) && unlikely(fn(pc, arg)))
|
||||
break;
|
||||
pc = (*ksp++) - 0x4;
|
||||
pc = READ_ONCE_NOCHECK(*ksp++) - 0x4;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/of_clk.h>
|
||||
#include <linux/clockchips.h>
|
||||
#include <linux/clocksource.h>
|
||||
#include <linux/delay.h>
|
||||
#include <asm/sbi.h>
|
||||
@@ -28,6 +29,8 @@ void __init time_init(void)
|
||||
|
||||
of_clk_init(NULL);
|
||||
timer_probe();
|
||||
|
||||
tick_setup_hrtimer_broadcast();
|
||||
}
|
||||
|
||||
void clocksource_arch_init(struct clocksource *cs)
|
||||
|
||||
@@ -31,25 +31,29 @@ void die(struct pt_regs *regs, const char *str)
|
||||
{
|
||||
static int die_counter;
|
||||
int ret;
|
||||
long cause;
|
||||
unsigned long flags;
|
||||
|
||||
oops_enter();
|
||||
|
||||
spin_lock_irq(&die_lock);
|
||||
spin_lock_irqsave(&die_lock, flags);
|
||||
console_verbose();
|
||||
bust_spinlocks(1);
|
||||
|
||||
pr_emerg("%s [#%d]\n", str, ++die_counter);
|
||||
print_modules();
|
||||
show_regs(regs);
|
||||
if (regs)
|
||||
show_regs(regs);
|
||||
|
||||
ret = notify_die(DIE_OOPS, str, regs, 0, regs->cause, SIGSEGV);
|
||||
cause = regs ? regs->cause : -1;
|
||||
ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV);
|
||||
|
||||
if (regs && kexec_should_crash(current))
|
||||
if (kexec_should_crash(current))
|
||||
crash_kexec(regs);
|
||||
|
||||
bust_spinlocks(0);
|
||||
add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE);
|
||||
spin_unlock_irq(&die_lock);
|
||||
spin_unlock_irqrestore(&die_lock, flags);
|
||||
oops_exit();
|
||||
|
||||
if (in_interrupt())
|
||||
|
||||
@@ -79,6 +79,6 @@ void *decompress_kernel(void)
|
||||
void *output = (void *)decompress_offset;
|
||||
|
||||
__decompress(_compressed_start, _compressed_end - _compressed_start,
|
||||
NULL, NULL, output, 0, NULL, error);
|
||||
NULL, NULL, output, vmlinux.image_size, NULL, error);
|
||||
return output;
|
||||
}
|
||||
|
||||
@@ -57,11 +57,19 @@ repeat:
|
||||
if (IS_ENABLED(CONFIG_BLK_DEV_INITRD) && INITRD_START && INITRD_SIZE &&
|
||||
intersects(INITRD_START, INITRD_SIZE, safe_addr, size))
|
||||
safe_addr = INITRD_START + INITRD_SIZE;
|
||||
if (intersects(safe_addr, size, (unsigned long)comps, comps->len)) {
|
||||
safe_addr = (unsigned long)comps + comps->len;
|
||||
goto repeat;
|
||||
}
|
||||
for_each_rb_entry(comp, comps)
|
||||
if (intersects(safe_addr, size, comp->addr, comp->len)) {
|
||||
safe_addr = comp->addr + comp->len;
|
||||
goto repeat;
|
||||
}
|
||||
if (intersects(safe_addr, size, (unsigned long)certs, certs->len)) {
|
||||
safe_addr = (unsigned long)certs + certs->len;
|
||||
goto repeat;
|
||||
}
|
||||
for_each_rb_entry(cert, certs)
|
||||
if (intersects(safe_addr, size, cert->addr, cert->len)) {
|
||||
safe_addr = cert->addr + cert->len;
|
||||
|
||||
@@ -241,6 +241,7 @@ static void pop_kprobe(struct kprobe_ctlblk *kcb)
|
||||
{
|
||||
__this_cpu_write(current_kprobe, kcb->prev_kprobe.kp);
|
||||
kcb->kprobe_status = kcb->prev_kprobe.status;
|
||||
kcb->prev_kprobe.kp = NULL;
|
||||
}
|
||||
NOKPROBE_SYMBOL(pop_kprobe);
|
||||
|
||||
@@ -402,12 +403,11 @@ static int post_kprobe_handler(struct pt_regs *regs)
|
||||
if (!p)
|
||||
return 0;
|
||||
|
||||
resume_execution(p, regs);
|
||||
if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) {
|
||||
kcb->kprobe_status = KPROBE_HIT_SSDONE;
|
||||
p->post_handler(p, regs, 0);
|
||||
}
|
||||
|
||||
resume_execution(p, regs);
|
||||
pop_kprobe(kcb);
|
||||
preempt_enable_no_resched();
|
||||
|
||||
|
||||
@@ -472,7 +472,7 @@ void do_signal(struct pt_regs *regs)
|
||||
current->thread.system_call =
|
||||
test_pt_regs_flag(regs, PIF_SYSCALL) ? regs->int_code : 0;
|
||||
|
||||
if (test_thread_flag(TIF_SIGPENDING) && get_signal(&ksig)) {
|
||||
if (get_signal(&ksig)) {
|
||||
/* Whee! Actually deliver the signal. */
|
||||
if (current->thread.system_call) {
|
||||
regs->int_code = current->thread.system_call;
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
/* Handle ro_after_init data on our own. */
|
||||
#define RO_AFTER_INIT_DATA
|
||||
|
||||
#define RUNTIME_DISCARD_EXIT
|
||||
|
||||
#define EMITS_PT_NOTE
|
||||
|
||||
#include <asm-generic/vmlinux.lds.h>
|
||||
@@ -188,5 +190,6 @@ SECTIONS
|
||||
DISCARDS
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.interp)
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user