twx-linux/include/linux
Chao Peng 16f95f3b95 KVM: Add KVM_EXIT_MEMORY_FAULT exit to report faults to userspace
Add a new KVM exit type to allow userspace to handle memory faults that
KVM cannot resolve, but that userspace *may* be able to handle (without
terminating the guest).

KVM will initially use KVM_EXIT_MEMORY_FAULT to report implicit
conversions between private and shared memory.  With guest private memory,
there will be two kind of memory conversions:

  - explicit conversion: happens when the guest explicitly calls into KVM
    to map a range (as private or shared)

  - implicit conversion: happens when the guest attempts to access a gfn
    that is configured in the "wrong" state (private vs. shared)

On x86 (first architecture to support guest private memory), explicit
conversions will be reported via KVM_EXIT_HYPERCALL+KVM_HC_MAP_GPA_RANGE,
but reporting KVM_EXIT_HYPERCALL for implicit conversions is undesriable
as there is (obviously) no hypercall, and there is no guarantee that the
guest actually intends to convert between private and shared, i.e. what
KVM thinks is an implicit conversion "request" could actually be the
result of a guest code bug.

KVM_EXIT_MEMORY_FAULT will be used to report memory faults that appear to
be implicit conversions.

Note!  To allow for future possibilities where KVM reports
KVM_EXIT_MEMORY_FAULT and fills run->memory_fault on _any_ unresolved
fault, KVM returns "-EFAULT" (-1 with errno == EFAULT from userspace's
perspective), not '0'!  Due to historical baggage within KVM, exiting to
userspace with '0' from deep callstacks, e.g. in emulation paths, is
infeasible as doing so would require a near-complete overhaul of KVM,
whereas KVM already propagates -errno return codes to userspace even when
the -errno originated in a low level helper.

Report the gpa+size instead of a single gfn even though the initial usage
is expected to always report single pages.  It's entirely possible, likely
even, that KVM will someday support sub-page granularity faults, e.g.
Intel's sub-page protection feature allows for additional protections at
128-byte granularity.

