Re: [PATCH RFC 1/4] mm/page_alloc: convert "report" flag of __free_one_page() to a proper flag

2020-09-25 Thread Oscar Salvador
On Wed, Sep 16, 2020 at 08:34:08PM +0200, David Hildenbrand wrote: > Let's prepare for additional flags and avoid long parameter lists of bools. > Follow-up patches will also make use of the flags in __free_pages_ok(), > however, I wasn't able to come up with a better name for the type - should > b

Re: [PATCH 6/9] mm, page_alloc: cache pageset high and batch in struct zone

2020-09-25 Thread David Hildenbrand
On 22.09.20 16:37, Vlastimil Babka wrote: > All per-cpu pagesets for a zone use the same high and batch values, that are > duplicated there just for performance (locality) reasons. This patch adds the > same variables also to struct zone as a shared copy. > > This will be useful later for making p

Re: [PATCH -next] ACPI: Remove unused inline functions

2020-09-25 Thread Rafael J. Wysocki
On Tue, Sep 1, 2020 at 8:47 AM YueHaibing wrote: > > There is no callers in tree. > > Signed-off-by: YueHaibing Applied as 5.10 material with a minor edit in the subject, thanks! > --- > include/linux/acpi.h | 9 - > 1 file changed, 9 deletions(-) > > diff --git a/include/linux/acpi.h

Re: [PATCH 7/9] mm, page_alloc: move draining pcplists to page isolation users

2020-09-25 Thread David Hildenbrand
On 22.09.20 16:37, Vlastimil Babka wrote: > Currently, pcplists are drained during set_migratetype_isolate() which means > once per pageblock processed start_isolate_page_range(). This is somewhat > wasteful. Moreover, the callers might need different guarantees, and the > draining is currently pro

Re: [PATCH 1/5] media: mt9p031: Add support for 8 bit and 10 bit formats

2020-09-25 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Stefan-Riedmueller/media-mt9p031-Add-support-for-8-bit-and-10-bit-formats/20200925-155251 base: git://linuxtv.org/media_tree.git master config: arc-allyesconfig (attached

Re: [PATCH 02/12] soc: mediatek: Add MediaTek SCPSYS power domains

2020-09-25 Thread Matthias Brugger
On 25/09/2020 12:25, Weiyi Lu wrote: On Thu, 2020-09-10 at 19:28 +0200, Enric Balletbo i Serra wrote: The System Control Processor System (SCPSYS) has several power management related tasks in the system. This driver implements support to handle the different power domains supported in order

YOUR HELP FOR THIS TRANSFER.(Ms Lisa hugh).

2020-09-25 Thread Ms Lisa Hugh
Dear Friend, I am Ms Lisa hugh, work with the department of Audit and accounting manager here in the Bank(B.O.A). Please i need your assistance for the transferring of thIs fund to your bank account for both of us benefit for life time investment, amount (US$4.5M DOLLARS). I have every inq

Re: [PATCH 06/12] soc: mediatek: pm-domains: Add SMI block as bus protection block

2020-09-25 Thread Weiyi Lu
On Thu, 2020-09-10 at 19:28 +0200, Enric Balletbo i Serra wrote: > From: Matthias Brugger > > Apart from the infracfg block, the SMI block is used to enable the bus > protection for some power domains. Add support for this block. > > Signed-off-by: Matthias Brugger > Signed-off-by: Enric Ballet

Re: [PATCH V2 1/4] cpufreq: stats: Defer stats update to cpufreq_stats_record_transition()

2020-09-25 Thread Viresh Kumar
On 25-09-20, 09:21, Lukasz Luba wrote: > > > On 9/16/20 7:45 AM, Viresh Kumar wrote: > > In order to prepare for lock-less stats update, add support to defer any > > updates to it until cpufreq_stats_record_transition() is called. > > > > Signed-off-by: Viresh Kumar > > --- > > drivers/cpufre

Re: [PATCH 8/9] mm, page_alloc: drain all pcplists during memory offline

2020-09-25 Thread David Hildenbrand
On 22.09.20 16:37, Vlastimil Babka wrote: > drain_all_pages() is optimized to only execute on cpus where pcplists are not > empty. The check can however race with a free to pcplist that has not yet > increased the pcp->count from 0 to 1. Make the drain optionally skip the racy > check and drain on

Help wanted in LED subsystem

2020-09-25 Thread Pavel Machek
Hi! In linux-next, I published TODO list for LED subsystem. Is that something linux-kernel-mentees could help with? Best regards, Pavel +++ b/drivers/leds/TODO @@ -0,0 +1,58 @@ +-*- org -*- + +* On/off LEDs should have max_brightness of 1

Re: [PATCH v3 26/39] arm64: mte: Add in-kernel tag fault handler

2020-09-25 Thread Catalin Marinas
On Fri, Sep 25, 2020 at 12:50:33AM +0200, Andrey Konovalov wrote: > diff --git a/arch/arm64/include/asm/uaccess.h > b/arch/arm64/include/asm/uaccess.h > index 991dd5f031e4..c7fff8daf2a7 100644 > --- a/arch/arm64/include/asm/uaccess.h > +++ b/arch/arm64/include/asm/uaccess.h > @@ -200,13 +200,36 @@

Re: [PATCH 9/9] mm, page_alloc: optionally disable pcplists during page isolation

2020-09-25 Thread David Hildenbrand
On 22.09.20 16:37, Vlastimil Babka wrote: > Page isolation can race with process freeing pages to pcplists in a way that > a page from isolated pageblock can end up on pcplist. This can be fixed by > repeated draining of pcplists, as done by patch "mm/memory_hotplug: drain > per-cpu pages again dur

