Re: [PATCH 1/9] fs: rename alloc_anon_inode to alloc_anon_inode_sb

2021-03-09 Thread David Hildenbrand
On 09.03.21 16:53, Christoph Hellwig wrote: Rename alloc_inode to free the name for a new variant that does not need boilerplate to create a super_block first. Signed-off-by: Christoph Hellwig --- arch/powerpc/platforms/pseries/cmm.c | 2 +- drivers/dma-buf/dma-buf.c| 2 +-

Re: [PATCH 10/11] PM / devfreq: imx8m-ddrc: remove imx8m_ddrc_get_dev_status

2021-03-09 Thread Chanwoo Choi
On 21. 3. 9. 오후 9:58, Dong Aisheng wrote: Current driver actually does not support simple ondemand governor as it's unable to provide device load information. So removing the unnecessary callback to avoid confusing. Right now the driver is using userspace governor by default. Signed-off-by:

Re: [PATCH 6/9] virtio_balloon: remove the balloon-kvm file system

2021-03-09 Thread David Hildenbrand
On 09.03.21 16:53, Christoph Hellwig wrote: Just use the generic anon_inode file system. Signed-off-by: Christoph Hellwig --- drivers/virtio/virtio_balloon.c | 30 +++--- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/drivers/virtio/virtio_balloon.c

Re: [PATCH v2 1/2] mm: disable LRU pagevec during the migration temporarily

2021-03-09 Thread Minchan Kim
On Tue, Mar 09, 2021 at 12:03:08PM +0100, Michal Hocko wrote: > On Mon 08-03-21 21:16:27, Minchan Kim wrote: > > LRU pagevec holds refcount of pages until the pagevec are drained. > > It could prevent migration since the refcount of the page is greater > > than the expection in migration logic. To

Re: [PATCH 3/9] powerpc/pseries: remove the ppc-cmm file system

2021-03-09 Thread Jason Gunthorpe
On Tue, Mar 09, 2021 at 04:53:42PM +0100, Christoph Hellwig wrote: > Just use the generic anon_inode file system. > > Signed-off-by: Christoph Hellwig > arch/powerpc/platforms/pseries/cmm.c | 27 ++- > 1 file changed, 2 insertions(+), 25 deletions(-) > > diff --git

Re: [PATCH v5 5/6] gpiolib: Reuse device's fwnode to create IRQ domain

2021-03-09 Thread Linus Walleij
On Mon, Mar 8, 2021 at 8:45 PM Andy Shevchenko wrote: > When IRQ domain is created for an ACPI case, the name of it becomes unknown-%d > since for now it utilizes of_node member only and doesn't consider fwnode > case. > Convert IRQ domain creation code to utilize fwnode instead. > >

Re: [PATCH net-next v3] net: Add Qcom WWAN control driver

2021-03-09 Thread Greg KH
On Tue, Mar 09, 2021 at 09:01:11AM -0700, Jeffrey Hugo wrote: > On 3/9/2021 3:33 AM, Greg KH wrote: > > On Tue, Mar 09, 2021 at 11:28:49AM +0100, Loic Poulain wrote: > > > Hi Greg, > > > > > > On Tue, 9 Mar 2021 at 10:35, Greg KH wrote: > > > > > > > > On Tue, Mar 09, 2021 at 09:42:16AM +0100,

Re: [PATCH 0/3] PSP TEE driver update and bug fixes

2021-03-09 Thread Tom Lendacky
On 3/9/21 2:11 AM, Rijo Thomas wrote: > The first patch helps to improve the response time by reducing the > polling time of the tee command status variable. > > Second patch is a bug fix to handle multi-threaded use-case. > During testing, race condition was seen due to missing synchronisation >

[PATCH 3/3] pinctrl: Ingenic: Add support for new Ingenic SoCs.

2021-03-09 Thread Zhou Yanjie
Add support for probing the pinctrl-ingenic driver on the JZ4730 SoC, the JZ4750 SoC, the JZ4755 SoC, the JZ4775 SoC and the X2000 SoC from Ingenic. The driver of JZ4730 is derived from Paul Boddie. It is worth noting that the JZ4730 is special in having two control registers (upper/lower), so

Re: make alloc_anon_inode more useful

2021-03-09 Thread Jason Gunthorpe
On Tue, Mar 09, 2021 at 04:53:39PM +0100, Christoph Hellwig wrote: > Hi all, > > this series first renames the existing alloc_anon_inode to > alloc_anon_inode_sb to clearly mark it as requiring a superblock. > > It then adds a new alloc_anon_inode that works on the anon_inode > file system super

Re: [PATCH v9 2/2] perf vendor events arm64: Add Fujitsu A64FX pmu event

2021-03-09 Thread Masayoshi Mizuma
On Mon, Mar 08, 2021 at 07:53:41PM +0900, Shunsuke Nakamura wrote: > Add pmu events for A64FX. > > Documentation source: > https://github.com/fujitsu/A64FX/blob/master/doc/A64FX_PMU_Events_v1.2.pdf The PMU events described in above document seems to work well with this patch! Please feel free to

The killing of ideal_nops[]

2021-03-09 Thread Peter Zijlstra
Hi, AFAICT everything made in the past 10 years ends up using p6_nops. Is it time to kill off ideal_nops[] and simplify life?

Re: riscv+KASAN does not boot

