[PATCH v4 04/12] perf expr: allow ',' to be an other token

2020-05-01 Thread Ian Rogers
Corrects parse errors in expr__find_other of expressions with min. Signed-off-by: Ian Rogers --- tools/perf/util/expr.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/expr.y b/tools/perf/util/expr.y index cd17486c1c5d..54260094b947 100644 ---

[PATCH v4 02/12] perf metrics: fix parse errors in cascade lake metrics

2020-05-01 Thread Ian Rogers
Remove over escaping with \\. Remove extraneous if 1 if 0 == 1 else 0 else 0. Fixes: fd5500989c8f (perf vendor events intel: Update metrics from TMAM 3.5) Signed-off-by: Ian Rogers --- .../pmu-events/arch/x86/cascadelakex/clx-metrics.json | 10 +- 1 file changed, 5 insertions(+), 5

Re: [PATCH v4 04/10] loop: Refactor loop_set_status() size calculation

2020-05-01 Thread Christoph Hellwig
For some reason this fails to apply for me against both Jens' for-5.8/block and Linus' current tree. What is the baseline for this series?

Re: [RFC][PATCH] x86/ftrace: Have ftrace trampolines turn read-only at the end of system boot up

2020-05-01 Thread Peter Zijlstra
On Fri, May 01, 2020 at 12:19:16PM -0400, Steven Rostedt wrote: > > Peter, what about you? It's all a bit unfortunate, but yeah, seems reasonable. Ack.

Re: [PATCH v4 03/10] loop: Switch to set_capacity_revalidate_and_notify()

2020-05-01 Thread Christoph Hellwig
On Wed, Apr 29, 2020 at 04:03:34PM +0200, Martijn Coenen wrote: > This was recently added to block/genhd.c, and takes care of both > updating the capacity and notifying userspace of the new size. > > Signed-off-by: Martijn Coenen Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH v4 01/10] loop: Factor out loop size validation

2020-05-01 Thread Christoph Hellwig
On Wed, Apr 29, 2020 at 10:12:29PM +0800, Ming Lei wrote: > > +static int > > +loop_validate_size(loff_t size) > > +{ > > + if ((loff_t)(sector_t)size != size) > > + return -EFBIG; > > + > > + return 0; > > +} > > + > > Now sector_t has been switched to u64 unconditionally, do we

Re: Remaining randconfig objtool warnings, linux-next-20200428

2020-05-01 Thread Peter Zijlstra
On Fri, May 01, 2020 at 07:21:31PM +0200, Arnd Bergmann wrote: > On Thu, Apr 30, 2020 at 4:05 PM Arnd Bergmann wrote: > it gets into undefined behavior and stops emitting code after the call to > Do we consider this expected behavior on gcc's side, or is it something > that should not happen and

Re: [PATCH v4 02/10] loop: Factor out setting loop device size

2020-05-01 Thread Christoph Hellwig
On Wed, Apr 29, 2020 at 04:03:33PM +0200, Martijn Coenen wrote: > This code is used repeatedly. > > Signed-off-by: Martijn Coenen > --- > drivers/block/loop.c | 31 ++- > 1 file changed, 22 insertions(+), 9 deletions(-) Looks good: Reviewed-by: Christoph Hellwig

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

2020-05-01 Thread Sebastian Reichel
Hi, I don't see any PATCHv5 (with or without RESEND) for bq25150 and lore does not see anything either: https://lore.kernel.org/linux-pm/?q=PATCH+v5+0%2F3%5D+BQ25150%2F155+Charger -- Sebastian On Tue, Mar 24, 2020 at 10:14:20AM -0500, Ricardo Rivera-Matos wrote: > bump > > On 3/4/20 11:40 AM,

Re: Remaining randconfig objtool warnings, linux-next-20200428

2020-05-01 Thread Arnd Bergmann
On Thu, Apr 30, 2020 at 4:05 PM Arnd Bergmann wrote: > On Tue, Apr 28, 2020 at 4:49 PM Arnd Bergmann wrote: > drivers/media/dvb-frontends/rtl2832_sdr.o: warning: objtool: .text.unlikely: > unexpected end of section > drivers/media/dvb-frontends/rtl2832_sdr.o: warning: objtool: >

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-01 Thread David Hildenbrand
On 01.05.20 18:56, Dan Williams wrote: > On Fri, May 1, 2020 at 2:34 AM David Hildenbrand wrote: >> >> On 01.05.20 00:24, Andrew Morton wrote: >>> On Thu, 30 Apr 2020 20:43:39 +0200 David Hildenbrand >>> wrote: >>> > > Why does the firmware map support hotplug entries? I

Re: [PATCH V1 00/10] Remove duplicated kmap code

2020-05-01 Thread Ira Weiny
On Fri, May 01, 2020 at 01:54:56AM -0700, Christoph Hellwig wrote: > In addition to the work already it the series, it seems like > LAST_PKMAP_MASK, PKMAP_ADDR and PKMAP_NR can also be consolidated > to common code. Agreed, I mentioned in the cover letter there are similarities... > > Also

[PATCH v2] eventfd: convert to f_op->read_iter()

