Re: [PATCH] xfs: set inode size after creating symlink

2021-01-22 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH v1] can: mcp251xfd: use regmap_bulk_write for compatibility

2021-01-22 Thread Marc Kleine-Budde
On 1/22/21 8:59 AM, Su wrote: > > 在 2021/1/22 下午3:26, Marc Kleine-Budde 写道: >> On 1/22/21 4:02 AM, Su Yanjun wrote: >>> Recently i use mcp2518fd on 4.x kernel which multiple write is not >>> backported, regmap_raw_write will cause old kernel crash because the >>> tx buffer in driver is smaller

Re: [PATCH v3 3/4] drm/qxl: release shadow on shutdown

2021-01-22 Thread Thomas Zimmermann
Hi Am 20.01.21 um 12:12 schrieb Gerd Hoffmann: In case we have a shadow surface on shutdown release it so it doesn't leak. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_display.c

RE: Re: [PATCH 1/1] clk: aspeed: modify some default clks are critical

2021-01-22 Thread Ryan Chen
Hello, How about this patch progress? It does impact a lot of machine that when BMC boot at u-boot. SUART is work for Host. But after boot into kernel, due to the clk disabled. The SUART is not work for Host anymore. Regards, Ryan > -Original Message- >

Re: [PATCH] drm/panfrost: Add governor data with pre-defined thresholds

2021-01-22 Thread Steven Price
On 21/01/2021 17:04, Lukasz Luba wrote: The simple_ondemand devfreq governor uses two thresholds to decide about the frequency change: upthreshold, downdifferential. These two tunable change the behavior of the governor decision, e.g. how fast to increase the frequency or how rapidly limit the

[PATCH] drivers: spi: spi-au1550: Fix various whitespace warnings

2021-01-22 Thread corentin
From: corentin Signed-off-by: corentin --- drivers/spi/spi-au1550.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index dfb7196f4caf..ca9121ce668d 100644 --- a/drivers/spi/spi-au1550.c +++

Small student project idea on appropriate integration trees in MAINTAINERS

