[PATCH 2/2] integrity: double check iint_cache was initialized

2021-03-22 Thread Mimi Zohar
The kernel may be built with multiple LSMs, but only a subset may be enabled on the boot command line by specifying "lsm=". Not including "integrity" on the ordered LSM list may result in a NULL deref. As reported by Dmitry Vyukov: in qemu: qemu-system-x86_64 -enable-kvm -machine

Re: [PATCH v3 1/1] ACPI: scan: Use unique number for instance_no

2021-03-22 Thread Rafael J. Wysocki
On Mon, Mar 22, 2021 at 4:02 PM Andy Shevchenko wrote: > > On Mon, Mar 22, 2021 at 4:57 PM Rafael J. Wysocki wrote: > > > > On Fri, Mar 19, 2021 at 8:21 PM Andy Shevchenko > > wrote: > > > > > > The decrementation of acpi_device_bus_id->instance_no > > > in acpi_device_del() is incorrect,

RE: [PATCH v2 03/14] x86/retpoline: Simplify retpolines

2021-03-22 Thread David Laight
From: Peter Zijlstra > Sent: 22 March 2021 09:33 > > On Fri, Mar 19, 2021 at 05:18:14PM +, David Laight wrote: > > From: Peter Zijlstra > > > Sent: 18 March 2021 17:11 > > > > > > Due to commit c9c324dc22aa ("objtool: Support stack layout changes > > > in alternatives"), it is possible to

Re: [PATCH v1 2/3] dt-bindings: riscv: convert plic bindings to json-schema

2021-03-22 Thread Geert Uytterhoeven
Hi Sagar, Rob, (replying to an old email, as this one seems to be the most appropriate) On Tue, Sep 22, 2020 at 10:34 PM Rob Herring wrote: > On Thu, Sep 10, 2020 at 04:14:03PM +0530, Sagar Kadam wrote: > > Convert device tree bindings for SiFive's PLIC to YAML format > > > > Signed-off-by:

kernel projects for students

2021-03-22 Thread Muni Sekhar
Hi all, What are some good Linux projects in kernel space for final year computer.science engineering students? Could someone help and share your ideas on this please. -- Thanks, Sekhar

Re: [PATCH v7 3/3] arm64: dts: ti: k3-j7200: Add support for higher speed modes and update delay select values for MMCSD subsystems

2021-03-22 Thread Nishanth Menon
On 18:42-20210322, Aswath Govindraju wrote: > The following speed modes are now supported in J7200 SoC, > - HS200 and HS400 modes at 1.8 V card voltage, in MMCSD0 subsystem [1]. > - UHS-I speed modes in MMCSD1 subsystem [1]. > > Add support for UHS-I modes by adding voltage regula

[PATCH] media: dvb_frontend: warn if frontend driver has API issues

2021-03-22 Thread Mauro Carvalho Chehab
the kAPI for a frontend can use 3 different tuning methods: 1. The hardware tracks internally frequency shifts via its own internal zigzag logic; 2. The hardware has a custom zigzag method, implemented via fe search() ops; 3. The hardware doesn't have any internal zigzag logic. So, the

Re: FW: [PATCHv5 0/7] Extend Intel service layer, FPGA manager and region