2020-05-01 Thread Jens Axboe
eventfd is using ->read() as it's file_operations read handler, but this prevents passing in information about whether a given IO operation is blocking or not. We can only use the file flags for that. To support async (-EAGAIN/poll based) retries for io_uring, we need ->read_iter() support.

Re: [PATCH v3 0/2] PCI/ERR: Allow Native AER/DPC using _OSC

2020-05-01 Thread Bjorn Helgaas
On Thu, Apr 30, 2020 at 12:46:07PM -0600, Jon Derrick wrote: > Hi Bjorn & Kuppuswamy, > > I see a problem in the DPC ECN [1] to _OSC in that it doesn't give us a way to > determine if firmware supports _OSC DPC negotation, and therefore how to > handle > DPC. > > Here is the wording of the ECN

Re: Remaining randconfig objtool warnings, linux-next-20200428

2020-05-01 Thread Peter Zijlstra
On Fri, May 01, 2020 at 01:41:30PM +0200, Arnd Bergmann wrote: > disappears, and it also goes away if I disable inlining that function: Yes, makes sense. The state objtool tracks is strictly per function. And I suppose GCC-10 just changed around the inline heuristc a bit and we got lucky. > ---

Re: [PATCH] arm64: perf_event: Fix time_offset for arch timer

2020-05-01 Thread Will Deacon
On Sat, May 02, 2020 at 12:10:50AM +0800, Leo Yan wrote: > On Fri, May 01, 2020 at 04:26:09PM +0100, Will Deacon wrote: > > [...] > > > > > > Let me try and understand your particular problem better. > > > > > > > > I think the long and short of it is that userspace needs a way to > > > >

Re: [RFC v3 0/3] Fix errors when try to build kvm selftests on specified output

2020-05-01 Thread shuah
On 3/28/20 2:51 AM, Xiaoyao Li wrote: On 3/28/2020 12:03 AM, shuah wrote: On 3/27/20 7:31 AM, Xiaoyao Li wrote: On 3/27/2020 4:57 AM, shuah wrote: On 3/25/20 9:07 PM, Xiaoyao Li wrote: The patches you sent are based on running the command with OUTPUT set. The issues are also there when I

Re: [PATCH RFC v2 08/11] net: stmmac: dwmac-meson8b: add support for the RX delay configuration

