summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2022-08-04Merge branch 'mm-everything' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
2022-08-04Merge branch 'mm-nonmm-stable' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm # Conflicts: # include/linux/cpumask.h # lib/Makefile
2022-08-04Merge branch 'mm-stable' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm # Conflicts: # Documentation/translations/zh_CN/mm/free_page_reporting.rst # Documentation/translations/zh_CN/mm/frontswap.rst # Documentation/translations/zh_CN/mm/page_frags.rst # Documentation/translations/zh_CN/mm/page_migration.rst # Documentation/translations/zh_CN/mm/vmalloced-kernel-stacks.rst # Documentation/translations/zh_CN/mm/zsmalloc.rst # include/linux/pagevec.h # mm/internal.h
2022-08-04Merge branch 'bitmap-for-next' of https://github.com/norov/linux.gitMark Brown
2022-08-04Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.gitMark Brown
# Conflicts: # Makefile
2022-08-04Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.gitMark Brown
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
2022-08-04Merge branch 'next' of git://github.com/awilliam/linux-vfio.gitMark Brown
# Conflicts: # drivers/s390/crypto/vfio_ap_private.h # drivers/vfio/vfio.c # include/linux/vfio_pci_core.h
2022-08-04Merge branch 'tty-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
2022-08-04Merge branch 'usb-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git # Conflicts: # MAINTAINERS
2022-08-04Merge branch 'driver-core-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
2022-08-04Merge branch 'linux-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git
2022-08-04Merge branch 'next' of git://git.kernel.org/pub/scm/virt/kvm/kvm.gitMark Brown
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
2022-08-04Merge branch 'master' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
2022-08-04Merge branch 'next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
2022-08-04Merge branch 'for-mfd-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
2022-08-04Merge branch 'next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git
2022-08-04Merge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xtensa.gitMark Brown
2022-08-04Merge branch 'linux-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git # Conflicts: # arch/riscv/include/asm/errata_list.h # arch/riscv/include/asm/pci.h
2022-08-04Merge branch 'next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git # Conflicts: # arch/powerpc/Kconfig
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
2022-08-04Merge branch 'for-next' of git://github.com/openrisc/linux.gitMark Brown
2022-08-04Merge branch 'mips-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git
2022-08-04Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze.gitMark Brown
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git
2022-08-04Merge branch 'linux-next' of git://github.com/c-sky/csky-linux.gitMark Brown
2022-08-04Merge branch 'stm32-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
2022-08-04Merge branch 'next' of https://github.com/Broadcom/stblinux.gitMark Brown
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
2022-08-04Merge branch 'for-next' of git://git.armlinux.org.uk/~rmk/linux-arm.gitMark Brown
2022-08-04Merge branch 'master' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
2022-08-04Merge branch 'for-next' of git://git.infradead.org/users/hch/dma-mapping.gitMark Brown
2022-08-04Merge branch 'for-next' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
2022-08-04Merge branch 'spdx-linus' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx.git # Conflicts: # arch/arm/mach-bcm/bcm63xx.c # arch/arm/mach-davinci/board-dm644x-evm.c # arch/arm/mach-davinci/board-dm646x-evm.c # arch/arm/mach-davinci/board-neuros-osd2.c # arch/arm/mach-davinci/dm644x.c # arch/arm/mach-davinci/dm646x.c
2022-08-04Merge branch 'fixes' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
2022-08-04Merge branch 'arm/fixes' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
2022-08-04Merge branch 'for-curr' of ↵Mark Brown
git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git
2022-08-04Merge branch into tip/master: 'x86/sgx'Ingo Molnar
* x86/sgx: e0a5915f1cca x86/sgx: Drop 'page_index' from sgx_backing 6507cce561b4 selftests/sgx: Page removal stress test 08ceab2c37d3 selftests/sgx: Test reclaiming of untouched page 35c7e6dacb03 selftests/sgx: Test invalid access to removed enclave page 50b822e4b785 selftests/sgx: Test faulty enclave behavior 33c5aac3bf32 selftests/sgx: Test complete changing of page type flow b564982fda13 selftests/sgx: Introduce TCS initialization enclave operation 7eb4370152be selftests/sgx: Introduce dynamic entry point 67f1f70a23d1 selftests/sgx: Test two different SGX2 EAUG flows 7088c81f9473 selftests/sgx: Add test for TCS page permission changes 20404a808593 selftests/sgx: Add test for EPCM permission changes 629b5155d01b Documentation/x86: Introduce enclave runtime management section a0506b3b0636 x86/sgx: Free up EPC pages directly to support large page ranges 9849bb27152c x86/sgx: Support complete page removal 45d546b8c109 x86/sgx: Support modifying SGX page type 7b013e723a1f x86/sgx: Tighten accessible memory range after enclave initialization 5a90d2c3f5ef x86/sgx: Support adding of pages to an initialized enclave ff08530a5232 x86/sgx: Support restricting of enclave page permissions a76e7f1f1888 x86/sgx: Support VA page allocation without reclaiming 8123073c4335 x86/sgx: Export sgx_encl_page_alloc() 3a5351415228 x86/sgx: Export sgx_encl_{grow,shrink}() 8cb7b502f31e x86/sgx: Keep record of SGX page type dda03e2c331b x86/sgx: Create utility to validate user provided offset and length c7c6a8a61b00 x86/sgx: Make sgx_ipi_cb() available internally f89c2f9bf5a6 x86/sgx: Move PTE zap code to new sgx_zap_enclave_ptes() bdaa8799f697 x86/sgx: Rename sgx_encl_ewb_cpumask() as sgx_encl_cpumask() 7f391752d4ad x86/sgx: Export sgx_encl_ewb_cpumask() b3fb517dc602 x86/sgx: Support loading enclave page without VMA permissions check 61416b294af0 x86/sgx: Add wrapper for SGX2 EAUG function 09b38d0b412d x86/sgx: Add wrapper for SGX2 EMODT function 0fb2126db841 x86/sgx: Add wrapper for SGX2 EMODPR function 4c3f73584c0c x86/sgx: Add short descriptions to ENCLS wrappers Signed-off-by: Ingo Molnar <mingo@kernel.org>
2022-08-04Merge branch into tip/master: 'x86/platform'Ingo Molnar
* x86/platform: 81a71f51b89e x86/acrn: Set up timekeeping Signed-off-by: Ingo Molnar <mingo@kernel.org>
2022-08-04Merge branch into tip/master: 'x86/cleanups'Ingo Molnar
* x86/cleanups: edf13ecbc8d6 x86: Fix various duplicate-word comment typos a50be38f617b x86/boot: Remove superfluous type casting from arch/x86/boot/bitops.h Signed-off-by: Ingo Molnar <mingo@kernel.org>
2022-08-04Merge branch into tip/master: 'x86/urgent'Ingo Molnar
* x86/urgent: 625395c4a0f4 x86/numa: Use cpumask_available instead of hardcoded NULL check ffa6482e461f x86/bus_lock: Don't assume the init value of DEBUGCTLMSR.BUS_LOCK_DETECT to be zero Signed-off-by: Ingo Molnar <mingo@kernel.org>
2022-08-04x86: Fix various duplicate-word comment typosJason Wang
[ mingo: Consolidated 4 very similar patches into one, it's silly to spread this out. ] Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20220715044809.20572-1-wangborong@cdjrlc.com
2022-08-04x86/acrn: Set up timekeepingFei Li
ACRN Hypervisor reports timing information via CPUID leaf 0x40000010. Get the TSC and CPU frequency via CPUID leaf 0x40000010 and set the kernel values accordingly. Signed-off-by: Fei Li <fei1.li@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Conghui <conghui.chen@intel.com> Link: https://lore.kernel.org/r/20220804055903.365211-1-fei1.li@intel.com
2022-08-03Merge tag 'net-next-6.0' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next Pull networking changes from Paolo Abeni: "Core: - Refactor the forward memory allocation to better cope with memory pressure with many open sockets, moving from a per socket cache to a per-CPU one - Replace rwlocks with RCU for better fairness in ping, raw sockets and IP multicast router. - Network-side support for IO uring zero-copy send. - A few skb drop reason improvements, including codegen the source file with string mapping instead of using macro magic. - Rename reference tracking helpers to a more consistent netdev_* schema. - Adapt u64_stats_t type to address load/store tearing issues. - Refine debug helper usage to reduce the log noise caused by bots. BPF: - Improve socket map performance, avoiding skb cloning on read operation. - Add support for 64 bits enum, to match types exposed by kernel. - Introduce support for sleepable uprobes program. - Introduce support for enum textual representation in libbpf. - New helpers to implement synproxy with eBPF/XDP. - Improve loop performances, inlining indirect calls when possible. - Removed all the deprecated libbpf APIs. - Implement new eBPF-based LSM flavor. - Add type match support, which allow accurate queries to the eBPF used types. - A few TCP congetsion control framework usability improvements. - Add new infrastructure to manipulate CT entries via eBPF programs. - Allow for livepatch (KLP) and BPF trampolines to attach to the same kernel function. Protocols: - Introduce per network namespace lookup tables for unix sockets, increasing scalability and reducing contention. - Preparation work for Wi-Fi 7 Multi-Link Operation (MLO) support. - Add support to forciby close TIME_WAIT TCP sockets via user-space tools. - Significant performance improvement for the TLS 1.3 receive path, both for zero-copy and not-zero-copy. - Support for changing the initial MTPCP subflow priority/backup status - Introduce virtually contingus buffers for sockets over RDMA, to cope better with memory pressure. - Extend CAN ethtool support with timestamping capabilities - Refactor CAN build infrastructure to allow building only the needed features. Driver API: - Remove devlink mutex to allow parallel commands on multiple links. - Add support for pause stats in distributed switch. - Implement devlink helpers to query and flash line cards. - New helper for phy mode to register conversion. New hardware / drivers: - Ethernet DSA driver for the rockchip mt7531 on BPI-R2 Pro. - Ethernet DSA driver for the Renesas RZ/N1 A5PSW switch. - Ethernet DSA driver for the Microchip LAN937x switch. - Ethernet PHY driver for the Aquantia AQR113C EPHY. - CAN driver for the OBD-II ELM327 interface. - CAN driver for RZ/N1 SJA1000 CAN controller. - Bluetooth: Infineon CYW55572 Wi-Fi plus Bluetooth combo device. Drivers: - Intel Ethernet NICs: - i40e: add support for vlan pruning - i40e: add support for XDP framented packets - ice: improved vlan offload support - ice: add support for PPPoE offload - Mellanox Ethernet (mlx5) - refactor packet steering offload for performance and scalability - extend support for TC offload - refactor devlink code to clean-up the locking schema - support stacked vlans for bridge offloads - use TLS objects pool to improve connection rate - Netronome Ethernet NICs (nfp): - extend support for IPv6 fields mangling offload - add support for vepa mode in HW bridge - better support for virtio data path acceleration (VDPA) - enable TSO by default - Microsoft vNIC driver (mana) - add support for XDP redirect - Others Ethernet drivers: - bonding: add per-port priority support - microchip lan743x: extend phy support - Fungible funeth: support UDP segmentation offload and XDP xmit - Solarflare EF100: add support for virtual function representors - MediaTek SoC: add XDP support - Mellanox Ethernet/IB switch (mlxsw): - dropped support for unreleased H/W (XM router). - improved stats accuracy - unified bridge model coversion improving scalability (parts 1-6) - support for PTP in Spectrum-2 asics - Broadcom PHYs - add PTP support for BCM54210E - add support for the BCM53128 internal PHY - Marvell Ethernet switches (prestera): - implement support for multicast forwarding offload - Embedded Ethernet switches: - refactor OcteonTx MAC filter for better scalability - improve TC H/W offload for the Felix driver - refactor the Microchip ksz8 and ksz9477 drivers to share the probe code (parts 1, 2), add support for phylink mac configuration - Other WiFi: - Microchip wilc1000: diable WEP support and enable WPA3 - Atheros ath10k: encapsulation offload support Old code removal: - Neterion vxge ethernet driver: this is untouched since more than 10 years" * tag 'net-next-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1890 commits) doc: sfp-phylink: Fix a broken reference wireguard: selftests: support UML wireguard: allowedips: don't corrupt stack when detecting overflow wireguard: selftests: update config fragments wireguard: ratelimiter: use hrtimer in selftest net/mlx5e: xsk: Discard unaligned XSK frames on striding RQ net: usb: ax88179_178a: Bind only to vendor-specific interface selftests: net: fix IOAM test skip return code net: usb: make USB_RTL8153_ECM non user configurable net: marvell: prestera: remove reduntant code octeontx2-pf: Reduce minimum mtu size to 60 net: devlink: Fix missing mutex_unlock() call net/tls: Remove redundant workqueue flush before destroy net: txgbe: Fix an error handling path in txgbe_probe() net: dsa: Fix spelling mistakes and cleanup code Documentation: devlink: add add devlink-selftests to the table of contents dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock net: ionic: fix error check for vlan flags in ionic_set_nic_features() net: ice: fix error NETIF_F_HW_VLAN_CTAG_FILTER check in ice_vsi_sync_fltr() nfp: flower: add support for tunnel offload without key ID ...
2022-08-03Merge tag 'for-5.20-tag' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux Pull btrfs updates from David Sterba: "This brings some long awaited changes, the send protocol bump, otherwise lots of small improvements and fixes. The main core part is reworking bio handling, cleaning up the submission and endio and improving error handling. There are some changes outside of btrfs adding helpers or updating API, listed at the end of the changelog. Features: - sysfs: - export chunk size, in debug mode add tunable for setting its size - show zoned among features (was only in debug mode) - show commit stats (number, last/max/total duration) - send protocol updated to 2 - new commands: - ability write larger data chunks than 64K - send raw compressed extents (uses the encoded data ioctls), ie. no decompression on send side, no compression needed on receive side if supported - send 'otime' (inode creation time) among other timestamps - send file attributes (a.k.a file flags and xflags) - this is first version bump, backward compatibility on send and receive side is provided - there are still some known and wanted commands that will be implemented in the near future, another version bump will be needed, however we want to minimize that to avoid causing usability issues - print checksum type and implementation at mount time - don't print some messages at mount (mentioned as people asked about it), we want to print messages namely for new features so let's make some space for that - big metadata - this has been supported for a long time and is not a feature that's worth mentioning - skinny metadata - same reason, set by default by mkfs Performance improvements: - reduced amount of reserved metadata for delayed items - when inserted items can be batched into one leaf - when deleting batched directory index items - when deleting delayed items used for deletion - overall improved count of files/sec, decreased subvolume lock contention - metadata item access bounds checker micro-optimized, with a few percent of improved runtime for metadata-heavy operations - increase direct io limit for read to 256 sectors, improved throughput by 3x on sample workload Notable fixes: - raid56 - reduce parity writes, skip sectors of stripe when there are no data updates - restore reading from on-disk data instead of using stripe cache, this reduces chances to damage correct data due to RMW cycle - refuse to replay log with unknown incompat read-only feature bit set - zoned - fix page locking when COW fails in the middle of allocation - improved tracking of active zones, ZNS drives may limit the number and there are ENOSPC errors due to that limit and not actual lack of space - adjust maximum extent size for zone append so it does not cause late ENOSPC due to underreservation - mirror reading error messages show the mirror number - don't fallback to buffered IO for NOWAIT direct IO writes, we don't have the NOWAIT semantics for buffered io yet - send, fix sending link commands for existing file paths when there are deleted and created hardlinks for same files - repair all mirrors for profiles with more than 1 copy (raid1c34) - fix repair of compressed extents, unify where error detection and repair happen Core changes: - bio completion cleanups - don't double defer compression bios - simplify endio workqueues - add more data to btrfs_bio to avoid allocation for read requests - rework bio error handling so it's same what block layer does, the submission works and errors are consumed in endio - when asynchronous bio offload fails fall back to synchronous checksum calculation to avoid errors under writeback or memory pressure - new trace points - raid56 events - ordered extent operations - super block log_root_transid deprecated (never used) - mixed_backref and big_metadata sysfs feature files removed, they've been default for sufficiently long time, there are no known users and mixed_backref could be confused with mixed_groups Non-btrfs changes, API updates: - minor highmem API update to cover const arguments - switch all kmap/kmap_atomic to kmap_local - remove redundant flush_dcache_page() - address_space_operations::writepage callback removed - add bdev_max_segments() helper" * tag 'for-5.20-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: (163 commits) btrfs: don't call btrfs_page_set_checked in finish_compressed_bio_read btrfs: fix repair of compressed extents btrfs: remove the start argument to check_data_csum and export btrfs: pass a btrfs_bio to btrfs_repair_one_sector btrfs: simplify the pending I/O counting in struct compressed_bio btrfs: repair all known bad mirrors btrfs: merge btrfs_dev_stat_print_on_error with its only caller btrfs: join running log transaction when logging new name btrfs: simplify error handling in btrfs_lookup_dentry btrfs: send: always use the rbtree based inode ref management infrastructure btrfs: send: fix sending link commands for existing file paths btrfs: send: introduce recorded_ref_alloc and recorded_ref_free btrfs: zoned: wait until zone is finished when allocation didn't progress btrfs: zoned: write out partially allocated region btrfs: zoned: activate necessary block group btrfs: zoned: activate metadata block group on flush_space btrfs: zoned: disable metadata overcommit for zoned btrfs: zoned: introduce space_info->active_total_bytes btrfs: zoned: finish least available block group on data bg allocation btrfs: let can_allocate_chunk return error ...
2022-08-03Merge tag 'efi-efivars-removal-for-v5.20' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi Pull efivars sysfs interface removal from Ard Biesheuvel: "Remove the obsolete 'efivars' sysfs based interface to the EFI variable store, now that all users have moved to the efivarfs pseudo file system, which was created ~10 years ago to address some fundamental shortcomings in the sysfs based driver. Move the 'business logic' related to which EFI variables are important and may affect the boot flow from the efivars support layer into the efivarfs pseudo file system, so it is no longer exposed to other parts of the kernel" * tag 'efi-efivars-removal-for-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi: efi: vars: Move efivar caching layer into efivarfs efi: vars: Switch to new wrapper layer efi: vars: Remove deprecated 'efivars' sysfs interface