2021-03-09 Thread Dmitry Vyukov
On Fri, Feb 19, 2021 at 11:26 PM 'Palmer Dabbelt' via syzkaller wrote: > > On Fri, 19 Feb 2021 10:53:43 PST (-0800), dvyu...@google.com wrote: > > On Fri, Feb 19, 2021 at 6:01 PM Alex Ghiti wrote: > >> > >> Hi Dmitry, > >> > >> Le 2/18/21 à 6:36 AM, Dmitry Vyukov a écrit : > >> > On Thu, Feb 18,

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

2021-03-09 Thread Mike Kravetz
On 3/9/21 1:01 AM, David Hildenbrand wrote: > On 09.03.21 01:18, Mike Kravetz wrote: >> To address these issues, introduce the concept of hugetlb page demotion. >> Demotion provides a means of 'in place' splitting a hugetlb page to >> pages of a smaller size. For example, on x86 one 1G page can

Re: [PATCH v2 1/2] net: allwinner: reset control support

2021-03-09 Thread Rob Herring
On Tue, 09 Mar 2021 04:21:15 +0300, Evgeny Boger wrote: > R40 (aka V40/A40i/T3) and A10/A20 share the same EMAC IP. > However, on R40 the EMAC is gated by default. > > Signed-off-by: Evgeny Boger > --- > .../net/allwinner,sun4i-a10-emac.yaml | 11 +++- >

Dear Friend.

2021-03-09 Thread Rama Umar Mike Riddering
Dear Friend. My name is Mrs Rama Umar Mike Riddering, I am sending this brief letter to solicit your support and partnership to transfer $5.5 million US Dollars. This money belongs to my late father Mike Riddering,my father and my mother were among those that were killed on 2016 terrorist attack

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-09 Thread Kuldeep Singh
Hi Mark, > -Original Message- > From: Mark Brown > Sent: Tuesday, March 9, 2021 6:06 PM > To: Kuldeep Singh > Cc: Rob Herring ; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar > > Subject: [EXT] Re: [PATCH] dt-bindings: spi: Convert

[PATCH v4 3/5] mm,memory_hotplug: Add kernel boot option to enable memmap_on_memory

2021-03-09 Thread Oscar Salvador
Self stored memmap leads to a sparse memory situation which is unsuitable for workloads that requires large contiguous memory chunks, so make this an opt-in which needs to be explicitly enabled. To control this, let memory_hotplug have its own memory space, as suggested by David, so we can add

[PATCH v4 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-09 Thread Oscar Salvador
Physical memory hotadd has to allocate a memmap (struct page array) for the newly added memory section. Currently, alloc_pages_node() is used for those allocations. This has some disadvantages: a) an existing memory is consumed for that purpose (eg: ~2MB per 128MB memory section on x86_64)

[PATCH v4 0/5] Allocate memmap from hotadded memory (per device)

2021-03-09 Thread Oscar Salvador
Hi, here is v4. Changes from v3 -> v4: - Addressed feedback from David - Wrap memmap_on_memory module thingy with #ifdef on MHP_MEMMAP_ON_MEMORY - Move "depend on MEMORY_HOTPLUG" to MHP_MEMMAP_ON_MEMORY in generic mm/Kconfig - Collect David's Reviewed-bys Changes from v2 -> v3: -

[PATCH v4 2/5] acpi,memhotplug: Enable MHP_MEMMAP_ON_MEMORY when supported

2021-03-09 Thread Oscar Salvador
Let the caller check whether it can pass MHP_MEMMAP_ON_MEMORY by checking mhp_supports_memmap_on_memory(). MHP_MEMMAP_ON_MEMORY can only be set in case ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE is enabled, the architecture supports altmap, and the range to be added spans a single memory block.

[PATCH v4 4/5] x86/Kconfig: Introduce ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE

2021-03-09 Thread Oscar Salvador
Enable x86_64 platform to use the MHP_MEMMAP_ON_MEMORY feature. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand --- arch/x86/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2792879d398e..9f0211df1746 100644 ---

[PATCH v4 5/5] arm64/Kconfig: Introduce ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE

2021-03-09 Thread Oscar Salvador
Enable arm64 platform to use the MHP_MEMMAP_ON_MEMORY feature. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand --- arch/arm64/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 1f212b47a48a..c4ade8b47cf8 100644 ---

Re: [PATCH 2/5] mm/page_alloc: Add a bulk page allocator

2021-03-09 Thread Mel Gorman
On Tue, Mar 09, 2021 at 05:12:30PM +, Christoph Hellwig wrote: > Would vmalloc be another good user of this API? > > > + /* May set ALLOC_NOFRAGMENT, fragmentation will return 1 page. */ > > + if (!prepare_alloc_pages(gfp_mask, 0, preferred_nid, nodemask, , > > _mask, _flags)) > > This

Re: [PATCH] mm/slub: Add slub_debug option to panic on memory corruption

2021-03-09 Thread Georgi Djakov
Hi Vlastimil, Thanks for the comment! On 3/9/21 17:09, Vlastimil Babka wrote: On 3/9/21 2:47 PM, Georgi Djakov wrote: Being able to stop the system immediately when a memory corruption is detected is crucial to finding the source of it. This is very useful when the memory can be inspected

Re: [PATCH 4.4 3/3] futex: fix dead code in attach_to_pi_owner()

2021-03-09 Thread Lee Jones
On Tue, 09 Mar 2021, Greg KH wrote: > On Tue, Mar 09, 2021 at 11:06:05AM +0800, Zheng Yejian wrote: > > From: Thomas Gleixner > > > > The handle_exit_race() function is defined in commit 9c3f39860367 > > ("futex: Cure exit race"), which never returns -EBUSY. This results > > in a small piece

