Re: [PATCH v4] drm/virtio: Track total GPU memory for virtio driver

2021-01-22 Thread Yiwei Zhang‎
On Thu, Jan 21, 2021 at 9:40 PM Yiwei Zhang wrote: > > On the success of virtio_gpu_object_create, add size of newly allocated > bo to the tracked total_mem. In drm_gem_object_funcs.free, after the gem > bo loses its last refcount, subtract the bo size from the tracked > total_mem if the original

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

2021-01-22 Thread Su
在 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 then 2K. Use regmap_bulk_write instead for compa

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: Add some sysfs debug interfaces for registers r/w

2021-01-22 Thread Su
在 2021/1/22 下午3:22, Marc Kleine-Budde 写道: On 1/22/21 7:22 AM, Su Yanjun wrote: When i debug mcp2518fd, some method to track registers is needed. This easy debug interface will be ok. NACK As the driver uses regmap, everything should be there already. To read use: | cat /sys/kernel/debug/re

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

2021-01-22 Thread Vincent Guittot
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 secondaries CPUs are booted and it returns 1 instead of 22

Re: [PATCH v3 1/4] drm/qxl: use drmm_mode_config_init

2021-01-22 Thread Thomas Zimmermann
Am 20.01.21 um 12:12 schrieb Gerd Hoffmann: Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter Acked-by: Thomas Zimmermann --- drivers/gpu/drm/qxl/qxl_display.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/g

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 is

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 val

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 > > Existing

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 > --- > .../bindings/res

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 b/drive

[PATCH v4] can: mcp251xfd: replace sizeof(u32) with val_bytes in regmap

