Re: [GIT PULL] Hyper-V commits for 5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 13:12:14 +: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > tags/hyperv-next-signed has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4907a43da83184d4e88009654c9b31f5e091f709 Thank you! --

Re: [PATCH 09/20] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-10-14 Thread Serge Semin
On Wed, Oct 14, 2020 at 08:32:19AM -0500, Rob Herring wrote: > On Wed, 14 Oct 2020 13:13:51 +0300, Serge Semin wrote: > > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > > Controller schema, but with additional vendor-specific properties, the > > controller-specific reference c

[for-next][PATCH 00/12] tracing: Last minute updates before sending to Linus

2020-10-14 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: d3c07fac565261101337b9535df072361297ea2d Axel Rasmussen (1): tracing: support "bool" type in synthetic trace events Gaurav Kohli (1): tracing: Fix race in trace_open and buffer resize call M

[for-next][PATCH 04/12] tracing: Fix some typos in comments

2020-10-14 Thread Steven Rostedt
From: Qiujun Huang s/wihin/within/ s/retrieven/retrieved/ s/suppport/support/ s/wil/will/ s/accidently/accidentally/ s/if the if the/if the/ Link: https://lkml.kernel.org/r/20201010140924.3809-1-hqjag...@gmail.com Signed-off-by: Qiujun Huang Signed-off-by: Steven Rostedt (VMware) --- kernel/

[for-next][PATCH 10/12] tracing: Handle synthetic event array field type checking correctly

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi Since synthetic event array types are derived from the field name, there may be a semicolon at the end of the type which should be stripped off. If there are more characters following that, normal type string checking will result in an invalid type. Without this patch, you can

[for-next][PATCH 07/12] tracing: Check that the synthetic event and field names are legal

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi Call the is_good_name() function used by probe events to make sure synthetic event and field names don't contain illegal characters and cause unexpected parsing of synthetic event commands. Link: https://lkml.kernel.org/r/c4d4bb59d3ac39bcbd70fba0cf837d6b1cedb015.1602598160.git

[for-next][PATCH 11/12] selftests/ftrace: Add test case for synthetic event syntax errors

2020-10-14 Thread Steven Rostedt
From: Tom Zanussi Add a selftest that verifies that the syntax error messages and caret positions are correct for most of the possible synthetic event syntax error cases. Link: https://lkml.kernel.org/r/af611928ce79f86eaf0af8654f1d7802d5cc21ff.1602598160.git.zanu...@kernel.org Tested-by: Masam

[for-next][PATCH 01/12] tracing: Check return value of __create_val_fields() before using its result

2020-10-14 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" After having a typo for writing a histogram trigger. Wrote: echo 'hist:key=pid:ts=common_timestamp.usec' > events/sched/sched_waking/trigger Instead of: echo 'hist:key=pid:ts=common_timestamp.usecs' > events/sched/sched_waking/trigger and the following cra

[for-next][PATCH 03/12] tracing/boot: Add ftrace.instance.*.alloc_snapshot option

2020-10-14 Thread Steven Rostedt
From: Masami Hiramatsu Add ftrace.instance.*.alloc_snapshot option. This option has been described in Documentation/trace/boottime-trace.rst but not implemented yet. ftrace.[instance.INSTANCE.]alloc_snapshot Allocate snapshot buffer. The difference from kernel.alloc_snapshot is that the ker

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Sudeep Holla
On Wed, Oct 14, 2020 at 10:13:04AM -0700, Florian Fainelli wrote: > On 10/14/20 9:18 AM, Sudeep Holla wrote: > > On Wed, Oct 14, 2020 at 02:48:19PM +0100, Cristian Marussi wrote: > > > > [...] > > > >>> > >>> I have pushed a version with above change [1], please check if you are > >>> happy with

Re: [PATCH 00/20] dt-bindings: usb: Add generic USB HCD, xHCI, DWC USB3 DT schema

2020-10-14 Thread Serge Semin
Ah, forgot to mark the series as v2. Sorry about that. The next one will be v3 then... -Sergey On Wed, Oct 14, 2020 at 01:13:42PM +0300, Serge Semin wrote: > We've performed some work on the Generic USB HCD, xHCI and DWC USB3 DT > bindings in the framework of the Baikal-T1 SoC support integration

Re: [PATCH v7 3/3] iommu/tegra-smmu: Add PCI support

2020-10-14 Thread Robin Murphy
On 2020-10-09 17:19, Nicolin Chen wrote: This patch simply adds support for PCI devices. Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko Signed-off-by: Nicolin Chen --- Changelog v6->v7 * Renamed goto labels, suggested by Thierry. v5->v6 * Added Dmitry's Reviewed-by and Tested-by

Re: [GIT PULL] io_uring updates for 5.10-rc1

