Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Sowjanya Komatineni
On 7/16/19 10:42 PM, Dmitry Osipenko wrote: В Tue, 16 Jul 2019 22:25:25 -0700 Sowjanya Komatineni пишет: On 7/16/19 9:11 PM, Dmitry Osipenko wrote: В Tue, 16 Jul 2019 19:35:49 -0700 Sowjanya Komatineni пишет: On 7/16/19 7:18 PM, Sowjanya Komatineni wrote: On 7/16/19 3:06 PM, Sowjanya

Re: [PATCH] opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()

2019-07-16 Thread Viresh Kumar
On 11-07-19, 15:09, Rajendra Nayak wrote: > Sorry for the delay Same here :) > I seem to have completely missed this patch. > I just gave this a try and here are some observations, > > I have a case where I have one device with 2 power domains, one of them > is scale-able (supports perf state)

Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Dmitry Osipenko
В Tue, 16 Jul 2019 22:25:25 -0700 Sowjanya Komatineni пишет: > On 7/16/19 9:11 PM, Dmitry Osipenko wrote: > > В Tue, 16 Jul 2019 19:35:49 -0700 > > Sowjanya Komatineni пишет: > > > >> On 7/16/19 7:18 PM, Sowjanya Komatineni wrote: > >>> On 7/16/19 3:06 PM, Sowjanya Komatineni wrote: >

Re: [PATCH 2/2] mm,memory_hotplug: Fix shrink_{zone,node}_span

2019-07-16 Thread Aneesh Kumar K.V
Oscar Salvador writes: > On Mon, 2019-07-15 at 21:41 +0530, Aneesh Kumar K.V wrote: >> Oscar Salvador writes: >> >> > Since [1], shrink_{zone,node}_span work on PAGES_PER_SUBSECTION >> > granularity. >> > The problem is that deactivation of the section occurs later on in >> >

Re: [PATCH] Revert "kmemleak: allow to coexist with fault injection"

2019-07-16 Thread Michal Hocko
On Tue 16-07-19 16:28:21, Qian Cai wrote: > On Tue, 2019-07-16 at 22:07 +0200, Michal Hocko wrote: > > On Tue 16-07-19 15:21:17, Qian Cai wrote: > > [...] > > > Thanks to this commit, there are allocation with __GFP_DIRECT_RECLAIM that > > > succeeded would keep trying with __GFP_NOFAIL for

RE: [LINUX PATCH v18 1/2] mtd: rawnand: nand_micron: Do not over write driver's read_page()/write_page()

2019-07-16 Thread Naga Sureshkumar Relli
Hi Boris, > -Original Message- > From: Boris Brezillon > Sent: Tuesday, July 16, 2019 1:15 PM > To: Naga Sureshkumar Relli > Cc: miquel.ray...@bootlin.com; bbrezil...@kernel.org; rich...@nod.at; > dw...@infradead.org; computersforpe...@gmail.com; marek.va...@gmail.com; >

Re: [PATCH] locking/lockdep: hide unused 'class' variable

2019-07-16 Thread Yuyang Du
Whoops. Thanks. On Mon, 15 Jul 2019 at 17:28, Arnd Bergmann wrote: > > The usage is now hidden in an #ifdef, so we need to move > the variable itself in there as well to avoid this warning: > > kernel/locking/lockdep_proc.c:203:21: error: unused variable 'class' >

Re: [PATCH] Revert "kmemleak: allow to coexist with fault injection"

2019-07-16 Thread Michal Hocko
On Wed 17-07-19 01:50:31, Yang Shi wrote: > When running ltp's oom test with kmemleak enabled, the below warning was > triggerred since kernel detects __GFP_NOFAIL & ~__GFP_DIRECT_RECLAIM is > passed in: > > WARNING: CPU: 105 PID: 2138 at mm/page_alloc.c:4608 >

Re: [PATCH] Revert "kmemleak: allow to coexist with fault injection"

2019-07-16 Thread Michal Hocko
On Wed 17-07-19 07:07:11, Michal Hocko wrote: > On Wed 17-07-19 01:50:31, Yang Shi wrote: > > When running ltp's oom test with kmemleak enabled, the below warning was > > triggerred since kernel detects __GFP_NOFAIL & ~__GFP_DIRECT_RECLAIM is > > passed in: > > > > WARNING: CPU: 105 PID: 2138 at

Re: [Xen-devel][PATCH v3] xen/pv: Fix a boot up hang revealed by int3 self test

2019-07-16 Thread Juergen Gross
On 14.07.19 11:15, Zhenzhong Duan wrote: Commit 7457c0da024b ("x86/alternatives: Add int3_emulate_call() selftest") is used to ensure there is a gap setup in int3 exception stack which could be used for inserting call return address. This gap is missed in XEN PV int3 exception entry path, then

Re: [PATCH v8 4/5] x86/paravirt: Remove const mark from x86_hyper_xen_hvm variable

2019-07-16 Thread Juergen Gross
On 16.07.19 06:26, Zhenzhong Duan wrote: .. as "nopv" support needs it to be changeable at boot up stage. Checkpatch reports warning, so move variable declarations from hypervisor.c to hypervisor.h Signed-off-by: Zhenzhong Duan Reviewed-by: Juergen Gross ... and complete series applied to

Re: [PATCH v2 3/3] nvme-pci: Add support for Apple 2018+ models