HELLO

2021-03-09 Thread Dr Rhama Henry
-- Dear Friend. My names are Dr Rhama a banker in one of the bank in my country African. I Hoped that you will not expose or betray this trust and confident that i am about to repose on you for the mutual benefit of our both families. I need your urgent assistance in transferring the sum of $5.5

[PATCH 2/2] habanalabs/gaudi: always use single-msi mode

2021-03-09 Thread Oded Gabbay
The device can get into deadlock in case it use indirect mode for MSI interrupts (multi-msi) and have hard-reset during interrupt storm. To prevent that, always use direct mode which means single-msi mode. The F/W will prevent the host from writing to the indirect MSI registers to prevent any

[PATCH 1/2] habanalabs/gaudi: reset device upon BMC request

2021-03-09 Thread Oded Gabbay
From: Ofir Bitton In case the BMC of the devices' box wants to initiate a reset of a specific device, it must go through driver. Once driver will receive the request it will initiate a hard reset flow. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay ---

[rcu:rcu/next] BUILD SUCCESS 7836d7be2d23267d6aa9b3bf1474146f6e9e28fd

2021-03-09 Thread kernel test robot
-a006-20210308 i386 randconfig-a004-20210308 i386 randconfig-a001-20210308 i386 randconfig-a005-20210309 i386 randconfig-a003-20210309 i386 randconfig-a002-20210309 i386 randconfig-a006-20210309 i386

Re: [PATCH v5 3/4] x86/vmemmap: Handle unpopulated sub-pmd ranges

2021-03-09 Thread Dave Hansen
On 3/9/21 9:41 AM, Oscar Salvador wrote: > When sizeof(struct page) is not a power of 2, sections do not span > a PMD anymore and so when populating them some parts of the PMD will > remain unused. > Because of this, PMDs will be left behind when depopulating sections > since remove_pmd_table()

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

2021-03-09 Thread David Hildenbrand
I need to take a close look at Oscar's patches. Too many thing to look at/review :) This series does take into account gigantic pages allocated in CMA. Such pages can be demoted, and we need to track that they need to go back to CMA. Nothing super special for this, mostly a new hugetlb

Re: [PATCH v10 10/16] KVM: x86: Introduce KVM_GET_SHARED_PAGES_LIST ioctl

2021-03-09 Thread Ashish Kalra
On Wed, Mar 03, 2021 at 06:54:41PM +, Will Deacon wrote: > [+Marc] > > On Tue, Mar 02, 2021 at 02:55:43PM +, Ashish Kalra wrote: > > On Fri, Feb 26, 2021 at 09:44:41AM -0800, Sean Christopherson wrote: > > > On Fri, Feb 26, 2021, Ashish Kalra wrote: > > > > On Thu, Feb 25, 2021 at

[tip: x86/alternatives] x86/alternative: Drop unused feature parameter from ALTINSTR_REPLACEMENT()

2021-03-09 Thread tip-bot2 for Juergen Gross
The following commit has been merged into the x86/alternatives branch of tip: Commit-ID: db16e07269c2b4346e4332e43f04e447ef14fd2f Gitweb: https://git.kernel.org/tip/db16e07269c2b4346e4332e43f04e447ef14fd2f Author:Juergen Gross AuthorDate:Tue, 09 Mar 2021 14:48:04 +01:00

[PATCH V1] arm64: dts: qcom: sc7280: Add nodes for eMMC and SD card

2021-03-09 Thread Shaik Sajida Bhanu
Add nodes for eMMC and SD card on sc7280. Signed-off-by: Shaik Sajida Bhanu --- This change is depends on the below patch series: https://lore.kernel.org/lkml/1613114930-1661-1-git-send-email-rna...@codeaurora.org/ https://lore.kernel.org/patchwork/project/lkml/list/?series==28035 ---

Re: [PATCH v2 00/10] fsdax,xfs: Add reflink support for fsdax

2021-03-09 Thread Goldwyn Rodrigues
Hi Shiang, Thanks for picking up this work. On 8:20 26/02, Shiyang Ruan wrote: > This patchset is attempt to add CoW support for fsdax, and take XFS, > which has both reflink and fsdax feature, as an example. How does this work for read sequence for two different files mapped to the same

Re: [PATCH V10 2/5] kbuild: Add generic rule to apply fdtoverlay

2021-03-09 Thread Masahiro Yamada
On Mon, Mar 8, 2021 at 7:45 PM Viresh Kumar wrote: > > From: Rob Herring > > Add a generic rule to apply fdtoverlay in Makefile.lib, so every > platform doesn't need to carry the complex rule. This also automatically > adds "DTC_FLAGS_foo_base += -@" for all base files. > > The platform's

Re: [PATCH 5/9] vmw_balloon: remove the balloon-vmware file system

2021-03-09 Thread David Hildenbrand
On 09.03.21 16:53, Christoph Hellwig wrote: Just use the generic anon_inode file system. Signed-off-by: Christoph Hellwig --- drivers/misc/vmw_balloon.c | 24 ++-- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/misc/vmw_balloon.c

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

2021-03-09 Thread Sameer Pujar
Hi Michael, On 3/9/2021 8:11 PM, Michael Walle wrote: External email: Use caution opening links or attachments Hi, If "clocks = <>" is specified from the CPU or Codec component device node, the clock is not getting enabled. Thus audio playback or capture fails. Fix this by populating