2021-01-22 Thread Lukas Bulwahn
Dear all, here is a small student project idea: In previous work on MAINTAINERS and process conformance, Pia Eichinger [1] has investigated: are patches integrated by the maintainers defined by the responsibilities in MAINTAINERS? In this project, we are interested in a related (possibly

Re: [PATCH 1/5] Add manpage for open_tree(2)

2021-01-22 Thread Michael Kerrisk (man-pages)
Hello David, Ping! Thanks, Michael On Thu, 27 Aug 2020 at 13:01, Michael Kerrisk (man-pages) wrote: > > Hello David, > > Can I ask that you please reply to each of my mails, rather than > just sending out a new patch series (which of course I would also > like you to do). Some things that I

Re: [PATCH 2/5] Add manpages for move_mount(2)

2021-01-22 Thread Michael Kerrisk (man-pages)
Hello David, Ping! Thanks, Michael On Mon, 24 Aug 2020 at 14:24, David Howells wrote: > > Add manual pages to document the move_mount() system call. > > Signed-off-by: David Howells > --- > > man2/move_mount.2 | 267 > + > 1 file

Re: linux-next: build warning after merge of the drm tree

2021-01-22 Thread Daniel Vetter
On Fri, Jan 22, 2021 at 8:29 AM Stephen Rothwell wrote: > > Hi Daniel, > > On Fri, 22 Jan 2021 08:17:58 +0100 Daniel Vetter wrote: > > > > Hm that has been in drm-intel-gt-next for a few days, is that tree not > > in linux-next? > > It is not. Adding -intel maintainers to get that sorted.

[PATCH] scsi_logging: print cdb into new line after opcode

2021-01-22 Thread Martin Kepplinger
The current log message results in a line like the following where the first byte is duplicated, giving a wrong impression: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 60 40 00 00 01 00 Print the cdb into a new line in any case, not only when cmd_len is greater than 16. The above

Re: [PATCH v1 2/2] isa: Make the remove callback for isa drivers return void

2021-01-22 Thread Wolfram Sang
On Thu, Jan 21, 2021 at 09:48:12PM +0100, Uwe Kleine-König wrote: > The driver core ignores the return value of the remove callback, so > don't give isa drivers the chance to provide a value. > > Adapt all isa_drivers with a remove callbacks accordingly; they all > return 0 unconditionally

Re: [PATCH] ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256

2021-01-22 Thread Takashi Iwai
On Fri, 22 Jan 2021 06:47:06 +0100, Jian-Hong Pan wrote: > > ASUS B1400CEPE laptop's headset audio is not enabled until > ALC256_FIXUP_ASUS_HPE quirk is applied. > > Here is the original pin node values: > > 0x12 0x4000 > 0x13 0x41f0 > 0x14 0x90170110 > 0x18 0x41f0 > 0x19 0x41f0

Re: [PATCH -next] hid/hid-sensor-custom: convert comma to semicolon

2021-01-22 Thread Jonathan Cameron
On Wed, 20 Jan 2021 20:49:57 + Jonathan Cameron wrote: > On Tue, 29 Dec 2020 18:18:41 + > Jonathan Cameron wrote: > > > On Mon, 14 Dec 2020 06:13:58 -0800 > > Srinivas Pandruvada wrote: > > > > > On Mon, 2020-12-14 at 21:32 +0800, Zheng Yongjun wrote: > > > > Replace a comma

Re: [PATCH v5 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2021-01-22 Thread Alexander Potapenko
On Mon, Jan 18, 2021 at 11:54 PM Randy Dunlap wrote: > > On 1/18/21 1:56 AM, vji...@codeaurora.org wrote: > > From: Yogesh Lal > > > > Use CONFIG_STACK_HASH_ORDER to configure STACK_HASH_SIZE. > > > > Aim is to have configurable value for STACK_HASH_SIZE, > > so depend on use case one can

Re: [PATCH net v5] net: lapb: Add locking to the lapb module

2021-01-22 Thread Martin Schiller
On 2021-01-21 01:21, Xie He wrote: In the lapb module, the timers may run concurrently with other code in this module, and there is currently no locking to prevent the code from racing on "struct lapb_cb". This patch adds locking to prevent racing. 1. Add "spinlock_t lock" to "struct lapb_cb";

[PATCH v3] f2fs: compress: deny setting unsupported compress algorithm

2021-01-22 Thread Chao Yu
If kernel doesn't support certain kinds of compress algorithm, deny to set them as compress algorithm of f2fs via 'compress_algorithm=%s' mount option. Signed-off-by: Chao Yu --- v3: - rebase to commit 03a9a1a64a11 ("f2fs: relocate f2fs_precache_extents()") in dev branch fs/f2fs/super.c | 16

Re: [PATCH] scsi: megaraid_sas: remove redundant NULL check

2021-01-22 Thread Greg KH
On Fri, Jan 22, 2021 at 05:23:44PM +0800, Yang Li wrote: > Fix below warnings reported by coccicheck: > ./drivers/scsi/megaraid/megaraid_sas_fusion.c:3924:3-8: WARNING: NULL > check before some freeing functions is not needed. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- >

Re: [PATCH v2 6/7] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.

2021-01-22 Thread Oleksij Rempel
On Thu, Jan 21, 2021 at 11:17:42AM -0300, Fabio Estevam wrote: > Hi Oleksij, > > On Thu, Jan 21, 2021 at 3:12 AM Oleksij Rempel > wrote: > > > > At some point PWM cell count was changed, but it didn't triggered any > > It changed in this commit: > > commit

Re: [PATCH v3 2/4] drm/qxl: unpin release objects

2021-01-22 Thread Thomas Zimmermann
Hi Am 20.01.21 um 12:12 schrieb Gerd Hoffmann: Balances the qxl_create_bo(..., pinned=true, ...); call in qxl_release_bo_alloc(). Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_release.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/qxl/qxl_release.c

Re: [v7,1/2] dt-binding: reset-controller: mediatek: add YAML schemas

2021-01-22 Thread Ikjoon Jang
On Fri, Jan 15, 2021 at 7:23 PM Crystal Guo wrote: > > Add a YAML documentation for Mediatek, which uses ti reset-controller > driver directly. The TI reset controller provides a common reset > management, and is suitable for Mediatek SoCs. > > Signed-off-by: Crystal Guo > --- >

Re: [PATCH v4] Fixes: misc: rtsx: init value of aspm_enabled

2021-01-22 Thread Greg KH
On Fri, Jan 22, 2021 at 04:19:06PM +0800, ricky...@realtek.com wrote: > From: Ricky Wu > > make sure ASPM state sync with pcr->aspm_enabled > init value pcr->aspm_enabled > > Cc: sta...@vger.kernel.org > Signed-off-by: Ricky Wu > --- > > v2: fixed conditions in v1 if-statement > v3: give

[RFC PATCH] kvm: arm64: Try stage2 block mapping for host device MMIO

2021-01-22 Thread Keqian Zhu
The MMIO region of a device maybe huge (GB level), try to use block mapping in stage2 to speedup both map and unmap. Especially for unmap, it performs TLBI right after each invalidation of PTE. If all mapping is of PAGE_SIZE, it takes much time to handle GB level range. Signed-off-by: Keqian Zhu

[PATCH v6 4/7] Bluetooth: advmon offload MSFT handle controller reset

2021-01-22 Thread Archie Pusaka
From: Archie Pusaka When the controller is powered off, the registered advertising monitor is removed from the controller. This patch handles the re-registration of those monitors when the power is on. Signed-off-by: Archie Pusaka Reviewed-by: Miao-chen Chou Reviewed-by: Yun-Hao Chung ---

Re: [PATCH 3/3] arm64: dts: zynqmp: Wire up the DisplayPort subsystem

2021-01-22 Thread Michal Simek
Hi Laurent, On 1/22/21 8:46 AM, Laurent Pinchart wrote: > Hi Michal, > > On Fri, Jan 22, 2021 at 08:19:15AM +0100, Michal Simek wrote: >> On 1/21/21 11:37 PM, Laurent Pinchart wrote: >>> On Thu, Jan 21, 2021 at 01:36:07PM +0100, Michal Simek wrote: From: Laurent Pinchart Enable

Re: [PATCH V3 1/3] mm/memory_hotplug: Prevalidate the address range being added with platform

2021-01-22 Thread David Hildenbrand
> +/* > + * Platforms should define arch_get_mappable_range() that provides > + * maximum possible addressable physical memory range for which the > + * linear mapping could be created. The platform returned address > + * range must adhere to these following semantics. > + * > + * - range.start

[PATCH] genirq: Limit irq_calc_affinity_vectors to housekeeping CPUs

2021-01-22 Thread Liu Chao
Replace the cpumask used in irq_calc_affinity_vectors from all possible CPUs to only housekeeping CPUs. When we have isolated CPUs used by real-time tasks, IRQs will be move to housekeeping CPUs. If there are too many IRQ vectors, moving the all to housekeeping CPUs may exceed per-CPU vector

Re: [PATCH 1/2] arm64: boot: dts: add new dts for hellcat & petra

2021-01-22 Thread Michal Simek
Hi Daniel, On 1/22/21 12:12 AM, Daniel Walker wrote: > Add Petra and Hellcat dts file. These platforms are based on > the Xilinx Zynqmp platform. > > Signed-off-by: Daniel Walker > Cc: xe-linux-exter...@cisco.com > --- > arch/arm64/boot/dts/xilinx/Makefile | 2 + >

Re: [PATCH] mm: fix prototype warning from kernel test robot

2021-01-22 Thread Baoquan He
On 01/22/21 at 09:40am, David Hildenbrand wrote: > On 22.01.21 08:03, Baoquan He wrote: > > Kernel test robot calling make with 'W=1' triggering warning like below > > below for memmap_init_zone() function. > > > > mm/page_alloc.c:6259:23: warning: no previous prototype for > >

Re: [PATCH] mm: fix prototype warning from kernel test robot

2021-01-22 Thread Baoquan He
On 01/22/21 at 09:55am, David Hildenbrand wrote: > On 22.01.21 09:46, Baoquan He wrote: > > On 01/22/21 at 09:40am, David Hildenbrand wrote: > >> On 22.01.21 08:03, Baoquan He wrote: > >>> Kernel test robot calling make with 'W=1' triggering warning like below > >>> below for memmap_init_zone()

Re: [PATCH 2/3] i2c: remove u300 bus driver

2021-01-22 Thread Wolfram Sang
On Wed, Jan 20, 2021 at 02:28:33PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The ST-Ericsson U300 platform is getting removed, so this driver is no > longer needed. > > Cc: Linus Walleij > Signed-off-by: Arnd Bergmann Applied to for-next, thanks! signature.asc Description: PGP

[PATCH v6 1/7] Bluetooth: advmon offload MSFT add rssi support

2021-01-22 Thread Archie Pusaka
From: Archie Pusaka MSFT needs rssi parameter for monitoring advertisement packet, therefore we should supply them from mgmt. This adds a new opcode to add advertisement monitor with rssi parameters. Signed-off-by: Archie Pusaka Reviewed-by: Manish Mandlik Reviewed-by: Miao-chen Chou

Re: [PATCH 3/5] Add manpage for fspick(2)

2021-01-22 Thread Michael Kerrisk (man-pages)
Hello David, Ping! Thanks, Michael On Mon, 24 Aug 2020 at 14:25, David Howells wrote: > > Add a manual page to document the fspick() system call. > > Signed-off-by: David Howells > --- > > man2/fspick.2 | 180 > + > 1 file changed,

[GIT PULL] platform-drivers-x86 for 5.11-2

2021-01-22 Thread Hans de Goede
Hi Linus, Here is a set of small, straight-forward fixes and some model specific quirks for platform-drivers-x86 for 5.11. Regards, Hans The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git

Re: [PATCH 0/8] i2c: improve RECV_LEN documentation & usage

2021-01-22 Thread Wolfram Sang
On Sat, Jan 09, 2021 at 01:43:04PM +0100, Wolfram Sang wrote: > Because I want to clarify I2C_M_RECV len usage, this series updates the > documentation and some of its users. Patch 1 refactors the whole > documentation of 'i2c_msg', so all usage of I2C_M_* flags and their > conditions hopefully

Re: [PATCH] net: macb: ignore tx_clk if MII is used

2021-01-22 Thread Claudiu.Beznea
On 21.01.2021 11:41, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > Am 2021-01-21 10:19, schrieb claudiu.bez...@microchip.com: >> On 20.01.2021 21:43, Michael Walle wrote: >>> EXTERNAL EMAIL: Do not click

Re: [PATCH v2 07/12] ASoC: arizona-jack: Use arizona->dev for runtime-pm

2021-01-22 Thread Andy Shevchenko
On Fri, Jan 22, 2021 at 2:03 AM Hans de Goede wrote: > On 1/18/21 1:02 PM, Andy Shevchenko wrote: > > On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: ... > > Can you elaborate switchings from get() to get_sync() in few places > > Sorry, those 2 changes really should have been in a

[PATCH] kdb: Make memory allocations more robust

2021-01-22 Thread Sumit Garg
Currently kdb uses in_interrupt() to determine whether it's library code has been called from the kgdb trap handler or from a saner calling context such as driver init. This approach is broken because in_interrupt() alone isn't able to determine kgdb trap handler entry via normal task context such

[PATCH] scsi: fnic: remove redundant NULL check

2021-01-22 Thread Yang Li
Fix below warnings reported by coccicheck: ./drivers/scsi/fnic/fnic_debugfs.c:91:2-7: WARNING: NULL check before some freeing functions is not needed. Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/scsi/fnic/fnic_debugfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

bisected regression in v5.11-rc1 snd-usb-audio

2021-01-22 Thread Jamie Heilman
I've bisected a failure in support for the M2Tech USB HiFace Two 192kHz Digital Audio Interface device (read as: a reclocked USB S/PDIF) to the following ... commit 93db51d06b32227319dae2ac289029ccf1b33181 Author: Takashi Iwai Date: Mon Nov 23 09:53:09 2020 +0100 ALSA: usb-audio: Check

Re: [RESEND PATCH v3 2/2] usb: dwc3: Add driver for Xilinx platforms

2021-01-22 Thread Michael Grzeschik
Hello! On Mon, Jan 18, 2021 at 02:42:24PM +0100, Michael Grzeschik wrote: Hi! On Tue, Dec 15, 2020 at 12:24:51PM +0530, Manish Narani wrote: Add a new driver for supporting Xilinx platforms. This driver is used for some sequence of operations required for Xilinx USB controllers. This driver

Re: [PATCH 3/6] sched/deadline: Allow DL tasks on empty (cgroup v2) cpusets

2021-01-22 Thread Juri Lelli
Hi, On 12/01/21 16:53, Daniel Bristot de Oliveira wrote: > cgroups v2 allows the cpuset controller to be enabled/disabled on > demand. On Fedora 32, cpuset is disabled by default. To enable it, > a user needs to: > > # cd /sys/fs/cgroup/ > # echo +cpuset > cgroup.subtree_control > >

[PATCH v2] hugetlbfs: make hugepage size conversion more readable

2021-01-22 Thread Miaohe Lin
The calculation 1U << (h->order + PAGE_SHIFT - 10) is actually equal to (PAGE_SHIFT << (h->order)) >> 10. So we can make it more readable by replace it with huge_page_size(h) >> 10. Signed-off-by: Miaohe Lin --- fs/hugetlbfs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH v27 12/12] landlock: Add user and kernel documentation

2021-01-22 Thread Michael Kerrisk (man-pages)
Hello Mickaël, It would be great to have some manual pages for these system calls before release... Can you prepare something? Thanks, Michael On Thu, 21 Jan 2021 at 21:51, Mickaël Salaün wrote: > > From: Mickaël Salaün > > This documentation can be built with the Sphinx framework. > > Cc:

Re: [RFC][PATCH 4/7] smp: Optimize send_call_function_single_ipi()

2021-01-22 Thread Peter Zijlstra
On Thu, Jan 21, 2021 at 04:20:12PM -0800, Paul E. McKenney wrote: > > --- > > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > > index 368749008ae8..2c8d4c3e341e 100644 > > --- a/kernel/rcu/tree.c > > +++ b/kernel/rcu/tree.c > > @@ -445,7 +445,7 @@ static int rcu_is_cpu_rrupt_from_idle(void)

[PATCH v6 6/7] Bluetooth: advmon offload MSFT interleave scanning integration

2021-01-22 Thread Archie Pusaka
From: Archie Pusaka When MSFT extension is supported, we don't have to interleave the scan as we could just do allowlist scan. Signed-off-by: Archie Pusaka Reviewed-by: Miao-chen Chou --- Changes in v6: * New patch "advmon offload MSFT interleave scanning integration"

[PATCH v6 7/7] Bluetooth: disable advertisement filters during suspend

2021-01-22 Thread Archie Pusaka
From: Howard Chung This adds logic to disable and reenable advertisement filters during suspend and resume. After this patch, we would only receive packets from devices in allow list during suspend. Signed-off-by: Howard Chung Reviewed-by: Abhishek Pandit-Subedi --- Changes in v6: * New

[PATCH v6 5/7] Bluetooth: advmon offload MSFT handle filter enablement

2021-01-22 Thread Archie Pusaka
From: Archie Pusaka Implements the feature to disable/enable the filter used for advertising monitor on MSFT controller, effectively have the same effect as "remove all monitors" and "add all previously removed monitors". This feature would be needed when suspending, where we would not want to

RE: [PATCH v2 3/3] perf vendor events: Add Fujitsu A64FX V1.2 pmu event

2021-01-22 Thread nakamura.s...@fujitsu.com
Hi John > I think that we need to the same here as the IMPDEF recommended events - add a > common JSON to reduce the duplication. > > I had done work on this for current CPUs, but never got it finished. Let me > check > the status. If you let me know the result, I will resend the patch

[PATCH 1/2] dm crypt: replaced #if defined with IS_ENABLED

2021-01-22 Thread Ahmad Fatoum
IS_ENABLED(CONFIG_ENCRYPTED_KEYS) is true whether the option is built-in or a module, so use it instead of #if defined checking for each separately. The other #if was to avoid a static function defined, but unused warning. As we now always build the callsite when the function is defined, we can

Re: [PATCH v3] x86: Treat R_386_PLT32 as R_386_PC32

2021-01-22 Thread Fāng-ruì Sòng
On Thu, Jan 14, 2021 at 2:48 PM Fangrui Song wrote: > > This is similar to commit b21ebf2fb4cd ("x86: Treat R_X86_64_PLT32 as > R_X86_64_PC32"), but for i386. As far as Linux kernel is concerned, > R_386_PLT32 can be treated the same as R_386_PC32. > > R_386_PC32/R_X86_64_PC32 are PC-relative

Re: [PATCH v1] can: mcp251xfd: Add some sysfs debug interfaces for registers r/w

2021-01-22 Thread Vincent MAILHOL
Hi, In addition to Marc’s comment, I also have security concerns. On Fri. 22 Jan 2021 at 15:22, Su Yanjun wrote: > When i debug mcp2518fd, some method to track registers is > needed. This easy debug interface will be ok. > > For example, > read a register at 0xe00: > echo 0xe00 > can_get_reg >

Re: [PATCH v5 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2021-01-22 Thread Alexander Potapenko
On Mon, Jan 18, 2021 at 10:57 AM wrote: > > From: Yogesh Lal > > Use CONFIG_STACK_HASH_ORDER to configure STACK_HASH_SIZE. > > Aim is to have configurable value for STACK_HASH_SIZE, > so depend on use case one can configure it. > > One example is of Page Owner, default value of >

Re: [PATCH] media: atomisp: remove redundant NULL check

2021-01-22 Thread Robert Foss
Thanks for the patch. Feel free to add my r-b: Reviewed-by: Robert Foss On Thu, 21 Jan 2021 at 09:31, Yang Li wrote: > > Fix below warnings reported by coccicheck: > ./drivers/staging/media/atomisp/pci/sh_css_params.c:1575:2-8: WARNING: > NULL check before some freeing functions is not needed.

[PATCH 1/2] scsi: qla2xxx: remove redundant NULL check

2021-01-22 Thread Yang Li
Fix below warnings reported by coccicheck: ./drivers/scsi/qla2xxx/qla_init.c:3371:2-7: WARNING: NULL check before some freeing functions is not needed. ./drivers/scsi/qla2xxx/qla_init.c:7855:5-10: WARNING: NULL check before some freeing functions is not needed.

[PATCH 1/2] scsi: qla2xxx: remove redundant NULL check

2021-01-22 Thread Yang Li
Fix below warnings reported by coccicheck: ./drivers/scsi/qla2xxx/qla_init.c:3371:2-7: WARNING: NULL check before some freeing functions is not needed. ./drivers/scsi/qla2xxx/qla_init.c:7855:5-10: WARNING: NULL check before some freeing functions is not needed.

[PATCH 2/2] scsi: qla4xxx: remove redundant NULL check

2021-01-22 Thread Yang Li
Fix below warnings reported by coccicheck: ./drivers/scsi/qla4xxx/ql4_os.c:4171:2-7: WARNING: NULL check before some freeing functions is not needed. ./drivers/scsi/qla4xxx/ql4_os.c:4192:2-7: WARNING: NULL check before some freeing functions is not needed. ./drivers/scsi/qla4xxx/ql4_os.c:4211:2-7:

Re: Fail to boot qemu xlnx-zcu102 due to lot of drivers not probing

2021-01-22 Thread Michal Simek
Hi, On 1/22/21 10:24 AM, Corentin Labbe wrote: > Hello > > With at least qemu 5.1.0 (and later), the xlnx-zcu102 machine boot lead to a > panic due to missing console. > qemu-system-aarch64 -kernel Image -nographic -machine xlnx-zcu102 -device > ide-hd,drive=lavatest -serial mon:stdio -serial

[GIT PULL] MMC fixes for v5.11-rc5

2021-01-22 Thread Ulf Hansson
Hi Linus, Here's a PR with a couple of MMC fixes intended for v5.11-rc5. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837: Linux 5.11-rc3 (2021-01-10

Re: [RFC PATCH] kvm: arm64: Try stage2 block mapping for host device MMIO

2021-01-22 Thread Marc Zyngier
On 2021-01-22 08:36, Keqian Zhu wrote: The MMIO region of a device maybe huge (GB level), try to use block mapping in stage2 to speedup both map and unmap. Especially for unmap, it performs TLBI right after each invalidation of PTE. If all mapping is of PAGE_SIZE, it takes much time to handle

[PATCH v3] f2fs: compress: support compress level

2021-01-22 Thread Chao Yu
Expand 'compress_algorithm' mount option to accept parameter as format of :, by this way, it gives a way to allow user to do more specified config on lz4 and zstd compression level, then f2fs compression can provide higher compress ratio. In order to set compress level for lz4 algorithm, it needs

RE: [PATCH v4] Fixes: misc: rtsx: init value of aspm_enabled

2021-01-22 Thread 吳昊澄 Ricky
> -Original Message- > From: Greg KH > Sent: Friday, January 22, 2021 4:28 PM > To: 吳昊澄 Ricky > Cc: a...@arndb.de; bhelg...@google.com; vaibhavgupt...@gmail.com; > linux-kernel@vger.kernel.org; sta...@vger.kernel.org > Subject: Re: [PATCH v4] Fixes: misc: rtsx: init value of aspm_enabled

Re: [PATCH] MIPS: mm: abort uaccess retries upon fatal signal

2021-01-22 Thread Mark Rutland
On Thu, Jan 21, 2021 at 05:04:16PM +0100, Thomas Bogendoerfer wrote: > When there's a fatal signal pending, MIPS's do_page_fault() > implementation returns. The intent is that we'll return to the > faulting userspace instruction, delivering the signal on the way. > > However, if we take a fatal

[PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-22 Thread Bill Wendling
From: Sami Tolvanen Enable the use of clang's Profile-Guided Optimization[1]. To generate a profile, the kernel is instrumented with PGO counters, a representative workload is run, and the raw profile data is collected from /sys/kernel/debug/pgo/profraw. The raw profile data must be processed

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

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

Re: [PATCH v5 0/7] cpufreq-qcom-hw: Implement full OSM programming

2021-01-22 Thread Viresh Kumar
On 21-01-21, 20:52, AngeloGioacchino Del Regno wrote: > ** > ** NOTE: To "view the full picture", please look at the following > ** patch series: > ** https://patchwork.kernel.org/project/linux-arm-msm/list/?series=413355 > ** This is a subset of that series. > ** > >

[PATCH 09/14] dt-bindings: reset: add MCU HOLD BOOT ID for SCMI reset domains on stm32mp15

2021-01-22 Thread gabriel.fernandez
From: Gabriel Fernandez Add ID to SCMI0 to exposes reset controller for the MCU HOLD BOOT resource. Signed-off-by: Arnaud Pouliquen Signed-off-by: Gabriel Fernandez --- include/dt-bindings/reset/stm32mp1-resets.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 12/14] ARM: dts: stm32: move clocks/resets to SCMI resources for stm32mp15

2021-01-22 Thread gabriel.fernandez
From: Gabriel Fernandez This change reflects board hardware configuration where RCC security features are configured for RCC[TZEN]=1 and RCC[MCKPROT]=0, that is RCC TrustZone is hardened and RCC MCKPROT is disabled. Clock and reset controllers that relate to SoC secure resources are moved from

Re: [PATCH v9 00/16] dmaengine: dw-axi-dmac: support Intel KeemBay AxiDMA

2021-01-22 Thread Eugeniy Paltsev
Hi Sia Jee Heng, resending tags as they weren't delivered to 'dmaeng...@vger.kernel.org' list: Reviewed-by: Eugeniy Paltsev I've runtime tested this series on HSDK SoC/board, so Tested-by: Eugeniy Paltsev ---  Eugeniy Paltsev From: Sia Jee Heng Sent: Tuesday, January 5, 2021 03:42 To:

Re: Fail to boot qemu xlnx-zcu102 due to lot of drivers not probing

2021-01-22 Thread Edgar E. Iglesias
On Fri, Jan 22, 2021 at 10:52:18AM +0100, Michal Simek wrote: > Hi, > > On 1/22/21 10:24 AM, Corentin Labbe wrote: > > Hello > > > > With at least qemu 5.1.0 (and later), the xlnx-zcu102 machine boot lead to > > a panic due to missing console. > > qemu-system-aarch64 -kernel Image -nographic

[PATCH v3 2/2] vfio/iommu_type1: Fix some sanity checks in detach group

2021-01-22 Thread Keqian Zhu
vfio_sanity_check_pfn_list() is used to check whether pfn_list and notifier are empty when remove the external domain, so it makes a wrong assumption that only external domain will use the pinning interface. Now we apply the pfn_list check when a vfio_dma is removed and apply the notifier check

Re: [PATCH] mmc: sdhci-of-aspeed: Fix kunit-related build error

2021-01-22 Thread Ulf Hansson
On Fri, 22 Jan 2021 at 04:23, Andrew Jeffery wrote: > > Randy found that with the following Kconfig settings we have duplicate > definitions (e.g. __inittest()) in sdhci-of-aspeed due to competing > module_init()/module_exit() calls from kunit and driver the itself. > > ``` >

[PATCH] drivers: spi: spi-au1550: quoted string break

2021-01-22 Thread corentin
Signed-off-by: corentin --- drivers/spi/spi-au1550.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index dfb7196f4caf..cbb6604ba8f7 100644 --- a/drivers/spi/spi-au1550.c +++ b/drivers/spi/spi-au1550.c @@ -447,8

Re: [PATCH v2 08/12] ASoC: arizona-jack: convert into a helper library for codec drivers

2021-01-22 Thread Charles Keepax
On Thu, Jan 21, 2021 at 05:55:00PM +0100, Hans de Goede wrote: > Hi, > > On 1/19/21 10:51 AM, Richard Fitzgerald wrote: > > On 18/01/2021 17:24, Andy Shevchenko wrote: > >> On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: > >>> > >>> Convert the arizona extcon driver into a helper library

[PATCH v3 1/2] dt-bindings: counter: add gpio-pulse-counter binding

2021-01-22 Thread Oleksij Rempel
Add binding for GPIO based pulse counter node Signed-off-by: Oleksij Rempel --- .../bindings/counter/gpio-pulse-counter.yaml | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/gpio-pulse-counter.yaml diff --git

Re: [PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-22 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 11:12 AM 'Bill Wendling' via Clang Built Linux wrote: > > From: Sami Tolvanen > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > profile, the kernel is instrumented with PGO counters, a representative > workload is run, and the raw profile data

Re: [PATCH v1] trace: Fix race in trace_open and buffer resize call

2021-01-22 Thread Gaurav Kohli
On 1/22/2021 4:29 PM, Greg KH wrote: On Thu, Jan 21, 2021 at 03:37:32PM -0500, Steven Rostedt wrote: On Thu, 21 Jan 2021 23:15:22 +0300 Denis Efremov wrote: On 1/21/21 10:09 PM, Steven Rostedt wrote: On Thu, 21 Jan 2021 17:30:40 +0300 Denis Efremov wrote: Hi, This patch

Re: [PATCH] uacce: Add uacce_ctrl misc device

2021-01-22 Thread Greg Kroah-Hartman
On Fri, Jan 22, 2021 at 07:33:40PM +0800, Zhou Wang wrote: > >> +struct uacce_pin_address { > >> + unsigned long addr; > >> + unsigned long size; > > > > These are not valid ioctl structure members for crossing the user/kernel > > boundry. Please make them work properly (i.e. use __u64 and

Re: [PATCH v4] ovl: fix dentry leak in ovl_get_redirect

2021-01-22 Thread Miklos Szeredi
On Fri, Jan 22, 2021 at 6:59 AM Joseph Qi wrote: > > Hi Miklos, > > Any comments on this patch? Queued for 5.11. Thanks. Miklos

Re: [PATCH] net: macb: ignore tx_clk if MII is used

2021-01-22 Thread Claudiu.Beznea
On 22.01.2021 13:20, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2021-01-22 10:10, schrieb claudiu.bez...@microchip.com: >> On 21.01.2021 11:41, Michael Walle wrote: >>> EXTERNAL EMAIL: Do not click links or open

Re: [PATCH v5 6/6] kasan: Forbid kunit tests when async mode is enabled

2021-01-22 Thread Catalin Marinas
On Thu, Jan 21, 2021 at 06:40:35PM +0100, Andrey Konovalov wrote: > On Thu, Jan 21, 2021 at 5:40 PM Vincenzo Frascino > wrote: > > > > Architectures supported by KASAN_HW_TAGS can provide a sync or async > > mode of execution. KASAN KUNIT tests can be executed only when sync > > mode is enabled.

Re: [PATCH] drm/panfrost: Add governor data with pre-defined thresholds

2021-01-22 Thread Lukasz Luba
On 1/22/21 10:24 AM, Steven Price wrote: On 22/01/2021 10:00, Lukasz Luba wrote: On 1/22/21 8:21 AM, Steven Price wrote: On 21/01/2021 17:04, Lukasz Luba wrote: The simple_ondemand devfreq governor uses two thresholds to decide about the frequency change: upthreshold, downdifferential.

[PATCH next v2 15/17] arm: dts: mt7629: harmonize node names and compatibles

2021-01-22 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2: no changes --- arch/arm/boot/dts/mt7629.dtsi | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi index 5cbb3d244c75..874043f0490d

[PATCH next v2 07/17] dt-bindings: usb: mtk-xhci: add optional assigned clock properties

2021-01-22 Thread Chunfeng Yun
Add optional property "assigned-clock" and "assigned-clock-parents" used by mt7629. Signed-off-by: Chunfeng Yun --- v2: separate compatible out of the patch --- .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml| 8 1 file changed, 8 insertions(+) diff --git

[PATCH next v2 12/17] arm64: dts: mediatek: mt8516: harmonize node names and compatibles

2021-01-22 Thread Chunfeng Yun
This is used to fix dtbs_check warning: harmonize node names and compatibles; add property "usb-role-switch" for connector dependence. Signed-off-by: Chunfeng Yun --- v2: no changes --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 9 +

Re: [PATCH v2 06/11] drm: Use state helper instead of plane state pointer in atomic_check

2021-01-22 Thread Ville Syrjälä
On Thu, Jan 21, 2021 at 05:35:31PM +0100, Maxime Ripard wrote: > Many drivers reference the plane->state pointer in order to get the > current plane state in their atomic_check hook, which would be the old > plane state in the global atomic state since _swap_state hasn't happened > when

Re: [PATCH bpf-next v3 3/3] xsk: build skb by page

2021-01-22 Thread Magnus Karlsson
On Fri, Jan 22, 2021 at 12:57 PM Alexander Lobakin wrote: > > From: Alexander Lobakin > Date: Fri, 22 Jan 2021 11:47:45 + > > > From: Eric Dumazet > > Date: Thu, 21 Jan 2021 16:41:33 +0100 > > > > > On 1/21/21 2:47 PM, Xuan Zhuo wrote: > > > > This patch is used to construct skb based on

Re: [RFC PATCH v0] mm/slub: Let number of online CPUs determine the slub page order

2021-01-22 Thread Vlastimil Babka
On 1/22/21 9:03 AM, Vincent Guittot wrote: > On Thu, 21 Jan 2021 at 19:19, Vlastimil Babka wrote: >> >> On 1/21/21 11:01 AM, Christoph Lameter wrote: >> > On Thu, 21 Jan 2021, Bharata B Rao wrote: >> > >> >> > The problem is that calculate_order() is called a number of times >> >> > before

Re: [PATCH bpf-next v3 3/3] xsk: build skb by page

2021-01-22 Thread Alexander Lobakin
From: Magnus Karlsson Date: Fri, 22 Jan 2021 13:18:47 +0100 > On Fri, Jan 22, 2021 at 12:57 PM Alexander Lobakin wrote: > > > > From: Alexander Lobakin > > Date: Fri, 22 Jan 2021 11:47:45 + > > > > > From: Eric Dumazet > > > Date: Thu, 21 Jan 2021 16:41:33 +0100 > > > > > > > On 1/21/21

[PATCH 0/1] sched/topology: NUMA distance deduplication

2021-01-22 Thread Valentin Schneider
Hi folks, As pointed out by Barry in [1], there are topologies out there that struggle to go through the NUMA distance deduplicating sort. Included patch is something I wrote back when I started untangling this distance > 2 mess. It's only been lightly tested on some array of QEMU-powered

[PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-01-22 Thread Valentin Schneider
The deduplicating sort in sched_init_numa() assumes that the first line in the distance table contains all unique values in the entire table. I've been trying to pen what this exactly means for the topology, but it's not straightforward. For instance, topology.c uses this example: node 0 1

[PATCH] ACPI / device_sysfs: Prefer "compatible" modalias

2021-01-22 Thread Kai-Heng Feng
Commit 8765c5ba1949 ("ACPI / scan: Rework modalias creation when "compatible" is present") may create two "MODALIAS=" in uevent file if conditions are met. This breaks systemd-udevd, which assumes each "key" in uevent file is unique. The internal implementation of systemd-udevd overwrites the

Re: [PATCH v2 1/3] iommu/arm-smmu: Add support for driver IOMMU fault handlers

2021-01-22 Thread Robin Murphy
On 2021-01-22 12:41, Will Deacon wrote: On Tue, Nov 24, 2020 at 12:15:58PM -0700, Jordan Crouse wrote: Call report_iommu_fault() to allow upper-level drivers to register their own fault handlers. Signed-off-by: Jordan Crouse --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 16 +---

Re: [PATCH bpf-next v3 3/3] xsk: build skb by page

2021-01-22 Thread Magnus Karlsson
On Fri, Jan 22, 2021 at 1:39 PM Alexander Lobakin wrote: > > From: Magnus Karlsson > Date: Fri, 22 Jan 2021 13:18:47 +0100 > > > On Fri, Jan 22, 2021 at 12:57 PM Alexander Lobakin wrote: > > > > > > From: Alexander Lobakin > > > Date: Fri, 22 Jan 2021 11:47:45 + > > > > > > > From: Eric

Re: [PATCH v1] gpio: tegra: Fix irq_set_affinity

2021-01-22 Thread Linus Walleij
On Wed, Jan 20, 2021 at 1:46 AM Dmitry Osipenko wrote: > The irq_set_affinity callback should not be set if parent IRQ domain > doesn't present because gpio-tegra driver callback fails in this case, > causing a noisy error messages on system suspend: > > Disabling non-boot CPUs ... > IRQ 26:

[PATCH v4 5/7] Move RLIMIT_MEMLOCK counter to ucounts

2021-01-22 Thread Alexey Gladkov
Signed-off-by: Alexey Gladkov --- fs/hugetlbfs/inode.c | 17 - include/linux/hugetlb.h| 3 +-- include/linux/mm.h | 4 ++-- include/linux/shmem_fs.h | 2 +- include/linux/user_namespace.h | 1 + ipc/shm.c | 31

Re: [RFC PATCH v0] mm/slub: Let number of online CPUs determine the slub page order

2021-01-22 Thread Jann Horn
On Fri, Jan 22, 2021 at 2:05 PM Jann Horn wrote: > On Thu, Jan 21, 2021 at 7:19 PM Vlastimil Babka wrote: > > On 1/21/21 11:01 AM, Christoph Lameter wrote: > > > On Thu, 21 Jan 2021, Bharata B Rao wrote: > > > > > >> > The problem is that calculate_order() is called a number of times > > >> >

Re: [PATCH] ACPI / device_sysfs: Prefer "compatible" modalias

2021-01-22 Thread Greg Kroah-Hartman
On Fri, Jan 22, 2021 at 08:53:02PM +0800, Kai-Heng Feng wrote: > Commit 8765c5ba1949 ("ACPI / scan: Rework modalias creation when > "compatible" is present") may create two "MODALIAS=" in uevent file if > conditions are met. > > This breaks systemd-udevd, which assumes each "key" in uevent file

Re: [PATCH v4] gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by default

2021-01-22 Thread Linus Walleij
On Fri, Jan 22, 2021 at 10:55 AM Andy Shevchenko wrote: > On Fri, Jan 22, 2021 at 12:40 AM Saravana Kannan wrote: > > @@ -596,6 +596,7 @@ int gpiochip_add_data_with_key(struct gpio_chip *gc, > > void *data, > > gdev->dev.of_node = gc->of_node; > > else > >

Re: rcu-torture: Internal error: Oops: 96000006

2021-01-22 Thread Naresh Kamboju
On Fri, 22 Jan 2021 at 03:13, Paul E. McKenney wrote: > > On Thu, Jan 21, 2021 at 09:31:10PM +, Will Deacon wrote: > > On Thu, Jan 21, 2021 at 10:55:21AM -0800, Paul E. McKenney wrote: > > > On Thu, Jan 21, 2021 at 10:37:21PM +0530, Naresh Kamboju wrote: > > > > While running rcu-torture test

<    1   2   3   4   5   6   7   8   9   10   >