Re: [PATCH] perf inject: Fix repipe usage

2021-04-02 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 01, 2021 at 04:05:13PM +0200, Jiri Olsa escreveu: > On Thu, Apr 01, 2021 at 01:36:05PM +0300, Adrian Hunter wrote: > > Since commit 14d3d5405253 ("perf session: Try to read pipe data from file") > > perf inject has started printing "PERFILE2h" when not processing pipes. > > > > The com

[GIT PULL] tracing: Fix stack trace event size

2021-04-02 Thread Steven Rostedt
Linus, Fix stack trace entry size to stop showing garbage The macro that creates both the structure and the format displayed to user space for the stack trace event was changed a while ago to fix the parsing by user space tooling. But this change also modified the structure used to store the st

Re: [PATCH v2] pseries: prevent free CPU ids to be reused on another node

2021-04-02 Thread Nathan Lynch
Hi Laurent, Laurent Dufour writes: > When a CPU is hot added, the CPU ids are taken from the available mask from > the lower possible set. If that set of values was previously used for CPU > attached to a different node, this seems to application like if these CPUs > have migrated from a node to

[PATCH] riscv: vdso: fix and clean-up Makefile

2021-04-02 Thread Jisheng Zhang
From: Jisheng Zhang Running "make" on an already compiled kernel tree will rebuild the kernel even without any modifications: CALLlinux/scripts/checksyscalls.sh CALLlinux/scripts/atomic/check-atomics.sh CHK include/generated/compile.h SO2Sarch/riscv/kernel/vdso/vdso-syms.

Re: [PATCH] perf record: Disallow -c and -F option at the same time

2021-04-02 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 02, 2021 at 06:40:20PM +0900, Namhyung Kim escreveu: > It's confusing which one is effective when the both options are given. > The current code happens to use -c in this case but users might not be > aware of it. We can change it to complain about that instead of > relying on the impl

Re: [PATCH] riscv: keep interrupts disabled for BREAKPOINT exception

2021-04-02 Thread Jisheng Zhang
On Thu, 1 Apr 2021 16:49:47 +0800 "liaochang (A)" wrote: > Hi Jisheng, Hi, > > 在 2021/3/31 22:22, Jisheng Zhang 写道: > > On Tue, 30 Mar 2021 18:33:16 +0900 > > Masami Hiramatsu wrote: > > > >> Hi Jisheng, > > > > Hi Masami, > > > >> > >> On Tue, 30 Mar 2021 02:16:24 +0800 > >> Jisheng

Re: [PATCH 1/1] net: macb: restore cmp registers on resume path

2021-04-02 Thread Nicolas Ferre
On 02/04/2021 at 14:42, Claudiu Beznea wrote: Restore CMP screener registers on resume path. Fixes: c1e85c6ce57ef ("net: macb: save/restore the remaining registers and features") Signed-off-by: Claudiu Beznea Acked-by: Nicolas Ferre Thanks for this fix Claudiu. Best regards, Nicolas --

Re: [PATCH] tools: perf: util: Remove duplicate struct declaration

2021-04-02 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 01, 2021 at 04:19:38PM +0900, Namhyung Kim escreveu: > Hello, > > On Thu, Apr 1, 2021 at 3:25 PM Wan Jiabing wrote: > > > > struct target is declared twice. One has been declared > > at 21st line. Remove the duplicate. > > > > Signed-off-by: Wan Jiabing > > Acked-by: Namhyung Kim >

Re: [PATCH v1 03/10] ipmi_si: Utilize temporary variable to hold device pointer

2021-04-02 Thread Corey Minyard
On Tue, Mar 30, 2021 at 09:16:42PM +0300, Andy Shevchenko wrote: > By one of the previous clean up change we got a temporary variable to hold > a device pointer. It can be utilized in other calls in the ->probe() and > save a bit of LOCs. The description here isn't accurate, there is no previous c

Re: [PATCH v1 05/10] ipmi_si: Introduce panic_event_str array

2021-04-02 Thread Corey Minyard
On Tue, Mar 30, 2021 at 09:16:44PM +0300, Andy Shevchenko wrote: > Instead of twice repeat the constant literals, introduce > panic_event_str array. It allows to simplify the code with > help of match_string() API. > > Signed-off-by: Andy Shevchenko > --- > drivers/char/ipmi/ipmi_msghandler.c |

Re: [RFC] Convert sysv filesystem to use folios exclusively

2021-04-02 Thread Matthew Wilcox
On Fri, Apr 02, 2021 at 09:19:36AM +0300, Amir Goldstein wrote: > On Thu, Mar 25, 2021 at 5:43 AM Matthew Wilcox wrote: > > I decided to see what a filesystem free from struct page would look > > like. I chose sysv more-or-less at random; I wanted a relatively simple > > filesystem, but I didn't

Re: [PATCH v1 06/10] ipmi_si: Reuse si_to_str array in ipmi_hardcode_init_one()

