Copy print_bpf_insn() from kernel/bpf/verifier.c to bpf.c, dump the
program if called by -vv.
Signed-off-by: Wang Nan
---
tools/perf/util/bpf-loader.c | 14 +++-
tools/perf/util/bpf.c| 156 +++
tools/perf/util/bpf.h| 1 +
3 files changed
Since parse_perf_probe_point() deals with a user passed argument, we
should not assume it to be a valid string.
Without this patch, if pass '' to perf probe, a segfault raises:
$ perf probe -a ''
Segmentation fault
This patch checks argument of parse_perf_probe_point() before
string processing
After all eBPF programs in an object file are loaded, related ELF
information is useless. Close the object file and free those memory.
Signed-off-by: Wang Nan
---
tools/perf/util/bpf-loader.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/bpf-loader.c b/tools/perf/util/bpf-l
This patch partially implements bpf_obj_config(), which is used for
define k(ret)probe positions which will be attached eBPF programs.
parse_perf_probe_command() is used to do the main parsing works.
Parsing result is stored into a global array. This is because
add_perf_probe_events() is non-reent
Adding new 'perf bpf' command to provide eBPF program loading and
management support.
Signed-off-by: Wang Nan
---
tools/perf/Build | 1 +
tools/perf/Documentation/perf-bpf.txt | 18 ++
tools/perf/builtin-bpf.c | 63 +++
t
This patch uses bpf_perf_prog_config() to config perf programs using
config section. In bpf_obj_config(), splits config section into lines
and parse config string line by line.
This patch and previous patch should config all eBPF programs. This
patch also makes bpf_obj_validate() to check programs
This patch collects symbols section. This section is useful when
linking ELF maps.
Signed-off-by: Wang Nan
---
tools/perf/util/bpf-loader.c | 11 +++
tools/perf/util/bpf-loader.h | 1 +
2 files changed, 12 insertions(+)
diff --git a/tools/perf/util/bpf-loader.c b/tools/perf/util/bpf-lo
Following patches will introduce linux/bpf.h to perf, which
requires definition of __aligned_u64. This patch add it to the common
types.h for tools.
Signed-off-by: Wang Nan
---
tools/include/linux/types.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/tools/include/linux/types.h b/tool
This patch collects all programs in an object file and links them into
a list for further processing. 'struct bpf_perf_prog' is used for
representing each eBPF program. 'bpf_prog' should be a better name, but
it has been used by linux/filter.h. Although it is a kernel space name,
I still prefer to
bpf_obj_elf_collect() is introduced to iterate over each elf sections
to collection informations in eBPF object files. This function will
futher enhanced to collect license, kernel version, programs, configs
and map information.
Signed-off-by: Wang Nan
---
tools/perf/util/bpf-loader.c | 54 +
This patch adds basic 'struct bpf_obj' which will be used for eBPF
object files loading. eBPF object files are compiled by LLVM as ELF
format. In this patch, libelf is used to open those files, read EHDR
and do basic validation according to e_type and e_machine.
All elf related staffs are grouped
This series of patches is an approach to integrate eBPF with perf.
After applying these patches, users are allowed to use following
command to load eBPF program compiled by LLVM into kernel:
$ perf bpf sample_bpf.o
The required BPF code and the loading procedure is similar to Alexei
Starovoitov'
Add bpf syscall and related structure to perf for bpf loader use.
Signed-off-by: Wang Nan
---
tools/perf/perf-sys.h | 6 ++
tools/perf/util/Build | 1 +
tools/perf/util/bpf.c | 39 +++
tools/perf/util/bpf.h | 22 ++
4 files changed, 6
This patch collects relocation sections into 'struct obj'. Such
sections are used for associating maps with bpf programs.
Signed-off-by: Wang Nan
---
tools/perf/util/bpf-loader.c | 17 +
tools/perf/util/bpf-loader.h | 5 +
2 files changed, 22 insertions(+)
diff --git a/tool
On Thu, Apr 30, 2015 at 12:53 PM, Bartosz Golaszewski
wrote:
> Shell script allowing to find errno definitions and descriptions in the
> kernel source.
>
> Signed-off-by: Bartosz Golaszewski
> ---
> This is a simple script I use when seeing messages like:
>
> some_func() failed: -123
Wha
> case Opt_pid:
> + {
> + int rc;
> +
> if (0 == match_strlcpy(str, &args[0], sizeof(str)))
> return -EINVAL;
> - opts->pid = simple_strtoull(str, NULL, 0);
> + rc = kstrtoull(str, 0, &opts->pid);
> + if (rc)
> + return rc;
kstrto*() functions were designed for proc/sysfs/sysctl/debugfs/...
On 03/31/2015 09:35 AM, Peter Griffin wrote:
Now that the miphy28lp is upstream, we can add the sata dt nodes
for stih407 family silicon. This has been tested on b2120 board
J4 (sata0 channel). These nodes are disabled by default as a
special mini pci-e to sata daughter board is required which
On Thu, Apr 30, 2015 at 11:47:46AM +0100, Arnd Bergmann wrote:
> On Thursday 30 April 2015 11:41:02 Will Deacon wrote:
> >- 0x0: The device is not coherent. Therefore:
> > * Cache maintenance is required for memory shared with the
> >device that is mapped on CPUs as IWB-OWB-ISH.
>
On 04/09/2015 04:47 PM, Lee Jones wrote:
On current ST platforms the LPC controls a number of functions. This
patch enables support for the LPC Watchdog and LPC RTC devices on LPC1
and LPC2 respectively.
Signed-off-by: David Paris
Signed-off-by: Lee Jones
---
arch/arm/boot/dts/stih407-fam
On Wednesday, April 29, 2015 5:20:08 PM PDT, Dave Chinner wrote:
It's easy to be fast on empty filesystems. XFS does not aim to be
fast in such situations - it aims to have consistent performance
across the life of the filesystem.
In this case, ext4, btrfs and tux3 have optimal allocation fillin
On 04/09/2015 04:47 PM, Lee Jones wrote:
Signed-off-by: Lee Jones
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index b7e6b6fb..138e68a 100644
--- a/arch/arm/configs/mult
On 04/09/2015 04:47 PM, Lee Jones wrote:
Signed-off-by: Lee Jones
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 138e68a..136b8da 100644
--- a/arch/arm/configs/multi
On Wed, 29 Apr 2015, John Johansen wrote:
> On 04/29/2015 06:55 PM, James Morris wrote:
> > On Tue, 21 Apr 2015, Casey Schaufler wrote:
> >
> >>
> >> James, do you want to take the module stacking changes in through
> >> the security tree? Are there remaining objections or concerns? What
> >> pro
On 03/18/2015 06:21 PM, Lee Jones wrote:
From: Karim BEN BELGACEM
This will avoid programming the retime registers when not implemented
- PIO5 : no retime registers assigned to pins 6 and 7
- PIO35 : pin 7 is reserved so no retime register assigned to it
Signed-off-by: Karim BEN BELGACEM
On Thursday 30 April 2015 12:07:18 Will Deacon wrote:
> On Thu, Apr 30, 2015 at 11:47:46AM +0100, Arnd Bergmann wrote:
> > On Thursday 30 April 2015 11:41:02 Will Deacon wrote:
> > >- 0x0: The device is not coherent. Therefore:
> > > * Cache maintenance is required for memory shared with t
On Sat, 28 Mar, at 12:14:09PM, Alex Smith wrote:
> The cmdline_size field in setup_header is listed as read-only, and is
> never read by the kernel. Therefore, there is no need for it to be set
> by a boot loader implementing the EFI handover protocol, so remove it
> from the list of fields require
On Thursday 30 April 2015 11:44:36 Marek Vasut wrote:
> On Wednesday, April 29, 2015 at 05:36:32 PM, Gabriele Mazzotta wrote:
> [...]
> > > > I'm sorry, I've just noticed that I haven't changed the value of
> > > > realbits in acpi_als_channels. This makes me wonder what would be the
> > > > proper
2015-04-30 13:04 GMT+02:00 Richard Weinberger :
> On Thu, Apr 30, 2015 at 12:53 PM, Bartosz Golaszewski
> wrote:
>> Shell script allowing to find errno definitions and descriptions in the
>> kernel source.
>>
>> Signed-off-by: Bartosz Golaszewski
>> ---
>> This is a simple script I use when seein
Ping.
On Tue, 2015-04-21 at 10:28 +0300, Ivan T. Ivanov wrote:
> On Thu, 2015-04-09 at 11:34 +0300, Ivan T. Ivanov wrote:
> > On recent Qualcomm platforms VBUS and ID lines are not routed to
> > USB PHY LINK controller. Use extcon framework to receive connect
> > and disconnect ID and VBUS notifi
On Thursday, April 30, 2015 at 01:27:43 PM, Gabriele Mazzotta wrote:
> On Thursday 30 April 2015 11:44:36 Marek Vasut wrote:
> > On Wednesday, April 29, 2015 at 05:36:32 PM, Gabriele Mazzotta wrote:
> > [...]
> >
> > > > > I'm sorry, I've just noticed that I haven't changed the value of
> > > > >
On Thu, Apr 30, 2015 at 2:06 PM, Alexey Dobriyan wrote:
>> case Opt_pid:
>> + {
>> + int rc;
>> +
>> if (0 == match_strlcpy(str, &args[0], sizeof(str)))
>> return -EINVAL;
>> - opts->pid = simple_strtoull(str, NULL, 0);
>> + rc = kstrtoull(str, 0, &opts->pid);
>> + if (rc)
>> + return rc;
>
From: Steve Twiss
This patch set adds OnKey driver support for the Dialog
Semiconductor DA9063 PMIC.
[PATCH V3 1/3]: kernel driver onkey support
[PATCH V3 2/3]: device tree bindings document
[PATCH V3 3/3]: mfd core support
Thank you,
Steve Twiss, Dialog Semiconductor Ltd.
S Twiss (3):
input
From: Steve Twiss
Add OnKey driver support for DA9063
Signed-off-by: Steve Twiss
---
The changes made here have been taken from the DA9062 OnKey review thread.
Please see https://lkml.org/lkml/2015/4/29/406 for more information on this.
Version History
Changes in V3
- Move the MFD code ch
From: Steve Twiss
Add device tree bindings for the DA9063 OnKey driver
Signed-off-by: Steve Twiss
---
Version History
Changes in V3
- No change
Changes in V2
- Remove the circular dependency comment linking patches in the main e-mail
- Search and replace 'keyword' with 'property' in onke
From: Steve Twiss
Add MFD support for the DA9063 OnKey driver
Signed-off-by: Steve Twiss
---
Version History
Changes in V3
- The MFD code was originally in [PATCH V2 1/2]. This is now been moved into
this patch [PATCH V3 3/3].
- Whitespace cleanup
This patch applies against linux-next
This patch series introduces system management mode support.
There is still some work to do, namely: test without unrestricted
guest support, test on AMD, disable the capability if !unrestricted
guest and !emulate invalid guest state(*), test with a QEMU that
understand KVM_MEM_X86_SMRAM, actually
smep_andnot_wp is initialized in kvm_init_shadow_mmu and shadow pages
should not be reused for different values of it. Thus, it has to be
added to the mask in kvm_mmu_pte_write.
Signed-off-by: Paolo Bonzini
---
arch/x86/kvm/mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Reviewed-by: Marcelo Tosatti
Signed-off-by: Paolo Bonzini
---
include/linux/kvm_host.h | 1 +
virt/kvm/kvm_main.c | 14 ++
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 647ad05b05af..1edb63dbdead 100644
This patch includes changes to the external API for SMM support.
All the changes are predicated by the availability of a new
capability, KVM_CAP_X86_SMM, which is added at the end of the
patch series.
Signed-off-by: Paolo Bonzini
---
Documentation/virtual/kvm/api.txt | 34 +++
TODO: disable if !unrestricted_guest && !emulate_invalid_guest_state.
Signed-off-by: Paolo Bonzini
---
arch/x86/kvm/x86.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index a4192c352744..ceb50dc9e71c 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kv
Whenever it may change, the context is reset.
Signed-off-by: Paolo Bonzini
---
arch/x86/include/asm/kvm_host.h | 11 +--
arch/x86/kvm/mmu.c | 5 -
arch/x86/kvm/x86.c | 5 -
3 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/arch/x86/includ
This adds an arch-specific memslot flag that hides slots unless the
VCPU is in system management mode.
Some care is needed in order to limit the overhead of x86_gfn_to_memslot
when compared with gfn_to_memslot. Thankfully, we have __gfn_to_memslot
and search_memslots which are the same, so we can
The big ugly one. This patch adds support for switching in and out of
system management mode, respectively upon receiving KVM_REQ_SMI and upon
executing a RSM instruction. Both 32- and 64-bit formats are supported
for the SMM state save area.
Signed-off-by: Paolo Bonzini
---
arch/x86/kvm/cpuid
We need to hide SMRAM from guests not running in SMM. Therefore,
all uses of kvm_read_guest* and kvm_write_guest* must be changed to
check whether the VCPU is in system management mode. We need to
introduce a new family of functions for this.
For now, the code is just copied from virt/kvm/kvm_ma
gfn_to_pfn_async is used in just one place, and because of x86-specific
treatment that place will need to look at the memory slot. Hence inline
it into try_async_pf and export __gfn_to_pfn_memslot.
The patch also switches the subsequent call to gfn_to_pfn_prot to use
__gfn_to_pfn_memslot. For no
This patch adds the interface between x86.c and the emulator: the
SMBASE register, a new emulator flag, the RSM instruction. It also
adds a new request bit that will be used by the KVM_SMI ioctl.
Signed-off-by: Paolo Bonzini
---
arch/x86/include/asm/kvm_emulate.h | 2 ++
arch/x86/include/asm/k
SMBASE is only readable from SMM for the VCPU, but it must be always
accessible if userspace is accessing it. Thus, all functions that
read MSRs are changed to accept a struct msr_data; the host_initiated
and index fields are pre-initialized, while the data field is filled
on return.
Signed-off-b
The hflags field will contain information about system management mode
and will be useful for the emulator. Pass the entire field rather than
just the guest-mode information.
Signed-off-by: Paolo Bonzini
---
arch/x86/include/asm/kvm_emulate.h | 5 -
arch/x86/kvm/emulate.c | 6 ++
From: Radim Krčmář
Saves one O(log N) search.
Signed-off-by: Radim Krčmář
Message-Id: <1428695247-27603-1-git-send-email-rkrc...@redhat.com>
Signed-off-by: Paolo Bonzini
---
virt/kvm/kvm_main.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/virt/kvm/kvm_main.c b/vir
perf probe currently errors out if there are any tail calls to probed
functions:
[root@rhel71be]# perf probe do_fork
Failed to find probe point in any functions.
Error: Failed to add events.
Fix this by teaching perf to ignore tail calls.
Signed-off-by: Naveen N. Rao
---
I'm seeing this with
On Thu, Apr 30, 2015 at 12:02 AM, Linus Torvalds
wrote:
> On Wed, Apr 29, 2015 at 1:44 PM, Konstantin Khlebnikov
> wrote:
>>
>> This's no longer true. After recent fixes for "anon_vma endless growing" new
>> vma
>> might reuse old anon_vma from grandparent vma.
>
> Oh well. I guess that was too
On Thu, Apr 30, 2015 at 12:24:12PM +0100, Arnd Bergmann wrote:
> On Thursday 30 April 2015 12:07:18 Will Deacon wrote:
> > So for the CPU caches we'd do the usual clean to push dirty lines to the
> > device
> > and (clean+)invalidate before reading data from the device. For the "other
> > caches i
On Wed, Apr 29, 2015 at 10:02 PM, Linus Torvalds
wrote:
> On Wed, Apr 29, 2015 at 1:44 PM, Konstantin Khlebnikov
> wrote:
>>
>> This's no longer true. After recent fixes for "anon_vma endless growing" new
>> vma
>> might reuse old anon_vma from grandparent vma.
>
> Oh well. I guess that was too
On Tue, Apr 28, 2015 at 12:39:04PM -0500, J. German Rivera wrote:
> Change-Id: I2a986c465989c3811de19cfe9ed0b77168250cb1
> Reviewed-on: http://git.am.freescale.net:8181/33626
> Tested-by: Review Code-CDREVIEW
These things are totally useless to the rest of us. Don't add them.
> diff --git a/dr
While testing this driver with DEBUG_LOCKDEP and DEBUG_SPINLOCK
enabled did not produce any traces, it would be more prudent in the
case of tx_clean_lock to use spin_[un]lock_bh, since this lock is
manipulated in both the process and softirq contexts.
This patch was tested for functionality and re
On Wed, Apr 29, 2015 at 05:53:04PM +0200, Jerome Marchand wrote:
> On 04/23/2015 11:03 PM, Kirill A. Shutemov wrote:
> > diff --git a/mm/rmap.c b/mm/rmap.c
> > index dad23a43e42c..4ca4b5cffd95 100644
> > --- a/mm/rmap.c
> > +++ b/mm/rmap.c
> > @@ -1048,9 +1048,9 @@ static void __page_check_anon_rma
Looks like commit :
43239cbe79fc ("kernel: Change ASSIGN_ONCE(val, x) to WRITE_ONCE(x, val)")
left behind a reference to ASSIGN_ONCE. Update this to WRITE_ONCE.
Signed-off-by: Preeti U Murthy
---
include/linux/compiler.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/
On Wed, Apr 29, 2015 at 06:11:08PM +0200, Jerome Marchand wrote:
> On 04/23/2015 11:03 PM, Kirill A. Shutemov wrote:
> > We are going to use migration entries to stabilize page counts. It means
>
> By "stabilize" do you mean "protect" from concurrent access? I've seen
> that you use the same term
On Wed, Apr 29, 2015 at 06:14:13PM +0200, Jerome Marchand wrote:
> On 04/23/2015 11:03 PM, Kirill A. Shutemov wrote:
> > With new refcounting we don't need to mark PMDs splitting. Let's drop code
> > to handle this.
> >
> > Arch-specific code will removed separately.
>
> This series only removed
On Wed, Apr 29, 2015 at 06:20:03PM +0200, Jerome Marchand wrote:
> On 04/23/2015 11:03 PM, Kirill A. Shutemov wrote:
> > Let's define page_mapped() to be true for compound pages if any
> > sub-pages of the compound page is mapped (with PMD or PTE).
> >
> > On other hand page_mapcount() return mapc
On Thu, 2015-04-30 at 04:14 -0700, Daniel Phillips wrote:
> Lovely sounding argument, but it is wrong because Tux3 still beats XFS
> even with seek time factored out of the equation.
Hm. Do you have big-storage comparison numbers to back that? I'm no
storage guy (waiting for holographic crystal
Am 30.04.2015 um 13:57 schrieb Preeti U Murthy:
> Looks like commit :
>
> 43239cbe79fc ("kernel: Change ASSIGN_ONCE(val, x) to WRITE_ONCE(x, val)")
>
> left behind a reference to ASSIGN_ONCE. Update this to WRITE_ONCE.
>
> Signed-off-by: Preeti U Murthy
Acked-by: Christian Borntraeger
> --
On 04/28/2015, 02:32 AM, Shuah Khan wrote:
> Compiled and booted on my test system. No dmesg regressions.
On 04/28/2015, 03:43 AM, Guenter Roeck wrote:
> Build results:
> total: 125 pass: 124 fail: 1
> Failed builds:
> arm64:allmodconfig
>
> Qemu test results:
> total: 27 pass: 27 fail
This is the start of the stable review cycle for the 3.12.42 release.
There are 63 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Mon May 4 11:48:46 CEST 2015.
Anything recei
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 82ea046c95a3c3ddcfa058c8a270b9afb6e93700 upstream.
Update comments to reflect what is really going on and add the TWE bit
to the comments in kvm_arm.h.
Also renames the f
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 478a8237f656d86d25b3e4e4bf3c48f590156294 upstream.
The current KVM implementation of PSCI returns INVALID_PARAMETERS if the
waitqueue for the corresponding CPU is not acti
From: Marc Zyngier
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 2d58b733c87689d3d5144e4ac94ea861cc729145 upstream.
In order for the guest with caches off to observe data written
contained in a given page, we need to make sure that page is
From: Sachin Kamat
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 61466710de078c697106fa5b70ec7afc9feab520 upstream.
trace.h was included twice. Remove duplicate inclusion.
Signed-off-by: Sachin Kamat
Signed-off-by: Christoffer Dall
Signe
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit e1ba0207a1b3714bb3f000e506285ae5123cdfa7 upstream.
Rework the VGIC initialization slightly to allow initialization of the
vgic cpu-specific state even if the irqchip (the
On Tue, Apr 28, 2015 at 12:39:07PM -0500, J. German Rivera wrote:
> - Migrated MC bus driver to use DPRC flib 0.6.
What does this mean? What is a flib?
After reading the patch, apparently it means that we can remove all the
ifdefs from patch 1. :)
> - Changed IRQ setup infrastructure to be abl
Commit f3ddac1918fe963bcbf8d407a3a3c0881b47248b ("[SCSI] qla2xxx:
Disable adapter when we encounter a PCI disconnect.") has introduced a
code that disables the board, releasing some resources, when reading
0x.
In case this happens when there is an EEH, this read will trigger EEH
detection
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit e9b152cb957cb194437f37e79f0f3c9d34fe53d6 upstream.
The arch-generic KVM code expects the cpu field of a vcpu to be -1 if
the vcpu is no longer assigned to a cpu. This is
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 957db105c99792ae8ef61ffc9ae77d910f6471da upstream.
Introduce a new function to unmap user RAM regions in the stage2 page
tables. This is needed on reboot (or when the gue
From: Marc Zyngier
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 55e858b75808347378e5117c3c2339f46cc03575 upstream.
It took about two years for someone to notice that the IPA passed
to TLBI IPAS2E1IS must be shifted by 12 bits. Clearly our
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit b856a59141b1066d3c896a0d0231f84dabd040af upstream.
When userspace resets the vcpu using KVM_ARM_VCPU_INIT, we should also
reset the HCR, because we now modify the HCR dyna
From: Geoff Levand
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 286fb1cc32b11c18da3573a8c8c37a4f9da16e30 upstream.
Some of the macros defined in kvm_arm.h are useful in assembly files, but are
not compatible with the assembler. Change any
From: Joel Schopp
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit dbff124e29fa24aff9705b354b5f4648cd96e0bb upstream.
The current aarch64 calculation for VTTBR_BADDR_MASK masks only 39 bits
and not all the bits in the PA range. This is clearly
From: Marc Zyngier
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 801f6772cecea6cfc7da61aa197716ab64db5f9e upstream.
Commit b856a59141b1 (arm/arm64: KVM: Reset the HCR on each vcpu
when resetting the vcpu) moved the init of the HCR register
From: Will Deacon
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 63afbe7a0ac184ef8485dac4914e87b211b5bfaa upstream.
If the physical address of GICV isn't page-aligned, then we end up
creating a stage-2 mapping of the page containing it, whic
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 05971120fca43e0357789a14b3386bb56eef2201 upstream.
It is curently possible to run a VM with architected timers support
without creating an in-kernel VGIC, which will resul
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit ae705930fca6322600690df9dc1c7d0516145a93 upstream.
There is an interesting bug in the vgic code, which manifests itself
when the KVM run loop has a signal pending or needs
From: Marc Zyngier
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 04b8dc85bf4a64517e3cf20e409eeaa503b15cc1 upstream.
The kernel's pgd_index macro is designed to index a normal, page
sized array. KVM is a bit diffferent, as we can use concate
It was <2015-04-30 czw 12:40>, when Richard Weinberger wrote:
> Am 30.04.2015 um 12:19 schrieb Łukasz Stelmach:
>> It was <2015-04-30 czw 11:12>, when Richard Weinberger wrote:
>>> Am 30.04.2015 um 11:05 schrieb Łukasz Stelmach:
Regardless, of initrd issues I feel there is a need of a local IP
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 716139df2517fbc3f2306dbe8eba0fa88dca0189 upstream.
When the vgic initializes its internal state it does so based on the
number of VCPUs available at the time. If we allow
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 03f1d4c17edb31b41b14ca3a749ae38d2dd6639d upstream.
If a VCPU was originally started with power off (typically to be brought
up by PSCI in SMP configurations), there is no
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 3ad8b3de526a76fbe9466b366059e4958957b88f upstream.
The implementation of KVM_ARM_VCPU_INIT is currently not doing what
userspace expects, namely making sure that a vcpu wh
From: Steve Capper
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 3d08c629244257473450a8ba17cb8184b91e68f8 upstream.
Commit:
b886576 ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping
introduced some code in user_mem_abort that fai
From: Ard Biesheuvel
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 07a9748c78cfc39b54f06125a216b67b9c8f09ed upstream.
Instead of using kvm_is_mmio_pfn() to decide whether a host region
should be stage 2 mapped with device attributes, add a
From: Christoffer Dall
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit c3058d5da629bc2223c488a4512b59bb4baf upstream.
When creating or moving a memslot, make sure the IPA space is within the
addressable range of the guest. Otherwise, use
From: Vladimir Murzin
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 37a34ac1d4775aafbc73b9db53c7daebbbc67e6a upstream.
On some platforms with no power management capabilities, the hotplug
implementation is allowed to return from a smp_ops.c
From: Ard Biesheuvel
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit a7d079cea2dffb112e26da2566dd84c0ef1fce97 upstream.
The ISS encoding for an exception from a Data Abort has a WnR
bit[6] that indicates whether the Data Abort was caused by a
From: Pranavkumar Sawargaonkar
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit f6edbbf36da3a27b298b66c7955fc84e1dcca305 upstream.
X-Gene u-boot runs in EL2 mode with MMU enabled hence we might
have stale EL2 tlb enteris when we enable EL2 MMU
From: Marc Zyngier
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 71afaba4a2e98bb7bdeba5078370ab43d46e67a1 upstream.
As it stands, nothing prevents userspace from injecting an interrupt
before the guest's GIC is actually initialized.
This g
From: Will Deacon
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 6951e48bff0b55d2a8e825a953fc1f8e3a34bf1c upstream.
Sparse kicks up about a type mismatch for kvm_target_cpu:
arch/arm64/kvm/guest.c:271:25: error: symbol 'kvm_target_cpu' rede
From: Alex Bennée
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit efd48ceacea78e4d4656aa0a6bf4c5b92ed22130 upstream.
I suspect this is a -ECUTPASTE fault from the initial implementation. If
we don't declare the register ID to be KVM_REG_ARM64
From: Andre Przywara
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit f2ae85b2ab3776b9e4e42e5b6fa090f40d396794 upstream.
Since KVM internally represents the ICFGR registers by stuffing two
of them into one word, the offset for accessing the in
From: Kim Phillips
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit b88657674d39fc2127d62d0de9ca142e166443c8 upstream.
A userspace process can map device MMIO memory via VFIO or /dev/mem,
e.g., for platform device passthrough support in QEMU.
From: Will Deacon
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 4e4468fac4381b92eb333d94256e7fb8350f3de3 upstream.
KVM currently crashes and burns on big-endian hosts, so don't allow it
to be selected until we've got that fixed.
Cc: Marc Z
From: Eric Auger
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit df6ce24f2ee485c4f9a5cb610063a5eb60da8267 upstream.
Currently when a KVM region is deleted or moved after
KVM_SET_USER_MEMORY_REGION ioctl, the corresponding
intermediate physica
From: Will Deacon
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 4000be423cb01a8d09de878bb8184511c49d4238 upstream.
Running sparse results in a bunch of noisy address space mismatches
thanks to the broken __percpu annotation on kvm_get_runni
201 - 300 of 922 matches
Mail list logo