Re: [PATCH v3 1/2] usb: typec: tcpci_maxim: remove redundant assignment

2021-01-25 Thread Heikki Krogerus
On Sun, Jan 24, 2021 at 10:38:53PM +0800, angkery wrote: > From: Junlin Yang > > PTR_ERR(chip->tcpci) has been used as a return value, > it is not necessary to assign it to ret, so remove it. > > Signed-off-by: Junlin Yang Reviewed-by: Heikki Krogerus > --- > v3:remove the newline

Re: [PATCH v4 0/5] Next revision of the L1D flush patches

2021-01-25 Thread Singh, Balbir
On Fri, 2021-01-08 at 23:10 +1100, Balbir Singh wrote: > Implement a mechanism that allows tasks to conditionally flush > their L1D cache (mitigation mechanism suggested in [2]). The previous > posts of these patches were sent for inclusion (see [3]) and were not > included due to the concern for

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

2021-01-25 Thread David Hildenbrand
On 25.01.21 03:58, Anshuman Khandual wrote: > This series adds a mechanism allowing platforms to weigh in and prevalidate > incoming address range before proceeding further with the memory hotplug. > This helps prevent potential platform errors for the given address range, > down the hotplug call

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

2021-01-25 Thread Maxime Ripard
Hi Ville, On Fri, Jan 22, 2021 at 02:07:22PM +0200, Ville Syrjälä wrote: > 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

Re: [PATCH v2] sched/fair: check for idle core

2021-01-25 Thread Vincent Guittot
On Mon, 25 Jan 2021 at 10:20, Julia Lawall wrote: > > > > On Mon, 25 Jan 2021, Mel Gorman wrote: > > > On Sun, Jan 24, 2021 at 09:38:14PM +0100, Julia Lawall wrote: > > > > > > > > > On Tue, 27 Oct 2020, Mel Gorman wrote: > > > > > > > On Thu, Oct 22, 2020 at 03:15:50PM +0200, Julia Lawall wrote:

Re: [PATCH] mm/memory_hotplug: Rename all existing 'memhp' into 'mhp'

2021-01-25 Thread Greg Kroah-Hartman
On Mon, Jan 25, 2021 at 02:21:02PM +0530, Anshuman Khandual wrote: > > > On 1/25/21 1:56 PM, Greg Kroah-Hartman wrote: > > On Mon, Jan 25, 2021 at 11:24:53AM +0530, Anshuman Khandual wrote: > >> This renames all 'memhp' instances to 'mhp' except for memhp_default_state > >> for being a kernel

[RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Zhou Wang
Uacce driver supports to use devices in user space safely by SVA. However, IO page fault may happen when doing DMA operations, which will affect DMA performance severely. For some accelerators which need stable performance, it is better to avoid IO page fault totally. Current memory related APIs,

hppa64-linux-ld: kernel/sched/core.o(.text+0x25b8): cannot reach should_fail_usercopy

2021-01-25 Thread kernel test robot
-20210125 (attached as .config) compiler: hppa64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git

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

2021-01-25 Thread David Hildenbrand
On 25.01.21 03:58, Anshuman Khandual wrote: > This introduces mhp_range_allowed() which can be called in various memory > hotplug paths to prevalidate the address range which is being added, with > the platform. Then mhp_range_allowed() calls mhp_get_pluggable_range() > which provides applicable

Re: [PATCH v2] fbtft: add tearing signal detect

2021-01-25 Thread Greg KH
On Mon, Jan 25, 2021 at 04:44:12PM +0800, Carlis wrote: > From: "carlis.zhang_cp" I need a "real" name here, and in the signed-off-by: area as I do not think you sign documents with a "." and "_", right? thanks, greg k-h

Re: [PATCH] mm/memory_hotplug: Rename all existing 'memhp' into 'mhp'

2021-01-25 Thread Greg Kroah-Hartman
On Mon, Jan 25, 2021 at 11:24:53AM +0530, Anshuman Khandual wrote: > This renames all 'memhp' instances to 'mhp' except for memhp_default_state > for being a kernel command line option. This is just a clean up and should > not cause a functional change. THat says _what_ you are doing, but I have

Re: [PATCH] printk: rectify kernel-doc for prb_rec_init_wr()

2021-01-25 Thread John Ogness
On 2021-01-25, Lukas Bulwahn wrote: > The command 'find ./kernel/printk/ | xargs ./scripts/kernel-doc -none' > reported a mismatch with the kernel-doc of prb_rec_init_wr(). > > Rectify the kernel-doc, such that no issues remain for ./kernel/printk/. > > Signed-off-by: Lukas Bulwahn Reviewed-by:

[PATCH v2] fbtft: add tearing signal detect

2021-01-25 Thread Carlis
From: "carlis.zhang_cp" For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: carlis.zhang_cp --- v2:add release te gpio after irq request fail --- drivers/staging/fbtft/fb_st7789v.c | 134 - drivers/staging/fbtft/fbtft.h |

Re: [PATCH v3] kdb: Make memory allocations more robust

2021-01-25 Thread Daniel Thompson
On Fri, Jan 22, 2021 at 09:25:44AM -0800, Doug Anderson wrote: > Hi, > > On Fri, Jan 22, 2021 at 3:06 AM Sumit Garg wrote: > > > > Currently kdb uses in_interrupt() to determine whether its library > > code has been called from the kgdb trap handler or from a saner calling > > context such as

Re: [PATCH] mm/memory_hotplug: Rename all existing 'memhp' into 'mhp'

2021-01-25 Thread Anshuman Khandual
On 1/25/21 1:56 PM, Greg Kroah-Hartman wrote: > On Mon, Jan 25, 2021 at 11:24:53AM +0530, Anshuman Khandual wrote: >> This renames all 'memhp' instances to 'mhp' except for memhp_default_state >> for being a kernel command line option. This is just a clean up and should >> not cause a

[PATCH v2 2/3] soc: qcom: rpmh: Add rpmh_write_sleep_and_wake() function

2021-01-25 Thread Maulik Shah
Let RPMH clients call rpmh_write_sleep_and_wake() to immediately write cached sleep and wake data to the TCSes. Signed-off-by: Maulik Shah --- (no changes since v1) --- drivers/soc/qcom/rpmh.c | 16 include/soc/qcom/rpmh.h | 5 + 2 files changed, 21 insertions(+) diff

Re: [PATCH 3/3] blk-mq: Use llist_head for blk_cpu_done

2021-01-25 Thread Christoph Hellwig
> +static void blk_mq_complete_send_ipi(struct request *rq) > +{ > + struct llist_head *list; > + unsigned int cpu; > + > + cpu = rq->mq_ctx->cpu; > + list = _cpu(blk_cpu_done, cpu); > + if (llist_add(>ipi_list, list)) { > + INIT_CSD(>csd,

Re: [PATCH 3/3] blk-mq: Use llist_head for blk_cpu_done

2021-01-25 Thread Christoph Hellwig
On Mon, Jan 25, 2021 at 09:32:04AM +0100, Sebastian Andrzej Siewior wrote: > On 2021-01-25 08:30:12 [+], Christoph Hellwig wrote: > > > +static void blk_mq_complete_send_ipi(struct request *rq) > > > +{ > > > + struct llist_head *list; > > > + unsigned int cpu; > > > + > > > + cpu =

Re: [PATCH v2 6/6] of/device: Don't NULLify match table in of_match_device() with CONFIG_OF=n

2021-01-25 Thread Geert Uytterhoeven
On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd wrote: > This effectively reverts 1db73ae39a97 ("of/device: Nullify match table > in of_match_device() for CONFIG_OF=n") because that commit makes it more > surprising to users of this API that the arguments may never be > referenced by any code. This

Re: [PATCH v2 1/6] media: renesas-ceu: Use of_device_get_match_data()

2021-01-25 Thread Geert Uytterhoeven
On Sat, Jan 23, 2021 at 4:44 AM Stephen Boyd wrote: > This driver can use the replacement API instead of calling > of_match_device() and then dereferencing the pointer that is returned. > This nicely avoids referencing the match table when it is undefined with > configurations where CONFIG_OF=n.

Re: [workqueue] d5bff968ea: WARNING:at_kernel/workqueue.c:#process_one_work

2021-01-25 Thread Xing Zhengjun
On 1/22/2021 3:59 PM, Hillf Danton wrote: On Fri, 22 Jan 2021 09:48:32 +0800 Xing Zhengjun wrote: On 1/21/2021 12:00 PM, Hillf Danton wrote: On Wed, 20 Jan 2021 21:46:33 +0800 Oliver Sang wrote: On Fri, Jan 15, 2021 at 03:24:32PM +0800, Hillf Danton wrote: Thu, 14 Jan 2021 15:45:11 +0800

Re: [PATCH 2/3] memory: mtk-smi: Add module_exit and module_license

2021-01-25 Thread Krzysztof Kozlowski
On Mon, Jan 25, 2021 at 02:49:41PM +0800, Yong Wu wrote: > On Fri, 2021-01-22 at 22:34 +0100, Krzysztof Kozlowski wrote: > > On Thu, Jan 21, 2021 at 02:24:28PM +0800, Yong Wu wrote: > > > The config MTK_SMI always depends on MTK_IOMMU which is built-in > > > currently. Thus we don't have

Re: [PATCH v10 05/12] mm: HUGE_VMAP arch support cleanup

2021-01-25 Thread Christophe Leroy
Le 24/01/2021 à 09:22, Nicholas Piggin a écrit : This changes the awkward approach where architectures provide init functions to determine which levels they can provide large mappings for, to one where the arch is queried for each call. This removes code and indirection, and allows

Re: [PATCH 1/3] iommu/vt-d: Add rate limited information when PRQ overflows

2021-01-25 Thread Lu Baolu
Hi Kevin, On 2021/1/25 16:16, Tian, Kevin wrote: From: Lu Baolu Sent: Monday, January 25, 2021 2:29 PM Hi Kevin, On 2021/1/22 14:38, Tian, Kevin wrote: From: Lu Baolu Sent: Thursday, January 21, 2021 9:45 AM So that the uses could get chances to know what happened. Suggested-by: Ashok

Re: [PATCH 2/3] blk-mq: Always complete remote completions requests in softirq

2021-01-25 Thread Hannes Reinecke
On 1/23/21 9:10 PM, Sebastian Andrzej Siewior wrote: Controllers with multiple queues have their IRQ-handelers pinned to a CPU. The core shouldn't need to complete the request on a remote CPU. Remove this case and always raise the softirq to complete the request. Signed-off-by: Sebastian

Re: [PATCH bpf-next v2] samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build warnings

2021-01-25 Thread Yonghong Song
On 1/24/21 9:05 PM, Tiezhu Yang wrote: There exists many build warnings when make M=samples/bpf on the Loongson platform, this issue is MIPS related, x86 compiles just fine. Here are some warnings: CC samples/bpf/ibumad_user.o samples/bpf/ibumad_user.c: In function ‘dump_counts’:

RE: [EXT] Re: [PATCH v2 RFC net-next 08/18] net: mvpp2: add FCA periodic timer configurations

2021-01-25 Thread Stefan Chulski
> > > > > > > > > -- On Sun, Jan 24, 2021 at 01:43:57PM +0200, stef...@marvell.com > > > wrote: > > > > +/* Set Flow Control timer x140 faster than pause quanta to ensure > > > > +that link > > > > + * partner won't send taffic

RE: [EXT] Re: [PATCH v2 RFC net-next 04/18] net: mvpp2: add PPv23 version definition

2021-01-25 Thread Stefan Chulski
> > We cannot access PPv2 register space before enabling clocks(done in > mvpp2_probe) , PP21 and PP22/23 have different sets of clocks. > > > So diff between PP21 and PP22/23 should be stored in device tree(in > > of_device_id), with MVPP22 and MVPP21 stored as .data > > Hi Stefan > > As far

RE: [EXT] Re: [PATCH v2 RFC net-next 03/18] net: mvpp2: add CM3 SRAM memory map

2021-01-25 Thread Stefan Chulski
> > #include > > #include > > #include > > +#include > > #include > > #include > > #include > > @@ -91,6 +92,18 @@ static inline u32 mvpp2_cpu_to_thread(struct > mvpp2 *priv, int cpu) > > return cpu % priv->nthreads; > > } > > > > +static inline > > +void mvpp2_cm3_write(struct

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

2021-01-25 Thread Magnus Karlsson
On Mon, Jan 25, 2021 at 3:27 AM Xuan Zhuo wrote: > > On Fri, 22 Jan 2021 19:37:06 +0100, Magnus Karlsson > wrote: > > On Fri, Jan 22, 2021 at 6:26 PM Alexander Lobakin wrote: > > > > > > From: Xuan Zhuo > > > Date: Fri, 22 Jan 2021 23:39:15 +0800 > > > > > > > On Fri, 22 Jan 2021 13:55:14

[PATCH] KVM: PPC: Book3S: Assign boolean values to a bool variable

2021-01-25 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./arch/powerpc/kvm/book3s_hv_rm_xics.c:381:3-15: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- arch/powerpc/kvm/book3s_hv_rm_xics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] net/mlx5: Assign boolean values to a bool variable

2021-01-25 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:575:2-14: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH v6 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-25 Thread Mike Looijmans
See below Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this

[BUG] copy_file_range with sysfs file as input

2021-01-25 Thread Nicolas Boichat
Hi copy_file_range experts, We hit this interesting issue when upgrading Go compiler from 1.13 to 1.15 [1]. Basically we use Go's `io.Copy` to copy the content of `/sys/kernel/debug/tracing/trace` to a temporary file. Under the hood, Go now uses `copy_file_range` syscall to optimize the copy

<    7   8   9   10   11   12