Re: [PATCH V7 4/6] kbuild: Add support to build overlays (%.dtbo)

2021-02-05 Thread David Gibson
On Fri, Feb 05, 2021 at 02:55:07PM +0530, Viresh Kumar wrote: > On 05-02-21, 10:02, Geert Uytterhoeven wrote: > > Hi Viresh, > > > > Thanks for your patch > > (which I only noticed because it appeared in dt-rh/for-next ;-) > > > > On Fri, Jan 29, 2021 at 8:31 AM Viresh Kumar > > wrote: > > >

Re: BUG: KASAN: use-after-free in snd_complete_urb+0x109e/0x1740 [snd_usb_audio] (5.11-rc6)

2021-02-05 Thread Takashi Iwai
On Sat, 06 Feb 2021 06:45:32 +0100, Hillf Danton wrote: > > Due to the reconnecting key word mentioned, no fix to > d0f09d1e4a88 ("ALSA: usb-audio: Refactoring endpoint URB deactivation") > will be added. > > What is added is to capture EP_FLAG_STOPPING and remove the one > second wait limit if

Re: [PATCH] usb: cdnsp: Removes some useless trace events

2021-02-05 Thread Peter Chen
On 21-02-04 11:27:28, Greg KH wrote: > On Thu, Feb 04, 2021 at 10:20:35AM +0100, Pawel Laszczak wrote: > > Patch removes some useless trace events that can > > be replaced by ftrace. > > > > Reported-by: Dan Carpenter > > Signed-off-by: Pawel Laszczak > > --- > > drivers/usb/cdns3/cdnsp-ep0.c

回复: 回复: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

2021-02-05 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年2月4日 22:09 收件人: Zhang, Qiang 抄送: Uladzislau Rezki; paul...@kernel.org; j...@joelfernandes.org; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH v3] kvfree_rcu: Release page cache under memory

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > > > > On 2/5/21 11:24 AM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Feb 05, 2021 at 11:10:08AM -0800, Yonghong Song escreveu: > >> On 2/5/21 11:06 AM, Sedat Dilek wrote: > >>> On Fri, Feb 5, 2021 at 7:53 PM Sedat Dilek wrote: > >>> Grepping

Re: Kernel version numbers after 4.9.255 and 4.4.255

2021-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2021 at 07:44:12PM +0100, Pavel Machek wrote: > Hi! > > > > > Ugh, I thought this was an internal representation, not an external one > > > > :( > > > > > > > > > It might work somewhere, but there are a lot of (X * 65536 + Y * 256 > > > > > + Z) > > > > > assumptions all around

Re: [PATCH v19 2/3] scsi: ufs: L2P map management for HPB read

2021-02-05 Thread Can Guo
On 2021-01-29 13:30, Daejun Park wrote: This is a patch for managing L2P map in HPB module. The HPB divides logical addresses into several regions. A region consists of several sub-regions. The sub-region is a basic unit where L2P mapping is managed. The driver loads L2P mapping data of each

Re: Kernel version numbers after 4.9.255 and 4.4.255

2021-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2021 at 12:31:05PM -0500, Tony Battersby wrote: > On 2/4/21 6:00 AM, Jiri Slaby wrote: > > Agreed. But currently, sublevel won't "wrap", it will "overflow" to > > patchlevel. And that might be a problem. So we might need to update the > > header generation using e.g. "sublevel &

Re: Kernel version numbers after 4.9.255 and 4.4.255

2021-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2021 at 07:11:05PM +0100, Mauro Carvalho Chehab wrote: > Em Fri, 5 Feb 2021 12:31:05 -0500 > Tony Battersby escreveu: > > > On 2/4/21 6:00 AM, Jiri Slaby wrote: > > > Agreed. But currently, sublevel won't "wrap", it will "overflow" to > > > patchlevel. And that might be a

[PATCH] nbd: Convert to DEFINE_SHOW_ATTRIBUTE

2021-02-05 Thread winndows
From: Liao Pingfang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liao Pingfang --- drivers/block/nbd.c | 28 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index e6ea5d3..8b9622e

Re: [PATCH net-next] xfrm: Return the correct errno code

2021-02-05 Thread Steffen Klassert
On Thu, Feb 04, 2021 at 03:42:54PM +0800, Zheng Yongjun wrote: > When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF. > > Signed-off-by: Zheng Yongjun Applied to ipsec-next, thanks!

Re: [PATCH] printk: Userspace format enumeration support

2021-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2021 at 10:45:19PM +, Chris Down wrote: > Hi Steven, > > Steven Rostedt writes: > > Interesting, because when I was looking at the original patch (looked at > > the lore link before reading your reply), I thought to myself "this looks > > exactly like what I did for

Re: [PATCH] esp: Simplify the calculation of variables

2021-02-05 Thread Steffen Klassert
On Wed, Feb 03, 2021 at 10:44:30AM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./net/ipv6/esp6.c:791:16-18: WARNING !A || A && B is equivalent > to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Applied to ipsec-next, thanks!

Hi Dear

2021-02-05 Thread Lisa Williams
Hi Dear , How are you doing hope you are fine and OK? I was just going through the Internet search when I found your email address, I want to make a new and special friend, so I decided to contact you to see how we can make it work out if we can. Please I wish you will have the desire with me

Re: [PATCH] MAINTAINERS/.mailmap: Use my @kernel.org address

2021-02-05 Thread Sedat Dilek
On Wed, Jan 27, 2021 at 7:48 AM Sedat Dilek wrote: > > On Wed, Jan 27, 2021 at 6:07 AM Lukas Bulwahn wrote: > > > > On Tue, Jan 26, 2021 at 10:27 PM Nathan Chancellor > > wrote: > > > > > > Use my @kernel.org for all points of contact so that I am always > > > accessible. > > > > > >

Re: [PATCH v2] tracepoints: Do not punish non static call users

2021-02-05 Thread kernel test robot
Hi Steven, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/perf/core] [also build test WARNING on linux/master linus/master v5.11-rc6 next-20210125] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 7:26 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 6:53 AM Sedat Dilek wrote: > > > > On Sat, Feb 6, 2021 at 6:44 AM Sedat Dilek wrote: > > > > > > On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > > > > > > > On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote:

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 6:53 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 6:44 AM Sedat Dilek wrote: > > > > On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > > > > > On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > > > > > > > > > > > > > On 2/5/21 12:31 PM, Sedat Dilek