2019-07-16 Thread Benjamin Herrenschmidt
On Wed, 2019-07-17 at 06:50 +0200, Christoph Hellwig wrote: > > # Conflicts: > > # drivers/nvme/host/core.c > > I thought you were going to fix this up :) Haha yeah I was ... > But I can do that and this version of the series looks fine to me. Thanks ! Cheers, Ben.

Re: [PATCH v2 3/3] nvme-pci: Add support for Apple 2018+ models

2019-07-16 Thread Christoph Hellwig
> # Conflicts: > # drivers/nvme/host/core.c I thought you were going to fix this up :) But I can do that and this version of the series looks fine to me.

Re: [PATCH 11/13] arm64: dts: qcom: qcs404: Add CPR and populate OPP table

2019-07-16 Thread Viresh Kumar
On 16-07-19, 12:53, Niklas Cassel wrote: > Here I cheated and simply used get_cpu_device(0). > > Since I cheated, I used get_cpu_device(0) always, > so even when CPU1,CPU2,CPU3 is attached, dev_pm_opp_get_opp_count(cpu0) is > still 0. > > I added a print in > [3.836533] cpr_set_performance:

Re: [Xen-devel][PATCH v3] xen/pv: Fix a boot up hang revealed by int3 self test

2019-07-16 Thread Juergen Gross
On 14.07.19 11:15, Zhenzhong Duan wrote: Commit 7457c0da024b ("x86/alternatives: Add int3_emulate_call() selftest") is used to ensure there is a gap setup in int3 exception stack which could be used for inserting call return address. This gap is missed in XEN PV int3 exception entry path, then

Re: [PATCH 1/3] mm: document zone device struct page reserved fields

2019-07-16 Thread Christoph Hellwig
On Tue, Jul 16, 2019 at 09:31:33PM -0700, John Hubbard wrote: > OK, so just delete all the _zd_pad_* fields? Works for me. It's misleading to > calling something padding, if it's actually unavailable because it's used > in the other union, so deleting would be even better than commenting. > > In

Re: mmotm 2019-07-16-17-14 uploaded

2019-07-16 Thread Stephen Rothwell
Hi Randy, On Tue, 16 Jul 2019 20:50:11 -0700 Randy Dunlap wrote: > > drivers/gpu/drm/amd/amdgpu/Kconfig contains this (from linux-next.patch): > > --- a/drivers/gpu/drm/amd/amdgpu/Kconfig~linux-next > +++ a/drivers/gpu/drm/amd/amdgpu/Kconfig > @@ -27,7 +27,12 @@ config DRM_AMDGPU_CIK > config

Re: [PATCH 1/3] mm: document zone device struct page reserved fields

