Re: coccinelle: api: add kzfree script

2020-06-06 Thread Markus Elfring
> Is avoiding transforming the case where E is not verified to be a pointer a > concern? I imagine that answers to this question have got consequences also on the confidence level for such SmPL scripts. The desire and requirement to specify data type restrictions (for expressions) can influence

Re: [PATCH 5.4 00/38] 5.4.45-rc1 review

2020-06-06 Thread Jon Hunter
On 05/06/2020 15:14, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.45 release. > There are 38 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

Re: [PATCH 5.6 00/43] 5.6.17-rc1 review

2020-06-06 Thread Jon Hunter
On 05/06/2020 15:14, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.6.17 release. > There are 43 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

Re: [PATCH 5.7 00/14] 5.7.1-rc1 review

2020-06-06 Thread Jon Hunter
On 05/06/2020 15:14, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.7.1 release. > There are 14 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

Re: [PATCH 4.19 00/28] 4.19.127-rc1 review

2020-06-06 Thread Jon Hunter
On 05/06/2020 15:15, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.127 release. > There are 28 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

[PATCH 2/3] fs: Introduce cmdline argument exceed_file_max_panic

2020-06-06 Thread Tiezhu Yang
It is important to ensure that files that are opened always get closed. Failing to close files can result in file descriptor leaks. One common answer to this problem is to just raise the limit of open file handles and then restart the server every day or every few hours, this is not a good idea

[PATCH 1/3] fs: Use get_max_files() instead of files_stat.max_files in alloc_empty_file()

2020-06-06 Thread Tiezhu Yang
It is better to use get_max_files() instead of files_stat.max_files to improve readability. Signed-off-by: Tiezhu Yang --- fs/file_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 656647f..26516d0 100644 ---

[PATCH 3/3] docs: admin-guide: Explain cmdline argument exceed_file_max_panic in fs.rst

2020-06-06 Thread Tiezhu Yang
Explain the cmdline argument exceed_file_max_panic in the file Documentation/admin-guide/sysctl/fs.rst Signed-off-by: Tiezhu Yang --- Documentation/admin-guide/sysctl/fs.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/admin-guide/sysctl/fs.rst

Re: slub freelist issue / BUG: unable to handle page fault for address: 000000003ffe0018

2020-06-06 Thread Rafael J. Wysocki
On Fri, Jun 5, 2020 at 5:44 PM Kees Cook wrote: > > On Fri, Jun 05, 2020 at 04:44:51PM +0200, Vegard Nossum wrote: > > On 2020-06-05 16:08, Vlastimil Babka wrote: > > > On 6/5/20 3:12 PM, Rafael J. Wysocki wrote: > > > > On Fri, Jun 5, 2020 at 2:48 PM Vegard Nossum > > > > wrote: > > > > > > >

Re: [RFT][PATCH] ACPI: OSL: Use rwlock instead of RCU for memory management