Re: Conflict with Mickaël Salaün's blacklist patches [was [PATCH v5 0/4] Add EFI_CERT_X509_GUID support for dbx/mokx entries]

2021-02-05 Thread Eric Snowberg
> On Feb 5, 2021, at 3:27 AM, Mickaël Salaün wrote: > > > On 05/02/2021 01:24, Eric Snowberg wrote: >> >>> On Feb 4, 2021, at 1:26 AM, Mickaël Salaün wrote: >>> >>> >>> On 04/02/2021 04:53, Eric Snowberg wrote: > On Feb 3, 2021, at 11:49 AM, Mickaël Salaün wrote: > >

Re: [PATCH v2] tracepoints: Do not punish non static call users

2021-02-05 Thread kernel test robot
Hi Steven, I love your patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on linux/master linus/master v5.11-rc6 next-20210125] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 6:44 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > > > On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > > > > > > > > > On 2/5/21 12:31 PM, Sedat Dilek wrote: > > > > On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > > >

[RFC][PATCH 1/2] dma-buf: dma-heap: Provide accessor to get heap name

2021-02-05 Thread John Stultz
It can be useful to access the name for the heap, so provide an accessor to do so. Cc: Daniel Vetter Cc: Sumit Semwal Cc: Liam Mark Cc: Chris Goldsworthy Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren Baghdasaryan Cc: Sandeep Patil Cc: Daniel Mentz Cc: Ørjan Eide Cc:

[RFC][PATCH 2/2] dma-buf: heaps: Fix the name used when exporting dmabufs to be the actual heap name

2021-02-05 Thread John Stultz
By default dma_buf_export() sets the exporter name to be KBUILD_MODNAME. Unfortunately this may not be identical to the string used as the heap name (ie: "system" vs "system_heap"). This can cause some minor confusion with tooling, and there is the future potential where multiple heap types may

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-05 Thread Ashish Kalra
Hello Steve, Continued response to your queries, especially related to userspace control of SEV live migration feature : On Fri, Feb 05, 2021 at 06:54:21PM -0800, Steve Rutherford wrote: > On Thu, Feb 4, 2021 at 7:08 PM Ashish Kalra wrote: > > > > Hello Steve, > > > > On Thu, Feb 04, 2021 at

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > > > > > On 2/5/21 12:31 PM, Sedat Dilek wrote: > > > On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > > >> > > >> > > >> > > >> On 2/5/21 11:24 AM, Arnaldo Carvalho de Melo

[PATCH v2] printk: fix deadlock when kernel panic

2021-02-05 Thread Muchun Song
We found a deadlock bug on our server when the kernel panic. It can be described in the following diagram. CPU0: CPU1: panic rcu_dump_cpu_stacks kdump_nmi_shootdown_cpus

[PATCH] drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue

2021-02-05 Thread Sabyrzhan Tasbolatov
syzbot found WARNING in qp_broker_alloc[1] in qp_host_alloc_queue() when num_pages is 0x11, giving queue_size + queue_page_size bigger than KMALLOC_MAX_SIZE for kzalloc(), resulting order >= MAX_ORDER condition. queue_size + queue_page_size=0x8000d8, where KMALLOC_MAX_SIZE=0x40. FYI,

