Re: [PATCH 2/5] fscrypt: Export fscrypt_d_revalidate

2020-09-22 Thread Eric Biggers
On Wed, Sep 23, 2020 at 01:01:48AM +, Daniel Rosenberg wrote: > This is in preparation for shifting the responsibility of setting the > dentry_operations to the filesystem, allowing it to maintain its own > operations. > > Signed-off-by: Daniel Rosenberg > --- > fs/crypto/fname.c | 3

Re: [PATCH] nvme: fix use-after-free during booting

2020-09-22 Thread Christoph Hellwig
I suspect the patch below might be better. Can you send me a full dmesg with this one applied? Preferably on top of Jens' for-next branch? diff --git a/block/genhd.c b/block/genhd.c index 9d060e79eb31d8..ef2784c69d59ee 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -832,7 +832,9 @@ static

Re: [PATCH v2 0/9] Update to zstd-1.4.6

2020-09-22 Thread Christoph Hellwig
FYI, as mentioned last time: clear NAK for letting these bad APIs slip into the overall kernel code. Please provide proper kernel style wrappers to avoid these kinds of updates and in the future just change APIs on an as-needed basis.

Re: [PATCH 1/5] ext4: Use generic casefolding support

2020-09-22 Thread Eric Biggers
On Wed, Sep 23, 2020 at 01:01:47AM +, Daniel Rosenberg wrote: > This switches ext4 over to the generic support provided in > the previous patch. > > Since casefolded dentries behave the same in ext4 and f2fs, we decrease > the maintenance burden by unifying them, and any optimizations will >

RE: [PATCH V2 2/2] ata: ahci: ceva: Update the driver to support xilinx GT phy

2020-09-22 Thread Piyush Mehta
Hello Philipp, Thanks for review. Regards, Piyush Mehta -Original Message- From: Philipp Zabel Sent: Tuesday, September 22, 2020 5:36 PM To: Piyush Mehta ; ax...@kernel.dk; robh...@kernel.org Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; git

Re: [PATCH 1/2] perf stat: Fix segfault when counting armv8_pmu events

2020-09-22 Thread Jiri Olsa
On Tue, Sep 22, 2020 at 11:13:45AM +0800, Wei Li wrote: > When executing perf stat with armv8_pmu events with a workload, it will > report a segfault as result. please share the perf stat command line you see that segfault for thanks, jirka > > (gdb) bt > #0 0x00603fc8 in

Re: [PATCH 1/2] staging: vchiq: fix __user annotations

2020-09-22 Thread Greg Kroah-Hartman
On Tue, Sep 22, 2020 at 10:21:43PM +0200, Arnd Bergmann wrote: > My earlier patches caused some new sparse warnings, but it turns out > that a number of those are actual bugs, or at least suspicous code. > > Adding __user annotations to the data structures that are defined in > uapi headers helps

Re: [PATCH v3 0/6] Convert the intel iommu driver to the dma-iommu api

2020-09-22 Thread Lu Baolu
On 9/22/20 7:05 PM, Robin Murphy wrote: With the previous version of the series I hit a problem on Ivybridge where apparently the dma engine width is not respected. At least that is my layman interpretation of the errors. From the older thread: <3> [209.526605] DMAR: intel_iommu_map: iommu

Re: [RFC -V2] autonuma: Migrate on fault among multiple bound nodes

2020-09-22 Thread Huang, Ying
Phil Auld writes: > Hi, > > On Tue, Sep 22, 2020 at 02:54:01PM +0800 Huang Ying wrote: >> Now, AutoNUMA can only optimize the page placement among the NUMA nodes if >> the >> default memory policy is used. Because the memory policy specified >> explicitly >> should take precedence. But this

[PATCH v2 1/2] arm64/mm: Introduce zero PGD table

2020-09-22 Thread Gavin Shan
The zero PGD table is used when TTBR_EL1 is changed. It's exactly the zero page. As the zero page(s) will be allocated dynamically when colored zero page feature is enabled in subsequent patch. the zero page(s) aren't usable during early boot stage. This introduces zero PGD table, which is

[PATCH v2 2/2] arm64/mm: Enable color zero pages

2020-09-22 Thread Gavin Shan
This enables color zero pages by allocating contiguous page frames for it. The number of pages for this is determined by L1 dCache (or iCache) size, which is probbed from the hardware. * Export cache_setup_of_node() so that the cache topology could be parsed from device-tree. * Add

[PATCH v2 0/2] arm64/mm: Enable color zero pages

2020-09-22 Thread Gavin Shan
The feature of color zero pages isn't enabled on arm64, meaning all read-only (anonymous) VM areas are backed up by same zero page. It leads pressure to L1 (data) cache on reading data from them. This tries to enable color zero pages. PATCH[1/2] decouples the zero PGD table from zero page

Re: [PATCH 4/7] dmaengine: at_xdmac: adapt perid for mem2mem operations

2020-09-22 Thread Tudor.Ambarus
On 9/23/20 8:30 AM, Tudor Ambarus - M18064 wrote: > On 9/14/20 5:09 PM, Eugen Hristev wrote: >> The PERID in the CC register for mem2mem operations must match an unused >> PERID. >> The PERID field is 7 bits, but the selected value is 0x3f. >> On later products we can have more reserved PERIDs for

Re: [PATCH v5 2/2] PHY: Ingenic: Add USB PHY driver using generic PHY framework.