Re: [PATCH v5 1/6] irqdomain: Introduce irq_domain_create_simple() API

2021-03-09 Thread Linus Walleij
On Mon, Mar 8, 2021 at 8:45 PM Andy Shevchenko wrote: > Linus Walleij pointed out that ird_domain_add_simple() gained > additional functionality and can't be anymore replaced with > a simple conditional. In preparation to upgrade GPIO library > to use fwnode, introduce irq_domain_create_simple()

Re: [PATCH 3/3] crypto: ccp - update copyright year for tee

2021-03-09 Thread Tom Lendacky
On 3/9/21 2:11 AM, Rijo Thomas wrote: > Update the copyright year for PSP TEE driver files. > > Signed-off-by: Rijo Thomas The copyright updates really should occur as part of the changes in the other patches vs a separate patch. Thanks, Tom > --- > drivers/crypto/ccp/tee-dev.c | 2 +- >

Re: [PATCH 2/2] KVM: x86/mmu: Exclude the MMU_PRESENT bit from MMIO SPTE's generation

2021-03-09 Thread Tom Lendacky
On 3/8/21 8:19 PM, Sean Christopherson wrote: > Drop bit 11, used for the MMU_PRESENT flag, from the set of bits used to > store the generation number in MMIO SPTEs. MMIO SPTEs with bit 11 set, > which occurs when userspace creates 128+ memslots in an address space, > get false positives for

Re: [PATCH] vfio/pci: make the vfio_pci_mmap_fault reentrant

2021-03-09 Thread Jason Gunthorpe
On Tue, Mar 09, 2021 at 08:29:51AM -0700, Alex Williamson wrote: > On Tue, 9 Mar 2021 08:46:09 -0400 > Jason Gunthorpe wrote: > > > On Tue, Mar 09, 2021 at 03:49:09AM +, Zengtao (B) wrote: > > > Hi guys: > > > > > > Thanks for the helpful comments, after rethinking the issue, I have > > >

Re: [PATCH 0/4] kbuild: build speed improvment of CONFIG_TRIM_UNUSED_KSYMS

2021-03-09 Thread Nicolas Pitre
On Tue, 9 Mar 2021, Masahiro Yamada wrote: > On Fri, Feb 26, 2021 at 4:24 AM Nicolas Pitre wrote: > > > > If CONFIG_TRIM_UNUSED_KSYMS is enabled then build time willincrease. > > That comes with the feature. > > This patch set intends to change this. > TRIM_UNUSED_KSYMS will build without

Re: [PATCH v9 2/6] arm64: kvm: Introduce MTE VM feature

2021-03-09 Thread Marc Zyngier
On Mon, 01 Mar 2021 14:23:11 +, Steven Price wrote: > > Add a new VM feature 'KVM_ARM_CAP_MTE' which enables memory tagging > for a VM. This will expose the feature to the guest and automatically > tag memory pages touched by the VM as PG_mte_tagged (and clear the tag > storage) to ensure

Re: [PATCH v2] do_wait: make PIDTYPE_PID case O(1) instead of O(n)

2021-03-09 Thread Oleg Nesterov
Jim, Thanks, the patch looks good to me. Yet I think you need to send V3 even if I personally do not care ;) Please consider ./scripts/checkpatch.pl, it reports all the coding-style problems I was going to mention. I too have a couple of cosmetic nits, but feel free to ignore, this is

Re: [PATCH] docs: dt: submitting-patches: Fix grammar in subsystem section

2021-03-09 Thread Randy Dunlap
On 3/9/21 5:06 AM, Geert Uytterhoeven wrote: > Reword the subsystem bindings section to make sense, from a grammatical > point of view. > > Signed-off-by: Geert Uytterhoeven Acked-by: Randy Dunlap Thanks. > --- > Documentation/devicetree/bindings/submitting-patches.rst | 4 ++-- > 1 file

Re: [PATCH 1/1] drm/amdkfd: fix build error with AMD_IOMMU_V2=m

2021-03-09 Thread Jean-Philippe Brucker
Hi Felix, On Tue, Mar 09, 2021 at 11:30:19AM -0500, Felix Kuehling wrote: > > I think the proper fix would be to not rely on custom hooks into a > > particular > > IOMMU driver, but to instead ensure that the amdgpu driver can do everything > > it needs through the regular linux/iommu.h

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

2021-03-09 Thread Mike Rapoport
On Sun, Mar 07, 2021 at 09:46:22AM +0200, Mike Rapoport wrote: > Hello Rafael, > > On Fri, Mar 05, 2021 at 02:30:07PM +0100, Rafael J. Wysocki wrote: > > On Fri, Mar 5, 2021 at 12:14 AM George Kennedy > > wrote: > > > > > The ibft table, for example, is mapped in via acpi_map() and kmap(). The

Re: [PATCH v2 1/2] mm: disable LRU pagevec during the migration temporarily

2021-03-09 Thread Michal Hocko
On Tue 09-03-21 08:29:21, Minchan Kim wrote: > On Tue, Mar 09, 2021 at 12:03:08PM +0100, Michal Hocko wrote: [...] > > Sorry for nit picking but I think the additional abstraction for > > migrate_prep is not really needed and we can remove some more code. > > Maybe we should even get rid of

[ANNOUNCE] Git v2.31.0-rc2