[PATCH net-next] net: socket: use BIT_MASK for MSG_*

2021-02-05 Thread menglong8 . dong
From: Menglong Dong The bit mask for MSG_* seems a little confused here. Replace it with BIT_MASK to make it clear to understand. Signed-off-by: Menglong Dong --- include/linux/socket.h | 71 ++ 1 file changed, 37 insertions(+), 34 deletions(-) diff

Re: [PATCH v10 12/16] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2021-02-05 Thread Ashish Kalra
Hello Steve, Let me first answer those queries which i can do immediately ... On Fri, Feb 05, 2021 at 06:54:21PM -0800, Steve Rutherford wrote: > On Thu, Feb 4, 2021 at 7:08 PM Ashish Kalra wrote: > > > > Hello Steve, > > > > On Thu, Feb 04, 2021 at 04:56:35PM -0800, Steve Rutherford wrote: > >

Re: [PATCH v4 03/22] media: camss: Replace trace_printk() with dev_dbg()

2021-02-05 Thread Nicolas Boichat
On Fri, Feb 5, 2021 at 6:44 PM Robert Foss wrote: > > trace_printk() should not be used in production code, > since extra memory is used for special buffers whenever > trace_puts() is used. > > Replace it with dev_dbg() which provides all of the desired > debugging functionality. > >

Re: [External] Re: [PATCH] mm: memcontrol: remove rcu_read_lock from get_mem_cgroup_from_page

2021-02-05 Thread Muchun Song
On Sat, Feb 6, 2021 at 2:15 AM Johannes Weiner wrote: > > On Fri, Feb 05, 2021 at 11:32:24AM +0100, Michal Hocko wrote: > > On Fri 05-02-21 17:14:30, Muchun Song wrote: > > > On Fri, Feb 5, 2021 at 4:36 PM Michal Hocko wrote: > > > > > > > > On Fri 05-02-21 14:27:19, Muchun Song wrote: > > > > >

Re: [PATCH v2 2/2] of: property: Add fw_devlink support for interrupts

2021-02-05 Thread Saravana Kannan
On Fri, Feb 5, 2021 at 9:55 AM Saravana Kannan wrote: > > On Fri, Feb 5, 2021 at 9:52 AM Geert Uytterhoeven > wrote: > > > > Hi Saravana, > > > > On Fri, Feb 5, 2021 at 6:20 PM Saravana Kannan wrote: > > > On Fri, Feb 5, 2021 at 2:20 AM Geert Uytterhoeven > > > wrote: > > > > On Fri, Feb 5,

Re: [PATCH 0/3] drivers/net/ethernet/amd: Follow style guide

2021-02-05 Thread Amy Parker
On Fri, Feb 5, 2021 at 7:16 PM Randy Dunlap wrote: > > On 2/5/21 4:01 PM, Amy Parker wrote: > > This patchset updates atarilance.c and sun3lance.c to follow the kernel > > style guide. Each patch tackles a different issue in the style guide. > > > >-Amy IP > > > > Amy Parker (3): > >

Re: [PATCH net 1/1] net: stmmac: set TxQ mode back to DCB after disabling CBS

2021-02-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 4 Feb 2021 22:03:16 +0800 you wrote: > From: Mohammad Athari Bin Ismail > > When disable CBS, mode_to_use parameter is not updated even the operation > mode of Tx Queue is changed to Data Centre Bridging (DCB).

Re: [PATCH] drivers: scsi: Describe and replace a word with better one in the file qlogicpti.h

2021-02-05 Thread Julian Calaby
Hi Bhaskar, On Sat, Feb 6, 2021 at 9:55 AM Bhaskar Chowdhury wrote: > > > > s/fucking/awful/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/scsi/qlogicpti.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/qlogicpti.h b/drivers/scsi/qlogicpti.h >

Re: [Freedreno] [PATCH] drm/msm/dp: remove unneeded semicolon

2021-02-05 Thread abhinavk
On 2021-02-02 19:08, Yang Li wrote: Eliminate the following coccicheck warning: ./drivers/gpu/drm/msm/dp/dp_ctrl.c:1161:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_ctrl.c | 2 +- 1 file changed, 1

Re: [PATCH 3/3] kbuild: introduce KERNEL_VERSION2 and LINUX_VERSION_CODE2

2021-02-05 Thread Sasha Levin
On Fri, Feb 05, 2021 at 10:50:33PM -0500, Sasha Levin wrote: SUBLEVEL only has 8 bits of space, which means that we'll overflow it once it reaches 256. Few of the stable branches will imminently overflow SUBLEVEL while there's no risk of overflowing VERSION. Thus, give SUBLEVEL 8 more bits

Re: [PATCH 0/8] mm: memcontrol: switch to rstat v2