2020-09-22 Thread Vinod Koul
On 22-09-20, 00:24, 周琰杰 (Zhou Yanjie) wrote: > +#define USBPCR_IDPULLUP_LSB 28 > +#define USBPCR_IDPULLUP_MASK GENMASK(29, USBPCR_IDPULLUP_LSB) > +#define USBPCR_IDPULLUP_ALWAYS (0x2 << USBPCR_IDPULLUP_LSB) > +#define USBPCR_IDPULLUP_SUSPEND (0x1 <<

Re: [PATCH 0/4] bootconfig: Fix a parser bug

2020-09-22 Thread Masami Hiramatsu
Hi Steve, Thank you for merging previous 3 serieses! Could you also pick this series as urgent-fix branch? Thank you, On Mon, 21 Sep 2020 18:44:33 +0900 Masami Hiramatsu wrote: > Hi, > > Here are patches to fix 2 bugs in the parser. One issue happens > when a key has a siblings and the key

Re: [PATCH 4/7] dmaengine: at_xdmac: adapt perid for mem2mem operations

2020-09-22 Thread Tudor.Ambarus
On 9/14/20 5:09 PM, Eugen Hristev wrote: > The PERID in the CC register for mem2mem operations must match an unused > PERID. > The PERID field is 7 bits, but the selected value is 0x3f. > On later products we can have more reserved PERIDs for actual peripherals, > thus this needs to be increased

Re: [PATCH] [v2] nvme: replace meaningless judgement by checking whether req is null

2020-09-22 Thread Christoph Hellwig
On Tue, Sep 22, 2020 at 03:47:40PM +, Tianxianting wrote: > Finally, it applied:) > Thanks again for all your kindly guides to me. Thanks a lot for the patch!

Re: [PATCH v2 1/2] dt-bindings: phy: cdns,torrent-phy: add reset-names

2020-09-22 Thread Vinod Koul
On 18-09-20, 11:37, Tomi Valkeinen wrote: > Add reset-names as a required property. > > There are no dts files using torrent phy yet, so it is safe to add a new > required property. Applied both, thanks -- ~Vinod

[PATCH] dt-bindings: Add LM81 and DS1780 as trivial devices

2020-09-22 Thread Chris Packham
The LM81 and DS1780 are close relatives of the ADM9240 and already supported by the same driver. Document them as trivial devices. Signed-off-by: Chris Packham --- I wasn't sure if I should put the LM81 under "national" or "ti". In the end I went with "national" because of all the other existing

Re: [PATCH 1/7] dmaengine: at_xdmac: separate register defines into header file

2020-09-22 Thread Tudor.Ambarus
Hi, Eugen, On 9/14/20 5:09 PM, Eugen Hristev wrote: > Separate register defines into header file. > This is required to support a slightly different version of the register > map in new hardware versions of the XDMAC. > > Signed-off-by: Eugen Hristev > --- > drivers/dma/at_xdmac.c | 143

Re: [PATCH] mm: swapfile: avoid split_swap_cluster() NULL pointer dereference

2020-09-22 Thread Huang, Ying
Rafael Aquini writes: > On Wed, Sep 23, 2020 at 10:21:36AM +0800, Huang, Ying wrote: >> Hi, Rafael, >> >> Rafael Aquini writes: >> >> > The swap area descriptor only gets struct swap_cluster_info *cluster_info >> > allocated if the swapfile is backed by non-rotational storage. >> > When the

Re: [PATCH 2/7] MAINTAINERS: add dma/at_xdmac_regs.h to XDMAC driver entry

2020-09-22 Thread Tudor.Ambarus
On 9/14/20 5:09 PM, Eugen Hristev wrote: > Add new header file for the at_xdmac regs definition to the proper > MAINTAINERS entry. > > Signed-off-by: Eugen Hristev > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index

linux-next: manual merge of the tip tree with the amdgpu tree