2021-03-09 Thread Junio C Hamano
A release candidate Git v2.31.0-rc2 is now available for testing at the usual places. It is comprised of 655 non-merge commits since v2.30.0, contributed by 68 people, 22 of which are new faces [*]. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The

Re: [RESEND v12] can: usb: etas_es58X: add support for ETAS ES58X CAN USB interfaces

2021-03-09 Thread Vincent MAILHOL
On Wed. 10 Mar 2021 at 03:11, Vincent MAILHOL wrote: > > On Wed. 10 Mar 2021 at 02:27, Jimmy Assarsson > wrote: > > > > Hi Vincent, > > > > On 2021-03-09 13:09, Vincent Mailhol wrote: > > > This driver supports the ES581.4, ES582.1 and ES584.1 interfaces from > > > ETAS GmbH

Re: [PATCH] fs: proc: fix error return code of proc_map_files_readdir()

2021-03-09 Thread Eric Biggers
On Tue, Mar 09, 2021 at 01:55:27AM -0800, Jia-Ju Bai wrote: > When get_task_mm() returns NULL to mm, no error return code of > proc_map_files_readdir() is assigned. > To fix this bug, ret is assigned with -ENOENT in this case. > > Fixes: f0c3b5093add ("[readdir] convert procfs") > Reported-by:

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

2021-03-09 Thread Rafael J. Wysocki
On Tue, Mar 9, 2021 at 6:54 PM Mike Rapoport wrote: > > On Sun, Mar 07, 2021 at 09:46:22AM +0200, Mike Rapoport wrote: > > Hello Rafael, > > > > On Fri, Mar 05, 2021 at 02:30:07PM +0100, Rafael J. Wysocki wrote: > > > On Fri, Mar 5, 2021 at 12:14 AM George Kennedy > > > wrote: > > > > > > > The

Re: [PATCH v5 2/4] x86/vmemmap: Drop handling of 1GB vmemmap ranges

2021-03-09 Thread Dave Hansen
On 3/9/21 9:41 AM, Oscar Salvador wrote: > We never get to allocate 1GB pages when mapping the vmemmap range. > Drop the dead code both for the aligned and unaligned cases and leave > only the direct map handling. I was hoping to seem some more meat in this changelog, possibly some of what David

Re: [PATCH 1/1] drm/amdkfd: fix build error with AMD_IOMMU_V2=m

2021-03-09 Thread Christian König
Am 09.03.21 um 18:59 schrieb Alex Deucher: On Tue, Mar 9, 2021 at 12:55 PM Jean-Philippe Brucker wrote: Hi Felix, On Tue, Mar 09, 2021 at 11:30:19AM -0500, Felix Kuehling wrote: I think the proper fix would be to not rely on custom hooks into a particular IOMMU driver, but to instead ensure

Re: [GIT PULL] Immutable branch between MFD and Platform/X86 due for the v5.13 merge window

2021-03-09 Thread Hans de Goede
Hi Lee, On 3/9/21 7:12 PM, Lee Jones wrote: > Enjoy! > > The following changes since commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8: > > Linux 5.12-rc1 (2021-02-28 16:05:19 -0800) I thought we were supposed to avoid using 5.12-rc1 as a base to avoid people hitting the swapfile related

Re: [RFC PATCH v3 3/3] blk-mq: Lockout tagset iterator when exiting elevator

2021-03-09 Thread Bart Van Assche
On 3/9/21 9:47 AM, John Garry wrote: > This does fall over if some tags are allocated without associated > request queue, which I do not know exists. The only tag allocation mechanism I know of is blk_mq_get_tag(). The only blk_mq_get_tag() callers I know of are __blk_mq_alloc_request() and

Re: [PATCH 08/11] PM / devfreq: check get_dev_status in devfreq_update_stats

2021-03-09 Thread Chanwoo Choi
On 21. 3. 9. 오후 9:58, Dong Aisheng wrote: Check .get_dev_status() in devfreq_update_stats in case it's abused when a device does not provide it. Signed-off-by: Dong Aisheng --- drivers/devfreq/governor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/devfreq/governor.h

Re: [PATCH 2/9] fs: add an argument-less alloc_anon_inode

2021-03-09 Thread David Hildenbrand
On 09.03.21 16:53, Christoph Hellwig wrote: Add a new alloc_anon_inode helper that allocates an inode on the anon_inode file system. Signed-off-by: Christoph Hellwig --- fs/anon_inodes.c| 15 +-- include/linux/anon_inodes.h | 1 + 2 files changed, 14 insertions(+),

Re: [PATCH 11/11] PM / devfreq: imx8m-ddrc: drop polling_ms

2021-03-09 Thread Chanwoo Choi
On 21. 3. 9. 오후 9:58, Dong Aisheng wrote: polling_ms is only used by simple ondemand governor which this driver can't support. Drop it to avoid confusing. Signed-off-by: Dong Aisheng --- drivers/devfreq/imx8m-ddrc.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 3/3] aspeed-video: add COMP_READY to VE_SPURIOUS_IRQS

2021-03-09 Thread Jae Hyun Yoo
On 12/21/2020 8:49 PM, Joel Stanley wrote: On Tue, 15 Dec 2020 at 02:46, Zev Weiss wrote: This joins CAPTURE_COMPLETE and FRAME_COMPLETE in the set of interrupts that have been seen asserted by the hardware even when disabled, leading to the interrupt eventually getting disabled as described

Re: [PATCH 1/2] dt-bindings:pci: Set LTSSM Detect.Quiet state delay.