2021-02-05 Thread Tejun Heo
On Fri, Feb 05, 2021 at 01:27:58PM -0500, Johannes Weiner wrote: > This is version 2 of the memcg rstat patches. Updates since v1: > > - added cgroup selftest output (see test section below) (thanks Roman) > - updated cgroup selftest to match new kernel implementation > - added Fixes: tag to 'mm:

[PATCH 3/3] kbuild: introduce KERNEL_VERSION2 and LINUX_VERSION_CODE2

2021-02-05 Thread Sasha Levin
SUBLEVEL only has 8 bits of space, which means that we'll overflow it once it reaches 256. Few of the stable branches will imminently overflow SUBLEVEL while there's no risk of overflowing VERSION. Thus, give SUBLEVEL 8 more bits which will be stolen from VERSION, this should create a better

Re: [PATCH 1/5] clk: rockchip: add clock ids for PCLK_DPHYRX and PCLK_DPHYTX0 on rk3368

2021-02-05 Thread Heiko Stuebner
On Fri, 5 Feb 2021 12:04:58 +0100, Heiko Stuebner wrote: > Needed by the mipi dphys. > The naming follows the clock names in the manual. Applied, thanks! [1/5] clk: rockchip: add clock ids for PCLK_DPHYRX and PCLK_DPHYTX0 on rk3368 commit: 0be10b6f68b217876665031f643e571a5661fc9c [2/5]

[PATCH 1/3] Revert "kbuild: give the SUBLEVEL more room in KERNEL_VERSION"

2021-02-05 Thread Sasha Levin
This reverts commit 537896fabed11f8d976d1aacdb977213c7b3. This turns out to be a bad idea: userspace has coded the structure of KERNEL_VERSION on it's own and assumes the 2-1-1 byte split, making it userspace ABI we can't break. The reverted patch didn't make it past linux-next, so no

[PATCH 2/3] kbuild: clamp SUBLEVEL to 255

2021-02-05 Thread Sasha Levin
Right now if SUBLEVEL becomes larger than 255 it will overflow into the territory of PATCHLEVEL, causing havoc in userspace that tests for specific kernel version. While userspace code tests for MAJOR and PATCHLEVEL, it doesn't test SUBLEVEL at any point as ABI changes don't happen in the context

Re: [PATCH v4 5/5] phy: phy-hi3670-usb3: move driver from staging into phy

2021-02-05 Thread Rob Herring
On Tue, 19 Jan 2021 11:44:43 +0100, Mauro Carvalho Chehab wrote: > The phy USB3 driver for Hisilicon 970 (hi3670) is ready > for mainstream. Mode it from staging into the main driver's > phy/ directory. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../bindings/phy/hisilicon,hi3670-usb3.yaml

general protection fault in ieee80211_assign_vif_chanctx

2021-02-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3aaf0a27 Merge tag 'clang-format-for-linux-v5.11-rc7' of g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11dde95f50 kernel config: https://syzkaller.appspot.com/x/.config?x=266a5362c89c8127

Re: [PATCH] Makefile: reuse CC_VERSION_TEXT

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 2:49 AM Masahiro Yamada wrote: > > On Sat, Feb 6, 2021 at 7:01 AM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > I noticed we're invoking $(CC) via $(shell) more than once to check the > > version. Let's reuse the first string captured in $CC_VERSION_TEXT. > >

Re: [PATCH v4 1/2] dt-bindings: counter: add pulse-counter binding

2021-02-05 Thread Rob Herring
On Thu, Jan 28, 2021 at 02:39:22PM +0100, Oleksij Rempel wrote: > On Thu, Jan 28, 2021 at 09:17:23AM +0100, Linus Walleij wrote: > > Hi Oleksij, > > > > thanks for your patch! > > > > On Tue, Jan 26, 2021 at 2:15 PM Oleksij Rempel > > wrote: > > > > > Add binding for the pulse counter node >

Re: [PATCH v2 20/28] KVM: x86/mmu: Use atomic ops to set SPTEs in TDP MMU map

2021-02-05 Thread Sean Christopherson
On Wed, Feb 03, 2021, Paolo Bonzini wrote: > On 02/02/21 19:57, Ben Gardon wrote: > > To prepare for handling page faults in parallel, change the TDP MMU > > page fault handler to use atomic operations to set SPTEs so that changes > > are not lost if multiple threads attempt to modify the same

[PATCH v5 07/34] keembay-vpu-ipc: Add Keem Bay VPU IPC module

2021-02-05 Thread mgross
From: Paul Murphy Intel Keem Bay SoC contains a Vision Processing Unit (VPU) to enable machine vision and other applications. Enable Linux to control the VPU processor and provides an interface to the Keem Bay IPC for communicating with the VPU firmware. Specifically the driver provides the

Re: [PATCH 5/8] cgroup: rstat: punt root-level optimization to individual controllers