2020-09-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/gpu/drm/amd/amdkfd/kfd_priv.h between commit: 59d7115dae02 ("drm/amdkfd: Move process doorbell allocation into kfd device") from the amdgpu tree and commit: c7b6bac9c72c ("drm, iommu: Change type of pasid to

Re: [PATCH 3/3] perf list: Add 'pfm' to list libpfm4 events

2020-09-22 Thread Jiri Olsa
On Wed, Sep 23, 2020 at 07:42:41AM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Wed, Sep 23, 2020 at 5:42 AM Jiri Olsa wrote: > > > > On Wed, Sep 09, 2020 at 02:58:49PM +0900, Namhyung Kim wrote: > > > > SNIP > > > > > int parse_events__is_hardcoded_term(struct parse_events_term *term) > > >

Re: [RFC PATCH 07/11] drivers/android/binder: convert stats, transaction_log to counter_atomic

2020-09-22 Thread Greg KH
On Tue, Sep 22, 2020 at 07:43:36PM -0600, Shuah Khan wrote: > counter_atomic is introduced to be used when a variable is used as > a simple counter and doesn't guard object lifetimes. This clearly > differentiates atomic_t usages that guard object lifetimes. > > counter_atomic variables will wrap

Re: [PATCH] nvme: fix use-after-free during booting

2020-09-22 Thread Christoph Hellwig
On Tue, Sep 22, 2020 at 04:34:45PM -0400, Tong Zhang wrote: > Hi Christoph, > I modified the patch a bit and now it works. So you're still hitting the WARN_ON_ONCE? I think we need to fix that as well, but all the ideas I have will turn into a bigger project, so I think I'll submit this one to

Re: [PATCH 1/2] KVM: Fix the build error

2020-09-22 Thread Haiwei Li
On 20/9/20 21:09, Paolo Bonzini wrote: On 14/09/20 11:11, lihaiwei.ker...@gmail.com wrote: From: Haiwei Li When CONFIG_SMP is not set, an build error occurs with message "error: use of undeclared identifier 'kvm_send_ipi_mask_allbutself'" Fixes: 0f990222108d ("KVM: Check the allocation of pv

Re: [PATCH v2 5/9] iomap: Support arbitrarily many blocks per page

2020-09-22 Thread Darrick J. Wong
On Wed, Sep 23, 2020 at 03:48:59AM +0100, Matthew Wilcox wrote: > On Tue, Sep 22, 2020 at 09:06:03PM -0400, Qian Cai wrote: > > On Tue, 2020-09-22 at 18:05 +0100, Matthew Wilcox wrote: > > > On Tue, Sep 22, 2020 at 12:23:45PM -0400, Qian Cai wrote: > > > > On Fri, 2020-09-11 at 00:47 +0100,

Lieber Freund (Assalamu Alaikum),?

2020-09-22 Thread Aisha Gaddafi
-- Lieber Freund (Assalamu Alaikum), Ich bin vor einer privaten Suche auf Ihren E-Mail-Kontakt gestoßen Ihre Hilfe. Mein Name ist Aisha Al-Qaddafi, eine alleinerziehende Mutter und eine Witwe mit drei Kindern. Ich bin die einzige leibliche Tochter des Spätlibyschen Präsident (verstorbener Oberst

Re: [PATCH] csky: Fix a size determination in gpr_get()

2020-09-22 Thread Al Viro
On Wed, Sep 23, 2020 at 10:37:31AM +0800, Guo Ren wrote: > > What's going on there? The mapping is really weird - assuming > > you had v0..v31 in the first 32 elements of regs->vr[], you > > end up with > > > > v0 v1 v2 v3 v2 v3 v6 v7 v4 v5 v10 v11 v6 v7 v14 v15 > > v8 v9 v18 v19 v10 v11 v22 v23

Re: [PATCH V3 2/3] arm64/mm/hotplug: Enable MEM_OFFLINE event handling

2020-09-22 Thread Anshuman Khandual
On 09/21/2020 05:35 PM, Anshuman Khandual wrote: > This enables MEM_OFFLINE memory event handling. It will help intercept any > possible error condition such as if boot memory some how still got offlined > even after an explicit notifier failure, potentially by a future change in > generic hot

Re: [PATCH v3 6/6] stm class: ftrace: use different channel accroding to CPU

2020-09-22 Thread Tingwei Zhang
On Fri, Sep 18, 2020 at 08:45:52PM +0800, Alexander Shishkin wrote: > Tingwei Zhang writes: > > > @@ -63,6 +65,7 @@ static int __init stm_ftrace_init(void) > > { > > int ret; > > > > + stm_ftrace.data.nr_chans = num_possible_cpus(); > > Not a problem with this patch necesarily, but

[tip:x86/cleanups] BUILD SUCCESS 900ffe39fec908e0aa26a30612e43ebc7140db79

2020-09-22 Thread kernel test robot
-20200921 i386 randconfig-a006-20200921 i386 randconfig-a003-20200921 i386 randconfig-a004-20200921 i386 randconfig-a005-20200921 i386 randconfig-a001-20200921 i386 randconfig-a002-20200922 i386

Re: [PATCH] mm: swapfile: avoid split_swap_cluster() NULL pointer dereference

2020-09-22 Thread Rafael Aquini
On Wed, Sep 23, 2020 at 10:21:36AM +0800, Huang, Ying wrote: > Hi, Rafael, > > Rafael Aquini writes: > > > The swap area descriptor only gets struct swap_cluster_info *cluster_info > > allocated if the swapfile is backed by non-rotational storage. > > When the swap area is laid on top of

linux-next: build failure after merge of the block tree

2020-09-22 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/io_uring.c: In function 'io_resubmit_prep': fs/io_uring.c:2357:10: error: 'struct io_kiocb' has no member named 'io' 2357 | if (!req->io) { | ^~ Caused by commit

IMPORTANT NOTICE !!! 46.28.37.15

2020-09-22 Thread DR. DONALD MOORE
Dear friend, How are you today? Hope all is well with you and your family? I hope This mail meets you in a perfect condition. I am using this opportunity to thank you for your great effort to our unfinished transfer of fund into your account due to one reason or the other best known to you.

Re: WARNING in ex_handler_uaccess

2020-09-22 Thread Al Viro
On Mon, Sep 21, 2020 at 12:22:19PM +0200, Rasmus Villemoes wrote: > So, not sure how the above got triggered, but I notice there might be an > edge case in check_zeroed_user(): > > from -= align; > size += align; > > if (!user_read_access_begin(from, size)) >

Re: [PATCH net-next 4/5] bonding: make Kconfig toggle to disable legacy interfaces

2020-09-22 Thread kernel test robot
Hi Jarod, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Jarod-Wilson/bonding-rename-bond-components/20200922-214046 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

[RFC PATCH] bonding: linkdesc can be static

2020-09-22 Thread kernel test robot
Signed-off-by: kernel test robot --- bond_procfs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c index 91ece68607b23..9b1b37a682728 100644 --- a/drivers/net/bonding/bond_procfs.c +++

[PATCH v4] debugobjects: install CPU hotplug callback

2020-09-22 Thread qiang.zhang
From: Zqiang Due to CPU hotplug, it may never be online after it's offline, some objects in percpu pool is never free. in order to avoid this happening, install CPU hotplug callback, call this callback func to free objects in percpu pool when CPU going offline. Signed-off-by: Zqiang Acked-by:

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

2020-09-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: fs/io_uring.c between commits: 4eb8dded6b82 ("io_uring: fix openat/openat2 unified prep handling") f5cac8b156e8 ("io_uring: don't use retry based buffered reads for non-async bdev") from Linus' tree and commit:

Re: [PATCH 2/2] locktorture: call percpu_free_rwsem() to do percpu-rwsem cleanup

2020-09-22 Thread Paul E. McKenney
On Wed, Sep 23, 2020 at 10:24:20AM +0800, Hou Tao wrote: > Hi Paul, > > > On 2020/9/23 7:24, Paul E. McKenney wrote: > snip > > >> Fix it by adding an exit hook in lock_torture_ops and > >> use it to call percpu_free_rwsem() for percpu rwsem torture > >> before the module is removed, so we can

Re: [PATCH 2/5] fs,nfs: lift compat nfs4 mount data handling into the nfs code

2020-09-22 Thread Al Viro
On Mon, Sep 21, 2020 at 08:11:23PM +0200, Christoph Hellwig wrote: > On Mon, Sep 21, 2020 at 12:05:52PM -0400, Anna Schumaker wrote: > > This is for the binary mount stuff? That was already legacy code when > > I first started, and mount uses text options now. My preference is for > > keeping it

Re: [PATCH v3] x86/uaccess: Use pointer masking to limit uaccess speculation

2020-09-22 Thread Al Viro
On Mon, Sep 14, 2020 at 02:53:54PM -0500, Josh Poimboeuf wrote: > Al, > > This depends on Christoph's set_fs() removal patches. Would you be > willing to take this in your tree? in #uaccess.x86 and #for-next

RE: [PATCH RFC 0/5] Introduced new Cadence USBSSP DRD Driver.

2020-09-22 Thread Pawel Laszczak
> > >On 20-09-22 13:06:26, Pawel Laszczak wrote: >> Hi, >> >> > >> >On Mon, Jun 29, 2020 at 03:41:49AM +, Peter Chen wrote: >> >> On 20-06-26 07:19:56, Pawel Laszczak wrote: >> >> > Hi Felipe, >> >> > >> >> > > >> >> > >Hi, >> >> > > >> >> > >Pawel Laszczak writes: >> >> > >> This patch

linux-next: build warning after merge of the drm tree

2020-09-22 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c: In function 'cdns_mhdp_fw_activate': drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c:751:10: warning: conversion from 'long

Re: [PATCH] SUNRPC: Fix svc_flush_dcache()

2020-09-22 Thread He Zhe
On 9/22/20 10:14 PM, Chuck Lever wrote: > >> On Sep 22, 2020, at 3:13 AM, He Zhe wrote: >> >> >> >> On 9/21/20 3:51 AM, Chuck Lever wrote: >>> On platforms that implement flush_dcache_page(), a large NFS WRITE >>> triggers the WARN_ONCE in bvec_iter_advance(): >>> >>> Sep 20 14:01:05

[PATCH] MIPS: irq: Add missing prototypes for init_IRQ()

2020-09-22 Thread Pujin Shi
init_IRQ() have no prototype, add one in irq.h Fix the following warnings (treated as error in W=1): arch/mips/kernel/irq.c:52:13: error: no previous prototype for 'init_IRQ' [-Werror=missing-prototypes] Signed-off-by: Pujin Shi --- arch/mips/include/asm/irq.h | 1 + arch/mips/kernel/irq.c

[PATCH -next v2] ath9k: Remove set but not used variable

2020-09-22 Thread Li Heng
This addresses the following gcc warning with "make W=1": drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1331:18: warning: ‘ar9580_1p0_pcie_phy_clkreq_enable_L1’ defined but not used [-Wunused-const-variable=] drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1338:18: warning:

[PATCH net-next v2] net: microchip: Make `lan743x_pm_suspend` function return right value

2020-09-22 Thread Zheng Yongjun
drivers/net/ethernet/microchip/lan743x_main.c: In function lan743x_pm_suspend: `ret` is set but not used. In fact, `pci_prepare_to_sleep` function value should be the right value of `lan743x_pm_suspend` function, therefore, fix it. Signed-off-by: Zheng Yongjun ---

[PATCH net-next 1/2] net: dsa: untag the bridge pvid from rx skbs

2020-09-22 Thread Florian Fainelli
From: Vladimir Oltean Currently the bridge untags VLANs present in its VLAN groups in __allowed_ingress() only when VLAN filtering is enabled. But when a skb is seen on the RX path as tagged with the bridge's pvid, and that bridge has vlan_filtering=0, and there isn't any 8021q upper with that

[PATCH net-next 2/2] net: dsa: b53: Configure VLANs while not filtering

2020-09-22 Thread Florian Fainelli
Update the B53 driver to support VLANs while not filtering. This requires us to enable VLAN globally within the switch upon driver initial configuration (dev->vlan_enabled). We also need to remove the code that dealt with PVID re-configuration in b53_vlan_filtering() since that function worked

[PATCH net-next 0/2] net: dsa: b53: Configure VLANs while not filtering

2020-09-22 Thread Florian Fainelli
Hi David, Jakub, These two patches allow the b53 driver which always configures its CPU port as egress tagged to behave correctly with VLANs being always configured whenever a port is added to a bridge. Vladimir provides a patch that aligns the bridge with vlan_filtering=0 receive path to behave

Re: [PATCH v2 3/3] ARM: dts: Add i2c0 pinctrl information for 98dx3236

2020-09-22 Thread Chris Packham
Hi Jason, Andrew, Gregory, On 13/09/20 4:16 am, Linus Walleij wrote: > On Mon, Sep 7, 2020 at 11:17 PM Chris Packham > wrote: > >> Add pinctrl information for the 98dx3236 (and variants). There is only >> one choice for i2c0 MPP14 and MPP15. >> >> Signed-off-by: Chris Packham >> Reviewed-by:

Re: [mm/debug_vm_pgtable/locks] e2aad6f1d2: BUG:unable_to_handle_page_fault_for_address

2020-09-22 Thread Anshuman Khandual
On 09/22/2020 02:50 PM, Aneesh Kumar K.V wrote: > On 9/22/20 2:22 PM, Anshuman Khandual wrote: >> >> >> On 09/22/2020 09:33 AM, Aneesh Kumar K.V wrote: >>> On 9/21/20 2:51 PM, kernel test robot wrote: Greeting, FYI, we noticed the following commit (built with gcc-9):

Re: [PATCH RFC 0/5] Introduced new Cadence USBSSP DRD Driver.

2020-09-22 Thread Peter Chen
On 20-09-22 13:06:26, Pawel Laszczak wrote: > Hi, > > > > >On Mon, Jun 29, 2020 at 03:41:49AM +, Peter Chen wrote: > >> On 20-06-26 07:19:56, Pawel Laszczak wrote: > >> > Hi Felipe, > >> > > >> > > > >> > >Hi, > >> > > > >> > >Pawel Laszczak writes: > >> > >> This patch introduce new Cadence

Re: [PATCH v5 06/10] PCI/RCEC: Add pcie_link_rcec() to associate RCiEPs

2020-09-22 Thread Sean V Kelley
On Mon, Sep 21, 2020 at 4:26 AM Jonathan Cameron wrote: > > On Fri, 18 Sep 2020 13:45:59 -0700 > Sean V Kelley wrote: > > > A Root Complex Event Collector provides support for > > terminating error and PME messages from associated RCiEPs. > > > > Make use of the RCEC Endpoint Association

Re: [PATCH v5 07/10] PCI/RCEC: Add RCiEP's linked RCEC to AER/ERR

2020-09-22 Thread Sean V Kelley
On Mon, Sep 21, 2020 at 4:33 AM Jonathan Cameron wrote: > > On Fri, 18 Sep 2020 13:46:00 -0700 > Sean V Kelley wrote: > > > From: Qiuxu Zhuo > > > > When attempting error recovery for an RCiEP associated with an RCEC device, > > there needs to be a way to update the Root Error Status, the

Re: [PATCH v5 05/10] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-09-22 Thread Sean V Kelley
On Mon, Sep 21, 2020 at 4:15 AM Jonathan Cameron wrote: > > On Fri, 18 Sep 2020 13:45:58 -0700 > Sean V Kelley wrote: > > > From: Qiuxu Zhuo > > > > Attempt to do function level reset for an RCiEP associated with an > > RCEC device on fatal error. > > I'm not sure the description is correct.

Re: [PATCH v2 5/9] iomap: Support arbitrarily many blocks per page

2020-09-22 Thread Matthew Wilcox
On Tue, Sep 22, 2020 at 09:06:03PM -0400, Qian Cai wrote: > On Tue, 2020-09-22 at 18:05 +0100, Matthew Wilcox wrote: > > On Tue, Sep 22, 2020 at 12:23:45PM -0400, Qian Cai wrote: > > > On Fri, 2020-09-11 at 00:47 +0100, Matthew Wilcox (Oracle) wrote: > > > > Size the uptodate array dynamically to

Re: NVFS XFS metadata (was: [PATCH] pmem: export the symbols __copy_user_flushcache and __copy_from_user_flushcache)

2020-09-22 Thread Dave Chinner
On Tue, Sep 22, 2020 at 12:46:05PM -0400, Mikulas Patocka wrote: > Thanks for reviewing NVFS. Not a review - I've just had a cursory look and not looked any deeper after I'd noticed various red flags... > On Tue, 22 Sep 2020, Dave Chinner wrote: > > IOWs, extent based trees were chosen because

Re: [RFC PATCH v2] tools/x86: add kcpuid tool to show raw CPU features

2020-09-22 Thread Feng Tang
Hi Arvind, On Tue, Sep 22, 2020 at 06:15:23PM -0400, Arvind Sankar wrote: > On Tue, Sep 22, 2020 at 10:10:24PM +0200, Borislav Petkov wrote: > > + AMD folks. > > > > On Tue, Sep 22, 2020 at 01:27:50PM +0800, Feng Tang wrote: > > > End users frequently want to know what features their processor >

Re: [PATCH v6 04/12] KVM: SVM: Modify intercept_exceptions to generic intercepts

2020-09-22 Thread Paolo Bonzini
On 22/09/20 21:11, Babu Moger wrote: > > >> -Original Message- >> From: Paolo Bonzini >> Sent: Tuesday, September 22, 2020 8:39 AM >> To: Sean Christopherson >> Cc: Moger, Babu ; vkuzn...@redhat.com; >> jmatt...@google.com; wanpen...@tencent.com; k...@vger.kernel.org; >>

Re: [PATCH] Only allow to set crash_kexec_post_notifiers on boot time

2020-09-22 Thread Dave Young
+ more people who may care about this param On 09/21/20 at 08:45pm, Eric W. Biederman wrote: > Konrad Rzeszutek Wilk writes: > > > On Fri, Sep 18, 2020 at 05:47:43PM -0700, Andrew Morton wrote: > >> On Fri, 18 Sep 2020 11:25:46 +0800 Dave Young wrote: > >> > >> > crash_kexec_post_notifiers

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-22 Thread Chunxin Zang
On Wed, Sep 23, 2020 at 3:57 AM Shakeel Butt wrote: > > On Tue, Sep 22, 2020 at 5:37 AM Chunxin Zang > wrote: > > > > On Tue, Sep 22, 2020 at 6:42 PM Chris Down wrote: > > > > > > Chunxin Zang writes: > > > >On Tue, Sep 22, 2020 at 5:51 PM Chris Down wrote: > > > >> > > > >> Chunxin Zang

Re: [PATCH 10/10] rpmsg: ns: Make Name service module transport agnostic

2020-09-22 Thread kernel test robot
patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Mathieu-Poirier/rpmsg-Make-RPMSG-name-service-modular/20200922-081745 base:b10b8ad862118bf42c28a98b0f067619aadcfb23 config: i386-randconfig-s001-20200921

Re: [PATCH] csky: Fix a size determination in gpr_get()

2020-09-22 Thread Guo Ren
On Wed, Sep 23, 2020 at 8:23 AM Al Viro wrote: > > On Wed, Sep 23, 2020 at 08:03:20AM +0800, Guo Ren wrote: > > Thx Duan, > > > > Acked-by: Guo Ren > > > > Hi AI, > > > > I found the broken commit still has a question: > > > > > commit dcad7854fcce6a2d49b6a3ead5bbefeff047e559 > > > Author: Al

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-22 Thread Chunxin Zang
On Tue, Sep 22, 2020 at 8:43 PM Chris Down wrote: > > Chunxin Zang writes: > >Please forgive me for not being able to understand why setting > >memory.low for Type_A can solve the problem. > >In my scene, Type_A is the most important, so I will set 100G to memory.low. > >But 'memory.low' only

Re: [PATCH] Revert "iommu/amd: Treat per-device exclusion ranges as r/w unity-mapped regions"

2020-09-22 Thread Baoquan He
Forgot CC-ing Jerry, add him. On 09/23/20 at 10:26am, Baoquan He wrote: > A regression failure of kdump kernel boot was reported on a HPE system. > Bisect points at commit 387caf0b759ac43 ("iommu/amd: Treat per-device > exclusion ranges as r/w unity-mapped regions") as criminal. Reverting it >

Re: [PATCH 1/5] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2020-09-22 Thread Rob Herring
On Wed, Sep 16, 2020 at 04:18:27PM +0800, Ran Wang wrote: > From: Biwen Li > > The 'fsl,ippdexpcr1-alt-addr' property is used to handle an errata A-008646 > on LS1021A > > Signed-off-by: Biwen Li > Signed-off-by: Ran Wang > --- > Documentation/devicetree/bindings/soc/fsl/rcpm.txt | 19

[PATCH] Revert "iommu/amd: Treat per-device exclusion ranges as r/w unity-mapped regions"

2020-09-22 Thread Baoquan He
A regression failure of kdump kernel boot was reported on a HPE system. Bisect points at commit 387caf0b759ac43 ("iommu/amd: Treat per-device exclusion ranges as r/w unity-mapped regions") as criminal. Reverting it fix the failure. With the commit, kdump kernel will always print below error

Re: [PATCH] Only allow to set crash_kexec_post_notifiers on boot time

2020-09-22 Thread Dave Young
On 09/21/20 at 04:18pm, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 18, 2020 at 05:47:43PM -0700, Andrew Morton wrote: > > On Fri, 18 Sep 2020 11:25:46 +0800 Dave Young wrote: > > > > > crash_kexec_post_notifiers enables running various panic notifier > > > before kdump kernel booting. This

Re: [PATCH 2/2] locktorture: call percpu_free_rwsem() to do percpu-rwsem cleanup

2020-09-22 Thread Hou Tao
Hi Paul, > On 2020/9/23 7:24, Paul E. McKenney wrote: snip >> Fix it by adding an exit hook in lock_torture_ops and >> use it to call percpu_free_rwsem() for percpu rwsem torture >> before the module is removed, so we can ensure rcu_sync_func() >> completes before module exits. >> >> Also needs

Re: [PATCH] csky: Fix a size determination in gpr_get()

2020-09-22 Thread Zhenzhong Duan
On Wed, Sep 23, 2020 at 12:29 AM Al Viro wrote: > > On Tue, Sep 22, 2020 at 05:15:05PM +0800, Zhenzhong Duan wrote: > > "*" is missed in size determination as we are passing register set > > rather than a pointer. > > Ack. I can push it to Linus today, unless you want it to go through > csky

Re: [PATCH] mm: swapfile: avoid split_swap_cluster() NULL pointer dereference

2020-09-22 Thread Huang, Ying
Hi, Rafael, Rafael Aquini writes: > The swap area descriptor only gets struct swap_cluster_info *cluster_info > allocated if the swapfile is backed by non-rotational storage. > When the swap area is laid on top of ordinary disk spindles, lock_cluster() > will naturally return NULL. Thanks for

[PATCH v20 3/3] Input: new da7280 haptic driver

2020-09-22 Thread Roy Im
Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple mode and integrated waveform memory and wideband support. It communicates via an I2C bus to the device. Reviewed-by: Jes Sorensen . Signed-off-by: Roy Im --- v20: - Simplified the code with dev_err_probe().

[PATCH v20 1/3] MAINTAINERS: da7280 updates to the Dialog Semiconductor search terms

2020-09-22 Thread Roy Im
This patch adds the da7280 bindings doc and driver to the Dialog Semiconductor support list. Signed-off-by: Roy Im --- v20: No changes. v19: No changes. v18: No changes. v17: No changes. v16: No changes. v15: No changes. v14: No changes. v13: No changes. v12: Corrected file list order. v11: No

[PATCH v20 0/3] da7280: haptic driver submission

2020-09-22 Thread Roy Im
This patch adds support for the Dialog DA7280 Haptic driver IC. In this patch set the following is provided: [PATCH v20 1/3] MAINTAINERS file update for DA7280 [PATCH v20 2/3] DA7280 DT Binding [PATCH v20 3/3] DA7280 Driver This patch applies against linux-mainline and v5.9-rc6 Thank you, Roy

[PATCH v20 2/3] dt-bindings: input: Add document bindings for DA7280

2020-09-22 Thread Roy Im
Add device tree binding information for DA7280 haptic driver. Example bindings for DA7280 are added. Reviewed-by: Rob Herring . Signed-off-by: Roy Im --- v20: No changes. v19: No changes. v18: No changes. v17: No changes. v16: No changes. v15: No changes. v14: No changes. v13: No changes. v12:

Re: [PATCH -next] powerpc/perf: Fix symbol undeclared warning

2020-09-22 Thread Athira Rajeev
> On 21-Sep-2020, at 4:55 PM, Wang Wensheng wrote: > > Build kernel with `C=2`: > arch/powerpc/perf/isa207-common.c:24:18: warning: symbol > 'isa207_pmu_format_attr' was not declared. Should it be static? > arch/powerpc/perf/power9-pmu.c:101:5: warning: symbol 'p9_dd21_bl_ev' > was not

[PATCH v7 0/2] Add Intel LGM soc DMA support

2020-09-22 Thread Amireddy Mallikarjuna reddy
Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. The main function of the DMA controller is the transfer of data from/to any DPlus compliant peripheral to/from the memory. A memory to memory copy capability can also be configured. This ldma driver is used for configure the

Re: [PATCH V4] drm/dp_mst: Retrieve extended DPCD caps for topology manager

2020-09-22 Thread Koba Ko
Thanks for the review. Sorry for that I thought the review tag should be appended by myself. One thing to confirm with you, will you or I push this patch to drm-misc-next ? Thanks a lot. On Wed, Sep 23, 2020 at 2:01 AM Lyude Paul wrote: > > One last change I realized we should do is print the

[PATCH v3 4/4] drm_dp_cec: add MST support

2020-09-22 Thread Sam McNally
With DP v2.0 errata E5, CEC tunneling can be supported through an MST topology. There are some minor differences for CEC tunneling through an MST topology compared to CEC tunneling to an SST port: - CEC IRQs are delivered via a sink event notify message - CEC-related DPCD registers are accessed

[PATCH v3 2/4] drm_dp_mst_topology: use correct AUX channel

2020-09-22 Thread Sam McNally
From: Hans Verkuil For adapters behind an MST hub use the correct AUX channel. Signed-off-by: Hans Verkuil [sa...@chromium.org: rebased, removing redundant changes] Signed-off-by: Sam McNally --- (no changes since v1) drivers/gpu/drm/drm_dp_mst_topology.c | 36 +++

[PATCH v3 3/4] drm_dp_mst_topology: export two functions

2020-09-22 Thread Sam McNally
From: Hans Verkuil These are required for the CEC MST support. Signed-off-by: Hans Verkuil Signed-off-by: Sam McNally --- (no changes since v1) drivers/gpu/drm/drm_dp_mst_topology.c | 6 ++ include/drm/drm_dp_mst_helper.h | 4 2 files changed, 6 insertions(+), 4 deletions(-)

[PATCH v3 1/4] dp/dp_mst: Add support for sink event notify messages

2020-09-22 Thread Sam McNally
Sink event notify messages are used for MST CEC IRQs. Add parsing support for sink event notify messages in preparation for handling MST CEC IRQs. Signed-off-by: Sam McNally --- (no changes since v1) drivers/gpu/drm/drm_dp_mst_topology.c | 37 ++-

Re: [PATCH] docs: admin-guide: update kdump documentation due to change of crash URL

2020-09-22 Thread lijiang
在 2020年09月18日 16:09, Lianbo Jiang 写道: > Since crash utility has moved to github, the original URL is no longer ^ has been moved to github Because of the above mistake, I'd like to correct it and reply it with the v2. Thanks. > available. Let's update

[PATCH -next] virtiofs: Move the assignment to ret outside the loop

2020-09-22 Thread Jing Xiangfeng
There is no need to do the assignment each time. So move the assignment to ret outside the loop. Signed-off-by: Jing Xiangfeng --- fs/fuse/dax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/dax.c b/fs/fuse/dax.c index e394dba08cc4..f18cd7b53ec7 100644 ---

Re: [PATCH] perf stat: Skip duration_time in setup_system_wide

2020-09-22 Thread Jin, Yao
Hi Arnaldo, On 9/23/2020 2:02 AM, Arnaldo Carvalho de Melo wrote: Em Tue, Sep 22, 2020 at 02:56:30PM -0300, Arnaldo Carvalho de Melo escreveu: Em Tue, Sep 22, 2020 at 09:50:04AM +0800, Jin Yao escreveu: Some metrics (such as DRAM_BW_Use) consists of uncore events and duration_time. For uncore

Re: [PATCH v18 25/32] mm/mlock: remove lru_lock on TestClearPageMlocked in munlock_vma_page

2020-09-22 Thread Alex Shi
在 2020/9/22 下午2:13, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> In the func munlock_vma_page, the page must be PageLocked as well as >> pages in split_huge_page series funcs. Thus the PageLocked is enough >> to serialize both funcs. >> >> So we could relief the

[PATCH 5/5] perf test: Add expand cgroup event test

2020-09-22 Thread Namhyung Kim
It'll expand given events for cgroups A, B and C. $ ./perf test -v expansion 69: Event expansion for cgroups : --- start --- test child forked, pid 983140 metric expr 1 / IPC for CPI metric expr instructions / cycles for IPC found event instructions found

[PATCH 4/5] perf tools: Allow creation of cgroup without open

2020-09-22 Thread Namhyung Kim
This is a preparation for a test case of expanding events for multiple cgroups. Instead of using real system cgroup, the test will use fake cgroups so it needs a way to have them without a open file descriptor. Signed-off-by: Namhyung Kim --- tools/perf/builtin-stat.c | 2 +-

[PATCH 2/5] perf stat: Add --for-each-cgroup option

2020-09-22 Thread Namhyung Kim
The --for-each-cgroup option is a syntax sugar to monitor large number of cgroups easily. Current command line requires to list all the events and cgroups even if users want to monitor same events for each cgroup. This patch addresses that usage by copying given events for each cgroup on user's

[PATCH 1/5] perf evsel: Add evsel__clone() function

2020-09-22 Thread Namhyung Kim
The evsel__clone() is to create an exactly same evsel from same attributes. The function assumes the given evsel is not configured yet so it cares fields set during event parsing. Those fields are now moved together as Jiri suggested. Note that metric events will be handled by later patch. It

[PATCH 3/5] perf tools: Copy metric events properly when expand cgroups

2020-09-22 Thread Namhyung Kim
The metricgroup__copy_metric_events() is to handle metrics events when expanding event for cgroups. As the metric events keep pointers to evsel, it should be refreshed when events are cloned during the operation. The perf_stat__collect_metric_expr() is also called in case an event has a metric

[PATCHSET v4 0/5] perf stat: Expand events for each cgroup

2020-09-22 Thread Namhyung Kim
Hello, When we profile cgroup events with perf stat, it's very annoying to specify events and cgroups on the command line as it requires the mapping between events and cgroups. (Note that perf record can use cgroup sampling but it's not usable for perf stat). I guess most cases we just want to

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-22 Thread David Ahern
On 9/22/20 7:52 AM, Michael Jeanson wrote: >>> >>> the test setup is bad. You have r1 dropping the MTU in VRF red, but not >>> telling VRF red how to send back the ICMP. e.g., for IPv4 add: >>> >>>ip -netns r1 ro add vrf red 172.16.1.0/24 dev blue >>> >>> do the same for v6. >>> >>> Also, I do

Re: [PATCH v18 24/32] mm/pgdat: remove pgdat lru_lock

2020-09-22 Thread Alex Shi
在 2020/9/22 下午1:53, Hugh Dickins 写道: >> Now pgdat.lru_lock was replaced by lruvec lock. It's not used anymore. >> >> Signed-off-by: Alex Shi >> Reviewed-by: Alexander Duyck > I don't take pleasure in spoiling your celebrations and ceremonies, > but I strongly agree with AlexD that this should

Re: [PATCH 1/2] dt-bindings: crypto: update ccree optional params

2020-09-22 Thread Rob Herring
On Wed, Sep 16, 2020 at 10:19:49AM +0300, Gilad Ben-Yossef wrote: > Document ccree driver supporting new optional parameters allowing to > customize the DMA transactions cache parameters and ACE bus sharability > properties. > > Signed-off-by: Gilad Ben-Yossef > --- >

Re: [PATCH v18 22/32] mm/vmscan: use relock for move_pages_to_lru

2020-09-22 Thread Alex Shi
在 2020/9/22 下午1:44, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> From: Hugh Dickins >> >> Use the relock function to replace relocking action. And try to save few >> lock times. >> >> Signed-off-by: Hugh Dickins >> Signed-off-by: Alex Shi >> Reviewed-by: Alexander Duyck >

  1   2   3   4   5   6   7   8   9   10   >