2021-03-09 Thread Rob Herring
On Tue, Mar 9, 2021 at 12:31 AM Nadeem Athani wrote: > > The parameter detect-quiet-min-delay can be used to program the minimum > time that LTSSM waits on entering Detect.Quiet state. > 00 : 0us minimum wait time in Detect.Quiet state. > 01 : 100us minimum wait time in Detect.Quiet state. > 10 :

Re: [PATCH v26 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2021-03-09 Thread Mathieu Poirier
[...] > + > +/** > + * zynqmp_r5_probe - Probes ZynqMP R5 processor device node > + * this is called for each individual R5 core to > + * set up mailbox, Xilinx platform manager unique ID, > + * add to rproc core > + * > + * @pdev: domain

Re: [PATCH] docs: ABI: Fix the spelling oustanding to outstanding in the file sysfs-fs-xfs

2021-03-09 Thread Darrick J. Wong
On Sat, Feb 13, 2021 at 08:54:36PM +0530, Bhaskar Chowdhury wrote: > > s/oustanding/outstanding/ > > Signed-off-by: Bhaskar Chowdhury Looks good, Reviewed-by: Darrick J. Wong --D > --- > Documentation/ABI/testing/sysfs-fs-xfs | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH v2 4/5] ASoC: dt-bindings: wsa881x: add bindings for port mapping

2021-03-09 Thread Rob Herring
On Tue, 09 Mar 2021 14:15:13 +, Srinivas Kandagatla wrote: > WSA881x SoundWire device ports are statically assigned to master ports > at design time. So add bindings required to specify these mappings! > > Signed-off-by: Srinivas Kandagatla > --- >

Re: [PATCH 1/2] dt-bindings:pci: Set LTSSM Detect.Quiet state delay.

2021-03-09 Thread Rob Herring
On Tue, 09 Mar 2021 08:31:41 +0100, Nadeem Athani wrote: > The parameter detect-quiet-min-delay can be used to program the minimum > time that LTSSM waits on entering Detect.Quiet state. > 00 : 0us minimum wait time in Detect.Quiet state. > 01 : 100us minimum wait time in Detect.Quiet state. > 10

Re: [PATCH] dm: remove unneeded variable 'sz'

2021-03-09 Thread kernel test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on dm/for-next] [also build test ERROR on v5.12-rc2 next-20210309] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

dummy-tools regression on Linux 5.12

2021-03-09 Thread Michal Suchánek
Hello, on 5.11 I can update the config with dummy-tools but in 5.12 it no longer works: make ARCH=powerpc CROSS_COMPILE=scripts/dummy-tools/ oldconfig scripts/dummy-tools/gcc: unknown compiler scripts/Kconfig.include:44: Sorry, this compiler is not supported. make[1]: ***

Re: [PATCH 3/3] powerpc/qspinlock: Use generic smp_cond_load_relaxed

2021-03-09 Thread Michal Suchánek
On Tue, Mar 09, 2021 at 07:46:11AM -0800, Davidlohr Bueso wrote: > On Tue, 09 Mar 2021, Michal Such�nek wrote: > > > On Mon, Mar 08, 2021 at 05:59:50PM -0800, Davidlohr Bueso wrote: > > > 49a7d46a06c3 (powerpc: Implement smp_cond_load_relaxed()) added > > > busy-waiting pausing with a preferred

Re: general protection fault in strncasecmp

2021-03-09 Thread David Howells
Dmitry Vyukov wrote: > Not sure if you are still interesting in this or not, but fwiw tabs > should be supported now: > https://github.com/google/syzkaller/commit/26967e354e030f6a022b7a60a7c9899ec25923aa Not right this minute, but thanks for letting me know! David

Re: [PATCH] Fix ld-version.sh script if LLD was built with LLD_VENDOR

2021-03-09 Thread Nathan Chancellor
On Wed, Mar 10, 2021 at 02:09:02AM +0900, Masahiro Yamada wrote: > On Thu, Mar 4, 2021 at 12:34 PM Masahiro Yamada wrote: > > > > On Thu, Mar 4, 2021 at 9:18 AM Bernhard Rosenkränzer wrote: > > > > > > If LLD was built with -DLLD_VENDOR="xyz", ld.lld --version output > > > will prefix

Re: [PATCH v6 4/4] dm: add DM_INTERPOSED_FLAG

2021-03-09 Thread Christoph Hellwig
On Wed, Mar 03, 2021 at 03:30:18PM +0300, Sergei Shtepa wrote: > DM_INTERPOSED_FLAG allow to create dm targets on "the fly". > Underlying block device opens without a flag FMODE_EXCL. > Dm target receives bio from the original device via > blk_interposer. > > Signed-off-by: Sergei Shtepa > --- >

Re: [PATCH v2 3/4] kbuild: re-implement CONFIG_TRIM_UNUSED_KSYMS to make it work in one-pass

2021-03-09 Thread Nicolas Pitre
On Wed, 10 Mar 2021, Masahiro Yamada wrote: > Commit a555bdd0c58c ("Kbuild: enable TRIM_UNUSED_KSYMS again, with some > guarding") re-enabled this feature, but Linus is still unhappy about > the build time. > > The reason of the slowness is the recursion - this basically works in > two loops. >

Re: [RFC] KVM: x86: Support KVM VMs sharing SEV context

2021-03-09 Thread Sean Christopherson
On Fri, Mar 05, 2021, Ashish Kalra wrote: > On Thu, Feb 25, 2021 at 10:49:00AM -0800, Steve Rutherford wrote: > > On Thu, Feb 25, 2021 at 6:57 AM Tom Lendacky > > wrote: > > > >> +int svm_vm_copy_asid_to(struct kvm *kvm, unsigned int mirror_kvm_fd) > > > >> +{ > > > >> + struct file

Re: [RFC PATCH 1/1] dql: add dql_set_min_limit()

2021-03-09 Thread Vincent MAILHOL
On Wed. 10 Mar 2021 at 00:23, Vincent Mailhol wrote: > > Add a function to set the dynamic queue limit minimum value. > > This function is to be used by network drivers which are able to > prove, at least through empirical tests, that they reach better > performances with a specific predefined

[PATCH 0/7] Cleanup SBS power-supply drivers

2021-03-09 Thread Sebastian Reichel
Hi, This is a collection of cleanups for the SBS battery/charger/manager. The series does three things: 1. remove legacy gpio usage (only headers needed updates) 2. simple code cleanups 3. remove probe defer message logging To provide some more data for the last point: The following messages

[PATCH 1/7] power: supply: sbs-battery: use dev_err_probe

2021-03-09 Thread Sebastian Reichel
Introduce usage of dev_err_probe in probe routine, which makes the code slightly more readable and removes some lines of code. It also removes PROBE_DEFER errors being logged by default, which are common when the battery is waiting for the charger driver to be registered. This also cleans up a

[PATCH 4/7] power: supply: sbs-manager: use managed i2c_mux_adapter

2021-03-09 Thread Sebastian Reichel
Simplify code by using devm_add_action_or_reset to unregister the i2c_mux_adapter. Signed-off-by: Sebastian Reichel --- drivers/power/supply/sbs-manager.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/power/supply/sbs-manager.c

[PATCH 3/7] power: supply: sbs-charger: drop unused gpio includes

2021-03-09 Thread Sebastian Reichel
sbs-charger does not use any GPIOs, so no need to include gpio.h and of_gpio.h. Signed-off-by: Sebastian Reichel --- drivers/power/supply/sbs-charger.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/supply/sbs-charger.c b/drivers/power/supply/sbs-charger.c index

[PATCH 2/7] power: supply: sbs-charger: use dev_err_probe

2021-03-09 Thread Sebastian Reichel
Introduce usage of dev_err_probe in probe routine, which makes the code slightly more readable and removes some lines of code. It also removes PROBE_DEFER errors being logged by default. Signed-off-by: Sebastian Reichel --- drivers/power/supply/sbs-charger.c | 22 -- 1 file

[PATCH 7/7] power: supply: core: reduce loglevel for probe defer info

2021-03-09 Thread Sebastian Reichel
Avoid logging probe defer information for default loglevel configurations. This is only required for debugging probe defer issues, which requires enabling debug messages for other subsystems. This dev_info() message predates having deferred devices information available in

[PATCH 6/7] power: supply: sbs-manager: update gpio include

2021-03-09 Thread Sebastian Reichel
sbs-manager implements a GPIO chip, so include the proper gpio driver include instead of the legacy gpio.h. Signed-off-by: Sebastian Reichel --- drivers/power/supply/sbs-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/sbs-manager.c

[PATCH 5/7] power: supply: sbs-manager: use dev_err_probe

2021-03-09 Thread Sebastian Reichel
Introduce usage of dev_err_probe in probe routine, which makes the code slightly more readable and removes some lines of code. It also removes PROBE_DEFER errors being logged by default. Signed-off-by: Sebastian Reichel --- drivers/power/supply/sbs-manager.c | 55 +-

[GIT PULL] Immutable branch between MFD and Platform/X86 due for the v5.13 merge window

2021-03-09 Thread Lee Jones
Enjoy! The following changes since commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8: Linux 5.12-rc1 (2021-02-28 16:05:19 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-platform-x86-v5.13 for you to fetch changes up to

Re: [PATCH v2 3/4] kbuild: re-implement CONFIG_TRIM_UNUSED_KSYMS to make it work in one-pass

2021-03-09 Thread Masahiro Yamada
On Wed, Mar 10, 2021 at 2:36 AM Nicolas Pitre wrote: > > On Wed, 10 Mar 2021, Masahiro Yamada wrote: > > > Commit a555bdd0c58c ("Kbuild: enable TRIM_UNUSED_KSYMS again, with some > > guarding") re-enabled this feature, but Linus is still unhappy about > > the build time. > > > > The reason of the

Re: [RESEND v12] can: usb: etas_es58X: add support for ETAS ES58X CAN USB interfaces

2021-03-09 Thread Vincent MAILHOL
On Wed. 10 Mar 2021 at 02:27, Jimmy Assarsson wrote: > > Hi Vincent, > > On 2021-03-09 13:09, Vincent Mailhol wrote: > > This driver supports the ES581.4, ES582.1 and ES584.1 interfaces from > > ETAS GmbH (https://www.etas.com/en/products/es58x.php). > ... > > diff --git

Re: [PATCH] mm/slub: Add slub_debug option to panic on memory corruption

2021-03-09 Thread Vlastimil Babka
On 3/9/21 7:14 PM, Georgi Djakov wrote: > Hi Vlastimil, > > Thanks for the comment! > > On 3/9/21 17:09, Vlastimil Babka wrote: >> On 3/9/21 2:47 PM, Georgi Djakov wrote: >>> Being able to stop the system immediately when a memory corruption >>> is detected is crucial to finding the source of

Re: [PATCH v1 01/12] gna: add driver module

2021-03-09 Thread Maciej Kwapulinski
Greg Kroah-Hartman writes: > On Fri, Feb 26, 2021 at 01:59:14PM +0100, Maciej Kwapulinski wrote: >> >> Greg Kroah-Hartman writes: >> >> > On Tue, Feb 16, 2021 at 05:05:14PM +0100, Maciej Kwapulinski wrote: >> >> >> --- /dev/null >> >> +++ b/drivers/misc/gna/gna_driver.h >> >> @@ -0,0

Re: [PATCH v2] x86/perf: Use RET0 as default for guest_get_msrs to handle "no PMU" case

2021-03-09 Thread Jim Mattson
On Tue, Mar 9, 2021 at 9:10 AM Sean Christopherson wrote: > > Initialize x86_pmu.guest_get_msrs to return 0/NULL to handle the "nop" > case. Patching in perf_guest_get_msrs_nop() during setup does not work > if there is no PMU, as setup bails before updating the static calls, > leaving

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

2021-03-09 Thread Oleg Nesterov
On 03/09, Qianli Zhao wrote: > > From: Qianli Zhao > > Once any init thread finds SIGNAL_GROUP_EXIT, trigger panic immediately > instead of last thread of global init has exited, and do not allow other > init threads to exit, protect task/memory state of all sub-threads for > get reliable init

Re: [PATCH v1 0/2] Watchdog Core Global Parameters

2021-03-09 Thread Jerry Hoemann
On Tue, Mar 09, 2021 at 07:22:28AM -0800, Guenter Roeck wrote: > On 3/9/21 2:26 AM, Flavio Suligoi wrote: > > Hi Guenter, > > > >>> Instead of adding this kind of module parameters independently to each > >>> driver, the best solution is declaring each feature only once, in the > >>> watchdog

Re: [PATCH v5 4/4] x86/vmemmap: Optimize for consecutive sections in partial populated PMDs

2021-03-09 Thread Dave Hansen
On 3/9/21 9:41 AM, Oscar Salvador wrote: > We can optimize in the case we are adding consecutive sections, so no > memset(PAGE_UNUSED) is needed. > In that case, let us keep track where the unused range of the previous > memory range begins, so we can compare it with start of the range to be >

Re: [PATCH v6 02/12] x86/paravirt: switch time pvops functions to use static_call()

2021-03-09 Thread Borislav Petkov
On Tue, Mar 09, 2021 at 02:48:03PM +0100, Juergen Gross wrote: > @@ -167,6 +168,17 @@ static u64 native_steal_clock(int cpu) > return 0; > } > > +DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock); > +DEFINE_STATIC_CALL(pv_sched_clock, native_sched_clock); > + > +bool

Re: [PATCH] usb: dwc3: fix build error when POWER_SUPPLY is not enabled

2021-03-09 Thread Sebastian Reichel
Hi, On Mon, Mar 08, 2021 at 09:31:46PM +0800, Ray Chi wrote: > Fix build error when CONFIG_POWER_SUPPLY is not enabled. > > The build error occurs in mips (cavium_octeon_defconfig). > > mips-linux-gnu-ld: drivers/usb/dwc3/core.o: in function `dwc3_remove': > drivers/usb/dwc3/core.c:1657:

Re: [PATCH] bus: mhi: Make firmware image optional for controller

2021-03-09 Thread Jeffrey Hugo
On 3/9/2021 11:46 AM, Bhaumik Bhatt wrote: Some controllers can opt to not have MHI download a firmware image to have the device bootup and can find the device in a pass through execution environment, ready to go. Thus, MHI controllers for those devices do not need fw_image defined. Make it

Re: [PATCH v3] bus: mhi: core: Add missing checks for MMIO register entries

2021-03-09 Thread Jeffrey Hugo
On 3/9/2021 11:44 AM, Bhaumik Bhatt wrote: As per documentation, fields marked as (required) in an MHI controller structure need to be populated by the controller driver before calling mhi_register_controller(). Ensure all required pointers and non-zero fields are present in the controller

Re: [PATCH v3] bus: mhi: core: Add missing checks for MMIO register entries

2021-03-09 Thread Jeffrey Hugo
On 3/9/2021 11:44 AM, Bhaumik Bhatt wrote: As per documentation, fields marked as (required) in an MHI controller structure need to be populated by the controller driver before calling mhi_register_controller(). Ensure all required pointers and non-zero fields are present in the controller

[PATCH] Documentation: sysrq: update description about sysrq crash

2021-03-09 Thread Gao Xiang
After commit 8341f2f222d7 ("sysrq: Use panic() to force a crash"), a crash was not generated by dereferencing a NULL pointer anymore. Let's update documentation as well to make it less misleading. Cc: Matthias Kaehlcke Cc: Greg Kroah-Hartman Cc: Jonathan Corbet Cc: Zefan Li Signed-off-by:

Re: [GIT PULL] Immutable branch between MFD and Platform/X86 due for the v5.13 merge window

2021-03-09 Thread Lee Jones
On Tue, 09 Mar 2021, Hans de Goede wrote: > Hi Lee, > > On 3/9/21 7:12 PM, Lee Jones wrote: > > Enjoy! > > > > The following changes since commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8: > > > > Linux 5.12-rc1 (2021-02-28 16:05:19 -0800) > > I thought we were supposed to avoid using

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