2020-10-14 Thread Nick Desaulniers
Sorry for not reporting it sooner. It looks to me like a GNU `as` bug: https://github.com/ClangBuiltLinux/linux/issues/1153#issuecomment-692265433 When I'm done with the three build breakages that popped up overnight I'll try to report it to GNU binutils folks. (We run an issue tracker out of htt

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-14 Thread David Lechner
On 9/26/20 9:18 PM, William Breathitt Gray wrote: diff --git a/drivers/counter/counter-chrdev.c b/drivers/counter/counter-chrdev.c new file mode 100644 index ..2be3846e4105 --- /dev/null +++ b/drivers/counter/counter-chrdev.c +/** + * counter_push_event - queue event for userspace

Re: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-14 Thread Elia Devito
Hi, In data mercoledì 14 ottobre 2020 17:46:43 CEST, Rafael J. Wysocki ha scritto: > On Wed, Oct 14, 2020 at 4:16 PM Hans de Goede wrote: > > Hi, > > > > On 10/14/20 3:55 PM, Rafael J. Wysocki wrote: > > > On Tue, Oct 13, 2020 at 3:09 PM Hans de Goede wrote: > > >> Hi, > > >> > > >> On 10/12/

Re: [PATCH RFC v4 00/13] perf pmu-events: Support event aliasing for system PMUs

2020-10-14 Thread John Garry
On 14/10/2020 12:16, Jiri Olsa wrote: My thought was that since the kernel part needs acceptance first [0], which is based on v5.9-rc7, I would just use the same baseline here. However I suppose I should still use Arnaldo's perf/core from now on as baseline, so I'll look at that now. yes please

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Miguel Ojeda
On Wed, Oct 14, 2020 at 10:40 AM Joe Perches wrote: > > Eek no. > > Mindless use of either tool isn't a great thing. That is up to opinion. I (and others) definitely want to get to the point the kernel sources are automatically formatted, because it has significant advantages. The biggest is that

[GIT PULL] TTY/Serial driver patches for 5.10-rc1

2020-10-14 Thread Greg KH
The following changes since commit ba4f184e126b751d1bffad5897f263108befc780: Linux 5.9-rc6 (2020-09-20 16:33:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.10-rc1 for you to fetch changes up to 4be87603b6dc9e49c2e071

[GIT PULL] Driver core patches for 5.10-rc1

2020-10-14 Thread Greg KH
The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.10-rc1 for you to fetch changes up to ee490

Re: [PATCH] perf jevents: Fix event code for events referencing std arch events

2020-10-14 Thread John Garry
On 14/10/2020 17:49, Arnaldo Carvalho de Melo wrote: Ok, applied, Thanks please consider adding a Fixes tag next time. Can do if it helps, but I only thought it appropriate when fixing something merged to mainline. John

[PATCH] printk: ringbuffer: Wrong data pointer when appending small string

2020-10-14 Thread Petr Mladek
data_realloc() returns wrong data pointer when the block is wrapped and the size is not increased. It might happen when pr_cont() wants to add only few characters and there is already a space for them because of alignment. It might cause writing outsite the buffer. It has been detected by LTP test

[GIT PULL] SPDX patches for 5.10-rc1

2020-10-14 Thread Greg KH
The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx.git tags/spdx-5.10-rc1 for you to fetch changes up to c5c553850899e2662ec

[PATCH 2/2] xen: Kconfig: nest Xen guest options

2020-10-14 Thread Jason Andryuk
Moving XEN_512GB allows it to nest under XEN_PV. That also allows XEN_PVH to nest under XEN as a sibling to XEN_PV and XEN_PVHVM giving: [*] Xen guest support [*] Xen PV guest support [*] Limit Xen pv-domain memory to 512GB [*] Xen PV Dom0 support [*] Xen PVHVM guest support

[PATCH 0/2] Remove Xen PVH dependency on PCI

2020-10-14 Thread Jason Andryuk
A Xen PVH domain doesn't have a PCI bus or devices, so it doesn't need PCI support built in. Currently, XEN_PVH depends on XEN_PVHVM which depends on PCI. The first patch introduces XEN_PVHVM_GUEST as a toplevel item and changes XEN_PVHVM to a hidden variable. This allows XEN_PVH to depend on XE

[PATCH 1/2] xen: Remove Xen PVH/PVHVM dependency on PCI

2020-10-14 Thread Jason Andryuk
A Xen PVH domain doesn't have a PCI bus or devices, so it doesn't need PCI support built in. Currently, XEN_PVH depends on XEN_PVHVM which depends on PCI. Introduce XEN_PVHVM_GUEST as a toplevel item and change XEN_PVHVM to a hidden variable. This allows XEN_PVH to depend on XEN_PVHVM without PC

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-14 Thread Mina Almasry
On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: > > On 14.10.20 17:22, David Hildenbrand wrote: > > Hi everybody, > > > > Michal Privoznik played with "free page reporting" in QEMU/virtio-balloon > > with hugetlbfs and reported that this results in [1] > > > > 1. WARNING: CPU: 13 PID: 243

[tip: sched/urgent] sched/features: Fix !CONFIG_JUMP_LABEL case

2020-10-14 Thread tip-bot2 for Juri Lelli
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: a73f863af4ce9730795eab7097fb2102e6854365 Gitweb: https://git.kernel.org/tip/a73f863af4ce9730795eab7097fb2102e6854365 Author:Juri Lelli AuthorDate:Tue, 13 Oct 2020 07:31:14 +02:00 Committer

[tip: sched/urgent] sched: Replace zero-length array with flexible-array

2020-10-14 Thread tip-bot2 for zhuguangqing
The following commit has been merged into the sched/urgent branch of tip: Commit-ID: eba9f08293d76370049ec85581ab3d7f6d069e3e Gitweb: https://git.kernel.org/tip/eba9f08293d76370049ec85581ab3d7f6d069e3e Author:zhuguangqing AuthorDate:Wed, 14 Oct 2020 22:02:20 +08:00 Committ

[tip: x86/urgent] x86/syscalls: Document the fact that syscalls 512-547 are a legacy mistake

2020-10-14 Thread tip-bot2 for Andy Lutomirski
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: c3b484c439b0bab7a698495f33ef16286a1000c4 Gitweb: https://git.kernel.org/tip/c3b484c439b0bab7a698495f33ef16286a1000c4 Author:Andy Lutomirski AuthorDate:Sun, 11 Oct 2020 19:51:21 -07:00 Commit

Re: [PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-14 Thread Florian Fainelli
On 10/14/20 3:14 AM, Serge Semin wrote: > In accordance with the Generic EHCI/OHCI bindings the corresponding node > name is suppose to comply with the Generic USB HCD DT schema, which > requires the USB nodes to have the name acceptable by the regexp: > "^usb(@.*)?" . Let's fix the DTS files, whic

Re: [PATCH] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Serge Semin
Hello Maciej, On Wed, Oct 14, 2020 at 12:10:09PM +0100, Maciej W. Rozycki wrote: > Fix a crash on DEC platforms starting with: > ... > @@ -146,6 +150,9 @@ void __init plat_mem_setup(void) > > ioport_resource.start = ~0UL; > ioport_resource.end = 0UL; > + > + /* Stay away from

Re: [PATCH v2] checkpatch: add new exception to repeated word check

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 22:07 +0530, Dwaipayan Ray wrote: > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > moved the repeated word test to check for more file types. But after > this, if checkpatch.pl is run on MAINTAINERS, it generates several > new warnings of the type: Pe

WARN_ONCE triggered: tpm_tis: Add a check for invalid status

2020-10-14 Thread Dirk Gouders
On my laptop the check introduced with 55707d531af62b (tpm_tis: Add a check for invalid status) triggered the warning (output below). So, my laptop seems to be a candidate for testing. Dirk [7.255467] [ cut here ] [7.255468] TPM returned invalid status [7.2554

Re: [SUSPECTED SPAM][PATCH 0/2] Remove Xen PVH dependency on PCI

2020-10-14 Thread Andrew Cooper
On 14/10/2020 18:53, Jason Andryuk wrote: > A Xen PVH domain doesn't have a PCI bus or devices, [*] Yet. > so it doesn't need PCI support built in. Untangling the dependences is a good thing, but eventually we plan to put an optional PCI bus back in, e.g. for SRIOV usecases. ~Andrew

[PATCH v3 0/5] arm64: tegra: Xavier SDMMC changes

2020-10-14 Thread Tamás Szűcs
Upstream Xavier SDMMC needs some love. I've been able to test with a Jetson AGX Xavier. Changes here work for me with 1.8 V and 3.3 V SD and SDIO devices. Changes in v3: - I started seeing ocasional eMMC init timeouts on cold starts when HS400 is enabled, so drop this until fix is found - add mi

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 19:45 +0200, Miguel Ojeda wrote: > - Code that should be specially-formatted should be in a > clang-format-off section to begin with, so it doesn't count. clang-format is not the end-all tool. Any 'formatting off/on' marker should be tool agnostic.

[PATCH v3 4/5] arm64: tegra: Add vmmc-supply regulator for Jetson AGX Xavier SDMMC1

2020-10-14 Thread Tamás Szűcs
Create regulator for VDD_3V3_SD and add it to SDMMC1. When vmmc-supply is undefined the initialization sequence specified in aliases is disregarded. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arc

[PATCH v3 5/5] arm64: tegra: Configure SDIO cards on Jetson AGX Xavier SDMMC1

2020-10-14 Thread Tamás Szűcs
Preserve SDIO card power during suspend/resume cycles and enable waking up the host system on SDIO IRQ assertion. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/

[PATCH v3 3/5] arm64: tegra: Fix CD on Jetson AGX Xavier SDMMC1

2020-10-14 Thread Tamás Szűcs
Change GPIO used for card detection on SDMMC1. Also, specify bus width and disable write protect while at it. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p

Re: [PATCH RFC v4 06/13] perf vendor events arm64: Add hip09 SMMUv3 PMCG events

2020-10-14 Thread Robin Murphy
On 2020-10-08 11:15, John Garry wrote: Add the SMMUv3 PMCG (Performance Monitor Event Group) events for hip09 platform. This contains a mix of architected and IMP def events Signed-off-by: John Garry --- .../hisilicon/hip09/sys/smmu-v3-pmcg.json | 42 +++ 1 file changed,

[PATCH v3 1/5] arm64: tegra: Enable signal voltage switching on Tegra194 SDMMC1 and SDMMC3

2020-10-14 Thread Tamás Szűcs
Add pad voltage configuration nodes for SDMMC pads with configurable voltages and enable supported SD card, SDIO and eMMC modes. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 45 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/d

Re: [PATCH v21 07/12] landlock: Support filesystem access-control

2020-10-14 Thread James Morris
On Thu, 8 Oct 2020, Mickaël Salaün wrote: > +config ARCH_EPHEMERAL_STATES > + def_bool n > + help > + An arch should select this symbol if it does not keep an internal > kernel > + state for kernel objects such as inodes, but instead relies on > something > + else (e.g.

Re: [PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Florian Fainelli
On 10/14/20 10:39 AM, Sudeep Holla wrote: > On Wed, Oct 14, 2020 at 10:13:04AM -0700, Florian Fainelli wrote: >> On 10/14/20 9:18 AM, Sudeep Holla wrote: >>> On Wed, Oct 14, 2020 at 02:48:19PM +0100, Cristian Marussi wrote: >>> >>> [...] >>> > > I have pushed a version with above change [1]

Re: [PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-14 Thread Serge Semin
On Wed, Oct 14, 2020 at 11:00:45AM -0700, Florian Fainelli wrote: > On 10/14/20 3:14 AM, Serge Semin wrote: > > In accordance with the Generic EHCI/OHCI bindings the corresponding node > > name is suppose to comply with the Generic USB HCD DT schema, which > > requires the USB nodes to have the nam

Re: [PATCH v2] checkpatch: add new exception to repeated word check

2020-10-14 Thread Dwaipayan Ray
On Wed, Oct 14, 2020 at 11:33 PM Joe Perches wrote: > > On Wed, 2020-10-14 at 22:07 +0530, Dwaipayan Ray wrote: > > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > > moved the repeated word test to check for more file types. But after > > this, if checkpatch.pl is run on MA

RE: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-14 Thread Limonciello, Mario
> As far as I know, the profiles affect the thermal behavior like "how long to > wait before starting the fan and at what temperature" or "how fast to run the > fan with the current cpu load and temperature". > > The only way that firmware uses to "control" performance should be the odvp0 > DPTF

Re: [patch 11/12] usb: core: Replace in_interrupt() in comments

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 06:41:23PM +0200, Sebastian Andrzej Siewior wrote: > On 2020-10-14 12:27:21 [-0400], Alan Stern wrote: > > > --- a/drivers/usb/core/hcd.c > > > +++ b/drivers/usb/core/hcd.c > > > @@ -746,9 +746,6 @@ static int rh_call_control (struct usb_h > > > * Root Hub interrupt transf

[PATCH v3 2/5] arm64: tegra: Specify sdhci clock parent for Tegra194 SDMMC1 and SDMMC3

2020-10-14 Thread Tamás Szűcs
Use PLLC4_MUXED as clock source for SDMMC1 and SDMMC3 core clocks. This enables more suitable interface clocks for higher data rate modes. Signed-off-by: Tamás Szűcs --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/

Re: [PATCH] lib: kunit: add test_min_heap test conversion to KUnit

2020-10-14 Thread Ian Rogers
On Mon, Oct 12, 2020 at 2:03 PM Brendan Higgins wrote: > > On Tue, Aug 4, 2020 at 9:22 AM Vitor Massaru Iha wrote: > > > > Hi Peter, > > > > On Tue, Aug 4, 2020 at 11:23 AM wrote: > > > > > > On Tue, Aug 04, 2020 at 10:46:21AM -0300, Vitor Massaru Iha wrote: > > > > On Tue, Aug 4, 2020 at 10:25

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-14 Thread Trond Myklebust
On Tue, 2020-10-06 at 08:14 -0700, Ashish Sangwan wrote: > Request for mode bits and nlink count in the nfs4_get_referral call > and if server returns them use them instead of hard coded values. > > CC: sta...@vger.kernel.org > Signed-off-by: Ashish Sangwan > --- > fs/nfs/nfs4proc.c | 20 +++

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-14 Thread David Hildenbrand
On 14.10.20 19:56, Mina Almasry wrote: > On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: >> >> On 14.10.20 17:22, David Hildenbrand wrote: >>> Hi everybody, >>> >>> Michal Privoznik played with "free page reporting" in QEMU/virtio-balloon >>> with hugetlbfs and reported that this results

Re: [PATCH v6 02/25] objtool: Add a pass for generating __mcount_loc

2020-10-14 Thread Peter Zijlstra
On Wed, Oct 14, 2020 at 06:50:04PM +0200, Ingo Molnar wrote: > Meh, adding --mcount as an option to 'objtool check' was a valid hack for a > prototype patchset, but please turn this into a proper subcommand, just > like 'objtool orc' is. > > 'objtool check' should ... keep checking. :-) No, no

Re: WARN_ONCE triggered: tpm_tis: Add a check for invalid status

2020-10-14 Thread James Bottomley
On Wed, 2020-10-14 at 19:57 +0200, Dirk Gouders wrote: > On my laptop the check introduced with 55707d531af62b (tpm_tis: Add a > check for invalid status) triggered the warning (output below). > > So, my laptop seems to be a candidate for testing. I'm afraid this is a known problem on a wide rang

Re: [PATCH v4 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-14 Thread Luka Kovacic
Hello Guenter, On Tue, Oct 13, 2020 at 8:51 PM Guenter Roeck wrote: > > On 10/13/20 11:09 AM, Luka Kovacic wrote: > > Hello Guenter, > > > > On Sun, Oct 11, 2020 at 11:26 PM Guenter Roeck wrote: > >> > >> On Wed, Oct 07, 2020 at 02:48:58AM +0200, Luka Kovacic wrote: > >>> Add the iEi WT61P803 PU

[PATCH v2 00/20] Introduce the TDP MMU

2020-10-14 Thread Ben Gardon
Over the years, the needs for KVM's x86 MMU have grown from running small guests to live migrating multi-terabyte VMs with hundreds of vCPUs. Where we previously depended on shadow paging to run all guests, we now have two dimensional paging (TDP). This patch set introduces a new implementation of

[PATCH v2 01/20] kvm: x86/mmu: Separate making SPTEs from set_spte

2020-10-14 Thread Ben Gardon
Separate the functions for generating leaf page table entries from the function that inserts them into the paging structure. This refactoring will facilitate changes to the MMU sychronization model to use atomic compare / exchanges (which are not guaranteed to succeed) instead of a monolithic MMU l

[PATCH v2 03/20] kvm: x86/mmu: Init / Uninit the TDP MMU

2020-10-14 Thread Ben Gardon
The TDP MMU offers an alternative mode of operation to the x86 shadow paging based MMU, optimized for running an L1 guest with TDP. The TDP MMU will require new fields that need to be initialized and torn down. Add hooks into the existing KVM MMU initialization process to do that initialization / c

[PATCH v2 13/20] kvm: x86/mmu: Add access tracking for tdp_mmu

2020-10-14 Thread Ben Gardon
In order to interoperate correctly with the rest of KVM and other Linux subsystems, the TDP MMU must correctly handle various MMU notifiers. The main Linux MM uses the access tracking MMU notifiers for swap and other features. Add hooks to handle the test/flush HVA (range) family of MMU notifiers.

[PATCH v2 02/20] kvm: x86/mmu: Introduce tdp_iter

2020-10-14 Thread Ben Gardon
The TDP iterator implements a pre-order traversal of a TDP paging structure. This iterator will be used in future patches to create an efficient implementation of the KVM MMU for the TDP case. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no

[PATCH v2 08/20] kvm: x86/mmu: Separate making non-leaf sptes from link_shadow_page

2020-10-14 Thread Ben Gardon
The TDP MMU page fault handler will need to be able to create non-leaf SPTEs to build up the paging structures. Rather than re-implementing the function, factor the SPTE creation out of link_shadow_page. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series in

[PATCH v2 11/20] kvm: x86/mmu: Allocate struct kvm_mmu_pages for all pages in TDP MMU

2020-10-14 Thread Ben Gardon
Attach struct kvm_mmu_pages to every page in the TDP MMU to track metadata, facilitate NX reclaim, and enable inproved parallelism of MMU operations in future patches. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no new failures. This seri

[PATCH v2 10/20] kvm: x86/mmu: Add TDP MMU PF handler

2020-10-14 Thread Ben Gardon
Add functions to handle page faults in the TDP MMU. These page faults are currently handled in much the same way as the x86 shadow paging based MMU, however the ordering of some operations is slightly different. Future patches will add eager NX splitting, a fast page fault handler, and parallel pag

[PATCH v2 17/20] kvm: x86/mmu: Support write protection for nesting in tdp MMU

2020-10-14 Thread Ben Gardon
To support nested virtualization, KVM will sometimes need to write protect pages which are part of a shadowed paging structure or are not writable in the shadowed paging structure. Add a function to write protect GFN mappings for this purpose. Tested by running kvm-unit-tests and KVM selftests on

[PATCH v2 18/20] kvm: x86/mmu: Support MMIO in the TDP MMU

2020-10-14 Thread Ben Gardon
In order to support MMIO, KVM must be able to walk the TDP paging structures to find mappings for a given GFN. Support this walk for the TDP MMU. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no new failures. This series can be viewed in Ge

[PATCH v2 07/20] kvm: x86/mmu: Support zapping SPTEs in the TDP MMU

2020-10-14 Thread Ben Gardon
Add functions to zap SPTEs to the TDP MMU. These are needed to tear down TDP MMU roots properly and implement other MMU functions which require tearing down mappings. Future patches will add functions to populate the page tables, but as for this patch there will not be any work for these functions

[PATCH v2 20/20] kvm: x86/mmu: NX largepage recovery for TDP MMU

2020-10-14 Thread Ben Gardon
When KVM maps a largepage backed region at a lower level in order to make it executable (i.e. NX large page shattering), it reduces the TLB performance of that region. In order to avoid making this degradation permanent, KVM must periodically reclaim shattered NX largepages by zapping them and allo

[PATCH v2 19/20] kvm: x86/mmu: Don't clear write flooding count for direct roots

2020-10-14 Thread Ben Gardon
Direct roots don't have a write flooding count because the guest can't affect that paging structure. Thus there's no need to clear the write flooding count on a fast CR3 switch for direct roots. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced

[PATCH v2 16/20] kvm: x86/mmu: Support disabling dirty logging for the tdp MMU

2020-10-14 Thread Ben Gardon
Dirty logging ultimately breaks down MMU mappings to 4k granularity. When dirty logging is no longer needed, these granaular mappings represent a useless performance penalty. When dirty logging is disabled, search the paging structure for mappings that could be re-constituted into a large page mapp

[PATCH v2 09/20] kvm: x86/mmu: Remove disallowed_hugepage_adjust shadow_walk_iterator arg

2020-10-14 Thread Ben Gardon
In order to avoid creating executable hugepages in the TDP MMU PF handler, remove the dependency between disallowed_hugepage_adjust and the shadow_walk_iterator. This will open the function up to being used by the TDP MMU PF handler in a future patch. Tested by running kvm-unit-tests and KVM selft

[PATCH v2 14/20] kvm: x86/mmu: Support changed pte notifier in tdp MMU

2020-10-14 Thread Ben Gardon
In order to interoperate correctly with the rest of KVM and other Linux subsystems, the TDP MMU must correctly handle various MMU notifiers. Add a hook and handle the change_pte MMU notifier. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no

[PATCH v2 12/20] kvm: x86/mmu: Support invalidate range MMU notifier for TDP MMU

2020-10-14 Thread Ben Gardon
In order to interoperate correctly with the rest of KVM and other Linux subsystems, the TDP MMU must correctly handle various MMU notifiers. Add hooks to handle the invalidate range family of MMU notifiers. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series

[PATCH v2 04/20] kvm: x86/mmu: Allocate and free TDP MMU roots

2020-10-14 Thread Ben Gardon
The TDP MMU must be able to allocate paging structure root pages and track the usage of those pages. Implement a similar, but separate system for root page allocation to that of the x86 shadow paging implementation. When future patches add synchronization model changes to allow for parallel page fa

[PATCH -next] Revert "powerpc/pci: unmap legacy INTx interrupts when a PHB is removed"

2020-10-14 Thread Qian Cai
This reverts commit 3a3181e16fbde752007759f8759d25e0ff1fc425 which causes memory corruptions on POWER9 NV. Signed-off-by: Qian Cai --- arch/powerpc/include/asm/pci-bridge.h | 6 -- arch/powerpc/kernel/pci-common.c | 114 -- 2 files changed, 120 deletions(-) diff -

[PATCH v2 05/20] kvm: x86/mmu: Add functions to handle changed TDP SPTEs

2020-10-14 Thread Ben Gardon
The existing bookkeeping done by KVM when a PTE is changed is spread around several functions. This makes it difficult to remember all the stats, bitmaps, and other subsystems that need to be updated whenever a PTE is modified. When a non-leaf PTE is marked non-present or becomes a leaf PTE, page t

[PATCH v2 15/20] kvm: x86/mmu: Support dirty logging for the TDP MMU

2020-10-14 Thread Ben Gardon
Dirty logging is a key feature of the KVM MMU and must be supported by the TDP MMU. Add support for both the write protection and PML dirty logging modes. Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell machine. This series introduced no new failures. This series can be vie

[PATCH v2 06/20] KVM: Cache as_id in kvm_memory_slot

2020-10-14 Thread Ben Gardon
From: Peter Xu Cache the address space ID just like the slot ID. It will be used in order to fill in the dirty ring entries. Suggested-by: Paolo Bonzini Suggested-by: Sean Christopherson Reviewed-by: Sean Christopherson Signed-off-by: Peter Xu --- include/linux/kvm_host.h | 1 + virt/kvm/k

Re: [PATCH 5.8 000/124] 5.8.15-rc1 review

2020-10-14 Thread Jeffrin Jose T
On Wed, 2020-10-14 at 11:56 +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 12, 2020 at 11:00:07PM +0530, Jeffrin Jose T wrote: > > * On Mon, 2020-10-12 at 15:30 +0200, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 5.8.15 > > > release. > > > There are 124 pat

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Miguel Ojeda
On Wed, Oct 14, 2020 at 8:05 PM Joe Perches wrote: > > Any 'formatting off/on' marker should be tool agnostic. Agreed, they should have used a compiler-agnostic name for the marker. Cheers, Miguel

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-14 Thread Mike Kravetz
On 10/14/20 11:18 AM, David Hildenbrand wrote: > On 14.10.20 19:56, Mina Almasry wrote: >> On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: >>> >>> On 14.10.20 17:22, David Hildenbrand wrote: Hi everybody, Michal Privoznik played with "free page reporting" in QEMU/virtio-bal

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-14 Thread Paul E. McKenney
On Tue, Oct 13, 2020 at 12:30:25PM -0700, Paul E. McKenney wrote: > On Tue, Oct 13, 2020 at 09:26:50AM -0700, Paul E. McKenney wrote: > > On Tue, Oct 13, 2020 at 01:25:44PM +0200, Peter Zijlstra wrote: > > > On Tue, Oct 13, 2020 at 12:44:50PM +0200, Peter Zijlstra wrote: > > > > On Tue, Oct 13, 202

Re: [PATCH] IPv6: sr: Fix End.X nexthop to use oif.

2020-10-14 Thread kernel test robot
fig: riscv-randconfig-r035-20201014 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project e7fe3c6dfede8d5781bd000741c3dea7088307a4) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/

Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 9:37 AM Serge Semin wrote: > > On Wed, Oct 14, 2020 at 05:09:37PM +0300, Felipe Balbi wrote: > > > > Hi Serge, > > > > Serge Semin writes: > > > In accordance with the DWC USB3 bindings the corresponding node name is > > > suppose to comply with Generic USB HCD DT schema,

Re: [PATCH v2] checkpatch: add new exception to repeated word check

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 23:42 +0530, Dwaipayan Ray wrote: > On Wed, Oct 14, 2020 at 11:33 PM Joe Perches wrote: > > On Wed, 2020-10-14 at 22:07 +0530, Dwaipayan Ray wrote: > > > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > > > moved the repeated word test to check for more

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 20:32 +0200, Miguel Ojeda wrote: > On Wed, Oct 14, 2020 at 8:05 PM Joe Perches wrote: > > Any 'formatting off/on' marker should be tool agnostic. > > Agreed, they should have used a compiler-agnostic name for the marker. It means to me that linux has to invent one and any c

Re: [PATCH 1/2] arm64: dts: qcom: sc7180: Add gpu cooling support

2020-10-14 Thread manafm
On 2020-10-14 18:59, Akhil P Oommen wrote: On 10/9/2020 10:27 PM, Matthias Kaehlcke wrote: On Fri, Oct 09, 2020 at 08:05:10AM -0700, Doug Anderson wrote: Hi, On Thu, Oct 8, 2020 at 10:10 AM Akhil P Oommen wrote: Add cooling-cells property and the cooling maps for the gpu tzones to support

Re: [PATCH v1 0/8] perf c2c: Refine the organization of metrics

2020-10-14 Thread Joe Mario
On 10/14/20 1:09 AM, Leo Yan wrote: > This patch set is to refine metrics output organization. > > If we reivew the current memory metrics in Perf c2c tool, it doesn't > orgnize the metrics with directive approach; thus user needs to take > time to dig into every statistics item. On the other

Re: [RFC]: userspace memory reaping

2020-10-14 Thread minchan
On Wed, Oct 14, 2020 at 09:57:20AM -0700, Suren Baghdasaryan wrote: > On Wed, Oct 14, 2020 at 5:09 AM Michal Hocko wrote: > > > > [Sorry for a late reply] > > > > On Mon 14-09-20 17:45:44, Suren Baghdasaryan wrote: > > > + linux-kernel@vger.kernel.org > > > > > > On Mon, Sep 14, 2020 at 5:43 PM Su

Re: [PATCH 1/7] of: base: Add of_count_phandle_with_fixed_args()

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 9:54 AM Richard Fitzgerald wrote: > > Add an equivalent of of_count_phandle_with_args() for fixed argument > sets, to pair with of_parse_phandle_with_fixed_args(). > > Signed-off-by: Richard Fitzgerald > --- > drivers/of/base.c | 42 ++

Re: [PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-14 Thread Florian Fainelli
On 10/14/20 11:11 AM, Serge Semin wrote: > On Wed, Oct 14, 2020 at 11:00:45AM -0700, Florian Fainelli wrote: >> On 10/14/20 3:14 AM, Serge Semin wrote: >>> In accordance with the Generic EHCI/OHCI bindings the corresponding node >>> name is suppose to comply with the Generic USB HCD DT schema, whic

Re: [PATCH nf v2] netfilter: conntrack: connection timeout after re-register

2020-10-14 Thread Francesco Ruggeri
On Wed, Oct 14, 2020 at 1:23 AM Florian Westphal wrote: > > Pablo Neira Ayuso wrote: > > Legacy would still be flawed though. > > Its fine too, new rule blob gets handled (and match/target checkentry > called) before old one is dismantled. > > We only have a 0 refcount + hook unregister when rule

Re: [PATCH v7 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a

2020-10-14 Thread Sam Ravnborg
Hi Sumit. On Wed, Sep 02, 2020 at 12:14:06PM +0530, Sumit Semwal wrote: > Novatek nt36672a is a display driver IC that can drive DSI panel. It > is also present in the Tianma video mode panel, which is a FHD+ panel > with a resolution of 1080x2246 and 6.18 inches size. It is found in > some of the

Re: [PATCH v7 2/2] drm: panel: Add novatek nt36672a panel driver

2020-10-14 Thread Sam Ravnborg
Hi Sumit. On Wed, Sep 02, 2020 at 12:14:07PM +0530, Sumit Semwal wrote: > Novatek NT36672a is a generic DSI IC that drives command and video mode > panels. Add the driver for it. > > Right now adding support for some Poco F1 phones that have an LCD panel > from Tianma connected with this IC, with

Re: [patch 06/12] usb: host: isp1362: Replace in_interrupt() usage

2020-10-14 Thread kernel test robot
suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Thomas-Gleixner/UBS-Cleanup-in_interupt-in_irq-in_atomic-usage/20201014-232156 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-test

Re: [GIT PULL] ACPI updates for v5.10-rc1

2020-10-14 Thread Linus Torvalds
On Tue, Oct 13, 2020 at 10:34 AM Rafael J. Wysocki wrote: > > ACPI updates for 5.10-rc1. So these clashed with Andrew's patches that I merged earlier (particularly commit c01044cc8191: "ACPI: HMAT: refactor hmat_register_target_device to hmem_register_device"). I think I sorted it out right, but

Re: [PATCH v21 07/12] landlock: Support filesystem access-control

2020-10-14 Thread Mickaël Salaün
On 14/10/2020 20:07, James Morris wrote: > On Thu, 8 Oct 2020, Mickaël Salaün wrote: > >> +config ARCH_EPHEMERAL_STATES >> +def_bool n >> +help >> + An arch should select this symbol if it does not keep an internal >> kernel >> + state for kernel objects such as inodes, but in

Re: [GIT PULL] ACPI updates for v5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 19:33:58 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git > acpi-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cf1d2b44f6c70158606b5b8a8996190d6e7d Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] PNP updates for v5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 19:35:12 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pnp-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/defb53a7c790f9e37a765de8a5d830ed15e2055b Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Power management updates for v5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 19:31:48 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0b8417c14181595997091145342954332fa016cd Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] platform-drivers-x86 for 5.10-1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 14:26:18 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git > tags/platform-drivers-x86-v5.10-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/15cb5469fc5fff06969832028b743cb658d1a5b5 Th

Re: [PATCH 4/6] clk: renesas: r8a779a0: Add VIN[00-31] clocks

2020-10-14 Thread Sergei Shtylyov
On 10/14/20 12:44 PM, Jacopo Mondi wrote: > Add clock definitions of the VIN instances for R-Car V3U. > > Signed-off-by: Jacopo Mondi > > --- > Clocks at indexes 730 and 731 are named 'vin0' and 'vin1'. > I assumed it's a typographic error and renamed them 'vin00' and 'vin01' > --- > drivers/c

<    3   4   5   6   7   8   9   10   11   12   >