RE: [PATCH v3 02/34] dt-bindings: mailbox: Add Intel VPU IPC mailbox bindings

2021-01-26 Thread Gross, Mark
> -Original Message- > From: Rob Herring > Sent: Tuesday, January 26, 2021 5:45 AM > To: Mark Gross > Cc: markgr...@kernel.org; Arnd Bergmann ; Borislav Petkov > ; Damien Le Moal ; Dragan Cvetic > ; Greg Kroah-Hartman > ; Jonathan Corbet ; Palmer > Dabbelt ; Paul Walmsley > ; Peng Fan ;

Re: [PATCH v5 1/2] pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander

2021-01-26 Thread Linus Walleij
On Mon, Jan 25, 2021 at 7:22 PM AngeloGioacchino Del Regno wrote: > The Awinic AW9523(B) is a multi-function I2C gpio expander in a > TQFN-24L package, featuring PWM (max 37mA per pin, or total max > power 3.2Watts) for LED driving capability. > > It has two ports with 8 pins per port (for a tota

[PATCH 5.10 076/199] nfsd: Fixes for nfsd4_encode_read_plus_data()

2021-01-26 Thread Greg Kroah-Hartman
From: Trond Myklebust [ Upstream commit 72d78717c6d06adf65d2e3dccc96d9e9dc978593 ] Ensure that we encode the data payload + padding, and that we truncate the preallocated buffer to the actual read size. Fixes: 528b84934eb9 ("NFSD: Add READ_PLUS data support") Signed-off-by: Trond Myklebust Sig

Re: [RFC] clk: Mark HW enabled clocks as enabled in core

2021-01-26 Thread Sascha Hauer
On Tue, Jan 26, 2021 at 03:12:39PM +0200, Abel Vesa wrote: > On 21-01-26 12:51:05, Sascha Hauer wrote: > > On Tue, Jan 26, 2021 at 01:21:36PM +0200, Abel Vesa wrote: > > > Some clocks are already enabled in HW even before the kernel > > > starts to boot. So, in order to make sure that these clocks

[PATCH v2 3/7] drivers: soc: atmel: fix "__initconst should be placed after socs[]" warning

2021-01-26 Thread Claudiu Beznea
Fix checkpatch.pl warning: "__initconst should be placed after socs[]". Signed-off-by: Claudiu Beznea --- drivers/soc/atmel/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c index d54ec271a15d..8d89e2426fc8 100644 --- a/dr

[PATCH v2 2/7] drivers: soc: atmel: use GENMASK

2021-01-26 Thread Claudiu Beznea
Use GENMASK() to define CIDR match mask. Signed-off-by: Claudiu Beznea --- drivers/soc/atmel/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c index 755a82502ef4..d54ec271a15d 100644 --- a/drivers/soc/atmel/soc.c +++ b/dri

[PATCH v2 0/7] drivers: soc: atmel: add support for sama7g5

2021-01-26 Thread Claudiu Beznea
Hi, This series adds support for SAMA7G5 identification. Along with this included also some fixes. Thank you, Claudiu Beznea Changes in v2: - use proper license identifier - s/licence/license/g Claudiu Beznea (7): drivers: soc: atmel: add spdx license identifier drivers: soc: atmel: use GEN

Re: [PATCH 2/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B

2021-01-26 Thread Linus Walleij
On Mon, Jan 25, 2021 at 7:21 PM AngeloGioacchino Del Regno wrote: > Add bindings for the Awinic AW9523/AW9523B I2C GPIO Expander driver. > > Signed-off-by: AngeloGioacchino Del Regno > (...) > + '#interrupt-cells': > +description: > + Specifies the PIN numbers and Flags, as defined in

Re: [PATCH v13 05/12] mm: hugetlb: allocate the vmemmap pages associated with each HugeTLB page

2021-01-26 Thread David Hildenbrand
On 26.01.21 10:29, Oscar Salvador wrote: > On Sun, Jan 17, 2021 at 11:10:46PM +0800, Muchun Song wrote: >> When we free a HugeTLB page to the buddy allocator, we should allocate the >> vmemmap pages associated with it. We can do that in the __free_hugepage() >> before freeing it to buddy. >> >> Sig

[PATCH v3 1/2] bio: limit bio max size

2021-01-26 Thread Changheun Lee
bio size can grow up to 4GB when muli-page bvec is enabled. but sometimes it would lead to inefficient behaviors. in case of large chunk direct I/O, - 32MB chunk read in user space - all pages for 32MB would be merged to a bio structure if the pages physical addresses are contiguous. it makes some

Re: [PATCH] pinctrl: qcom-pmic-gpio: Add support for pm8019

2021-01-26 Thread Linus Walleij
On Fri, Jan 15, 2021 at 6:11 PM Konrad Dybcio wrote: > PM8019 provides 6 GPIOs. Add a compatible to support that. > > Signed-off-by: Konrad Dybcio Patch applied. Yours, Linus Walleij

Re: [PATCH 03/12] perf/x86/intel: Add perf core PMU support for Sapphire Rapids

2021-01-26 Thread Peter Zijlstra
On Tue, Jan 19, 2021 at 12:38:22PM -0800, kan.li...@linux.intel.com wrote: > Add pebs_no_block to > explicitly indicate the previous platforms which don't support the new > block fields. Accessing the new block fields are ignored on those > platforms. > @@ -5475,6 +5749,7 @@ __init int int

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Josh Poimboeuf
On Tue, Jan 26, 2021 at 02:51:29PM +0100, Greg KH wrote: > On Tue, Jan 26, 2021 at 06:44:44AM -0600, Justin Forbes wrote: > > On Tue, Jan 26, 2021 at 2:21 AM Greg KH wrote: > > > > > > On Mon, Jan 25, 2021 at 04:07:57PM -0600, Josh Poimboeuf wrote: > > > > On Tue, Jan 26, 2021 at 06:44:35AM +0900,

Re: [RESEND v13 10/10] KVM: vmx/pmu: Release guest LBR event via lazy release mechanism

2021-01-26 Thread Paolo Bonzini
On 08/01/21 02:37, Like Xu wrote: The vPMU uses GUEST_LBR_IN_USE_IDX (bit 58) in 'pmu->pmc_in_use' to indicate whether a guest LBR event is still needed by the vcpu. If the vcpu no longer accesses LBR related registers within a scheduling time slice, and the enable bit of LBR has been unset, vPMU

Re: [PATCH v2] dmabuf: Add the capability to expose DMA-BUF stats in sysfs

2021-01-26 Thread kernel test robot
Hi Hridya, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.11-rc5] [cannot apply to next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH v16 08/11] secretmem: add memcg accounting

2021-01-26 Thread Matthew Wilcox
On Mon, Jan 25, 2021 at 11:38:17PM +0200, Mike Rapoport wrote: > I cannot use __GFP_ACCOUNT because cma_alloc() does not use gfp. > Besides, kmem accounting with __GFP_ACCOUNT does not seem > to update stats and there was an explicit request for statistics: > > https://lore.kernel.org/lkml/CALo0P

Re: [PATCH 1/8] dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml

2021-01-26 Thread Guenter Roeck
On 1/26/21 12:37 AM, Heiko Stübner wrote: > Hi Guenter, > > Am Dienstag, 26. Januar 2021, 05:55:59 CET schrieb Guenter Roeck: >> On 1/25/21 3:40 PM, Heiko Stuebner wrote: >>> Am Samstag, 23. Januar 2021, 18:34:01 CET schrieb Guenter Roeck: On Fri, Dec 18, 2020 at 01:05:27PM +0100, Johan Jonke

Re: [PATCH v1] mm/memory_hotplug: MEMHP_MERGE_RESOURCE -> MHP_MERGE_RESOURCE

2021-01-26 Thread Wei Liu
On Tue, Jan 26, 2021 at 12:58:29PM +0100, David Hildenbrand wrote: > Let's make "MEMHP_MERGE_RESOURCE" consistent with "MHP_NONE", "mhp_t" and > "mhp_flags". As discussed recently [1], "mhp" is our internal > acronym for memory hotplug now. > > [1] > https://lore.kernel.org/linux-mm/c37de2d0-28a1

RE: [PATCH v2 29/34] Intel tsens i2c slave driver.

2021-01-26 Thread Gross, Mark
> -Original Message- > From: Arnd Bergmann > Sent: Monday, January 25, 2021 11:45 PM > To: mgr...@linux.intel.com > Cc: Randy Dunlap ; markgr...@kernel.org; Arnd > Bergmann ; Borislav Petkov ; Damien Le Moal > ; Dragan Cvetic ; gregkh > ; Jonathan Corbet ; Leonard > Crestez ; Palmer Dabb

Re: [PATCH v13 05/12] mm: hugetlb: allocate the vmemmap pages associated with each HugeTLB page

2021-01-26 Thread Oscar Salvador
On Tue, Jan 26, 2021 at 10:36:21AM +0100, David Hildenbrand wrote: > I think either keep it completely simple (only free vmemmap of hugetlb > pages allocated early during boot - which is what's not sufficient for > some use cases) or implement the full thing properly (meaning, solve > most challeng

Re: [PATCH 0/2] Fix BUG: Invalid wait context in hrtimer_interrupt()

2021-01-26 Thread Qais Yousef
On 01/26/21 13:46, Sergey Senozhatsky wrote: > On (21/01/23 23:37), Qais Yousef wrote: > > > > I hit a pr_warn() inside hrtimer_interrupt() which lead to a BUG: Invalid > > wait > > context splat. > > > > The problem wasn't reproducible but I think the cause is obvious, printk > > can't > > be

Re: [PATCH v1 1/2] dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix dt_binding_check warning

2021-01-26 Thread Linus Walleij
On Tue, Jan 26, 2021 at 2:26 PM Robert Foss wrote: > Silence indentation level warning reported by dt_binding_check in > order to reduce noise during routine checks. > > $ make dt_binding_check > mt8192-mt6359-rt1015-rt5682.yaml:10:4: [warning] wrong indentation: > expected 2 but found 3 (indenta

Re: [PATCH v1 2/2] dt-bindings: mediatek: mt8192: Fix dt_binding_check warning

2021-01-26 Thread Linus Walleij
On Tue, Jan 26, 2021 at 2:26 PM Robert Foss wrote: > Silence indentation level warning reported by dt_binding_check in > order to reduce noise during routine checks. > > $ make dt_binding_check > mt8192-mt6359-rt1015-rt5682.yaml:10:4: [warning] wrong indentation: > expected 2 but found 3 (indenta

Re: Test report for kernel direct mapping performance

2021-01-26 Thread Michal Hocko
On Fri 15-01-21 15:23:07, Xing Zhengjun wrote: > Hi, > > There is currently a bit of a debate about the kernel direct map. Does using > 2M/1G pages aggressively for the kernel direct map help performance? Or, is > it an old optimization which is not as helpful on modern CPUs as it was in > the old

Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Lecopzer Chen
> On 2021-01-26 10:59:32 [+], Russell King - ARM Linux admin wrote: > > On Tue, Jan 26, 2021 at 05:17:08PM +0800, Lecopzer Chen wrote: > > > Hi all, > > > > > > I don't see any fix for this issue now(maybe I missed it..?), > > > could we fix this if there is better solution? > > > This issue e

[PATCH v2] drm/i915/gt: use new tasklet API for execution list

2021-01-26 Thread Emil Renner Berthing
This converts the driver to use the new tasklet API introduced in commit 12cc923f1ccc ("tasklet: Introduce new initialization API") Signed-off-by: Emil Renner Berthing --- v2: Rebased on drm-intel-next Tested on my Dell XPS 13 9300. --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 +-- .

Re: pinctl.rst instead of pinctrl.rst?

2021-01-26 Thread Linus Walleij
On Tue, Jan 26, 2021 at 6:08 AM Drew Fustini wrote: > I was having trouble finding the pinctrl rst documentation until I > realized it is named pinctl with no 'r': > > Documentation/driver-api/pinctl.rst > > Is there a reason for this? No. > Is it worth me submitting a patch to rename and chang

[PATCH] watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ

2021-01-26 Thread Sai Prakash Ranjan
As per register documentation, QCOM_WDT_ENABLE_IRQ which is BIT(1) of watchdog control register is wakeup interrupt enable bit and not related to bark interrupt at all, BIT(0) is used for that. So remove incorrect usage of this bit when supporting bark irq for pre-timeout notification. Currently wi

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Greg KH
On Tue, Jan 26, 2021 at 08:51:55AM -0600, Josh Poimboeuf wrote: > On Tue, Jan 26, 2021 at 02:51:29PM +0100, Greg KH wrote: > > On Tue, Jan 26, 2021 at 06:44:44AM -0600, Justin Forbes wrote: > > > On Tue, Jan 26, 2021 at 2:21 AM Greg KH wrote: > > > > > > > > On Mon, Jan 25, 2021 at 04:07:57PM -060

Re: [PATCH v2 3/4] mfd: intel-m10-bmc: Add access table configuration to the regmap

2021-01-26 Thread Tom Rix
On 1/25/21 10:50 PM, Xu Yilun wrote: > From: Matthew Gerlach > > This patch adds access tables to the MAX 10 BMC regmap. This prevents > the host from accessing the unwanted I/O space. It also filters out the > invalid outputs when reading the regmap debugfs interface. > > Signed-off-by: Matthew

Re: [PATCH] pinctrl: sunxi: fix use-after-free in sunxi_pmx_free()

2021-01-26 Thread Linus Walleij
On Tue, Jan 26, 2021 at 7:31 AM liu xiang wrote: > > Liu can you make a patch to Kconfig to just select REGULATOR? > > Possibly even the specific regulator driver this SoC is using > > if it is very specific for this purpose. > > I found that the regulator driver is related to the specific board,

Re: [PATCH v5 02/16] x86/hyperv: detect if Linux is the root partition

2021-01-26 Thread Wei Liu
On Wed, Jan 20, 2021 at 11:03:18AM -0500, Pavel Tatashin wrote: > On Wed, Jan 20, 2021 at 7:01 AM Wei Liu wrote: > > > > For now we can use the privilege flag to check. Stash the value to be > > used later. > > > > Put in a bunch of defines for future use when we want to have more > > fine-grained

Re: [PATCH v3 0/4] Handle #GP for SVM execution instructions

2021-01-26 Thread Wei Huang
On 1/26/21 5:39 AM, Paolo Bonzini wrote: On 26/01/21 09:18, Wei Huang wrote: While running SVM related instructions (VMRUN/VMSAVE/VMLOAD), some AMD CPUs check EAX against reserved memory regions (e.g. SMM memory on host) before checking VMCB's instruction intercept. If EAX falls into such mem

Re: [PATCH v2 4/4] MAINTAINERS: Add entry for Intel MAX 10 mfd driver

2021-01-26 Thread Tom Rix
On 1/25/21 10:50 PM, Xu Yilun wrote: > This patch adds maintainer info for Intel MAX 10 mfd driver. > > Signed-off-by: Xu Yilun > --- > MAINTAINERS | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 5aa18cb..10985d3 100644 > --- a/MAINTAINERS > +

Re: [PATCH v16 08/11] secretmem: add memcg accounting

2021-01-26 Thread Michal Hocko
On Tue 26-01-21 14:48:38, Matthew Wilcox wrote: > On Mon, Jan 25, 2021 at 11:38:17PM +0200, Mike Rapoport wrote: > > I cannot use __GFP_ACCOUNT because cma_alloc() does not use gfp. > > Besides, kmem accounting with __GFP_ACCOUNT does not seem > > to update stats and there was an explicit request f

Re: [PATCH 1/3] usb: typec: Determine common SVDM Versions

2021-01-26 Thread Guenter Roeck
On 1/26/21 12:45 AM, Kyle Tso wrote: > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > 6.4.4.2.3 Structured VDM Version > "The Structured VDM Version field of the Discover Identity Command > sent and received during VDM discovery Shall be used to determine the > lowest common Structure

Re: [PATCH v3 1/2] bio: limit bio max size

2021-01-26 Thread Christoph Hellwig
On Tue, Jan 26, 2021 at 11:57:48AM +0800, Ming Lei wrote: > > *same_page = false; > > return false; > > } > > So far we don't need bio->bi_disk or bio->bi_bdev(will be changed in > Christoph's patch) during adding page to

Re: [PATCH] s390: allow reschedule on syscall restart

2021-01-26 Thread Paul E. McKenney
On Tue, Jan 26, 2021 at 09:25:53PM +1100, Stephen Rothwell wrote: > Hi all, > > On Tue, 26 Jan 2021 07:59:51 +0100 Christian Borntraeger > wrote: > > > > On 21.01.21 15:39, Sven Schnelle wrote: > > > Commit 845f44e8ef28 ("sched: Report local wake up on resched blind zone > > > within idle loop")

Re: [PATCH v2] drm/i915/gt: use new tasklet API for execution list

2021-01-26 Thread Chris Wilson
Quoting Emil Renner Berthing (2021-01-26 15:01:55) > This converts the driver to use the new tasklet API introduced in > commit 12cc923f1ccc ("tasklet: Introduce new initialization API") > > Signed-off-by: Emil Renner Berthing > > --- > v2: Rebased on drm-intel-next Ta. Saves me having to do th

Re: Preemptible idr_alloc() in QRTR code

2021-01-26 Thread Matthew Wilcox
On Tue, Jan 26, 2021 at 10:47:34AM +, Mark Rutland wrote: > Hi, > > When fuzzing arm64 with Syzkaller, I'm seeing some splats where > this_cpu_ptr() is used in the bowels of idr_alloc(), by way of > radix_tree_node_alloc(), in a preemptible context: I sent a patch to fix this last June. The

Re: [PATCH v13 05/12] mm: hugetlb: allocate the vmemmap pages associated with each HugeTLB page

2021-01-26 Thread David Hildenbrand
On 26.01.21 15:58, Oscar Salvador wrote: On Tue, Jan 26, 2021 at 10:36:21AM +0100, David Hildenbrand wrote: I think either keep it completely simple (only free vmemmap of hugetlb pages allocated early during boot - which is what's not sufficient for some use cases) or implement the full thing pr

Re: [PATCH v5 02/16] x86/hyperv: detect if Linux is the root partition

2021-01-26 Thread Wei Liu
On Tue, Jan 26, 2021 at 12:31:31AM +, Michael Kelley wrote: > From: Wei Liu Sent: Wednesday, January 20, 2021 4:01 AM > > > > For now we can use the privilege flag to check. Stash the value to be > > used later. > > > > Put in a bunch of defines for future use when we want to have more > > f

Re: [PATCH 2/3] dt-bindings: connector: Add SVDM VDO properties

2021-01-26 Thread Guenter Roeck
On 1/26/21 12:45 AM, Kyle Tso wrote: > Add bindings of VDO properties of USB PD SVDM so that they can be > defined in device tree. > > Signed-off-by: Kyle Tso Are you also going to update Documentation/devicetree/bindings/connector/usb-connector.yaml ? Thanks, Guenter > --- > include/dt-bindi

Re: [PATCH RFC 0/4] Fix arm64 crash for accessing unmapped IO port regions (reboot)

2021-01-26 Thread Arnd Bergmann
On Fri, Jan 15, 2021 at 5:58 PM John Garry wrote: > > This is a reboot of my original series to address the problem of drivers > for legacy ISA devices accessing unmapped IO port regions on arm64 systems > and causing the system to crash. > > There was another recent report of such an issue [0], a

Re: [PATCH v2 2/4] mfd: intel-m10-bmc: Simplify the legacy version reg definition

2021-01-26 Thread Tom Rix
On 1/25/21 10:50 PM, Xu Yilun wrote: > The version register is the only one in the legacy I/O space to be > accessed, so it is not necessary to define the legacy base & version > register offset. A direct definition of the legacy version register > address would be fine. > > Signed-off-by: Xu Yil

Re: [PATCH v2] drm/i915/gt: use new tasklet API for execution list

2021-01-26 Thread Emil Renner Berthing
On Tue, 26 Jan 2021 at 16:13, Chris Wilson wrote: > Quoting Emil Renner Berthing (2021-01-26 15:01:55) > > This converts the driver to use the new tasklet API introduced in > > commit 12cc923f1ccc ("tasklet: Introduce new initialization API") > > > > Signed-off-by: Emil Renner Berthing > > > > --

回复: 回复: 回复: [PATCH 3/3] kvfree_rcu: use migrate_disable/enable()

2021-01-26 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月25日 21:49 收件人: Zhang, Qiang 抄送: Uladzislau Rezki; LKML; RCU; Paul E . McKenney; Michael Ellerman; Andrew Morton; Daniel Axtens; Frederic Weisbecker; Neeraj Upadhyay; Joel Fernandes; Peter Zijlstra; Michal Hocko; Thomas

Re: Linux 5.11-rc5

2021-01-26 Thread Chris Wilson
Quoting Chris Wilson (2021-01-25 21:46:19) > Quoting Mike Rapoport (2021-01-25 21:33:48) > > On Mon, Jan 25, 2021 at 12:49:39PM -0800, Linus Torvalds wrote: > > > Mike: should we perhaps revert the first patch too (commit > > > bde9cfa3afe4: "x86/setup: don't remove E820_TYPE_RAM for pfn 0")? > >

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Peter Zijlstra
On Tue, Jan 26, 2021 at 08:51:55AM -0600, Josh Poimboeuf wrote: > User space mixes compiler versions all the time. The C ABI is stable. > > What specifically is the harder issue you're referring to? I don't think the C ABI captures nearly enough. Imagine trying to mix a compiler with and without

Re: [PATCH v5 05/16] clocksource/hyperv: use MSR-based access if running as root

2021-01-26 Thread Wei Liu
On Wed, Jan 20, 2021 at 11:13:28AM -0500, Pavel Tatashin wrote: > On Wed, Jan 20, 2021 at 7:01 AM Wei Liu wrote: > > > > When Linux runs as the root partition, the setup required for TSC page > > is different. > > Why would we need a TSC page as a clock source for root partition at > all? I think

[PATCH] dm writecache: remove redundant NULL check

2021-01-26 Thread Jiapeng Zhong
Fix below warnings reported by coccicheck: ./drivers/md/dm-writecache.c:2008:2-7: WARNING: NULL check before some freeing functions is not needed. ./drivers/md/dm-writecache.c:2024:2-7: WARNING: NULL check before some freeing functions is not needed. Reported-by: Abaci Robot Signed-off-by: Jiapen

Re: [PATCH 0/2] Fix BUG: Invalid wait context in hrtimer_interrupt()

2021-01-26 Thread John Ogness
On 2021-01-26, Qais Yousef wrote: > [67628.393550] = > [67628.393554] [ BUG: Invalid wait context ] > [67628.393557] 5.11.0-rc3-00019-g86be331946f7 #37 Not tainted > [67628.393560] - > [67628.393563] sugov:0/192

Re: [PATCH] watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ

2021-01-26 Thread Guenter Roeck
On 1/26/21 7:02 AM, Sai Prakash Ranjan wrote: > As per register documentation, QCOM_WDT_ENABLE_IRQ which is BIT(1) > of watchdog control register is wakeup interrupt enable bit and > not related to bark interrupt at all, BIT(0) is used for that. > So remove incorrect usage of this bit when supporti

Re: [PATCH v5 02/16] x86/hyperv: detect if Linux is the root partition

2021-01-26 Thread Wei Liu
On Tue, Jan 26, 2021 at 03:15:12PM +, Wei Liu wrote: > On Tue, Jan 26, 2021 at 12:31:31AM +, Michael Kelley wrote: > > From: Wei Liu Sent: Wednesday, January 20, 2021 4:01 AM > > > > > > For now we can use the privilege flag to check. Stash the value to be > > > used later. > > > > > > P

Re: [PATCH] pinctrl: sunxi: fix use-after-free in sunxi_pmx_free()

2021-01-26 Thread Maxime Ripard
On Tue, Jan 26, 2021 at 04:03:29PM +0100, Linus Walleij wrote: > On Tue, Jan 26, 2021 at 7:31 AM liu xiang wrote: > > > > Liu can you make a patch to Kconfig to just select REGULATOR? > > > Possibly even the specific regulator driver this SoC is using > > > if it is very specific for this purpose

Re: [PATCH 32/32] NFS: Convert readpage to readahead and use netfs_readahead for fscache

2021-01-26 Thread Chuck Lever
> On Jan 25, 2021, at 8:36 PM, Matthew Wilcox wrote: > > > For Subject: s/readpage/readpages/ > > On Mon, Jan 25, 2021 at 09:37:29PM +, David Howells wrote: >> +int __nfs_readahead_from_fscache(struct nfs_readdesc *desc, >> + struct readahead_control *rac) >

Re: [PATCH 27/32] NFS: Refactor nfs_readpage() and nfs_readpage_async() to use nfs_readdesc

2021-01-26 Thread David Wysochanski
On Mon, Jan 25, 2021 at 11:06 PM Matthew Wilcox wrote: > > On Mon, Jan 25, 2021 at 09:36:13PM +, David Howells wrote: > > +int nfs_readpage_async(void *data, struct inode *inode, > > struct page *page) > > { > > + struct nfs_readdesc *desc = (struct nfs_readdesc *)dat

Re: [PATCH 00/10] USB: serial: xr: fix up remaining issues in new driver

2021-01-26 Thread Johan Hovold
On Thu, Jan 21, 2021 at 11:29:11AM +0100, Johan Hovold wrote: > This series fixes the remaining issues in the new MaxLinear driver that > were pointed out here: > > https://lore.kernel.org/r/yalvloqzx8otp...@hovoldconsulting.com > Johan Hovold (10): > USB: serial: xr: fix NULL-deref at pr

[PATCH resend] media: vidtv: remove redundant quote

2021-01-26 Thread Guoqing Chi
From: zhangwen Repeated references string.h Signed-off-by: zhangwen Signed-off-by: chiguoqing --- drivers/media/test-drivers/vidtv/vidtv_psi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/test-drivers/vidtv/vidtv_psi.c b/drivers/media/test-drivers/vidtv/vidtv_psi.c index

Re: [PATCH 3/4] tpm: in tpm2_del_space check if ops pointer is still valid

2021-01-26 Thread Jarkko Sakkinen
On Sun, 2021-01-24 at 17:47 +0100, Lino Sanfilippo wrote: > > Hi Jarkko, > > On 17.01.21 at 19:13, Jarkko Sakkinen wrote: > > > > I have hard time to believe that any of these patches are based on > > actual regressions. > > > > /Jarko > > > > patch 1 is indeed wrong (I oversaw the action cal

Re: [PATCH] floppy: reintroduce O_NDELAY fix

2021-01-26 Thread Kurt Garloff
Hi Denis, Jiri, Jens, Am 26.01.21 um 09:21 schrieb Denis Efremov: > On 1/22/21 2:13 PM, Jiri Kosina wrote: >> From: Jiri Kosina >> >> This issue was originally fixed in 09954bad4 ("floppy: refactor open() >> flags handling"). >> >> The fix as a side-effect, however, introduce issue for open(O_AC

Re: [PATCH] arch/arm/mm/mmu.c: Remove duplicate header

2021-01-26 Thread carver4lio
On 1/22/21 6:11 PM, Linus Walleij wrote: > On Tue, Jan 19, 2021 at 2:34 PM Hailong liu wrote: > >> From: Hailong Liu >> >> Remove asm/fixmap.h which is included more than once. >> >> Signed-off-by: Hailong Liu > > Reviewed-by: Linus Walleij > > Please put this into Russell's patch tracker so

Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Russell King - ARM Linux admin
On Tue, Jan 26, 2021 at 11:01:50PM +0800, Lecopzer Chen wrote: > > On 2021-01-26 10:59:32 [+], Russell King - ARM Linux admin wrote: > > > On Tue, Jan 26, 2021 at 05:17:08PM +0800, Lecopzer Chen wrote: > > > > Hi all, > > > > > > > > I don't see any fix for this issue now(maybe I missed it..?)

[PATCH 5.10 074/199] RISC-V: Fix maximum allowed phsyical memory for RV32

2021-01-26 Thread Greg Kroah-Hartman
From: Atish Patra [ Upstream commit e557793799c5a8406afb08aa170509619f7eac36 ] Linux kernel can only map 1GB of address space for RV32 as the page offset is set to 0xC000. The current description in the Kconfig is confusing as it indicates that RV32 can support 2GB of physical memory. That i

Re: [PATCH v2 1/1] x86,sched: On AMD EPYC set freq_max = max_boost in schedutil invariant formula

2021-01-26 Thread Mel Gorman
On Tue, Jan 26, 2021 at 10:09:27AM +0100, Giovanni Gherdovich wrote: > On Mon, 2021-01-25 at 11:06 +0100, Peter Zijlstra wrote: > > On Fri, Jan 22, 2021 at 09:40:38PM +0100, Giovanni Gherdovich wrote: > > > 1. PROBLEM DESCRIPTION (over-utilization and schedutil) > > > > > > The problem happens on

[PATCH 5.10 073/199] RISC-V: Set current memblock limit

2021-01-26 Thread Greg Kroah-Hartman
From: Atish Patra [ Upstream commit abb8e86b269604e906a6a4af7a09f04b72dbb862 ] Currently, linux kernel can not use last 4k bytes of addressable space because IS_ERR_VALUE macro treats those as an error. This will be an issue for RV32 as any memblock allocator potentially allocate chunk of memory

Re: [PATCH v3] perf: cs-etm: update ETM metadata format

2021-01-26 Thread Mike Leach
Hi Leo, On Sat, 23 Jan 2021 at 15:23, Leo Yan wrote: > > Hi Mike, > > On Tue, Jan 19, 2021 at 06:01:10PM +, Mike Leach wrote: > > [...] > > > +/* > > + * Read a single cpu parameter block from the auxtrace_info priv block. > > + * > > + * For version 1 there is a per cpu nr_params entry. If w

Re: [PATCH 01/12] perf/core: Add PERF_SAMPLE_WEIGHT_EXT

2021-01-26 Thread Liang, Kan
On 1/26/2021 9:42 AM, Peter Zijlstra wrote: On Tue, Jan 19, 2021 at 12:38:20PM -0800, kan.li...@linux.intel.com wrote: @@ -900,6 +901,13 @@ enum perf_event_type { *char data[size]; } && PERF_SAMPLE_AUX * { u64 data_page_size;}

Re: [RFC PATCH v3 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-01-26 Thread Peter Hilber
On 22.01.21 00:21, Jyoti Bhayana wrote: > + > +static int scmi_iio_get_sensor_max_range(struct iio_dev *iio_dev, int *val, > + int *val2) > +{ > + struct scmi_iio_priv *sensor = iio_priv(iio_dev); > + int max_range_high, max_range_low; > + long lo

Re: [patch 1/8] rtc: mc146818: Prevent reading garbage - bug

2021-01-26 Thread Thomas Gleixner
On Tue, Jan 26 2021 at 15:17, Mickaël Salaün wrote: > Thanks for the fix! It boots now with a new message: > rtc_cmos rtc_cmos: not accessible >> spin_lock_irqsave(&rtc_lock, flags); >> +/* Ensure that the RTC is accessible. Bit 0-6 must be 0! */ >> +if (WARN_ON_ONCE((CMOS_READ(RTC_VAL

[PATCH v2] pinctrl: actions: Add the platform dependency to drivers

2021-01-26 Thread Manivannan Sadhasivam
The Actions Semi pinctrl drivers are a mix of both ARM32 and ARM64 platforms. So let's add the correct platform dependency to avoid them being selected on the other. Also make sure they are available for build test by depending on COMPILE_TEST. Signed-off-by: Manivannan Sadhasivam --- Added dep

Re: [PATCH v7 04/12] media: uvcvideo: Provide sync and async uvc_ctrl_status_event

2021-01-26 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Wed, Dec 23, 2020 at 02:35:20PM +0100, Ricardo Ribalda wrote: > Split the functionality of void uvc_ctrl_status_event_work in two, so it > can be called by functions outside interrupt context and not part of an > URB. > > Signed-off-by: Ricardo Ribalda R

Re: [PATCH v3 3/4] KVM: SVM: Add support for SVM instruction address check change

2021-01-26 Thread Wei Huang
On 1/26/21 5:52 AM, Maxim Levitsky wrote: On Tue, 2021-01-26 at 03:18 -0500, Wei Huang wrote: New AMD CPUs have a change that checks #VMEXIT intercept on special SVM instructions before checking their EAX against reserved memory region. This change is indicated by CPUID_0x800A_EDX[28]. If

Re: [PATCH 03/12] perf/x86/intel: Add perf core PMU support for Sapphire Rapids

2021-01-26 Thread Peter Zijlstra
On Tue, Jan 19, 2021 at 12:38:22PM -0800, kan.li...@linux.intel.com wrote: > @@ -1577,9 +1668,20 @@ static void setup_pebs_adaptive_sample_data(struct > perf_event *event, > } > > if (format_size & PEBS_DATACFG_MEMINFO) { > + if (sample_type & PERF_SAMPLE_WEIGHT) { > +

RE: [PATCH v2 4/4] hv_netvsc: Restrict configurations on isolated guests

2021-01-26 Thread Haiyang Zhang
> -Original Message- > From: Andrea Parri (Microsoft) > Sent: Tuesday, January 26, 2021 6:57 AM > To: linux-kernel@vger.kernel.org > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; Wei Liu ; Michael Kelley > ; linux-hyp...@vger.kernel.org; Tianyu Lan > ; Saruhan Karademir >

Re: [PATCH RFC 1/2] dt: pci: designware-pcie.txt: convert it to yaml

2021-01-26 Thread Rob Herring
On Tue, Jan 26, 2021 at 1:35 AM Mauro Carvalho Chehab wrote: > > Convert the file into a JSON description at the yaml format. json-schema, not JSON really. I prefer just 'DT schema' which implies json-schema in yaml file format. This one is a bit tricky and suspect it needs a few others converte

Re: [PATCH v3] mhi: use irq_flags if controller driver configures it

2021-01-26 Thread Manivannan Sadhasivam
On Tue, Jan 26, 2021 at 12:14:04PM +0200, Kalle Valo wrote: > Manivannan Sadhasivam writes: > > > On Wed, Jan 13, 2021 at 09:40:19AM +0200, Kalle Valo wrote: > >> Manivannan Sadhasivam writes: > >> [...] > >> > Applied to mhi-next! > >> > >> Would it be possible again to have an immutable br

Re: [PATCH 04/12] perf/x86/intel: Support CPUID 10.ECX to disable fixed counters

2021-01-26 Thread Peter Zijlstra
On Tue, Jan 19, 2021 at 12:38:23PM -0800, kan.li...@linux.intel.com wrote: > @@ -5228,7 +5231,7 @@ __init int intel_pmu_init(void) >* Check whether the Architectural PerfMon supports >* Branch Misses Retired hw_event or not. >*/ > - cpuid(10, &eax.full, &ebx.full, &unuse

Re: [PATCH 03/12] perf/x86/intel: Add perf core PMU support for Sapphire Rapids

2021-01-26 Thread Liang, Kan
On 1/26/2021 9:44 AM, Peter Zijlstra wrote: On Tue, Jan 19, 2021 at 12:38:22PM -0800, kan.li...@linux.intel.com wrote: @@ -3671,6 +3853,31 @@ static int intel_pmu_hw_config(struct perf_event *event) } } + /* +* To retrieve complete Memory Info of the load l

Re: [PATCH v5 1/3] usb: serial: Add MaxLinear/Exar USB to Serial driver

2021-01-26 Thread Manivannan Sadhasivam
On Thu, Jan 21, 2021 at 11:19:24AM +0100, Johan Hovold wrote: > On Sun, Nov 22, 2020 at 10:38:20PM +0530, Manivannan Sadhasivam wrote: > > Add support for MaxLinear/Exar USB to Serial converters. This driver > > only supports XR21V141X series but it can be extended to other series > > from Exar as

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Josh Poimboeuf
On Tue, Jan 26, 2021 at 04:15:37PM +0100, Peter Zijlstra wrote: > On Tue, Jan 26, 2021 at 08:51:55AM -0600, Josh Poimboeuf wrote: > > User space mixes compiler versions all the time. The C ABI is stable. > > > > What specifically is the harder issue you're referring to? > > I don't think the C A

Re: [PATCH] tpm_tis: Add missing start/stop_tpm_chip calls

2021-01-26 Thread Łukasz Majczak
Hi Jarkko, Guenter Yes, here are the logs when failure occurs - https://gist.github.com/semihalf-majczak-lukasz/1575461f585f1e7fb1e9366b8eceaab9 Look for a phrase "TPM returned invalid status" Guenter - good suggestion - I will try to keep it as tight as possible. Best regards, Lukasz pon., 25

[PATCH 1/4] arm64: dts: qcom: sc7180: Add watchdog bark interrupt

2021-01-26 Thread Sai Prakash Ranjan
Specify bark interrupt for APSS watchdog to support pre-timeout notification on SC7180 SoC. Signed-off-by: Sai Prakash Ranjan --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi

Re: linux-next: Fixes tag needs some work in the block tree

2021-01-26 Thread Jens Axboe
On 1/26/21 6:29 AM, Jan Kara wrote: > On Mon 25-01-21 11:39:50, Jens Axboe wrote: >> On 1/25/21 11:35 AM, Paolo Valente wrote: >>> >>> Il giorno 25 gen 2021, alle ore 10:40, Stephen Rothwell ha scritto: Hi all, In commit d4fc3640ff36 ("block, bfq: set next

[PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250

2021-01-26 Thread Sai Prakash Ranjan
This series adds pre-timeout notification support via bark interrupt for SC7180, SDM845, SM8150, SM8250 SoCs. Note: This has a functional dependency on [1] without which the watchdog functionality would be broken. [1] https://lore.kernel.org/patchwork/patch/1371266/ Sai Prakash Ranjan (4): arm

[PATCH 3/4] arm64: dts: qcom: sm8150: Add watchdog bark interrupt

2021-01-26 Thread Sai Prakash Ranjan
Specify bark interrupt for APSS watchdog to support pre-timeout notification on SM8150 SoC. Signed-off-by: Sai Prakash Ranjan --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi

[PATCH 4/4] arm64: dts: qcom: sm8250: Add watchdog bark interrupt

2021-01-26 Thread Sai Prakash Ranjan
Specify bark interrupt for APSS watchdog to support pre-timeout notification on SM8250 SoC. Signed-off-by: Sai Prakash Ranjan --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi

Re: [PATCH 11/21] clk: renesas: renesas-cpg-mssr: Fix formatting issues for 'smstpcr_saved's documentation

2021-01-26 Thread Geert Uytterhoeven
On Tue, Jan 26, 2021 at 1:45 PM Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/clk/renesas/renesas-cpg-mssr.c:168: warning: Function parameter or > member 'smstpcr_saved' not described in 'cpg_mssr_priv' > > Cc: Geert Uytterhoeven > Cc: Michael Turquette > Cc:

[PATCH 2/4] arm64: dts: qcom: sdm845: Add watchdog bark interrupt

2021-01-26 Thread Sai Prakash Ranjan
Specify bark interrupt for APSS watchdog to support pre-timeout notification on SDM845 SoC. Signed-off-by: Sai Prakash Ranjan --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi

Re: [PATCH v2 15/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding

2021-01-26 Thread Robert Foss
Thanks Rob! On Fri, 22 Jan 2021 at 17:34, Rob Herring wrote: > > On Wed, Jan 20, 2021 at 02:43:50PM +0100, Robert Foss wrote: > > Add bindings for qcom,sdm660-camss in order to support the camera > > subsystem on SDM630/660 and SDA variants. > > > > Signed-off-by: Robert Foss > > --- > > > > Cha

Re: [PATCH RFC 2/2] dt: pci: kirin-pcie.txt: convert it to yaml

2021-01-26 Thread Rob Herring
On Tue, Jan 26, 2021 at 1:35 AM Mauro Carvalho Chehab wrote: > > Convert the file into a JSON description at the yaml format. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../bindings/pci/hisilicon,kirin-pcie.yaml| 98 +++ > .../devicetree/bindings/pci/kirin-pcie.txt|

Re: [Linux-stm32] [PATCH] iio: adc: stm32-adc: fix erroneous handling of spurious IRQs

2021-01-26 Thread Fabrice Gasnier
On 1/22/21 1:18 PM, Ahmad Fatoum wrote: > Hello Fabrice, > > On 19.01.21 18:56, Fabrice Gasnier wrote: >> On 1/18/21 12:42 PM, Ahmad Fatoum wrote: >>> Hello Jonathan, >>> >>> On 16.01.21 18:53, Jonathan Cameron wrote: On Tue, 12 Jan 2021 16:24:42 +0100 Ahmad Fatoum wrote: >

Re: [PATCH v13 05/12] mm: hugetlb: allocate the vmemmap pages associated with each HugeTLB page

2021-01-26 Thread Oscar Salvador
On Tue, Jan 26, 2021 at 04:10:53PM +0100, David Hildenbrand wrote: > The real issue seems to be discarding the vmemmap on any memory that has > movability constraints - CMA and ZONE_MOVABLE; otherwise, as discussed, we > can reuse parts of the thingy we're freeing for the vmemmap. Not that it > wou

Re: [PATCH] watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ

2021-01-26 Thread Sai Prakash Ranjan
On 2021-01-26 20:53, Guenter Roeck wrote: On 1/26/21 7:02 AM, Sai Prakash Ranjan wrote: As per register documentation, QCOM_WDT_ENABLE_IRQ which is BIT(1) of watchdog control register is wakeup interrupt enable bit and not related to bark interrupt at all, BIT(0) is used for that. So remove inco

Re: [PATCH v7 06/12] media: uvcvideo: Implement UVC_EXT_GPIO_UNIT

2021-01-26 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Wed, Dec 23, 2020 at 02:35:22PM +0100, Ricardo Ribalda wrote: > Some devices can implement a physical switch to disable the input of the > camera on demand. Think of it like an elegant privacy sticker. > > The system can read the status of the privacy swit

Re: [PATCH 25/32] NFS: Clean up nfs_readpage() and nfs_readpages()

2021-01-26 Thread David Wysochanski
On Mon, Jan 25, 2021 at 11:01 PM Matthew Wilcox wrote: > > On Mon, Jan 25, 2021 at 09:35:49PM +, David Howells wrote: > > -int nfs_readpage(struct file *file, struct page *page) > > +int nfs_readpage(struct file *filp, struct page *page) > > I appreciate we're inconsistent between file and fil

Re: [PATCH 03/12] perf/x86/intel: Add perf core PMU support for Sapphire Rapids

2021-01-26 Thread Liang, Kan
On 1/26/2021 9:43 AM, Peter Zijlstra wrote: On Tue, Jan 19, 2021 at 12:38:22PM -0800, kan.li...@linux.intel.com wrote: @@ -2319,6 +2474,17 @@ static void __icl_update_topdown_event(struct perf_event *event, { u64 delta, last = 0; + /* +* Although the unsupported topdown

Re: [PATCH 04/12] perf/x86/intel: Support CPUID 10.ECX to disable fixed counters

2021-01-26 Thread Peter Zijlstra
On Tue, Jan 19, 2021 at 12:38:23PM -0800, kan.li...@linux.intel.com wrote: > diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c > index a54d4a9..21267dc 100644 > --- a/arch/x86/events/intel/core.c > +++ b/arch/x86/events/intel/core.c > @@ -5206,7 +5209,7 @@ __init int intel_pm

Re: [PATCH] media: i2c: imx219: Implement V4L2_CID_LINK_FREQ control

2021-01-26 Thread Andrey Konovalov
Hi Dave, On 26.01.2021 16:01, Dave Stevenson wrote: Hi Andrey On Tue, 26 Jan 2021 at 07:50, Andrey Konovalov wrote: This control is needed for imx219 driver, as the link frequency is independent from the pixel rate in this case, and can't be calculated from the pixel rate. Signed-off-by: An

Re: [PATCH] dt-bindings: irqchip: Add #address-cells to PRUSS INTC

2021-01-26 Thread Suman Anna
Hi Rob, On 1/25/21 8:47 PM, Rob Herring wrote: > On Mon, Jan 25, 2021 at 6:16 PM Suman Anna wrote: >> >> Hi Rob, >> >> On 1/25/21 6:04 PM, Rob Herring wrote: >>> On Fri, Jan 15, 2021 at 02:58:19PM -0600, Suman Anna wrote: The '#address-cells' property looks to be a required property for

<    5   6   7   8   9   10   11   12   13   14   >