2021-02-05 Thread Tejun Heo
Hello, On Fri, Feb 05, 2021 at 01:28:03PM -0500, Johannes Weiner wrote: > Current users of the rstat code can source root-level statistics from > the native counters of their respective subsystem, allowing them to > forego aggregation at the root level. This optimization is currently >

Re: [PATCH v9 1/3] vmlinux.lds.h: add DWARF v5 sections

2021-02-05 Thread Andrew Morton
On Fri, 5 Feb 2021 12:22:18 -0800 Nick Desaulniers wrote: > We expect toolchains to produce these new debug info sections as part of > DWARF v5. Add explicit placements to prevent the linker warnings from > --orphan-section=warn. > > Compilers may produce such sections with explicit

Re: [PATCH] printk: Userspace format enumeration support

2021-02-05 Thread Steven Rostedt
On Fri, 5 Feb 2021 22:45:19 + Chris Down wrote: > >I'm not against the idea. I don't think it belongs in /proc. Perhaps > >debugfs is a better place to put it. > > Any location is fine with me, as long as it gets to userspace. How does > /printk/formats or /printk/formats/ sound to you?

[PATCH v5 21/34] xlink-core: Enable xlink protocol over pcie

2021-02-05 Thread mgross
From: Seamus Kelly Enable host system access to the VPU over the xlink protocol over PCIe by enabling channel multiplexing and dispatching. This allows for remote host communication channels across pcie links. add dispatcher update multiplexer to utilise dispatcher xlink-core:

[RFC v1 15/26] x86/boot: Add a trampoline for APs booting in 64-bit mode

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: Sean Christopherson Add a trampoline for booting APs in 64-bit mode via a software handoff with BIOS, and use the new trampoline for the ACPI MP wake protocol used by TDX. Extend the real mode IDT pointer by four bytes to support LIDT in 64-bit mode. For the GDT pointer, create a new

Re: [PATCH v5 1/2] dt-bindings: Add DT schema for Arm Mali Valhall GPU

2021-02-05 Thread Rob Herring
On Thu, Jan 28, 2021 at 10:23:41AM +0800, Nick Fan wrote: > Add devicetree schema for Arm Mali Valhall GPU > > Define a compatible string for the Mali Valhall GPU > for Mediatek's SoC platform. > > Signed-off-by: Nick Fan > --- > .../bindings/gpu/arm,mali-valhall.yaml| 217

Re: [PATCH v4 18/21] mfd: hi6421-spmi-pmic: move driver from staging

2021-02-05 Thread Rob Herring
On Tue, Jan 19, 2021 at 05:10:44PM +0100, Mauro Carvalho Chehab wrote: > This driver is ready for mainstream. So, move it out of staging. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../mfd/hisilicon,hi6421-spmi-pmic.yaml | 135 + > MAINTAINERS

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > On 2/5/21 12:31 PM, Sedat Dilek wrote: > > On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > >> > >> > >> > >> On 2/5/21 11:24 AM, Arnaldo Carvalho de Melo wrote: > >>> Em Fri, Feb 05, 2021 at 11:10:08AM -0800, Yonghong Song

Re: [PATCH RESEND v5 3/8] dt-bindings: mfd: Add compatible for the MediaTek MT6359 PMIC

2021-02-05 Thread Rob Herring
On Fri, 29 Jan 2021 17:49:36 +0800, Hsin-Hsiung Wang wrote: > This adds compatible for the MediaTek MT6359 PMIC. > > Signed-off-by: Hsin-Hsiung Wang > --- > changes since v4: > - remove unused compatible name. > --- > Documentation/devicetree/bindings/mfd/mt6397.txt | 1 + > 1 file changed, 1

[RFC v1 14/26] ACPI: tables: Add multiprocessor wake-up support

2021-02-05 Thread Kuppuswamy Sathyanarayanan
As per Guest-Host Communication Interface (GHCI) Specification for Intel TDX, sec 4.1, a new sub structure – multiprocessor wake-up structure - is added to the ACPI Multiple APIC Description Table (MADT) to describe the information of the mailbox. If a platform firmware produces the multiprocessor

Re: [PATCH v4 1/3] dt-bindings: input: atmel_mxt_ts: Document atmel,wakeup-method and WAKE line GPIO

2021-02-05 Thread Rob Herring
On Fri, 22 Jan 2021 23:06:57 +0300, Dmitry Osipenko wrote: > Some Atmel touchscreen controllers have a WAKE line that needs to be > asserted low in order to wake up controller from a deep sleep. Document > the wakeup methods and the new GPIO properties. > > Reviewed-by: Linus Walleij >

[PATCH v5 08/34] misc: xlink-pcie: Add documentation for XLink PCIe driver

