Re: [PATCH] net/mlx5: reduce stack usage in qp_read_field

2020-05-02 Thread Leon Romanovsky
On Thu, Apr 30, 2020 at 04:37:14PM +0200, Arnd Bergmann wrote: > On Thu, Apr 30, 2020 at 7:22 AM Leon Romanovsky wrote: > > On Tue, Apr 28, 2020 at 11:23:47PM +0200, Arnd Bergmann wrote: > > > Moving the mlx5_ifc_query_qp_out_bits structure on the stack was a bit > > > excessive and now causes

Re: linux-next: manual merge of the net-next tree with the net tree

2020-05-02 Thread Leon Romanovsky
On Fri, May 01, 2020 at 12:48:36PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c > > between commit: > > 8075411d93b6 ("net/mlx5: DR, On creation set CQ's arm_db

Re: [PATCH 2/2] staging: vt6655: fix LONG_LINE warning

2020-05-02 Thread Joe Perches
On Sun, 2020-05-03 at 00:16 +0200, Matej Dujava wrote: > This patch will fix LONG_LINE error from checkpatch, by createing temporary > variable so call to the function is not in if/else block. [] > diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c [] > @@ -164,16 +164,24

My Dear in the lord

2020-05-02 Thread Mrs. Mina A. Brunel
My Dear in the lord My name is Mrs. Mina A. Brunel I am a Norway Citizen who is living in Burkina Faso, I am married to Mr. Brunel Patrice, a politicians who owns a small gold company in Burkina Faso; He died of Leprosy and Radesyge, in year February 2010, During his lifetime he deposited

[PATCH] perf trace: add default value for opt 'call-graph'

2020-05-02 Thread Changbin Du
The documentation says the default value of call-graph.record_mode is 'fp'. But actually we never can omit value of call-graph parameter. This patch can fix this issue. Meanwhile, this patch adds a short name '-g' for opt 'call-graph' since it's very useful. Signed-off-by: Changbin Du ---

[PATCH v2] scripts: headers_install: Exit with error on config leak

2020-05-02 Thread Siddharth Gupta
Misuse of CONFIG_* in UAPI headers should result in an error as it exposes configuration of different targets to userspace. Signed-off-by: Siddharth Gupta --- scripts/headers_install.sh | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/headers_install.sh

Re: [PATCH] scripts: headers_install: Exit with error on config leak

2020-05-02 Thread Siddharth Gupta
Sure I will make the recommended changes and send a v2 of the patch. Thanks, Siddharth On 5/2/2020 8:03 AM, Masahiro Yamada wrote: On Sat, May 2, 2020 at 6:55 AM Siddharth Gupta wrote: Misuse of CONFIG_* in UAPI headers should result in an error as it exposes configuration of different

Re: [PATCH V1 09/10] arch/kmap: Define kmap_atomic_prot() for all arch's

2020-05-02 Thread Ira Weiny
On Fri, May 01, 2020 at 04:20:20AM +0100, Al Viro wrote: > On Fri, May 01, 2020 at 03:37:34AM +0100, Al Viro wrote: > > On Thu, Apr 30, 2020 at 01:38:44PM -0700, ira.we...@intel.com wrote: > > > > > -static inline void *kmap_atomic(struct page *page) > > > +static inline void

[PATCH] Staging: comedi: drivers: ni_pcimio: Fix variable name

2020-05-02 Thread Eric Yu
Fixed a variable name that was Camel case Signed-off-by: Eric Yu --- drivers/staging/comedi/drivers/ni_pcimio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_pcimio.c b/drivers/staging/comedi/drivers/ni_pcimio.c index

Re: [PATCH v3 2/5] scsi: ufs: add "index" in parameter list of ufshcd_query_flag()

2020-05-02 Thread Can Guo
On 2020-05-01 22:38, Stanley Chu wrote: For preparation of LU Dedicated buffer mode support on WriteBooster feature, "index" parameter shall be added and allowed to be specified by callers. Signed-off-by: Stanley Chu Reviewed-by: Bean Huo Reviewed-by: Can Guo ---

Re: [RESEND PATCH v5 0/3] BQ25150/155 Charger

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, May 01, 2020 at 01:09:13PM -0500, Ricardo Rivera-Matos wrote: > On 5/1/20 12:55 PM, Dan Murphy wrote: > > Sebastian > > > > On 5/1/20 12:24 PM, Sebastian Reichel wrote: > > > Hi, > > > > > > I don't see any PATCHv5 (with or without RESEND) for bq25150 and > > > lore does not see

Re: [PATCH 4/4] power_supply: Add power supply type property to uevent env

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, Apr 24, 2020 at 11:35:33AM -0600, Mathew King wrote: > Add POWER_SUPPLY_TYPE to the uevent env for power supply. Type is a > property of all power supplies and there is a sysfs entry for it but it > is not included in the properties array of the power supply so > explicitly add it to

Re: [PATCH 3/4] power_supply: Add a macro that maps enum properties to text values

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, Apr 24, 2020 at 11:35:32AM -0600, Mathew King wrote: > Reduce the number of touch points to add a new enum property to the > power_supply class by mapping the array of text values to the device > attribute descriptor. A new enum property can now added by creating an > array with the

Re: [PATCH v5 3/3] power: supply: bq25150 introduce the bq25150

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, May 01, 2020 at 12:51:18PM -0500, Dan Murphy wrote: > From: Ricardo Rivera-Matos > > Introduce the bq2515x family of chargers. > > Description: > The BQ2515X family of devices are highly integrated battery management > ICs that integrate the most common functions for wearbale

Re: [PATCH v29 00/20] Intel SGX foundations

2020-05-02 Thread Andy Lutomirski
> On May 2, 2020, at 4:05 PM, Dr. Greg wrote: > > On Thu, Apr 30, 2020 at 06:59:11AM +0300, Jarkko Sakkinen wrote: > > Good afternoon, I hope the weekend is going well for everyone. > >>> On Wed, Apr 29, 2020 at 08:14:59AM -0700, Sean Christopherson wrote: >>> On Wed, Apr 29, 2020 at

Very Urgent!

2020-05-02 Thread Read From Mr Kabiru
Hello Dear Friend, I have Important Matter to Discuss with you concerning my late client died without a Next Of Kin. Send me your private email with your information and kindly indicate your interest by sending me your full data, you will be entitle to 50% 40% for me and 10% to defray all cost,

Re: [PATCH v5 2/3] Add the bindings for the bq25150 and bq25155 500mA charging ICs from Texas Instruments.

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, May 01, 2020 at 12:51:17PM -0500, Dan Murphy wrote: > From: Ricardo Rivera-Matos > > Description: > The BQ2515X family of devices are highly integrated battery management > ICs that integrate the most common functions for wearbale devices > namely a charger, an output voltage rail,

Re: [PATCH v2 0/2] Replace and improve "mcsafe" with copy_safe()

2020-05-02 Thread Andy Lutomirski
On Fri, May 1, 2020 at 7:09 AM Luck, Tony wrote: > > > Now maybe copy_to_user() should *always* work this way, but I’m not > > convinced. > > Certainly put_user() shouldn’t — the result wouldn’t even be well defined. > > And I’m > > unconvinced that it makes much sense for the majority of

Re: [PATCH v5 1/3] power_supply: Add additional health properties to the header

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, May 01, 2020 at 12:51:16PM -0500, Dan Murphy wrote: > Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. > > Tested-by: Guru Das Srinagesh > Signed-off-by: Dan Murphy > --- What is going on? Ricardo wrote, that he added the JEITA spec reference to the commit message.

Re: [PATCH] power: supply: fix memory leaks (v2)

2020-05-02 Thread Sebastian Reichel
Hi, On Sat, May 02, 2020 at 06:33:38PM -0500, wu000...@umn.edu wrote: > From: Qiushi Wu > > In function power_supply_add_hwmon_sysfs(), psyhw->props is > allocated by bitmap_zalloc(). But this pointer is not deallocated > when devm_add_action fail, which lead to a memory leak bug. To fix >

[PATCH v4] streamline_config.pl: add LMC_KEEP to preserve some kconfigs

2020-05-02 Thread Changbin Du
Sometimes it is useful to preserve batches of configs when making localmodconfig. For example, I usually don't want any usb and fs modules to be disabled. Now we can do it by: $ make LMC_KEEP="drivers/usb;fs" localmodconfig Signed-off-by: Changbin Du --- v4: fix typo. v3: rename

Re: [PATCH v3] streamline_config.pl: add LMC_KEEP to preserve some kconfigs

2020-05-02 Thread Changbin Du
On Sat, May 02, 2020 at 08:50:22AM -0700, Randy Dunlap wrote: > On 5/2/20 8:30 AM, Changbin Du wrote: > > Sometimes it is useful to preserve batches of configs when making > > localmodconfig. For example, I usually don't want any usb and fs > > modules to be disabled. Now we can do it by: > > > >

Re: [PATCH v4 2/4] power: supply: core: add input voltage/current measurements

2020-05-02 Thread Sebastian Reichel
Hi, On Sun, May 03, 2020 at 01:11:58AM +0200, Michał Mirosław wrote: > On Sun, May 03, 2020 at 12:45:26AM +0200, Michał Mirosław wrote: > > On Sun, May 03, 2020 at 12:23:49AM +0200, Sebastian Reichel wrote: > > > On Fri, May 01, 2020 at 05:11:18PM +0200, Michał Mirosław wrote: > [...] > > > > ---

[PATCH] MIPS: tools: Move "returns" after "loongson3-llsc-check"

2020-05-02 Thread Tiezhu Yang
Just move "returns" after "loongson3-llsc-check", no function changes. Signed-off-by: Tiezhu Yang --- arch/mips/tools/loongson3-llsc-check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/tools/loongson3-llsc-check.c b/arch/mips/tools/loongson3-llsc-check.c

Re: [RFC PATCH v11 6/9] media: tegra: Add Tegra210 Video input driver

2020-05-02 Thread Sowjanya Komatineni
On 5/2/20 3:46 PM, Sowjanya Komatineni wrote: On 5/2/20 1:48 PM, Dmitry Osipenko wrote: 02.05.2020 19:55, Sowjanya Komatineni пишет: Also stop stream ioctl request happens during suspend where both threads will be stopped properly. done thread stop happens only after finishing all

Re: [PATCH v3 04/19] mm: slub: implement SLUB version of obj_to_index()

2020-05-02 Thread Christopher Lameter
On Thu, 30 Apr 2020, Roman Gushchin wrote: > Sorry, but what exactly do you mean? I think the right approach is to add a pointer to each slab object for memcg support.

Re: [PATCH] net: usb: qmi_wwan: add support for DW5816e

2020-05-02 Thread David Miller
From: Matt Jolly Date: Sun, 3 May 2020 01:52:28 +1000 > Add support for Dell Wireless 5816e to drivers/net/usb/qmi_wwan.c > > Signed-off-by: Matt Jolly Bjørn, please review.

[PATCH] net: ethernet: ti: Remove TI_CPTS_MOD workaround

2020-05-02 Thread Clay McClure
My recent commit b6d49cab44b5 ("net: Make PTP-specific drivers depend on PTP_1588_CLOCK") exposes a missing dependency in defconfigs that select TI_CPTS without selecting PTP_1588_CLOCK, leading to linker errors of the form: drivers/net/ethernet/ti/cpsw.o: in function `cpsw_ndo_stop':

Re: [PATCH] stmmac: fix pointer check after utilization in stmmac_interrupt

2020-05-02 Thread David Miller
From: Maxim Petrov Date: Sat, 2 May 2020 12:29:08 +0300 > The paranoidal pointer check in IRQ handler looks very strange - it > really protects us only against bogus drivers which request IRQ line > with null pointer dev_id. However, the code fragment is incorrect > because the dev pointer is

[PATCH] power: supply: fix memory leaks (v2)

2020-05-02 Thread wu000273
From: Qiushi Wu In function power_supply_add_hwmon_sysfs(), psyhw->props is allocated by bitmap_zalloc(). But this pointer is not deallocated when devm_add_action fail, which lead to a memory leak bug. To fix this, we replace devm_add_action with devm_add_action_or_reset. v2: - Prevent

Re: [PATCH v2 net-next 0/3] ptp: Add adjust phase to support phase offset.

2020-05-02 Thread David Miller
From: Date: Fri, 1 May 2020 23:35:35 -0400 > From: Vincent Cheng > > This series adds adjust phase to the PTP Hardware Clock device interface. > > Some PTP hardware clocks have a write phase mode that has > a built-in hardware filtering capability. The write phase mode > utilizes a phase

Re: [PATCH 4.4 00/70] 4.4.221-rc1 review

2020-05-02 Thread shuah
On 5/1/20 7:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.221 release. There are 70 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v4 4/4] gpio: xilinx: Utilize for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
On Sat, May 02, 2020 at 03:03:54PM -0400, William Breathitt Gray wrote: > On Sun, May 03, 2020 at 12:21:54AM +0530, Syed Nayyar Waris wrote: > > This patch reimplements the xgpio_set_multiple function in > > drivers/gpio/gpio-xilinx.c to use the new for_each_set_clump macro. > > Instead of looping

[PATCH v5 4/4] gpio: xilinx: Utilize for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This patch reimplements the xgpio_set_multiple function in drivers/gpio/gpio-xilinx.c to use the new for_each_set_clump macro. Instead of looping for each bit in xgpio_set_multiple function, now we can check each channel at a time and save cycles. Cc: Linus Walleij Cc: Bartosz Golaszewski Cc:

Re: [PATCH 4.14 000/117] 4.14.178-rc1 review

2020-05-02 Thread shuah
On 5/1/20 7:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.178 release. There are 117 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.9 00/80] 4.9.221-rc1 review

2020-05-02 Thread shuah
On 5/1/20 7:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.221 release. There are 80 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH v5 3/4] gpio: thunderx: Utilize for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This patch reimplements the thunderx_gpio_set_multiple function in drivers/gpio/gpio-thunderx.c to use the new for_each_set_clump macro. Instead of looping for each bank in thunderx_gpio_set_multiple function, now we can skip bank which is not set and save cycles. Cc: Robert Richter Cc: Linus

Re: [PATCH 4.19 00/46] 4.19.120-rc1 review

2020-05-02 Thread shuah
On 5/1/20 7:22 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.120 release. There are 46 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-02 Thread Christopher Lameter
On Fri, 1 May 2020, Rafael Aquini wrote: > Sometimes it is desirable to override SLUB's debug facilities > default behavior upon stumbling on a cache or object error > and just stop the execution in order to grab a coredump, at > the error-spotting time, instead of trying to fix the issue > and

Re: [PATCH 5.4 00/83] 5.4.37-rc1 review

2020-05-02 Thread shuah
On 5/1/20 7:22 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.37 release. There are 83 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 5.6 000/106] 5.6.9-rc1 review

2020-05-02 Thread shuah
On 5/1/20 7:22 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.6.9 release. There are 106 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v4 2/4] power: supply: core: add input voltage/current measurements

2020-05-02 Thread Michał Mirosław
On Sun, May 03, 2020 at 12:45:26AM +0200, Michał Mirosław wrote: > On Sun, May 03, 2020 at 12:23:49AM +0200, Sebastian Reichel wrote: > > On Fri, May 01, 2020 at 05:11:18PM +0200, Michał Mirosław wrote: [...] > > > --- a/include/linux/power_supply.h > > > +++ b/include/linux/power_supply.h > > >

[PATCH v5 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-05-02 Thread Syed Nayyar Waris
The introduction of the generic for_each_set_clump macro need test cases to verify the implementation. This patch adds test cases for scenarios in which clump sizes are 8 bits, 24 bits, 30 bits and 6 bits. The cases contain situations where clump is getting split at the word boundary and also when

[PATCH v5 1/4] bitops: Introduce the the for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This macro iterates for each group of bits (clump) with set bits, within a bitmap memory region. For each iteration, "start" is set to the bit offset of the found clump, while the respective clump value is stored to the location pointed by "clump". Additionally, the bitmap_get_value and

[PATCH v5 0/4] Introduce the for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This patchset introduces a new generic version of for_each_set_clump. The previous version of for_each_set_clump8 used a fixed size 8-bit clump, but the new generic version can work with clump of any size but less than or equal to BITS_PER_LONG. The patchset utilizes the new macro in several

Re: [PATCH v29 00/20] Intel SGX foundations

2020-05-02 Thread Dr. Greg
On Thu, Apr 30, 2020 at 06:59:11AM +0300, Jarkko Sakkinen wrote: Good afternoon, I hope the weekend is going well for everyone. > On Wed, Apr 29, 2020 at 08:14:59AM -0700, Sean Christopherson wrote: > > On Wed, Apr 29, 2020 at 08:23:29AM +0300, Jarkko Sakkinen wrote: > > > On Sun, Apr 26, 2020

Re: [PATCH v3 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline

2020-05-02 Thread Christopher Lameter
On Fri, 1 May 2020, Srikar Dronamraju wrote: > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -116,8 +116,10 @@ EXPORT_SYMBOL(latent_entropy); > */ > nodemask_t node_states[NR_NODE_STATES] __read_mostly = { > [N_POSSIBLE] = NODE_MASK_ALL, > +#ifdef CONFIG_NUMA > + [N_ONLINE] =

Re: [PATCH v2 2/3] media: uapi: Add VP9 stateless decoder controls

2020-05-02 Thread Ezequiel Garcia
+Nicolas On Sat, 2020-05-02 at 20:37 +0200, Boris Brezillon wrote: > On Fri, 01 May 2020 13:57:49 -0300 > Ezequiel Garcia wrote: > > > > > + > > > > +.. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}| > > > > + > > > > +.. flat-table:: enum v4l2_vp9_reset_frame_context > > > > +:header-rows:

Re: [PATCH v3 1/3] powerpc/numa: Set numa_node for all possible cpus

2020-05-02 Thread Christopher Lameter
On Fri, 1 May 2020, Srikar Dronamraju wrote: > - for_each_present_cpu(cpu) > - numa_setup_cpu(cpu); > + for_each_possible_cpu(cpu) { > + /* > + * Powerpc with CONFIG_NUMA always used to have a node 0, > + * even if it was memoryless or

Re: [RFC PATCH v11 6/9] media: tegra: Add Tegra210 Video input driver

2020-05-02 Thread Sowjanya Komatineni
On 5/2/20 1:48 PM, Dmitry Osipenko wrote: 02.05.2020 19:55, Sowjanya Komatineni пишет: Also stop stream ioctl request happens during suspend where both threads will be stopped properly. done thread stop happens only after finishing all outstanding buffers. Do you mean that V4L core takes

Re: [PATCH v4 2/4] power: supply: core: add input voltage/current measurements

2020-05-02 Thread Michał Mirosław
On Sun, May 03, 2020 at 12:23:49AM +0200, Sebastian Reichel wrote: > Hi, > > On Fri, May 01, 2020 at 05:11:18PM +0200, Michał Mirosław wrote: > > Introduce input voltage and current limits and measurements. > > This makes room for e.g. VBUS measurements in USB chargers. > We already have

[PATCH] nfp: abm: fix a memory leak bug

2020-05-02 Thread wu000273
From: Qiushi Wu In function nfp_abm_vnic_set_mac, pointer nsp is allocated by nfp_nsp_open. But when nfp_nsp_has_hwinfo_lookup fail, the pointer is not released, which can lead to a memory leak bug. Fix this issue by adding nfp_nsp_close(nsp) in the error path. Signed-off-by: Qiushi Wu ---

Re: [PATCH] power: supply: fix memory leaks

2020-05-02 Thread Sebastian Reichel
Hi, On Sat, May 02, 2020 at 04:10:56PM -0500, wu000...@umn.edu wrote: > From: Qiushi Wu > > In function power_supply_add_hwmon_sysfs(), psyhw->props is > allocated by bitmap_zalloc(). But this pointer is not deallocated > in several error paths, which lead to memory leak bugs. To fix > this, we

Re: [PATCH v2] dt-bindings: power: Convert power_supply text to yaml

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, May 01, 2020 at 12:29:13PM -0500, Dan Murphy wrote: > Convert the power_supply.txt to power-supply.yaml. > This conversion entailed fixing up the binding to being yaml and dt > checker compliant. > > Added a note in the power_supply.txt to reference the power-supply.yaml > >

Re: [PATCH v4 1/4] power: supply: core: tabularize HWMON temperature labels

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, May 01, 2020 at 05:11:18PM +0200, Michał Mirosław wrote: > Rework power_supply_hwmon_read_string() to check it's parameters. > This allows to extend it later with labels for other types of > measurements. > > Signed-off-by: Michał Mirosław > --- > v2: split from fix temperature

Re: [PATCH v4 2/4] power: supply: core: add input voltage/current measurements

2020-05-02 Thread Sebastian Reichel
Hi, On Fri, May 01, 2020 at 05:11:18PM +0200, Michał Mirosław wrote: > Introduce input voltage and current limits and measurements. > This makes room for e.g. VBUS measurements in USB chargers. We already have properties for charger input voltage/current. Unfortunately the naming is not as

Re: [RFC, WIP, v4 07/11] media: vidtv: add MPEG TS common code

2020-05-02 Thread Daniel W. S. Almeida
Hi Mauro, thanks for reviewing this! > Em Sat, 2 May 2020 00:22:12 -0300 > "Daniel W. S. Almeida" escreveu: > >> From: "Daniel W. S. Almeida" >> >> Add code to work with MPEG TS packets, such as TS headers, adaptation >> fields, PCR packets and NULL packets. >> >> Signed-off-by: Daniel W. S.

[PATCH 1/2] staging: vt6655: return early if not bNeedAck

2020-05-02 Thread Matej Dujava
This patch will check for bNeedAck before making bb_get_frame_time call, so in case we dont need uAckTime, we can return early. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 2/2] staging: vt6655: fix LONG_LINE warning

2020-05-02 Thread Matej Dujava
This patch will fix LONG_LINE error from checkpatch, by createing temporary variable so call to the function is not in if/else block. Signed-off-by: Matej Dujava --- drivers/staging/vt6655/rxtx.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 2/2] drm/panfrost: add devfreq regulator support

2020-05-02 Thread Clément Péron
Hi Steven, On Tue, 14 Apr 2020 at 15:10, Steven Price wrote: > > Hi Clément, > > On 13/04/2020 18:28, Clément Péron wrote: > > Hi Steven, > > > Getting a backtrace from the two occurrences, I see one added from: > >(debugfs_create_dir) from [] (create_regulator+0xe0/0x220) >

Re: [PATCH v23 02/16] leds: multicolor: Introduce a multicolor class definition

2020-05-02 Thread Jacek Anaszewski
Dan, I've converted drivers/leds/leds-an30259a.c to LED mc framework and tested it on Samsung Galaxy S3 (exysnos4412-trats2 board). Works as expected. And now the framework usability is indeed neater. One thing to improve: LED mc based drivers' entries in Kconfig should have this dependency:

Re: [PATCH v23 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-05-02 Thread Jacek Anaszewski
Dan, Thanks for improving the bindings. Now we have one indentation related issue, please look below at the example. On 4/29/20 10:28 PM, Dan Murphy wrote: Add DT bindings for the LEDs multicolor class framework. Add multicolor ID to the color ID list for device tree bindings. CC: Rob Herring

Re: [PATCH 0/2] ALSA: line6: hwdep: add support for poll and non-blocking read

2020-05-02 Thread Vasily Khoruzhick
On Sat, May 2, 2020 at 1:32 PM Takashi Iwai wrote: > > On Sat, 02 May 2020 21:31:18 +0200, > Vasily Khoruzhick wrote: > > > > This series adds support for polling and non-blocking read for hwdep > > interface. This allows apps to listen to HW events without using busy > > loop. > > > > Example of

Re: [RFC, WIP, v4 05/11] media: vidtv: add a bridge driver

2020-05-02 Thread Daniel W. S. Almeida
Hi Mauro, thanks for reviewing this. On 5/2/20 3:30 AM, Mauro Carvalho Chehab wrote: > Em Sat, 2 May 2020 00:22:10 -0300 > "Daniel W. S. Almeida" escreveu: > >> From: "Daniel W. S. Almeida" >> >> Digital TV devices consist of several independent hardware components which >> are controlled

[PATCH] power: supply: fix memory leaks

2020-05-02 Thread wu000273
From: Qiushi Wu In function power_supply_add_hwmon_sysfs(), psyhw->props is allocated by bitmap_zalloc(). But this pointer is not deallocated in several error paths, which lead to memory leak bugs. To fix this, we can call bitmap_free() to free this pointer. Signed-off-by: Qiushi Wu ---

Re: [PATCH 0/7] sha1 library cleanup

2020-05-02 Thread Jason A. Donenfeld
Thanks for this series. I like the general idea. I think it might make sense, though, to separate things out into sha1.h and sha256.h. That will be nice preparation work for when we eventually move obsolete primitives into some subdirectory.

Re: [Patch] mtd:rawnand: brcmnand: Fix PM resume crash

2020-05-02 Thread Florian Fainelli
On 5/2/2020 1:41 PM, Kamal Dasu wrote: > This change fixes crash observed on PM resume. This bug > was introduced in the change made for flash-edu support. > > Fixes: a5d53ad26a8b ("mtd: rawnand: brcmnand: Add support for flash-edu for > dma transfers") > > Signed-off-by: Kamal Dasu

Re: [RFC PATCH v11 6/9] media: tegra: Add Tegra210 Video input driver

2020-05-02 Thread Dmitry Osipenko
02.05.2020 19:55, Sowjanya Komatineni пишет: > Also stop stream ioctl request happens during suspend where both threads > will be stopped properly. done thread stop happens only after finishing > all outstanding buffers. Do you mean that V4L core takes care of stopping the streami on suspend and

[Patch] mtd:rawnand: brcmnand: Fix PM resume crash

2020-05-02 Thread Kamal Dasu
This change fixes crash observed on PM resume. This bug was introduced in the change made for flash-edu support. Fixes: a5d53ad26a8b ("mtd: rawnand: brcmnand: Add support for flash-edu for dma transfers") Signed-off-by: Kamal Dasu --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 3 +-- 1 file

Re: [PATCH 0/2] ALSA: line6: hwdep: add support for poll and non-blocking read

2020-05-02 Thread Takashi Iwai
On Sat, 02 May 2020 21:31:18 +0200, Vasily Khoruzhick wrote: > > This series adds support for polling and non-blocking read for hwdep > interface. This allows apps to listen to HW events without using busy > loop. > > Example of app that uses hwdep interface for POD HD500 can be found > here:

[PATCH] rtc: mc13xxx: fix a double-unlock issue

2020-05-02 Thread wu000273
From: Qiushi Wu In function mc13xxx_rtc_probe, the mc13xxx_unlock() is called before rtc_register_device(). But in the error path of rtc_register_device(), the mc13xxx_unlock() is called again, which causes a double-unlock problem. To fix this problem, we need to call mc13xxx_lock() again in

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-02 Thread H. Nikolaus Schaller
Hi Paul, > Am 26.04.2020 um 15:11 schrieb Paul Cercueil : > > Hi Nikolaus, > > Le ven. 24 avril 2020 à 22:34, H. Nikolaus Schaller a > écrit : >> The Imagination PVR/SGX GPU is part of several SoC from >> multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo, >> Allwinner A83 and

Re: [PATCH] drm/meson: viu: fix setting the OSD burst length in VIU_OSD1_FIFO_CTRL_STAT

2020-05-02 Thread Martin Blumenstingl
Hi Neil, On Tue, Apr 28, 2020 at 10:38 AM Neil Armstrong wrote: [...] > > @@ -444,9 +437,9 @@ void meson_viu_init(struct meson_drm *priv) > > VIU_OSD_FIFO_LIMITS(2); /* fifo_lim: 2*16=32 */ > > > > if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_G12A)) > > -

Re: [PATCH v2 net-next 3/3] ptp: ptp_clockmatrix: Add adjphase() to support PHC write phase mode.

2020-05-02 Thread Richard Cochran
On Fri, May 01, 2020 at 11:35:38PM -0400, vincent.cheng...@renesas.com wrote: > From: Vincent Cheng > > Add idtcm_adjphase() to support PHC write phase mode. > > Signed-off-by: Vincent Cheng Acked-by: Richard Cochran

Re: [PATCH v2 net-next 1/3] ptp: Add adjphase function to support phase offset control.

2020-05-02 Thread Richard Cochran
On Fri, May 01, 2020 at 11:35:36PM -0400, vincent.cheng...@renesas.com wrote: > From: Vincent Cheng > > Adds adjust phase function to take advantage of a PHC > clock's hardware filtering capability that uses phase offset > control word instead of frequency offset control word. > >

Re: [v4] checkpatch: add support to check 'Fixes:' tag format

2020-05-02 Thread Markus Elfring
>> Will the tolerance (and support) grow for such quotation character >> alternatives? > > No. Would you prefer to achieve a restrictive data format description? >> * Which formula do you propose for the length calculation? > > None. I imagine that such a view can increase the probability for

Re: [PATCH v4] checkpatch: add support to check 'Fixes:' tag format

2020-05-02 Thread Joe Perches
On Sat, 2020-05-02 at 21:40 +0200, Markus Elfring wrote: > > The check doesn't support below formats and it will emit diagnostics info > > for them: [] > Will the tolerance (and support) grow for such quotation character > alternatives? No. > Does this information indicate a need to split

[GIT PULL] Power management fixes for v5.7-rc4

2020-05-02 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-5.7-rc4 with top-most commit a53839963ee22470a716de665bca39d2dae63c27 Merge branches 'pm-cpufreq' and 'pm-sleep' on top of commit 6a8b55ed4056ea5559ebe4f6a4b247f627870d4c Linux

[PATCH] media: s5p-mfc: set V4L2_BUF_FLAG_LAST flag on final buffer

2020-05-02 Thread Andriy Gelman
From: Andriy Gelman As per V4L2 api, the final buffer should set V4L2_BUF_FLAG_LAST flag. Signed-off-by: Andriy Gelman --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c

Re: [PATCH v4] checkpatch: add support to check 'Fixes:' tag format

2020-05-02 Thread Markus Elfring
> The check doesn't support below formats and it will emit diagnostics info for > them: … > Fixes: ba35f8588f47 (“ipvlan: Defer multicast / broadcast processing to a > work-queue”) … > Fixes: 03f6fc6de919 ('ASoC: rt5682: Add the soundwire support') Will the tolerance (and support) grow for such

[PATCH 0/2] ALSA: line6: hwdep: add support for poll and non-blocking read

2020-05-02 Thread Vasily Khoruzhick
This series adds support for polling and non-blocking read for hwdep interface. This allows apps to listen to HW events without using busy loop. Example of app that uses hwdep interface for POD HD500 can be found here: https://github.com/anarsoul/line6_hwdep_test Vasily Khoruzhick (2): ALSA:

[PATCH 2/2] ALSA: line6: Add poll callback for hwdep

2020-05-02 Thread Vasily Khoruzhick
At least POD HD500 uses message-based communication, both sides can send messages. Add poll callback so application can wait for device messages without using busy loop. Signed-off-by: Vasily Khoruzhick --- sound/usb/line6/driver.c | 16 1 file changed, 16 insertions(+) diff

[PATCH 1/2] ALSA: line6: hwdep: add support for O_NONBLOCK opening mode

2020-05-02 Thread Vasily Khoruzhick
Currently line6 hwdep interface ignores O_NONBLOCK flag when opening device and it renders it somewhat useless when using poll. Check for O_NONBLOCK flag when opening device and don't block read() if it is set. Signed-off-by: Vasily Khoruzhick --- sound/usb/line6/driver.c | 4

Re: [PATCH] bpf: Tweak BPF jump table optimizations for objtool compatibility

2020-05-02 Thread Josh Poimboeuf
On Fri, May 01, 2020 at 08:06:22PM -0700, Alexei Starovoitov wrote: > On Fri, May 01, 2020 at 02:56:17PM -0500, Josh Poimboeuf wrote: > > On Fri, May 01, 2020 at 12:40:53PM -0700, Alexei Starovoitov wrote: > > > On Fri, May 01, 2020 at 02:22:04PM -0500, Josh Poimboeuf wrote: > > > > On Fri, May

Re: [RFC PATCH v11 6/9] media: tegra: Add Tegra210 Video input driver

2020-05-02 Thread Sowjanya Komatineni
On 5/2/20 10:04 AM, Sowjanya Komatineni wrote: On 5/2/20 9:55 AM, Sowjanya Komatineni wrote: On 5/2/20 9:14 AM, Sowjanya Komatineni wrote: On 5/2/20 9:03 AM, Sowjanya Komatineni wrote: On 5/2/20 8:38 AM, Sowjanya Komatineni wrote: On 5/2/20 8:16 AM, Dmitry Osipenko wrote: 02.05.2020

Re: [PATCH] checkpatch: fix can't check for too long invalid commit id

2020-05-02 Thread Joe Perches
On Sun, 2020-05-03 at 02:50 +0800, Wang YanQing wrote: > The current UNKNOWN_COMMIT_ID doesn't check for 41+ length commit id, > and although GIT_COMMIT_ID will check for 41+ length commit id, but > it willn't warn anything about it due to 41+ length commit will never > be defined. > > This patch

Re: [PATCH v4 4/4] gpio: xilinx: Utilize for_each_set_clump macro

2020-05-02 Thread William Breathitt Gray
On Sun, May 03, 2020 at 12:21:54AM +0530, Syed Nayyar Waris wrote: > This patch reimplements the xgpio_set_multiple function in > drivers/gpio/gpio-xilinx.c to use the new for_each_set_clump macro. > Instead of looping for each bit in xgpio_set_multiple > function, now we can check each channel at

Re: [MPTCP] [PATCH 1/7] mptcp: use SHA256_BLOCK_SIZE, not SHA_MESSAGE_BYTES

2020-05-02 Thread Matthieu Baerts
Hi Eric, On 02/05/2020 20:24, Eric Biggers wrote: From: Eric Biggers In preparation for naming the SHA-1 stuff in properly and moving it to a more appropriate header, fix the HMAC-SHA256 code in mptcp_crypto_hmac_sha() to use SHA256_BLOCK_SIZE instead of "SHA_MESSAGE_BYTES" which is actually

[PATCH] checkpatch: fix can't check for too long invalid commit id

2020-05-02 Thread Wang YanQing
The current UNKNOWN_COMMIT_ID doesn't check for 41+ length commit id, and although GIT_COMMIT_ID will check for 41+ length commit id, but it willn't warn anything about it due to 41+ length commit will never be defined. This patch moves the unknown commit id check for normal commit description to

[PATCH v4] checkpatch: add support to check 'Fixes:' tag format

2020-05-02 Thread Wang YanQing
According to submitting-patches.rst, 'Fixes:' tag has a little stricter condition about the one line summary than normal git commit description: “... Do not split the tag across multiple lines, tags are exempt from the "wrap at 75 columns" rule in order to simplify parsing scripts ...” And there

[PATCH v4 4/4] gpio: xilinx: Utilize for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This patch reimplements the xgpio_set_multiple function in drivers/gpio/gpio-xilinx.c to use the new for_each_set_clump macro. Instead of looping for each bit in xgpio_set_multiple function, now we can check each channel at a time and save cycles. Cc: Linus Walleij Cc: Bartosz Golaszewski Cc:

[PATCH v4 3/4] gpio: thunderx: Utilize for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This patch reimplements the thunderx_gpio_set_multiple function in drivers/gpio/gpio-thunderx.c to use the new for_each_set_clump macro. Instead of looping for each bank in thunderx_gpio_set_multiple function, now we can skip bank which is not set and save cycles. Cc: Robert Richter Cc: Linus

[PATCH v4 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-05-02 Thread Syed Nayyar Waris
The introduction of the generic for_each_set_clump macro need test cases to verify the implementation. This patch adds test cases for scenarios in which clump sizes are 8 bits, 24 bits, 30 bits and 6 bits. The cases contain situations where clump is getting split at the word boundary and also when

[PATCH v4 1/4] bitops: Introduce the the for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This macro iterates for each group of bits (clump) with set bits, within a bitmap memory region. For each iteration, "start" is set to the bit offset of the found clump, while the respective clump value is stored to the location pointed by "clump". Additionally, the bitmap_get_value and

[PATCH v4 0/4] Introduce the for_each_set_clump macro

2020-05-02 Thread Syed Nayyar Waris
This patchset introduces a new generic version of for_each_set_clump. The previous version of for_each_set_clump8 used a fixed size 8-bit clump, but the new generic version can work with clump of any size but less than or equal to BITS_PER_LONG. The patchset utilizes the new macro in several

Re: [GIT PULL]: dmaengine fixes for v5.7-rc4

2020-05-02 Thread pr-tracker-bot
The pull request you sent on Sat, 2 May 2020 16:33:48 +0530: > git://git.infradead.org/users/vkoul/slave-dma.git tags/dmaengine-fix-5.7-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ed6889db63d24600e523ac28fbece33201906611 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Please pull NFS client bugfixes

2020-05-02 Thread pr-tracker-bot
The pull request you sent on Sat, 2 May 2020 13:35:02 +: > git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.7-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/29a47f456d6213a3173722a098a3a18865ea4db3 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] iomap: bug fix for 5.7-rc3

2020-05-02 Thread pr-tracker-bot
The pull request you sent on Sat, 2 May 2020 10:08:01 -0700: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/iomap-5.7-fixes-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f66ed1ebbfde37631fba289f7c399eaa70632abf Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v2 2/3] media: uapi: Add VP9 stateless decoder controls

2020-05-02 Thread Boris Brezillon
On Fri, 01 May 2020 13:57:49 -0300 Ezequiel Garcia wrote: > > > + > > > +.. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}| > > > + > > > +.. flat-table:: enum v4l2_vp9_reset_frame_context > > > +:header-rows: 0 > > > +:stub-columns: 0 > > > +:widths: 1 2 > > > + > > > +* -

[PATCH 0/5] platform/x86: intel-vbtn: Fixes + rework to make it work on more devices

2020-05-02 Thread Hans de Goede
Hi All, Here is a series of fixes, mostly aimed at fixing commit: de9647efeaa9 ("platform/x86: intel-vbtn: Only activate tablet mode switch on 2-in-1's") causing the driver to not bind on some devices where it could and should report SW_TABLET_MODE. The last commit makes the driver also work on

  1   2   3   4   >