2020-05-01 Thread Martin Blumenstingl
Hi Andrew, On Fri, May 1, 2020 at 5:44 PM Andrew Lunn wrote: > > > + if (rx_dly_config & PRG_ETH0_ADJ_ENABLE) { > > + /* The timing adjustment logic is driven by a separate clock > > */ > > + ret = meson8b_devm_clk_prepare_enable(dwmac, > > +

Re: [PATCH v4 12/19] docs: pci: endpoint/function/binding/pci-test.txt convert to ReST

2020-05-01 Thread Bjorn Helgaas
On Thu, Apr 30, 2020 at 06:18:26PM +0200, Mauro Carvalho Chehab wrote: > Convert this file to ReST by adding a proper title to it and > use the right markups for a table. > > While here, add a SPDX header. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Bjorn Helgaas > --- >

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

2020-05-01 Thread Dan Murphy
Sebastian On 5/1/20 11:58 AM, Sebastian Reichel wrote: Hi, On Thu, Apr 30, 2020 at 10:18:41AM -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. Looks mostly good to me, thanks for

Re: [PATCH v3 00/11] Multiple fixes in PCIe qcom driver

2020-05-01 Thread Bjorn Helgaas
On Fri, May 01, 2020 at 12:06:07AM +0200, Ansuel Smith wrote: > This contains multiple fix for PCIe qcom driver. > Some optional reset and clocks were missing. > Fix a problem with no PARF programming that cause kernel lock on load. > Add support to force gen 1 speed if needed. (due to hardware

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

2020-05-01 Thread Steven Rostedt
On Fri, 1 May 2020 10:37:08 +0800 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: > > $ make LOCALMODCONFIG_PRESERVE="drivers/usb;fs"

Re: [PATCH -next] cpupower: Remove unneeded semicolon

2020-05-01 Thread shuah
Hi Zou Wei, On 4/28/20 3:43 AM, Zou Wei wrote: Fixes coccicheck warnings: I am not finding these in my coccicheck run. Can you send me the options you are using? tools/power/cpupower/utils/cpupower-info.c:65:2-3: Unneeded semicolon tools/power/cpupower/utils/cpupower-set.c:75:2-3: Unneeded

[PATCH] staging: wilc1000: Increase the size of wid_list array

2020-05-01 Thread Oscar Carter
Increase by one the size of wid_list array as index variable can reach a value of 5. If this happens, an out-of-bounds access is performed. Addresses-Coverity-ID: 1451981 ("Out-of-bounds access") Fixes: c5c77ba18ea66 ("staging: wilc1000: Add SDIO/SPI 802.11 driver") Signed-off-by: Oscar Carter

re: e1000: Add support for the CE4100 reference platform

2020-05-01 Thread Colin Ian King
Hi, Static analysis with Coverity has detected an issue with setting the speed control on the e1000 driver. This was introduced back in 2011 with the following commit: commit 5377a4160bb65ee4dd11b4b1d081d86d56d92bff Author: Dirk Brandewie Date: Thu Jan 6 14:29:54 2011 + e1000: Add

WARNING: refcount bug in crypto_mod_get

2020-05-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:6a8b55ed Linux 5.7-rc3 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11b9156410 kernel config: https://syzkaller.appspot.com/x/.config?x=5b075813ec8b93cd dashboard link:

Re: [v2 linux-next PATCH 2/2] mm: khugepaged: don't have to put being freed page back to lru

2020-05-01 Thread Yang Shi
On 5/1/20 12:04 AM, Kirill A. Shutemov wrote: On Fri, May 01, 2020 at 04:41:19AM +0800, Yang Shi wrote: When khugepaged successfully isolated and copied data from old page to collapsed THP, the old page is about to be freed if its last mapcount is gone. So putting the page back to lru

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

2020-05-01 Thread Ezequiel Garcia
Hi Hans, Thanks a lot for your review, I'm preparing a new version. On Thu, 2020-04-16 at 13:47 +0200, Hans Verkuil wrote: > On 10/04/2020 13:51, Ezequiel Garcia wrote: > > From: Boris Brezillon > > > > Add the VP9 stateless decoder controls plus the documentation that goes > > with it. > > >

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

2020-05-01 Thread Sebastian Reichel
Hi, On Thu, Apr 30, 2020 at 10:18:41AM -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. Looks mostly good to me, thanks for taking care of it. > Added a note in the

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-01 Thread Dan Williams
On Fri, May 1, 2020 at 2:34 AM David Hildenbrand wrote: > > On 01.05.20 00:24, Andrew Morton wrote: > > On Thu, 30 Apr 2020 20:43:39 +0200 David Hildenbrand > > wrote: > > > >>> > >>> Why does the firmware map support hotplug entries? > >> > >> I assume: > >> > >> The firmware memmap was added

Re: linux-next: Fixes tag needs some work in the hid tree

2020-05-01 Thread Jason Gerecke
My apologies. I copied the wrong commit SHA when generating this commit. Commit cd47de45b855 is the reference to this commit in our input-wacom tree, not upstream. The correct Fixes tag should indeed be: Fixes: 912c6aa67ad4 ("HID: wacom: Add 2nd gen Intuos Pro Small support") Thanks, Jason ---

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

2020-05-01 Thread Markus Elfring
> I am not sure whether I get your words, you mean we need to emit warning > for incomplete title line format? For example: > Fixes: 277f27e2f277 ("SUNRPC/cache: Allow garbage collection ... ") I suggest to increase the precision for the usage the ellipsis at the end. * Triple ASCII dots *

Re: [PATCH v3 5/6] blktrace: break out of blktrace setup on concurrent calls

2020-05-01 Thread Greg KH
On Fri, May 01, 2020 at 03:06:26PM +, Luis Chamberlain wrote: > On Wed, Apr 29, 2020 at 11:49:37AM +0200, Greg KH wrote: > > On Wed, Apr 29, 2020 at 07:46:26AM +, Luis Chamberlain wrote: > > > diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c > > > index

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

2020-05-01 Thread Randy Dunlap
On 4/30/20 7:37 PM, 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: > > $ make LOCALMODCONFIG_PRESERVE="drivers/usb;fs" localmodconfig > >

Re: [PATCH] dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion

2020-05-01 Thread Mark Brown
On Fri, 1 May 2020 15:35:34 +0200, Krzysztof Kozlowski wrote: > The required supplies in bindings were actually not matching > implementation making the bindings incorrect and misleading. The Linux > kernel driver requires all supplies to be present. Also for wlf,wm8994 > uses just DBVDD-supply

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

2020-05-01 Thread Joe Perches
On Sat, 2020-05-02 at 00:34 +0800, Wang YanQing wrote: > On Fri, May 01, 2020 at 08:57:42AM -0700, Joe Perches wrote: > > On Fri, 2020-05-01 at 23:40 +0800, Wang YanQing wrote: > > > According to submitting-patches.rst, 'Fixes:' tag has a little > > > stricter condition about the one line summary

Re: [PATCH 5/5] arm/arm64: smccc: Add ARCH_SOC_ID support

2020-05-01 Thread John Garry
On 01/05/2020 17:05, Sudeep Holla wrote: On Fri, May 01, 2020 at 04:25:27PM +0100, John Garry wrote: On 30/04/2020 12:48, Sudeep Holla wrote: +static int __init smccc_soc_init(void) +{ + struct device *dev; + int ret, soc_id_rev; + struct arm_smccc_res res; + static

Re: [PATCH 4/4 v2] firmware: stratix10-svc: Slightly simplify code

2020-05-01 Thread Richard Gong
Hi, On 5/1/20 10:48 AM, Christophe JAILLET wrote: Le 01/05/2020 à 17:40, Richard Gong a écrit : Hi, On 4/29/20 1:52 AM, Christophe JAILLET wrote: Replace 'devm_kmalloc_array(... | __GFP_ZERO)' with the equivalent and shorter 'devm_kcalloc(...)'. It doesn't make much sense. Actually

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

2020-05-01 Thread Wang YanQing
On Fri, May 01, 2020 at 08:57:42AM -0700, Joe Perches wrote: > On Fri, 2020-05-01 at 23:40 +0800, Wang YanQing wrote: > > According to submitting-patches.rst, 'Fixes:' tag has a little > > stricter condition about the one line summary than normal git > > commit description: > > “... > > Do not

[tip:master] BUILD SUCCESS a71b0152cb71f999906f950665640124fa5243df

2020-05-01 Thread kbuild test robot
randconfig-a001-20200501 xtensa randconfig-a001-20200501 sh randconfig-a001-20200501 openrisc randconfig-a001-20200501 csky randconfig-a001-20200501 s390 randconfig-a001-20200430 xtensa randconfig-a001

Re: [PATCH v2 1/1] fs/splice: add missing callback for inaccessible pages

2020-05-01 Thread Dave Hansen
On 5/1/20 12:18 AM, Christian Borntraeger wrote: >> unlock_page(); >> get_page(); >> // ^ OK because I have a ref >> // do DMA on inaccessible page >> >> Because the make_secure_pte() code isn't looking for a *specific* >> 'expected' value, it

[PATCH v2] KVM: nVMX: Skip IBPB when switching between vmcs01 and vmcs02

2020-05-01 Thread Sean Christopherson
Skip the Indirect Branch Prediction Barrier that is triggered on a VMCS switch when running with spectre_v2_user=on/auto if the switch is between two VMCSes in the same guest, i.e. between vmcs01 and vmcs02. The IBPB is intended to prevent one guest from attacking another, which is unnecessary in

Re: [PATCH 2/3] selftests/ftrace: Pick only the first kprobe event to test

2020-05-01 Thread Shuah Khan
On 5/1/20 10:20 AM, Steven Rostedt wrote: On Fri, 1 May 2020 09:38:59 -0600 shuah wrote: On 5/1/20 8:17 AM, Steven Rostedt wrote: On Fri, 1 May 2020 22:37:51 +0900 Masami Hiramatsu wrote: Since the kprobe/kprobe_args_type.tc reads out all event logs from the trace buffer, the test can

[PATCH] remoteproc: wcss: add support for rpmsg communication

2020-05-01 Thread Sivaprakash Murugesan
add glink and ssr subdevices for wcss rproc to enable rpmsg communication. Signed-off-by: Sivaprakash Murugesan --- drivers/remoteproc/qcom_q6v5_wcss.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_wcss.c b/drivers/remoteproc/qcom_q6v5_wcss.c index

Re: [PATCH 1/4] counter: Internalize sysfs interface code (fwd)

2020-05-01 Thread Julia Lawall
Hello, Normally, the argument of kfree should not start with &. julia -- Forwarded message -- Date: Fri, 1 May 2020 06:07:26 +0800 From: kbuild test robot To: kbu...@lists.01.org Cc: l...@intel.com, Julia Lawall Subject: Re: [PATCH 1/4] counter: Internalize sysfs interface

Re: [PATCH ghak25 v4 3/3] audit: add subj creds to NETFILTER_CFG record to cover async unregister

2020-05-01 Thread Paul Moore
On Wed, Apr 29, 2020 at 5:33 PM Richard Guy Briggs wrote: > On 2020-04-29 14:47, Steve Grubb wrote: > > On Wednesday, April 29, 2020 10:31:46 AM EDT Richard Guy Briggs wrote: > > > On 2020-04-28 18:25, Paul Moore wrote: > > > > On Wed, Apr 22, 2020 at 5:40 PM Richard Guy Briggs > > wrote: > > >

[PATCH] PCI: endpoint: functions/pci-epf-test: Enable picking DMA channel by name

2020-05-01 Thread Alan Mikhak
From: Alan Mikhak Modify pci_epf_test_init_dma_chan() to call dma_request_channel() with a filter function to pick DMA channel by name, if desired. Add a new filter function pci_epf_test_pick_dma_chan() which takes a name string as an optional parameter. If desired name is specified, the filter

Re: [PATCH 2/3] selftests/ftrace: Pick only the first kprobe event to test

2020-05-01 Thread Steven Rostedt
On Fri, 1 May 2020 09:38:59 -0600 shuah wrote: > On 5/1/20 8:17 AM, Steven Rostedt wrote: > > On Fri, 1 May 2020 22:37:51 +0900 > > Masami Hiramatsu wrote: > > > >> Since the kprobe/kprobe_args_type.tc reads out all event logs > >> from the trace buffer, the test can fail if there is

Re: [RFC][PATCH] x86/ftrace: Have ftrace trampolines turn read-only at the end of system boot up

2020-05-01 Thread Steven Rostedt
On Fri, 1 May 2020 10:13:10 -0500 Josh Poimboeuf wrote: > On Fri, May 01, 2020 at 09:24:04AM -0400, Steven Rostedt wrote: > > On Fri, 1 May 2020 00:17:06 -0500 > > Josh Poimboeuf wrote: > > > > > > Would it be easier to just call a new __text_poke_bp() which skips the > > > > SYSTEM_BOOTING

[PATCH] arm64: cacheflush: Fix KGDB trap detection

2020-05-01 Thread Daniel Thompson
flush_icache_range() contains a bodge to avoid issuing IPIs when the kgdb trap handler is running because issuing IPIs is unsafe (and unnecessary) in this exection context. However the current test is flawed: it both over-matches (could skip the IPI when the kgdb trap is not running) and

Re: [GIT PULL] SELinux fixes for v5.7 (#2)

2020-05-01 Thread Paul Moore
On Thu, Apr 30, 2020 at 7:43 PM Linus Torvalds wrote: > On Thu, Apr 30, 2020 at 2:24 PM Paul Moore wrote: > > > > Two more SELinux patches to fix problems in the v5.7-rcX releases. > > Wei Yongjun's patch fixes a return code in an error path, and my patch > > fixes a problem where we were not

Re: [PATCH 04/14] docs: move IPMI.txt to the driver API book

2020-05-01 Thread Corey Minyard
On Fri, May 01, 2020 at 05:37:48PM +0200, Mauro Carvalho Chehab wrote: > The IPMI is under drivers/char. This doc describes the kAPI > part of the IPMI (mainly). > > So, move it to the driver-api directory and add it to the > corresponding index.rst file. > > Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH] kunit: Kconfig: enable a KUNIT_RUN_ALL fragment

2020-05-01 Thread Anders Roxell
On Fri, 1 May 2020 at 11:57, Marco Elver wrote: > > On Fri, 1 May 2020 at 10:35, Anders Roxell wrote: > > > > Make it easier to enable all KUnit fragments. This is needed for kernel > > test-systems, so its easy to get all KUnit tests enabled and if new gets > > added they will be enabled as

Re: [PATCH v2 2/6] sched/deadline: Optimize dl_bw_cpus()

2020-05-01 Thread Dietmar Eggemann
On 30/04/2020 12:55, Pavan Kondeti wrote: > On Mon, Apr 27, 2020 at 10:37:05AM +0200, Dietmar Eggemann wrote: [..] >> diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c >> index 504d2f51b0d6..4ae22bfc37ae 100644 >> --- a/kernel/sched/deadline.c >> +++ b/kernel/sched/deadline.c >> @@

Re: [PATCH v2 5/6] sched/deadline: Make DL capacity-aware

2020-05-01 Thread Dietmar Eggemann
On 30/04/2020 15:10, Pavan Kondeti wrote: > On Mon, Apr 27, 2020 at 10:37:08AM +0200, Dietmar Eggemann wrote: >> From: Luca Abeni [...] >> @@ -1653,10 +1654,19 @@ select_task_rq_dl(struct task_struct *p, int cpu, >> int sd_flag, int flags) >> * other hand, if it has a shorter deadline,

Re: [PATCH v2 6/6] sched/deadline: Implement fallback mechanism for !fit case

2020-05-01 Thread Dietmar Eggemann
On 30/04/2020 13:00, Pavan Kondeti wrote: > On Wed, Apr 29, 2020 at 07:39:50PM +0200, Dietmar Eggemann wrote: >> On 27/04/2020 16:17, luca abeni wrote: [...] >>> On Mon, 27 Apr 2020 15:34:38 +0200 >>> Juri Lelli wrote: [...] On 27/04/20 10:37, Dietmar Eggemann wrote: > From: Luca

Re: [PATCH v2] ARM: dts: zynq: Fix ethernet PHY for v5 schematics

2020-05-01 Thread Matwey V. Kornilov
Hi Anton, I hope you are doing good. Could you please check this patch, since you are initial author of zynq-zturn.dts and I suppose you do have the "v4" board variant to test. вт, 28 апр. 2020 г. в 13:04, Matwey V. Kornilov : > > There are at least two different versions existing for MYIR

Re: [PATCH] arm64: perf_event: Fix time_offset for arch timer

2020-05-01 Thread Leo Yan
On Fri, May 01, 2020 at 04:26:09PM +0100, Will Deacon wrote: [...] > > > > Let me try and understand your particular problem better. > > > > > > I think the long and short of it is that userspace needs a way to convert > > > the raw counter cycles into a ns value that can be compared against

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

2020-05-01 Thread Markus Elfring
> The check supports below formats: I suggest to omit the concrete examples. I would prefer the explicit wording for the support of (Unicode) ellipses also in the shown commit titles. Will the document “submitting-patches.rst” need a corresponding adjustment? > The check doesn't support below

Re: [PATCH 5/5] arm/arm64: smccc: Add ARCH_SOC_ID support

2020-05-01 Thread Sudeep Holla
On Fri, May 01, 2020 at 04:25:27PM +0100, John Garry wrote: > On 30/04/2020 12:48, Sudeep Holla wrote: > > +static int __init smccc_soc_init(void) > > +{ > > + struct device *dev; > > + int ret, soc_id_rev; > > + struct arm_smccc_res res; > > + static char soc_id_str[8],

[PATCH 3/4] kthreads: allow multiple kthreadd's

2020-05-01 Thread J. Bruce Fields
From: "J. Bruce Fields" Allow subsystems to run their own kthreadd's. I'm experimenting with this to allow nfsd to put its threads into its own thread group to make it easy for the vfs to tell when nfsd is breaking one of its own leases. Signed-off-by: J. Bruce Fields ---

[PATCH 4/4] kthreads: allow cloning threads with different flags

2020-05-01 Thread J. Bruce Fields
From: "J. Bruce Fields" This is so knfsd can add CLONE_THREAD. Signed-off-by: J. Bruce Fields --- include/linux/kthread.h | 3 ++- kernel/kthread.c| 11 +++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/include/linux/kthread.h b/include/linux/kthread.h index

[PATCH 2/4] kthreads: Simplify tsk_fork_get_node

2020-05-01 Thread J. Bruce Fields
From: "J. Bruce Fields" This will also simplify a following patch that allows multiple kthreadd's. Signed-off-by: J. Bruce Fields --- init/init_task.c | 3 +++ kernel/fork.c| 4 kernel/kthread.c | 3 +-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/init/init_task.c

[PATCH 0/4] allow multiple kthreadd's

2020-05-01 Thread J. Bruce Fields
From: "J. Bruce Fields" These patches allow a caller to create its own kthreadd. The motivation is file delegations: currently any write operation from a client breaks all delegations, even delegations held by the same client. To fix that, we need to know which client is performing a given

[PATCH 1/4] kthreads: minor kthreadd refactoring

2020-05-01 Thread J. Bruce Fields
From: "J. Bruce Fields" Trivial refactoring, no change in behavior. Not really necessary, a separate function for the inner loop just seems a little nicer to me. Signed-off-by: J. Bruce Fields --- kernel/kthread.c | 33 +++-- 1 file changed, 19 insertions(+), 14

[PATCH] mmc/core:fix mmc_sd_hw_reset oops mmc_sd_hw_reset function may be oops if the ejection of sd and the reset of sd simultaneously occur

2020-05-01 Thread yanxiaoyong5
Signed-off-by: yanxiaoyong5 --- drivers/mmc/core/sd.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index fe914ff..73a1e68 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -1247,8 +1247,13 @@ static int

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

2020-05-01 Thread Joe Perches
On Fri, 2020-05-01 at 23:40 +0800, Wang YanQing wrote: > 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

Re: [PATCH v8 4/7] perf/tools: Enhance JSON/metric infrastructure to handle "?"

2020-05-01 Thread Ian Rogers
On Wed, Apr 1, 2020 at 1:35 PM Kajol Jain wrote: > > Patch enhances current metric infrastructure to handle "?" in the metric > expression. The "?" can be use for parameters whose value not known while > creating metric events and which can be replace later at runtime to > the proper value. It

Re: [PATCH 5/5] arm/arm64: smccc: Add ARCH_SOC_ID support

2020-05-01 Thread Sudeep Holla
Hi Steve, Thanks for taking a reviewing these patches. On Fri, May 01, 2020 at 04:07:39PM +0100, Steven Price wrote: > On 30/04/2020 12:48, Sudeep Holla wrote: > > SMCCC v1.2 adds a new optional function SMCCC_ARCH_SOC_ID to obtain a > > SiP defined SoC identification value. Add support for the

Re: [PATCH 0/2] Add support for StorageD3Enable _DSD property

2020-05-01 Thread David E. Box
On Fri, 2020-05-01 at 15:12 +0200, h...@lst.de wrote: > On Wed, Apr 29, 2020 at 09:11:13AM -0700, David E. Box wrote: > > Not drop completely. This patch copied the code used to read _DSD > > properties under PCI root ports. But I agree that such properties > > should apply to all devices on those

Re: [PATCH v2 2/4] PCI: cadence: Use "dma-ranges" instead of "cdns,no-bar-match-nbits" property

2020-05-01 Thread Robin Murphy
On 2020-05-01 3:46 pm, Lorenzo Pieralisi wrote: [+Robin - to check on dma-ranges intepretation] I would need RobH and Robin to review this. Also, An ACK from Tom is required - for the whole series. On Fri, Apr 17, 2020 at 05:13:20PM +0530, Kishon Vijay Abraham I wrote: Cadence PCIe core

Re: [PATCH net-next v4 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-01 Thread Michal Kubecek
On Fri, May 01, 2020 at 09:46:32AM +0200, Oleksij Rempel wrote: > This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of > auto-negotiation support, we needed to be able to configure the > MASTER-SLAVE role of the port manually or from an application in user > space. > > The same

[PATCH] staging: gasket: Check the return value of gasket_get_bar_index()

2020-05-01 Thread Oscar Carter
Check the return value of gasket_get_bar_index function as it can return a negative one (-EINVAL). If this happens, a negative index is used in the "gasket_dev->bar_data" array. Addresses-Coverity-ID: 1438542 ("Negative array index read") Fixes: 9a69f5087ccc2 ("drivers/staging: Gasket driver

Re: [PATCH v3 5/6] blktrace: break out of blktrace setup on concurrent calls

2020-05-01 Thread Luis Chamberlain
On Fri, May 1, 2020 at 9:40 AM Luis Chamberlain wrote: > > On Fri, May 01, 2020 at 08:34:23AM -0700, Christoph Hellwig wrote: > > On Fri, May 01, 2020 at 03:06:26PM +, Luis Chamberlain wrote: > > > > You have access to a block device here, please use dev_warn() instead > > > > here for that,

Re: [PATCH] drm: Replace drm_modeset_lock/unlock_all with DRM_MODESET_LOCK_ALL_* helpers

2020-05-01 Thread Michał Orzeł
On 30.04.2020 20:30, Daniel Vetter wrote: > On Thu, Apr 30, 2020 at 5:38 PM Sean Paul wrote: >> >> On Wed, Apr 29, 2020 at 4:57 AM Jani Nikula >> wrote: >>> >>> On Tue, 28 Apr 2020, Michal Orzel wrote: As suggested by the TODO list for the kernel DRM subsystem, replace the

Re: Remaining randconfig objtool warnings, linux-next-20200428

2020-05-01 Thread Josh Poimboeuf
On Fri, May 01, 2020 at 02:33:19PM +0200, Peter Zijlstra wrote: > On Thu, Apr 30, 2020 at 08:07:33PM -0500, Josh Poimboeuf wrote: > > On Thu, Apr 30, 2020 at 04:05:07PM +0200, Arnd Bergmann wrote: > > > lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0x133: > > > call to

Re: [PATCH 4/4 v2] firmware: stratix10-svc: Slightly simplify code

2020-05-01 Thread Christophe JAILLET
Le 01/05/2020 à 17:40, Richard Gong a écrit : Hi, On 4/29/20 1:52 AM, Christophe JAILLET wrote: Replace 'devm_kmalloc_array(... | __GFP_ZERO)' with the equivalent and shorter 'devm_kcalloc(...)'. It doesn't make much sense. Actually devm_kcalloc returns devm_kmalloc_array(.., flag |

Re: [PATCH v2 3/4] dt-bindings: PCI: brcmstb: New prop 'aspm-no-l0s'

2020-05-01 Thread Rob Herring
On Fri, May 1, 2020 at 9:29 AM Jim Quinlan wrote: > > From: Jim Quinlan > > For various reasons, one may want to disable the ASPM L0s > capability. > > Signed-off-by: Jim Quinlan > --- > Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml | 4 > 1 file changed, 4 insertions(+) > >

power-off delay/hang due to commit 6d25be57 (mainline)

2020-05-01 Thread Stephen Berman
I'm experiencing a delay or hang in powering off my computer after `halt -d -f -i -p' and I've bisected it to this commit in the mainline tree: commit 6d25be5782e482eb93e3de0c94d0a517879377d0 Author: Thomas Gleixner Date: Wed Mar 13 17:55:48 2019 +0100 sched/core, workqueues: Distangle

Re: [PATCH] usb: usbfs: correct kernel->user page attribute mismatch

2020-05-01 Thread Jeremy Linton
Hi, Thanks for taking a look at this. On 5/1/20 2:05 AM, Greg KH wrote: On Thu, Apr 30, 2020 at 04:19:22PM -0500, Jeremy Linton wrote: On arm64, and possibly other architectures, requesting IO coherent memory may return Normal-NC if the underlying hardware isn't coherent. If these pages are

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-01 Thread William Breathitt Gray
On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > Hi, > > On 29/04/2020 14:11:34-0400, William Breathitt Gray wrote: > > Over the past couple years we have noticed some shortcomings with the > > Counter sysfs interface. Although useful in the majority of situations, > > there

Re: [PATCH RFC v2 08/11] net: stmmac: dwmac-meson8b: add support for the RX delay configuration

2020-05-01 Thread Andrew Lunn
> + if (rx_dly_config & PRG_ETH0_ADJ_ENABLE) { > + /* The timing adjustment logic is driven by a separate clock */ > + ret = meson8b_devm_clk_prepare_enable(dwmac, > + dwmac->timing_adj_clk); > + if (ret) { >

Re: [PATCH v2 1/4] capability: add ns_capable_cred()

2020-05-01 Thread Christian Brauner
On Thu, Apr 30, 2020 at 01:09:30PM -0500, Eric W. Biederman wrote: > Christian Brauner writes: > > > Add a simple capability helper which makes it possible to determine > > whether a set of creds is ns capable wrt to the passed in credentials. > > This is not something exciting it's just a more

Re: [PATCH 1/4] remoteproc: qcom: Pass ssr_name to glink subdevice

2020-05-01 Thread Mathieu Poirier
Good morning Bjorn, On Wed, Apr 22, 2020 at 05:37:33PM -0700, Bjorn Andersson wrote: > Pass ssr_name to glink subdevice in preparation for tying glink_ssr to > the glink subdevice, rather than having its own "ssr subdevice". > > Signed-off-by: Bjorn Andersson > --- >

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

2020-05-01 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

Re: [PATCH v3 5/6] blktrace: break out of blktrace setup on concurrent calls

2020-05-01 Thread Luis Chamberlain
On Fri, May 01, 2020 at 08:34:23AM -0700, Christoph Hellwig wrote: > On Fri, May 01, 2020 at 03:06:26PM +, Luis Chamberlain wrote: > > > You have access to a block device here, please use dev_warn() instead > > > here for that, that makes it obvious as to what device a "concurrent > > >

Re: [PATCH 2/3] selftests/ftrace: Pick only the first kprobe event to test

2020-05-01 Thread shuah
On 5/1/20 8:17 AM, Steven Rostedt wrote: On Fri, 1 May 2020 22:37:51 +0900 Masami Hiramatsu wrote: Since the kprobe/kprobe_args_type.tc reads out all event logs from the trace buffer, the test can fail if there is another fork event happens. Use head command to pick only the first kprobe

[PATCH 09/14] docs: move digsig docs to the security book

2020-05-01 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- Documentation/{digsig.txt => security/digsig.rst} | 0 Documentation/security/index.rst | 1 + 2 files changed, 1 insertion(+) rename Documentation/{digsig.txt => security/digsig.rst} (100%) diff --git a/Documentation/digsig.txt

[PATCH 01/14] docs: move DMA kAPI to Documentation/core-api

2020-05-01 Thread Mauro Carvalho Chehab
Move those files to the core-api, where they belong, renaming them to ReST and adding to the core API index file. Signed-off-by: Mauro Carvalho Chehab --- .../{DMA-API-HOWTO.txt => core-api/dma-api-howto.rst} | 0 Documentation/{DMA-API.txt => core-api/dma-api.rst} | 0

[PATCH 05/14] docs: fix references for ipmi.rst file

2020-05-01 Thread Mauro Carvalho Chehab
As this file got moved, fix references for it. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS| 2 +- drivers/char/ipmi/Kconfig | 2 +- drivers/char/ipmi/ipmi_si_hotmod.c | 2 +- drivers/char/ipmi/ipmi_si_intf.c | 2 +- 4 files changed, 4 insertions(+), 4

[PATCH 02/14] docs: add bus-virt-phys-mapping.txt to core-api

2020-05-01 Thread Mauro Carvalho Chehab
This describes an old interface used prior the new DMA-API interfaces. Add it to the core-api guide, just after the DMA stuff. Signed-off-by: Mauro Carvalho Chehab --- .../bus-virt-phys-mapping.rst} | 0 Documentation/core-api/index.rst

[PATCH 11/14] docs: move other kAPI documents to core-api

2020-05-01 Thread Mauro Carvalho Chehab
There are a number of random documents that seem to be describing some aspects of the core-api. Move them to such directory, adding them at the core-api/index.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/sysctl/vm.rst | 2 +-

[PATCH 08/14] docs: move kobject and kref docs into the core-api book

2020-05-01 Thread Mauro Carvalho Chehab
Both documents are documenting Kernel core objects. So, add them into the core-api book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/core-api/index.rst | 1 + Documentation/core-api/kobject.rst| 2 +- Documentation/{kref.txt => core-api/kref.rst} | 0 3 files

[PATCH 14/14] docs: staging: use small font for literal includes

2020-05-01 Thread Mauro Carvalho Chehab
The normal font is too big to display 80 columns, causing extra breaks to be added at weird places. change to the footnotesize, as this would fit a little bit better. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 24 1 file changed, 24

[PATCH 12/14] docs: move remaining stuff under Documentation/*.txt to Documentation/staging

2020-05-01 Thread Mauro Carvalho Chehab
There are several files that I was unable to find a proper place for them, and 3 ones that are still in plain old text format. Let's place those stuff behind the carpet, as we'd like to keep the root directory clean. We can later discuss and move those into better places. Signed-off-by: Mauro

[PATCH 06/14] docs: debugging-via-ohci1394.txt: add it to the core-api book

2020-05-01 Thread Mauro Carvalho Chehab
There is an special chapter inside the core-api book about some debug infrastructure like tracepoints and debug objects. It sounded to me that this is the best place to add a chapter explaining how to use a FireWire controller to do remote kernel debugging, as explained on this document.

[PATCH 04/14] docs: move IPMI.txt to the driver API book

2020-05-01 Thread Mauro Carvalho Chehab
The IPMI is under drivers/char. This doc describes the kAPI part of the IPMI (mainly). So, move it to the driver-api directory and add it to the corresponding index.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/index.rst | 1 + Documentation/{IPMI.txt

[PATCH 10/14] docs: move locking-specific documenta to locking/ directory

2020-05-01 Thread Mauro Carvalho Chehab
Several files under Documentation/*.txt describe some type of locking API. Move them to locking/ subdir and add to the locking/index.rst index file. Signed-off-by: Mauro Carvalho Chehab --- .../{futex-requeue-pi.txt => locking/futex-requeue-pi.rst} | 0 Documentation/{hwspinlock.txt =>

[PATCH 13/14] docs: staging: don't use literalinclude

2020-05-01 Thread Mauro Carvalho Chehab
Such directive cause troubles with PDF output. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/staging/index.rst b/Documentation/staging/index.rst index 8e98517675ca..8cc9d94b0a13

[PATCH 07/14] docs: add IRQ documentation at the core-api book

2020-05-01 Thread Mauro Carvalho Chehab
There are 4 IRQ documentation files under Documentation/*.txt. Move them into a new directory (core-api/irq) and add a new index file for it. While here, use a title markup for the Debugging section of the irq-domain.rst file. Signed-off-by: Mauro Carvalho Chehab ---

<    1   2   3   4   5   6   7   8   9   10   >