2020-06-06 Thread Rafael J. Wysocki
On Fri, Jun 5, 2020 at 9:40 PM Andy Shevchenko wrote: > > On Fri, Jun 5, 2020 at 5:11 PM Rafael J. Wysocki wrote: > > ... > > > + if (!refcount) { > > + write_lock_irq(_ioremaps_list_lock); > > + > > + list_del(>list); > > + > > +

KMSAN: uninit-value in slhc_compress (2)

2020-06-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f0d5ec90 kmsan: apply __no_sanitize_memory to dotraplinkag.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=12a3dcca10 kernel config:

Re: [RFT][PATCH] ACPI: OSL: Use rwlock instead of RCU for memory management

2020-06-06 Thread Rafael J. Wysocki
On Fri, Jun 5, 2020 at 7:09 PM Dan Williams wrote: > > On Fri, Jun 5, 2020 at 7:06 AM Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > Subject: [PATCH] ACPI: OSL: Use rwlock instead of RCU for memory management > > > > The ACPI OS layer uses RCU to protect the list of ACPI memory >

Re: [PATCH 2/2][RFC] PM-runtime: add tracepoints to cover all usage_count changes

2020-06-06 Thread Chen Yu
Hi, On Fri, Jun 05, 2020 at 09:33:11PM +0200, Michal Miroslaw wrote: > On Sat, Jun 06, 2020 at 03:05:52AM +0800, Chen Yu wrote: > > Commit d229290689ae ("PM-runtime: add tracepoints for usage_count changes") > > has added some tracepoints to monitor the change of runtime usage, and > > there is

Re: [PATCH] coccinelle: api: add kvfree script

2020-06-06 Thread Markus Elfring
> Check that alloc and free types of functions match each other. Further software development challenges are interesting also for such an use case. > +/// Check that kvmalloc'ed memory is freed by kfree functions, > +/// vmalloc'ed by vfree functions and kvmalloc'ed by kvfree > +/// functions.

[PATCH] tty: serial: cpm_uart: Fix behaviour for non existing GPIOs

2020-06-06 Thread Christophe Leroy
devm_gpiod_get_index() doesn't return NULL but -ENOENT when the requested GPIO doesn't exist, leading to the following messages: [2.742468] gpiod_direction_input: invalid GPIO (errorpointer) [2.748147] can't set direction for gpio #2: -2 [2.753081] gpiod_direction_input: invalid GPIO

Re: [PATCH] coccinelle: api: add kvfree script

2020-06-06 Thread Julia Lawall
> > +E = > > \(kmalloc@kok\|kzalloc@kok\|krealloc@kok\|kcalloc@kok\|kmalloc_node@kok\|kzalloc_node@kok\|kmalloc_array@kok\|kmalloc_array_node@kok\|kcalloc_node@kok\)(...) > > I would prefer an other coding style here. > > * Items for such SmPL disjunctions can be specified also on multiple

Re: [PATCH 2/2] net: dsa: qca8k: introduce SGMII configuration options

2020-06-06 Thread Jonathan McDowell
On Fri, Jun 05, 2020 at 08:38:43PM +0200, Andrew Lunn wrote: > On Fri, Jun 05, 2020 at 07:10:58PM +0100, Jonathan McDowell wrote: > > The QCA8337(N) has an SGMII port which can operate in MAC, PHY or BASE-X > > mode depending on what it's connected to (e.g. CPU vs external PHY or > > SFP). At

Re: Hang on wireless removal..

2020-06-06 Thread Johannes Berg
Hi, sorry for the top post, on my phone. Yes, your analysis is spot on I think. I've got a fix for this in my jberg/mac80211 tree, there's a deadlock with a work struct and the rtnl. Sorry about that. My testing should've caught it, but that exact scenario didn't happen, and lockdep for

Re: kprobes string reading broken on s390

2020-06-06 Thread Christoph Hellwig
On Fri, Jun 05, 2020 at 07:44:33PM +0200, Sven Schnelle wrote: > > Thanks for fixing! > > This report can be a good changelog. > > Please resend it with Fixed tag as Christoph said. > > Which SHA1 should the Fixes tag carry? The one from linux-next? Oh, I thought it had hit mainline already. If

Re: [PATCH] ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table

2020-06-06 Thread Takashi Iwai
On Fri, 05 Jun 2020 19:17:07 +0200, Aaron Plattner wrote: > > Signed-off-by: Aaron Plattner Could you give a bit more information? We have no idea whether they've tested, whether they are already in market, whether any feature changes on those chips or compatible with others, etc. thanks,

Re: [PATCH v3 070/105] drm/vc4: hdmi: rework connectors and encoders

2020-06-06 Thread Stefan Wahren
Hi Maxime, Am 05.06.20 um 16:35 schrieb Maxime Ripard: > Hi Stefan, > > On Wed, Jun 03, 2020 at 07:32:30PM +0200, Stefan Wahren wrote: >> Am 02.06.20 um 17:54 schrieb Maxime Ripard: >>> On Wed, May 27, 2020 at 11:41:24AM -0700, Eric Anholt wrote: On Wed, May 27, 2020 at 8:51 AM Maxime Ripard

Re: [Cocci] [PATCH v2] coccinelle: api: add kzfree script

2020-06-06 Thread Julia Lawall
On Fri, 5 Jun 2020, Denis Efremov wrote: > It looks like a good idea to add type cast, like: > > +// Ignore kzfree definition > +// Ignore kasan test > +@r depends on !patch && !(file in "lib/test_kasan.c") && !(file in > "mm/slab_common.c") forall@ > +expression *E; > +position p; > +type T;

Re: [Cocci] [PATCH 1/2] Coccinelle: extend memdup_user transformation with GFP_USER

2020-06-06 Thread Julia Lawall
On Sat, 30 May 2020, Denis Efremov wrote: > Match GFP_USER allocations with memdup_user.cocci rule. > Commit 6c2c97a24f09 ("memdup_user(): switch to GFP_USER") switched > memdup_user() from GFP_KERNEL to GFP_USER. In most cases it is still > a good idea to use memdup_user() for GFP_KERNEL

Re: [PATCH v5 13/13] perf record: introduce --ctl-fd[-ack] options

2020-06-06 Thread Jiri Olsa
On Fri, Jun 05, 2020 at 05:47:28PM +0300, Alexey Budankov wrote: > > On 05.06.2020 16:57, Jiri Olsa wrote: > > On Fri, Jun 05, 2020 at 04:15:52PM +0300, Alexey Budankov wrote: > >> > >> On 05.06.2020 13:51, Jiri Olsa wrote: > >>> On Tue, Jun 02, 2020 at 04:43:58PM +0300, Adrian Hunter wrote: >

[PATCH] docs/memory-barriers.txt/kokr: smp_mb__{before,after}_atomic(): update Documentation

2020-06-06 Thread SeongJae Park
Translate this commit to Korean: 39323c64b8a9 ("smp_mb__{before,after}_atomic(): update Documentation") Signed-off-by: SeongJae Park Reviewed-by: Yunjae Lee --- .../translations/ko_KR/memory-barriers.txt| 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff

Re: [PATCH 2/2] net: dsa: qca8k: introduce SGMII configuration options

2020-06-06 Thread Russell King - ARM Linux admin
On Sat, Jun 06, 2020 at 08:49:16AM +0100, Jonathan McDowell wrote: > On Fri, Jun 05, 2020 at 08:38:43PM +0200, Andrew Lunn wrote: > > On Fri, Jun 05, 2020 at 07:10:58PM +0100, Jonathan McDowell wrote: > > > The QCA8337(N) has an SGMII port which can operate in MAC, PHY or BASE-X > > > mode

Re: [PATCH RESEND v3 0/6] arm64: add the time namespace support

2020-06-06 Thread Andrei Vagin
On Fri, Jun 05, 2020 at 11:49:04AM +0100, Mark Rutland wrote: > Hi Andrei, > > As a heads up, in mainline the arm64 vdso code has been refactored since > v5.7, and this series will need to be rebased atop. Given we're in the > middle of the merge window, I would suggest waiting until rc1 before >

Re: [GIT PULL] Modules updates for v5.8

2020-06-06 Thread Jessica Yu
+++ Linus Torvalds [05/06/20 13:38 -0700]: On Fri, Jun 5, 2020 at 2:34 AM Jessica Yu wrote: Please pull below to receive modules updates for the v5.8 merge window. Done. Considering the confusion this merge window with the dependencies of trees with each other, can you verify that what I

Can i trust you?

2020-06-06 Thread Mr Suleman Bello
Dear Friend, Please i want you to read this letter very carefully and i must apologize for berging this message into your mail box without any formal introduction due to the urgency and confidential of this issue and i know that this message will come to you as a surprise, Please this is not a

Can i trust you?

2020-06-06 Thread Mr Suleman Bello
Dear Friend, Please i want you to read this letter very carefully and i must apologize for berging this message into your mail box without any formal introduction due to the urgency and confidential of this issue and i know that this message will come to you as a surprise, Please this is not a

Re: [Cocci] [PATCH 2/2] Coccinelle: extend memdup_user rule with vmemdup_user()

2020-06-06 Thread Julia Lawall
On Sat, 30 May 2020, Denis Efremov wrote: > Add vmemdup_user() transformations to the memdup_user.cocci rule. > Commit 50fd2f298bef ("new primitive: vmemdup_user()") introduced > vmemdup_user(). The function uses kvmalloc with GPF_USER flag. > > Signed-off-by: Denis Efremov > --- >

Re: [PATCH] checkpatch: Add test for possible misuse of IS_ENABLED() without CONFIG_

2020-06-06 Thread Joe Perches
Might s well post one that works Interdiff similar to: + if ($sym !~ /^CONFIG_/) { + WARN("IS_ENABLED_CONFIG", + "IS_ENABLED($sym) is normally used as IS_ENABLED(CONFIG_$1)\n" . $herecurr); ++

[no subject]

2020-06-06 Thread george howard
Hallo Mein Name ist George Howard. Ich bin von Beruf Rechtsanwalt. Ich möchte Ihnen anbieten der nächste Verwandte meines Klienten. Sie erben die Summe von (8,5 Millionen US-Dollar) Dollar, die mein Kunde vor seinem Tod auf der Bank gelassen hat. Mein Kunde ist ein Staatsbürger Ihres Landes, der

[PATCH 3/3] irqchip/ti-sci-inta: Fix typo about MODULE_AUTHOR

2020-06-06 Thread Tiezhu Yang
It should be "ti.com" instead of "ticom". Fixes: 9f1463b86c13 ("irqchip/ti-sci-inta: Add support for Interrupt Aggregator driver") Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-ti-sci-inta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: coccinelle: api: add kvfree script

2020-06-06 Thread Markus Elfring
>>> +E = >>> \(kmalloc@kok\|kzalloc@kok\|krealloc@kok\|kcalloc@kok\|kmalloc_node@kok\|kzalloc_node@kok\|kmalloc_array@kok\|kmalloc_array_node@kok\|kcalloc_node@kok\)(...) >> >> I would prefer an other coding style here. >> >> * Items for such SmPL disjunctions can be specified also on

[PATCH 1/3] irqchip/ti-sci-inta: Remove dead code in ti_sci_inta_set_type()

2020-06-06 Thread Tiezhu Yang
In the function ti_sci_inta_set_type(), the statement "return -EINVAL;" out of switch case is dead code, remove it. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-ti-sci-inta.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/irqchip/irq-ti-sci-inta.c

[PATCH 2/3] irqchip/ti-sci-inta: Fix return value about devm_ioremap_resource()

2020-06-06 Thread Tiezhu Yang
When call function devm_ioremap_resource(), we should use IS_ERR() to check the return value and return PTR_ERR() if failed. Fixes: 9f1463b86c13 ("irqchip/ti-sci-inta: Add support for Interrupt Aggregator driver") Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-ti-sci-inta.c | 2 +- 1 file

RE: [kbuild-all] Re: [PATCH 1/3] dma-direct: provide the ability to reserve per-numa CMA

2020-06-06 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Philip Li [mailto:philip...@intel.com] > Sent: Saturday, June 6, 2020 3:47 PM > To: Dan Carpenter > Cc: Song Bao Hua (Barry Song) ; > kbu...@lists.01.org; h...@lst.de; m.szyprow...@samsung.com; > robin.mur...@arm.com; catalin.mari...@arm.com;

Re: [PATCHv9 00/12] PCI: Recode Mobiveil driver and add PCIe Gen4 driver for NXP Layerscape SoCs

2020-06-06 Thread Russell King - ARM Linux admin
On Sat, Jun 06, 2020 at 12:53:43AM +0100, Russell King - ARM Linux admin wrote: > On Sat, Feb 29, 2020 at 11:04:56AM +, Russell King - ARM Linux admin > wrote: > > Adding Ted and Andreas... > > > > Here's the debugfs -n "id" output for dpkg.status.5.gz (which is fine, > > and probably a

Re: WARNING in dev_change_net_namespace

2020-06-06 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1011221210 kernel config:

Mr. Turritopsis Dohrnii Teo En Ming is a Singaporean Targeted Individual

2020-06-06 Thread Turritopsis Dohrnii Teo En Ming
Mr. Turritopsis Dohrnii Teo En Ming is a Singaporean Targeted Individual -BEGIN EMAIL SIGNATURE- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link:

[PATCH V7 0/4] Add APSS clock controller support for IPQ6018

2020-06-06 Thread Sivaprakash Murugesan
The CPU on Qualcomm's IPQ6018 devices are primarily fed by APSS PLL and XO, these are connected to a clock mux and enable block. This patch series adds support for these clocks and inturn enables clocks required for CPU freq. [V7] * Removed dts patch from this series, will send that separately

[PATCH V7 3/4] clk: qcom: Add DT bindings for ipq6018 apss clock controller

2020-06-06 Thread Sivaprakash Murugesan
Add dt-binding for ipq6018 apss clock controller Signed-off-by: Sivaprakash Murugesan --- include/dt-bindings/clock/qcom,apss-ipq.h | 12 1 file changed, 12 insertions(+) create mode 100644 include/dt-bindings/clock/qcom,apss-ipq.h diff --git

[PATCH V7 1/4] dt-bindings: clock: add ipq6018 a53 pll compatible

2020-06-06 Thread Sivaprakash Murugesan
cpus on ipq6018 are clocked by a53 pll, add device compatible for a53 pll found on ipq6018 devices. Signed-off-by: Sivaprakash Murugesan --- [V7] * Addressed minor review comment from Rob .../devicetree/bindings/clock/qcom,a53pll.yaml | 18 ++ 1 file changed, 18

[PATCH V7 2/4] clk: qcom: Add ipq apss pll driver

2020-06-06 Thread Sivaprakash Murugesan
The CPUs on Qualcomm ipq based devices are clocked by an alpha PLL. Add support for the apss pll found on ipq based devices which can support CPU frequencies above 1Ghz. Signed-off-by: Sivaprakash Murugesan --- drivers/clk/qcom/Kconfig| 8 drivers/clk/qcom/Makefile | 1 +

[PATCH V7 4/4] clk: qcom: Add ipq6018 apss clock controller

2020-06-06 Thread Sivaprakash Murugesan
The CPU on Qualcomm ipq6018 devices are clocked primarily by a aplha PLL and xo which are connected to a mux and enable block. Add support for the mux and enable block which feeds the CPU on ipq6018 devices. Reviewed-by: Stephen Boyd Signed-off-by: Sivaprakash Murugesan ---

[PATCH V2 2/3] dt-bindings: mailbox: Add dt-bindings for ipq6018 apcs global block

2020-06-06 Thread Sivaprakash Murugesan
Add dt-bindings for ipq6018 mailbox driver Reviewed-by: Rob Herring Signed-off-by: Sivaprakash Murugesan --- .../bindings/mailbox/qcom,apcs-kpss-global.yaml | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[PATCH V2 0/3] Add ipq6018 apcs mailbox driver

2020-06-06 Thread Sivaprakash Murugesan
The ipq6018 devices has apcs block for ipc interrupts, this block also provides a clock controller which provides cpu clocks. This series adds support for the apcs block found in ipq6018 devices. This series was originally part of ipq6018 apss clock controller series

[PATCH V2 1/3] dt-bindings: mailbox: Add YAML schemas for QCOM APCS global block

2020-06-06 Thread Sivaprakash Murugesan
Qualcomm APCS global block provides a bunch of generic properties which are required in a device tree. Add YAML schema for these properties. Reviewed-by: Rob Herring Signed-off-by: Sivaprakash Murugesan --- .../bindings/mailbox/qcom,apcs-kpss-global.txt | 88 --

[PATCH V2 3/3] mailbox: qcom: Add ipq6018 apcs compatible

2020-06-06 Thread Sivaprakash Murugesan
The Qualcomm ipq6018 has apcs block, add compatible for the same. Also, the apcs provides a clock controller functionality similar to msm8916 but the clock driver is different. Create a child platform device based on the apcs compatible for the clock controller functionality. Signed-off-by:

Re: [PATCH 2/2] net: dsa: qca8k: introduce SGMII configuration options

2020-06-06 Thread Jonathan McDowell
On Sat, Jun 06, 2020 at 09:37:41AM +0100, Russell King - ARM Linux admin wrote: > On Sat, Jun 06, 2020 at 08:49:16AM +0100, Jonathan McDowell wrote: > > On Fri, Jun 05, 2020 at 08:38:43PM +0200, Andrew Lunn wrote: > > > On Fri, Jun 05, 2020 at 07:10:58PM +0100, Jonathan McDowell wrote: > > > > The

Re: coccinelle: api: add kvfree script

2020-06-06 Thread Markus Elfring
>>> +E = >>> \(kmalloc@kok\|kzalloc@kok\|krealloc@kok\|kcalloc@kok\|kmalloc_node@kok\|kzalloc_node@kok\|kmalloc_array@kok\|kmalloc_array_node@kok\|kcalloc_node@kok\)(...) >> >> I would prefer an other coding style here. >> >> * Items for such SmPL disjunctions can be specified also on

Re: coccinelle: api: add kvfree script

2020-06-06 Thread Julia Lawall
On Sat, 6 Jun 2020, Markus Elfring wrote: > >>> +E = > >>> \(kmalloc@kok\|kzalloc@kok\|krealloc@kok\|kcalloc@kok\|kmalloc_node@kok\|kzalloc_node@kok\|kmalloc_array@kok\|kmalloc_array_node@kok\|kcalloc_node@kok\)(...) > >> > >> I would prefer an other coding style here. > >> > >> * Items

Re: coccinelle: api: add kvfree script

2020-06-06 Thread Markus Elfring
> So there are a lot of reasons why constraints are useful. Thanks for such a view. Thus I dare to point the possibility out to consider their application for mentioned function name lists (besides using SmPL disjunctions). Can coding style concerns be resolved in a more constructive way then?

Re: [PATCH v10 4/6] powerpc/papr_scm: Improve error logging and handling papr_scm_ndctl()

2020-06-06 Thread Vaibhav Jain
Hi Ira and Dan, Thanks for reviewing this patch. Have updated the patch based on your feedback to upadate cmd_rc only when the nd_cmd was handled and return '0' in that case. Other errors in case the nd_cmd was unrecognized or invalid result in error returned from this functions as you

答复: [PATCH][v6] KVM: X86: support APERF/MPERF registers

2020-06-06 Thread Li,Rongqing
> -邮件原件- > 发件人: Paolo Bonzini [mailto:pbonz...@redhat.com] > 发送时间: 2020年6月6日 1:22 > 收件人: Jim Mattson > 抄送: Xiaoyao Li ; Li,Rongqing ; > LKML ; kvm list ; the > arch/x86 maintainers ; H . Peter Anvin ; > Borislav Petkov ; Ingo Molnar ; Thomas > Gleixner ; Wanpeng Li ; Vitaly > Kuznetsov

Re: [PATCH v5 1/3] open: add close_range()

2020-06-06 Thread Szabolcs Nagy
* Kyle Evans [2020-06-05 21:54:56 -0500]: > On Fri, Jun 5, 2020 at 9:55 AM Szabolcs Nagy wrote: > > this api needs a documentation patch if there isn't yet. > > > > currently there is no libc interface contract in place that > > says which calls may use libc internal fds e.g. i've seen > > > >

RE: [RFC PATCH 0/5] scsi: ufs: Add Host Performance Booster Support

2020-06-06 Thread Avri Altman
Hi, > > NAND flash memory-based storage devices use Flash Translation Layer (FTL) > to translate logical addresses of I/O requests to corresponding flash > memory addresses. Mobile storage devices typically have RAM with > constrained size, thus lack in memory to keep the whole mapping table. >

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-06 Thread Mark Brown
On Fri, Jun 05, 2020 at 10:07:36PM +0200, Michael Walle wrote: > Am 2020-06-05 12:50, schrieb Mark Brown: > > I have no idea what you are thinking of when you say "simple-regmap" so > > it is difficult to comment. > I guess, Lee is suggesting to be able to create a regmap instance via > device

RE: [RFC PATCH 1/5] scsi: ufs: Add UFS feature related parameter

2020-06-06 Thread Avri Altman
OMETRY_DESC_PARAM_ENM4_CAP_ADJ_FCTR = 0x42, > GEOMETRY_DESC_PARAM_OPT_LOG_BLK_SIZE= 0x44, > + GEOMETRY_DESC_HPB_REGION_SIZE = 0x48, > + GEOMETRY_DESC_HPB_NUMBER_LU = 0x49, > + GEOMETRY_DESC_HPB_SUBREGION_SIZE= 0x4A, > +

Re: [PATCH] PCI: rcar: fix runtime pm imbalance on error

2020-06-06 Thread Marek Vasut
On 5/20/20 10:22 AM, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. Sorry for the late reply. > Signed-off-by: Dinghao Liu > --- >

Re: [PATCH] PCI: rcar: handle the failure case of pm_runtime_get_sync

2020-06-06 Thread Marek Vasut
On 6/5/20 5:23 AM, Navid Emamdoost wrote: > Calling pm_runtime_get_sync increments the counter even in case of > failure, causing incorrect ref count. Call pm_runtime_put if > pm_runtime_get_sync fails. > > Signed-off-by: Navid Emamdoost This looks like a V2 of [PATCH] PCI: rcar: fix runtime pm

[PATCH] x86/mm: Fix -Wmissing-prototypes warning in init.c

2020-06-06 Thread Benjamin Thiel
Fix -Wmissing-prototypes warning by including the respective header containing prototypes: arch/x86/mm/init.c:81:6: warning: no previous prototype for ‘x86_has_pat_wp’ [-Wmissing-prototypes] bool x86_has_pat_wp(void) arch/x86/mm/init.c:86:22: warning: no previous prototype for

Re: [PATCH v3 0/2] Add support for MaxLinear/Exar USB to serial converters

2020-06-06 Thread Manivannan Sadhasivam
Hi Mauro, On Fri, Jun 05, 2020 at 01:13:55PM +0200, Mauro Carvalho Chehab wrote: > Em Fri, 1 May 2020 00:19:22 +0530 > m...@kernel.org escreveu: > > > From: Manivannan Sadhasivam > > > > Hello, > > > > This series adds support for MaxLinear/Exar USB to serial converters. > > This driver only

Re: [PATCH v10 6/6] powerpc/papr_scm: Implement support for PAPR_PDSM_HEALTH

2020-06-06 Thread Vaibhav Jain
Ira Weiny writes: > On Fri, Jun 05, 2020 at 05:11:36AM +0530, Vaibhav Jain wrote: >> This patch implements support for PDSM request 'PAPR_PDSM_HEALTH' >> that returns a newly introduced 'struct nd_papr_pdsm_health' instance >> containing dimm health information back to user space in response to

[PATCH] x86/mm/32: Fix -Wmissing prototypes warnings in init.c

2020-06-06 Thread Benjamin Thiel
Fix: arch/x86/mm/init.c:503:21: warning: no previous prototype for ‘init_memory_mapping’ [-Wmissing-prototypes] unsigned long __ref init_memory_mapping(unsigned long start, arch/x86/mm/init.c:745:13: warning: no previous prototype for ‘poking_init’ [-Wmissing-prototypes] void __init

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-06 Thread Michael Walle
Am 2020-06-06 13:46, schrieb Mark Brown: On Fri, Jun 05, 2020 at 10:07:36PM +0200, Michael Walle wrote: Am 2020-06-05 12:50, schrieb Mark Brown: > I have no idea what you are thinking of when you say "simple-regmap" so > it is difficult to comment. I guess, Lee is suggesting to be able to

Re: [PATCH 0/3] media: uapi: cedrus: Fix decoding interlaced H264 content

2020-06-06 Thread Ezequiel Garcia
Hi Jernej, On Thu, 4 Jun 2020 at 15:55, Jernej Skrabec wrote: > > Currently H264 interlaced content it's not properly decoded on Cedrus. > There are two reasons for this: > 1. slice parameters control doesn't provide enough information > 2. bug in frame list construction in Cedrus driver > > As

Re: [PATCH v3 1/7] mm: Add functions to track page directory modifications

2020-06-06 Thread Catalin Marinas
On Fri, Jun 05, 2020 at 06:01:16PM -0700, Andrew Morton wrote: > On Fri, 5 Jun 2020 12:46:55 +0100 Catalin Marinas > wrote: > > On Fri, Jun 05, 2020 at 11:08:13AM +0100, Catalin Marinas wrote: > > > This patch causes a kernel panic on arm64 (and possibly powerpc, I > > > haven't tried). arm64

Re: [PATCH 1/3] Bluetooth: hci_qca: Only remove TX clock vote after TX is completed

2020-06-06 Thread bgodavar
Hi Matthias, On 2020-06-06 00:16, Matthias Kaehlcke wrote: qca_suspend() removes the vote for the UART TX clock after writing an IBS sleep request to the serial buffer. This is not a good idea since there is no guarantee that the request has been sent at this point. Instead remove the vote

Hello

2020-06-06 Thread Mrs Sandra John
Good afternoon I hope you received my previous email. I would greatly appreciate it if you could review the message and respond within days. Yours sincerely, Mrs Sandra John

Re: [PATCH 2/3] Bluetooth: hci_qca: Skip serdev wait when no transfer is pending

2020-06-06 Thread bgodavar
Hi matthias, On 2020-06-06 00:16, Matthias Kaehlcke wrote: qca_suspend() calls serdev_device_wait_until_sent() regardless of whether a transfer is pending. While it does no active harm since the function should return immediately it makes the code more confusing. Add a flag to track whether a

[PATCH] lib/lz4: smatch warning in LZ4_decompress_generic()

2020-06-06 Thread Vasily Averin
Found by smatch: lib/lz4/lz4_decompress.c:150 LZ4_decompress_generic() warn: maybe use && instead of & It was realy incorrectly copied from https://github.com/lz4/lz4/commit/45f8603aae389d34c689d3ff7427b314071ccd2c line 1431 Fixes: 2209fda323e2 ("lib/lz4: update LZ4 decompressor module")

Re: [PATCH 4.19 00/28] 4.19.127-rc1 review

2020-06-06 Thread Guenter Roeck
On 6/5/20 7:15 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.127 release. > There are 28 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

Re: [PATCH 5.4 00/38] 5.4.45-rc1 review

2020-06-06 Thread Guenter Roeck
On 6/5/20 7:14 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.45 release. > There are 38 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

Re: [PATCH 5.6 00/43] 5.6.17-rc1 review

2020-06-06 Thread Guenter Roeck
On 6/5/20 7:14 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.6.17 release. > There are 43 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

Re: [PATCH 5.7 00/14] 5.7.1-rc1 review

2020-06-06 Thread Guenter Roeck
On 6/5/20 7:14 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.7.1 release. > There are 14 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

Re: [PATCH 2/2] net: dsa: qca8k: introduce SGMII configuration options

2020-06-06 Thread Russell King - ARM Linux admin
On Sat, Jun 06, 2020 at 11:59:09AM +0100, Jonathan McDowell wrote: > So the device in question is a 7 port stand alone switch chip. There's a > single SGMII port which is configurable between port 0 + 6 (they can > also be configure up as RGMII, while the remaining 5 ports have their > own phys).

Re: WARNING in dev_change_net_namespace

2020-06-06 Thread syzbot
syzbot has bisected this bug to: commit 13dc4d836179444f0ca90188cfccd23f9cd9ff05 Author: Will Deacon Date: Tue Apr 21 14:29:18 2020 + arm64: cpufeature: Remove redundant call to id_aa64pfr0_32bit_el0() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=109aa3b110 start

Re: [PATCH 2/2] net: dsa: qca8k: introduce SGMII configuration options

2020-06-06 Thread Andrew Lunn
> > > > Also, netdev is closed at the moment, so please post patches as RFC. > > > > > > "closed"? If you mean this won't get into 5.8 then I wasn't expecting it > > > to, I'm aware the merge window for that is already open. > > > > See

Re: [PATCH] coccinelle: api: add kvfree script

2020-06-06 Thread Markus Elfring
> +@choice@ > +expression E, E1; > +position kok, vok; > +@@ > + > +( > + if (...) { > +... > +E = \(kmalloc@kok\|…\)(...) Further implementation details from this SmPL script caught my software development attention. * Is there a need to add the specification “when any” to the SmPL

Re: [PATCH 2/3] fs: Introduce cmdline argument exceed_file_max_panic

2020-06-06 Thread Matthew Wilcox
On Sat, Jun 06, 2020 at 02:32:19PM +0800, Tiezhu Yang wrote: > It is important to ensure that files that are opened always get closed. > Failing to close files can result in file descriptor leaks. One common > answer to this problem is to just raise the limit of open file handles > and then

Re: [PATCH 08/19] perf ftrace: add option -l/--long-info to show more info

2020-06-06 Thread Changbin Du
On Wed, May 20, 2020 at 06:02:57PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, May 10, 2020 at 11:06:17PM +0800, Changbin Du escreveu: > > Sometimes we want ftrace display more and longer information about trace. > > Humm, -v? Or that would bring too much stuff from other parts of perf? > I

Re: [PATCH 06/19] perf ftrace: add support for trace option sleep-time

2020-06-06 Thread Changbin Du
On Sun, May 31, 2020 at 02:56:41PM +0900, Namhyung Kim wrote: > On Thu, May 21, 2020 at 6:01 AM Arnaldo Carvalho de Melo > wrote: > > > > Em Sun, May 10, 2020 at 11:06:15PM +0800, Changbin Du escreveu: > > > This adds an option '--nosleep-time' which allow us only to measure > > > on-CPU time.

Re: [PATCH] iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver

2020-06-06 Thread Jonathan Cameron
On Tue, 2 Jun 2020 08:06:50 +0200 Ludovic Desroches wrote: > On Sun, May 31, 2020 at 03:40:17PM +0100, Jonathan Cameron wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > On Mon, 25 May 2020 13:27:44 +0300 > > Alexandru Ardelean

[PATCH] x86/xen: Fix a -Wmissing prototypes warning for xen_start_kernel()

2020-06-06 Thread Benjamin Thiel
Fix: arch/x86/xen/enlighten_pv.c:1212:34: warning: no previous prototype for ‘xen_start_kernel’ [-Wmissing-prototypes] asmlinkage __visible void __init xen_start_kernel(void) Add a prototype for xen_start_kernel() in a separate xen-specific header. Signed-off-by: Benjamin Thiel ---

Re: [PATCH 03/19] perf ftrace: select function/function_graph tracer automatically

2020-06-06 Thread Changbin Du
On Sun, May 31, 2020 at 02:52:23PM +0900, Namhyung Kim wrote: > Hello, > > On Mon, May 11, 2020 at 12:07 AM Changbin Du wrote: > > > > The '-g/-G' options have already implied function_graph tracer should be > > used instead of function tracer. So the extra option '--tracer' can be > > killed. >

Re: [PATCH 2/3] fs: Introduce cmdline argument exceed_file_max_panic

2020-06-06 Thread Al Viro
On Sat, Jun 06, 2020 at 02:32:19PM +0800, Tiezhu Yang wrote: > It is important to ensure that files that are opened always get closed. > Failing to close files can result in file descriptor leaks. One common > answer to this problem is to just raise the limit of open file handles > and then

Re: [PATCH v2 01/12] iio: imu: inv_icm42600: add core of new inv_icm42600 driver

2020-06-06 Thread Jonathan Cameron
On Tue, 2 Jun 2020 07:56:49 + Jean-Baptiste Maneyrol wrote: > Hi Jonathan, > > I've given my review tag for the const change of iio_device_get_drvdata(). > Would be perfect to have this cleaned up for the v3. It's in my testing branch now.. > > For vddio regulator you are missing

Re: [PATCH 17/19] perf ftrace: add option -d/--delay to delay tracing

2020-06-06 Thread Changbin Du
On Wed, May 20, 2020 at 06:13:31PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, May 10, 2020 at 11:06:26PM +0800, Changbin Du escreveu: > > This adds an option '-d/--delay' to allow us to start tracing some > > times later after workload is launched. > > [acme@five perf]$ perf record -h delay

Re: [PATCH 16/19] perf ftrace: add option -t/--tid to filter by thread id

2020-06-06 Thread Changbin Du
On Wed, May 20, 2020 at 06:12:28PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, May 10, 2020 at 11:06:25PM +0800, Changbin Du escreveu: > > This allows us to trace single thread instead of the whole process. > > I was going to adjust the patch to add, but you forgot to add the entry > to

Re: [PATCH v2 04/12] iio: imu: inv_icm42600: add gyroscope IIO device

2020-06-06 Thread Jonathan Cameron
On Tue, 2 Jun 2020 09:10:29 + Jean-Baptiste Maneyrol wrote: > Hi Jonathan, > > for the calibration bias, value is expressed in g unit, fixed, > independant from any scale value. So I can switch to g instead of SI > unit, but this will still not be like raw data which are dependent of > the

Re: [PATCH] lib/lz4: smatch warning in LZ4_decompress_generic()

2020-06-06 Thread Gao Xiang
(I'm not sure whether my email was finally sent out since I haven't seen it in lore yet. Resend with my another email...) On Sat, Jun 06, 2020 at 04:28:02PM +0300, Vasily Averin wrote: > Found by smatch: > lib/lz4/lz4_decompress.c:150 LZ4_decompress_generic() warn: maybe use && > instead of & >

Re: [PATCH 15/19] perf ftrace: show trace column header

2020-06-06 Thread Changbin Du
On Wed, May 20, 2020 at 06:11:01PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, May 10, 2020 at 11:06:24PM +0800, Changbin Du escreveu: > > This makes perf-ftrace display column header before printing trace. > > [acme@five perf]$ perf report -h header > > Usage: perf report [] > >

Re: [PATCH] coccinelle: api: add kvfree script

2020-06-06 Thread Julia Lawall
On Sat, 6 Jun 2020, Markus Elfring wrote: > > +@choice@ > > +expression E, E1; > > +position kok, vok; > > +@@ > > + > > +( > > + if (...) { > > +... > > +E = \(kmalloc@kok\|…\)(...) > > Further implementation details from this SmPL script caught my software > development attention. >

[PATCH] mfd: tc3589x: Use devm_request_threaded_irq() to fix the missing undo bug

2020-06-06 Thread Chuhong Yuan
This driver calls request_threaded_irq() in probe, but it misses calling free_irq() in probe's error handler and remove. Replace request_threaded_irq() with the devm version to fix it. Fixes: 20406ebff4a2 ("mfd/tc3589x: rename tc35892 structs/registers to tc359x") Signed-off-by: Chuhong Yuan ---

[PATCH] media: tvp5150: Add missed media_entity_cleanup()

2020-06-06 Thread Chuhong Yuan
This driver does not call media_entity_cleanup() in the error handler of tvp5150_registered() and tvp5150_remove(), while it has called media_entity_pads_init() at first. Add the missed calls to fix it. Fixes: 0556f1d580d4 ("media: tvp5150: add input source selection of_graph support")

[PATCH] serial: mxs-auart: Use devm_ioremap() to fix the missing undo bug

2020-06-06 Thread Chuhong Yuan
This driver calls ioremap() in probe, but it misses calling iounmap() in probe's error handler and remove. Replace ioremap() with the devm version to fix it. Fixes: 47d37d6f94cc ("serial: Add auart driver for i.MX23/28") Signed-off-by: Chuhong Yuan --- drivers/tty/serial/mxs-auart.c | 2 +- 1

Re: [PATCH 14/19] perf ftrace: add option -P/--no-pager to disable pager

2020-06-06 Thread Changbin Du
On Wed, May 20, 2020 at 06:09:14PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, May 10, 2020 at 11:06:23PM +0800, Changbin Du escreveu: > > Sometimes we want perf displays trace immediately. So this adds an option > > '-P/--no-pager' to disable pager if needed. > > > Try: > > perf record

Re: [PATCH 05/19] perf ftrace: add option '-l/--list-functions' to list available functions

2020-06-06 Thread Changbin Du
On Wed, May 20, 2020 at 05:59:40PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, May 10, 2020 at 11:06:14PM +0800, Changbin Du escreveu: > > This adds an option '-l/--list-functions' to list all available functions > > which is read from tracing file 'available_filter_functions'. > > Here, in

  1   2   3   >