2021-01-22 Thread Su Yanjun
The sizeof(u32) is hardcoded. It's better to use the config value in regmap. It increases the size of target object, but it's flexible when new mcp chip need other val_bytes. Signed-off-by: Su Yanjun --- drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 9 ++--- 1 file changed, 6 insertions(

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 the

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 b/drivers/

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- >

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

2021-01-22 Thread ricky_wu
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 description for v1 and v2 v4: move version change below --- --- drivers/misc/cardreader/rtsx_pcr

[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 +++ b/drive

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 simpl

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 fr

Re: [PATCH 1/1] s390/vfio-ap: No need to disable IRQ after queue reset

2021-01-22 Thread Christian Borntraeger
On 21.01.21 08:20, Halil Pasic wrote: > From: Tony Krowiak > > The queues assigned to a matrix mediated device are currently reset when: > > * The VFIO_DEVICE_RESET ioctl is invoked > * The mdev fd is closed by userspace (QEMU) > * The mdev is removed from sysfs. > > Immediately after the re

Re: [RFC][PATCH 00/25] Network fs helper library & fscache kiocb API

2021-01-22 Thread Christoph Hellwig
On Thu, Jan 21, 2021 at 06:55:13PM +, David Howells wrote: > > Is it that those "bridging" blocks only show up in certain corner cases > > that users can arrange to avoid? Or that it's OK as long as you use > > certain specific file systems whose behavior goes beyond what's > > technically req

Re: [PATCH net-next] vmxnet3: Remove buf_info from device accessible structures

2021-01-22 Thread Ronak Doshi
On 1/21/21, 5:07 PM, "Jakub Kicinski" wrote: > On Tue, 19 Jan 2021 18:19:40 -0800 Ronak Doshi wrote: > > From: Petr Vandrovec > > > > vmxnet3: Remove buf_info from device accessible structures > >Something happened to the posting, looks like the subject is listed > twice? It got sent

Re: [PATCH v5] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2021-01-22 Thread Christian Borntraeger
On 23.12.20 02:20, Tony Krowiak wrote: > The vfio_ap device driver registers a group notifier with VFIO when the > file descriptor for a VFIO mediated device for a KVM guest is opened to > receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM > event). When the KVM pointer is

Re: [PATCH] mm: Fix potential pte_unmap_unlock pte error

2021-01-22 Thread Miaohe Lin
Hi Andrew: On 2021/1/14 10:51, Miaohe Lin wrote: > Hi: > On 2021/1/11 1:14, Andi Kleen wrote: >> On Sat, Jan 09, 2021 at 03:01:18AM -0500, Miaohe Lin wrote: >>> Since commit 42e4089c7890 ("x86/speculation/l1tf: Disallow non privileged >>> high MMIO PROT_NONE mappings"), when the first pfn modify is

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 descr

Re: [PATCH net-next] net: core: devlink: add new trap action HARD_DROP

2021-01-22 Thread Oleksandr Mazur
From: Ido Schimmel Sent: Thursday, January 21, 2021 2:21 PM To: Oleksandr Mazur Cc: net...@vger.kernel.org ; j...@nvidia.com ; da...@davemloft.net ; linux-kernel@vger.kernel.org ; k...@kernel.org Subject: Re: [PATCH net-next] net: core: devlink: add new trap action HARD_DROP   On Thu, Jan 21

[PATCH] scsi: sd: print write through due to no caching mode page as warning

2021-01-22 Thread Martin Kepplinger
For SD cardreaders it's extremely common not to find cache on disk. The following error messages are thus very common and don't point to a real error one could try to fix but rather describe how the disk works: sd 0:0:0:0: [sda] No Caching mode page found sd 0:0:0:0: [sda] Assuming drive cache: wr

[PATCH v2 net-next] vmxnet3: Remove buf_info from device

2021-01-22 Thread Ronak Doshi
vmxnet3: Remove buf_info from device accessible structures buf_info structures in RX & TX queues are private driver data that do not need to be visible to the device. Although there is physical address and length in the queue descriptor that points to these structures, their layout is not standar

[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(-) diff

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: Ja

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) >

Re: [PATCH V3 0/3] mm/memory_hotplug: Pre-validate the address range with platform

2021-01-22 Thread David Hildenbrand
On 22.01.21 07:04, Anshuman Khandual wrote: > > On 1/20/21 2:07 PM, Anshuman Khandual wrote: >> >> >> On 1/19/21 7:10 PM, Oscar Salvador wrote: >>> On Tue, Jan 19, 2021 at 02:33:03PM +0100, David Hildenbrand wrote: Minor thing, we should make up our mind if we want to call stuff internal

Re: [PATCH v4] can: mcp251xfd: replace sizeof(u32) with val_bytes in regmap

2021-01-22 Thread Marc Kleine-Budde
On Fri, Jan 22, 2021 at 04:13:34PM +0800, Su Yanjun wrote: > The sizeof(u32) is hardcoded. It's better to use the config value in > regmap. > > It increases the size of target object, but it's flexible when new mcp chip > need other val_bytes. > > Signed-off-by: Su Yanjun Applied to linux-can-n

Re: [PATCH net-next] net: core: devlink: add new trap action HARD_DROP

2021-01-22 Thread Oleksandr Mazur
On Thu, 21 Jan 2021 14:21:52 +0200 Ido Schimmel wrote: > On Thu, Jan 21, 2021 at 01:29:37PM +0200, Oleksandr Mazur wrote: > > Add new trap action HARD_DROP, which can be used by the > > drivers to register traps, where it's impossible to get > > packet reported to the devlink subsystem by the devic

[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 th

[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 g

[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" net/bluetooth/hci_req

[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

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 m

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 changed

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. -Danie

[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 example

Re: [PATCH 4/5] Add manpage for fsopen(2) and fsmount(2)

2021-01-22 Thread Michael Kerrisk (man-pages)
Hello David, Ping! Thanks, Michael On Fri, 16 Oct 2020 at 08:50, Michael Kerrisk (man-pages) wrote: > > Hi David, > > Another ping for these five patches please! > > Cheers, > > Michael > > On Fri, 11 Sep 2020 at 14:44, Michael Kerrisk (man-pages) > wrote: > > > > Hi David, > > > > A ping for

Re: [PATCH v4 2/4] mm: simplify parater of function memmap_init_zone()

2021-01-22 Thread David Hildenbrand
On 20.01.21 05:52, Baoquan He wrote: > As David suggested, simply passing 'struct zone *zone' is enough. We can > get all needed information from 'struct zone*' easily. > > Suggested-by: David Hildenbrand > Signed-off-by: Baoquan He > --- > arch/ia64/include/asm/pgtable.h | 3 +-- > arch/ia64/

RE: [PATCH v2 1/3] perf vendor events: Add cache refill and DCZVA events

2021-01-22 Thread nakamura.s...@fujitsu.com
Hi, John, Shaokun > > 在 2021/1/21 18:54, Shunsuke Nakamura 写道: > >> Adds L1 data cache refill prefetch, L2 data cache refill prefetch, > >> and DCZVA instruction events. > > > > A silly question, Does Arm define these events? I checked Arm ARM > > document(DDI0487Fc) that these event numbers are

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

2021-01-22 Thread Takashi Iwai
On Fri, 22 Jan 2021 09:09:08 +0100, Jamie Heilman wrote: > > 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

Re: [PATCH v4 1/4] mm: rename memmap_init() and memmap_init_zone()

2021-01-22 Thread David Hildenbrand
On 20.01.21 05:52, Baoquan He wrote: > The current memmap_init_zone() only handles memory region inside one zone, > actually memmap_init() does the memmap init of one zone. So rename both of > them accordingly. > > Signed-off-by: Baoquan He > --- > arch/ia64/include/asm/pgtable.h | 2 +- > arch/

[PATCH 2/2] dm crypt: support using trusted keys

2021-01-22 Thread Ahmad Fatoum
Commit 27f5411a718c ("dm crypt: support using encrypted keys") extended dm-crypt to allow use of "encrypted" keys along with "user" and "logon". Along the same lines, teach dm-crypt to support "trusted" keys as well. Signed-off-by: Ahmad Fatoum --- Unsure on whether target_type::version is somet

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 accordin

[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

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 > > 'memmap_init_zone'

[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 limi

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 + > .../boot/dts/xili

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 rel

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 > c

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 > STACK_HASH_SIZE

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.

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 anyhow.

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 bet

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 config

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

2021-01-22 Thread David Hildenbrand
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() function. >>> >>> mm/page_alloc.c:6259:23: warning: no previou

Re: [PATCH 1/3] i2c: remove sirf bus driver

2021-01-22 Thread Wolfram Sang
On Wed, Jan 20, 2021 at 02:28:32PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Applied to for-next, thanks! signature.asc Description:

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

2021-01-22 Thread David Hildenbrand
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 > 'memmap_init_zone' [-Wmissing-prototypes] > 6259 | void __meminit __weak memma

[PATCH] net: Simplify the calculation of variables

2021-01-22 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./net/ipv4/esp4_offload.c:288:32-34: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- net/ipv4/esp4_offload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/esp4_offloa

Re: [PATCH] media: pwc: Fix the URB buffer allocation

2021-01-22 Thread Robert Foss
Thanks for the patch, it all looks good to me. Feel free to add my r-b: Reviewed-by: Robert Foss On Thu, 21 Jan 2021 at 21:34, Takashi Iwai wrote: > > The URB buffer allocation of pwc driver involves with the > dma_map_single(), and it needs to pass the right device. Currently it > passes usb_

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() fun

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 Reviewed

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, 18

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

2021-01-22 Thread Takashi Iwai
On Thu, 21 Jan 2021 21:48:12 +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 anyhow. >

Re: [PATCH v3] i2c: ismt: Use dma_set_mask_and_coherent

2021-01-22 Thread Wolfram Sang
On Thu, Dec 03, 2020 at 02:50:52PM +0800, Youling Tang wrote: > 'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by > an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. > > Reported-by: kernel test robot > Signed-off-by: Youling Tang Seth, Neil, are yo

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

2021-01-22 Thread David Hildenbrand
On 22.01.21 09:58, Baoquan He wrote: > 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 belo

[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 reposito

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 bec

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 l

[PATCH] scsi: bfa: remove redundant NULL check

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

[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: [RFC V2 2/2] cpufreq: cppc: Add support for frequency invariance

2021-01-22 Thread Viresh Kumar
On 19-01-21, 19:17, Ionela Voinescu wrote: > Hi, > > Do you know of a current platform that would benefit from this, that we > could run some tests on? Thunderx2 is one. > On Tuesday 15 Dec 2020 at 16:46:36 (+0530), Viresh Kumar wrote: > > @@ -243,7 +256,7 @@ static int cppc_cpufreq_cpu_init(str

[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. ./drivers/scsi/qla2xxx/qla_init.c:791

[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. ./drivers/scsi/qla2xxx/qla_init.c:791

[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: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-22 Thread Dmitry Vyukov
On Fri, Jan 22, 2021 at 4:43 AM Alexey Kardashevskiy wrote: > > Hi! > > Syzkaller found this bug and it has a repro (below). I googled a similar > bug in 2019 which was fixed so this seems new. > > The repro takes about a half a minute to produce the message, "grep > lock-classes /proc/lockdep_st

Re: [PATCH] prctl: allow to setup brk for et_dyn executables

2021-01-22 Thread Kirill Tkhai
CC: Pavel and Alexander On 22.01.2021 01:12, Cyrill Gorcunov wrote: > Keno Fischer reported that when a binray loaded via > ld-linux-x the prctl(PR_SET_MM_MAP) doesn't allow to > setup brk value because it lays before mm:end_data. > > For example a test program shows > > | # ~/t > | > | start

Re: [PATCH] i2c: sprd:: depend on COMMON_CLK to fix compile tests

2021-01-22 Thread Wolfram Sang
On Sun, Jan 17, 2021 at 12:43:13PM +0100, Krzysztof Kozlowski wrote: > The I2C_SPRD uses Common Clock Framework thus it cannot be built on > platforms without it (e.g. compile test on MIPS with LANTIQ): > > /usr/bin/mips-linux-gnu-ld: drivers/i2c/busses/i2c-sprd.o: in function > `sprd_i2c_pro

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 <

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"; A

RE: [PATCH] genirq/msi: Make sure early activation of all PCI MSIs

2021-01-22 Thread Shameerali Kolothum Thodi
Hi Marc, > -Original Message- > From: Marc Zyngier [mailto:m...@kernel.org] > Sent: 21 January 2021 21:25 > To: Shameerali Kolothum Thodi > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > eric.au...@redhat.com; t...@linutronix.de; linux...@openeuler.org; > Zengta

[PATCH] scsi: megaraid_sas: remove redundant NULL check

2021-01-22 Thread Yang Li
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 --- drivers/scsi/megaraid/megaraid_sas_fusion.c | 3 +-- 1 file changed, 1 insertio

[PATCH v2 1/3] watchdog: pcwd: drop always-false if from remove callback

2021-01-22 Thread Uwe Kleine-König
If pcwd_isa_probe() succeeded pcwd_private.io_addr cannot be NULL. (And if pcwd_isa_probe() failed, pcwd_isa_remove() isn't called.) Acked-by: Guenter Roeck Acked-by: William Breathitt Gray Signed-off-by: Uwe Kleine-König --- drivers/watchdog/pcwd.c | 3 --- 1 file changed, 3 deletions(-) dif

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 separate

[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(-) di

[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 > --- > driver

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 fa28d8212ede9c533ae87a737571a9d3b3eeb

Re: [PATCH 0/2] mmc: remove obsolete drivers

2021-01-22 Thread Ulf Hansson
On Wed, 20 Jan 2021 at 15:28, Arnd Bergmann wrote: > > From: Arnd Bergmann > > A few Arm platforms are getting removed in v5.12, this removes > the corresponding mmc drivers. > > Link: > https://lore.kernel.org/linux-arm-kernel/20210120124812.2800027-1-a...@kernel.org/T/ > > > Arnd Bergmann (2):

Re: [PATCH] bfq: don't check active group if bfq.weight is not changed

2021-01-22 Thread Paolo Valente
> Il giorno 14 gen 2021, alle ore 13:24, Yu Kuai ha > scritto: > > Now the group scheduling in BFQ depends on the check of active group, > but in most cases group scheduling is not used and the checking > of active group will cause bfq_asymmetric_scenario() and its caller > bfq_better_to_idle

  1   2   3   4   5   6   7   8   9   10   >