Re: [PATCH 2/2] ALSA: hda/tegra: fix tegra-hda on tegra30 soc

2021-01-08 Thread Sameer Pujar
On 1/7/2021 2:51 AM, Peter Geis wrote: External email: Use caution opening links or attachments On Tue, Jan 5, 2021 at 1:30 AM Sameer Pujar wrote: On 12/25/2020 6:50 AM, Peter Geis wrote: External email: Use caution opening links or attachments Currently hda on tegra30 fails to open

RE: [PATCH] Bluetooth: btusb: Add a Kconfig option to disable USB wakeup by default

2021-01-08 Thread Max Chou
// add Abhishek to CC list BRs, Max -Original Message- From: Max Chou Sent: Wednesday, December 30, 2020 2:55 PM To: mar...@holtmann.org; johan.hedb...@gmail.com; luiz.de...@gmail.com; matthias@gmail.com Cc: linux-blueto...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH 4.9 00/33] 4.9.250-rc2 review

2021-01-08 Thread Naresh Kamboju
On Thu, 7 Jan 2021 at 20:00, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.250 release. > There are 33 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. > >

[tip: x86/cache] x86/resctrl: Add printf attribute to log function

2021-01-08 Thread tip-bot2 for Tom Rix
The following commit has been merged into the x86/cache branch of tip: Commit-ID: 91031e096e1fa0216027bfb7fdca931225aebbf0 Gitweb: https://git.kernel.org/tip/91031e096e1fa0216027bfb7fdca931225aebbf0 Author:Tom Rix AuthorDate:Mon, 21 Dec 2020 08:00:09 -08:00 Committer:

Re: [RFC PATCH] fs: block_dev: compute nr_vecs hint for improving writeback bvecs allocation

2021-01-08 Thread Ming Lei
On Thu, Jan 07, 2021 at 09:21:11AM +1100, Dave Chinner wrote: > On Wed, Jan 06, 2021 at 04:45:48PM +0800, Ming Lei wrote: > > On Tue, Jan 05, 2021 at 07:39:38PM +0100, Christoph Hellwig wrote: > > > At least for iomap I think this is the wrong approach. Between the > > > iomap and

Re: [PATCH 4.4 00/20] 4.4.250-rc2 review

2021-01-08 Thread Naresh Kamboju
On Thu, 7 Jan 2021 at 20:00, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.250 release. > There are 20 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. > >

Re: [PATCH] i2c-imx.c: Synthesize end of transaction events without idle interrupts

2021-01-08 Thread Oleksij Rempel
Hi Kevin Paul, On Tue, Dec 22, 2020 at 11:48:50AM -0800, Kevin Paul Herbert wrote: > Only the Layerscape SoCs have interrupts on bus idle, which facilitate > sending events which complete slave bus transactions. > > Add support for synthesizing missing events. If we see a master request, > or a

Re: [PATCH v5 2/2] scsi: ufs-qcom: Fix ufs RST_n specs violation

2021-01-08 Thread Can Guo
On 2021-01-08 15:28, Ziqi Chen wrote: As per specs, e.g, JESD220E chapter 7.2, while powering off/on the ufs device, RST_n signal should be between VSS(Ground) and VCCQ/VCCQ2. Signed-off-by: Ziqi Chen --- drivers/scsi/ufs/ufs-qcom.c | 4 1 file changed, 4 insertions(+) diff --git

Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

2021-01-08 Thread Arnd Bergmann
On Fri, Jan 8, 2021 at 12:53 AM Darrick J. Wong wrote: > > On Thu, Jan 07, 2021 at 02:27:51PM -0800, Eric Biggers wrote: > > On Thu, Jan 07, 2021 at 10:48:05PM +0100, Arnd Bergmann wrote: > > > On Thu, Jan 7, 2021 at 5:27 PM Theodore Ts'o wrote: > > > > > > > > On Thu, Jan 07, 2021 at 01:37:47PM

Re: [PATCH for can-next] MAINTAINERS: adjust entry to tcan4x5x file split

2021-01-08 Thread Marc Kleine-Budde
On 1/8/21 8:39 AM, Lukas Bulwahn wrote: > Commit 7813887ea972 ("can: tcan4x5x: rename tcan4x5x.c -> tcan4x5x-core.c") > and commit 67def4ef8bb9 ("can: tcan4x5x: move regmap code into seperate > file") split the file tcan4x5x.c into two files, but missed to adjust the > TI TCAN4X5X DEVICE DRIVER

Re: [PATCH v3 1/1] kdump: append uts_namespace.name offset to VMCOREINFO

2021-01-08 Thread Greg KH
On Fri, Jan 08, 2021 at 11:32:48AM +0800, Baoquan He wrote: > On 09/30/20 at 12:23pm, Alexander Egorenkov wrote: > > The offset of the field 'init_uts_ns.name' has changed > > since commit 9a56493f6942 ("uts: Use generic ns_common::count"). > > This patch is merged into 5.11-rc1, but we met the