2021-04-02 Thread Corey Minyard
On Tue, Mar 30, 2021 at 09:16:45PM +0300, Andy Shevchenko wrote: > Instead of making the comparison one by one, reuse si_to_str array > in ipmi_hardcode_init_one() in conjunction with match_string() API. > > Signed-off-by: Andy Shevchenko > --- > drivers/char/ipmi/ipmi_si.h | 3 +++ >

RE: [PATCH] platform/x86: intel_pmc_core: export platform global_reset via sysfs.

2021-04-02 Thread Winkler, Tomas
> -Original Message- > From: Enrico Weigelt, metux IT consult > Sent: Friday, April 02, 2021 16:32 > To: Winkler, Tomas ; Rajneesh Bhardwaj > ; Box, David E ; Hans > de Goede ; Mark Gross > Cc: platform-driver-...@vger.kernel.org; linux-kernel@vger.kernel.org; > Mashiah, Tamar ; Andy Sh

[PATCH net-next v8 1/2] net: Add a WWAN subsystem

2021-04-02 Thread Loic Poulain
This change introduces initial support for a WWAN framework. Given the complexity and heterogeneity of existing WWAN hardwares and interfaces, there is no strict definition of what a WWAN device is and how it should be represented. It's often a collection of multiple devices that perform the global

[PATCH net-next v8 2/2] net: Add Qcom WWAN control driver

2021-04-02 Thread Loic Poulain
The MHI WWWAN control driver allows MHI QCOM-based modems to expose different modem control protocols/ports via the WWAN framework, so that userspace modem tools or daemon (e.g. ModemManager) can control WWAN config and state (APN config, SMS, provider selection...). A QCOM-based modem can expose o

Re: [PATCH v1 01/10] ipmi_si: Switch to use platform_get_mem_or_io()

2021-04-02 Thread Corey Minyard
On Tue, Mar 30, 2021 at 09:16:40PM +0300, Andy Shevchenko wrote: > Switch to use new platform_get_mem_or_io() instead of home grown analogue. > Note, we also introduce ipmi_set_addr_data_and_space() helper here. You didn't send a part 0 that I saw, so just using this. This is a nice cleanup set,

[PATCH v3] platform/x86: intel_pmc_core: export platform global_reset via sysfs.

2021-04-02 Thread Tomas Winkler
From: Tamar Mashiah During PCH manufacturing a global reset has to be induced in order for configuration changes take affect upon following platform reset. This setting was commonly done by accessing PMC registers via /dev/mem but due to security concern /dev/mem access is much restricted, hence

Re: [PATCH net-next v8 1/2] net: Add a WWAN subsystem

2021-04-02 Thread Greg KH
On Fri, Apr 02, 2021 at 04:06:36PM +0200, Loic Poulain wrote: > This change introduces initial support for a WWAN framework. Given the > complexity and heterogeneity of existing WWAN hardwares and interfaces, > there is no strict definition of what a WWAN device is and how it should > be represente

Re: [PATCH net-next v8 2/2] net: Add Qcom WWAN control driver