2021-02-05 Thread mgross
From: Srikanth Thokala Provide overview of XLink PCIe driver implementation Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- Documentation/vpu/index.rst | 1 + Documentation/vpu/xlink-pcie.rst | 90

[RFC v1 13/26] x86/tdx: Handle MWAIT, MONITOR and WBINVD

2021-02-05 Thread Kuppuswamy Sathyanarayanan
In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions are not supported. So handle #VE due to these instructions as no ops. Signed-off-by: Kuppuswamy Sathyanarayanan Reviewed-by: Andi Kleen --- arch/x86/kernel/tdx.c | 17 + 1 file changed, 17 insertions(+) diff

[RFC v1 12/26] x86/tdx: Handle in-kernel MMIO

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: "Kirill A. Shutemov" Handle #VE due to MMIO operations. MMIO triggers #VE with EPT_VIOLATION exit reason. For now we only handle subset of instruction that kernel uses for MMIO oerations. User-space access triggers SIGBUS. Signed-off-by: Kirill A. Shutemov Reviewed-by: Andi Kleen

Re: [PATCH v5 15/20] dt-bindings: net: sun8i-emac: Add H616 compatible string

2021-02-05 Thread Rob Herring
On Wed, 27 Jan 2021 17:24:55 +, Andre Przywara wrote: > Add the obvious compatible name to the existing EMAC binding, and pair > it with the existing A64 fallback compatible string, as the devices are > compatible. > > On the way use enums to group the compatible devices together. > >

[RFC v1 11/26] x86/tdx: Handle port I/O

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: "Kirill A. Shutemov" Unroll string operations and handle port I/O through TDVMCALLs. Also handle #VE due to I/O operations with the same TDVMCALLs. Decompression code uses port IO for earlyprintk. We must use paravirt calls there too if we want to allow earlyprintk. Decompresion code

[PATCH v5 18/34] xlink-ipc: Add xlink ipc driver

2021-02-05 Thread mgross
From: Seamus Kelly Add xLink driver, which interfaces the xLink Core driver with the Keem Bay VPU IPC driver, thus enabling xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Specifically the driver enables xLink Core to: * Boot / Reset the VPU IP * Register to

回复: [PATCH] uprobes: Fix kasan UAF reported by syzbot

2021-02-05 Thread Zhang, Qiang
Hello peterz This ("rbtree, uprobes: Use rbtree helpers")modification misses the increase in the reference count , syzbot have been reporting recently . Thanks Qiang 发件人: Zhang, Qiang 发送时间: 2021年2月2日 17:17 收件人: pet...@infradead.org; mi...@redhat.com;

[PATCH v3] kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE

2021-02-05 Thread Chris Wilson
Userspace has discovered the functionality offered by SYS_kcmp and has started to depend upon it. In particular, Mesa uses SYS_kcmp for os_same_file_description() in order to identify when two fd (e.g. device or dmabuf) point to the same struct file. Since they depend on it for core functionality,

Re: [PATCH] mm: cma: support sysfs

2021-02-05 Thread John Hubbard
On 2/5/21 1:28 PM, Minchan Kim wrote: On Fri, Feb 05, 2021 at 12:25:52PM -0800, John Hubbard wrote: On 2/5/21 8:15 AM, Minchan Kim wrote: ... OK. But...what *is* your goal, and why is this useless (that's what orthogonal really means here) for your goal? As I mentioned, the goal is to monitor

[PATCH 05/15] ARM: dts: ls1021a-qds: Add node for QSPI flash

2021-02-05 Thread Li Yang
Add the missing node for qspi flash. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-qds.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts index 71bab93bc4cc..86d969d0ef68 100644 ---

[PATCH 12/15] ARM: dts: ls1021a: add #dma-cells to qdma node

2021-02-05 Thread Li Yang
Add the #dma-cells to align with the dma schema. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 715932b1df58..a6342d69b4ea 100644 ---

[PATCH 14/15] ARM: dts: ls1021a-qds: change fpga to simple-mfd device

2021-02-05 Thread Li Yang
The FPGA is not really a bus but more like an MFD device. Change the compatible string from "simple-bus" to "simple-mfd". This also fix a node name issue with simple-bus schema. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-qds.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 02/15] dt-bindings: i2c: imx: update schema to align with original binding

2021-02-05 Thread Li Yang
Layerscape SoCs doesn't use ipg as clock name. Remove the clock name requirement in the schema. Also the original binding doesn't enforce the order of "tx" and "rx" in dma-names. Both orders are used extensively in existing dtses, update the schema to allow both. Signed-off-by: Li Yang ---

[PATCH 13/15] ARM: dts: ls1021a: add #power-domain-cells for power-controller node

2021-02-05 Thread Li Yang
Add the #power-domain-cells for power-controller node as required by the schema. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index a6342d69b4ea..cf2b5ad42a65 100644