Re: [PATCH 9/9] mm, page_alloc: optionally disable pcplists during page isolation

2020-09-25 Thread David Hildenbrand
On 25.09.20 12:53, David Hildenbrand wrote: > On 22.09.20 16:37, Vlastimil Babka wrote: >> Page isolation can race with process freeing pages to pcplists in a way that >> a page from isolated pageblock can end up on pcplist. This can be fixed by >> repeated draining of pcplists, as done by patch "m

Re: [PATCH stable v5.4] mm: memcg: fix memcg reclaim soft lockup

2020-09-25 Thread Greg KH
On Mon, Sep 21, 2020 at 11:05:08AM -0700, Julius Hemanth Pitti wrote: > From: Xunlei Pang > > commit e3336cab2579012b1e72b5265adf98e2d6e244ad upstream > > We've met softlockup with "CONFIG_PREEMPT_NONE=y", when the target memcg > doesn't have any reclaimable memory. > > It can be easily reprodu

linux-next: Tree for Sep 25

2020-09-25 Thread Stephen Rothwell
Hi all, Changes since 20200924: The vfs tree still had its build failure for which I reverted a commit. The mmc tree gained a build failure so I used the verison from next-20200924. The tip tree gained conflicts against the kbuild, pci and vfs trees. The akpm-current tree gained a conflict aga

Re: [PATCH 08/12] soc: mediatek: pm-domains: Add subsystem clocks

2020-09-25 Thread Weiyi Lu
On Thu, 2020-09-10 at 19:28 +0200, Enric Balletbo i Serra wrote: > From: Matthias Brugger > > For the bus protection operations, some subsystem clocks need to be enabled > before releasing the protection. This patch identifies the subsystem clocks > by it's name. > > Suggested-by: Weiyi Lu > [A

Re: [PATCH 4/4] mic: vop: copy data to kernel space then write to io memory

2020-09-25 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/Sherry-Sun/Fix-some-bugs-of-the-vop-driver-and-mpssd-user-space-tool/20200925-152356 base: https://git.kernel.org/pub/scm/linux/kernel/git/g

Re: [PATCH V2 1/4] cpufreq: stats: Defer stats update to cpufreq_stats_record_transition()

2020-09-25 Thread Viresh Kumar
On 25-09-20, 12:04, Rafael J. Wysocki wrote: > I'm actually wondering if reset_time is necessary at all. > > If cpufreq_stats_record_transition() is the only updater of the stats, > which will be the case after applying this series IIUC, it may as well > simply set the new starting point and disca

Re: [f2fs-dev] KMSAN: uninit-value in f2fs_lookup

2020-09-25 Thread Dan Carpenter
On Fri, Sep 25, 2020 at 05:06:33PM +0800, Chao Yu wrote: > Hi, > > I don't see any problem here, thanks for your report. :) > I bet the uninitialize value is because "max_depth" is zero. 352 struct f2fs_dir_entry *__f2fs_find_entry(struct inode *dir, 353

Re: [PATCH v38 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-09-25 Thread Jarkko Sakkinen
On Fri, Sep 25, 2020 at 10:14:41AM +0200, Borislav Petkov wrote: > > > > +#define SGX_ENCLAVE_RUN_EXCEPTION 4*8 > > > > + > > > > +#define SGX_SYNCHRONOUS_EXIT 0 > > > > +#define SGX_EXCEPTION_EXIT 1 > > > > > > Those are in ...uapi/asm/sgx.h too. Unify? > ^^

[PATCH 3/3] MAINTAINERS: Update Cirrus Logic Codecs maintainers

2020-09-25 Thread Richard Fitzgerald
Add patc...@opensource.cirrus.com to the main group of Cirrus Logic ASoC codec drivers. Signed-off-by: Richard Fitzgerald --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index d746519253c3..1d9a57d3992f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

[PATCH 1/3] ASoC: cs4234: Add dtschema binding document

2020-09-25 Thread Richard Fitzgerald
From: Charles Keepax Document the bindings for the CS4234 ASoC codec driver. Signed-off-by: Charles Keepax --- .../bindings/sound/cirrus,cs4234.yaml | 74 +++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cirrus,cs4234.yaml

[PATCH 2/3] ASoC: cs4234: Add support for Cirrus Logic CS4234 codec

2020-09-25 Thread Richard Fitzgerald
From: Lucas Tanure The CS4234 is a highly versatile CODEC that combines 4 channels of high performance analog to digital conversion, 4 channels of high performance digital to analog conversion for audio, and 1 channel of digital to analog conversion to provide a nondelayed audio reference signal

Re: [PATCH v38 17/24] x86/sgx: ptrace() support for the SGX driver'

2020-09-25 Thread Jarkko Sakkinen
On Fri, Sep 25, 2020 at 09:53:01AM +0200, Borislav Petkov wrote: > On Thu, Sep 24, 2020 at 11:40:22PM +0300, Jarkko Sakkinen wrote: > > I'm not sure if I said it already but I also added cc to linux-mm (same > > CC's in the patch as with mprotect callback commit). This should also > > have mm ack I

Re: [PATCH 06/12] soc: mediatek: pm-domains: Add SMI block as bus protection block

2020-09-25 Thread Matthias Brugger
On 25/09/2020 12:45, Weiyi Lu wrote: On Thu, 2020-09-10 at 19:28 +0200, Enric Balletbo i Serra wrote: From: Matthias Brugger Apart from the infracfg block, the SMI block is used to enable the bus protection for some power domains. Add support for this block. Signed-off-by: Matthias Brugger

Re: [PATCH 4/4] mic: vop: copy data to kernel space then write to io memory