Link: https://lore.kernel.org/all/20230908222905.1321305-5-amoorthy@google.com
Link: https://lore.kernel.org/all/ZQ3AmLO2SYv3DszH@google.com
Cc: Anish Moorthy <amoorthy@google.com>
Cc: David Matlack <dmatlack@google.com>
Suggested-by: Sean Christopherson <seanjc@google.com>
Co-developed-by: Yu Zhang <yu.c.zhang@linux.intel.com>
Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com>
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Co-developed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20231027182217.3615211-10-seanjc@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-11-13 05:31:11 -05:00
..
amba
atomic locking/atomic: scripts: fix fallback ifdeffery 2023-09-20 09:39:03 +02:00
avf virtchnl: fix fake 1-elem arrays for structures allocated as nents 2023-08-16 09:14:14 -07:00
bcma
byteorder
can
cdx
ceph Revert "ceph: make members in struct ceph_mds_request_args_ext a union" 2023-09-18 12:04:50 +02:00
clk clk: mmp: Remove old non-OF clock drivers 2023-08-22 14:13:11 -07:00
comedi
crush
decompress
device
dma
dsa
extcon
firmware Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
fpga
fsl
gpio
greybus greybus: svc: Remove unused declarations 2023-08-22 16:32:35 +02:00
hsi
i3c
iio Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
input
irqchip
isdn
lockd SUNRPC: remove timeout arg from svc_recv() 2023-08-29 17:45:22 -04:00
mailbox
mdio
mfd - New Drivers 2023-09-04 13:47:59 -07:00
mlx4 mlx4: Delete custom device management logic 2023-08-23 08:25:28 +01:00
mlx5 net/mlx5: Provide an interface to block change of IPsec capabilities 2023-08-27 17:08:45 -07:00
mmc mmc: core: Add host specific tuning support for SD HS mode 2023-08-25 11:45:51 +02:00
mtd mtd: rawnand: Ensure the nand chip supports cached reads 2023-10-16 10:47:22 +02:00
mux
net/intel
netfilter netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp 2023-10-04 14:12:01 +02:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
pcs net: pcs: xpcs: support to switch mode for Wangxun NICs 2023-08-25 07:42:58 +01:00
pds vfio/pds: Add support for dirty page tracking 2023-08-16 10:54:46 -06:00
perf KVM: arm64: Add PMU event filter bits required if EL3 is implemented 2023-10-24 19:26:14 +00:00
phy
pinctrl
platform_data RTC for 6.6 2023-09-07 16:07:35 -07:00
power
pse-pd
qed qed/qede: Remove unused declarations 2023-08-23 08:21:37 +01:00
raid raid6: Add LoongArch SIMD recovery implementation 2023-09-06 22:53:55 +08:00
regulator regulator: db8500-prcmu: Remove unused declaration power_state_active_is_enabled() 2023-08-18 13:58:05 +01:00
remoteproc
reset
rpmsg
rtc
sched - An extensive rework of kexec and crash Kconfig from Eric DeVolder 2023-08-29 14:53:51 -07:00
soc This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
soundwire soundwire updates for 6.6 2023-09-03 10:20:57 -07:00
spi spi: sh-msiof: switch to use modern name 2023-08-21 14:29:35 +01:00
ssb
sunrpc SUNRPC: Silence compiler complaints about tautological comparisons 2023-09-15 15:50:39 -04:00
surface_aggregator
ulpi
unaligned
usb USB / Thunderbolt / PHY driver update for 6.6-rc1 2023-09-01 09:23:34 -07:00
8250_pci.h
acct.h
acpi_dma.h
acpi_iort.h perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09 2023-08-15 12:50:53 +01:00
acpi_mdio.h
acpi_pmtmr.h
acpi_viot.h
acpi.h cpuidle, ACPI: Evaluate LPI arch_flags for broadcast timer 2023-10-04 16:31:27 +01:00
adb.h
adfs_fs.h
adreno-smmu-priv.h
adxl.h
aer.h PCI/AER: Export pcie_aer_is_native() 2023-09-11 15:24:16 -07:00
agp_backend.h
agpgart.h
ahci_platform.h
ahci-remap.h
aio.h
alarmtimer.h
alcor_pci.h
align.h
altera_jtaguart.h
altera_uart.h
amd-iommu.h
amd-pstate.h
anon_inodes.h
aperture.h
apm_bios.h
apm-emulation.h
apple-gmux.h
apple-mailbox.h
arch_topology.h
args.h kernel.h: split out COUNT_ARGS() and CONCATENATE() to args.h 2023-08-18 10:18:56 -07:00
arm_ffa.h
arm_sdei.h
arm-cci.h
arm-smccc.h KVM: arm64: nvhe: Ignore SVE hint in SMCCC function ID 2023-09-12 13:07:37 +01:00
armada-37xx-rwtm-mailbox.h
ascii85.h
asn1_ber_bytecode.h
asn1_decoder.h
asn1_encoder.h
asn1.h
assoc_array_priv.h
assoc_array.h
async_tx.h
async.h
ata_platform.h
ata.h
atalk.h
ath9k_platform.h
atm_tcp.h
atm.h
atmdev.h
atmel_pdc.h
atmel-isc-media.h
atmel-ssc.h
atomic.h
attribute_container.h
audit_arch.h
audit.h netfilter: nf_tables: Audit log rule reset 2023-08-31 01:29:28 +02:00
auto_dev-ioctl.h
auto_fs.h
auxiliary_bus.h
auxvec.h
average.h
backing-dev-defs.h
backing-dev.h writeback: remove unused delaration of bdi_async_bio_wq 2023-08-21 13:38:01 -07:00
backlight.h
badblocks.h
balloon_compaction.h
base64.h
bcd.h
bch.h
bcm47xx_nvram.h
bcm47xx_sprom.h
bcm47xx_wdt.h
bcm963xx_nvram.h
bcm963xx_tag.h
binfmts.h
bio.h Merge tag 'md-next-20230814-resend' into loongarch-next 2023-08-30 17:35:54 +08:00
bit_spinlock.h
bitfield.h
bitmap.h
bitops.h
bitrev.h
bits.h
blk_types.h
blk-cgroup.h
blk-crypto-profile.h
blk-crypto.h
blk-integrity.h
blk-mq-pci.h
blk-mq-virtio.h
blk-mq.h Merge tag 'md-next-20230814-resend' into loongarch-next 2023-08-30 17:35:54 +08:00
blk-pm.h
blkdev.h Merge tag 'md-next-20230814-resend' into loongarch-next 2023-08-30 17:35:54 +08:00
blkpg.h
blktrace_api.h
blockgroup_lock.h
bma150.h
bootconfig.h
bootmem_info.h
bottom_half.h
bpf_lirc.h
bpf_local_storage.h
bpf_lsm.h
bpf_mem_alloc.h
bpf_mprog.h
bpf_trace.h
bpf_types.h
bpf_verifier.h bpf: Consider non-owning refs trusted 2023-08-25 09:23:16 -07:00
bpf-cgroup-defs.h
bpf-cgroup.h
bpf-netns.h
bpf.h bpf: Fix tr dereferencing 2023-09-19 16:41:26 -07:00
bpfilter.h
bpfptr.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btf_ids.h bpf: Fix BTF_ID symbol generation collision 2023-09-15 12:08:27 -07:00
btf.h Probes updates for v6.6: 2023-09-02 11:10:50 -07:00
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h Regression and bug fixes for ext4. 2023-09-17 10:33:53 -07:00
bug.h
build_bug.h
build-salt.h
buildid.h
bvec.h
c2port.h
cache.h
cacheflush.h mm: rationalise flush_icache_pages() and flush_icache_page() 2023-08-24 16:20:25 -07:00
cacheinfo.h
capability.h
cb710.h
cc_platform.h
cciss_ioctl.h
ccp.h
cdev.h
cdrom.h
cfag12864b.h
cfi_types.h
cfi.h
cgroup_api.h
cgroup_rdma.h
cgroup_refcnt.h
cgroup_subsys.h
cgroup-defs.h cgroup: Fix incorrect css_set_rwsem reference in comment 2023-10-12 07:22:56 -10:00
cgroup.h
circ_buf.h
cleanup.h
clk-provider.h clk: Annotate struct clk_hw_onecell_data with __counted_by 2023-08-22 13:51:26 -07:00
clk.h
clkdev.h
clockchips.h
clocksource_ids.h
clocksource.h
cma.h
cn_proc.h
cnt32_to_63.h
coda.h
compaction.h
compat.h
compiler_attributes.h Compiler Attributes: counted_by: Adjust name and identifier expansion 2023-08-17 16:46:35 -07:00
compiler_types.h compiler_types: Introduce the Clang __preserve_most function attribute 2023-08-15 14:57:24 -07:00
compiler-clang.h
compiler-gcc.h
compiler-version.h
compiler.h
completion.h
component.h
configfs.h
connector.h
console_struct.h
console.h
consolemap.h
const.h
container_of.h
container.h
context_tracking_irq.h
context_tracking_state.h
context_tracking.h
cookie.h
cordic.h
coredump.h
coresight-pmu.h
coresight-stm.h
coresight.h
count_zeros.h
counter.h counter: Declare counter_priv() to be const 2023-08-16 09:41:29 -04:00
cper.h
cpu_cooling.h
cpu_pm.h
cpu_rmap.h
cpu_smt.h
cpu.h cpu-hotplug: Provide prototypes for arch CPU registration 2023-10-11 14:27:37 +02:00
cpufeature.h
cpufreq.h cpufreq: Support per-policy performance boost 2023-08-29 20:51:40 +02:00
cpuhotplug.h xfs: remove CPU hotplug infrastructure 2023-09-11 08:39:04 -07:00
cpuidle_haltpoll.h
cpuidle.h
cpumask_api.h
cpumask.h
cpuset.h
crash_core.h crash: add generic infrastructure for crash hotplug support 2023-08-24 16:25:13 -07:00
crash_dump.h
crc4.h
crc7.h
crc8.h
crc16.h
crc32.h
crc32c.h
crc32poly.h
crc64.h
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
cred.h
crypto.h
cs5535.h
ctype.h
cuda.h
damon.h mm/damon/core: implement target type damos filter 2023-08-21 13:37:37 -07:00
dasd_mod.h
davinci_emac.h
dax.h mm: remove enum page_entry_size 2023-08-24 16:20:30 -07:00
dca.h
dcache.h
dccp.h
debug_locks.h
debugfs.h
debugobjects.h
delay.h
delayacct.h
delayed_call.h
dev_printk.h
devcoredump.h
devfreq_cooling.h
devfreq-event.h
devfreq.h
device_cgroup.h
device-mapper.h
device.h Driver core changes for 6.6-rc1 2023-09-01 09:43:18 -07:00
devm-helpers.h
devpts_fs.h
dfl.h
digsig.h
dim.h
dio.h
dirent.h
dlm_plock.h
dlm.h
dm9000.h
dm-bufio.h
dm-dirty-log.h
dm-io.h
dm-kcopyd.h
dm-region-hash.h
dm-verity-loadpin.h LoadPin: Annotate struct dm_verity_loadpin_trusted_root_digest with __counted_by 2023-08-25 16:07:30 -07:00
dma-buf.h
dma-direct.h
dma-direction.h
dma-fence-array.h
dma-fence-chain.h
dma-fence-unwrap.h
dma-fence.h dma-buf: add dma_fence_timestamp helper 2023-10-05 11:05:58 +02:00
dma-heap.h
dma-map-ops.h
dma-mapping.h
dma-resv.h
dmaengine.h
dmapool.h
dmar.h
dmi.h
dnotify.h
dns_resolver.h
dqblk_qtree.h
dqblk_v1.h
dqblk_v2.h
drbd_config.h
drbd_genl_api.h
drbd_genl.h
drbd_limits.h
drbd.h
ds2782_battery.h
dtlk.h
dtpm.h
dw_apb_timer.h
dynamic_debug.h
dynamic_queue_limits.h
earlycpio.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi_embedded_fw.h
efi-bgrt.h
efi.h drm for 6.6-rc1 2023-08-30 13:34:34 -07:00
efs_vh.h
eisa.h
elf-fdpic.h binfmt_elf_fdpic: support 64-bit systems 2023-08-23 14:17:42 -07:00
elf-randomize.h
elf.h
elfcore-compat.h
elfcore.h
elfnote-lto.h
elfnote.h
enclosure.h
energy_model.h
entry-common.h
entry-kvm.h
err.h
errname.h
errno.h
error-injection.h
errqueue.h
errseq.h
etherdevice.h
ethtool_netlink.h
ethtool.h
eventfd.h
eventpoll.h
evm.h
export-internal.h linux/export: fix reference to exported functions for parisc64 2023-09-12 17:42:00 +02:00
export.h
exportfs.h
ext2_fs.h
extable.h
extcon-provider.h
extcon.h
f2fs_fs.h
f75375s.h
falloc.h
fanotify.h
fault-inject-usercopy.h
fault-inject.h
fb.h fbdev: Update fbdev source file paths 2023-09-01 00:29:34 +02:00
fbcon.h
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h
fec.h
fiemap.h
file.h
fileattr.h
filelock.h
filter.h
find.h
fips.h
firewire.h
firmware-map.h
firmware.h
fixp-arith.h
flat.h
flex_proportions.h
font.h
fortify-string.h
fprobe.h
freelist.h
freezer.h
fs_api.h
fs_context.h fs: factor out vfs_parse_monolithic_sep() helper 2023-10-12 18:53:36 +03:00
fs_parser.h
fs_pin.h
fs_stack.h
fs_struct.h
fs_types.h
fs.h audit,io_uring: io_uring openat triggers audit reference count underflow 2023-10-13 18:34:46 +02:00
fscache-cache.h
fscache.h
fscrypt.h
fsi-occ.h
fsi-sbefifo.h
fsi.h
fsl_devices.h
fsl_hypervisor.h
fsl_ifc.h
fsl-diu-fb.h
fsldma.h
fsnotify_backend.h
fsnotify.h
fsverity.h
ftrace_irq.h
ftrace.h ftrace: Remove empty declaration ftrace_enable_daemon() and ftrace_disable_daemon() 2023-08-22 05:20:34 -04:00
futex.h
fwnode_mdio.h
fwnode.h
gameport.h
gcd.h
genalloc.h
generic-radix-tree.h
genetlink.h
genl_magic_func.h genetlink: replace custom CONCATENATE() implementation 2023-08-18 10:18:57 -07:00
genl_magic_struct.h genetlink: replace custom CONCATENATE() implementation 2023-08-18 10:18:57 -07:00
getcpu.h
gfp_api.h
gfp_types.h
gfp.h
glob.h
gnss.h
goldfish.h
gpio_keys.h
gpio-pxa.h
gpio.h
greybus.h
group_cpus.h
hardirq.h
hash.h
hashtable_api.h
hashtable.h
hdlc.h
hdlcdrv.h
hdmi.h
hex.h
hid_bpf.h
hid-debug.h
hid-roccat.h HID: roccat: make all 'class' structures const 2023-08-14 11:23:35 +02:00
hid-sensor-hub.h
hid-sensor-ids.h
hid.h Merge branch 'for-6.6/doc' into for-linus 2023-08-31 10:38:03 +02:00
hidden.h
hiddev.h
hidraw.h
highmem-internal.h
highmem.h highmem: add memcpy_to_folio() and memcpy_from_folio() 2023-08-18 10:12:29 -07:00
highuid.h
hil_mlc.h
hil.h
hippidevice.h
hisi_acc_qm.h
hmm.h
host1x_context_bus.h
host1x.h
hp_sdc.h
hpet.h
hrtimer_api.h
hrtimer_defs.h
hrtimer.h
hte.h
huge_mm.h mm: convert prep_transhuge_page() to folio_prep_large_rmappable() 2023-08-21 14:28:43 -07:00
hugetlb_cgroup.h
hugetlb_inline.h
hugetlb.h hugetlbfs: close race between MADV_DONTNEED and page fault 2023-10-18 12:12:41 -07:00
hw_breakpoint.h perf/hw_breakpoint: Remove arch breakpoint hooks 2023-08-16 23:54:50 +10:00
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hyperv.h hyperv-next for v6.6 2023-09-04 11:26:29 -07:00
hypervisor.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-atr.h
i2c-dev.h
i2c-mux.h
i2c-smbus.h
i2c.h i2c: Drop legacy callback .probe_new() 2023-09-13 10:48:48 +02:00
i8042.h
i8253.h
i8254.h
icmp.h
icmpv6.h
idle_inject.h
idr.h
ieee80211.h wifi: mac80211: don't drop all unprotected public action frames 2023-10-23 13:25:30 +02:00
ieee802154.h
if_arp.h net: handle ARPHRD_PPP in dev_is_mac_header_xmit() 2023-08-25 08:08:27 +01:00
if_bridge.h
if_eql.h
if_ether.h
if_fddi.h
if_hsr.h
if_link.h
if_ltalk.h
if_macvlan.h
if_phonet.h
if_pppol2tp.h
if_pppox.h
if_rmnet.h
if_tap.h
if_team.h team: fix null-ptr-deref when team device type is changed 2023-09-19 16:28:37 +02:00
if_tun.h
if_tunnel.h
if_vlan.h
igmp.h
ihex.h
ima.h
imx-media.h
in6.h
in.h
indirect_call_wrapper.h
inet_diag.h
inet.h
inetdevice.h
init_ohci1394_dma.h
init_syscalls.h
init_task.h
init.h
initrd.h
inotify.h
input.h
instruction_pointer.h x86/ibt: Suppress spurious ENDBR 2023-09-12 17:50:53 +02:00
instrumentation.h
instrumented.h
int_log.h
integrity.h
intel_rapl.h
intel_tcc.h
intel_th.h
intel_tpmi.h
intel-ish-client-if.h
interconnect-clk.h
interconnect-provider.h interconnect: qcom: Annotate struct icc_onecell_data with __counted_by 2023-08-22 01:11:32 +03:00
interconnect.h
interrupt.h timers: Tag (hr)timer softirq as hotplug safe 2023-09-27 16:54:03 +02:00
interval_tree_generic.h
interval_tree.h
io_uring_types.h io_uring: move iopoll ctx fields around 2023-08-24 17:16:20 -06:00
io_uring.h
io-64-nonatomic-hi-lo.h
io-64-nonatomic-lo-hi.h
io-mapping.h
io-pgtable.h
io.h
ioam6_genl.h
ioam6_iptunnel.h
ioam6.h
iocontext.h
iomap.h for-6.6/block-2023-08-28 2023-08-29 20:21:42 -07:00
iommu-helper.h
iommu.h IOMMU Updates for Linux v6.6 2023-09-01 16:54:25 -07:00
iommufd.h
iopoll.h
ioport.h
ioprio.h
ioremap.h mm: move is_ioremap_addr() into new header file 2023-08-18 10:12:35 -07:00
iosys-map.h
iova_bitmap.h
iova.h
ip.h
ipack.h
ipc_namespace.h
ipc.h
ipmi_smi.h
ipmi.h
ipv6_route.h
ipv6.h ipv6: ignore dst hint for multipath routes 2023-09-01 08:11:51 +01:00
irq_poll.h
irq_sim.h
irq_work.h
irq.h
irqbypass.h
irqchip.h
irqdesc.h
irqdomain_defs.h
irqdomain.h
irqflags.h
irqhandler.h
irqnr.h
irqreturn.h
isa-dma.h
isa.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
ism.h
iversion.h
jbd2.h
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label_ratelimit.h
jump_label.h
jz4740-adc.h
jz4780-nemc.h
kallsyms.h
kasan-checks.h
kasan-enabled.h
kasan-tags.h
kasan.h kasan: disable kasan_non_canonical_hook() for HW tags 2023-10-18 12:12:41 -07:00
kbd_diacr.h
kbd_kern.h
kbuild.h
kconfig.h
kcore.h
kcov.h
kcsan-checks.h
kcsan.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel_read_file.h
kernel_stat.h
kernel-page-flags.h
kernel.h lib/vsprintf: split out sprintf() and friends 2023-08-21 13:46:24 -07:00
kernelcapi.h
kernfs.h
kexec.h crash: hotplug support for kexec_load() 2023-08-24 16:25:14 -07:00
key-type.h
key.h
keyboard.h
keyctl.h
kfence.h mm: kfence: allocate kfence_metadata at runtime 2023-08-18 10:12:39 -07:00
kfifo.h
kgdb.h
khugepaged.h
klist.h
kmemleak.h
kmod.h
kmsan_string.h
kmsan_types.h
kmsan-checks.h
kmsan.h
kmsg_dump.h
kobj_map.h
kobject_api.h
kobject_ns.h
kobject.h
kprobes.h
kref_api.h
kref.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h ksm: add ksm zero pages for each process 2023-08-18 10:12:10 -07:00
kstrtox.h
kthread.h kthread: unexport __kthread_should_park() 2023-08-18 10:18:59 -07:00
ktime_api.h
ktime.h
kvm_dirty_ring.h
kvm_host.h KVM: Add KVM_EXIT_MEMORY_FAULT exit to report faults to userspace 2023-11-13 05:31:11 -05:00
kvm_irqfd.h
kvm_para.h
kvm_types.h KVM: Convert KVM_ARCH_WANT_MMU_NOTIFIER to CONFIG_KVM_GENERIC_MMU_NOTIFIER 2023-11-13 05:29:09 -05:00
l2tp.h
lantiq.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-class-flash.h
led-class-multicolor.h
led-lm3530.h
leds-bd2802.h
leds-lp3944.h
leds-lp3952.h
leds-pca9532.h
leds-regulator.h
leds-ti-lmu-common.h
leds.h leds: class: Store the color index in struct led_classdev 2023-08-17 09:00:34 +01:00
libata.h ata: libata-scsi: Disable scsi device manage_system_start_stop 2023-09-28 21:23:03 +09:00
libfdt_env.h
libfdt.h
libgcc.h
libnvdimm.h
libps2.h
license.h
limits.h range.h: Move resource API and constant to respective files 2023-08-18 10:19:00 -07:00
linear_range.h
linkage.h
linkmode.h
linux_logo.h
lis3lv02d.h
list_bl.h
list_lru.h
list_nulls.h
list_sort.h
list.h list: Introduce CONFIG_LIST_HARDENED 2023-08-15 14:57:25 -07:00
litex.h
livepatch_sched.h
livepatch.h
llc.h
llist_api.h
llist.h
local_lock_internal.h
local_lock.h
lockdep_api.h
lockdep_types.h
lockdep.h
lockref.h
log2.h
logic_iomem.h
logic_pio.h
lp.h
lru_cache.h
lsm_audit.h
lsm_hook_defs.h lsm/stable-6.6 PR 20230829 2023-08-30 09:07:09 -07:00
lsm_hooks.h
lz4.h
lzo.h
mailbox_client.h
mailbox_controller.h
map_benchmark.h
maple_tree.h maple_tree: add MAS_UNDERFLOW and MAS_OVERFLOW states 2023-09-29 17:20:46 -07:00
maple.h
marvell_phy.h
math64.h
math.h drm/i915: Move abs_diff() to math.h 2023-08-18 10:18:59 -07:00
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mcb.h mcb: remove is_added flag from mcb_device struct 2023-10-05 09:50:14 +02:00
mdev.h
mdio-bitbang.h
mdio-gpio.h
mdio-mux.h
mdio.h
mei_aux.h
mei_cl_bus.h
mem_encrypt.h
memblock.h mm: memtest: convert to memtest_report_meminfo() 2023-08-21 13:37:47 -07:00
memcontrol.h mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement 2023-09-19 13:21:34 -07:00
memfd.h
memory_hotplug.h mm/memory_hotplug: allow memmap on memory hotplug request to fallback 2023-08-21 13:37:48 -07:00
memory-tiers.h memory tier: rename destroy_memory_type() to put_memory_type() 2023-08-18 10:12:11 -07:00
memory.h mm/memory_hotplug: embed vmem_altmap details in memory block 2023-08-21 13:37:49 -07:00
mempolicy.h
mempool.h
memregion.h
memremap.h
memstick.h
mhi_ep.h
mhi.h
micrel_phy.h net: phy: Provide Module 4 KSZ9477 errata (DS80000754C) 2023-09-06 20:49:04 -07:00
microchipphy.h
migrate_mode.h
migrate.h
mii_timestamper.h
mii.h
min_heap.h
minmax.h sound updates for 6.6-rc1 2023-08-30 13:45:05 -07:00
misc_cgroup.h
miscdevice.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm_api.h
mm_inline.h mm-make-pte_marker_swapin_error-more-general-fix 2023-08-18 10:12:16 -07:00
mm_types_task.h mm/tlbbatch: rename and extend some functions 2023-08-18 10:12:36 -07:00
mm_types.h mm/swap: use dedicated entry for swap in folio 2023-08-24 16:20:28 -07:00
mm.h Add x86 shadow stack support 2023-08-31 12:20:12 -07:00
mman.h
mmap_lock.h mm: don't drop VMA locks in mm_drop_all_locks() 2023-08-18 10:12:46 -07:00
mmdebug.h
mmiotrace.h
mmu_context.h
mmu_notifier.h mmu_notifiers: rename invalidate_range notifier 2023-08-18 10:12:41 -07:00
mmzone.h mm: remove obsolete comment above struct per_cpu_pages 2023-08-18 10:12:12 -07:00
mnt_idmapping.h
mnt_namespace.h
mod_devicetable.h
module_signature.h
module_symbol.h
module.h
moduleloader.h
moduleparam.h
most.h
mount.h
moxtet.h
mpage.h
mpi.h
mpls_iptunnel.h
mpls.h
mroute6.h
mroute_base.h
mroute.h
msdos_fs.h
msdos_partition.h
msg.h
msi_api.h
msi.h
mtio.h
mutex_api.h
mutex.h
mv643xx_eth.h
mv643xx_i2c.h
mv643xx.h
mvebu-pmsu.h
mxm-wmi.h
namei.h
nd.h
ndctl.h
net_tstamp.h
net.h
netdev_features.h
netdevice.h
netfilter_bridge.h
netfilter_defs.h
netfilter_ipv4.h
netfilter_ipv6.h
netfilter_netdev.h
netfilter.h
netfs.h
netlink.h
netpoll.h
nfs3.h
nfs4.h
nfs_fs_i.h
nfs_fs_sb.h NFSv4.1: fix pnfs MDS=DS session trunking 2023-09-13 11:51:11 -04:00
nfs_fs.h
nfs_iostat.h
nfs_page.h NFS: Use the correct commit info in nfs_join_page_group() 2023-09-13 11:51:11 -04:00
nfs_ssc.h
nfs_xdr.h
nfs.h
nfsacl.h
nitro_enclaves.h
nl802154.h
nls.h
nmi.h nmi_backtrace: allow excluding an arbitrary CPU 2023-08-18 10:19:00 -07:00
node.h
nodemask.h
nospec.h
notifier.h srcu,notifier: Remove #ifdefs in favor of SRCU Tiny srcu_usage 2023-08-16 14:27:01 -07:00
ns_common.h
nsc_gpio.h
nsproxy.h nsproxy: Convert nsproxy.count to refcount_t 2023-08-21 11:29:12 -07:00
ntb_transport.h
ntb.h
nubus.h
numa.h
nvme-auth.h
nvme-fc-driver.h scsi: qla2xxx: Correct endianness for rqstlen and rsplen 2023-09-05 05:34:14 -04:00
nvme-fc.h
nvme-rdma.h
nvme-tcp.h
nvme.h
nvmem-consumer.h nvmem: core: Notify when a new layout is registered 2023-08-23 16:34:02 +02:00
nvmem-provider.h
nvram.h
objagg.h
objtool_types.h
objtool.h
of_address.h
of_clk.h
of_device.h
of_dma.h
of_fdt.h
of_gpio.h
of_graph.h
of_iommu.h
of_irq.h
of_mdio.h
of_net.h
of_pci.h
of_pdt.h
of_platform.h
of_reserved_mem.h
of.h of: overlay: Fix of_overlay_fdt_apply prototype when !CONFIG_OF_OVERLAY 2023-09-05 13:02:13 -05:00
oid_registry.h spnego: add missing OID to oid registry 2023-09-09 08:18:16 -05:00
olpc-ec.h
omap-dma.h
omap-gpmc.h
omap-iommu.h
omap-mailbox.h
omapfb.h
once_lite.h
once.h
oom.h
openvswitch.h
osq_lock.h
overflow.h
packing.h
padata.h
page_counter.h
page_ext.h mm/page_ext: move page_ext_operations definition under CONFIG_PAGE_EXTENSION 2023-08-21 13:37:31 -07:00
page_idle.h mm: remove clear_page_idle() 2023-08-18 10:12:25 -07:00
page_owner.h
page_ref.h
page_reporting.h
page_table_check.h mm: convert page_table_check_pte_set() to page_table_check_ptes_set() 2023-08-24 16:20:18 -07:00
page-flags-layout.h
page-flags.h mm: remove folio_test_transhuge() 2023-08-21 14:28:45 -07:00
page-isolation.h
pageblock-flags.h
pagemap.h - Some swap cleanups from Ma Wupeng ("fix WARN_ON in add_to_avail_list") 2023-08-29 14:25:26 -07:00
pagevec.h
pagewalk.h mm: enable page walking API to lock vmas during the walk 2023-08-21 13:07:20 -07:00
panic_notifier.h
panic.h
parman.h
parport_pc.h
parport.h
parser.h
part_stat.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci_hotplug.h
pci_ids.h TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
pci-acpi.h
pci-ats.h
pci-doe.h
pci-ecam.h
pci-ep-cfs.h
pci-epc.h
pci-epf.h
pci-p2pdma.h
pci.h pci-v6.6-changes 2023-08-30 20:23:07 -07:00
pcs-lynx.h
pcs-rzn1-miic.h
pe.h
peci-cpu.h
peci.h
percpu_counter.h pcpcntr: add group allocation/free 2023-08-25 08:06:53 -07:00
percpu-defs.h
percpu-refcount.h
percpu-rwsem.h
percpu.h
perf_event_api.h
perf_event.h perf: Disallow mis-matched inherited group reads 2023-10-19 10:09:42 +02:00
perf_regs.h
personality.h
pfn_t.h
pfn.h
pgtable_api.h
pgtable.h mm: abstract moving to the next PFN 2023-09-29 17:20:46 -07:00
phonet.h
phy_fixed.h
phy_led_triggers.h
phy.h net: phy: Introduce PSGMII PHY interface mode 2023-08-14 08:12:53 +01:00
phylib_stubs.h
phylink.h net: phylink: fix sphinx complaint about invalid literal 2023-09-06 07:46:49 +01:00
pid_namespace.h memfd: replace ratcheting feature from vm.memfd_noexec with hierarchy 2023-08-21 13:37:59 -07:00
pid.h
pim.h
pipe_fs_i.h
pkeys.h
pktcdvd.h
pl320-ipc.h
platform_device.h
platform_profile.h
pldmfw.h
plist.h
pm_clock.h
pm_domain.h
pm_opp.h
pm_qos.h
pm_runtime.h PM: runtime: Remove unsued extern declaration of pm_runtime_update_max_time_suspended() 2023-08-22 21:31:57 +02:00
pm_wakeirq.h
pm_wakeup.h PM: sleep: Add helpers to allow a device to remain powered-on 2023-08-22 22:03:43 +02:00
pm-trace.h
pm.h pm: Introduce DEFINE_NOIRQ_DEV_PM_OPS() helper 2023-08-21 18:58:09 +03:00
pmbus.h
pmu.h
pnp.h
poison.h
poll.h
polynomial.h
posix_acl_xattr.h
posix_acl.h
posix-clock.h
posix-timers.h
power_supply.h
powercap.h
ppp_channel.h
ppp_defs.h
ppp-comp.h
pps_kernel.h
pr.h
prandom.h
preempt.h
prefetch.h locking: remove spin_lock_prefetch 2023-08-12 09:18:47 -07:00
prime_numbers.h
printk.h
prmt.h
proc_fs.h
proc_ns.h
processor.h
profile.h
projid.h
property.h
pruss_driver.h
psci.h
pseudo_fs.h
psi_types.h
psi.h
psp-platform-access.h
psp-sev.h
psp-tee.h
psp.h
pstore_blk.h
pstore_ram.h
pstore_zone.h
pstore.h
ptdump.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptp_kvm.h
ptp_mock.h
ptp_pch.h
ptr_ring.h
ptrace_api.h
ptrace.h
purgatory.h
pvclock_gtod.h
pwm_backlight.h
pwm.h
pxa2xx_ssp.h
pxa168_eth.h
qnx6_fs.h
quota.h quota: Fix slow quotaoff 2023-10-06 11:01:23 +02:00
quotaops.h quota: Fix slow quotaoff 2023-10-06 11:01:23 +02:00
radix-tree.h
raid_class.h scsi: core: raid_class: Remove raid_component_add() 2023-08-24 21:34:28 -04:00
ramfs.h
random.h
randomize_kstack.h
range.h range.h: Move resource API and constant to respective files 2023-08-18 10:19:00 -07:00
ras.h
ratelimit_types.h
ratelimit.h
rational.h
rbtree_augmented.h
rbtree_latch.h
rbtree_types.h
rbtree.h
rcu_node_tree.h
rcu_segcblist.h
rcu_sync.h
rculist_bl.h
rculist_nulls.h rcu: Use WRITE_ONCE() for assignments to ->next for rculist_nulls 2023-08-16 14:27:41 -07:00
rculist.h
rcupdate_trace.h
rcupdate_wait.h
rcupdate.h
rcuref.h
rcutiny.h
rcutree.h
rcuwait_api.h
rcuwait.h
reboot-mode.h
reboot.h
reciprocal_div.h
ref_tracker.h
refcount_api.h
refcount.h
regmap.h
regset.h
relay.h
remoteproc.h
resctrl.h
reset-controller.h
reset.h
resource_ext.h
resource.h
restart_block.h
resume_user_mode.h mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement 2023-09-19 13:21:34 -07:00
rethook.h
rfkill.h
rhashtable-types.h
rhashtable.h
ring_buffer.h
rio_drv.h
rio_ids.h
rio_regs.h
rio.h
rmap.h rmap: remove anon_vma_link() nommu stub 2023-09-02 15:17:33 -07:00
rmi.h
rndis.h
rodata_test.h
root_dev.h
rpmsg.h
rslib.h
rtc.h rtc: Add support for limited alarm timer offsets 2023-08-27 23:50:22 +02:00
rtmutex.h
rtnetlink.h
rtsx_common.h
rtsx_pci.h
rtsx_usb.h
rv.h
rwbase_rt.h
rwlock_api_smp.h
rwlock_rt.h
rwlock_types.h
rwlock.h
rwsem.h
sbitmap.h
scatterlist.h
scc.h
sched_clock.h
sched.h sched/core: Report correct state for TASK_IDLE | TASK_FREEZABLE 2023-08-30 10:08:38 +02:00
scmi_protocol.h
scpi_protocol.h
screen_info.h
scs.h
sctp.h
scx200_gpio.h
scx200.h
seccomp.h
secretmem.h secretmem: convert page_is_secretmem() to folio_is_secretmem() 2023-08-24 16:20:31 -07:00
securebits.h
security.h lsm/stable-6.6 PR 20230829 2023-08-30 09:07:09 -07:00
sed-opal.h block: sed-opal: keyring support for SED keys 2023-08-22 11:10:26 -06:00
seg6_genl.h
seg6_hmac.h
seg6_iptunnel.h
seg6_local.h
seg6.h
selection.h
sem.h
semaphore.h
seq_buf.h
seq_file_net.h
seq_file.h
seqlock_api.h
seqlock.h locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested() 2023-09-21 08:37:44 +02:00
serdev.h
serial_8250.h
serial_bcm63xx.h
serial_core.h Merge commit b320441c04c9 ("Merge tag 'tty-6.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty") into tty-next 2023-08-20 14:29:37 +02:00
serial_max3100.h
serial_s3c.h
serial_sci.h
serial.h
serio.h
set_memory.h
sfp.h
sh_clk.h
sh_dma.h
sh_eth.h
sh_intc.h
sh_timer.h
shdma-base.h
shm.h
shmem_fs.h
shrinker.h
signal_types.h
signal.h
signalfd.h
siox.h
siphash.h
sizes.h
skb_array.h
skbuff.h net: skbuff: fix kernel-doc typos 2023-10-10 19:35:54 -07:00
skmsg.h
slab_def.h
slab.h
slimbus.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smp_types.h
smp.h
smpboot.h
smsc911x.h
smscphy.h
sock_diag.h
socket.h
sockptr.h
softirq.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_api.h
spinlock_rt.h
spinlock_types_raw.h
spinlock_types_up.h
spinlock_types.h
spinlock_up.h
spinlock.h
splice.h
spmi.h
sprintf.h lib/vsprintf: declare no_hash_pointers in sprintf.h 2023-08-21 13:46:24 -07:00
sram.h
srcu.h
srcutiny.h srcu,notifier: Remove #ifdefs in favor of SRCU Tiny srcu_usage 2023-08-16 14:27:01 -07:00
srcutree.h
ssbi.h
stackdepot.h
stackleak.h
stackprotector.h
stacktrace.h
start_kernel.h
stat.h
statfs.h
static_call_types.h
static_call.h
static_key.h
stdarg.h
stddef.h
stm.h
stmmac.h net: stmmac: clarify difference between "interface" and "phy_interface" 2023-08-28 12:55:04 -07:00
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
string_choices.h
string_helpers.h
string.h
stringhash.h
stringify.h
sungem_phy.h
sunserialcore.h
sunxi-rsb.h
superhyway.h
surface_acpi_notify.h
suspend.h
svga.h
sw842.h
swab.h
swait_api.h
swait.h
swap_cgroup.h
swap_slots.h
swap.h mm/swap: inline folio_set_swap_entry() and folio_swap_entry() 2023-08-24 16:20:28 -07:00
swapfile.h mm: kill frontswap 2023-08-21 13:37:26 -07:00
swapops.h mm: make PTE_MARKER_SWAPIN_ERROR more general 2023-08-18 10:12:16 -07:00
swiotlb.h swiotlb: fix the check whether a device has used software IO TLB 2023-09-27 11:19:15 +02:00
switchtec.h
sxgbe_platform.h
sync_core.h
sync_file.h
synclink.h
sys_soc.h
sys.h
syscall_user_dispatch.h
syscalls_api.h
syscalls.h Add x86 shadow stack support 2023-08-31 12:20:12 -07:00
syscore_ops.h
sysctl.h sysctl: Add size arg to __register_sysctl_init 2023-08-15 15:26:17 -07:00
sysfb.h
sysfs.h
syslog.h
sysrq.h
sysv_fs.h
t10-pi.h
task_io_accounting_ops.h
task_io_accounting.h
task_work.h
taskstats_kern.h
tboot.h
tc.h
tca6416_keypad.h
tcp.h
tee_drv.h
tegra-icc.h
termios_internal.h
textsearch_fsm.h
textsearch.h
tfrc.h
thermal.h thermal: Constify the trip argument of the .get_trend() zone callback 2023-09-11 17:16:40 +02:00
thread_info.h
threads.h
thunderbolt.h
ti_wilink_st.h misc: ti-st: make st_recv() conforming to tty_ldisc_ops::receive_buf() 2023-08-11 21:12:45 +02:00
ti-emif-sram.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time32.h
time64.h
time_namespace.h
time.h
timecounter.h
timekeeper_internal.h
timekeeping.h
timer.h
timerfd.h
timeriomem-rng.h
timerqueue.h
timex.h
tnum.h
topology.h
torture.h torture: Add a kthread-creation callback to _torture_create_kthread() 2023-08-14 15:00:37 -07:00
toshiba.h
tpm_command.h
tpm_eventlog.h
tpm.h
trace_clock.h
trace_events.h tracing/synthetic: Fix order of struct trace_dynamic_info 2023-09-11 18:22:00 -04:00
trace_recursion.h
trace_seq.h
trace.h
tracefs.h
tracepoint-defs.h
tracepoint.h
transport_class.h
ts-nbus.h
tsacct_kern.h
tty_buffer.h tty: tty_buffer: switch data type to u8 2023-08-22 14:58:15 +02:00
tty_driver.h tty: make tty_operations::write()'s count size_t 2023-08-11 21:12:46 +02:00
tty_flip.h tty: tty_buffer: use __tty_insert_flip_string_flags() in tty_insert_flip_char() 2023-08-22 14:58:15 +02:00
tty_ldisc.h tty: ldops: unify to u8 2023-08-11 21:12:47 +02:00
tty_port.h tty: make counts in tty_port_client_operations hooks size_t 2023-08-11 21:12:44 +02:00
tty.h tty: shrink the size of struct tty_struct by 40 bytes 2023-08-27 11:47:44 +02:00
typecheck.h
types.h
u64_stats_sync_api.h
u64_stats_sync.h
uacce.h
uaccess.h
ubsan.h
ucs2_string.h
udp.h
uidgid.h
uio_driver.h
uio.h
umh.h
unicode.h
units.h
uprobes.h
usb_usual.h
usb.h
usbdevice_fs.h
user_events.h
user_namespace.h
user-return-notifier.h
user.h
userfaultfd_k.h mm: userfaultfd: add new UFFDIO_POISON ioctl 2023-08-18 10:12:16 -07:00
usermode_driver.h
util_macros.h
uts.h
utsname.h
uuid.h
vbox_utils.h
vdpa.h vdpa: add get_backend_features vdpa operation 2023-09-03 18:10:22 -04:00
verification.h
vermagic.h
vexpress.h
vfio_pci_core.h
vfio.h vfio: Commonize combine_ranges for use in other VFIO drivers 2023-08-16 10:52:23 -06:00
vfs.h
vga_switcheroo.h
vgaarb.h PCI/VGA: Fix typos 2023-08-24 13:27:47 -05:00
vhost_iotlb.h
via_i2c.h
via-core.h
via.h
videodev2.h
virtio_anchor.h
virtio_byteorder.h
virtio_caif.h
virtio_config.h
virtio_console.h
virtio_dma_buf.h
virtio_net.h net: more strict VIRTIO_NET_HDR_GSO_UDP_L4 validation 2023-10-15 19:59:15 +01:00
virtio_pci_legacy.h
virtio_pci_modern.h
virtio_ring.h
virtio_vsock.h
virtio.h I2C has mainly cleanups this time and a few driver improvements. Because 2023-09-04 13:44:11 -07:00
vlynq.h
vm_event_item.h
vmalloc.h
vmpressure.h
vmstat.h
vmw_vmci_api.h
vmw_vmci_defs.h
vringh.h
vt_buffer.h
vt_kern.h
vt.h
vtime.h
w1-gpio.h
w1.h
wait_api.h
wait_bit.h
wait.h
watch_queue.h
watchdog.h
win_minmax.h
wireless.h
wkup_m3_ipc.h
wm97xx.h
wmi.h
workqueue_api.h
workqueue.h
writeback.h mm: remove folio_account_redirty 2023-08-21 14:52:16 +02:00
ww_mutex.h
wwan.h
xarray.h xarray: Document necessary flag in alloc functions 2023-09-05 19:01:38 -04:00
xattr.h
xxhash.h
xz.h
yam.h
zconf.h
zlib.h
zorro.h
zpool.h
zsmalloc.h
zstd_errors.h
zstd_lib.h
zstd.h
zswap.h zswap: make zswap_load() take a folio 2023-08-21 13:37:27 -07:00
zutil.h