Re: [PATCH 3/3 v2] sched/fair: reduce cases for active balance

2021-01-08 Thread Vincent Guittot
On Thu, 7 Jan 2021 at 18:40, Valentin Schneider wrote: > > On 07/01/21 13:20, Vincent Guittot wrote: > > On Thu, 7 Jan 2021 at 12:26, Valentin Schneider > > wrote: > >> > @@ -9499,13 +9499,32 @@ asym_active_balance(struct lb_env *env) > >> > } > >> > > >> > static inline bool > >> >

[PATCH 0/1] Fix vhub engine stop dma register setting.

2021-01-08 Thread Ryan Chen
This patch fixes vhub engine stop dma should have different register setting. Ryan Chen (1): usb: gadget: aspeed: fix stop dma register setting. drivers/usb/gadget/udc/aspeed-vhub/epn.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.17.1

[PATCH 1/1] usb: gadget: aspeed: fix stop dma register setting.

2021-01-08 Thread Ryan Chen
The vhub engine has two dma mode, one is descriptor list, another is single stage DMA. Each mode has different stop register setting. Descriptor list operation (bit2) : 0 disable reset, 1: enable reset Single mode operation (bit0) : 0 : disable, 1: enable Signed-off-by: Ryan Chen ---

Re: [PATCH 3/3] objtool: Support stack layout changes in alternatives

2021-01-08 Thread Miroslav Benes
> That comment is indeed now obsolete. I can squash something like so: > > diff --git a/tools/objtool/check.c b/tools/objtool/check.c > index 81d56fdef1c3..ce67437aaf3f 100644 > --- a/tools/objtool/check.c > +++ b/tools/objtool/check.c > @@ -958,21 +958,8 @@ static int

Re: [PATCH v5 2/2] scsi: ufs-qcom: Fix ufs RST_n specs violation

2021-01-08 Thread ziqichen
On 2021-01-08 16:05, Can Guo wrote: On 2021-01-08 15:28, Ziqi Chen wrote: As per specs, e.g, JESD220E chapter 7.2, while powering off/on the ufs device, RST_n signal should be between VSS(Ground) and VCCQ/VCCQ2. Signed-off-by: Ziqi Chen --- drivers/scsi/ufs/ufs-qcom.c | 4 1 file

Re: [PATCH v3] driver core: Fix device link device name collision

2021-01-08 Thread Michael Walle
Am 2021-01-08 02:24, schrieb Saravana Kannan: The device link device's name was of the form: -- This can cause name collision as reported here [1] as device names are not globally unique. Since device names have to be unique within the bus/class, add the bus/class name as a prefix to the device

[tip: x86/urgent] x86/resctrl: Don't move a task to the same resource group

2021-01-08 Thread tip-bot2 for Fenghua Yu
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: a0195f314a25582b38993bf30db11c300f4f4611 Gitweb: https://git.kernel.org/tip/a0195f314a25582b38993bf30db11c300f4f4611 Author:Fenghua Yu AuthorDate:Thu, 17 Dec 2020 14:31:19 -08:00 Committer:

[tip: x86/urgent] x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR

2021-01-08 Thread tip-bot2 for Fenghua Yu
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: ae28d1aae48a1258bd09a6f707ebb4231d79a761 Gitweb: https://git.kernel.org/tip/ae28d1aae48a1258bd09a6f707ebb4231d79a761 Author:Fenghua Yu AuthorDate:Thu, 17 Dec 2020 14:31:18 -08:00 Committer:

Re: [PATCH v8 1/1] ns: add binfmt_misc to the user namespace

2021-01-08 Thread Jan Kiszka
On 16.12.19 10:12, Laurent Vivier wrote: > This patch allows to have a different binfmt_misc configuration > for each new user namespace. By default, the binfmt_misc configuration > is the one of the previous level, but if the binfmt_misc filesystem is > mounted in the new namespace a new empty

Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

2021-01-08 Thread Ard Biesheuvel
On Thu, 7 Jan 2021 at 23:42, Eric Biggers wrote: > > On Thu, Jan 07, 2021 at 10:14:46PM +, Russell King - ARM Linux admin > wrote: > > On Thu, Jan 07, 2021 at 10:48:05PM +0100, Arnd Bergmann wrote: > > > On Thu, Jan 7, 2021 at 5:27 PM Theodore Ts'o wrote: > > > > > > > > On Thu, Jan 07,

Re: [PATCH v5 1/2] scsi: ufs: Fix ufs clk specs violation

2021-01-08 Thread Can Guo
On 2021-01-08 15:28, Ziqi Chen wrote: As per specs, e.g, JESD220E chapter 7.2, while powering off/on the ufs device, REF_CLK signal should be between VSS(Ground) and VCCQ/VCCQ2. Signed-off-by: Ziqi Chen Reviewed-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 20 ++-- 1 file