2019-07-16 Thread John Hubbard
On 7/16/19 9:22 PM, Christoph Hellwig wrote: > On Tue, Jul 16, 2019 at 06:20:23PM -0700, John Hubbard wrote: >>> - unsigned long _zd_pad_1;/* uses mapping */ >>> + /* >>> +* The following fields are used to hold the source >>> +

linux-next: Tree for Jul 17

2019-07-16 Thread Stephen Rothwell
Hi all, Please do not add v5.4 material to your linux-next included branches until after v5.3-rc1 has been released. Changes since 20190716: The kbuild tree lost its build failure. The xfs tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 2695 2480

Re: [PATCH v7] cpufreq/pasemi: fix an use-after-free in pas_cpufreq_cpu_init()

2019-07-16 Thread Viresh Kumar
On 17-07-19, 11:55, Wen Yang wrote: > The cpu variable is still being used in the of_get_property() call > after the of_node_put() call, which may result in use-after-free. > > Fixes: a9acc26b75f6 ("cpufreq/pasemi: fix possible object reference leak") > Signed-off-by: Wen Yang > Cc: "Rafael J.

[PATCH v8 5/5] x86/xen: Add "nopv" support for HVM guest

2019-07-16 Thread Zhenzhong Duan
PVH guest needs PV extentions to work, so "nopv" parameter should be ignored for PVH but not for HVM guest. If PVH guest boots up via the Xen-PVH boot entry, xen_pvh is set early, we know it's PVH guest and ignore "nopv" parameter directly. If PVH guest boots up via the normal boot entry same as

[PATCH v8 4/5] x86/paravirt: Remove const mark from x86_hyper_xen_hvm variable

2019-07-16 Thread Zhenzhong Duan
.. as "nopv" support needs it to be changeable at boot up stage. Checkpatch reports warning, so move variable declarations from hypervisor.c to hypervisor.h Signed-off-by: Zhenzhong Duan Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: Thomas Gleixner Cc: Ingo Molnar Cc:

Re: [PATCH 1/3] mm: document zone device struct page reserved fields

2019-07-16 Thread Christoph Hellwig
On Tue, Jul 16, 2019 at 06:20:23PM -0700, John Hubbard wrote: > > - unsigned long _zd_pad_1;/* uses mapping */ > > + /* > > +* The following fields are used to hold the source > > +* page anonymous mapping

Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Dmitry Osipenko
В Tue, 16 Jul 2019 19:35:49 -0700 Sowjanya Komatineni пишет: > On 7/16/19 7:18 PM, Sowjanya Komatineni wrote: > > > > On 7/16/19 3:06 PM, Sowjanya Komatineni wrote: > >> > >> On 7/16/19 3:00 PM, Dmitry Osipenko wrote: > >>> 17.07.2019 0:35, Sowjanya Komatineni пишет: > On 7/16/19 2:21

Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Sowjanya Komatineni
On 7/16/19 8:54 PM, Dmitry Osipenko wrote: В Tue, 16 Jul 2019 19:18:19 -0700 Sowjanya Komatineni пишет: On 7/16/19 3:06 PM, Sowjanya Komatineni wrote: On 7/16/19 3:00 PM, Dmitry Osipenko wrote: 17.07.2019 0:35, Sowjanya Komatineni пишет: On 7/16/19 2:21 PM, Dmitry Osipenko wrote:

Re: [PATCH v2 1/2] dt-bindings: mmc: Document Aspeed SD controller

2019-07-16 Thread Andrew Jeffery
On Wed, 17 Jul 2019, at 00:27, Rob Herring wrote: > On Mon, Jul 15, 2019 at 6:36 PM Andrew Jeffery wrote: > > > > > > > > On Tue, 16 Jul 2019, at 07:47, Rob Herring wrote: > > > On Thu, Jul 11, 2019 at 9:32 PM Andrew Jeffery wrote: > > > > > > > > The ASPEED SD/SDIO/eMMC controller exposes

[PATCH v7] cpufreq/pasemi: fix an use-after-free in pas_cpufreq_cpu_init()

2019-07-16 Thread Wen Yang
The cpu variable is still being used in the of_get_property() call after the of_node_put() call, which may result in use-after-free. Fixes: a9acc26b75f6 ("cpufreq/pasemi: fix possible object reference leak") Signed-off-by: Wen Yang Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: Michael Ellerman

Re: mmotm 2019-07-16-17-14 uploaded

2019-07-16 Thread Randy Dunlap
On 7/16/19 8:50 PM, Randy Dunlap wrote: > On 7/16/19 5:15 PM, a...@linux-foundation.org wrote: >> The mm-of-the-moment snapshot 2019-07-16-17-14 has been uploaded to >> >>http://www.ozlabs.org/~akpm/mmotm/ >> >> mmotm-readme.txt says >> >> README for mm-of-the-moment: >> >>

Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Dmitry Osipenko
В Tue, 16 Jul 2019 19:18:19 -0700 Sowjanya Komatineni пишет: > On 7/16/19 3:06 PM, Sowjanya Komatineni wrote: > > > > On 7/16/19 3:00 PM, Dmitry Osipenko wrote: > >> 17.07.2019 0:35, Sowjanya Komatineni пишет: > >>> On 7/16/19 2:21 PM, Dmitry Osipenko wrote: > 17.07.2019 0:12,

Re: mmotm 2019-07-16-17-14 uploaded

2019-07-16 Thread Randy Dunlap
On 7/16/19 5:15 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2019-07-16-17-14 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

Re: [PATCH 2/3 v3] dt-bindings: gpio: aspeed: Add SGPIO support

2019-07-16 Thread Andrew Jeffery
Hello Hongwei, On Wed, 17 Jul 2019, at 07:18, Hongwei Zhang wrote: > Add bindings to support SGPIO on AST2400 or AST2500. > > Signed-off-by: Hongwei Zhang > --- > .../devicetree/bindings/gpio/sgpio-aspeed.txt | 55 > ++ > 1 file changed, 55 insertions(+) > create

Re: [PATCH] dax: Fix missed PMD wakeups

2019-07-16 Thread Dan Williams
On Fri, Jul 12, 2019 at 2:14 AM Jan Kara wrote: > > On Thu 11-07-19 08:25:50, Matthew Wilcox wrote: > > On Thu, Jul 11, 2019 at 07:13:50AM -0700, Matthew Wilcox wrote: > > > However, the XA_RETRY_ENTRY might be a good choice. It doesn't normally > > > appear in an XArray (it may appear if you're

[PATCH] acpica: fix -Wnull-pointer-arithmetic warnings

2019-07-16 Thread Qian Cai
Clang generate quite a few of those warnings. drivers/acpi/scan.c:759:28: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] status = acpi_get_handle(ACPI_ROOT_OBJECT, obj->string.pointer,

Re: [PATCH v7 4/5] x86/paravirt: Remove const mark from x86_hyper_xen_hvm variable

2019-07-16 Thread Juergen Gross
On 17.07.19 04:09, Zhenzhong Duan wrote: On 2019/7/16 18:57, Juergen Gross wrote: On 11.07.19 14:02, Zhenzhong Duan wrote: .. as "nopv" support needs it to be changeable at boot up stage. Checkpatch report warning, so move variable declarations from hypervisor.c to hypervisor.h

Re: [PATCH 2/3 v3] ARM: dts: aspeed: Add SGPIO driver

2019-07-16 Thread Andrew Jeffery
Hello Hongwei, Please send patches and feedback on prior iterations separately. Please send the output of `git format-patch ...`directly; format-patch spits the patch out in email form ready to go and can be fed straight to `git send-email`. On Wed, 17 Jul 2019, at 06:54, Hongwei Zhang wrote: >

Re: properly communicate queue limits to the DMA layer v2

2019-07-16 Thread Martin K. Petersen
Christoph, > I think all the patches on the block side went into 5.2, but it's been > a while, so I might misremember.. I checked my notes and the reason I held them back was that I was waiting for a response from Broadcom wrt. the megaraid segment size limitation. However, given that mpt3sas

Re: [PATCH] skbuff: fix compilation warnings in skb_dump()

2019-07-16 Thread Joe Perches
On Tue, 2019-07-16 at 17:04 +0200, Willem de Bruijn wrote: > On Tue, Jul 16, 2019 at 4:56 PM Qian Cai wrote: > > Fix them by using the proper types, and also fix some checkpatch > > warnings by using pr_info(). > > > > WARNING: printk() should include KERN_ facility level > > +

Re: [RFC PATCH 2/3] sched: change scheduler to give preference to soft affinity CPUs

2019-07-16 Thread Subhra Mazumdar
On 7/2/19 10:58 PM, Peter Zijlstra wrote: On Wed, Jun 26, 2019 at 03:47:17PM -0700, subhra mazumdar wrote: The soft affinity CPUs present in the cpumask cpus_preferred is used by the scheduler in two levels of search. First is in determining wake affine which choses the LLC domain and

Re: [PATCH v3] virtio_pmem: fix sparse warning

2019-07-16 Thread Dan Williams
On Fri, Jul 12, 2019 at 7:11 AM Michael S. Tsirkin wrote: > > On Fri, Jul 12, 2019 at 10:46:10AM +0530, Pankaj Gupta wrote: > > This patch fixes below sparse warning related to __virtio > > type in virtio pmem driver. This is reported by Intel test > > bot on linux-next tree. > > > >

[PATCH] KVM: x86/vPMU: reset pmc->counter to 0 for pmu fixed_counters

2019-07-16 Thread Like Xu
To avoid semantic inconsistency, the fixed_counters in Intel vPMU need to be reset to 0 in intel_pmu_reset() as gp_counters does. Signed-off-by: Like Xu --- arch/x86/kvm/vmx/pmu_intel.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/vmx/pmu_intel.c

Re: [PATCH] opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()

2019-07-16 Thread Viresh Kumar
On 16-07-19, 12:43, Niklas Cassel wrote: > On Mon, Jul 08, 2019 at 11:30:11AM +0530, Viresh Kumar wrote: > > The cpufreq drivers don't need to do runtime PM operations on the > > virtual devices returned by dev_pm_domain_attach_by_name() and so the > > virtual devices weren't shared with the

Re: [kbuild:kbuild 5/19] drivers/atm/eni.o: warning: objtool: eni_init_one()+0xe42: indirect call found in RETPOLINE build

2019-07-16 Thread Masahiro Yamada
On Wed, Jul 17, 2019 at 1:20 AM Josh Poimboeuf wrote: > > On Tue, Jul 16, 2019 at 07:42:49AM -0500, Seth Forshee wrote: > > On Tue, Jul 16, 2019 at 03:57:24PM +0900, Masahiro Yamada wrote: > > > (+ Josh Poimboeuf) > > > > > > On Tue, Jul 16, 2019 at 8:44 AM kbuild test robot wrote: > > > > > > >

Re: [PATCH -next] scsi: lpfc: Remove unnecessary null check before kfree

2019-07-16 Thread Martin K. Petersen
YueHaibing, > A null check before a kfree is redundant, so remove it. > This is detected by coccinelle. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v1] scsi: ufs: change msleep to usleep_range

2019-07-16 Thread Martin K. Petersen
Bean, > This patch is to change msleep() to usleep_range() based on > Documentation/timers/timers-howto.txt. It suggests using > usleep_range() for small msec(1ms - 20ms) since msleep() will often > sleep longer than desired value. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen

[PATCH 2/2] mmc: sdhci: sdhci-pci-core: Add Genesis Logic GL975x support

2019-07-16 Thread Ben Chuang
Add support for the GL9750 and GL9755 chipsets. Signed-off-by: Ben Chuang Co-developed-by: Michael K Johnson Signed-off-by: Michael K Johnson --- drivers/mmc/host/sdhci-gli.h | 27 drivers/mmc/host/sdhci-pci-core.c | 220 ++ drivers/mmc/host/sdhci-pci.h

[PATCH 1/2] mmc: sdhci: Add PLL Enable support to internal clock setup

2019-07-16 Thread Ben Chuang
The GL9750 and GL9755 chipsets, and possibly others, require PLL Enable setup as part of the internal clock setup as described in 3.2.1 Internal Clock Setup Sequence of SD Host Controller Simplified Specification Version 4.20. This changes the timeouts to the new specification of 150ms for each

Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Sowjanya Komatineni
On 7/16/19 7:18 PM, Sowjanya Komatineni wrote: On 7/16/19 3:06 PM, Sowjanya Komatineni wrote: On 7/16/19 3:00 PM, Dmitry Osipenko wrote: 17.07.2019 0:35, Sowjanya Komatineni пишет: On 7/16/19 2:21 PM, Dmitry Osipenko wrote: 17.07.2019 0:12, Sowjanya Komatineni пишет: On 7/16/19 1:47 PM,

Re: [PATCH] scsi: libfc: fix null pointer dereference on a null lport

2019-07-16 Thread Martin K. Petersen
Colin, > Currently if lport is null then the null lport pointer is dereference > when printing out debug via the FC_LPORT_DB macro. Fix this by using > the more generic FC_LIBFC_DBG debug macro instead that does not use > lport. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen

[PATCH v4] mmc: host: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming

2019-07-16 Thread Baolin Wang
In sdhci_runtime_resume_host() function, we will always do software reset for all, which will cause Spreadtrum host controller work abnormally after resuming. Thus for Spreadtrum platform that will not power down the SD/eMMC card during runtime suspend, we should not do software reset for all. To

Re: [PATCH 2/2] mm,memory_hotplug: Fix shrink_{zone,node}_span

2019-07-16 Thread Dan Williams
On Mon, Jul 15, 2019 at 2:24 PM Oscar Salvador wrote: > > On Mon, 2019-07-15 at 21:41 +0530, Aneesh Kumar K.V wrote: > > Oscar Salvador writes: > > > > > Since [1], shrink_{zone,node}_span work on PAGES_PER_SUBSECTION > > > granularity. > > > The problem is that deactivation of the section

Re: [PATCH V5 11/18] clk: tegra210: Add support for Tegra210 clocks

2019-07-16 Thread Sowjanya Komatineni
On 7/16/19 3:06 PM, Sowjanya Komatineni wrote: On 7/16/19 3:00 PM, Dmitry Osipenko wrote: 17.07.2019 0:35, Sowjanya Komatineni пишет: On 7/16/19 2:21 PM, Dmitry Osipenko wrote: 17.07.2019 0:12, Sowjanya Komatineni пишет: On 7/16/19 1:47 PM, Dmitry Osipenko wrote: 16.07.2019 22:26,

Re: [PATCH v3 3/5] locking/qspinlock: Introduce CNA into the slow path of qspinlock

2019-07-16 Thread Waiman Long
On 7/15/19 3:25 PM, Alex Kogan wrote: > +/* > + * Implement a NUMA-aware version of MCS (aka CNA, or compact NUMA-aware > lock). > + * > + * In CNA, spinning threads are organized in two queues, a main queue for > + * threads running on the same node as the current lock holder, and a > + *

Re: [PATCH v5] net: netfilter: Fix rpfilter dropping vrf packets by mistake

2019-07-16 Thread linmiaohe
> On Tue, Jul 17, 2019 at 19:17:36PM +, Pablo wrote: > > On Tue, Jul 02, 2019 at 03:59:36AM +, Miaohe Lin wrote: > > When firewalld is enabled with ipv4/ipv6 rpfilter, vrf > > ipv4/ipv6 packets will be dropped. Vrf device will pass through > > netfilter hook twice. One with enslaved

Re: [PATCH v7 4/5] x86/paravirt: Remove const mark from x86_hyper_xen_hvm variable

2019-07-16 Thread Zhenzhong Duan
On 2019/7/16 18:57, Juergen Gross wrote: On 11.07.19 14:02, Zhenzhong Duan wrote: .. as "nopv" support needs it to be changeable at boot up stage. Checkpatch report warning, so move variable declarations from hypervisor.c to hypervisor.h Signed-off-by: Zhenzhong Duan Cc: Boris Ostrovsky

[PATCH] gve: replace kfree with kvfree

2019-07-16 Thread Chuhong Yuan
Variables allocated by kvzalloc should not be freed by kfree. Because they may be allocated by vmalloc. So we replace kfree with kvfree here. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/google/gve/gve_main.c | 22 +++--- drivers/net/ethernet/google/gve/gve_rx.c | 4

Re: [GIT PULL] Btrfs updates for 5.3

2019-07-16 Thread pr-tracker-bot
The pull request you sent on Mon, 15 Jul 2019 10:57:01 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.3-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a18f8775419d3df282dd83efdb51c5a64d092f31 Thank you! -- Deet-doot-dot, I am a

Re: [PATCH v7 2/3] KVM: vmx: Emulate MSR IA32_UMWAIT_CONTROL

2019-07-16 Thread Tao Xu
On 7/17/2019 9:17 AM, Tao Xu wrote: On 7/17/2019 12:03 AM, Eduardo Habkost wrote: On Fri, Jul 12, 2019 at 04:29:06PM +0800, Tao Xu wrote: UMWAIT and TPAUSE instructions use IA32_UMWAIT_CONTROL at MSR index E1H to determines the maximum time in TSC-quanta that the processor can reside in

Re: [PATCH 3/3] mm/hmm: Fix bad subpage pointer in try_to_unmap_one

2019-07-16 Thread John Hubbard
On 7/16/19 5:14 PM, Ralph Campbell wrote: > When migrating an anonymous private page to a ZONE_DEVICE private page, > the source page->mapping and page->index fields are copied to the > destination ZONE_DEVICE struct page and the page_mapcount() is increased. > This is so rmap_walk() can be used

Re: [PATCH v2 1/6] hwrng: core: Freeze khwrng thread during suspend

2019-07-16 Thread Herbert Xu
On Tue, Jul 16, 2019 at 03:45:13PM -0700, Stephen Boyd wrote: > The hwrng_fill() function can run while devices are suspending and > resuming. If the hwrng is behind a bus such as i2c or SPI and that bus > is suspended, the hwrng may hang the bus while attempting to add some > randomness. It's

Re: [PATCH 2/3] mm/hmm: fix ZONE_DEVICE anon page mapping reuse

2019-07-16 Thread John Hubbard
On 7/16/19 5:14 PM, Ralph Campbell wrote: > When a ZONE_DEVICE private page is freed, the page->mapping field can be > set. If this page is reused as an anonymous page, the previous value can > prevent the page from being inserted into the CPU's anon rmap table. > For example, when migrating a

RE: [EXT] [PATCH v1] net: fec: optionally reset PHY via a reset-controller

2019-07-16 Thread Andy Duan
From: Sven Van Asbroeck Sent: Tuesday, July 16, 2019 9:19 PM > Hi Andy, > > On Mon, Jul 15, 2019 at 10:02 PM Andy Duan > wrote: > > > > the phylib already can handle mii bus reset and phy device reset > > That's a great suggestion, thank you !! I completely overlooked that code. > What will

Re: [PATCH RFC 0/4] Add support to directly attach BPF program to ftrace

2019-07-16 Thread Alexei Starovoitov
On Tue, Jul 16, 2019 at 06:31:17PM -0400, Steven Rostedt wrote: > On Tue, 16 Jul 2019 17:30:50 -0400 > Joel Fernandes wrote: > > > I don't see why a new bpf node for a trace event is a bad idea, really. > > tracefs is how we deal with trace events on Android. We do it in production > > systems.

Re: [PATCH RFC 0/4] Add support to directly attach BPF program to ftrace

2019-07-16 Thread Alexei Starovoitov
On Tue, Jul 16, 2019 at 07:55:00PM -0400, Joel Fernandes wrote: > On Tue, Jul 16, 2019 at 06:41:50PM -0400, Joel Fernandes wrote: > > On Tue, Jul 16, 2019 at 03:26:52PM -0700, Alexei Starovoitov wrote: > > > On Tue, Jul 16, 2019 at 05:30:50PM -0400, Joel Fernandes wrote: > > > > > > > > I also

Re: [PATCH 1/3] mm: document zone device struct page reserved fields

2019-07-16 Thread John Hubbard
On 7/16/19 5:14 PM, Ralph Campbell wrote: > Struct page for ZONE_DEVICE private pages uses the reserved fields when > anonymous pages are migrated to device private memory. This is so > the page->mapping and page->index fields are preserved and the page can > be migrated back to system memory. >

Re: [PATCH v7 2/3] KVM: vmx: Emulate MSR IA32_UMWAIT_CONTROL

2019-07-16 Thread Tao Xu
On 7/17/2019 12:03 AM, Eduardo Habkost wrote: On Fri, Jul 12, 2019 at 04:29:06PM +0800, Tao Xu wrote: UMWAIT and TPAUSE instructions use IA32_UMWAIT_CONTROL at MSR index E1H to determines the maximum time in TSC-quanta that the processor can reside in either C0.1 or C0.2. This patch emulates

Re: [PATCH v3 0/6] Tracing vs CR2

2019-07-16 Thread Andy Lutomirski
On Tue, Jul 16, 2019 at 2:53 PM Vegard Nossum wrote: > > > On 7/16/19 9:33 PM, Vegard Nossum wrote: > > > > On 7/11/19 1:40 PM, Peter Zijlstra wrote: > >> Hi, > >> > >> Here's the latest (and hopefully final) set of tracing vs CR2 patches. > >> > >> They are basically the same as v2, with only

Re: [RFC PATCH 00/11] tracing: of: Boot time tracing using devicetree

2019-07-16 Thread Masami Hiramatsu
Hi Frank, On Mon, 15 Jul 2019 06:55:40 -0700 Frank Rowand wrote: > > Hmm, it's a kind of communication with the operator of the boot loader, > > since there > > is an admin or developer behind it. I think the comminication is to > > communicate > > with that human. Then if they intend to

Re: [PATCH v10 6/9] kselftests: cgroup: add freezer controller self-tests

2019-07-16 Thread Roman Gushchin
On Tue, Jul 16, 2019 at 08:18:39PM +0530, Naresh Kamboju wrote: > Hi Roman, > > Just want to share information here on what we notice on running this test > case, Hi Naresh! Thank you for the report! The interaction between ptrace and freezer is complicated (as ptrace in general),so there are

Re: [PATCH] ocfs2: remove set but not used variable 'last_hash'

2019-07-16 Thread Joseph Qi
On 19/7/16 21:21, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > fs/ocfs2/xattr.c: In function ocfs2_xattr_bucket_find: > fs/ocfs2/xattr.c:3828:6: warning: variable last_hash set but not used > [-Wunused-but-set-variable] > > It's never used and can be removed. > >

[PATCH v2 3/3] nvme-pci: Add support for Apple 2018+ models

2019-07-16 Thread Benjamin Herrenschmidt
Based on reverse engineering and original patch by Paul Pawlowski This adds support for Apple weird implementation of NVME in their 2018 or later machines. It accounts for the twice-as-big SQ entries for the IO queues, and the fact that only interrupt vector 0 appears to function properly.

[PATCH v2 1/3] nvme-pci: Pass the queue to SQ_SIZE/CQ_SIZE macros

2019-07-16 Thread Benjamin Herrenschmidt
This will make it easier to handle variable queue entry sizes later. No functional change. Signed-off-by: Benjamin Herrenschmidt Reviewed-by: Christoph Hellwig --- drivers/nvme/host/pci.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git

[PATCH v2 2/3] nvme-pci: Add support for variable IO SQ element size

2019-07-16 Thread Benjamin Herrenschmidt
The size of a submission queue element should always be 6 (64 bytes) by spec. However some controllers such as Apple's are not properly implementing the standard and require a different size. This provides the ground work for the subsequent quirks for these controllers. Signed-off-by: Benjamin

Re: [PATCH v7 0/2] KVM: LAPIC: Implement Exitless Timer

2019-07-16 Thread Wanpeng Li
On Thu, 11 Jul 2019 at 22:05, Paolo Bonzini wrote: > > On 11/07/19 15:50, Wanpeng Li wrote: > > kindly ping, > > Sorry, I need more time to review this. It's basically the only > remaining item for the 5.3 merge window, even though it won't be part of > the first pull request to Linus. Thank

mmotm 2019-07-16-17-14 uploaded

2019-07-16 Thread akpm
The mm-of-the-moment snapshot 2019-07-16-17-14 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH 3/3] mm/hmm: Fix bad subpage pointer in try_to_unmap_one

2019-07-16 Thread Ralph Campbell
When migrating an anonymous private page to a ZONE_DEVICE private page, the source page->mapping and page->index fields are copied to the destination ZONE_DEVICE struct page and the page_mapcount() is increased. This is so rmap_walk() can be used to unmap and migrate the page back to system

[PATCH 2/3] mm/hmm: fix ZONE_DEVICE anon page mapping reuse

2019-07-16 Thread Ralph Campbell
When a ZONE_DEVICE private page is freed, the page->mapping field can be set. If this page is reused as an anonymous page, the previous value can prevent the page from being inserted into the CPU's anon rmap table. For example, when migrating a pte_none() page to device memory: migrate_vma(ops,

[PATCH 1/3] mm: document zone device struct page reserved fields

2019-07-16 Thread Ralph Campbell
Struct page for ZONE_DEVICE private pages uses the reserved fields when anonymous pages are migrated to device private memory. This is so the page->mapping and page->index fields are preserved and the page can be migrated back to system memory. Document this in comments so it is more clear.

[PATCH 0/3] mm/hmm: fixes for device private page migration

2019-07-16 Thread Ralph Campbell
Testing the latest linux git tree turned up a few bugs with page migration to and from ZONE_DEVICE private and anonymous pages. Hopefully it clarifies how ZONE_DEVICE private struct page uses the same mapping and index fields from the source anonymous page mapping. Patch #3 was sent earlier and

Re: list corruption in deferred_split_scan()

2019-07-16 Thread Yang Shi
On 7/16/19 4:36 PM, Shakeel Butt wrote: Adding related people. The thread starts at: http://lkml.kernel.org/r/1562795006.8510.19.ca...@lca.pw On Mon, Jul 15, 2019 at 8:01 PM Yang Shi wrote: On 7/15/19 6:36 PM, Qian Cai wrote: On Jul 15, 2019, at 8:22 PM, Yang Shi wrote: On 7/15/19

Re: [PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem

2019-07-16 Thread Alistair Francis
On Thu, Jul 4, 2019 at 2:19 AM Arnd Bergmann wrote: > > On Thu, Jul 4, 2019 at 9:20 AM Andreas Schwab wrote: > > > > On Jul 03 2019, Alistair Francis wrote: > > > > > On Wed, Jul 3, 2019 at 12:08 AM Andreas Schwab wrote: > > >> > > >> On Jul 02 2019, Alistair Francis wrote: > > >> > > >> > In

Re: [patch 1/1] Kconfig: Introduce CONFIG_PREEMPT_RT

2019-07-16 Thread Gratian Crisan
Thomas Gleixner writes: > Add a new entry to the preemption menu which enables the real-time support > for the kernel. The choice is only enabled when an architecture supports > it. > > It selects PREEMPT as the RT features depend on it. To achieve that the > existing PREEMPT choice is renamed

general protection fault in tls_setsockopt

2019-07-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a131c2bf Merge tag 'acpi-5.3-rc1-2' of git://git.kernel.or.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1603e9c060 kernel config: https://syzkaller.appspot.com/x/.config?x=8bff73c5ba9e876

Re: [PATCH RFC 0/4] Add support to directly attach BPF program to ftrace

2019-07-16 Thread Joel Fernandes
On Tue, Jul 16, 2019 at 06:41:50PM -0400, Joel Fernandes wrote: > On Tue, Jul 16, 2019 at 03:26:52PM -0700, Alexei Starovoitov wrote: > > On Tue, Jul 16, 2019 at 05:30:50PM -0400, Joel Fernandes wrote: > > > > > > I also thought about the pinning idea before, but we also want to add > > >

Re: [PATCH v3 2/4] of/platform: Add functional dependency link from DT bindings

2019-07-16 Thread Saravana Kannan
Resending again due to HTML. Sorry about it, the darn thing keeps getting turned on for some reason! On Tue, Jul 16, 2019 at 3:57 PM Rob Herring wrote: > > On Mon, Jul 15, 2019 at 7:05 PM Frank Rowand wrote: > > > > On 7/15/19 11:40 AM, Saravana Kannan wrote: > > > Replying again because the

Dear Friend,

2019-07-16 Thread Salif Mohammed
Dear Friend, I am delighted to get across to you for a confidential private business “ investment proposal” worth of US$ 22 Million in which your partnership and trust is highly required. For more details and the procedure, kindly provide me with your following information: 1) Your Full name

Re: [PATCH] arm64: dts: sdm845: Add iommus property to qup1

2019-07-16 Thread Stephen Boyd
Quoting Vivek Gautam (2019-06-12 02:26:20) > > > On 6/11/2019 4:51 AM, Stephen Boyd wrote: > > hardware signal like the NS bit and/or the Execution Level. Hopefully > > it's a config and then our difference from MTP can be minimized. > > I don't think SMMU limits any such programming of SIDs.

Re: [PATCH v2] kbuild: Fail if gold linker is detected

2019-07-16 Thread Theodore Y. Ts'o
On Wed, Jul 17, 2019 at 12:25:14AM +0200, Thomas Gleixner wrote: > > It's been my default system linker for years and I've had very few issues > > with it and it's a big improvement when linking with LTO > > I understand, but the fact that you need to turn off config options in > order to build a

linux-next: manual merge of the xfs tree with Linus' tree

2019-07-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xfs tree got a conflict in: Documentation/admin-guide/index.rst between commit: 66f2a122c68d ("docs: Move binderfs to admin-guide") from Linus' tree and commit: 89b408a68b9d ("Documentation: filesystem: Convert xfs.txt to ReST") from the xfs

Re: list corruption in deferred_split_scan()

2019-07-16 Thread Shakeel Butt
Adding related people. The thread starts at: http://lkml.kernel.org/r/1562795006.8510.19.ca...@lca.pw On Mon, Jul 15, 2019 at 8:01 PM Yang Shi wrote: > > > > On 7/15/19 6:36 PM, Qian Cai wrote: > > > >> On Jul 15, 2019, at 8:22 PM, Yang Shi wrote: > >> > >> > >> > >> On 7/15/19 2:23 PM, Qian

Re: [PATCH 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-07-16 Thread Suman Anna
Hi David, On 7/10/19 10:10 PM, David Lechner wrote: > On 7/7/19 10:52 PM, Suman Anna wrote: >> The PRUSS INTC receives a number of system input interrupt source events >> and supports individual control configuration and hardware >> prioritization. >> These input events can be mapped to some

Re: linux-next: build failure after merge of the rdma tree

2019-07-16 Thread Stephen Rothwell
Hi, On Wed, 10 Jul 2019 14:30:36 +1000 Stephen Rothwell wrote: > > On Wed, 10 Jul 2019 11:04:43 +1000 Stephen Rothwell > wrote: > > > > On Tue, 9 Jul 2019 12:46:34 + Jason Gunthorpe > > wrote: > > > > > > It isn't quite enough to make the header compile stand alone, I'm > > > adding

Re: [PATCH V35 27/29] tracefs: Restrict tracefs when the kernel is locked down

2019-07-16 Thread Matthew Garrett
On Tue, Jul 16, 2019 at 4:14 PM Steven Rostedt wrote: > Small nit, but please add this as the first declaration, to keep the > "upside-down x-mas tree" look. I know some of the other functions in > this file don't follow that (which should be cleaned up some day), but > I'd like to avoid adding

Re: [PATCH v1 3/3] clk: qcom: rcg: update the DFS macro for RCG

2019-07-16 Thread Stephen Boyd
Quoting Taniya Das (2019-07-15 21:22:02) > Hello Stephen, > > Thanks for the review. > > On 7/16/2019 4:14 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2019-05-12 20:44:46) > >> On 5/10/2019 11:24 PM, Stephen Boyd wrote: > >>> Why is the clk name changing to not have a _src after the "root"

Re: [PATCH v1 2/3] clk: qcom: rcg2: Add support for hardware control mode

2019-07-16 Thread Stephen Boyd
Quoting Taniya Das (2019-07-15 21:19:02) > Hello Stephen, > > Thanks for your review. > > On 7/16/2019 4:22 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2019-05-08 11:24:54) > >> diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c > >> index 57dbac9..5bb6d45 100644 > >> ---

Re: [PATCH] of/fdt: Make sure no-map does not remove already reserved regions

2019-07-16 Thread Florian Fainelli
On 7/16/19 4:12 PM, Rob Herring wrote: > On Tue, Jul 16, 2019 at 4:46 PM Florian Fainelli wrote: >> >> On 7/2/19 10:08 PM, Nicolas Boichat wrote: >>> If the device tree is incorrectly configured, and attempts to >>> define a "no-map" reserved memory that overlaps with the kernel >>> data/code,

Re: [PATCH 00/22] x86, objtool: several fixes/improvements

2019-07-16 Thread Josh Poimboeuf
On Mon, Jul 15, 2019 at 02:45:39PM -0700, Nick Desaulniers wrote: > For a defconfig, that's the only issue I see. > (Note that I just landed https://reviews.llvm.org/rL366130 for fixing > up bugs from loop unrolling loops containing asm goto with Clang, so > anyone else testing w/ clang will see

Re: [PATCH V35 27/29] tracefs: Restrict tracefs when the kernel is locked down

2019-07-16 Thread Steven Rostedt
On Mon, 15 Jul 2019 12:59:44 -0700 Matthew Garrett wrote: > Tracefs may release more information about the kernel than desirable, so > restrict it when the kernel is locked down in confidentiality mode by > preventing open(). > > Signed-off-by: Matthew Garrett > Cc: Steven Rostedt > --- > >

Re: [PATCH] of/fdt: Make sure no-map does not remove already reserved regions

2019-07-16 Thread Rob Herring
On Tue, Jul 16, 2019 at 4:46 PM Florian Fainelli wrote: > > On 7/2/19 10:08 PM, Nicolas Boichat wrote: > > If the device tree is incorrectly configured, and attempts to > > define a "no-map" reserved memory that overlaps with the kernel > > data/code, the kernel would crash quickly after boot,

Re: [PATCH v3 0/5] Add NUMA-awareness to qspinlock

2019-07-16 Thread Nicholas Piggin
Alex Kogan's on July 17, 2019 12:45 am: > >> On Jul 16, 2019, at 7:47 AM, Nicholas Piggin wrote: >> >> Alex Kogan's on July 16, 2019 5:25 am: >>> Our evaluation shows that CNA also improves performance of user >>> applications that have hot pthread mutexes. Those mutexes are >>> blocking, and

Re: objtool crashes on clang output (drivers/hwmon/pmbus/adm1275.o)

2019-07-16 Thread Josh Poimboeuf
On Wed, Jul 17, 2019 at 12:05:14AM +0200, Arnd Bergmann wrote: > On Tue, Jul 16, 2019 at 10:24 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > On Fri, Jul 12, 2019 at 1:41 PM Arnd Bergmann wrote: > > > > > > On Fri, Jul 12, 2019 at 6:59 PM 'Nick Desaulniers' via Clang Built > > >

  1   2   3   4   5   6   7   >