Re: [PATCH] sched: Provide USF for the portable equipment.

2020-07-31 Thread Steven Rostedt
On Fri, 31 Jul 2020 20:15:38 +0200 pet...@infradead.org wrote: > On Thu, Jul 30, 2020 at 09:35:43PM +0800, Dongdong Yang wrote: > > diff --git a/kernel/sched/cpufreq_schedutil.c > > b/kernel/sched/cpufreq_schedutil.c > > index 7fbaee2..7bc3429 100644 > > --- a/kernel/sched/cpufreq_schedutil.c >

[PATCH] staging: netlogic: clear alignment style issues

2020-07-31 Thread Tomer Samara
Clear checkpatch alignment style issues in xlr_net.c. CHECK: Alignment should match open parenthesis Signed-off-by: Tomer Samara --- drivers/staging/netlogic/xlr_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/netlogic/xlr_net.c

Re: [PATCH] sched: Provide USF for the portable equipment.

2020-07-31 Thread peterz
On Thu, Jul 30, 2020 at 09:35:43PM +0800, Dongdong Yang wrote: > diff --git a/kernel/sched/cpufreq_schedutil.c > b/kernel/sched/cpufreq_schedutil.c > index 7fbaee2..7bc3429 100644 > --- a/kernel/sched/cpufreq_schedutil.c > +++ b/kernel/sched/cpufreq_schedutil.c > @@ -289,12 +289,21 @@ unsigned

[PATCH v7] drivers: most: add USB adapter driver

2020-07-31 Thread Christian Gromm
This patch adds the USB driver source file most_usb.c and modifies the Makefile and Kconfig accordingly. Signed-off-by: Christian Gromm --- v2: Reported-by: Greg Kroah-Hartman - don't remove usb driver from staging area - don't touch staging/most/Kconfig - remove

[PATCH v7] drivers: most: add USB adapter driver

2020-07-31 Thread Christian Gromm
This patch adds the USB driver source file most_usb.c and modifies the Makefile and Kconfig accordingly. Signed-off-by: Christian Gromm --- v2: Reported-by: Greg Kroah-Hartman - don't remove usb driver from staging area - don't touch staging/most/Kconfig - remove

Re: [PATCH v2] sched: Provide USF for the portable equipment.

2020-07-31 Thread Dietmar Eggemann
On 31/07/2020 14:46, Dongdong Yang wrote: > From: Dongdong Yang [...] > + if (unlikely(usf_vdev.enable_debug)) > + trace_printk > + ("%s: cpu_id=%d non_ux=%d usf_up=%d usf_down=%d util=%lu\n", > + USF_TAG, cpuid, usf_vdev.usf_non_ux, > +

Re: [PATCH v9 08/12] device core: Introduce DMA range map, supplanting dma_pfn_offset

2020-07-31 Thread Rob Herring
On Thu, Jul 30, 2020 at 10:44 AM Jim Quinlan wrote: > > On Wed, Jul 29, 2020 at 10:28 AM Rob Herring wrote: > > > > On Wed, Jul 29, 2020 at 12:19 AM Christoph Hellwig wrote: > > > > > > On Tue, Jul 28, 2020 at 02:24:51PM -0400, Jim Quinlan wrote: > > > > I started using devm_kcalloc() but at

Re: [PATCH v2] sched: Provide USF for the portable equipment.

2020-07-31 Thread Greg KH
On Fri, Jul 31, 2020 at 08:46:30PM +0800, Dongdong Yang wrote: > +static ssize_t store_sched_usf_up_l0_r(struct kobject *kobj, > +struct kobj_attribute *attr, > +const char *buf, size_t count) > +{ > + int val = 0; > +

Re: [PATCH v2] sched: Provide USF for the portable equipment.

2020-07-31 Thread Greg KH
On Fri, Jul 31, 2020 at 08:46:30PM +0800, Dongdong Yang wrote: > --- /dev/null > +++ b/drivers/staging/fbsched/usf.c > @@ -0,0 +1,346 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2020 XiaoMi Inc. > + * Author: Yang Dongdong > + * This program is free software; you can

Re: [PATCH v2] sched: Provide USF for the portable equipment.

2020-07-31 Thread Greg KH
On Fri, Jul 31, 2020 at 08:46:30PM +0800, Dongdong Yang wrote: > drivers/staging/Kconfig | 2 + > drivers/staging/Makefile | 1 + > drivers/staging/fbsched/Kconfig | 10 ++ > drivers/staging/fbsched/Makefile | 2 + > drivers/staging/fbsched/usf.c| 346 >

[PATCH v2] Provide USF for the portable equipment.

2020-07-31 Thread Dongdong Yang
From: Dongdong Yang This patch provides USF(User Sensitive Feedback factor) auxiliary cpufreq governor to support high level layer sysfs inodes setting for utils adjustment purpose from the identified scenario on portable equipment. Because the power consumption and UI response are more cared

[PATCH v2] sched: Provide USF for the portable equipment.

2020-07-31 Thread Dongdong Yang
From: Dongdong Yang The power consumption and UI response are more cared for by the portable equipment users. USF(User Sensitive Feedback factor) auxiliary cpufreq governor is providing more utils adjustment settings to the high level by scenario identification. From the view of portable

Re: [PATCH v7] drivers: most: add USB adapter driver

2020-07-31 Thread Greg KH
On Fri, Jul 31, 2020 at 02:20:58PM +0200, Christian Gromm wrote: > This patch adds the USB driver source file most_usb.c and > modifies the Makefile and Kconfig accordingly. > > Signed-off-by: Christian Gromm > --- > v2: > Reported-by: Greg Kroah-Hartman > - don't remove usb driver from

Re: [PATCH 1/3] usb: gadget: udc: Avoid tasklet passing a global

2020-07-31 Thread Felipe Balbi
Hi, Kees Cook writes: > There's no reason for the tasklet callback to set an argument since it > always uses a global. Instead, use the global directly, in preparation > for converting the tasklet subsystem to modern callback conventions. > > Signed-off-by: Kees Cook looks okay to me.

Re: [PATCH v2] staging: atomisp: move null check to earlier point

2020-07-31 Thread Andy Shevchenko
On Fri, Jul 31, 2020 at 01:17:38AM +0300, Cengiz Can wrote: > `find_gmin_subdev` function that returns a pointer to `struct func() are referred with name followed by parentheses. > gmin_subdev` can return NULL. > In `gmin_v2p8_ctrl` there's a call to this function but the possibility > of a

Re: [PATCH v6] drivers: most: add USB adapter driver

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 02:17:52PM +0200, Christian Gromm wrote: > This patch adds the USB driver source file most_usb.c and > modifies the Makefile and Kconfig accordingly. > > Signed-off-by: Christian Gromm > --- > v2: > Reported-by: Greg Kroah-Hartman > - don't remove usb driver from

Re: [PATCH] sched: Provide USF for the portable equipment.

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 09:35:43PM +0800, Dongdong Yang wrote: > From: Dongdong Yang > > The power consumption and UI response are more cared > for by the portable equipment users. USF(User Sensitive > Feedback factor) auxiliary cpufreq governor is > providing more utils adjustment settings to a

Re: [PATCH] sched: Provide USF for the portable equipment.

2020-07-31 Thread Greg KH
On Thu, Jul 30, 2020 at 09:35:42PM +0800, Dongdong Yang wrote: > From: Dongdong Yang > > This patch provides USF(User Sensitive Feedback factor) > auxiliary cpufreq governor to support high level layer > sysfs inodes setting for utils adjustment purpose from > the identified scenario on portable