2021-04-02 Thread Greg KH
On Fri, Apr 02, 2021 at 04:06:37PM +0200, Loic Poulain wrote: > The MHI WWWAN control driver allows MHI QCOM-based modems to expose > different modem control protocols/ports via the WWAN framework, so that > userspace modem tools or daemon (e.g. ModemManager) can control WWAN > config and state (AP

Re: [regression 5.4.97 → 5.10.24]: raid6 avx2x4 speed drops from 18429 MB/s to 6155 MB/s

2021-04-02 Thread Borislav Petkov
On Fri, Apr 02, 2021 at 10:33:51AM +0200, Paul Menzel wrote: > Dear Linux folks, > > > On an two socket AMD EPYC 7601, we noticed a decrease in raid6 avx2x4 speed > shown at the beginning of the boot. > >5.4.955.10.24 >

[no subject]

2021-04-02 Thread Stephen Bordeaux
Dobry dzień Nazywam się Stephen Bordeaux, prawnik z firmy prawniczej Bordeaux. Skontaktowałem się z tobą w sprawie majątku zmarłego doktora Edwin, który miał zostać przeniesiony na twoje konto. Osiem milionów pięćset tysięcy dolarów. Ponadto w tej transakcji chcę, abyś odpowiedział poufnie. Stephen

Re: [PATCH V4 XRT Alveo 12/20] fpga: xrt: VSEC platform driver

2021-04-02 Thread Tom Rix
local use of 'regmap' conflicts with global meaning. reword local regmap to something else. On 3/23/21 10:29 PM, Lizhi Hou wrote: > Add VSEC driver. VSEC is a hardware function discovered by walking > PCI Express configure space. A platform device node will be created > for it. VSEC provides boar

Re: [PATCH v2] drivers/clocksource/mediatek: Ack and disable interrupts on shutdown

2021-04-02 Thread Daniel Lezcano
Hi Evan, On 27/03/2021 02:31, Evan Benn wrote: > Hi Daniel, > > That is a good point, and I did try that at first and it works fine. I > uploaded this version because the suspend/resume callbacks were > undocumented and mostly not used by other clocksource drivers. I > thought a smaller diff mi

Re: [PATCH v2] kconfig: config script: add a little user help

2021-04-02 Thread Andi Kleen
On Sat, Dec 19, 2020 at 09:08:05AM -0800, Randy Dunlap wrote: > Give the user a clue about the problem along with the 35 lines of > usage/help text. Reviewed-by: Andi Kleen -Andi

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

2021-04-02 Thread Paolo Bonzini
On 02/04/21 13:58, Ashish Kalra wrote: Hi Nathan, Will you be posting a corresponding Qemu patch for this ? Hi Ashish, as far as I know IBM is working on QEMU patches for guest-based migration helpers. However, it would be nice to collaborate on the low-level (SEC/PEI) firmware patches to

Re: [PATCH v2 0/3] Add Aspeed SSIF BMC driver

2021-04-02 Thread Corey Minyard
On Tue, Mar 30, 2021 at 09:10:26PM +0700, Quan Nguyen wrote: > This series add support for the Aspeed specific SSIF BMC driver which > is to perform in-band IPMI communication with the host in management > (BMC) side. I don't have any specific feedback for this, but I'm wondering if it's really ne

Re: [PATCH next 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-02 Thread Greg KH
On Mon, Mar 29, 2021 at 05:03:53PM +, Min Li wrote: > > > > Where is patch 1/2 of this series? > > > > Also, please fix up the errors that the testing bot found, and properly > > version > > your patch submission so I know which one is the "latest" one to look at. > > > > Hi Greg > > The

Re: [PATCH 3/7] PM: runtime: remove kernel-doc warnings

2021-04-02 Thread Greg Kroah-Hartman
On Thu, Apr 01, 2021 at 09:13:18AM -0500, Pierre-Louis Bossart wrote: > > > On 4/1/21 8:40 AM, Rafael J. Wysocki wrote: > > On Thu, Apr 1, 2021 at 1:26 AM Pierre-Louis Bossart > > wrote: > > > > > > remove make W=1 warnings > > > > > > drivers/base/power/runtime.c:926: warning: Function parame

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

2021-04-02 Thread Paolo Bonzini
On 16/03/21 02:40, Nathan Tempelman wrote: Add a capability for userspace to mirror SEV encryption context from one vm to another. On our side, this is intended to support a Migration Helper vCPU, but it can also be used generically to support other in-guest workloads scheduled by the host. The i

Re: [PATCH] firmware: qcom-scm: Fix QCOM_SCM configuration

2021-04-02 Thread Greg KH
On Wed, Mar 31, 2021 at 02:49:41AM -0400, He Ying wrote: > When CONFIG_QCOM_SCM is y while CONFIG_HAVE_ARM_SMCCC > is not set, compiling errors are encountered as follows: > > drivers/firmware/qcom_scm-smc.o: In function `__scm_smc_do_quirk': > qcom_scm-smc.c:(.text+0x36): undefined reference to `

Re: [PATCH V4 XRT Alveo 13/20] fpga: xrt: User Clock Subsystem platform driver

2021-04-02 Thread Tom Rix
On 3/23/21 10:29 PM, Lizhi Hou wrote: > Add User Clock Subsystem (UCS) driver. UCS is a hardware function ok > discovered by walking xclbin metadata. A platform device node will be > created for it. UCS enables/disables the dynamic region clocks. > > Signed-off-by: Sonal Santan > Signed-off-by:

Re: [PATCH v10 3/4] mtd: rawnand: Add support for secure regions in NAND memory

2021-04-02 Thread Manivannan Sadhasivam
On Fri, Apr 02, 2021 at 10:51:54AM +0200, Boris Brezillon wrote: > On Thu, 1 Apr 2021 21:46:22 +0530 > Manivannan Sadhasivam wrote: > > > On Thu, Apr 01, 2021 at 05:54:21PM +0200, Boris Brezillon wrote: > > > On Thu, 1 Apr 2021 20:49:54 +0530 > > > Manivannan Sadhasivam wrote: > > > > > > >

Re: [PATCH] block: don't ignore REQ_NOWAIT for direct IO

2021-04-02 Thread Pavel Begunkov
On 20/11/2020 19:13, Jens Axboe wrote: > On 11/20/20 10:10 AM, Pavel Begunkov wrote: >> io_uring's direct nowait requests end up waiting on io_schedule() in >> sbitmap, that's seems to be so because blkdev_direct_IO() fails to >> propagate IOCB_NOWAIT to a bio and hence to blk-mq. >> >> Signed-off-

Re: [PATCH v2 1/3] mux: gpio: Use bitmap API instead of direct assignment

2021-04-02 Thread Greg Kroah-Hartman
On Wed, Mar 31, 2021 at 09:12:45AM +0200, Peter Rosin wrote: > Hi Greg, > > You can pick this series directly, right? I don't feel a compelling need to > add the patches to -next before you take them since they are simple enough... All now sucked in, thanks. greg k-h

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-04-02 Thread Greg KH
On Thu, Apr 01, 2021 at 10:13:29AM -0500, Dinh Nguyen wrote: > From: Krzysztof Kozlowski > > The Stratix10 service layer and RCU drivers are useful only on > Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM > fails: > > drivers/firmware/stratix10-rsu.c: In function 'rsu_st

Re: [PATCH] kernel: automatically split user namespace extent

2021-04-02 Thread Serge E. Hallyn
On Wed, Dec 02, 2020 at 05:12:27PM +0100, Giuseppe Scrivano wrote: > Hi Eric, > > ebied...@xmission.com (Eric W. Biederman) writes: > > > Nit: The tag should have been "userns:" rather than kernel. > > > > Giuseppe Scrivano writes: > > > >> writing to the id map fails when an extent overlaps mul

Re: [PATCH] block: don't ignore REQ_NOWAIT for direct IO

2021-04-02 Thread Jens Axboe
On 11/20/20 10:10 AM, Pavel Begunkov wrote: > io_uring's direct nowait requests end up waiting on io_schedule() in > sbitmap, that's seems to be so because blkdev_direct_IO() fails to > propagate IOCB_NOWAIT to a bio and hence to blk-mq. Thanks, applied. This slipped through the cracks, and I didn

Hello

2021-04-02 Thread Zora Isla
I am Mrs. Zora Isla. I am sending this brief letter to solicit your partnership to transfer the sum of 11.9 Million Dollars into your reliable account as my business partner. However, it's my urgent need for foreign partner that made me to contact you for this transaction.Further details of the tr

Re: [PATCH RFC 0/3] Adds support to allow the bitstream configuration from pre-allocated dma-buffer

2021-04-02 Thread Tom Rix
Please add to this patch cover letter what you want to discuss. Got this new feature, not sure about ... Tom On 4/2/21 2:09 AM, Nava kishore Manne wrote: > Nava kishore Manne (3): > fpga: region: Add fpga-region property 'fpga-config-from-dmabuf' > fpga: support loading from a pre-allocated

Re: [PATCH v6 00/27] Memory Folios

2021-04-02 Thread Christoph Hellwig
On Thu, Apr 01, 2021 at 12:26:56PM +0100, Matthew Wilcox wrote: > On Thu, Apr 01, 2021 at 08:05:37AM +0100, Christoph Hellwig wrote: > > On Wed, Mar 31, 2021 at 07:47:01PM +0100, Matthew Wilcox (Oracle) wrote: > > > - Mirror members of struct page (for pagecache / anon) into struct folio, > > >

Re: [PATCH] mm/vmscan.c: drop_slab_node with task's memcg

2021-04-02 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Neil-Sun/mm-vmscan-c-drop_slab_node-with-task-s-memcg/20210402-184123 base:a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 config: mips-randconfig-r006-20210402 (attached

Reiser4 -enabled Linux 5.10.26

2021-04-02 Thread Metztli Information Technology
Niltze [Hello], all- We have just released a preliminary reiser4 -enabled Debian 11, codenamed Bullseye, minimal USB/ISO AMD64 image with Debianized kernel 5.10.26-2. It has been tested lightly -- as Debian gives the finishing touches to their upcoming operating system distribution. If anyone wan

RE: [PATCH v2 3/3] hpsa: add an assert to prevent from __packed reintroduction

2021-04-02 Thread Elliott, Robert (Servers)
It looks like ia64 implements atomic_t as a 64-bit value and expects atomic_t to be 64-bit aligned, but does nothing to ensure that. For x86, atomic_t is a 32-bit value and atomic64_t is a 64-bit value, and the definition of atomic64_t is overridden in a way that ensures 64-bit (8 byte) alignment:

Re: [PATCH v1 2/2] iommu/tegra-smmu: Revert workaround that was needed for Nyan Big Chromebook

2021-04-02 Thread Dmitry Osipenko
01.04.2021 11:55, Nicolin Chen пишет: > On Mon, Mar 29, 2021 at 02:32:56AM +0300, Dmitry Osipenko wrote: >> The previous commit fixes problem where display client was attaching too >> early to IOMMU during kernel boot in a multi-platform kernel configuration >> which enables CONFIG_ARM_DMA_USE_IOMM

Re: [PATCH v2] pseries: prevent free CPU ids to be reused on another node

2021-04-02 Thread Laurent Dufour
Thanks Nathan for reviewing this. Le 02/04/2021 à 15:34, Nathan Lynch a écrit : Hi Laurent, Laurent Dufour writes: When a CPU is hot added, the CPU ids are taken from the available mask from the lower possible set. If that set of values was previously used for CPU attached to a different node

Re: [PATCH] dma-mapping: make map_benchmark compile into module

2021-04-02 Thread Christoph Hellwig
On Wed, Mar 24, 2021 at 07:33:23AM +, Song Bao Hua (Barry Song) wrote: > The requirement comes from an colleague who is frequently changing > the map-bench code for some customized test purpose. and he doesn't > want to build kernel image and reboot every time. So I moved the > requirement to T

Re: [PATCH v2 5/6] dt-bindings: memory: tegra20: emc: Convert to schema

2021-04-02 Thread Dmitry Osipenko
01.04.2021 18:55, Rob Herring пишет: > On Wed, Mar 31, 2021 at 05:59:39PM +0300, Dmitry Osipenko wrote: >> 31.03.2021 16:40, Rob Herring пишет: >>> On Wed, 31 Mar 2021 02:04:44 +0300, Dmitry Osipenko wrote: Convert Tegra20 External Memory Controller binding to schema. Signed-off-by:

Re: OT: Processor recommendation for RAID6

2021-04-02 Thread Roger Heflin
On Fri, Apr 2, 2021 at 4:13 AM Paul Menzel wrote: > > Dear Linux folks, > > > > Are these values a good benchmark for comparing processors? > > After two years, yes they are. I created 16 10 GB files in `/dev/shm`, > set them up as loop devices, and created a RAID6. For resync speed it > makes di

Re: [PATCH] HID: intel-ish-hid: Remove an unused variable 'ret'

2021-04-02 Thread Srinivas Pandruvada
On Fri, 2021-04-02 at 18:06 +0800, Yang Li wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/hid/intel-ish-hid/ipc/pci-ish.c:264:6: warning: variable > ‘ret’ > set but not used > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Acked-by: Srinivas Pandruvada > --- > dri

Re: [PATCH] kernel: automatically split user namespace extent

2021-04-02 Thread Giuseppe Scrivano
Hi Serge, "Serge E. Hallyn" writes: > On Wed, Dec 02, 2020 at 05:12:27PM +0100, Giuseppe Scrivano wrote: >> Hi Eric, >> >> ebied...@xmission.com (Eric W. Biederman) writes: >> >> > Nit: The tag should have been "userns:" rather than kernel. >> > >> > Giuseppe Scrivano writes: >> > >> >> writi

Re: [PATCH v2 0/6] NVIDIA Tegra memory improvements

2021-04-02 Thread Dmitry Osipenko
01.04.2021 20:54, Krzysztof Kozlowski пишет: > On 31/03/2021 01:04, Dmitry Osipenko wrote: >> Hi, >> >> This series replaces the raw voltage regulator with a power domain that >> will be managing SoC core voltage. The core power domain patches are still >> under review, but it's clear at this point

Re: [PATCH v6 00/27] Memory Folios

2021-04-02 Thread Matthew Wilcox
On Fri, Apr 02, 2021 at 03:37:55PM +0100, Christoph Hellwig wrote: > On Thu, Apr 01, 2021 at 12:26:56PM +0100, Matthew Wilcox wrote: > > On Thu, Apr 01, 2021 at 08:05:37AM +0100, Christoph Hellwig wrote: > > > On Wed, Mar 31, 2021 at 07:47:01PM +0100, Matthew Wilcox (Oracle) wrote: > > > > - Mirro

Re: [Freedreno] [PATCH 1/2] drm/msm: Fix a5xx/a6xx timestamps

2021-04-02 Thread Jordan Crouse
On Wed, Mar 24, 2021 at 06:23:52PM -0700, Rob Clark wrote: > From: Rob Clark > > They were reading a counter that was configured to ALWAYS_COUNT (ie. > cycles that the GPU is doing something) rather than ALWAYS_ON. This > isn't the thing that userspace is looking for. Acked-by: Jordan Crouse

Re: [Freedreno] [PATCH 2/2] drm/msm: Add param for userspace to query suspend count

2021-04-02 Thread Jordan Crouse
On Wed, Mar 24, 2021 at 06:23:53PM -0700, Rob Clark wrote: > From: Rob Clark > > Performance counts, and ALWAYS_ON counters used for capturing GPU > timestamps, lose their state across suspend/resume cycles. Userspace > tooling for performance monitoring needs to be aware of this. For > example

Re: [PATCH] mm/vmscan.c: drop_slab_node with task's memcg

2021-04-02 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Neil-Sun/mm-vmscan-c-drop_slab_node-with-task-s-memcg/20210402-184123 base:a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 config: arm-randconfig-r035-20210401 (attached

Re: [PATCH] irq_work: record irq_work_queue() call stack

2021-04-02 Thread Andrey Konovalov
On Wed, Mar 31, 2021 at 8:32 AM wrote: > > From: Zqiang > > Add the irq_work_queue() call stack into the KASAN auxiliary > stack in order to improve KASAN reports. this will let us know > where the irq work be queued. > > Signed-off-by: Zqiang > --- > kernel/irq_work.c | 7 ++- > 1 file cha

[ANNOUNCE] 4.19.184-rt75

2021-04-02 Thread Clark Williams
Hello RT-list! I'm pleased to announce the 4.19.184-rt75 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.19-rt Head SHA1: e7b2a8a3acdb92b9336ed8fbcaa6b9cb827949e9 Or to build 4.19.184-rt75 direc

Re: [PATCH v2 09/10] KVM: Don't take mmu_lock for range invalidation unless necessary

2021-04-02 Thread Sean Christopherson
On Fri, Apr 02, 2021, Paolo Bonzini wrote: > On 02/04/21 02:56, Sean Christopherson wrote: > > Avoid taking mmu_lock for unrelated .invalidate_range_{start,end}() > > notifications. Because mmu_notifier_count must be modified while holding > > mmu_lock for write, and must always be paired across s

Re: [PATCH v2 07/10] KVM: Move MMU notifier's mmu_lock acquisition into common helper

2021-04-02 Thread Sean Christopherson
On Fri, Apr 02, 2021, Paolo Bonzini wrote: > On 02/04/21 02:56, Sean Christopherson wrote: > > + .handler= (void *)kvm_null_fn, > > + .on_lock= kvm_dec_notifier_count, > > + .flush_on_ret = true, > > Doesn't really matter since the handler is null, b

[PATCH v11 0/4] Add support for secure regions in NAND

2021-04-02 Thread Manivannan Sadhasivam
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these region

[PATCH v11 1/4] dt-bindings: mtd: Convert Qcom NANDc binding to YAML

2021-04-02 Thread Manivannan Sadhasivam
Convert Qcom NANDc devicetree binding to YAML. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- .../devicetree/bindings/mtd/qcom,nandc.yaml | 196 ++ .../devicetree/bindings/mtd/qcom_nandc.txt| 142 - 2 files changed, 196 insertions(+), 142 del

[PATCH v11 2/4] dt-bindings: mtd: Add a property to declare secure regions in NAND chips

2021-04-02 Thread Manivannan Sadhasivam
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these region

Re: [PATCH 2/4] KVM: x86: separate pending and injected exception

2021-04-02 Thread Sean Christopherson
On Fri, Apr 02, 2021, Paolo Bonzini wrote: > On 02/04/21 01:05, Sean Christopherson wrote: > > > > > > +struct kvm_queued_exception { > > > + bool valid; > > > + u8 nr; > > > > If we're refactoring all this code anyways, maybe change "nr" to something a > > bit more descriptive? E.g. vector. >

[PATCH v11 3/4] mtd: rawnand: Add support for secure regions in NAND memory

2021-04-02 Thread Manivannan Sadhasivam
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these region

[PATCH v11 4/4] mtd: rawnand: qcom: Add missing nand_cleanup() in error path

2021-04-02 Thread Manivannan Sadhasivam
Add missing nand_cleanup() in the alloc_bam_transaction() error path to cleanup the resources properly. Signed-off-by: Manivannan Sadhasivam --- drivers/mtd/nand/raw/qcom_nandc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_na

Re: [PATCH 3/3] srcu: Fix broken node geometry after early ssp init

2021-04-02 Thread Paul E. McKenney
On Fri, Apr 02, 2021 at 12:02:21PM +0200, Frederic Weisbecker wrote: > On Thu, Apr 01, 2021 at 06:12:41PM -0700, Paul E. McKenney wrote: > > On Fri, Apr 02, 2021 at 01:47:04AM +0200, Frederic Weisbecker wrote: > gg> > void __init srcu_init(void) > > > { > > > - struct srcu_struct *ssp; > > > + st

Re: [PATCH] drivers core: don't do anything in device_del() when device_add() fail

2021-04-02 Thread Greg KH
On Thu, Apr 01, 2021 at 09:01:38AM -0400, Yufen Yu wrote: > Recently, our syzbot test reported NULL pointer dereference in > device_del() by injecting memory allocation fail in device_add(). Don't do that :) > For now, callers of device_add(), such as add_disk(), may ignore > device_add()'s fail

Re: [PATCH v1] of: property: fw_devlink: Add support for remote-endpoint

2021-04-02 Thread Greg Kroah-Hartman
On Tue, Mar 30, 2021 at 11:50:55AM -0700, Saravana Kannan wrote: > remote-endpoint property seems to always come in pairs where two devices > point to each other. So, we can't really tell from DT if there is a > functional probe order dependency between these two devices. > > However, there can be

Re: [RFC PATCH 01/15] mm: memcontrol: fix page charging in page replacement

2021-04-02 Thread Johannes Weiner
On Tue, Mar 30, 2021 at 06:15:17PM +0800, Muchun Song wrote: > The pages aren't accounted at the root level, so do not charge the page > to the root memcg in page replacement. Although we do not display the > value (mem_cgroup_usage) so there shouldn't be any actual problem, but > there is a WARN_O

Re: [PATCH] tools: Fix a typo in kernel-chktaint

2021-04-02 Thread Randy Dunlap
On 4/2/21 12:05 AM, Masanari Iida wrote: > This patch fixes a spelling typo in kernel-chktaint > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > tools/debugging/kernel-chktaint | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/debugging/ker

Re: [RFC PATCH 02/15] mm: memcontrol: bail out early when !mm in get_mem_cgroup_from_mm

2021-04-02 Thread Johannes Weiner
On Tue, Mar 30, 2021 at 06:15:18PM +0800, Muchun Song wrote: > When mm is NULL, we do not need to hold rcu lock and call css_tryget for > the root memcg. And we also do not need to check !mm in every loop of > while. So bail out early when !mm. > > Signed-off-by: Muchun Song Good observation. A

Re: [PATCH] kbuild: merge module sections under CONFIG_LD_DEAD_CODE_DATA_ELIMINATION too

2021-04-02 Thread Sami Tolvanen
On Fri, Apr 2, 2021 at 5:40 AM Alexander Lobakin wrote: > > When building with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION, > -fdata-sections and -ffunction-sections are being enabled by the > top-level Makefile, and module section merging is also needed. > Expand the ifdef (and the comment block) to cov

RE: [PATCH v3] mm,hwpoison: return -EHWPOISON when page already poisoned

2021-04-02 Thread Luck, Tony
>> Combined with my "mutex" patch (to get rid of races where 2nd process returns >> early, but first process is still looking for mappings to unmap and tasks >> to signal) this patch moves forward a bit. But I think it needs an >> additional change here in kill_me_maybe() to just "return" if there

[no subject]

2021-04-02 Thread Thompson michael
Hallo, Houd er rekening mee dat deze e-mail die naar uw postvak is gekomen geen fout is, maar specifiek aan u is gericht voor uw overweging. Ik heb een voorstel van ($7.500.000.00) achtergelaten door mijn overleden klant Ingenieur Carlos die dezelfde achternaam bij jou draagt, die hier in Lomé Tog

Re: [PATCH v2 2/3] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-02 Thread Giulio Benetti
Hi Jonathan, thank you for reviewing, On 4/2/21 10:36 AM, Jonathan Neuschäfer wrote: On Fri, Apr 02, 2021 at 01:03:57AM +0200, Giulio Benetti wrote: This adds device tree bindings for the Hycon HY46XX touchscreen series. Signed-off-by: Giulio Benetti --- V1->V2: As suggested by Rob Herring:

[PATCH v4 01/20] cmdline: Add generic function to build command line.

2021-04-02 Thread Christophe Leroy
This code provides architectures with a way to build command line based on what is built in the kernel and what is handed over by the bootloader, based on selected compile-time options. Signed-off-by: Christophe Leroy --- v3: - Addressed comments from Will - Added capability to have src == dst v4

[PATCH v4 00/20] Implement GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
The purpose of this series is to improve and enhance the handling of kernel boot arguments. Current situation is that most if not all architectures are using similar options to do some manupulation on command line arguments: - Prepend built-in arguments in front of bootloader provided arguments -

[PATCH v4 02/20] drivers: of: use cmdline building function

2021-04-02 Thread Christophe Leroy
This patch uses the new cmdline building function to concatenate the of provided cmdline with built-in parts based on compile-time options. Signed-off-by: Christophe Leroy --- drivers/of/fdt.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/drivers/of

[PATCH v4 04/20] drivers: firmware: efi: use cmdline building function

2021-04-02 Thread Christophe Leroy
Use cmdline building function in EFI. EFI cannot use pr_err() and doesn't have a .init.data section, so use the __cmdline_build() internal function and provides both a source and a destination. Remove the handling of too long command lines as it is handled by the generic CMDLINE. Signed-off-by:

[PATCH v4 05/20] cmdline: Gives architectures opportunity to use generically defined boot cmdline manipulation

2021-04-02 Thread Christophe Leroy
Most architectures have similar boot command line manipulation options. This patchs adds the definition in init/Kconfig, gated by CONFIG_HAVE_CMDLINE that the architectures can select to use them. CONFIG_CMDLINE_EXTEND is understood differently by architectures. For some of them it appends built-i

[PATCH v4 06/20] powerpc: convert strcpy to strlcpy in prom_init

2021-04-02 Thread Christophe Leroy
From: Daniel Walker There's only two users of strcpy and one is the command line handling. The generic command line handling uses strlcpy and it makes sense to convert this one other user to strlcpy to keep prom_init size consistent. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker

[PATCH v4 03/20] x86/efi: Replace CONFIG_CMDLINE_OVERRIDE by CONFIG_CMDLINE_FORCE

2021-04-02 Thread Christophe Leroy
During boot, x86 uses EFI driver. That driver is also used by ARM. In order to refactor the command line processing in that driver in a following patch, rename CONFIG_CMDLINE_OVERRIDE by CONFIG_CMDLINE_FORCE on the x86 in order to be similar to ARM (and most other architectures). Signed-off-by: C

[PATCH v4 07/20] powerpc: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This updates the powerpc code to use the new cmdline building function. The cmdline_build() defines a temporary string in __initdata. powerpc uses __prombss instead at the moment, so we must call cmdline_build() with destination different from the source to allow GCC to optimise the temporary stri

[PATCH v4 08/20] arm: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- v4: - Removed dependency to ATAGS - Removed the message when forcing --- arch/arm/Kconfig | 38 +-- arch/arm/kernel/atags_parse.c | 13 +++- 2 files changed

[PATCH v4 14/20] riscv: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- v4: Remove the message when forcing --- arch/riscv/Kconfig| 44 +-- arch/riscv/kernel/setup.c | 7 +++ 2 files changed, 4 insertions(+), 47 deletions(-) diff -

[PATCH v4 12/20] nios2: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- v4: Added missing selection of CONFIG_GENERIC_CMDLINE in Kconfig --- arch/nios2/Kconfig| 25 ++--- arch/nios2/kernel/setup.c | 13 - 2 files changed, 6 insertions(+), 32

[PATCH v4 17/20] xtensa: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/xtensa/Kconfig | 15 +-- arch/xtensa/configs/audio_kc705_defconfig | 1 - arch/xtensa/configs/common_defconfig| 1 - arch/xtensa/configs/generic_kc705_defco

[PATCH v4 13/20] openrisc: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/openrisc/Kconfig | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 591acc5990dc..ca1d0f18fe16 100644 --- a/arch/openrisc/Kco

[PATCH v4 15/20] sh: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- v4: Restore the removed 'endmenu' in Kconfig --- arch/sh/Kconfig | 28 + arch/sh/configs/ap325rxa_defconfig | 2 +- arch/sh/configs/dreamcast_defconfig

[PATCH v4 11/20] microblaze: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/microblaze/Kconfig | 24 +--- arch/microblaze/configs/mmu_defconfig | 2 +- arch/microblaze/kernel/head.S | 4 ++-- 3 files changed, 4 insertions(+), 26 deletio

[PATCH v4 09/20] arm64: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/arm64/Kconfig | 33 +- arch/arm64/kernel/idreg-override.c | 9 2 files changed, 5 insertions(+), 37 deletions(-) diff --git a/arch/arm64/Kconfig b/ar

[PATCH v4 16/20] sparc: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/sparc/Kconfig | 18 +- arch/sparc/prom/bootstr_64.c | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 164a525

[PATCH v4 19/20] mips: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/mips/Kconfig | 1 + arch/mips/Kconfig.debug | 44 --- arch/mips/configs/ar7_defconfig | 1 - arch/mips/configs/bcm47xx_defconfig

[PATCH v4 20/20] cmdline: Remove CONFIG_CMDLINE_EXTEND

2021-04-02 Thread Christophe Leroy
All architectures providing CONFIG_CMDLINE_EXTEND are now converted to GENERIC_CMDLINE. This configuration item is not used anymore, drop it. Signed-off-by: Christophe Leroy --- include/linux/cmdline.h | 2 +- init/Kconfig| 6 -- 2 files changed, 1 insertion(+), 7 deletions(-)

[PATCH v4 10/20] hexagon: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/hexagon/Kconfig| 11 +-- arch/hexagon/kernel/setup.c | 10 ++ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig index 44a4

[PATCH v4 18/20] x86: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/x86/Kconfig| 45 ++--- arch/x86/kernel/setup.c | 17 ++-- 2 files changed, 4 insertions(+), 58 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x8

Re: [PATCH v3 05/17] arm: Convert to GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
Le 26/03/2021 à 16:47, Rob Herring a écrit : On Fri, Mar 26, 2021 at 7:44 AM Christophe Leroy wrote: This converts the architecture to GENERIC_CMDLINE. Signed-off-by: Christophe Leroy --- arch/arm/Kconfig | 38 +-- arch/arm/kernel/atags_pars

Re: [PATCH v3 00/17] Implement GENERIC_CMDLINE

2021-04-02 Thread Christophe Leroy
Le 26/03/2021 à 16:04, Rob Herring a écrit : On Fri, Mar 26, 2021 at 7:44 AM Christophe Leroy wrote: The purpose of this series is to improve and enhance the handling of kernel boot arguments. It is first focussed on powerpc but also extends the capability for other arches. This is based

Re: [v1] drm/msm/disp/dpu1: program 3d_merge only if block is attached

2021-04-02 Thread Rob Clark
On Fri, Apr 2, 2021 at 4:55 AM Kalyan Thota wrote: > > Update the 3d merge as active in the data path only if > the hw block is selected in the configuration. > > Reported-by: Stephen Boyd Thanks, I've added: Fixes: 73bfb790ac78 ("msm:disp:dpu1: setup display datapath for SC7180 target") > Sig

[PATCH v4] platform/x86: intel_pmc_core: export platform global_reset via sysfs.

2021-04-02 Thread Tomas Winkler
From: Tamar Mashiah During PCH (platform/board) manufacturing process a global reset has to be induced in order for configuration changes take the effect upon following platform reset. This setting was commonly done by accessing PMC registers via /dev/mem but due to security concern /dev/mem acce

<    1   2   3   4   5   6   7   8   9   >