[PATCH 15/15] ARM: dts: ls1021a-tsn: remove undocumented property "position" from mma8452 node

2021-02-05 Thread Li Yang
Property "postion" is not documented in the mma8452 binding. Remove it to resolve the error in "make dtbs_check" Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a-tsn.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a-tsn.dts

[PATCH 03/15] dt-bindings: memory: fsl: convert ifc binding to yaml schema

2021-02-05 Thread Li Yang
Convert the txt binding to yaml format and add description. Also updated the recommended node name to ifc-bus to align with the simple-bus node name requirements. Signed-off-by: Li Yang --- .../bindings/memory-controllers/fsl/ifc.txt | 82 --

[PATCH 08/15] ARM: dts: ls1021a: breakup long values in thermal node

2021-02-05 Thread Li Yang
Breakup long values to pass the schema check. Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 72 +- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index

[RFC v1 10/26] x86/io: Allow to override inX() and outX() implementation

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: "Kirill A. Shutemov" The patch allows to override the implementation of the port IO helpers. TDX code will provide an implementation that redirect the helpers to paravirt calls. Signed-off-by: Kirill A. Shutemov Reviewed-by: Andi Kleen Signed-off-by: Kuppuswamy Sathyanarayanan ---

[PATCH v5 32/34] dt-bindings: misc: hddl_dev: Add hddl device management documentation

2021-02-05 Thread mgross
From: "C, Udhayakumar" Add hddl device management documentation The HDDL client driver acts as an software RTC to sync with network time. It abstracts xlink protocol to communicate with remote IA host. This driver exports the details about sensors available in the platform to remote IA host as

[PATCH v5 33/34] misc: Hddl device management for local host

2021-02-05 Thread mgross
From: "C, Udhayakumar" Add local host hddl device management for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine

[RFC v1 09/26] x86/tdx: Handle CPUID via #VE

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: "Kirill A. Shutemov" TDX has three classes of CPUID leaves: some CPUID leaves are always handled by the CPU, others are handled by the TDX module, and some others are handled by the VMM. Since the VMM cannot directly intercept the instruction these are reflected with a #VE exception to the

[PATCH v5 19/34] xlink-core: Add xlink core device tree bindings

2021-02-05 Thread mgross
From: Seamus Kelly Add device tree bindings for keembay-xlink. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Seamus Kelly --- .../bindings/misc/intel,keembay-xlink.yaml| 29 +++ 1 file changed, 29

Re: [PATCH] checkpatch: Don't warn about colon termination in linker scripts

2021-02-05 Thread Joe Perches
On Thu, 2021-02-04 at 16:32 +, Chris Down wrote: > This check erroneously flags cases like the one in my recent printk > enumeration patch[0], where the spaces are syntactic, and `section:' vs. > `section :' is syntactically important: > > ERROR: space prohibited before that ':' (ctx:WxW)

[PATCH v5 28/34] misc: Intel tsens IA host driver.

2021-02-05 Thread mgross
From: "C, Udhayakumar" Add Intel tsens IA host driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine vision

[RFC v1 08/26] x86/tdx: Add MSR support for TDX guest

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: "Kirill A. Shutemov" Operations on context-switched MSRs can be run natively. The rest of MSRs should be handled through TDVMCALLs. TDVMCALL[Instruction.RDMSR] and TDVMCALL[Instruction.WRMSR] provide MSR oprations. You can find RDMSR and WRMSR details in Guest-Host-Communication

[PATCH v5 25/34] misc: Add Keem Bay VPU manager

2021-02-05 Thread mgross
From: "Li, Tingqian" VPU IP on Keem Bay SOC is a vision acceleration IP complex under the control of a RTOS-based firmware (running on RISC MCU inside the VPU IP) serving user-space application running on CPU side for HW accelerated computer vision tasks. This module is kernel counterpart of

[RFC v1 07/26] x86/tdx: Wire up KVM hypercalls

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: "Kirill A. Shutemov" KVM hypercalls have to be wrapped into vendor-specific TDVMCALLs. Signed-off-by: Kirill A. Shutemov Reviewed-by: Andi Kleen Signed-off-by: Kuppuswamy Sathyanarayanan --- arch/x86/include/asm/kvm_para.h | 21 ++ arch/x86/include/asm/tdx.h | 8 +++

Re: [PATCH] mm: cma: support sysfs

2021-02-05 Thread John Hubbard
On 2/5/21 1:52 PM, Suren Baghdasaryan wrote: I takes your suggestion something like this. [alloc_range] could be order or range by interval /sys/kernel/mm/cma/cma-A/[alloc_range]/success /sys/kernel/mm/cma/cma-A/[alloc_range]/fail .. .. /sys/kernel/mm/cma/cma-Z/[alloc_range]/success