2020-09-25 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/Sherry-Sun/Fix-some-bugs-of-the-vop-driver-and-mpssd-user-space-tool/20200925-152356 base: https://git.kernel.org/pub/scm/linux/kernel/git/g

Re: [PATCH V2 1/4] cpufreq: stats: Defer stats update to cpufreq_stats_record_transition()

2020-09-25 Thread Rafael J. Wysocki
On Fri, Sep 25, 2020 at 12:58 PM Viresh Kumar wrote: > > On 25-09-20, 12:04, Rafael J. Wysocki wrote: > > I'm actually wondering if reset_time is necessary at all. > > > > If cpufreq_stats_record_transition() is the only updater of the stats, > > which will be the case after applying this series I

Re: [PATCH v3 27/39] arm64: kasan: Enable in-kernel MTE

2020-09-25 Thread Catalin Marinas
On Fri, Sep 25, 2020 at 12:50:34AM +0200, Andrey Konovalov wrote: > diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S > index 23c326a06b2d..12ba98bc3b3f 100644 > --- a/arch/arm64/mm/proc.S > +++ b/arch/arm64/mm/proc.S > @@ -427,6 +427,10 @@ SYM_FUNC_START(__cpu_setup) >*/ > mov

Re: [PATCH 08/18] dma-mapping: add a new dma_alloc_noncoherent API

2020-09-25 Thread Robin Murphy
On 2020-09-15 16:51, Christoph Hellwig wrote: [...] +These APIs allow to allocate pages in the kernel direct mapping that are +guaranteed to be DMA addressable. This means that unlike dma_alloc_coherent, +virt_to_page can be called on the resulting address, and the resulting Nit: if we explici