2021-03-22 Thread Richard Gong
Hi Tom, On 3/22/21 8:53 AM, Tom Rix wrote: On 3/21/21 2:05 PM, Richard Gong wrote: Hi Tom >> On 3/19/21 4:22 PM, Richard Gong wrote: Hi Moritz, Thanks for approving the 1st patch of my version 5 patchest, which submitted on 02/09/21. This change e23bd83368af ("firmware:

Re: [RFC 4/4] media: dvb_frontend: disable zigzag mode if not possible

2021-03-22 Thread Mauro Carvalho Chehab
Em Thu, 18 Jun 2020 11:50:54 +0200 Marc Gonzalez escreveu: > On 17/06/2020 20:52, Mauro Carvalho Chehab wrote: > > > For the zigzag to work, the core needs to have a frequency > > shift. Without that, the zigzag code will just try re-tuning > > several times at the very same frequency, with

Re: [PATCH v2] sched/fair: bring back select_idle_smt, but differently

2021-03-22 Thread Mel Gorman
On Mon, Mar 22, 2021 at 11:07:47AM -0400, Rik van Riel wrote: > > > The flip side of this is that we see more task migrations > > > (about > > > 30% more), higher cache misses, higher memory bandwidth > > > utilization, > > > and higher CPU use, for the same number of requests/second.

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Christoph Hellwig
On Mon, Mar 22, 2021 at 04:18:23PM +0100, Christoph Hellwig wrote: > On Mon, Mar 22, 2021 at 03:15:03PM +, Russell King - ARM Linux admin > wrote: > > It gets worse than that though - due to a change to remove > > pcibios_min_io from the generic code, moving it into the ARM > > architecture

Re: [PATCH 1/2] mtd: spi-nor: sfdp: save a copy of the SFDP data

2021-03-22 Thread Michael Walle
Am 2021-03-22 15:21, schrieb Pratyush Yadav: On 18/03/21 10:24AM, Michael Walle wrote: Due to possible mode switching to 8D-8D-8D, it might not be possible to read the SFDP after the initial probe. To be able to dump the SFDP via sysfs afterwards, make a complete copy of it. Signed-off-by:

Re: Re: [PATCH] infiniband: Fix a use after free in isert_connect_request

2021-03-22 Thread Leon Romanovsky
On Mon, Mar 22, 2021 at 10:51:35PM +0800, lyl2...@mail.ustc.edu.cn wrote: > > > > > -原始邮件- > > 发件人: "Leon Romanovsky" > > 发送时间: 2021-03-22 22:27:17 (星期一) > > 收件人: "Lv Yunlong" > > 抄送: s...@grimberg.me, dledf...@redhat.com, j...@ziepe.ca, > > linux-r...@vger.kernel.org,

Re: [PATCH] cxl: Fix couple of spellings

2021-03-22 Thread Andrew Donnellan
On 22/3/21 1:33 pm, Bhaskar Chowdhury wrote: s/filesytem/filesystem/ s/symantics/semantics/ Signed-off-by: Bhaskar Chowdhury Acked-by: Andrew Donnellan --- drivers/misc/cxl/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/cxl/context.c

RE: [PATCH v4 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support

2021-03-22 Thread Sai Krishna Potthuri
Hi Andy Shevchenko, > -Original Message- > From: Andy Shevchenko > Sent: Friday, March 19, 2021 3:53 PM > To: Sai Krishna Potthuri > Cc: Linus Walleij ; Rob Herring > ; Michal Simek ; Greg Kroah- > Hartman ; linux-arm Mailing List ker...@lists.infradead.org>; Linux Kernel Mailing List

RE: [PATCH -next] pci/controller/dwc: convert comma to semicolon

2021-03-22 Thread Roy Zang
> From: Lorenzo Pieralisi > On Mon, Mar 22, 2021 at 01:40:16PM +, Roy Zang wrote: > > Yes. It is maintained. > > To be maintained you should review its code please. Sure. > > > I will send out a patch. > > Krzysztof already posted one for you, you just need to ack it: > >

RE: [PATCH mfd v1] mfd: Add Renesas Synchronization Management Unit (SMU) support

2021-03-22 Thread Min Li
> > I'm pretty confused. This has been sent ~6 times already. What is the v1 of? > Is this a different driver? If so, why does it have the same $SUBJECT line? > > If this is not actually v1. Please provide a change-log. > Hi Lee Sorry for confusion. This is no version before v1. The

[Bug] qlogic/qlcnic: Report a potential use after free in qlcnic_probe

2021-03-22 Thread lyl2019
Hi, my static analyzer tool reported a potential uaf in qlcnic_probe. The problem file is drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c in Linux Kernel-5.12-rc2. In funtion qlcnic_probe around line 2623, it calls qlcnic_dcb_enable() to enable adapter->dcb. But the adapter->dcb could be

[PATCH 5.10 000/156] 5.10.26-rc2 review

2021-03-22 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.10.26 release. There are 156 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed, 24 Mar 2021 15:18:19 +. Anything

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-22 Thread Steven Rostedt
On Mon, 22 Mar 2021 11:08:47 +0100 David Hildenbrand wrote: > > Wonder if "echo c > /proc/sysrq-trigger" already existed and would have > worked back then. :) > > Looks like sysrq-c was added in 2005: commit 86b1ae38c0a62 ("kdump: sysrq trigger mechanism for kexec based crashdumps") Thus

RFC: create mailing list "linux-issues" focussed on issues/bugs and regressions

2021-03-22 Thread Thorsten Leemhuis
Lo! I want to provide users with an easier way to search our multitude of mailing lists for reports about issues (aka bugs), as reporting the same kernel problem multiple times has known downsides for everyone involved. That's why I propose to create this new mailing list:

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Christoph Hellwig
On Mon, Mar 22, 2021 at 03:15:03PM +, Russell King - ARM Linux admin wrote: > It gets worse than that though - due to a change to remove > pcibios_min_io from the generic code, moving it into the ARM > architecture code, this has caused a regression that prevents the > legacy resources being

Re: [PATCH v1 07/14] vfio: Add a device notifier interface

2021-03-22 Thread Christoph Hellwig
On Fri, Mar 19, 2021 at 04:25:40PM -0600, Alex Williamson wrote: > I've been trying to figure out how, but I think not. A user can have > multiple devices, each with entirely separate IOMMU contexts. For each > device, the user can create an mmap of memory to that device and add it > to every

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 03:54:03PM +0100, Christoph Hellwig wrote: > On Fri, Mar 19, 2021 at 05:53:12PM +, Russell King - ARM Linux admin > wrote: > > If I extend the arch/arm/kernel/bios32.c code to kill BARs 2/3 (which > > actually are not present on the CY82C693) then the IDE driver works

[tip:sched/core] BUILD SUCCESS 3b03706fa621ce31a3e9ef6307020fde4e6aae16

2021-03-22 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a004-20210322 i386 randconfig-a003-20210322 i386 randconfig-a001

[tip:locking/core] BUILD SUCCESS e2db7592be8e83df47519116621411e1056b21c7

2021-03-22 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a004-20210322 i386 randconfig-a003-20210322 i386 randconfig

Re: [PATCH v11 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-03-22 Thread Christophe Leroy
Le 19/03/2021 à 15:40, Daniel Axtens a écrit : Implement a limited form of KASAN for Book3S 64-bit machines running under the Radix MMU, supporting only outline mode. - Enable the compiler instrumentation to check addresses and maintain the shadow region. (This is the guts of KASAN

Re: drivers/staging/qlge/qlge_main.c:4564 qlge_probe() warn: missing error code 'err'

2021-03-22 Thread Dan Carpenter
On Wed, Mar 10, 2021 at 08:21:37AM +0800, Coiby Xu wrote: > Hi Dan, > > Thanks for finding this issue! I'll submit all the patches including the > one for the previous issue reported by you ("[bug report] staging: qlge: > Initialize devlink health dump framework") after finishing all items listed

Re: [PATCH] media: em28xx: fix memory leak

2021-03-22 Thread Muhammad Usama Anjum
On Mon, 2021-03-22 at 19:54 +0500, Muhammad Usama Anjum wrote: > If some error occurs, URB buffers should also be freed. If they aren't > freed with the dvb here, the em28xx_dvb_fini call doesn't frees the URB > buffers as dvb is set to NULL. The function in which error occurs should > do all the

Re: remove the nvlink2 pci_vfio subdriver

2021-03-22 Thread Greg Kroah-Hartman
On Mon, Mar 22, 2021 at 04:01:53PM +0100, Christoph Hellwig wrote: > Hi all, > > the nvlink2 vfio subdriver is a weird beast. It supports a hardware > feature without any open source component - what would normally be > the normal open source userspace that we require for kernel drivers, >

Re: [GIT PULL] ext4 fixes for v5.12

2021-03-22 Thread Theodore Ts'o
On Mon, Mar 22, 2021 at 11:10:52PM +1100, Herbert Xu wrote: > Theodore Ts'o wrote: > > > > From: 曹子德(Theodore Y Ts'o) > > "Yue" doesn't seem to match your second character which is usually > romanised as "Tze" in Cantonese, could it be > > 曹予德 Quite right. I hadn't noticed that I had

Re: [PATCH -tip v4 12/12] tracing: Show kretprobe unknown indicator only for kretprobe_trampoline

2021-03-22 Thread Steven Rostedt
On Mon, 22 Mar 2021 15:42:02 +0900 Masami Hiramatsu wrote: > ftrace shows "[unknown/kretprobe'd]" indicator all addresses in the > kretprobe_trampoline, but the modified address by kretprobe should > be only kretprobe_trampoline+0. > > Signed-off-by: Masami Hiramatsu Acked-by: Steven Rostedt

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

2021-03-22 Thread Christoph Hellwig
On Fri, Mar 19, 2021 at 05:07:49PM -0300, Jason Gunthorpe wrote: > The way the driver core works is to first match against the already > loaded driver list, then trigger an event for module loading and when > new drivers are registered they bind to unbound devices. > > So, the trouble is the

Re: [PATCH v3 03/15] mfd: altera: merge ARCH_SOCFPGA and ARCH_STRATIX10

2021-03-22 Thread Lee Jones
On Thu, 11 Mar 2021, Krzysztof Kozlowski wrote: > Simplify 32-bit and 64-bit Intel SoCFPGA Kconfig options by having only > one for both of them. This the common practice for other platforms. > Additionally, the ARCH_SOCFPGA is too generic as SoCFPGA designs come > from multiple vendors. > >

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

2021-03-22 Thread Richard Gong
On 3/22/21 7:41 AM, Krzysztof Kozlowski wrote: On 22/03/2021 13:58, Richard Gong wrote: On 3/22/21 3:26 AM, Krzysztof Kozlowski wrote: On 21/03/2021 22:09, Arnd Bergmann wrote: On Sun, Mar 21, 2021 at 7:46 PM Krzysztof Kozlowski wrote: The Stratix10 service layer and RCU drivers are

Re: [PATCH v4, 08/10] soc: mediatek: mmsys: add component RDMA4

2021-03-22 Thread Chun-Kuang Hu
Hi, Matthias: Yongqiang Niu 於 2021年1月5日 週二 上午11:07寫道: > > This patch add component RDMA4 > > Signed-off-by: Yongqiang Niu > Reviewed-by: Chun-Kuang Hu How do you think about this patch? One drm patch [1] depends on this patch. [1]

Re: [PATCH 2/3] cpumask: Introduce DYING mask

2021-03-22 Thread Steven Rostedt
On Sun, 21 Mar 2021 19:30:37 + Qais Yousef wrote: > On 03/10/21 15:53, Peter Zijlstra wrote: > > --- a/kernel/cpu.c > > +++ b/kernel/cpu.c > > @@ -160,6 +160,9 @@ static int cpuhp_invoke_callback(unsigne > > int (*cb)(unsigned int cpu); > > int ret, cnt; > > > > + if (bringup !=

Re: [PATCH v2] sched/fair: bring back select_idle_smt, but differently

2021-03-22 Thread Rik van Riel
On Mon, 2021-03-22 at 11:03 +, Mel Gorman wrote: > On Sun, Mar 21, 2021 at 03:03:58PM -0400, Rik van Riel wrote: > > Mel Gorman did some nice work in 9fe1f127b913 > > ("sched/fair: Merge select_idle_core/cpu()"), resulting in the > > kernel > > being more efficient at finding an

Re: [PATCH next v1 1/3] printk: track/limit recursion

2021-03-22 Thread Petr Mladek
On Mon 2021-03-22 20:13:51, Sergey Senozhatsky wrote: > On (21/03/22 11:53), John Ogness wrote: > > On 2021-03-21, Sergey Senozhatsky wrote: > > >> @@ -2055,6 +2122,9 @@ int vprintk_store(int facility, int level, > > >> */ > > >> ts_nsec = local_clock(); > > >> > > >> +

[PATCH] mtd: rawnand: atmel: Update ecc_stats.corrected counter

2021-03-22 Thread Tudor Ambarus
From: "Kai Stuhlemmer (ebee Engineering)" Update MTD ECC statistics with the number of corrected bits. Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") Cc: sta...@vger.kernel.org Signed-off-by: Kai Stuhlemmer (ebee Engineering) Signed-off-by: Tudor Ambarus ---

[PATCH v4 1/3] dt-bindings:iio:adc: add generic settling-time-us and oversampling-ratio channel properties

2021-03-22 Thread Oleksij Rempel
Settling time and over sampling is a typical challenge for different IIO ADC devices. So, introduce channel specific settling-time-us and oversampling-ratio properties to cover this use case. Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/iio/adc/adc.yaml | 9 + 1

[PATCH v4 2/3] dt-bindings:iio:adc: add documentation for TI TSC2046 controller

2021-03-22 Thread Oleksij Rempel
Add a binding documentation for the TI TSC2046 touchscreen controllers ADC functionality. Signed-off-by: Oleksij Rempel Reviewed-by: Rob Herring --- .../bindings/iio/adc/ti,tsc2046.yaml | 115 ++ 1 file changed, 115 insertions(+) create mode 100644

[PATCH v4 0/3] mainline ti tsc2046 adc driver

2021-03-22 Thread Oleksij Rempel
changes v4: - spell fixes - add more comments - make code more readable - move scan_buf to the priv - use FIELD_GET to extract ADC data - make some multi line code as one line - do not use atomic API for trig_more_count - fix build warning on 64bit system - add NULL check for the devm_kasprintf()

[PATCH v4 3/3] iio: adc: add ADC driver for the TI TSC2046 controller

2021-03-22 Thread Oleksij Rempel
Basically the TI TSC2046 touchscreen controller is 8 channel ADC optimized for the touchscreen use case. By implementing it as an IIO ADC device, we can make use of resistive-adc-touch and iio-hwmon drivers. Polled readings are currently not implemented to keep this patch small, so iio-hwmon will

Re: [PATCH net-next v2 2/2] net: ipa: fix IPA validation

2021-03-22 Thread Alex Elder
On 3/22/21 9:17 AM, Leon Romanovsky wrote: We are not talking about putting this tool in upstream repo, right? If yes, please get buy-in from David/Jakub first. I'll make the user space sanity check tool either way. It would be nice to have it upstream, the checks continue to be made as the

Re: [PATCH] mfd: rn5t618: Do not cache various USB related registers

2021-03-22 Thread Lee Jones
On Sun, 14 Mar 2021, Andreas Kemnade wrote: > These register get reset to their OTP defaults after USB plugging. > And while at it, also add a missing register for detecting the > charger type. > > Signed-off-by: Andreas Kemnade > --- > drivers/mfd/rn5t618.c | 3 +++ >

Re: [PATCH v3, 4/8] soc: mediatek: mmsys: add component OVL_2L2

2021-03-22 Thread Chun-Kuang Hu
Hi, Matthias: Chun-Kuang Hu 於 2020年12月29日 週二 下午11:23寫道: > > Hi, Yongqiang: > > Yongqiang Niu 於 2020年12月28日 週一 下午4:37寫道: > > > > This patch add component OVL_2L2 > > Reviewed-by: Chun-Kuang Hu How do you think about this patch? One drm patch [1] depends on this patch. [1]

Re: [PATCH 1/2] fbdev: omapfb: avoid -Wempty-body warning

2021-03-22 Thread Geert Uytterhoeven
On Mon, Mar 22, 2021 at 11:54 AM Arnd Bergmann wrote: > From: Arnd Bergmann > > Building with 'make W=1' shows a few harmless warnings: > > drivers/video/fbdev/omap2/omapfb/omapfb-main.c: In function > 'omapfb_calc_addr': > drivers/video/fbdev/omap2/omapfb/omapfb-main.c:823:56: error: suggest

[PATCH 2/2] powerpc/powernv: remove the nvlink support

2021-03-22 Thread Christoph Hellwig
This code was only used by the vfio-nvlink2 code, which itself had no proper use. Drop this huge chunk of code build into every powernv or generic build. Signed-off-by: Christoph Hellwig --- arch/powerpc/include/asm/opal.h| 3 - arch/powerpc/include/asm/pci-bridge.h | 1 -

Re: [PATCH] fs/fuse: Fix matching of FUSE_DEV_IOC_CLONE command

2021-03-22 Thread Miklos Szeredi
On Fri, Mar 19, 2021 at 4:06 PM Alessio Balsini wrote: > > With commit f8425c939663 ("fuse: 32-bit user space ioctl compat for fuse > device") the matching constraints for the FUSE_DEV_IOC_CLONE ioctl > command are relaxed, limited to the testing of command type and number. > As Arnd noticed,

[PATCH 1/2] vfio/pci: remove vfio_pci_nvlink2

2021-03-22 Thread Christoph Hellwig
This driver never had any open userspace (which for VFIO would include VM kernel drivers) that use it, and thus should never have been added by our normal userspace ABI rules. Signed-off-by: Christoph Hellwig --- drivers/vfio/pci/Kconfig| 6 - drivers/vfio/pci/Makefile |

remove the nvlink2 pci_vfio subdriver

2021-03-22 Thread Christoph Hellwig
Hi all, the nvlink2 vfio subdriver is a weird beast. It supports a hardware feature without any open source component - what would normally be the normal open source userspace that we require for kernel drivers, although in this particular case user space could of course be a kernel driver in a

Re: [PATCH 1/6] iommu: Move IOVA power-of-2 roundup into allocator

2021-03-22 Thread John Garry
On 19/03/2021 19:20, Robin Murphy wrote: Hi Robin, So then we have the issue of how to dynamically increase this rcache threshold. The problem is that we may have many devices associated with the same domain. So, in theory, we can't assume that when we increase the threshold that some other

Re: [PATCH mfd v1] mfd: Add Renesas Synchronization Management Unit (SMU) support

2021-03-22 Thread Lee Jones
On Sat, 20 Mar 2021, min.li...@renesas.com wrote: > From: Min Li > > Add support for ClockMatrix(TM) and 82P33xxx families of timing > and synchronization devices. The access interface can be either > SPI or I2C. Currently, it will create 2 types of MFD devices, > which are to be used by the

Re: [PATCH v3 1/1] ACPI: scan: Use unique number for instance_no

2021-03-22 Thread Andy Shevchenko
On Mon, Mar 22, 2021 at 4:57 PM Rafael J. Wysocki wrote: > > On Fri, Mar 19, 2021 at 8:21 PM Andy Shevchenko > wrote: > > > > The decrementation of acpi_device_bus_id->instance_no > > in acpi_device_del() is incorrect, because it may cause > > a duplicate instance number to be allocated next

Re: [PATCH] ASoC: Intel: Handle device properties with software node API

2021-03-22 Thread Pierre-Louis Bossart
On 3/22/21 6:06 AM, Heikki Krogerus wrote: The function device_add_properties() is going to be removed. Replacing it with software node API equivalents. Signed-off-by: Heikki Krogerus --- Hi, This patch depends on a fix from mainline, available in v5.12-rc4: 2a92c90f2ecc

Re: [PATCH v4 2/2] ASoC: rt715:add micmute led state control supports

2021-03-22 Thread Hans de Goede
Hi, On 3/22/21 3:37 PM, Jaroslav Kysela wrote: > Dne 22. 03. 21 v 10:25 Yuan, Perry napsal(a): >> Hi Mark: >> >>> -Original Message- >>> From: Mark Brown >>> Sent: Tuesday, March 9, 2021 1:24 AM >>> To: Yuan, Perry >>> Cc: po...@protonmail.com; pierre-louis.boss...@linux.intel.com; >>>

Re: [PATCH v7 2/2] ARM: ftrace: Add MODULE_PLTS support

2021-03-22 Thread Steven Rostedt
On Sun, 21 Mar 2021 19:06:11 + Qais Yousef wrote: > #ifdef CONFIG_DYNAMIC_FTRACE > struct dyn_arch_ftrace { > -#ifdef CONFIG_ARM_MODULE_PLTS > struct module *mod; > -#endif > }; > I know you want to reduce the "ifdefery", but please note that the dyn_arch_ftrace is defined once

Re: [PATCH 5.10 103/157] MIPS: kernel: Reserve exception base early to prevent corruption

2021-03-22 Thread Greg Kroah-Hartman
On Mon, Mar 22, 2021 at 07:44:05PM +0530, Naresh Kamboju wrote: > On Mon, 22 Mar 2021 at 18:14, Greg Kroah-Hartman > wrote: > > > > From: Thomas Bogendoerfer > > > > [ Upstream commit bd67b711bfaa02cf19e88aa2d9edae5c1c1d2739 ] > > > > BMIPS is one of the few platforms that do change the

Re: [PATCH v2] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-22 Thread Lee Jones
On Thu, 11 Mar 2021, Mark Brown wrote: > On Wed, Mar 10, 2021 at 09:48:21AM +, Lee Jones wrote: > > > Could you take a look at this for me please: > > > > +static int regmap_ignore_write(void *context, > > > +unsigned int reg, unsigned int val) > > > + > > > +{ > > >

[PATCH V2 5/5] tools/perf: Display sort dimension p_stage_cyc only on supported archs

2021-03-22 Thread Athira Rajeev
The sort dimension "p_stage_cyc" is used to represent pipeline stage cycle information. Presently, this is used only in powerpc. For unsupported platforms, we don't want to display it in the perf report output columns. Hence add check in sort_dimension__add() and skip the sort key incase it is not

[PATCH V2 0/5] powerpc/perf: Export processor pipeline stage cycles information

2021-03-22 Thread Athira Rajeev
Performance Monitoring Unit (PMU) registers in powerpc exports number of cycles elapsed between different stages in the pipeline. Example, sampling registers in ISA v3.1. This patchset implements kernel and perf tools support to expose these pipeline stage cycles using the sample type

[PATCH 13/17] auxdisplay: ht16k33: Move delayed work

2021-03-22 Thread Geert Uytterhoeven
Move delayed_work from ht16k33_fbdev to ht16k33_priv, as it is not specific to dot-matrix displays, but common to all display types. Signed-off-by: Geert Uytterhoeven --- drivers/auxdisplay/ht16k33.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

[PATCH V2 2/5] tools/perf: Add dynamic headers for perf report columns

2021-03-22 Thread Athira Rajeev
Currently the header string for different columns in perf report is fixed. Some fields of perf sample could have different meaning for different architectures than the meaning conveyed by the header string. An example is the new field 'var2_w' of perf_sample_weight structure. This is presently

[PATCH V2 1/5] powerpc/perf: Expose processor pipeline stage cycles using PERF_SAMPLE_WEIGHT_STRUCT

2021-03-22 Thread Athira Rajeev
Performance Monitoring Unit (PMU) registers in powerpc provides information on cycles elapsed between different stages in the pipeline. This can be used for application tuning. On ISA v3.1 platform, this information is exposed by sampling registers. Patch adds kernel support to capture two of the

[PATCH V2 4/5] tools/perf: Support pipeline stage cycles for powerpc

2021-03-22 Thread Athira Rajeev
The pipeline stage cycles details can be recorded on powerpc from the contents of Performance Monitor Unit (PMU) registers. On ISA v3.1 platform, sampling registers exposes the cycles spent in different pipeline stages. Patch adds perf tools support to present two of the cycle counter information

[PATCH V2 3/5] tools/perf: Add powerpc support for PERF_SAMPLE_WEIGHT_STRUCT

2021-03-22 Thread Athira Rajeev
Add arch specific arch_evsel__set_sample_weight() to set the new sample type for powerpc. Add arch specific arch_perf_parse_sample_weight() to store the sample->weight values depending on the sample type applied. if the new sample type (PERF_SAMPLE_WEIGHT_STRUCT) is applied, store only the lower

Re: [PATCH 0/6] Core scheduling remaining patches

2021-03-22 Thread Joel Fernandes
On Sat, Mar 20, 2021 at 04:40:20PM +0100, Peter Zijlstra wrote: > On Fri, Mar 19, 2021 at 04:32:47PM -0400, Joel Fernandes (Google) wrote: > > Enclosed is interface related core scheduling patches and one for migration. > > The main core scheduling patches were already pulled in by Peter with

Re: [PATCH 2/2] mtd: spi-nor: add initial sysfs support

2021-03-22 Thread Michael Walle
Hi Pratyush, Am 2021-03-22 15:43, schrieb Pratyush Yadav: I have not worked with sysfs much so only giving this patch a quick overview. On 18/03/21 10:24AM, Michael Walle wrote: Add support to show the name and JEDEC identifier as well as to dump the SFDP table. Not all flashes list their

Greetings From Dr Salif Musa

2021-03-22 Thread Salif Musa
-- Hi friend I am a banker in ADB BANK. I want to transfer an abandoned sum of USD15.6Million to your Bank account. 40/percent will be your share. No risk involved but keeps it as secret. Contact me for more details. Please reply me through my alternative email id only

Re: Build regressions/improvements in v5.12-rc4

2021-03-22 Thread Johannes Berg
On Mon, 2021-03-22 at 15:43 +0100, Geert Uytterhoeven wrote: > On Mon, Mar 22, 2021 at 3:16 PM Geert Uytterhoeven > wrote: > > JFYI, when comparing v5.12-rc4[1] to v5.12-rc3[3], the summaries are: > >   - build errors: +6/-2 > > > [1] > >

Re: [PATCH v3 1/1] ACPI: scan: Use unique number for instance_no

2021-03-22 Thread Rafael J. Wysocki
On Fri, Mar 19, 2021 at 8:21 PM Andy Shevchenko wrote: > > The decrementation of acpi_device_bus_id->instance_no > in acpi_device_del() is incorrect, because it may cause > a duplicate instance number to be allocated next time > a device with the same acpi_device_bus_id is added. > > Replace

[PATCH] media: dvb_frontend: don't call dvb_frontend_get_stepsize() twice

2021-03-22 Thread Mauro Carvalho Chehab
Avoid calling the function twice, as it was just called at the previous line. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb_frontend.c

Re: [PATCH] drm/amd/display: Set AMDGPU_DM_DEFAULT_MIN_BACKLIGHT to 0

2021-03-22 Thread Alex Deucher
On Sun, Mar 21, 2021 at 8:12 PM Evan Benn wrote: > > On Sat, Mar 20, 2021 at 8:36 AM Alex Deucher wrote: > > > > On Fri, Mar 19, 2021 at 5:31 PM Evan Benn wrote: > > > > > > On Sat, 20 Mar 2021 at 02:10, Harry Wentland > > > wrote: > > > > On 2021-03-19 10:22 a.m., Alex Deucher wrote: > > > >

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

2021-03-22 Thread Hans de Goede
Hi, On 3/22/21 3:40 PM, Lee Jones wrote: > Enjoy! > > The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: > > Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git >

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Christoph Hellwig
On Fri, Mar 19, 2021 at 05:53:12PM +, Russell King - ARM Linux admin wrote: > If I extend the arch/arm/kernel/bios32.c code to kill BARs 2/3 (which > actually are not present on the CY82C693) then the IDE driver works > for me, but the PATA driver does not: > > cy82c693 :00:06.1: IDE

[PATCH] media: em28xx: fix memory leak

2021-03-22 Thread Muhammad Usama Anjum
If some error occurs, URB buffers should also be freed. If they aren't freed with the dvb here, the em28xx_dvb_fini call doesn't frees the URB buffers as dvb is set to NULL. The function in which error occurs should do all the cleanup for the allocations it had done. Tested the patch with the

Re: [PATCH v23 07/28] x86/mm: Remove _PAGE_DIRTY from kernel RO pages

2021-03-22 Thread Yu, Yu-cheng
On 3/22/2021 2:13 AM, Kirill A. Shutemov wrote: On Tue, Mar 16, 2021 at 08:10:33AM -0700, Yu-cheng Yu wrote: The x86 family of processors do not directly create read-only and Dirty PTEs. These PTEs are created by software. One such case is that kernel read-only pages are historically setup as

Re: Re: [PATCH] infiniband: Fix a use after free in isert_connect_request

2021-03-22 Thread lyl2019
> -原始邮件- > 发件人: "Leon Romanovsky" > 发送时间: 2021-03-22 22:27:17 (星期一) > 收件人: "Lv Yunlong" > 抄送: s...@grimberg.me, dledf...@redhat.com, j...@ziepe.ca, > linux-r...@vger.kernel.org, target-de...@vger.kernel.org, > linux-kernel@vger.kernel.org > 主题: Re: [PATCH] infiniband: Fix a use

Re: [PATCH -next] mfd: Make symbol 'atc260x_i2c_of_match' static

2021-03-22 Thread Lee Jones
On Thu, 11 Mar 2021, 'Wei Yongjun wrote: > From: Wei Yongjun > > The sparse tool complains as follows: > > drivers/mfd/atc260x-i2c.c:45:27: warning: > symbol 'atc260x_i2c_of_match' was not declared. Should it be static? > > This symbol is not used outside of atc260x-i2c.c, so this > commit

Re: [PATCH 3/3] static_call: Fix static_call_update() sanity check

2021-03-22 Thread Jessica Yu
+++ Steven Rostedt [19/03/21 16:57 -0400]: On Fri, 19 Mar 2021 20:34:24 +0100 Peter Zijlstra wrote: On Fri, Mar 19, 2021 at 02:00:05PM -0400, Steven Rostedt wrote: > Would making __exit code the same as init code work? That is, load it just > like module init code is loaded, and free it when

[PATCH v2 17/18] ubifs: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Richard Weinberger --- fs/ubifs/dir.c | 2 ++ fs/ubifs/file.c | 2 ++ fs/ubifs/ioctl.c | 74 fs/ubifs/ubifs.h | 3 ++

[PATCH v2 18/18] vfs: remove unused ioctl helpers

2021-03-22 Thread Miklos Szeredi
Remove vfs_ioc_setflags_prepare(), vfs_ioc_fssetxattr_check() and simple_fill_fsxattr(), which are no longer used. Signed-off-by: Miklos Szeredi --- fs/inode.c | 87 -- include/linux/fs.h | 12 --- 2 files changed, 99 deletions(-) diff

[PATCH v2 16/18] reiserfs: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Jan Kara --- fs/reiserfs/file.c | 2 + fs/reiserfs/ioctl.c| 121 +++-- fs/reiserfs/namei.c| 2 + fs/reiserfs/reiserfs.h

[PATCH v2 15/18] ocfs2: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Joel Becker --- fs/ocfs2/file.c| 2 ++ fs/ocfs2/ioctl.c | 59 ++ fs/ocfs2/ioctl.h | 3 +++ fs/ocfs2/namei.c

[PATCH v2 10/18] xfs: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Darrick J. Wong --- fs/xfs/libxfs/xfs_fs.h | 4 - fs/xfs/xfs_ioctl.c | 316 - fs/xfs/xfs_ioctl.h | 11 ++

Re: [PATCH next v1 1/3] printk: track/limit recursion

2021-03-22 Thread Petr Mladek
On Wed 2021-03-17 00:33:24, John Ogness wrote: > Track printk() recursion and limit it to 3 levels per-CPU and per-context. Please, explain why it is added. I mean that it will allow remove printk_safe that provides recursion protection at the moment. > Signed-off-by: John Ogness > --- >

[PATCH v2 14/18] nilfs2: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Ryusuke Konishi --- fs/nilfs2/file.c | 2 ++ fs/nilfs2/ioctl.c | 61 ++- fs/nilfs2/namei.c | 2 ++ fs/nilfs2/nilfs.h | 3 +++

[PATCH v2 13/18] jfs: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Dave Kleikamp --- fs/jfs/file.c | 6 +-- fs/jfs/ioctl.c | 105 ++-- fs/jfs/jfs_dinode.h | 7 --- fs/jfs/jfs_inode.h

[PATCH v2 12/18] hfsplus: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi --- fs/hfsplus/dir.c| 2 + fs/hfsplus/hfsplus_fs.h | 14 ++- fs/hfsplus/inode.c | 54 ++ fs/hfsplus/ioctl.c | 84

[PATCH v2 06/18] ext4: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: "Theodore Ts'o" --- fs/ext4/ext4.h | 12 +-- fs/ext4/file.c | 2 + fs/ext4/ioctl.c | 210 ++-- fs/ext4/namei.c | 2 + 4

[PATCH v2 05/18] ext2: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Jan Kara --- fs/ext2/ext2.h | 7 ++-- fs/ext2/file.c | 2 ++ fs/ext2/ioctl.c | 88 ++--- fs/ext2/namei.c | 2 ++ 4 files

[PATCH v2 08/18] gfs2: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Andreas Gruenbacher --- fs/gfs2/file.c | 57 - fs/gfs2/inode.c | 4 fs/gfs2/inode.h | 3 +++ 3 files changed, 21

[PATCH v2 11/18] efivars: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Matthew Garrett --- fs/efivarfs/file.c | 77 - fs/efivarfs/inode.c | 44 ++ 2 files changed, 44

[PATCH v2 03/18] ovl: stack miscattr ops

2021-03-22 Thread Miklos Szeredi
Add stacking for the miscattr operations. Add hack for calling security_file_ioctl() for now. Probably better to have a pair of specific hooks for these operations. Signed-off-by: Miklos Szeredi --- fs/overlayfs/dir.c | 2 ++ fs/overlayfs/inode.c | 77

[PATCH v2 04/18] btrfs: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: David Sterba --- fs/btrfs/ctree.h | 3 + fs/btrfs/inode.c | 4 + fs/btrfs/ioctl.c | 249 +-- 3 files changed, 52

[PATCH v2 02/18] ecryptfs: stack miscattr ops

2021-03-22 Thread Miklos Szeredi
Add stacking for the miscattr operations. Signed-off-by: Miklos Szeredi Cc: Tyler Hicks --- fs/ecryptfs/inode.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index 18e9285fbb4c..b7d18583c50f 100644 ---

[PATCH v2 07/18] f2fs: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Jaegeuk Kim --- fs/f2fs/f2fs.h | 3 + fs/f2fs/file.c | 213 fs/f2fs/namei.c | 2 + 3 files changed, 40 insertions(+),

[PATCH v2 09/18] orangefs: convert to miscattr

2021-03-22 Thread Miklos Szeredi
Use the miscattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Mike Marshall --- fs/orangefs/file.c | 79 - fs/orangefs/inode.c | 50 2 files changed, 50

[PATCH 14/17] auxdisplay: ht16k33: Extract ht16k33_brightness_set()

2021-03-22 Thread Geert Uytterhoeven
Extract brightness handling into a helper function, so it can be called from multiple places. Signed-off-by: Geert Uytterhoeven --- drivers/auxdisplay/ht16k33.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/auxdisplay/ht16k33.c

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