Re: [LTP] [f2fs] 02eb84b96b: ltp.swapon03.fail

2021-03-10 Thread Jaegeuk Kim
On 03/10, Huang Jianan wrote: > Hi Richard, > > On 2021/3/9 12:01, Matthew Wilcox wrote: > > On Tue, Mar 09, 2021 at 10:23:35AM +0800, Weichao Guo wrote: > > > Hi Richard, > > > > > > On 2021/3/8 19:53, Richard Palethorpe wrote: > > > > Hello, > > > > > > > > > kern :err : [ 187.461914] F2FS

Re: Logitech G602 wireless mouse kernel error messages in 5.10.11+ kernels

2021-03-10 Thread Mark Hounschell
On 3/10/21 3:24 PM, Mark Hounschell wrote: On 3/10/21 2:56 PM, Filipe Laíns wrote: On Wed, 2021-03-10 at 13:55 -0500, Mark Hounschell wrote: I have been using a Logitech wireless G602 mouse since forever. As of kernel 5.10.11 I get the following kernel messages; $dmesg | grep -i logitech (sn

Re: [PATCH v2 00/25] KVM SGX virtualization support

2021-03-10 Thread Kai Huang
On Wed, 2021-03-10 at 20:01 +0200, Jarkko Sakkinen wrote: > On Tue, Mar 09, 2021 at 10:30:37AM +0100, Borislav Petkov wrote: > > On Tue, Mar 09, 2021 at 02:38:49PM +1300, Kai Huang wrote: > > > This series adds KVM SGX virtualization support. The first 14 patches > > > starting > > > with x86/sgx

[PATCH v2 RESEND] bus: mhi: core: Wait for ready state after reset

2021-03-10 Thread Jeffrey Hugo
After the device has signaled the end of reset by clearing the reset bit, it will automatically reinit MHI and the internal device structures. Once That is done, the device will signal it has entered the ready state. Signaling the ready state involves sending an interrupt (MSI) to the host which

[PATCH 3/3] perf test: Add 30s timeout for wait for daemon start.

2021-03-10 Thread Ian Rogers
Retry the ping loop upto 600 times, or approximately 30 seconds, to make sure the test does hang at start up. Signed-off-by: Ian Rogers --- tools/perf/tests/shell/daemon.sh | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/perf/tests/shell/daemon.sh b/tools/perf/tests/shell/daemon

[PATCH 1/3] perf test: Remove unused argument

2021-03-10 Thread Ian Rogers
Remove unused argument from daemon_exit. Signed-off-by: Ian Rogers --- tools/perf/tests/shell/daemon.sh | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tools/perf/tests/shell/daemon.sh b/tools/perf/tests/shell/daemon.sh index 5ad3ca8d681b..66ad56b4e0a5 100755

[PATCH 2/3] perf test: Cleanup daemon if test is interrupted.

2021-03-10 Thread Ian Rogers
Reorder daemon_start and daemon_exit as the trap handler is added in daemon_start referencing daemon_exit. Signed-off-by: Ian Rogers --- tools/perf/tests/shell/daemon.sh | 34 +++- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/tools/perf/tests/shell/

[PATCH v3 RESEND] bus: mhi: core: Return EAGAIN if MHI ring is full

2021-03-10 Thread Jeffrey Hugo
From: Fan Wu Currently ENOMEM is returned when MHI ring is full. This error code is very misleading. Change to EAGAIN instead. Signed-off-by: Fan Wu Signed-off-by: Jeffrey Hugo Reviewed-by: Hemant Kumar Reviewed-by: Manivannan Sadhasivam --- drivers/bus/mhi/core/main.c | 2 +- 1 file change

Re: -Walign-mismatch in block/blk-mq.c

2021-03-10 Thread Jens Axboe
On 3/10/21 1:33 PM, Nathan Chancellor wrote: > On Wed, Mar 10, 2021 at 01:21:52PM -0700, Jens Axboe wrote: >> On 3/10/21 11:23 AM, Nathan Chancellor wrote: >>> Hi Jens, >>> >>> There is a new clang warning added in the development branch, >>> -Walign-mismatch, which shows an instance in block/blk-m

Re: [PATCH v2] iommu/tegra-smmu: Add pagetable mappings to debugfs

2021-03-10 Thread Dmitry Osipenko
10.03.2021 06:36, Nicolin Chen пишет: > This patch dumps all active mapping entries from pagetable > to a debugfs directory named "mappings". > > Ataching an example: > > SWGROUP: hc > ASID: 0 > reg: 0x250 > PTB_ASID: 0xe0080004 > as->pd_dma: 0x80004000 > { > [1023] 0xf0080013 (1) >

RE: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-10 Thread Asmaa Mnebhi
Hi Linus, Thanks for your feedback. I apologize for the late response, I didn’t receive any email notification due to the invalid email address "as...@mellanox.com". I have added the right address "as...@nvidia.com" and I am replying to your comments below (found and copied from https://www.sp

Re: [PATCH v3 2/5] x86/sgx: Use sgx_free_epc_page() in sgx_reclaim_pages()

2021-03-10 Thread Kai Huang
On Wed, 2021-03-10 at 17:11 +0200, Jarkko Sakkinen wrote: > On Wed, Mar 03, 2021 at 08:59:17AM -0800, Dave Hansen wrote: > > On 3/3/21 7:03 AM, Jarkko Sakkinen wrote: > > > diff --git a/arch/x86/kernel/cpu/sgx/main.c > > > b/arch/x86/kernel/cpu/sgx/main.c > > > index 52d070fb4c9a..ed99c60024dc 100

Re: -Walign-mismatch in block/blk-mq.c

2021-03-10 Thread Nathan Chancellor
On Wed, Mar 10, 2021 at 01:21:52PM -0700, Jens Axboe wrote: > On 3/10/21 11:23 AM, Nathan Chancellor wrote: > > Hi Jens, > > > > There is a new clang warning added in the development branch, > > -Walign-mismatch, which shows an instance in block/blk-mq.c: > > > > block/blk-mq.c:630:39: warning: p

[PATCH] net: ipv6: route.c:fix indentation

2021-03-10 Thread Shubhankar Kuranagatti
The series of space has been replaced by tab space wherever required. Signed-off-by: Shubhankar Kuranagatti --- net/ipv6/route.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 1536f4948e86..60058f3dcc48 1

Re: Logitech G602 wireless mouse kernel error messages in 5.10.11+ kernels

2021-03-10 Thread Mark Hounschell
On 3/10/21 2:56 PM, Filipe Laíns wrote: On Wed, 2021-03-10 at 13:55 -0500, Mark Hounschell wrote: I have been using a Logitech wireless G602 mouse since forever. As of kernel 5.10.11 I get the following kernel messages; $dmesg | grep -i logitech (snip) . . . Every mouse event seems to produc

Re: [PATCH] watchdog: qcom: Move suspend/resume to suspend_late/resume_early

2021-03-10 Thread Doug Anderson
Hi, On Wed, Mar 10, 2021 at 12:20 PM Sai Prakash Ranjan wrote: > > During suspend/resume usecases and tests, it is common to see issues > such as lockups either in suspend path or resume path because of the > bugs in the corresponding device driver pm handling code. In such cases, > it is importa

Re: [PATCH V3 XRT Alveo 11/18] fpga: xrt: UCS platform driver

2021-03-10 Thread Lizhi Hou
Hi Tom, On 03/02/2021 08:09 AM, Tom Rix wrote: On 2/17/21 10:40 PM, Lizhi Hou wrote: Add UCS driver. UCS is a hardware function discovered by walking xclbin What does UCS stand for ? add to commit log UCS stands for User Clock Subsystem. I will add it to log. metadata. A platform device nod

Re: [PATCH 5.10 00/47] 5.10.23-rc2 review

2021-03-10 Thread Pavel Machek
Hi! > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.10.23 release. > There are 47 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. CIP testing did not find any

Re: [PATCH] watchdog: qcom: Move suspend/resume to suspend_late/resume_early

2021-03-10 Thread Guenter Roeck
On Thu, Mar 11, 2021 at 01:50:04AM +0530, Sai Prakash Ranjan wrote: > During suspend/resume usecases and tests, it is common to see issues > such as lockups either in suspend path or resume path because of the > bugs in the corresponding device driver pm handling code. In such cases, > it is import

Re: [PATCH V1 1/6] dt-bindings: Added the yaml bindings for DCC

2021-03-10 Thread Bjorn Andersson
On Wed 10 Mar 10:46 CST 2021, Souradeep Chowdhury wrote: > Documentation for Data Capture and Compare(DCC) device tree bindings > in yaml format. > > Signed-off-by: Souradeep Chowdhury > --- > .../devicetree/bindings/arm/msm/qcom,dcc.yaml | 49 > ++ > 1 file changed, 4

Re: [PATCH] iommu/tegra-smmu: Fix mc errors on tegra124-nyan

2021-03-10 Thread Dmitry Osipenko
10.03.2021 22:13, Dmitry Osipenko пишет: > 19.02.2021 01:07, Nicolin Chen пишет: >> Commit 25938c73cd79 ("iommu/tegra-smmu: Rework tegra_smmu_probe_device()") >> removed certain hack in the tegra_smmu_probe() by relying on IOMMU core to >> of_xlate SMMU's SID per device, so as to get rid of tegra_s

Re: [PATCH 4.19 00/39] 4.19.180-rc1 review

2021-03-10 Thread Pavel Machek
Hi! > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 4.19.180 release. > There are 39 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. CIP testing did not find any

Re: -Walign-mismatch in block/blk-mq.c

2021-03-10 Thread Jens Axboe
On 3/10/21 11:23 AM, Nathan Chancellor wrote: > Hi Jens, > > There is a new clang warning added in the development branch, > -Walign-mismatch, which shows an instance in block/blk-mq.c: > > block/blk-mq.c:630:39: warning: passing 8-byte aligned argument to > 32-byte aligned parameter 2 of 'smp_ca

Re: [PATCH 4.4 0/7] 4.4.261-rc1 review

2021-03-10 Thread Pavel Machek
Hi! > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 4.4.261 release. > There are 7 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. CIP testing did not find any p

[PATCH] watchdog: qcom: Move suspend/resume to suspend_late/resume_early

2021-03-10 Thread Sai Prakash Ranjan
During suspend/resume usecases and tests, it is common to see issues such as lockups either in suspend path or resume path because of the bugs in the corresponding device driver pm handling code. In such cases, it is important that watchdog is active to make sure that we either receive a watchdog p

Re: MaxLinear, please maintain your drivers was Re: [PATCH] leds: lgm: fix gpiolib dependency

2021-03-10 Thread Hauke Mehrtens
On 3/10/21 5:57 PM, Arnd Bergmann wrote: On Wed, Mar 10, 2021 at 8:30 AM Pavel Machek wrote: Hi! I'd like people from Intel to contact me. There's more to fix there, and AFAICT original author went away. The following message to was undeliverable. : Recipient +address rejected: User un

Re: [PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present

2021-03-10 Thread Mark Brown
On Wed, Mar 10, 2021 at 07:17:13PM +, Jon Hunter wrote: > On 10/03/2021 18:37, Pierre-Louis Bossart wrote: > > +EXPORT_SYMBOL_GPL(dmi_available); > > -   if (!is_acpi_device_node(card->dev->fwnode)) > > +   if (!dmi_available) > Sounds good to me. I would have done the same if I had

Re: [PATCH RESEND 0/2] Common protected-clocks implementation

2021-03-10 Thread Bjorn Andersson
On Tue 09 Mar 02:03 CST 2021, Rasmus Villemoes wrote: > On 03/09/2020 06.00, Samuel Holland wrote: > > Stephen, Maxime, > > > > You previously asked me to implement the protected-clocks property in a > > driver-independent way: > > > > https://www.spinics.net/lists/arm-kernel/msg753832.html > >

Re: [BUG] One-liner array initialization with two pointers in BPF results in NULLs

2021-03-10 Thread Andrii Nakryiko
On Wed, Mar 10, 2021 at 8:59 AM Yonghong Song wrote: > > > > On 3/10/21 3:48 AM, Florent Revest wrote: > > On Wed, Mar 10, 2021 at 6:16 AM Yonghong Song wrote: > >> On 3/9/21 7:43 PM, Yonghong Song wrote: > >>> On 3/9/21 5:54 PM, Florent Revest wrote: > I noticed that initializing an array o

Re: [PATCH v10 01/20] dlb: add skeleton for DLB driver

2021-03-10 Thread Dan Williams
On Mon, Mar 8, 2021 at 8:53 PM Chen, Mike Ximing wrote: > > > > -Original Message- > > From: Greg KH > > On Mon, Mar 08, 2021 at 08:00:00PM +, Chen, Mike Ximing wrote: > > > > > > Hi Greg, > > > > > > While waiting for the feedback from the networking maintainers, I am > > > wondering

[PATCH v2 1/1] kvfree_rcu: Release a page cache under memory pressure

2021-03-10 Thread Uladzislau Rezki (Sony)
From: Zhang Qiang Add a drain_page_cache() function to drain a per-cpu page cache. The reason behind of it is a system can run into a low memory condition, in that case a page shrinker can ask for its users to free their caches in order to get extra memory available for other needs in a system.

Re: [PATCH v5 0/5] proc: Relax check of mount visibility

2021-03-10 Thread Alexey Gladkov
On Wed, Mar 10, 2021 at 07:19:55PM +0100, Alexey Gladkov wrote: > If only the dynamic part of procfs is mounted (subset=pid), then there is no > need to check if procfs is fully visible to the user in the new user > namespace. I'm sorry about that unfinished patch set. Please ignore it. > Change

Re: [PATCH] vfio/pci: Handle concurrent vma faults

2021-03-10 Thread Peter Xu
On Wed, Mar 10, 2021 at 02:40:11PM -0400, Jason Gunthorpe wrote: > On Wed, Mar 10, 2021 at 11:34:06AM -0700, Alex Williamson wrote: > > > > I think after the address_space changes this should try to stick with > > > a normal io_rmap_pfn_range() done outside the fault handler. > > > > I assume you

Re: [PATCH 5.10 23/49] ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807

2021-03-10 Thread Pavel Machek
Hi! On Wed 2021-03-10 14:23:34, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > From: Jasper St. Pierre Something is funny with the From header here. But that's not main thing -- this patch is evil. > > [ Upstream commit 25417185e9b5ff90746d50769d2a3fcd1629e254 ] > > The GI

Re: [PATCH 5.10 23/49] ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807

2021-03-10 Thread Pavel Machek
Hi! > From: Greg Kroah-Hartman > > From: Jasper St. Pierre Something is funny with the From header here. But that's not main thing -- this patch is evil. > Unfortunately, the backlight controller only confuses userspace, which > sees the existence of a backlight device node and has the unreal

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Borislav Petkov
On Wed, Mar 10, 2021 at 11:46:44AM -0800, Ricardo Neri wrote: > But this series provides the use case, right? Kan's patches handle PMU > counters > that may differ cross types of CPUs. In patch 2, get_hybrid_params() > needs to check first if X86_FEATURE_HYBRID_CPU is enabled before > querying the

Re: [PATCH 5.10 00/49] 5.10.23-rc1 review

2021-03-10 Thread Shuah Khan
On 3/10/21 11:27 AM, Greg Kroah-Hartman wrote: On Wed, Mar 10, 2021 at 11:08:10PM +0530, Naresh Kamboju wrote: On Wed, 10 Mar 2021 at 18:54, wrote: From: Greg Kroah-Hartman This is the start of the stable review cycle for the 5.10.23 release. There are 49 patches in this series, all will be

Re: [PATCH 1/1] nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a

2021-03-10 Thread Keith Busch
On Wed, Mar 10, 2021 at 02:41:10PM +0100, Christoph Hellwig wrote: > On Wed, Mar 10, 2021 at 02:21:56PM +0100, Christoph Hellwig wrote: > > Can you try this patch instead? > > > > http://lists.infradead.org/pipermail/linux-nvme/2021-February/023183.html > > Actually, please try the patch below in

Re: [PATCH v3 2/4] mm: memcontrol: make page_memcg{_rcu} only applicable for non-kmem page

2021-03-10 Thread Roman Gushchin
On Tue, Mar 09, 2021 at 06:07:15PM +0800, Muchun Song wrote: > We want to reuse the obj_cgroup APIs to charge the kmem pages. > If we do that, we should store an object cgroup pointer to > page->memcg_data for the kmem pages. > > Finally, page->memcg_data can have 3 different meanings. > > 1) F

Re: [RFC PATCH 0/3] hugetlb: add demote/split page functionality

2021-03-10 Thread Mike Kravetz
On 3/10/21 8:46 AM, Zi Yan wrote: > The high level goal of this patchset seems to enable flexible huge page > allocation from a single pool, when multiple huge page sizes are available > to use. The limitation of existing mechanism is that user has to specify > how many huge pages he/she wants and

Re: Logitech G602 wireless mouse kernel error messages in 5.10.11+ kernels

2021-03-10 Thread Filipe Laíns
On Wed, 2021-03-10 at 13:55 -0500, Mark Hounschell wrote: > I have been using a Logitech wireless G602 mouse since forever. As of > kernel 5.10.11 I get the following kernel messages; > > > $dmesg | grep -i logitech (snip) > . > . > . > Every mouse event seems to produce another "Unexpected inpu

Re: [PATCH v9 0/4] Introduce TEE based Trusted Keys support

2021-03-10 Thread Jarkko Sakkinen
On Tue, Mar 09, 2021 at 02:40:07PM +0530, Sumit Garg wrote: > On Thu, 4 Mar 2021 at 21:14, Jarkko Sakkinen wrote: > > > > On Thu, Mar 04, 2021 at 03:30:18PM +0530, Sumit Garg wrote: > > > Hi Jarkko, > > > > > > On Mon, 1 Mar 2021 at 18:41, Sumit Garg wrote: > > > > > > > > Add support for TEE bas

Re: macb broken on HiFive Unleashed

2021-03-10 Thread Andreas Schwab
On Mär 09 2021, claudiu.bez...@microchip.com wrote: > I don't have a SiFive HiFive Unleashed to investigate this. Can you check > if reverting commits on macb driver b/w 5.10 and 5.11 solves your issues: > > git log --oneline v5.10..v5.11 -- drivers/net/ethernet/cadence/ > 1d0d561ad1d7 net: macb:

Re: [PATCH v3 3/4] mm: memcontrol: use obj_cgroup APIs to charge kmem pages

2021-03-10 Thread Roman Gushchin
On Tue, Mar 09, 2021 at 06:07:16PM +0800, Muchun Song wrote: > Since Roman series "The new cgroup slab memory controller" applied. All > slab objects are charged via the new APIs of obj_cgroup. The new APIs > introduce a struct obj_cgroup to charge slab objects. It prevents > long-living objects fr

Re: [PATCH 2/3] tpm: acpi: Check eventlog signature before using it

2021-03-10 Thread Jarkko Sakkinen
On Mon, Mar 08, 2021 at 10:19:53PM -0500, Stefan Berger wrote: > Check the eventlog signature before using it. This avoids using an > empty log, as may be the case when QEMU created the ACPI tables, > rather than probing the EFI log next. This resolves an issue where > the EFI log was empty since a

Re: [PATCH RESEND][next] rtl8xxxu: Fix fall-through warnings for Clang

2021-03-10 Thread Jes Sorensen
On 3/10/21 2:45 PM, Kees Cook wrote: > On Wed, Mar 10, 2021 at 02:31:57PM -0500, Jes Sorensen wrote: >> On 3/10/21 2:14 PM, Kees Cook wrote: >>> Hm, this conversation looks like a miscommunication, mainly? I see >>> Gustavo, as requested by many others[1], replacing the fallthrough >>> comments wit

Re: [PATCH 1/3] tpm: efi: Use local variable for calculating final log size

2021-03-10 Thread Jarkko Sakkinen
On Mon, Mar 08, 2021 at 10:19:52PM -0500, Stefan Berger wrote: > When tpm_read_log_efi was called multiple times, which happens when one > loads and unloads a TPM2 driver multiple times, then the global variable > efi_tpm_final_log_size will at some point become a negative number due > to the subtr

Re: [PATCH 1/1] ACPI: fix acpi table use after free

2021-03-10 Thread David Hildenbrand
The same could be reproduced via zone shuffling with a little luck. But nobody does that in practice. Dan will most certainly object. And I don't know what makes you speak in absolute words here. This would be relatively straightforward to address if ACPICA was not involved in it, but unfor

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Ricardo Neri
On Wed, Mar 10, 2021 at 05:53:58PM +0100, Borislav Petkov wrote: > On Wed, Mar 10, 2021 at 08:37:37AM -0800, kan.li...@linux.intel.com wrote: > > From: Ricardo Neri > > > > Add feature enumeration to identify a processor with Intel Hybrid > > Technology: one in which CPUs of more than one type ar

Re: [PATCH RESEND][next] rtl8xxxu: Fix fall-through warnings for Clang

2021-03-10 Thread Kees Cook
On Wed, Mar 10, 2021 at 02:31:57PM -0500, Jes Sorensen wrote: > On 3/10/21 2:14 PM, Kees Cook wrote: > > On Fri, Mar 05, 2021 at 03:40:33PM +0200, Kalle Valo wrote: > >> "Gustavo A. R. Silva" writes: > >> > >>> In preparation to enable -Wimplicit-fallthrough for Clang, fix > >>> multiple warnings

Re: [RFC PATCH 0/3] hugetlb: add demote/split page functionality

2021-03-10 Thread Mike Kravetz
On 3/10/21 8:23 AM, Michal Hocko wrote: > On Mon 08-03-21 16:18:52, Mike Kravetz wrote: > [...] >> Converting larger to smaller hugetlb pages can be accomplished today by >> first freeing the larger page to the buddy allocator and then allocating >> the smaller pages. However, there are two issues

Re: [PATCH v2] certs: Fix wrong kconfig option used for x509_revocation_list

2021-03-10 Thread Jarkko Sakkinen
On Wed, Mar 10, 2021 at 09:43:33PM +0200, Jarkko Sakkinen wrote: > On Thu, Mar 04, 2021 at 12:50:30PM -0500, Eric Snowberg wrote: > > Fix a build issue when x509_revocation_list is not defined. > > > > $ make ARCH=x86_64 O=build64 all > > > > EXTRACT_CERTS ../ > > At main.c:154: > > - SSL erro

Re: [PATCH v2] certs: Fix wrong kconfig option used for x509_revocation_list

2021-03-10 Thread Jarkko Sakkinen
On Thu, Mar 04, 2021 at 12:50:30PM -0500, Eric Snowberg wrote: > Fix a build issue when x509_revocation_list is not defined. > > $ make ARCH=x86_64 O=build64 all > > EXTRACT_CERTS ../ > At main.c:154: > - SSL error:0909006C:PEM routines:get_name:no start line: > crypto/pem/pem_lib.c:745 > ext

Re: [PATCH v5 4/5] proc: Relax check of mount visibility

2021-03-10 Thread kernel test robot
Hi Alexey, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on kees/for-next/pstore linus/master v5.12-rc2 next-20210310] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

[GIT PULL] s390 updates for 5.12-rc3

2021-03-10 Thread Heiko Carstens
Hi Linus, please pull some s390 updates for 5.12-rc3. All of this was actually already beginning of last week in linux-next, however I rebased this from rc1 to rc2. Thanks, Heiko The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -

Re: [PATCH 1/1] ACPI: fix acpi table use after free

2021-03-10 Thread Mike Rapoport
On Wed, Mar 10, 2021 at 08:10:42PM +0100, David Hildenbrand wrote: > > > > > Memory gets allocated and used in a different order, which seems to have > > > > exposed (yet another) latent BUG. > > > > > > Well, you can call it that, or you can say that things worked under > > > certain assumptions

[PATCH] ASoC: soc-core: fix DMI handling

2021-03-10 Thread Pierre-Louis Bossart
When DMI information is not present, trying to assign the card long name results in the following warning. WARNING KERN tegra-audio-graph-card sound: ASoC: no DMI vendor name! The initial solution suggested was to test if the card device is an ACPI one. This causes a regression visible to userspa

Re: [PATCH] mm/hugetlb: Fix build with !ARCH_WANT_HUGE_PMD_SHARE

2021-03-10 Thread Peter Xu
On Wed, Mar 10, 2021 at 11:21:50AM -0800, Mike Kravetz wrote: > On 3/10/21 10:53 AM, Peter Xu wrote: > > want_pmd_share() is undefined with !ARCH_WANT_HUGE_PMD_SHARE since it's put > > by accident into a "#ifdef ARCH_WANT_HUGE_PMD_SHARE" block. Moving it out > > won't work either since vma_shareab

Re: [PATCH 8/9] vfio/pci: export nvlink2 support into vendor vfio_pci drivers

2021-03-10 Thread Jason Gunthorpe
On Thu, Mar 11, 2021 at 01:24:47AM +1100, Alexey Kardashevskiy wrote: > > > On 11/03/2021 00:02, Jason Gunthorpe wrote: > > On Wed, Mar 10, 2021 at 02:57:57PM +0200, Max Gurtovoy wrote: > > > > > > > +    .err_handler    = &vfio_pci_core_err_handlers, > > > > > +}; > > > > > + > > > > > +#if

Re: [syzbot] BUG: unable to handle kernel NULL pointer dereference in htb_select_queue

2021-03-10 Thread Eric Dumazet
On 3/10/21 7:55 PM, Maxim Mikityanskiy wrote: > On 2021-03-10 19:03, Eric Dumazet wrote: >> >> >> On 3/10/21 3:54 PM, Maxim Mikityanskiy wrote: >>> On 2021-03-09 17:20, Eric Dumazet wrote: On 3/9/21 4:13 PM, syzbot wrote: > Hello, > > syzbot found the following issue o

Re: [PATCH v5 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-10 Thread kernel test robot
Hi Liu, Thank you for the patch! Yet something to improve: [auto build test ERROR on shawnguo/for-next] [also build test ERROR on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip tegra-drm/drm/tegra/for-next linus/master drm-exynos/exynos-drm-next v5.12-rc2 next-20210310] [cannot apply

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Srinivas Pandruvada
On Wed, 2021-03-10 at 17:53 +0100, Borislav Petkov wrote: > On Wed, Mar 10, 2021 at 08:37:37AM -0800, kan.li...@linux.intel.com > wrote: > > From: Ricardo Neri > > > > Add feature enumeration to identify a processor with Intel Hybrid > > Technology: one in which CPUs of more than one type are the

Re: [PATCH v2 1/1] fs: Allow no_new_privs tasks to call chroot(2)

2021-03-10 Thread Jann Horn
On Wed, Mar 10, 2021 at 8:23 PM Eric W. Biederman wrote: > > Mickaël Salaün writes: > > > From: Mickaël Salaün > > > > Being able to easily change root directories enable to ease some > > development workflow and can be used as a tool to strengthen > > unprivileged security sandboxes. chroot(2)

RE: [PATCH v2 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-10 Thread Asmaa Mnebhi
Hi everyone, I apologize for sending my second patch without addressing your comments. I didn't receive any email about them because the email used was "as...@mellanox.com" which is no longer valid. It is now "as...@nvidia.com". I don't know how that happened since I submitted my patches with t

Re: [PATCH v3 0/4] keys: Add EFI_CERT_X509_GUID support for dbx/mokx entries

2021-03-10 Thread Jarkko Sakkinen
On Tue, Mar 09, 2021 at 01:20:42PM +, David Howells wrote: > > Here's my take on v5 of Eric Snowberg's patches[1]: > > This series of patches adds support for EFI_CERT_X509_GUID entries [2]. It > has > been expanded to not only include dbx entries but also entries in the mokx. > Additionall

Re: [PATCH 1/3] PCI: controller: al: select CONFIG_PCI_ECAM

2021-03-10 Thread Bjorn Helgaas
On Mon, Mar 08, 2021 at 04:24:46PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Compile-testing this driver without ECAM support results in a link > failure: > > ld.lld: error: undefined symbol: pci_ecam_map_bus > >>> referenced by pcie-al.c > >>> pci/controller/dwc/pcie-a

Re: [PATCH RESEND][next] rtl8xxxu: Fix fall-through warnings for Clang

2021-03-10 Thread Jes Sorensen
On 3/10/21 2:14 PM, Kees Cook wrote: > On Fri, Mar 05, 2021 at 03:40:33PM +0200, Kalle Valo wrote: >> "Gustavo A. R. Silva" writes: >> >>> In preparation to enable -Wimplicit-fallthrough for Clang, fix >>> multiple warnings by replacing /* fall through */ comments with >>> the new pseudo-keyword m

Re: [PATCH v3 4/4] mm: memcontrol: move PageMemcgKmem to the scope of CONFIG_MEMCG_KMEM

2021-03-10 Thread Roman Gushchin
On Tue, Mar 09, 2021 at 06:07:17PM +0800, Muchun Song wrote: > The page only can be marked as kmem when CONFIG_MEMCG_KMEM is enabled. > So move PageMemcgKmem() to the scope of the CONFIG_MEMCG_KMEM. > > As a bonus, on !CONFIG_MEMCG_KMEM build some code can be compiled out. > > Signed-off-by: Much

Re: [PATCH 00/13] PCI: MSI: Getting rid of msi_controller, and other cleanups

2021-03-10 Thread Bjorn Helgaas
On Thu, Feb 25, 2021 at 03:10:10PM +, Marc Zyngier wrote: > The msi_controller data structure was the first attempt at treating > MSIs like any other interrupt. We replaced it a few years ago with the > generic MSI framework, but as it turns out, some older drivers are > still using it. > > Th

Re: [PATCH v2 1/1] fs: Allow no_new_privs tasks to call chroot(2)

2021-03-10 Thread Eric W. Biederman
Mickaël Salaün writes: > From: Mickaël Salaün > > Being able to easily change root directories enable to ease some > development workflow and can be used as a tool to strengthen > unprivileged security sandboxes. chroot(2) is not an access-control > mechanism per se, but it can be used to limit

Re: [RFC PATCH 18/18] ioasid: Add /dev/ioasid for userspace

2021-03-10 Thread Jason Gunthorpe
On Sat, Feb 27, 2021 at 02:01:26PM -0800, Jacob Pan wrote: > +/* IOCTLs for IOASID file descriptor (/dev/ioasid) */ > + > +/** > + * IOASID_GET_API_VERSION - _IO(IOASID_TYPE, IOASID_BASE + 0) > + * > + * Report the version of the IOASID API. This allows us to bump the entire > +

Re: [PATCH] mm/hugetlb: Fix build with !ARCH_WANT_HUGE_PMD_SHARE

2021-03-10 Thread Mike Kravetz
On 3/10/21 10:53 AM, Peter Xu wrote: > want_pmd_share() is undefined with !ARCH_WANT_HUGE_PMD_SHARE since it's put > by accident into a "#ifdef ARCH_WANT_HUGE_PMD_SHARE" block. Moving it out > won't work either since vma_shareable() is only defined within the block. > Define it for !ARCH_WANT_HUGE

Re: [PATCH 1/3] ASoC: simple-card-utils: Fix device module clock

2021-03-10 Thread Sameer Pujar
On 3/10/2021 11:44 PM, Michael Walle wrote: Btw I'm pretty sure, the MCLK was enabled and disabled depending on whether there was an audio stream, the last time I've measured the clock. This may be true in your case because wm8904 driver does an explicit clock enable/disable and does not r

Re: [PATCH v2] riscv: Improve KASAN_VMALLOC support

2021-03-10 Thread Alex Ghiti
Le 3/9/21 à 9:37 PM, Palmer Dabbelt a écrit : On Fri, 26 Feb 2021 10:01:54 PST (-0800), a...@ghiti.fr wrote: When KASAN vmalloc region is populated, there is no userspace process and the page table in use is swapper_pg_dir, so there is no need to read SATP. Then we can use the same scheme used b

Re: [PATCH V2] ASoC: soc-core: Prevent warning if no DMI table is present

2021-03-10 Thread Jon Hunter
On 10/03/2021 18:37, Pierre-Louis Bossart wrote: > Build time dependencies aren't going to help anything, arm64 (and to my understanding some future x86 systems, LynxPoint IIRC) supports both DT and ACPI and so you have kernels built with support for both. >> >>> well, that's what

Re: [PATCH v2 2/4] userfaultfd.2: Add write-protect mode

2021-03-10 Thread Alejandro Colomar (man-pages)
Hi Peter, Please see a few comments below. Thanks, Alex On 3/4/21 5:31 PM, Peter Xu wrote: Write-protect mode is supported starting from Linux 5.7. Signed-off-by: Peter Xu --- man2/userfaultfd.2 | 98 +- 1 file changed, 96 insertions(+), 2 dele

Re: [PATCH RESEND][next] rtl8xxxu: Fix fall-through warnings for Clang

2021-03-10 Thread Kees Cook
On Fri, Mar 05, 2021 at 03:40:33PM +0200, Kalle Valo wrote: > "Gustavo A. R. Silva" writes: > > > In preparation to enable -Wimplicit-fallthrough for Clang, fix > > multiple warnings by replacing /* fall through */ comments with > > the new pseudo-keyword macro fallthrough; instead of letting the

[PATCH v2 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-10 Thread Asmaa Mnebhi
From: Asmaa Mnebhi There are 3 possible GPIO interrupts which can be supported on BlueField-2 boards. Some BlueField boards support: 1) PHY interrupt only 2) PHY interrupt and Reset interrupt 3) Low power interrupt only There is one hardware line shared among all GPIOs, I2C and MDIO. So the inte

Re: [PATCH v11 01/10] oid_registry: Add OIDs for ECDSA with sha224/256/384/512

2021-03-10 Thread Stefan Berger
On 3/10/21 10:35 AM, Jarkko Sakkinen wrote: On Fri, Mar 05, 2021 at 03:59:47PM -0500, Stefan Berger wrote: From: Stefan Berger Add OIDs for ECDSA with sha224/256/384/512. Nit: SHA224/256/384/512 (sorry cannot help myself with these, have been doing this way too much, consider me as a bot :-

Re: [PATCH] iommu/tegra-smmu: Fix mc errors on tegra124-nyan

2021-03-10 Thread Dmitry Osipenko
19.02.2021 01:07, Nicolin Chen пишет: > Commit 25938c73cd79 ("iommu/tegra-smmu: Rework tegra_smmu_probe_device()") > removed certain hack in the tegra_smmu_probe() by relying on IOMMU core to > of_xlate SMMU's SID per device, so as to get rid of tegra_smmu_find() and > tegra_smmu_configure() that a

Re: [PATCH 2/3] Documentation: riscv: Add documentation that describes the VM layout

2021-03-10 Thread Alex Ghiti
Hi Arnd, Le 3/10/21 à 6:42 AM, Arnd Bergmann a écrit : On Thu, Feb 25, 2021 at 12:56 PM Alex Ghiti wrote: Le 2/25/21 à 5:34 AM, David Hildenbrand a écrit : || | |> + ffc0 | -256GB | ffc7 | 32 GB | kasan +

Re: [PATCH v6 02/15] gpio: regmap: set gpio_chip of_node

2021-03-10 Thread Álvaro Fernández Rojas
Hi Michael, > El 10 mar 2021, a las 19:27, Michael Walle escribió: > > Am 2021-03-10 13:54, schrieb Álvaro Fernández Rojas: >> This is needed for properly registering GPIO regmap as a child of a regmap >> pin controller. >> Signed-off-by: Álvaro Fernández Rojas >> Reviewed-by: Michael Walle >>

Re: [PATCH 1/1] ACPI: fix acpi table use after free

2021-03-10 Thread David Hildenbrand
Memory gets allocated and used in a different order, which seems to have exposed (yet another) latent BUG. Well, you can call it that, or you can say that things worked under certain assumptions regarding the memory allocation order which are not met any more. The same could be reproduced v

Re: [PATCH v6 04/15] dt-bindings: add BCM6328 pincontroller binding documentation

2021-03-10 Thread Álvaro Fernández Rojas
Hi Rob, > El 10 mar 2021, a las 19:45, Rob Herring escribió: > > On Wed, Mar 10, 2021 at 11:03 AM Álvaro Fernández Rojas > wrote: >> >> Hi Rob, >> >>> El 10 mar 2021, a las 18:45, Rob Herring escribió: >>> >>> On Wed, Mar 10, 2021 at 5:55 AM Álvaro Fernández Rojas >>> wrote: Add

Re: [PATCH v4] fs/proc: Expose RSEQ configuration

2021-03-10 Thread Piotr Figiel
On Tue, Feb 02, 2021 at 06:37:09PM +0100, Piotr Figiel wrote: > For userspace checkpoint and restore (C/R) some way of getting process > state containing RSEQ configuration is needed. [...] > To achieve above goals expose the RSEQ ABI address and the signature > value with the new procfs file "/p

Re: [PATCH] exit: trigger panic when init process is set to SIGNAL_GROUP_EXIT

2021-03-10 Thread Eric W. Biederman
Oleg Nesterov writes: > On 03/10, Eric W. Biederman wrote: >> >> /* If global init has exited, >> * panic immediately to get a useable coredump. >> */ >> if (unlikely(is_global_init(tsk) && >> (thread_group_empty(tsk) || >> (tsk->signal->flags & SI

Re: [PATCH v2][next] scsi: mpt3sas: Replace one-element array with flexible-array in struct _MPI2_CONFIG_PAGE_IO_UNIT_3

2021-03-10 Thread Kees Cook
On Mon, Mar 08, 2021 at 02:41:29PM -0600, Gustavo A. R. Silva wrote: > On Mon, Mar 08, 2021 at 12:12:59PM -0800, James Bottomley wrote: > > On Mon, 2021-03-08 at 13:32 -0600, Gustavo A. R. Silva wrote: > > > Hi all, > > > > > > Friendly ping: who can review/take this, please? > > > > Well, before

Re: [PATCH v3 3/3] bus: mhi: core: Use poll register read API for RDDM download

2021-03-10 Thread Jeffrey Hugo
On 2/23/2021 8:44 PM, Bhaumik Bhatt wrote: Make use of mhi_poll_reg_field() API in order to poll for RDDM download in panic path to employ a common approach throughout the driver. Signed-off-by: Bhaumik Bhatt Seems ok to me. Reviewed-by: Jeffrey Hugo -- Jeffrey Hugo Qualcomm Technologies,

Re: [PATCH v3 2/3] bus: mhi: core: Move to polling method to wait for MHI ready

2021-03-10 Thread Jeffrey Hugo
On 2/23/2021 8:44 PM, Bhaumik Bhatt wrote: In certain devices, it is likely that there is no incoming MHI interrupt for a transition to MHI READY state. One such example is the move from Pass Through to an SBL or AMSS execution environment. In order to facilitate faster bootup times as there is n

[PATCH v3] x86, sched: Treat Intel SNC topology as default, COD as exception

2021-03-10 Thread Alison Schofield
Commit 1340ccfa9a9a ("x86,sched: Allow topologies where NUMA nodes share an LLC") added a vendor and model specific check to never call topology_sane() for Intel Skylake Server systems where NUMA nodes share an LLC. Intel Ice Lake and Sapphire Rapids CPUs also enumerate an LLC that is shared by mu

Re: [PATCH v2 0/5] Add option to mmap GEM buffers cached

2021-03-10 Thread Paul Cercueil
Hi Thomas, Le lun. 8 mars 2021 à 9:41, Thomas Zimmermann a écrit : Hi Paul, having individual functions for each mode only makes sense if the decision is at compile time. But in patch 5, you're working around your earlier design by introducing in-driver helpers that select the correct CMA

Logitech G602 wireless mouse kernel error messages in 5.10.11+ kernels

2021-03-10 Thread Mark Hounschell
I have been using a Logitech wireless G602 mouse since forever. As of kernel 5.10.11 I get the following kernel messages; $dmesg | grep -i logitech [7.102140] usb 3-3.4: Manufacturer: Logitech [ 10.036763] input: Logitech USB Receiver as /devices/pci:00/:00:08.1/:16:00.3/usb3

Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-10 Thread Paul Cercueil
Hi Hillf, Le lun. 8 mars 2021 à 11:47, Hillf Danton a écrit : On Sun, 7 Mar 2021 20:28:35 + Paul Cercueil wrote: With the module parameter ingenic-drm.cached_gem_buffers, it is possible to specify that we want GEM buffers backed by non-coherent memory. This dramatically speeds up so

Re: [net-next] net: mvpp2: Add reserved port private flag configuration

2021-03-10 Thread Russell King - ARM Linux admin
On Wed, Mar 10, 2021 at 11:42:09AM +0200, stef...@marvell.com wrote: > From: Stefan Chulski > > According to Armada SoC architecture and design, all the PPv2 ports > which are populated on the same communication processor silicon die > (CP11x) share the same Classifier and Parser engines. > > Ar

[PATCH v2] vfio/pci: Handle concurrent vma faults

2021-03-10 Thread Alex Williamson
vfio_pci_mmap_fault() incorrectly makes use of io_remap_pfn_range() from within a vm_ops fault handler. This function will trigger a BUG_ON if it encounters a populated pte within the remapped range, where any fault is meant to populate the entire vma. Concurrent inflight faults to the same vma w

Re: [PATCH v3 1/3] bus: mhi: core: Introduce internal register poll helper function

2021-03-10 Thread Jeffrey Hugo
On 2/23/2021 8:44 PM, Bhaumik Bhatt wrote: Introduce helper function to allow MHI core driver to poll for a value in a register field. This helps reach a common path to read and poll register values along with a retry time interval. Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/intern

Re: [PATCH v18 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-03-10 Thread Mike Kravetz
On 3/10/21 7:19 AM, Michal Hocko wrote: > On Mon 08-03-21 18:28:02, Muchun Song wrote: > [...] >> @@ -1447,7 +1486,7 @@ void free_huge_page(struct page *page) >> /* >> * Defer freeing if in non-task context to avoid hugetlb_lock deadlock. >> */ >> -if (!in_task()) { >> +if

Re: [syzbot] BUG: unable to handle kernel NULL pointer dereference in htb_select_queue

2021-03-10 Thread Maxim Mikityanskiy
On 2021-03-10 19:03, Eric Dumazet wrote: On 3/10/21 3:54 PM, Maxim Mikityanskiy wrote: On 2021-03-09 17:20, Eric Dumazet wrote: On 3/9/21 4:13 PM, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:    38b5133a octeontx2-pf: Fix otx2_get_fecparam() git tree:   net-

[PATCH v2] fb_defio: Remove custom address_space_operations

2021-03-10 Thread Matthew Wilcox (Oracle)
There's no need to give the page an address_space. Leaving the page->mapping as NULL will cause the VM to handle set_page_dirty() the same way that it's handled now, and that was the only reason to set the address_space in the first place. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Chri

Re: [v9 PATCH 13/13] mm: vmscan: shrink deferred objects proportional to priority

2021-03-10 Thread Yang Shi
On Wed, Mar 10, 2021 at 10:24 AM Shakeel Butt wrote: > > On Wed, Mar 10, 2021 at 9:46 AM Yang Shi wrote: > > > > The number of deferred objects might get windup to an absurd number, and it > > results in clamp of slab objects. It is undesirable for sustaining > > workingset. > > > > So shrink d

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