Linux kernel source tree for SHARP Brain series (PW-SH1 or later)
Go to file
Zenghui Yu 69d2eb2129 KVM: arm/arm64: vgic: Don't rely on the wrong pending table
commit ca185b260951d3b55108c0b95e188682d8a507b7 upstream.

It's possible that two LPIs locate in the same "byte_offset" but target
two different vcpus, where their pending status are indicated by two
different pending tables.  In such a scenario, using last_byte_offset
optimization will lead KVM relying on the wrong pending table entry.
Let us use last_ptr instead, which can be treated as a byte index into
a pending table and also, can be vcpu specific.

Fixes: 280771252c ("KVM: arm64: vgic-v3: KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES")
Cc: stable@vger.kernel.org
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20191029071919.177-4-yuzenghui@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-17 20:38:51 +01:00
arch x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect 2019-12-17 20:38:48 +01:00
block block: fix the DISCARD request merge 2019-12-01 09:13:49 +01:00
certs Replace magic for trusting the secondary keyring with #define 2018-09-09 19:55:54 +02:00
crypto crypto: ecc - check for invalid values in the key verification test 2019-12-17 20:37:54 +01:00
Documentation rtc: dt-binding: abx80x: fix resistance scale 2019-12-17 20:38:04 +01:00
drivers drm/i810: Prevent underflow in ioctl 2019-12-17 20:38:51 +01:00
firmware License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fs kernfs: fix ino wrap-around detection 2019-12-17 20:38:50 +01:00
include jbd2: Fix possible overflow in jbd2_log_space_left() 2019-12-17 20:38:50 +01:00
init fork: fix some -Wmissing-prototypes warnings 2019-12-05 15:37:52 +01:00
ipc ipc/mqueue.c: only perform resource calculation if user valid 2019-08-06 19:05:24 +02:00
kernel sched/fair: Scale bandwidth quota and period without losing quota/period ratio precision 2019-12-17 20:38:43 +01:00
lib lib/genalloc.c: include vmalloc.h 2019-12-05 15:37:53 +01:00
mm mm/vmstat.c: fix NUMA statistics updates 2019-12-17 20:37:57 +01:00
net tcp: exit if nothing to retransmit on RTO timeout 2019-12-17 20:38:43 +01:00
samples vfio-mdev/samples: Use u8 instead of char for handle functions 2019-12-05 15:37:27 +01:00
scripts modpost: skip ELF local symbols during section mismatch check 2019-12-17 20:38:30 +01:00
security apparmor: delete the dentry in aafs_remove() to avoid a leak 2019-12-05 15:38:01 +01:00
sound ALSA: hda - Add mute led support for HP ProBook 645 G4 2019-12-17 20:38:45 +01:00
tools usbip: tools: fix fd leakage in the function of read_attr_usbip_status 2019-12-01 09:14:29 +01:00
usr kbuild: clean compressed initramfs image 2019-10-07 18:55:14 +02:00
virt KVM: arm/arm64: vgic: Don't rely on the wrong pending table 2019-12-17 20:38:51 +01:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore Add hch to .get_maintainer.ignore 2015-08-21 14:30:10 -07:00
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper 2018-02-13 10:19:46 +01:00
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address 2017-11-10 12:16:15 -08:00
COPYING
CREDITS MAINTAINERS: update TPM driver infrastructure changes 2017-11-09 17:58:40 -08:00
Kbuild License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
MAINTAINERS USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:43:20 -07:00
Makefile kbuild: fix single target build for external module 2019-12-17 20:38:31 +01:00
README README: add a new README file, pointing to the Documentation/ 2016-10-24 08:12:35 -02:00

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.