[PATCH] media: atomisp: fix Wvisiblity warning

2021-01-08 Thread Arnd Bergmann
From: Arnd Bergmann Some randconfig builds include ia_css_firmware.h without first including linux/device.h: In file included from atomisp/pci/mmu/sh_mmu_mrfld.c:23: In file included from atomisp/pci/atomisp_compat.h:22: In file included from atomisp/pci/atomisp_compat_css20.h:24: In file

[PATCH] mlx5: vdpa: fix possible uninitialized var

2021-01-08 Thread Jason Wang
Upstream: posted When compiling with -Werror=maybe-uninitialized, gcc may complains the possible uninitialized umem. Fix that. Signed-off-by: Jason Wang --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c

Re: [PATCH v2 3/6] mm: hugetlb: fix a race between freeing and dissolving the page

2021-01-08 Thread Michal Hocko
On Thu 07-01-21 16:52:19, Mike Kravetz wrote: > On 1/7/21 12:40 AM, Michal Hocko wrote: > > On Wed 06-01-21 12:58:29, Mike Kravetz wrote: > >> On 1/6/21 8:56 AM, Michal Hocko wrote: > >>> On Wed 06-01-21 16:47:36, Muchun Song wrote: > There is a race condition between __free_huge_page() >

Re: [PATCH 05/10] dma: tx49 removal

2021-01-08 Thread Vinod Koul
On 07-01-21, 17:40, Thomas Bogendoerfer wrote: > On Wed, Jan 06, 2021 at 11:10:38AM -0800, Joe Perches wrote: > > On Tue, 2021-01-05 at 15:02 +0100, Thomas Bogendoerfer wrote: > > > Signed-off-by: Thomas Bogendoerfer > > [] > > > diff --git a/drivers/dma/txx9dmac.h b/drivers/dma/txx9dmac.h > > []

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2021-01-08 Thread Dongdong Tao
Hi Coly, They are captured with the same time length, the meaning of the timestamp and the time unit on the x-axis are different. (Sorry, I should have clarified this right after the chart) For the latency chart: The timestamp is the relative time since the beginning of the benchmark, so the

Re: [PATCH 2/3] usb: gadget: composite: Split composite reset and disconnect