Re: [PATCH v38 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-09-25 Thread Jarkko Sakkinen
On Fri, Sep 25, 2020 at 10:39:58AM +0200, Jethro Beekman wrote: > On 2020-09-25 03:00, Jarkko Sakkinen wrote: > > End result: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-sgx.git/tree/arch/x86/include/uapi/asm/sgx.h > > > > I'm wondering this sentence: > > > > "The callin

[rcu:rcu/next] BUILD SUCCESS 28cd539ed2bfd47989c00ba0b92d47792a92c9cd

2020-09-25 Thread kernel test robot
-a001-20200924 i386 randconfig-a002-20200925 i386 randconfig-a006-20200925 i386 randconfig-a003-20200925 i386 randconfig-a004-20200925 i386 randconfig-a005-20200925 i386 randconfig-a001-20200925 x86_64

Re: [PATCH v38 17/24] x86/sgx: ptrace() support for the SGX driver'

2020-09-25 Thread Jarkko Sakkinen
On Fri, Sep 25, 2020 at 09:51:04AM +0200, Borislav Petkov wrote: > On Thu, Sep 24, 2020 at 11:38:59PM +0300, Jarkko Sakkinen wrote: > > I assume this is a rethorical question > > Of course - our text should not be write-only. > > > and I notice what I suggested > > looks as bad as my earlier comm

Re: [PATCH 3/4] net: usb: rtl8150: use usb_control_msg_recv() and usb_control_msg_send()

2020-09-25 Thread Himadri Pandya
On Thu, Sep 24, 2020 at 5:06 PM Oliver Neukum wrote: > > Am Mittwoch, den 23.09.2020, 20:02 +0530 schrieb Himadri Pandya: > > > I meant that it was stupid to change it without properly understanding > > the significance of GFP_NOIO in this context. > > > > So now, do we re-write the wrapper functi

Re: [PATCH 9/9] mm, page_alloc: optionally disable pcplists during page isolation

2020-09-25 Thread Vlastimil Babka
On 9/25/20 12:54 PM, David Hildenbrand wrote: >>> --- a/mm/page_isolation.c >>> +++ b/mm/page_isolation.c >>> @@ -15,6 +15,22 @@ >>> #define CREATE_TRACE_POINTS >>> #include >>> >>> +void zone_pcplist_disable(struct zone *zone) >>> +{ >>> + down_read(&pcp_batch_high_lock); >>> + if (atomic

Re: [PATCH v3 01/10] mm: add Kernel Electric-Fence infrastructure

2020-09-25 Thread SeongJae Park
On Mon, 21 Sep 2020 15:26:02 +0200 Marco Elver wrote: > From: Alexander Potapenko > > This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a > low-overhead sampling-based memory safety error detector of heap > use-after-free, invalid-free, and out-of-bounds access errors. > >

Re: [PATCH v3 24/39] arm64: mte: Add in-kernel MTE helpers

2020-09-25 Thread Vincenzo Frascino
On 9/25/20 11:15 AM, Catalin Marinas wrote: > On Fri, Sep 25, 2020 at 12:50:31AM +0200, Andrey Konovalov wrote: >> diff --git a/arch/arm64/include/asm/esr.h b/arch/arm64/include/asm/esr.h >> index 035003acfa87..bc0dc66a6a27 100644 >> --- a/arch/arm64/include/asm/esr.h >> +++ b/arch/arm64/include/as

Re: [PATCH 0/5] Add noncoherent platform support for vop driver

2020-09-25 Thread Arnd Bergmann
On Fri, Sep 25, 2020 at 9:27 AM Sherry Sun wrote: > > Change the way of allocating vring to support noncoherent platform for vop > driver, and add some related dma changes to make sure noncoherent platform > works > well. Could you describe why you are doing this? Are you using Intel MIC devices

Re: [PATCH 5/8] arm64: dts: meson: remove reset-gpios from ethernet node for VIM2 meson-gxm-khadas-vim2

2020-09-25 Thread Martin Blumenstingl
Hi Artem, (adding back all Cc recipients - please use "reply all" so they don't get lost) On Fri, Sep 25, 2020 at 10:18 AM Art Nikpal wrote: > > this means that "something" is either set up incorrectly in the Linux > kernel or that u-boot does some magic (and the same magic is then > missing in

Re: [PATCH v3 26/39] arm64: mte: Add in-kernel tag fault handler

2020-09-25 Thread Andrey Konovalov
On Fri, Sep 25, 2020 at 12:49 PM Catalin Marinas wrote: > > > diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c > > index a3bd189602df..d110f382dacf 100644 > > --- a/arch/arm64/mm/fault.c > > +++ b/arch/arm64/mm/fault.c > > @@ -33,6 +33,7 @@ > > #include > > #include > > #include >

Re: [PATCH V2 1/4] cpufreq: stats: Defer stats update to cpufreq_stats_record_transition()

2020-09-25 Thread Viresh Kumar
On Fri, 25 Sep 2020 at 16:39, Rafael J. Wysocki wrote: > > On Fri, Sep 25, 2020 at 12:58 PM Viresh Kumar wrote: > > > > On 25-09-20, 12:04, Rafael J. Wysocki wrote: > > > I'm actually wondering if reset_time is necessary at all. > > > > > > If cpufreq_stats_record_transition() is the only updater

Re: [PATCH] mtd: spi-nor: macronix: Add SECT_4K to mx25l12805d

2020-09-25 Thread Vignesh Raghavendra
Hi, On 9/15/20 3:36 PM, Robert Marko wrote: > According to the mx25l12805d datasheet it supports using 4K or 64K sectors. > So lets add the SECT_4K to enable 4K sector usage. > > Datasheet: > https://www.mxic.com.tw/Lists/Datasheet/Attachments/7321/MX25L12805D,%203V,%20128Mb,%20v1.2.pdf Have yo

Re: [RFC PATCH 02/24] vhost-vdpa: fix vqs leak in vhost_vdpa_open()

2020-09-25 Thread Jason Wang
On 2020/9/24 下午5:31, Michael S. Tsirkin wrote: On Thu, Sep 24, 2020 at 11:21:03AM +0800, Jason Wang wrote: We need to free vqs during the err path after it has been allocated since vhost won't do that for us. Signed-off-by: Jason Wang This is a bugfix too right? I don't see it posted separa

Re: [PATCH v3] nfs: remove incorrect fallthrough label

2020-09-25 Thread Mark Brown
On Thu, Sep 24, 2020 at 02:11:59PM -0400, Anna Schumaker wrote: > On Thu, Sep 24, 2020 at 2:08 PM Joe Perches wrote: > > Real reason why not: > I'm planning to take this patch through the NFS tree for 5.10 (along > with the patch that apparently causes the problem). I didn't think it > was urgen

This is nice one!

2020-09-25 Thread Mariacarmen Gutierrez
Hello friend! I would like to contact you personally for an important proposal that could of interest to you. I send this email only to know if this email address is functional. I have something very important to discuss with you. Contact me for details by: Email: fernrodyup1...@aol.com with yo

Re: [PATCH v3 -next] vdpa: mlx5: change Kconfig depends to fix build errors

2020-09-25 Thread Jason Wang
On 2020/9/25 下午6:19, Michael S. Tsirkin wrote: On Fri, Sep 25, 2020 at 10:20:05AM +0300, Leon Romanovsky wrote: On Thu, Sep 24, 2020 at 12:02:43PM -0400, Michael S. Tsirkin wrote: On Thu, Sep 24, 2020 at 08:47:05AM -0700, Randy Dunlap wrote: On 9/24/20 3:24 AM, Eli Cohen wrote: On Thu, Sep

Re: [PATCH] mtd: spi-nor: macronix: Add SECT_4K to mx25l12805d

2020-09-25 Thread Robert Marko
On Fri, Sep 25, 2020 at 1:27 PM Vignesh Raghavendra wrote: > > Hi, > > On 9/15/20 3:36 PM, Robert Marko wrote: > > According to the mx25l12805d datasheet it supports using 4K or 64K sectors. > > So lets add the SECT_4K to enable 4K sector usage. > > > > Datasheet: > > https://www.mxic.com.tw/List

[RFC PATCH] RISC-V: Use SBI SRST extension when available

2020-09-25 Thread Anup Patel
The SBI SRST extension provides a standard way to poweroff and reboot the system irrespective to whether Linux RISC-V S-mode is running natively (HS-mode) or inside Guest/VM (VS-mode). The draft specification of SBI SRST extension is available in srbt_v1 branch of: https://github.com/avpatel/riscv

Re: [PATCH v3 01/10] mm: add Kernel Electric-Fence infrastructure

2020-09-25 Thread Marco Elver
On Fri, 25 Sep 2020 at 13:24, 'SeongJae Park' via kasan-dev wrote: > > On Mon, 21 Sep 2020 15:26:02 +0200 Marco Elver wrote: > > > From: Alexander Potapenko > > > > This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a > > low-overhead sampling-based memory safety error detect

Re: [PATCH] mmc: davinci: Drop pointer to mmc_host from mmc_davinci_host

2020-09-25 Thread Ulf Hansson
On Thu, 24 Sep 2020 at 14:49, Ulf Hansson wrote: > > On Sun, 20 Sep 2020 at 22:51, Amey Narkhede wrote: > > > > The TI DaVinci MMC host driver uses a pointer to get from > > the private mmc_davinci_host structure to generic mmc_host > > structure. However mmc_host always immediately precedes > >

Re: [PATCH 0/3] fbdev: stop using compat_alloc_user_space

2020-09-25 Thread Arnd Bergmann
On Thu, Sep 24, 2020 at 10:54 PM Sam Ravnborg wrote: > > Hi Daniel/Arnd. > > On Fri, Sep 18, 2020 at 02:48:08PM +0200, Daniel Vetter wrote: > > On Fri, Sep 18, 2020 at 12:08:10PM +0200, Arnd Bergmann wrote: > > > The fbdev code uses compat_alloc_user_space in a few of its > > > compat_ioctl handle

Re: [PATCH] mmc: sdhci-s3c: hide forward declaration of of_device_id behind CONFIG_OF

2020-09-25 Thread Ulf Hansson
On Fri, 25 Sep 2020 at 09:26, Krzysztof Kozlowski wrote: > > The struct of_device_id is not defined with !CONFIG_OF so its forward > declaration should be hidden to as well. This should address clang > compile warning: > > drivers/mmc/host/sdhci-s3c.c:464:34: warning: tentative array definition

Re: [PATCH next 0/3] ARM: dts: am437x: switch to new cpsw switch drv

2020-09-25 Thread Tony Lindgren
* Grygorii Strashko [200911 01:25]: > Hi Tony, > > Since Kernel v5.5 commits: > 111cf1ab4da3 ("net: ethernet: ti: introduce cpsw switchdev based driver part > 2 - switch") > ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part > 1 - dual-emac") > the new CPSW driver wi

Re: [PATCH 1/9] lib: string_helpers: provide kfree_strarray()

2020-09-25 Thread Bartosz Golaszewski
On Fri, Sep 25, 2020 at 11:01 AM Andy Shevchenko wrote: > > On Thu, Sep 24, 2020 at 01:38:34PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > There's a common pattern of dynamically allocating an array of char > > pointers and then also dynamically allocating each string

Re: [PATCH v3 29/39] arm64: mte: Switch GCR_EL1 in kernel entry and exit

2020-09-25 Thread Catalin Marinas
On Fri, Sep 25, 2020 at 12:50:36AM +0200, Andrey Konovalov wrote: > diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S > index ff34461524d4..c7cc1fdfbd1a 100644 > --- a/arch/arm64/kernel/entry.S > +++ b/arch/arm64/kernel/entry.S > @@ -175,6 +175,49 @@ alternative_else_nop_endif > #

Re: [PATCH v10 2/6] x86: Support Generic Initiator only proximity domains

2020-09-25 Thread Jonathan Cameron
On Wed, 23 Sep 2020 18:06:09 +0200 Borislav Petkov wrote: > On Mon, Sep 07, 2020 at 10:03:03PM +0800, Jonathan Cameron wrote: > > In common with memoryless domains we only register GI domains > > if the proximity node is not online. If a domain is already > > a memory containing domain, or a memo

Re: [PATCH v2] omap3: enable off mode automatically

2020-09-25 Thread Tony Lindgren
* Tony Lindgren [200924 07:06]: > * Andreas Kemnade [200924 07:00]: > > On Fri, 11 Sep 2020 18:12:09 +0200 > > Andreas Kemnade wrote: > > > > > Enabling off mode was only reachable deeply hidden > > > in the debugfs. As powersaving is an important feature, > > > move the option out of its shady

Re: [PATCH 1/2] arm64: dts: ls1028a: add missing CAN nodes

2020-09-25 Thread Michael Walle
Am 2020-09-25 11:34, schrieb Marc Kleine-Budde: On 9/25/20 11:31 AM, Michael Walle wrote: Marc, I'd convert this to yaml format, Oleksij (CC'ed) is working already on this. Cool. Oleksij, if there will be individual compatible strings, could you already add the one for the LS1028A? i.e. "f

Re: [RFC PATCH 00/24] Control VQ support in vDPA

2020-09-25 Thread Jason Wang
On 2020/9/24 下午6:17, Stefan Hajnoczi wrote: On Thu, Sep 24, 2020 at 11:21:01AM +0800, Jason Wang wrote: This series tries to add the support for control virtqueue in vDPA. Please include documentation for both driver authors and vhost-vdpa ioctl users. vhost-vdpa ioctls are only documented wi

Re: [PATCH v3 08/15] ARM: dts: am335x: lxm: fix PCA9539 GPIO expander properties

2020-09-25 Thread Tony Lindgren
* Krzysztof Kozlowski [200916 18:58]: > The PCA9539 GPIO expander requires GPIO controller properties to operate > properly. I'm picking this patch into omap-for-v5.10/dt thanks. Tony

Re: [PATCH v3 30/39] arm64: kasan: Enable TBI EL1

2020-09-25 Thread Catalin Marinas
On Fri, Sep 25, 2020 at 12:50:37AM +0200, Andrey Konovalov wrote: > diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S > index 12ba98bc3b3f..dce06e553c7c 100644 > --- a/arch/arm64/mm/proc.S > +++ b/arch/arm64/mm/proc.S > @@ -40,9 +40,13 @@ > #define TCR_CACHE_FLAGS TCR_IRGN_WBWA | TCR_O

Re: [PATCH v3 09/15] ARM: dts: am335x: t335: align GPIO hog names with dtschema

2020-09-25 Thread Tony Lindgren
* Krzysztof Kozlowski [200916 18:58]: > The convention for node names is to use hyphens, not underscores. > dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. I'm picking up this too into omap-for-v5.10/dt thanks. Tony

Re: [PATCH v3 10/15] ARM: dts: am3874: iceboard: fix GPIO expander reset GPIOs

2020-09-25 Thread Tony Lindgren
* Krzysztof Kozlowski [200916 18:58]: > Correct the property for reset GPIOs of the GPIO expander. Picking up this too thanks. Tony

Re: [PATCH 8/9] gpio: mockup: use the generic 'gpio-line-names' property

2020-09-25 Thread Bartosz Golaszewski
On Fri, Sep 25, 2020 at 11:03 AM Andy Shevchenko wrote: > > On Thu, Sep 24, 2020 at 01:38:41PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > GPIO line names are currently created by the driver from the chip label. > > We'll want to support custom formats for line names (

Re: [PATCH v3 36/39] kasan, arm64: print report from tag fault handler

2020-09-25 Thread Catalin Marinas
On Fri, Sep 25, 2020 at 12:50:43AM +0200, Andrey Konovalov wrote: > Add error reporting for hardware tag-based KASAN. When CONFIG_KASAN_HW_TAGS > is enabled, print KASAN report from the arm64 tag fault handler. > > SAS bits aren't set in ESR for all faults reported in EL1, so it's > impossible to

Re: [RFC PATCH 02/24] vhost-vdpa: fix vqs leak in vhost_vdpa_open()

2020-09-25 Thread Jason Wang
On 2020/9/24 下午3:48, Eli Cohen wrote: On Thu, Sep 24, 2020 at 11:21:03AM +0800, Jason Wang wrote: We need to free vqs during the err path after it has been allocated since vhost won't do that for us. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 11 --- 1 file changed, 8 in

[PATCH] iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE

2020-09-25 Thread Suravee Suthikulpanit
When using 128-bit interrupt-remapping table entry (IRTE) (a.k.a GA mode), current driver disables interrupt remapping when it updates the IRTE so that the upper and lower 64-bit values can be updated safely. However, this creates a small window, where the interrupt could arrive and result in IO_P

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

2020-09-25 Thread Arnd Bergmann
On Wed, Sep 23, 2020 at 7:44 AM Greg Kroah-Hartman wrote: > and so on... > > Care to try a v2? I had a look now and found the problem, as there are two drivers that I did not have enabled but that need a trivial change to match my other modifications. I'll send the new version in a bit, changes

Re: [PATCH v38 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-09-25 Thread Jethro Beekman
On 2020-09-25 13:17, Jarkko Sakkinen wrote: > On Fri, Sep 25, 2020 at 10:39:58AM +0200, Jethro Beekman wrote: >> On 2020-09-25 03:00, Jarkko Sakkinen wrote: >>> End result: >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-sgx.git/tree/arch/x86/include/uapi/asm/sgx.h >>> >>> I'm

Re: [PATCH v3 30/39] arm64: kasan: Enable TBI EL1

2020-09-25 Thread Vincenzo Frascino
On 9/25/20 12:37 PM, Catalin Marinas wrote: > On Fri, Sep 25, 2020 at 12:50:37AM +0200, Andrey Konovalov wrote: >> diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S >> index 12ba98bc3b3f..dce06e553c7c 100644 >> --- a/arch/arm64/mm/proc.S >> +++ b/arch/arm64/mm/proc.S >> @@ -40,9 +40,13 @@

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

2020-09-25 Thread Arnd Bergmann
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 avoid the new warnings, but that causes a different set of warnings to sh

[PATCH v2 2/2] staging: vchiq: avoid mixing kernel and user pointers

2020-09-25 Thread Arnd Bergmann
As found earlier, there is a problem in the create_pagelist() function that takes a pointer argument that either points into vmalloc space or into user space, with the pointer value controlled by user space allowing a malicious user to trick the driver into accessing the kernel instead. Avoid this

Re: [PATCH v3 26/39] arm64: mte: Add in-kernel tag fault handler

2020-09-25 Thread Catalin Marinas
On Fri, Sep 25, 2020 at 01:26:02PM +0200, Andrey Konovalov wrote: > On Fri, Sep 25, 2020 at 12:49 PM Catalin Marinas > wrote: > > > diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c > > > index a3bd189602df..d110f382dacf 100644 > > > --- a/arch/arm64/mm/fault.c > > > +++ b/arch/arm64/mm/f

Re: [PATCH v3 29/39] arm64: mte: Switch GCR_EL1 in kernel entry and exit

2020-09-25 Thread Vincenzo Frascino
On 9/25/20 12:34 PM, Catalin Marinas wrote: > On Fri, Sep 25, 2020 at 12:50:36AM +0200, Andrey Konovalov wrote: >> diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S >> index ff34461524d4..c7cc1fdfbd1a 100644 >> --- a/arch/arm64/kernel/entry.S >> +++ b/arch/arm64/kernel/entry.S >> @

Re: [PATCH v3] HID: logitech-hidpp: add support for Logitech G533 headset

2020-09-25 Thread Jiri Kosina
On Thu, 10 Sep 2020, Kamil Domański wrote: > Hi Jiri, > I'm not sure what you mean by "proper changelog that should go to the > commitlog". > Is the commit message "HID: logitech-hidpp: add support for Logitech G533 > headset" inadequate? That's a shortlog. But please provide also brief explanati

Re: [PATCH v2 3/3] PM / Domains: Add support for PM domain on/off notifiers for genpd

2020-09-25 Thread Ulf Hansson
On Fri, 25 Sep 2020 at 08:08, Peng Fan wrote: > > Hi Ulf, > > > Subject: [PATCH v2 3/3] PM / Domains: Add support for PM domain on/off > > notifiers for genpd > > > > A device may have specific HW constraints that must be obeyed to, before its > > corresponding PM domain (genpd) can be powered off

Re: [PATCH v8 1/3] rseq/membarrier: add MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ

2020-09-25 Thread Peter Zijlstra
On Wed, Sep 23, 2020 at 04:36:16PM -0700, Peter Oskolkov wrote: > --- a/include/linux/syscalls.h > +++ b/include/linux/syscalls.h > @@ -974,7 +974,7 @@ asmlinkage long sys_execveat(int dfd, const char __user > *filename, > const char __user *const __user *argv, >

Re: [PATCH] Bluetooth: btusb: Avoid unnecessary reset upon system resume

2020-09-25 Thread Kai-Heng Feng
Hi Alex, > On Sep 25, 2020, at 16:23, 陆朱伟 wrote: > > Hi Kai-Heng, > >> On September 25, 2020 at 15:56, Kai-Heng Feng wrote: >> >> Hi Alex, >> >>> On Sep 25, 2020, at 15:42, 陆朱伟 wrote: >>> >>> Hi Kai-Heng, >>> On 25 September 2020 at 15:14, Kai-Heng Feng wrote: Hi Alex, >>

Re: [PATCH net-next 2/5] bonding: rename slave to link where possible

2020-09-25 Thread Jarod Wilson
On Tue, Sep 22, 2020 at 7:51 PM David Miller wrote: > > From: Michal Kubecek > Date: Wed, 23 Sep 2020 01:23:17 +0200 > > > Even if the module parameters are deprecated and extremely inconvenient > > as a mean of bonding configuration, I would say changing their names > > would still count as "bre

Re: [PATCH 1/2] iommu/iova: Flush CPU rcache for when a depot fills

2020-09-25 Thread Robin Murphy
On 2020-09-25 10:51, John Garry wrote: Leizhen reported some time ago that IOVA performance may degrade over time [0], but unfortunately his solution to fix this problem was not given attention. To summarize, the issue is that as time goes by, the CPU rcache and depot rcache continue to grow. As

Re: [PATCH v3 26/39] arm64: mte: Add in-kernel tag fault handler

2020-09-25 Thread Andrey Konovalov
On Fri, Sep 25, 2020 at 1:47 PM Catalin Marinas wrote: > > On Fri, Sep 25, 2020 at 01:26:02PM +0200, Andrey Konovalov wrote: > > On Fri, Sep 25, 2020 at 12:49 PM Catalin Marinas > > wrote: > > > > diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c > > > > index a3bd189602df..d110f382dacf

[git pull] habanalabs second pull request for kernel 5.10-rc1

2020-09-25 Thread Oded Gabbay
Hello Greg, This is habanalabs second pull request for the merge window of kernel 5.10. It contains an important fix to our ASIC reset flow and a few other minor changes. Details are in the tag. Thanks, Oded The following changes since commit 9eb29f2ed95edda511ce28651b1d7cdef3614c12: Merge ta

Re: [perf tools] 77b66fd551: perf-sanity-tests.'import_perf'_in_python.fail

2020-09-25 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 24, 2020 at 12:04:51PM +0900, Namhyung Kim escreveu: > On Wed, Sep 23, 2020 at 6:15 PM kernel test robot > wrote: > > FYI, we noticed the following commit (built with gcc-9): > > commit: 77b66fd55195289f5361af4f8a0978a3a90b9363 ("[PATCH 3/4] perf tools: > > Copy metric events proper

Re: [PATCH v9 08/20] gpiolib: cdev: support GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL

2020-09-25 Thread Kent Gibson
On Fri, Sep 25, 2020 at 01:12:14PM +0300, Andy Shevchenko wrote: > On Thu, Sep 24, 2020 at 12:48 PM Kent Gibson wrote: > > On Thu, Sep 24, 2020 at 11:39:03AM +0300, Andy Shevchenko wrote: > > > On Thu, Sep 24, 2020 at 5:39 AM Kent Gibson wrote: > > > > On Wed, Sep 23, 2020 at 06:41:45PM +0300, An

Re: [PATCH 0/9] sched: Migrate disable support

2020-09-25 Thread Dietmar Eggemann
On 25/09/2020 12:10, Peter Zijlstra wrote: > On Fri, Sep 25, 2020 at 11:12:09AM +0200, Dietmar Eggemann wrote: > >> I get this when running 6 (periodic) RT50 tasks with CPU hp stress on my >> 6 CPU JUNO board (!CONFIG_PREEMPT_RT). >> >> [ 55.490263] [ cut here ] >> [ 55

[rcu:rcu/test] BUILD SUCCESS WITH WARNING 516c2f87d0d1204a9ea1b36298283f74056a7eab

2020-09-25 Thread kernel test robot
rcu-rcutorture.c:warning:no-previous-prototype-for-rcu_nocb_cpu_deoffload | `-- kernel-rcu-rcutorture.c:warning:no-previous-prototype-for-rcu_nocb_cpu_offload |-- alpha-randconfig-r024-20200925 | |-- kernel-rcu-rcutorture.c:warning:no-previous-prototype-for-rcu_nocb_cpu_deoffload | `-- kernel-

Re: [PATCH] tpm: of: avoid __va() translation for event log address

2020-09-25 Thread Jason Gunthorpe
On Fri, Sep 25, 2020 at 01:29:20PM +0300, Jarkko Sakkinen wrote: > On Fri, Sep 25, 2020 at 09:00:56AM +0200, Ard Biesheuvel wrote: > > On Fri, 25 Sep 2020 at 07:56, Jarkko Sakkinen > > wrote: > > > > > > On Tue, Sep 22, 2020 at 11:41:28AM +0200, Ard Biesheuvel wrote: > > > > The TPM event log is p

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

2020-09-25 Thread Stephen Rothwell
Hi Al, On Thu, 24 Sep 2020 21:08:07 +0100 Al Viro wrote: > > On Thu, Sep 24, 2020 at 06:30:38PM +1000, Stephen Rothwell wrote: > > > > After merging the vfs tree, today's linux-next build (x86_64 allnoconfig) > > failed like this: > > > > arch/x86/include/asm/barrier.h: Assembler messages: > >

Re: [PATCH] drm/stm: dsi: Use dev_ based logging

2020-09-25 Thread Joe Perches
On Fri, 2020-09-25 at 12:22 +0200, Yannick Fertre wrote: > Standardize on the dev_ based logging and drop the include of drm_print.h. > Remove useless dsi_color_from_mipi function. [] > diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c > b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c [] > - DRM_DEBU

Re: [PATCH v3 06/15] arm64: dts: ti: align GPIO hog names with dtschema

2020-09-25 Thread Nishanth Menon
On 17:57-20200916, Krzysztof Kozlowski wrote: > The convention for node names is to use hyphens, not underscores. > dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 4 ++-- > 1

Re: [PATCH v2] Bluetooth: Check for encryption key size on connect

2020-09-25 Thread Archie Pusaka
Hi Luiz, On Wed, 23 Sep 2020 at 01:03, Luiz Augusto von Dentz wrote: > > Hi Archie, > > On Tue, Sep 22, 2020 at 12:48 AM Archie Pusaka wrote: > > > > Hi Luiz, > > > > On Tue, 22 Sep 2020 at 01:15, Luiz Augusto von Dentz > > wrote: > > > > > > Hi Archie, > > > > > > > > > On Mon, Sep 21, 2020 at

Re: [PATCH v6 4/4] dt-bindings:iio:adc:adi,ad7768-1: Add documentation for channel label

2020-09-25 Thread Jonathan Cameron
On Mon, 21 Sep 2020 16:30:20 +0300 Cristian Pop wrote: Hi Cristian, > Optional attribute for better identification of the channels. Dt-bindings need to be sent to the dt-binding maintainer and list. +CC. I'll definitely be looking for a review from Rob on this one as we are defining a new gener

Re: [RFC V2 0/9] x86/mmu:Introduce parallel memory virtualization to boost performance

2020-09-25 Thread yulei zhang
On Fri, Sep 25, 2020 at 1:14 AM Ben Gardon wrote: > > On Wed, Sep 23, 2020 at 11:28 PM Wanpeng Li wrote: > > > > Any comments? Paolo! :) > > Hi, sorry to be so late in replying! I wanted to post the first part > of the TDP MMU series I've been working on before responding so we > could discuss th

Re: [PATCH v6 2/4] iio:Documentation: Add documentation for label channel attribute

2020-09-25 Thread Jonathan Cameron
On Mon, 21 Sep 2020 16:30:18 +0300 Cristian Pop wrote: > If a label is defined for this channel add that to the channel specific > attributes. This is useful for userspace to be able to identify an > individual channel. > > Signed-off-by: Cristian Pop > --- > Changes in v6: > - Fix documentati

[PATCH v3.1 2/8] docs: conf.py: disable automarkup for Sphinx 3.x

2020-09-25 Thread Mauro Carvalho Chehab
The class types changed after the C domain rewrite on Sphinx 3.x. Due to that, the automarkup extension is just generating additional noise when trying to convert structs and other markups into cross references. Signed-off-by: Mauro Carvalho Chehab --- v3.1: Sphinx actually complains when appen

Re: [PATCH net-next 0/5] bonding: rename bond components

2020-09-25 Thread Jarod Wilson
On Tue, Sep 22, 2020 at 6:19 PM Jay Vosburgh wrote: > > Jarod Wilson wrote: > > >The bonding driver's use of master and slave, while largely understood > >in technical circles, poses a barrier for inclusion to some potential > >members of the development and user community, due to the historical

Re: [PATCH v6 1/4] iio: core: Add optional symbolic label to a device channel

2020-09-25 Thread Jonathan Cameron
On Mon, 21 Sep 2020 16:30:17 +0300 Cristian Pop wrote: > If a label is defined in the device tree for this channel add that > to the channel specific attributes. This is useful for userspace to > be able to identify an individual channel. > > Signed-off-by: Cristian Pop Hi Cristian, Looks good

Covid19

2020-09-25 Thread Honolulu COVID 19 Emergency Hospital
-- Dear Beloved As you read this, I don't want you to feel sorry for me, because, I believe everyone will die someday. My Name is Mrs Aimi Jack, I'm an epidemiology Working at the Honolulu COVID 19 Emergency Hospital in Honolulu, Hawaii USA. I have been diagnosed Positive Of The Coronavirus

Re: [PATCH v5 2/3] Documentation: ABI: testing: mt6360: Add ADC sysfs guideline

2020-09-25 Thread Jonathan Cameron
On Mon, 21 Sep 2020 19:24:01 +0800 Gene Chen wrote: > From: Gene Chen > > Add ABI documentation for mt6360 ADC sysfs interfaces. > > Signed-off-by: Gene Chen Hi Gene, My first thought was we don't need this now we are dealing with standard ABI only, but there is some useful additional docume

Re: [PATCH 1/5] misc: vop: change the way of allocating vring for noncoherent platform

2020-09-25 Thread Greg KH
On Fri, Sep 25, 2020 at 03:26:26PM +0800, Sherry Sun wrote: > For noncoherent platform, we should allocate vring through > dma_alloc_coherent api to ensure timely synchronization of vring. > The orginal way which used __get_free_pages and dma_map_single only > apply to coherent platforms. > > Sign

<    1   2   3   4   5   6   7   8   9   10   >