[PATCH v5 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-02-05 Thread mgross
From: Paul Murphy Add DT bindings documentation for the Keem Bay VPU IPC driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Co-developed-by: Daniele Alessandrelli Signed-off-by: Paul Murphy Signed-off-by: Daniele Alessandrelli Signed-off-by: Mark Gross ---

[PATCH v5 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-02-05 Thread mgross
From: Srikanth Thokala Add PCIe EPF driver for local host (lh) to configure BAR's and other HW resources. Underlying PCIe HW controller is a Synopsys DWC PCIe core. Cc: Derek Kiernan Cc: Dragan Cvetic Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark

[PATCH v5 17/34] xlink-ipc: Add xlink ipc device tree bindings

2021-02-05 Thread mgross
From: Seamus Kelly Add device tree bindings for the xLink IPC driver which enables xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Seamus Kelly

Re: [RFC v1 13/26] x86/tdx: Handle MWAIT, MONITOR and WBINVD

2021-02-05 Thread Andy Lutomirski
On Fri, Feb 5, 2021 at 3:39 PM Kuppuswamy Sathyanarayanan wrote: > > In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions > are not supported. So handle #VE due to these instructions as no ops. > MWAIT turning into NOP is no good. How about suppressing X86_FEATURE_MWAIT instead?

[PATCH v5 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-02-05 Thread mgross
From: "Li, Tingqian" Add DT binding schema for VPU on Keem Bay ASoC platform Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Li Tingqian Signed-off-by: Mark Gross --- .../bindings/misc/intel,keembay-vpu-mgr.yaml | 48 +++ 1 file changed, 48 insertions(+)

Re: [PATCH 1/3] dt-bindings: Fix undocumented compatible strings in examples

2021-02-05 Thread Wolfram Sang
On Tue, Feb 02, 2021 at 02:55:42PM -0600, Rob Herring wrote: > Running 'dt-validate -m' will flag any compatible strings missing a schema. > Fix all the errors found in DT binding examples. Most of these are just > typos. > > Cc: Stephen Boyd > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: Linus

[PATCH v5 27/34] misc: Tsens ARM host thermal driver.

2021-02-05 Thread mgross
From: "C, Udhayakumar" Add tsens ARM host thermal driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine vision

[RFC v1 06/26] x86/tdx: Add HLT support for TDX guest

2021-02-05 Thread Kuppuswamy Sathyanarayanan
From: "Kirill A. Shutemov" Per Guest-Host-Communication Interface (GHCI) for Intel Trust Domain Extensions (Intel TDX) specification, sec 3.8, TDVMCALL[Instruction.HLT] provides HLT operation. Use it to implement halt() and safe_halt() paravirtualization calls. The same TDVMCALL is used to

Re: [PATCH v4 3/3] arm64: dts: reset: add microchip sparx5 switch reset driver

2021-02-05 Thread Rob Herring
On Wed, Jan 20, 2021 at 09:19:21AM +0100, Steen Hegelund wrote: > This provides reset driver support for the Microchip Sparx5 PCB134 and > PCB135 reference boards. This isn't a compatible change. You need an explanation why that's okay if that's intended. > > Signed-off-by: Steen Hegelund >

[PATCH v2] kunit: don't show `1 == 1` in failed assertion messages

2021-02-05 Thread Daniel Latypov
Currently, given something (fairly dystopian) like > KUNIT_EXPECT_EQ(test, 2 + 2, 5) KUnit will prints a failure message like this. > Expected 2 + 2 == 5, but > 2 + 2 == 4 > 5 == 5 With this patch, the output just becomes > Expected 2 + 2 == 5, but > 2 + 2 == 4 This patch is

[PATCH v5 26/34] dt-bindings: misc: intel_tsens: Add tsens thermal bindings documentation

2021-02-05 Thread mgross
From: "C, Udhayakumar" Add device tree bindings for local host thermal sensors Intel Edge.AI Computer Vision platforms. The tsens module enables reading of on chip sensors present in the Intel Bay series SoC. In the tsens module various junction temperature and SoC temperature are reported

[PATCH v4 2/3] kunit: tool: add support for filtering suites by glob

2021-02-05 Thread Daniel Latypov
This allows running different subsets of tests, e.g. $ ./tools/testing/kunit/kunit.py build $ ./tools/testing/kunit/kunit.py exec 'list*' $ ./tools/testing/kunit/kunit.py exec 'kunit*' This passes the "kunit_filter.glob" commandline option to the UML kernel, which currently only supports

[PATCH] ia64: Fix style guide breakage

2021-02-05 Thread Amy Parker
Some statements do not have proper spacing between their C keywords (commonly if and for) throughout files in the ia64 tree. This patch corrects this to follow the kernel code style guide. Signed-off-by: Amy Parker --- arch/ia64/hp/common/sba_iommu.c | 6 +++---

  1   2   3   4   5   6   7   8   9   10   >