2021-01-08 Thread Jack Pham
Hi Thinh, On Fri, Jan 08, 2021 at 02:19:30AM +, Thinh Nguyen wrote: > Hi Wesley, > > Felipe Balbi wrote: > > Hi, > > > > Wesley Cheng writes: > >> +void composite_reset(struct usb_gadget *gadget) > >> +{ > >> + /* > >> + * Section 1.4.13 Standard Downstream Port of the USB battery

Re: [PATCH v1] vdpa/mlx5: Fix memory key MTT population

2021-01-08 Thread Jason Wang
On 2021/1/7 下午3:18, Eli Cohen wrote: map_direct_mr() assumed that the number of scatter/gather entries returned by dma_map_sg_attrs() was equal to the number of segments in the sgl list. This led to wrong population of the mkey object. Fix this by properly referring to the returned value. The

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2021-01-08 Thread Coly Li
On 1/8/21 4:30 PM, Dongdong Tao wrote: > Hi Coly, > > They are captured with the same time length, the meaning of the > timestamp and the time unit on the x-axis are different. > (Sorry, I should have clarified this right after the chart) > > For the latency chart: > The timestamp is the

Re: [PATCH v5] net: can: Introduce MEN 16Z192-00 CAN controller driver

2021-01-08 Thread Abhijeet Badurkar
 M. Sc. Abhijeet Badurkar Software Engineering Business Unit Computing Systems, duagon duagon Germany GmbH Neuwieder Straße 1-7 90411 Nürnberg Deutschland Phone +49 911 99 33 5 - 219 www.duagon.com duagon Germany GmbH - Geschäftsführer: Dr. Michael Goldbach - Mathias Kamolz -

[PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-08 Thread Viresh Kumar
Now that fdtoverlay is part of the kernel build, start using it to test the unitest overlays we have by applying them statically. The file overlay_base.dtb have symbols of its own and we need to apply overlay.dtb to overlay_base.dtb alone first to make it work, which gives us

Re: [External] Re: [PATCH v2 3/6] mm: hugetlb: fix a race between freeing and dissolving the page

2021-01-08 Thread Michal Hocko
On Thu 07-01-21 23:11:22, Muchun Song wrote: > On Thu, Jan 7, 2021 at 10:11 PM Michal Hocko wrote: > > > > On Thu 07-01-21 20:59:33, Muchun Song wrote: > > > On Thu, Jan 7, 2021 at 8:38 PM Michal Hocko wrote: > > [...] > > > > Right. Can we simply back off in the dissolving path when ref count

Re: [PATCH 3/3] MAINTAINERS: add myself as maintainer for mcp16502

2021-01-08 Thread Nicolas Ferre
On 07/01/2021 at 15:15, Claudiu Beznea wrote: Andrei is no longer with Microchip. Add myself as maintainer for MCP16502. Along with this change the status from maintained to supported. Signed-off-by: Claudiu Beznea For the record: Acked-by: Nicolas Ferre Thanks Claudiu! Regards, Nicolas

Re: drivers/char/random.c needs a (new) maintainer

2021-01-08 Thread Sandy Harris
Pavel Machek wrote: > To play devil's advocate, does RNG subsystem need to evolve? Its task > is to get random numbers. Does it fail at the task? > > Problem is, random subsystem is hard to verify, and big rewrite is > likely to cause security problems... Parts of the problem, though, are dead

RE: [PATCH] [RFC] rt: kernel/sched/core: fix kthread_park() pending too long when CPU un-plugged

2021-01-08 Thread Ran Wang
Hi Sebastian, Peter Thursday, January 7, 2021 11:29 PM, Sebastian Siewior wrote: > > On 2021-01-07 11:45:39 [+0100], Peter Zijlstra wrote: > > On Thu, Jan 07, 2021 at 05:18:41PM +0800, Ran Wang wrote: > > > + > > > + if (IS_ENABLED(CONFIG_PREEMPT_RT) && > > > +

[PATCH] ASoC: adau17x1: Remove redundant null check before clk_disable_unprepare

2021-01-08 Thread Xu Wang
Because clk_disable_unprepare() already checked NULL clock parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- sound/soc/codecs/adau17x1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/adau17x1.c

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2021-01-08 Thread Dongdong Tao
Yeap, I will scale the testing for multiple threads with larger IO depth, thanks for the suggestion! On Fri, Jan 8, 2021 at 4:40 PM Coly Li wrote: > > On 1/8/21 4:30 PM, Dongdong Tao wrote: > > Hi Coly, > > > > They are captured with the same time length, the meaning of the > > timestamp and the

Re: [PATCH v3 1/1] kdump: append uts_namespace.name offset to VMCOREINFO

2021-01-08 Thread Baoquan He
On 01/08/21 at 09:12am, Greg KH wrote: > On Fri, Jan 08, 2021 at 11:32:48AM +0800, Baoquan He wrote: > > On 09/30/20 at 12:23pm, Alexander Egorenkov wrote: > > > The offset of the field 'init_uts_ns.name' has changed > > > since commit 9a56493f6942 ("uts: Use generic ns_common::count"). > > > >

Re: [PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2021-01-08 Thread Wilken Gottwalt
On Thu, 7 Jan 2021 11:43:48 -0600 Bjorn Andersson wrote: > On Wed 23 Dec 05:35 CST 2020, Wilken Gottwalt wrote: > > > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > > most of the sun6i compatible SoCs. > > > > This unit provides at least 32 spinlocks in hardware.

[PATCH] mm,hwpoison: Fix printing of page flags

2021-01-08 Thread Oscar Salvador
Format %pG expects a lower case 'p' in order to print the flags. Fix it. Reported-by: Dan Carpenter Signed-off-by: Oscar Salvador Fixes: 8295d535e2aa ("mm,hwpoison: refactor get_any_page") --- mm/memory-failure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] ASoC: codecs: da*: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

2021-01-08 Thread Xu Wang
Because clk_prepare_enable() and clk_disable_unprepare() already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Signed-off-by: Xu Wang --- sound/soc/codecs/da7218.c | 13 + sound/soc/codecs/da7219-aad.c | 19 ---

[PATCH 1/2] x86/mce: Get rid of mcheck_intel_therm_init()

2021-01-08 Thread Borislav Petkov
From: Borislav Petkov Move the APIC_LVTTHMR read which needs to happen on the BSP, to intel_init_thermal(). One less boot dependency. No functional changes. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/mce.h| 6 -- arch/x86/kernel/cpu/mce/core.c| 1 -

[PATCH 0/2] Move ...mce/therm_throt.c to drivers/thermal/

2021-01-08 Thread Borislav Petkov
From: Borislav Petkov Hi, so this has come up a bunch of times in the past and PeterZ is right - that thing doesn't have anything to do with the MCE glue so move it where it belongs. Thx. Borislav Petkov (2): x86/mce: Get rid of mcheck_intel_therm_init() thermal: Move therm_throt there

[PATCH 2/2] thermal: Move therm_throt there from x86/mce

2021-01-08 Thread Borislav Petkov
From: Borislav Petkov This functionality has nothing to do with MCE, move it to the thermal framework and untangle it from MCE. Requested-by: Peter Zijlstra Signed-off-by: Borislav Petkov --- arch/x86/Kconfig | 4 --- arch/x86/include/asm/irq.h

[PATCH] ASoC: es8328: Remove redundant null check before clk_disable_unprepare

2021-01-08 Thread Xu Wang
Because clk_disable_unprepare() already checked NULL clock parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- sound/soc/codecs/es8328.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/es8328.c

Re: [PATCH v5 2/2] hwspinlock: add sun6i hardware spinlock support

2021-01-08 Thread Maxime Ripard
On Thu, Jan 07, 2021 at 09:43:14AM +0100, Wilken Gottwalt wrote: > On Wed, 6 Jan 2021 11:15:42 +0100 > Maxime Ripard wrote: > > > On Wed, Dec 23, 2020 at 12:35:10PM +0100, Wilken Gottwalt wrote: > > > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > > > most of the

[PATCH] blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED

2021-01-08 Thread John Garry
Showing the hctx flags for when BLK_MQ_F_TAG_HCTX_SHARED is set gives something like: root@debian:/home/john# more /sys/kernel/debug/block/sda/hctx0/flags alloc_policy=FIFO SHOULD_MERGE|TAG_QUEUE_SHARED|3 Add the decoding for that flag. Fixes: 32bc15afed04b ("blk-mq: Facilitate a shared sbitmap

Re: linux-next: Tree for Jan 7 (drivers/gpu/drm/imx/parallel-display.o)

2021-01-08 Thread Daniel Vetter
On Fri, Jan 8, 2021 at 9:55 AM Randy Dunlap wrote: > > On 1/6/21 7:01 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20210106: > > > > on x86_64: > > ld: drivers/gpu/drm/imx/parallel-display.o: in function > `imx_pd_connector_get_modes': > parallel-display.c:(.text+0x8d):

Re: [External] Re: [PATCH v2 3/6] mm: hugetlb: fix a race between freeing and dissolving the page

2021-01-08 Thread Muchun Song
On Fri, Jan 8, 2021 at 4:43 PM Michal Hocko wrote: > > On Thu 07-01-21 23:11:22, Muchun Song wrote: > > On Thu, Jan 7, 2021 at 10:11 PM Michal Hocko wrote: > > > > > > On Thu 07-01-21 20:59:33, Muchun Song wrote: > > > > On Thu, Jan 7, 2021 at 8:38 PM Michal Hocko wrote: > > > [...] > > > > >

Re: [PATCH] [RFC] rt: kernel/sched/core: fix kthread_park() pending too long when CPU un-plugged

2021-01-08 Thread Sebastian Siewior
On 2021-01-08 08:45:14 [+], Ran Wang wrote: > Hi Sebastian, Peter Hi, > > I had a similar patch in -RT and dropped it in v5.10-rc7-rt16. > > It was added because RT couldn't boot since creating the boot-threads > > didn't work before the ksoftirqd was up. This was fixed by commit > >

Re: [PATCH 5/5] media: hantro: Add support for the Rockchip PX30

2021-01-08 Thread Paul Kocialkowski
Hi Ezequiel, On Thu 07 Jan 21, 16:08, Ezequiel Garcia wrote: > Happy to see this patch. It was on my TODO list, > but I hadn't had time to bringup my rk3326 device. Same here, I just had an occasion to use it again these days so I jumped on it! > A few comments. > > On Thu, 2021-01-07 at 14:41

Re: [PATCH v6 00/26] coresight: etm4x: Support for system instructions

2021-01-08 Thread Suzuki K Poulose
Hi Mathieu On 1/8/21 1:09 AM, Mathieu Poirier wrote: Hi Suzuki, On Thu, Jan 07, 2021 at 12:38:33PM +, Suzuki K Poulose wrote: CoreSight ETMv4.4 obsoletes memory mapped access to ETM and mandates the system instructions for registers. This also implies that they may not be on the amba bus.

[RFC PATCH] selinux: ARM64: Move selinux_state to a separate page

2021-01-08 Thread Preeti Nagar
The changes introduce a new security feature, RunTime Integrity Check (RTIC), designed to protect Linux Kernel at runtime. The motivation behind these changes is: 1. The system protection offered by SE for Android relies on the assumption of kernel integrity. If the kernel itself is compromised

Re: [PATCH 2/3] usb: gadget: composite: Split composite reset and disconnect

2021-01-08 Thread gre...@linuxfoundation.org
On Fri, Jan 08, 2021 at 02:19:30AM +, Thinh Nguyen wrote: > Hi Wesley, > > Felipe Balbi wrote: > > Hi, > > > > Wesley Cheng writes: > >> +void composite_reset(struct usb_gadget *gadget) > >> +{ > >> + /* > >> + * Section 1.4.13 Standard Downstream Port of the USB battery charging > >> +

Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

2021-01-08 Thread Peter Zijlstra
On Thu, Jan 07, 2021 at 11:27:22AM -0500, Theodore Ts'o wrote: > I will note that RHEL 7 uses gcc 4.8. I personally don't have an > objections to requiring developers using RHEL 7 to have to install a > more modern gcc (since I use Debian Testing and gcc 10.2.1, myself, > and gcc 5.1 is so five

Re: KASAN: null-ptr-deref Write in start_transaction

2021-01-08 Thread Dmitry Vyukov
On Thu, Jan 7, 2021 at 2:11 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit f30bed83426c5cb9fce6cabb3f7cc5a9d5428fcc > Author: Filipe Manana > Date: Fri Nov 13 11:24:17 2020 + > > btrfs: remove unnecessary attempt to drop extent maps after adding inline

Re: [PATCH v3 3/4] hwmon: (ltc2945): add support for sense resistor

2021-01-08 Thread Alexandru Ardelean
On Thu, Jan 7, 2021 at 7:35 PM Guenter Roeck wrote: > > On Thu, Jan 07, 2021 at 05:44:33PM +0200, Alexandru Ardelean wrote: > > > > > > Note that this patch doesn't compile on 32-bit targets. > > > > Yeah, my bad. > > I only tested with make allmodconfig, and that doesn't do a good job > > at

[PATCH v2 -next] mfd: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/mfd/88pm860x-core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c index c9bae71f643a..a9e0855b4c66

Re: [PATCH v2 05/15] usb: misc: emi26: update to use usb_control_msg_send()

2021-01-08 Thread Johan Hovold
On Thu, Jan 07, 2021 at 07:43:54PM +0530, Anant Thazhemadam wrote: > On 04/12/20 8:11 pm, Johan Hovold wrote: > > On Mon, Nov 30, 2020 at 06:58:47AM +0530, Anant Thazhemadam wrote: > >> The newer usb_control_msg_{send|recv}() API are an improvement on the > >> existing usb_control_msg() as it

[PATCH v2 -next] media: zoran: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/staging/media/zoran/zoran_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media/zoran/zoran_driver.c

[PATCH v2 -next] media: atomisp: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/staging/media/atomisp/pci/sh_css_params.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/sh_css_params.c

RE: [PATCH] ASoC: adau17x1: Remove redundant null check before clk_disable_unprepare

2021-01-08 Thread Sa, Nuno
> -Original Message- > From: Xu Wang > Sent: Friday, January 8, 2021 9:45 AM > To: l...@metafoo.de; Sa, Nuno ; > lgirdw...@gmail.com; broo...@kernel.org; pe...@perex.cz; > ti...@suse.com; alsa-de...@alsa-project.org > Cc: linux-kernel@vger.kernel.org > Subject: [PATCH] ASoC: adau17x1:

[PATCH v2 -next] media: hantro: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/staging/media/hantro/hantro_v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/hantro/hantro_v4l2.c b/drivers/staging/media/hantro/hantro_v4l2.c

Re: [PATCH v2] proc_sysctl: fix oops caused by incorrect command parameters.

2021-01-08 Thread Michal Hocko
On Fri 08-01-21 10:33:39, Xiaoming Ni wrote: > The process_sysctl_arg() does not check whether val is empty before > invoking strlen(val). If the command line parameter () is incorrectly > configured and val is empty, oops is triggered. > > For example, "hung_task_panic=1" is incorrectly

[PATCH] arm64: make atomic helpers __always_inline

2021-01-08 Thread Arnd Bergmann
From: Arnd Bergmann With UBSAN enabled and building with clang, there are occasionally warnings like WARNING: modpost: vmlinux.o(.text+0xc533ec): Section mismatch in reference from the function arch_atomic64_or() to the variable .init.data:numa_nodes_parsed The function arch_atomic64_or()

Re: [PATCH] ARM: dts: sun5i: add A10s/A13 mali gpu support fallback

2021-01-08 Thread Maxime Ripard
On Thu, Jan 07, 2021 at 12:00:35PM +0100, Sergio Sota wrote: > The A10s/A13 mali gpu was not defined in device tree > Add A10 mali gpu as a fallback for A10s/A13 > Tested with Olimex-A13-SOM / Olimex-A13-OlinuXino-MICRO > "kmscube" 3d cube on screen (60fps / 10%cpu) With Lima or the ARM blob, if

Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

2021-01-08 Thread Peter Zijlstra
On Thu, Jan 07, 2021 at 10:20:38PM +0100, Arnd Bergmann wrote: > On Thu, Jan 7, 2021 at 2:37 PM Russell King - ARM Linux admin > > So, do we raise the minimum gcc version for the kernel as a whole to 5.1 > > or just for aarch64? > > I'd personally love to see gcc-5 as the global minimum version,

[PATCH v2 -next] mtd: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/mtd/maps/pci.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c index 377ef0fc4e3e..ca00d211e73e 100644 ---

[PATCH v2 -next] media: rkvdec: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/staging/media/rkvdec/rkvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/rkvdec/rkvdec.c b/drivers/staging/media/rkvdec/rkvdec.c index

[PATCH v2 -next] mtd: rawnand: marvell: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/mtd/nand/raw/marvell_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c index

[PATCH v2 -next] gpio: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/gpio/gpio-mc33880.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-mc33880.c b/drivers/gpio/gpio-mc33880.c index f8194f7c6186..704cd4e6171f 100644 ---

[PATCH v2 -next] gpio: vx855: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/gpio/gpio-vx855.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c index 3bf397b8dfbc..69713fd5485b 100644 ---

Re: [PATCH] ARM: dts: sun5i: add A10s/A13 display frontend support fallback

2021-01-08 Thread Maxime Ripard
Hi, On Thu, Jan 07, 2021 at 11:59:27AM +0100, Sergio Sota wrote: > The A10s/A13 display frontend driver is not implemented > Set A10 display frontend driver as a fallback for A10s/A13 > Tested with Olimex-A13-SOM / Olimex-A13-OlinuXino-MICRO > "modetest -M sun4i-drm -s 49@47:800x480-60" ( 7.0"

[PATCH v2 -next] gpio: tegra186: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/gpio/gpio-tegra186.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c index 9500074b1f1b..05974b760796 100644 ---

[PATCH v2 -next] gpio: wcove: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/gpio/gpio-wcove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-wcove.c b/drivers/gpio/gpio-wcove.c index b5fbba5a783a..97c5f1d01b62 100644 ---

[PATCH v2 -next] mtd: st_spi_fsm: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/mtd/devices/st_spi_fsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c index

[PATCH v2 -next] [media] m88ds3103: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/media/dvb-frontends/m88ds3103.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c index

[PATCH v2 -next] media: dvbsky: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c

[PATCH v2 -next] video: fbdev: pxa3xx_gcu: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/video/fbdev/pxa3xx-gcu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index

[PATCH v2 -next] leds: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/leds/leds-lm3642.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c index 62c14872caf7..22035a380c4a 100644 ---

Re: [PATCH v2 2/2] drm/sun4i: tcon: improve DCLK polarity handling

2021-01-08 Thread Maxime Ripard
Hi, Thanks for those patches On Thu, Jan 07, 2021 at 03:30:32AM +0100, Giulio Benetti wrote: > From: Giulio Benetti > > It turned out(Maxime suggestion) that bit 26 of SUN4I_TCON0_IO_POL_REG is > dedicated to invert DCLK polarity and this makes thing really easier than > before. So let's

[PATCH v2 -next] gpio: max77620: convert comma to semicolon

2021-01-08 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/gpio/gpio-max77620.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c index 7c0a9ef0b500..82b3a913005d 100644 ---

Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

2021-01-08 Thread Will Deacon
On Fri, Jan 08, 2021 at 10:21:54AM +0100, Peter Zijlstra wrote: > On Thu, Jan 07, 2021 at 10:20:38PM +0100, Arnd Bergmann wrote: > > On Thu, Jan 7, 2021 at 2:37 PM Russell King - ARM Linux admin > > > > So, do we raise the minimum gcc version for the kernel as a whole to 5.1 > > > or just for

[PATCHv3 1/7] PCI: dwc: Fix a bug of the case dw_pci->ops is NULL

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang The dw_pci->ops may be a NULL, and fix it by adding one more check. Signed-off-by: Hou Zhiqiang Reviewed-by: Rob Herring Acked-by: Gustavo Pimentel --- V3: - Rebased against the latest code base drivers/pci/controller/dwc/pcie-designware-host.c | 2 +-

[PATCHv3 3/7] dt-bindings: pci: layerscape-pci: Add a optional property big-endian

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang This property is to indicate the endianness when accessing the PEX_LUT and PF register block, so if these registers are implemented in big-endian, specify this property. Signed-off-by: Hou Zhiqiang Acked-by: Rob Herring --- V3: - Rebased against the latest code base

[PATCHv3 5/7] dt-bindings: pci: layerscape-pci: Update the description of SCFG property

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang Update the description of the second entry of 'fsl,pcie-scfg' property, as the LS1043A PCIe controller also has some control registers in SCFG block, while it has 3 controllers. Signed-off-by: Hou Zhiqiang Acked-by: Rob Herring --- V3: - Rebased against the latest code

[PATCHv3 0/7] PCI: layerscape: Add power management support

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang This patch series is to add PCIe power management support for NXP Layerscape platfroms. Hou Zhiqiang (7): PCI: dwc: Fix a bug of the case dw_pci->ops is NULL PCI: layerscape: Change to use the DWC common link-up check function dt-bindings: pci: layerscape-pci: Add a

[PATCHv3 4/7] arm64: dts: layerscape: Add big-endian property for PCIe nodes

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang Add the big-endian property for LS1012A, LS1043A and LS1046A PCIe devicetree nodes. Signed-off-by: Hou Zhiqiang --- V3: - Rebased against the latest code base arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 + arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++

Re: [PATCH] mm,hwpoison: Fix printing of page flags

2021-01-08 Thread Anshuman Khandual
On 1/8/21 2:22 PM, Oscar Salvador wrote: > Format %pG expects a lower case 'p' in order to print the flags. > Fix it. > > Reported-by: Dan Carpenter > Signed-off-by: Oscar Salvador > Fixes: 8295d535e2aa ("mm,hwpoison: refactor get_any_page") Reviewed-by: Anshuman Khandual > --- >

[PATCHv3 2/7] PCI: layerscape: Change to use the DWC common link-up check function

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang The current Layerscape PCIe driver directly uses the physical layer LTSSM code to check the link-up state, which treats the > L0 states as link-up. This is not correct, since there is not explicit map between link-up state and LTSSM. So this patch changes to use the DWC common

[PATCHv3 6/7] arm64: dts: ls1043a: Add SCFG phandle for PCIe nodes

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang The LS1043A PCIe controller has some control registers in SCFG block, so add the SCFG phandle for each PCIe controller DT node. Signed-off-by: Hou Zhiqiang --- V3: - Rebased against the latest code base arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++ 1 file

RE: [PATCH] [RFC] rt: kernel/sched/core: fix kthread_park() pending too long when CPU un-plugged

2021-01-08 Thread Ran Wang
Hi Sebastian, On Friday, January 8, 2021 5:05 PM, Sebastian Siewior wrote: > > On 2021-01-08 08:45:14 [+], Ran Wang wrote: > > Hi Sebastian, Peter > Hi, > > > > I had a similar patch in -RT and dropped it in v5.10-rc7-rt16. > > > It was added because RT couldn't boot since creating the

[PATCHv3 7/7] PCI: layerscape: Add power management support

2021-01-08 Thread Zhiqiang Hou
From: Hou Zhiqiang Add PME_Turn_Off/PME_TO_Ack handshake sequence, and finally put the PCIe controller into D3 state after the L2/L3 ready state transition process completion. Signed-off-by: Hou Zhiqiang --- V3: - Rebased against the latest code base

Re: ARC no console output (was Re: [PATCH 1/2] init/console: Use ttynull as a fallback when there is no console)

2021-01-08 Thread Petr Mladek
On Thu 2021-01-07 21:18:20, Vineet Gupta wrote: > On 1/7/21 7:48 PM, Sergey Senozhatsky wrote: > > On (21/01/07 09:58), Vineet Gupta wrote: > > > On 1/7/21 9:04 AM, Petr Mladek wrote: > > > > On Thu 2021-01-07 08:43:16, Vineet Gupta wrote: > > > > > Hi John, > > > > > > > > > > On 1/7/21 1:02 AM,

RE: [x86] d55564cfc2: will-it-scale.per_thread_ops -5.8% regression

2021-01-08 Thread David Laight
From: Al Viro > Sent: 07 January 2021 19:58 > > On Thu, Jan 07, 2021 at 11:33:36AM -0800, Linus Torvalds wrote: > > > In fact, even some threaded app that does what I suspect it could do > > would likely be ok with it 99% of the time. Because the situation > > where you change the fd in the poll

Re: [External] Re: [PATCH v2 3/6] mm: hugetlb: fix a race between freeing and dissolving the page

2021-01-08 Thread Michal Hocko
On Fri 08-01-21 17:01:03, Muchun Song wrote: > On Fri, Jan 8, 2021 at 4:43 PM Michal Hocko wrote: > > > > On Thu 07-01-21 23:11:22, Muchun Song wrote: [..] > > > But I find a tricky problem to solve. See free_huge_page(). > > > If we are in non-task context, we should schedule a work > > > to

Re: [PATCH] [RFC] rt: kernel/sched/core: fix kthread_park() pending too long when CPU un-plugged

2021-01-08 Thread Peter Zijlstra
On Thu, Jan 07, 2021 at 04:28:43PM +0100, Sebastian Siewior wrote: > This sleep can be triggered by ptrace/strace() and with brief testing I > can trigger the sleep there but I don't get it anywhere near where I > would notice it with cyclictest. It's a single task wakeup (the caller), doing that

Re: [PATCH] arm64: make atomic helpers __always_inline

2021-01-08 Thread Will Deacon
Hi Arnd, On Fri, Jan 08, 2021 at 10:19:56AM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > With UBSAN enabled and building with clang, there are occasionally > warnings like > > WARNING: modpost: vmlinux.o(.text+0xc533ec): Section mismatch in reference > from the function

Re: [PATCH] fs: Fix freeze_bdev()/thaw_bdev() accounting of bd_fsfreeze_sb

2021-01-08 Thread Christoph Hellwig
On Thu, Jan 07, 2021 at 11:08:39PM +, Satya Tangirala wrote: > > error = sb->s_op->freeze_super(sb); > > else > > @@ -600,6 +602,7 @@ int thaw_bdev(struct block_device *bdev) > > if (!sb) > > goto out; > > > > + bdev->bd_fsfreeze_sb = NULL; > This causes

  1   2   3   4   5   6   7   8   9   10   >