Re: [PATCH] Staging: wlan-ng: prism2sta: fixed indent coding style issues.

2018-04-26 Thread Greg Kroah-Hartman
On Fri, Apr 27, 2018 at 05:45:07AM +, Efstratios Gavas wrote: > Fixed coding style issues. > Signed-off-by: Efstratios Gavas We need a blank line before the signed-off-by: line in order to properly work. Also, please be much more specific in your changelog text as to what you are doing here.

Re: [PATCH v3 5/7] kprobes/x86: Fix %p uses in error messages

2018-04-26 Thread Ingo Molnar
* Masami Hiramatsu wrote: > (addr < (u8 *) jprobe_return_end)) { > if (stack_addr(regs) != saved_sp) { > struct pt_regs *saved_regs = &kcb->jprobe_saved_regs; > - printk(KERN_ERR > -"current sp %p does

Re: [PATCH v3 4/7] kprobes: Replace %p with other pointer types

2018-04-26 Thread Ingo Molnar
* Masami Hiramatsu wrote: > @@ -712,7 +712,7 @@ static void reuse_unused_kprobe(struct kprobe *ap) > op = container_of(ap, struct optimized_kprobe, kp); > if (unlikely(list_empty(&op->list))) > printk(KERN_WARNING "Warning: found a stray unused " > -

Re: [PATCH -tip v2 0/7] kprobes: Fix %p in kprobes

2018-04-26 Thread Greg KH
On Thu, Apr 26, 2018 at 09:14:34PM -0400, Steven Rostedt wrote: > On Thu, 26 Apr 2018 10:40:22 +0200 > Greg KH wrote: > > > > > > > This is not the correct way to submit patches for inclusion in the > > stable kernel tree. Please read: > > https://www.kernel.org/doc/html/latest/process/sta

Re: [PATCH] m68k: Fix calendar month regression on M68328

2018-04-26 Thread Geert Uytterhoeven
Hi Greg, Finn, On Fri, Apr 27, 2018 at 3:33 AM, Greg Ungerer wrote: > On 27/04/18 11:12, Finn Thain wrote: >> My earlier fix for read_persistent_clock() neglected to cover >> m68328_hwclk(). Correct this oversight. >> >> Cc: Geert Uytterhoeven >> Signed-off-by: Finn Thain >> --- >> Greg, the re

Re: [PATCH v3 1/7] kprobes: Make blacklist root user read only

2018-04-26 Thread Greg KH
On Fri, Apr 27, 2018 at 03:40:09PM +0900, Masami Hiramatsu wrote: > Since the blacklist file indicates a sensitive address > information to reader, it should be restricted to the > root user. > > Suggested-by: Thomas Richter > Signed-off-by: Masami Hiramatsu > --- > kernel/kprobes.c |2 +- >

Re: [Xen-devel] [PATCH 0/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-04-26 Thread Oleksandr Andrushchenko
On 04/25/2018 08:16 PM, Dongwon Kim wrote: On Wed, Apr 25, 2018 at 08:34:55AM +0200, Daniel Vetter wrote: On Wed, Apr 25, 2018 at 09:07:07AM +0300, Oleksandr Andrushchenko wrote: On 04/24/2018 11:35 PM, Dongwon Kim wrote: Had a meeting with Daniel and talked about bringing out generic part of

Re: [PATCH v2] dmaengine: axi-dmac: Request IRQ with IRQF_SHARED

2018-04-26 Thread Lars-Peter Clausen
On 04/27/2018 07:11 AM, Vinod Koul wrote: > On Thu, Apr 26, 2018 at 10:40:00AM -0700, Moritz Fischer wrote: >> Request IRQ with IRQF_SHARED flag. This works since the interrupt >> handler already checks if there is an actual IRQ pending and returns >> IRQ_NONE otherwise. > > hmmm what are we tryin

Re: [PATCH] sched/numa: Stagger NUMA balancing scan periods for new threads

2018-04-26 Thread Ingo Molnar
* Mel Gorman wrote: > The different in headline performance across a range of machines and > workloads is marginal but the system CPU usage is reduced due to less scan > activity. The following is the time reported by NAS Parallel Benchmark > using unbound openmp threads and a D size class. >

Re: [PATCH v3] KVM: Extend MAX_IRQ_ROUTES to 4096 for all archs

2018-04-26 Thread Christian Borntraeger
On 04/27/2018 02:55 AM, Wanpeng Li wrote: > From: Wanpeng Li > > Our virtual machines make use of device assignment by configuring > 12 NVMe disks for high I/O performance. Each NVMe device has 129 > MSI-X Table entries: > Capabilities: [50] MSI-X: Enable+ Count=129 Masked-Vector table: BAR=0

[PATCH v3 6/7] kprobes/arm: Fix %p uses in error messages

2018-04-26 Thread Masami Hiramatsu
Fix %p uses in error messages by removing it and using general dumper. Signed-off-by: Masami Hiramatsu --- arch/arm/probes/kprobes/core.c | 10 +- arch/arm/probes/kprobes/test-core.c |1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/arm/probes/kprobes/c

[PATCH v3 7/7] kprobes/arm64: Fix %p uses in error messages

2018-04-26 Thread Masami Hiramatsu
Fix %p uses in error messages by removing it because those are redundant or meaningless. Signed-off-by: Masami Hiramatsu Acked-by: Will Deacon --- arch/arm64/kernel/probes/kprobes.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/probes/kprobes.c b/

[PATCH v3 5/7] kprobes/x86: Fix %p uses in error messages

2018-04-26 Thread Masami Hiramatsu
Fix %p uses in error messages in kprobes/x86. - Some %p uses are not needed. Just remove it (or remove message). - One %p use seems important to show some address so replaced with %pS. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Do not use %px. --- arch/x86/kernel/kprobes/core.c |

[PATCH v3 4/7] kprobes: Replace %p with other pointer types

2018-04-26 Thread Masami Hiramatsu
Replace %p with %pS or just remove it if unneeded. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Do not use %px in any case. Changes in v2: - Rebased on linux-next --- kernel/kprobes.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/kerne

[PATCH v3 3/7] kprobes: Show address of kprobes if kallsyms does

2018-04-26 Thread Masami Hiramatsu
Show probed address in debugfs kprobe list file as same as kallsyms does. This information is used for checking kprobes are placed in the expected address. So it should be able to compared with address in kallsyms. Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c | 14 +- 1 fil

[PATCH v3 2/7] kprobes: Show blacklist addresses as same as kallsyms does

2018-04-26 Thread Masami Hiramatsu
Show kprobes blacklist addresses under same condition of showing kallsyms addresses. Since there are several name conflict for local symbols, kprobe blacklist needs to show each addresses so that user can identify where is on blacklist by comparing with kallsyms. Signed-off-by: Masami Hiramatsu

[PATCH v3 1/7] kprobes: Make blacklist root user read only

2018-04-26 Thread Masami Hiramatsu
Since the blacklist file indicates a sensitive address information to reader, it should be restricted to the root user. Suggested-by: Thomas Richter Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kprobes.c b/ker

[PATCH v3 0/7] kprobes: Fix %p in kprobes

2018-04-26 Thread Masami Hiramatsu
Hi, This 3rd version of the series which fixes %p uses in kprobes. Some by replacing with %pS, some by replacing with %px but masking with kallsyms_show_value(). I've read the thread about %pK and if I understand correctly we shouldn't print kernel addresses. However, kprobes debugfs interface ca

RE: [PATCH 2/5] X86: Hyper-V: Enable IPI enlightenments

2018-04-26 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter > Sent: Thursday, April 26, 2018 2:32 PM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; t...@linut

RE: [PATCH 2/5] X86: Hyper-V: Enable IPI enlightenments

2018-04-26 Thread KY Srinivasan
> -Original Message- > From: Michael Kelley (EOSG) > Sent: Thursday, April 26, 2018 3:55 PM > To: KY Srinivasan ; x...@kernel.org; > gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; t...@li

RE: [PATCH 5/5] X86: Hyper-V: Consolidate the allocation of the hypercall input page

2018-04-26 Thread KY Srinivasan
> -Original Message- > From: Thomas Gleixner > Sent: Thursday, April 26, 2018 3:24 PM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; h...@zyt

Re: [PATCH] Revert "x86/mm: implement free pmd/pte page interfaces"

2018-04-26 Thread Ingo Molnar
* Kani, Toshi wrote: > On Thu, 2018-04-26 at 17:14 +0200, Joerg Roedel wrote: > > From: Joerg Roedel > > > > This reverts commit 28ee90fe6048fa7b7ceaeb8831c0e4e454a4cf89. > > > > This commit is broken for x86, as it unmaps the PTE and PMD > > pages and immediatly frees them without doing a TL

Re: [PATCH 2/5] X86: Hyper-V: Enable IPI enlightenments

2018-04-26 Thread kbuild test robot
Hi Srinivasan, I love your patch! Yet something to improve: [auto build test ERROR on v4.17-rc2] [also build test ERROR on next-20180426] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

RE: [PATCH 3/5] X86: Hyper-V: Enhanced IPI enlightenment

2018-04-26 Thread KY Srinivasan
> -Original Message- > From: Thomas Gleixner > Sent: Thursday, April 26, 2018 3:17 PM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; h...@zyt

Re: [PATCH v2 3/5] dmaengine: sprd: Move DMA request mode and interrupt type into head file

2018-04-26 Thread Vinod Koul
On Thu, Apr 19, 2018 at 10:00:48AM +0800, Baolin Wang wrote: > From: Eric Long > > This patch will move the Spreadtrum DMA request mode and interrupt type > into one head file for user to configure. Applied this one, thanks -- ~Vinod

Re: [PATCH v2 2/5] dmaengine: sprd: Define the DMA data width type

2018-04-26 Thread Vinod Koul
On Thu, Apr 19, 2018 at 10:00:47AM +0800, Baolin Wang wrote: > Define the DMA data width type to make code more readable. Applied this one, thanks -- ~Vinod

Re: [PATCH v2 1/5] dmaengine: sprd: Define the DMA transfer step type

2018-04-26 Thread Vinod Koul
On Thu, Apr 19, 2018 at 10:00:46AM +0800, Baolin Wang wrote: > From: Eric Long > > Define the DMA transfer step type to make code more readable. Applied this one, thanks -- ~Vinod

Re: [PATCH v2 4/5] dmaengine: sprd: Add Spreadtrum DMA configuration

2018-04-26 Thread Vinod Koul
On Thu, Apr 19, 2018 at 10:00:49AM +0800, Baolin Wang wrote: > +/* > + * struct sprd_dma_config - DMA configuration structure > + * @src_addr: the physical address where DMA slave data should be read > + * @dst_addr: the physical address where DMA slave data should be written > + * @fragment_len:

Re: [RFC v3 0/5] virtio: support packed ring

2018-04-26 Thread Jason Wang
On 2018年04月27日 12:18, Michael S. Tsirkin wrote: On Fri, Apr 27, 2018 at 11:56:05AM +0800, Jason Wang wrote: On 2018年04月25日 13:15, Tiwei Bie wrote: Hello everyone, This RFC implements packed ring support in virtio driver. Some simple functional tests have been done with Jason's packed ring i

[PATCH/RFC] mtd: spi-nor: honour max_message_size for spi-nor writes.

2018-04-26 Thread NeilBrown
Hi, I've labeled this an RFC because I'm really not sure about removing the error path from spi_nor_write() -- maybe that really matters. But on my hardware, performing multiple small spi writes to the flash seems to work. The spi driver is drivers/staging/mt7621-spi. Possibly this needs t

RE: [PATCH 2/5] X86: Hyper-V: Enable IPI enlightenments

2018-04-26 Thread KY Srinivasan
> -Original Message- > From: Thomas Gleixner > Sent: Thursday, April 26, 2018 3:09 PM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; h...@zyt

[PATCH] arm64: dts: msm8996: fix gic_irq_domain_translate warnings

2018-04-26 Thread Thierry Escande
Remove the usage of IRQ_TYPE_NONE to fix loud warnings from patch (83a86fbb5b56b "irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE"). Signed-off-by: Thierry Escande --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) di

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-26 Thread Michal Simek
On 27.4.2018 04:39, Rob Herring wrote: > On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek wrote: >> The function travers the lookup table to check if the request alias >> id is compatible with the device driver match structure. >> This function will be used by serial drivers to check if requested ali

Re: [PATCH -tip v2 0/7] kprobes: Fix %p in kprobes

2018-04-26 Thread Masami Hiramatsu
On Thu, 26 Apr 2018 21:14:34 -0400 Steven Rostedt wrote: > On Thu, 26 Apr 2018 10:40:22 +0200 > Greg KH wrote: > > > > > > > This is not the correct way to submit patches for inclusion in the > > stable kernel tree. Please read: > > https://www.kernel.org/doc/html/latest/process/stable-k

Re: [PATCH v2 1/2] dt-bindings: nvmem: Add binding for RAVE SP EEPROM driver

2018-04-26 Thread Andrey Smirnov
On Mon, Apr 16, 2018 at 8:05 AM, Rob Herring wrote: > On Tue, Apr 10, 2018 at 06:59:47PM -0700, Andrey Smirnov wrote: >> Add Device Tree bindings for RAVE SP EEPROM driver - an MFD cell of >> parent RAVE SP driver (documented in >> Documentation/devicetree/bindings/mfd/zii,rave-sp.txt). >> >> Cc:

RE: [PATCH 1/5] X86: Hyper-V: Enlighten APIC access

2018-04-26 Thread KY Srinivasan
> -Original Message- > From: Thomas Gleixner > Sent: Thursday, April 26, 2018 2:49 PM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; h...@zyt

Re: [PATCH v2] mm: huge_memory: Change return type to vm_fault_t

2018-04-26 Thread Souptick Joarder
On Wed, Apr 25, 2018 at 12:39 PM, David Rientjes wrote: > On Wed, 25 Apr 2018, Souptick Joarder wrote: > >> Use new return type vm_fault_t for fault handler. For >> now, this is just documenting that the function returns >> a VM_FAULT value rather than an errno. Once all instances >> are converted

Re: [PATCH 1/5] X86: Hyper-V: Enlighten APIC access

2018-04-26 Thread kbuild test robot
Hi Srinivasan, I love your patch! Yet something to improve: [auto build test ERROR on v4.17-rc2] [also build test ERROR on next-20180426] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[git pull] drm fixes for v4.17-rc3

2018-04-26 Thread Dave Airlie
Hi Linus, Pretty run of the mill for this stage in the cycle. i915: - Black screen fixes - Display w/a fix - HDA codec interop fix sun4i: - tbsa711 tablet regression fix qxl: - Regression fixes due to changes in TTM virtio: - Fix wait event condition msm: - DSI display fixes amdgpu: - fix hang on

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-04-26 Thread Christoph Hellwig
On Thu, Apr 26, 2018 at 09:54:06PM +, Luis R. Rodriguez wrote: > In practice if you don't have a floppy device on x86, you don't need ZONE_DMA, I call BS on that, and you actually explain later why it it BS due to some drivers using it more explicitly. But even more importantly we have plenty

KASAN: use-after-free Read in process_preds

2018-04-26 Thread syzbot
Hello, syzbot hit the following crash on bpf-next commit 5d1365940a68dd57b031b6e3c07d7d451cd69daf (Thu Apr 12 18:09:05 2018 +) Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b6fc33dcecb65cd8ff80 Unfortunately, I

KASAN: slab-out-of-bounds Read in process_preds

2018-04-26 Thread syzbot
Hello, syzbot hit the following crash on bpf-next commit af487c509d4b7f874fe1a33f9289d51b9adc (Wed Apr 25 07:56:11 2018 +) Merge branch 'bpf-optimize-neg-sums' syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=e47d942a98e75b4bd03e Unfortunately, I don't have any reproduce

BUG: unable to handle kernel paging request in process_preds

2018-04-26 Thread syzbot
Hello, syzbot hit the following crash on bpf-next commit 0c90f2243ec67eeacf9624ae52ab43c734fe0e93 (Wed Apr 18 02:46:34 2018 +) tools: bpftool: make it easier to feed hex bytes to bpftool syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b76562b749bb67fca79f Unfortunately, I d

[PATCH] NFS: Avoid quadratic search when freeing delegations.

2018-04-26 Thread NeilBrown
If an NFS client has 10,000 delegations which are between 90 and 180 seconds old, and 10,000 which are between 180 and 270 seconds old, with none of them still in use, it is likely that the old ones are at the end of the list. The first 10,000 will not be marked to be returned, the last 10,000 wi

[PATCH v3] net: qrtr: Expose tunneling endpoint to user space

2018-04-26 Thread Bjorn Andersson
This implements a misc character device named "qrtr-tun" for the purpose of allowing user space applications to implement endpoints in the qrtr network. This allows more advanced (and dynamic) testing of the qrtr code as well as opens up the ability of tunneling qrtr over a network or USB link. S

[PATCH] ASoC: uniphier: remove boilerplate from lisence comment

2018-04-26 Thread Katsuhiro Suzuki
This patch removes boilerplate of GPLv2, use only SPDX identifier as same as other recently ASoC DAI drivers. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-compress.c | 13 - sound/soc/uniphier/aio-core.c | 13 - sound/soc/uniphier/aio-cpu.c | 13 ---

Re: [PATCH v1 6/7] Bluetooth: hci_mediatek: Add protocol support for MediaTek serial devices

2018-04-26 Thread Marcel Holtmann
Hi Sean, > This adds a driver for the MediaTek serial protocol based on H4 protocol, > which can enable the built-in Bluetooth device inside MT7622 SoC. > > Signed-off-by: Sean Wang > --- > > [... snip ...] > > + > + /* Start to build a WMT header and its actual pay

Re: [PATCH v6] fs: dax: Adding new return type vm_fault_t

2018-04-26 Thread Souptick Joarder
> I noticed that we have the following status translation now in 4 places in 2 > files: > > if (err == -ENOMEM) > return VM_FAULT_OOM; > if (err < 0 && err != -EBUSY) > return VM_FAULT_SIGBUS; > return VM_FAULT_NOPAGE; > > > This happens in vm

Re: [PULL 0/1] vfio-ccw: another bugfix

2018-04-26 Thread Martin Schwidefsky
On Tue, 24 Apr 2018 13:26:55 +0200 Cornelia Huck wrote: > The following changes since commit 6cf09958f32b9667bb3ebadf74367c791112771b: > > s390: correct module section names for expoline code revert (2018-04-23 > 07:57:17 +0200) > > are available in the Git repository at: > > git://git.ke

Re: Linux messages full of `random: get_random_u32 called from`

2018-04-26 Thread Sultan Alsawaf
> The CRNG changes were needed because were erroneously saying that the > entropy pool was securely initialized before it really was. Saying > that CRNG should be able to init on its own is much like saying, "Ted > should be able to fly wherever he wants in his own personal Gulfstream > V." It wo

Re: [PATCH v2] nvme: change order of qid and cmdid in completion trace

2018-04-26 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: testing io.low limit for blk-throttle

2018-04-26 Thread Paolo Valente
> Il giorno 27 apr 2018, alle ore 05:27, Joseph Qi ha > scritto: > > Hi Paolo, > > On 18/4/27 01:27, Paolo Valente wrote: >> >> >>> Il giorno 25 apr 2018, alle ore 14:13, Joseph Qi ha >>> scritto: >>> >>> Hi Paolo, >>> >> >> Hi Joseph >> >>> ... >>> Could you run blktrace as well when

Re: [PATCH] ion: Consider ion pool pages as indirectly reclaimable

2018-04-26 Thread vjitta
On 2018-04-25 21:17, Laura Abbott wrote: On 04/24/2018 08:43 PM, vji...@codeaurora.org wrote: From: Vijayanand Jitta An issue is observed where mallocs are failing due to overcommit failure. The failure happens when there is high ION page pool since ION page pool is not considered reclaimabl

Re: [PATCH -tip v2 4/7] kprobes: Replace %p with other pointer types

2018-04-26 Thread Masami Hiramatsu
On Thu, 26 Apr 2018 22:48:24 -0400 Steven Rostedt wrote: > On Fri, 27 Apr 2018 11:39:51 +0900 > Masami Hiramatsu wrote: > > > On Thu, 26 Apr 2018 21:13:51 -0400 > > Steven Rostedt wrote: > > > > > On Thu, 26 Apr 2018 17:10:03 +0900 > > > Masami Hiramatsu wrote: > > > > > > > Replace %p wi

Re: [PATCH v2] dmaengine: axi-dmac: Request IRQ with IRQF_SHARED

2018-04-26 Thread Vinod Koul
On Thu, Apr 26, 2018 at 10:40:00AM -0700, Moritz Fischer wrote: > Request IRQ with IRQF_SHARED flag. This works since the interrupt > handler already checks if there is an actual IRQ pending and returns > IRQ_NONE otherwise. hmmm what are we trying to fix here? Is your device on a shared line or n

Re: [PATCH v5 00/10] clk: implement clock rate protection mechanism

2018-04-26 Thread Michael Turquette
Quoting Jerome Brunet (2018-02-02 04:50:28) > On Thu, 2018-02-01 at 09:43 -0800, Stephen Boyd wrote: > > > > > Applied to clk-protect-rate, with the exception that I did not apply > > > > > "clk: fix CLK_SET_RATE_GATE with clock rate protection" as it breaks > > > > > qcom clk code. > > > > > > >

Re: [PATCH v4 1/2] perf: uncore: Adding documentation for ThunderX2 pmu uncore driver

2018-04-26 Thread Ganapatrao Kulkarni
On Fri, Apr 27, 2018 at 2:25 AM, Randy Dunlap wrote: > Hi, > > Just a few typo corrections... > > On 04/25/2018 02:00 AM, Ganapatrao Kulkarni wrote: >> Documentation for the UNCORE PMUs on Cavium's ThunderX2 SoC. >> The SoC has PMU support in its L3 cache controller (L3C) and in the >> DDR4 Memory

Re: [PATCH] arm64: dts: uniphier: stabilize ethernet of LD20 reference boar

2018-04-26 Thread Masahiro Yamada
2018-04-27 13:25 GMT+09:00 Masahiro Yamada : > Currently, the ethernet RGMII mode on the LD20 reference board is > unstable. > > The default drive-strength of ethernet TX pins is too strong because > there is no dumping resistor on the TX lines on the board. > > Weaken the drive-strength to make th

[PATCH RFC] tracepoint: Introduce tracepoint callbacks executing with preempt on

2018-04-26 Thread Joel Fernandes
In recent tests with IRQ on/off tracepoints, a large performance overhead ~10% is noticed when running hackbench. This is root caused to calls to rcu_irq_enter_irqson and rcu_irq_exit_irqson from the tracepoint code. Following a long discussion on the list [1] about this, we concluded that srcu is

[PATCH] arm64: dts: uniphier: stabilize ethernet of LD20 reference boar

2018-04-26 Thread Masahiro Yamada
Currently, the ethernet RGMII mode on the LD20 reference board is unstable. The default drive-strength of ethernet TX pins is too strong because there is no dumping resistor on the TX lines on the board. Weaken the drive-strength to make the ethernet more stable. Signed-off-by: Masahiro Yamada

Re: [RFC v3 0/5] virtio: support packed ring

2018-04-26 Thread Michael S. Tsirkin
On Fri, Apr 27, 2018 at 11:56:05AM +0800, Jason Wang wrote: > > > On 2018年04月25日 13:15, Tiwei Bie wrote: > > Hello everyone, > > > > This RFC implements packed ring support in virtio driver. > > > > Some simple functional tests have been done with Jason's > > packed ring implementation in vhost

Re: [PATCH v1 6/7] Bluetooth: hci_mediatek: Add protocol support for MediaTek serial devices

2018-04-26 Thread Sean Wang
On Thu, 2018-04-26 at 11:47 +0200, Marcel Holtmann wrote: > Hi Sean, > > >>> This adds a driver for the MediaTek serial protocol based on H4 protocol, > >>> which can enable the built-in Bluetooth device inside MT7622 SoC. > >>> > >>> Signed-off-by: Sean Wang > >>> --- [... snip ...] > >>> + >

Re: random: GFP_KERNEL from irq context

2018-04-26 Thread Jens Axboe
On 4/26/18 3:03 PM, Theodore Y. Ts'o wrote: > On Thu, Apr 26, 2018 at 10:28:13AM -0600, Jens Axboe wrote: >> during boot. We end up doing the numa_crng_init() from interrupt context, >> which >> makes things unhappy since you do GFP_KERNEL | __GFP_NOFAIL allocations from >> there. > > I've alread

[PATCH] softirq: reorder trace_softirqs_on to prevent lockdep splat

2018-04-26 Thread Joel Fernandes
I'm able to reproduce a lockdep splat when CONFIG_PROVE_LOCKING=y and CONFIG_PREEMPTIRQ_EVENTS=y. $ echo 1 > /d/tracing/events/preemptirq/preempt_enable/enable --- [ 26.112609] DEBUG_LOCKS_WARN_ON(current->softirqs_enabled) [ 26.112636] WARNING: CPU: 0 PID: 118 at kernel/locking/lockdep.c:3854

Re: [RFC v3 0/5] virtio: support packed ring

2018-04-26 Thread Jason Wang
On 2018年04月25日 13:15, Tiwei Bie wrote: Hello everyone, This RFC implements packed ring support in virtio driver. Some simple functional tests have been done with Jason's packed ring implementation in vhost: https://lkml.org/lkml/2018/4/23/12 Both of ping and netperf worked as expected (with

Re: [PATCH] net: phy: marvell: clear wol event before setting it

2018-04-26 Thread Bhadram Varka
Hi Andrew/Jisheng, On 4/26/2018 6:10 PM, Andrew Lunn wrote: hmm, so you want a "stick" WOL feature, I dunno whether Linux kernel requires WOL should be "stick". I see two different cases: Suspend/resume: The WoL state in the kernel is probably kept across such a cycle. If so, you would expect

Re: testing io.low limit for blk-throttle

2018-04-26 Thread Joseph Qi
Hi Paolo, On 18/4/27 01:27, Paolo Valente wrote: > > >> Il giorno 25 apr 2018, alle ore 14:13, Joseph Qi ha >> scritto: >> >> Hi Paolo, >> > > Hi Joseph > >> ... >> Could you run blktrace as well when testing your case? There are several >> throtl traces to help analyze whether it is caused

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for pm8005,pm8998,pmi8998

2018-04-26 Thread Rob Herring
On Thu, Apr 19, 2018 at 04:00:32PM -0700, Stephen Boyd wrote: > Add the compatibles and PMIC ids for the pm8005, pm8998, and pmi8998 > PMICS found on MSM8998 and SDM845 based platforms. > > Cc: > Signed-off-by: Stephen Boyd > --- > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt | 3 ++

Re: [PATCH] reset: uniphier: add LD11/LD20 stream demux system reset control

2018-04-26 Thread Masahiro Yamada
2018-04-27 9:41 GMT+09:00 Katsuhiro Suzuki : > Add reset lines for MPEG2 transport stream I/O and demux system (HSC) > on UniPhier LD11/LD20 SoCs. > > Signed-off-by: Katsuhiro Suzuki > --- Acked-by: Masahiro Yamada -- Best Regards Masahiro Yamada

Re: [PATCH] clk: uniphier: add LD11/LD20 stream demux system clock

2018-04-26 Thread Masahiro Yamada
2018-04-27 9:40 GMT+09:00 Katsuhiro Suzuki : > Add clock for MPEG2 transport stream I/O and demux system (HSC) on > UniPhier LD11/LD20 SoCs. > > Signed-off-by: Katsuhiro Suzuki > --- Acked-by: Masahiro Yamada -- Best Regards Masahiro Yamada

[PATCH 1/2] hwmon: (k10temp) Fix reading critical temperature register

2018-04-26 Thread Guenter Roeck
The HTC (Hardware Temperature Control) register has moved for recent chips. Signed-off-by: Guenter Roeck --- Compile tested only. drivers/hwmon/k10temp.c | 37 + 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/drivers/hwmon/k10temp.c b/drivers/

[PATCH 2/2] hwmon: (k10temp) Display both Tctl and Tdie

2018-04-26 Thread Guenter Roeck
On some AMD CPUs, there is a different between the die temperature (Tdie) and the reported temperature (Tctl). Tdie is the real measured temperature, and Tctl is used for fan control. Lets report both for affected CPUs. Signed-off-by: Guenter Roeck --- drivers/hwmon/k10temp.c | 55 ++

Re: [PATCH v2 1/2] pinctrl: uniphier: add LD20 MPEG2-TS I/O pin-mux settings

2018-04-26 Thread Masahiro Yamada
2018-04-27 10:49 GMT+09:00 Katsuhiro Suzuki : > The MPEG2-TS input/output core both accepts serial TS and parallel TS. > > The serial TS interface uses following pins: > hscin0_s : HS0DOUT[0-3] > hscin1_s : HS0DOUT[4-7] > hscin2_s : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN0 > hscin3_s : HS1DI

Re: [PATCH v2 2/2] pinctrl: uniphier: add LD11 MPEG2-TS I/O pin-mux settings

2018-04-26 Thread Masahiro Yamada
2018-04-27 10:49 GMT+09:00 Katsuhiro Suzuki : > The MPEG2-TS input/output core both accepts serial TS and parallel TS. > > The serial TS interface uses following pins: > hscin0_s : HS0DOUT[0-3] > hscin1_s : HS0DOUT[4-7] > hscin2_s : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN0 > hscout0_s: HS0DO

Re: [PATCH 2/2] net: stmmac: dwmac-meson: extend phy mode setting

2018-04-26 Thread Yixun Lan
Hi Jerome On 04/26/18 16:47, Jerome Brunet wrote: > On Thu, 2018-04-26 at 16:05 +, Yixun Lan wrote: >> In the Meson-AXG SoC, the phy mode setting of PRG_ETH0 in the glue layer >> is extended from bit[0] to bit[2:0]. >> There is no problem if we configure it to the RGMII 1000M PHY mode, >> s

Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers

2018-04-26 Thread Rich Felker
On Thu, Apr 26, 2018 at 09:28:39PM -0500, David Lechner wrote: > On 04/26/2018 12:31 PM, Rich Felker wrote: > >On Thu, Apr 26, 2018 at 05:29:18PM +0200, Bartosz Golaszewski wrote: > >>From: Bartosz Golaszewski > >> > >>This is a follow to my series[1] the aim of which was to introduce device > >>

Re: [PATCH v2 08/10] dt-bindings: media: Document bindings for the Sunxi-Cedrus VPU driver

2018-04-26 Thread Rob Herring
On Thu, Apr 19, 2018 at 05:45:34PM +0200, Paul Kocialkowski wrote: > This adds a device-tree binding document that specifies the properties > used by the Sunxi-Cedurs VPU driver, as well as examples. > > Signed-off-by: Paul Kocialkowski > --- > .../devicetree/bindings/media/sunxi-cedrus.txt

Re: [PATCH v2 08/10] dt-bindings: media: Document bindings for the Sunxi-Cedrus VPU driver

2018-04-26 Thread Rob Herring
On Fri, Apr 20, 2018 at 09:22:20AM +0200, Paul Kocialkowski wrote: > Hi and thanks for the review, > > On Fri, 2018-04-20 at 01:31 +, Tomasz Figa wrote: > > Hi Paul, Philipp, > > > > On Fri, Apr 20, 2018 at 1:04 AM Philipp Zabel > > wrote: > > > > > Hi Paul, > > > On Thu, 2018-04-19 at 17:4

Re: [PATCH 2/3] dt-bindings: rtc: update stm32-rtc documentation for stm32mp1 rtc

2018-04-26 Thread Rob Herring
On Thu, Apr 19, 2018 at 03:34:04PM +0200, Amelie Delaunay wrote: > RTC embedded in stm32mp1 SoC is slightly different from stm32h7 one, it > doesn't require to disable backup domain write protection, and rtc_ck > parent clock assignment isn't allowed. > To sum up, stm32mp1 RTC requires 2 clocks, pc

Re: [PATCH 3/4] dt-bindings: rtc: update stm32-rtc documentation for st,syscfg property

2018-04-26 Thread Rob Herring
On Thu, Apr 19, 2018 at 03:21:42PM +0200, Amelie Delaunay wrote: > RTC driver should not be aware of the PWR registers offset and bits > position. Furthermore, we can imagine that Disable Backup Protection (DBP) > relative register and bit mask could change depending on the SoC. So this > patch mov

[PATCH] crypto: tcrypt: Remove VLA usage

2018-04-26 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this allocates the return code buffers before starting jiffie timers, rather than using stack space for the array. Additionally cleans up some exit paths and make sure that the num_mb module_param() is used only once per execution to av

Re: [PATCH 2/2] Revert "f2fs: add ovp valid_blocks check for bg gc victim to fg_gc"

2018-04-26 Thread Chao Yu
Hi Jaegeuk, Missed this patch, or any problem in it? Thanks, On 2018/4/26 17:05, Chao Yu wrote: > For extreme case: > 10 section, op = 10%, no_fggc_threshold = 90% > All section usage: 85% 85% 85% 85% 90% 90% 95% 95% 95% 95% > > During foreground GC, if we skip select dirty section whose usage

[PATCH v2] clk: aspeed: Support second reset register

2018-04-26 Thread Joel Stanley
The ast2500 has an additional reset register that contains resets not present in the ast2400. This enables support for this register, and adds the one reset line that is controlled by it. Reviewed-by: Andrew Jeffery Signed-off-by: Joel Stanley --- v2: This commit fixes a bug in aspeed_reset_ass

Re: [PATCH 1/2] drm/ttm: Add TTM_PAGE_FLAG_TRANSHUGE

2018-04-26 Thread zhoucm1
On 2018年04月26日 23:06, Michel Dänzer wrote: From: Michel Dänzer When it's set, TTM tries to allocate huge pages if possible. Do you mean original driver doesn't do this? From the code, driver always try huge pages if CONFIG_TRANSPARENT_HUGEPAGE is enabled. Regards, David Zhou Drivers wh

Re: [PATCH -tip v2 4/7] kprobes: Replace %p with other pointer types

2018-04-26 Thread Steven Rostedt
On Fri, 27 Apr 2018 11:39:51 +0900 Masami Hiramatsu wrote: > On Thu, 26 Apr 2018 21:13:51 -0400 > Steven Rostedt wrote: > > > On Thu, 26 Apr 2018 17:10:03 +0900 > > Masami Hiramatsu wrote: > > > > > Replace %p with appropriate pointer types (or just remove it) > > > - Use %pS if possible >

Re: testing io.low limit for blk-throttle

2018-04-26 Thread Joseph Qi
Hi Jianchao, On 18/4/27 10:09, jianchao.wang wrote: > Hi Tejun and Joseph > > On 04/27/2018 02:32 AM, Tejun Heo wrote: >> Hello, >> >> On Tue, Apr 24, 2018 at 02:12:51PM +0200, Paolo Valente wrote: >>> +Tejun (I guess he might be interested in the results below) >> >> Our experiments didn't work

Re: [PATCH -tip v2 4/7] kprobes: Replace %p with other pointer types

2018-04-26 Thread Masami Hiramatsu
On Thu, 26 Apr 2018 21:13:51 -0400 Steven Rostedt wrote: > On Thu, 26 Apr 2018 17:10:03 +0900 > Masami Hiramatsu wrote: > > > Replace %p with appropriate pointer types (or just remove it) > > - Use %pS if possible > > - Use %px only for the function right before BUG(). > > - Remove unneeded

Re: [RFC PATCH 1/3] of: base: Introduce of_alias_check_id() to check alias IDs

2018-04-26 Thread Rob Herring
On Thu, Apr 26, 2018 at 9:08 AM, Michal Simek wrote: > The function travers the lookup table to check if the request alias > id is compatible with the device driver match structure. > This function will be used by serial drivers to check if requested alias > is allocated or free to use. > > Signed

Re: [PATCH] f2fs: fix to wait IO writeback in __revoke_inmem_pages()

2018-04-26 Thread Chao Yu
On 2018/4/27 0:36, Jaegeuk Kim wrote: > On 04/26, Chao Yu wrote: >> On 2018/4/26 23:48, Jaegeuk Kim wrote: >>> On 04/26, Chao Yu wrote: Thread A Thread B - f2fs_ioc_commit_atomic_write - commit_inmem_pages - f2fs_submit_merged_write_cond : wri

MHI initial design review

2018-04-26 Thread Sujeev Dias
Hi Greg Kroah-Hartman\All This is the initial submit of Modem Host Interface (MHI) stack for upstream consideration. MHI is a communication protocol to communicate with external Qualcomm modems and Wi-Fi chipsets over high speed peripheral buses. Even though MHI doesn’t dictate underlying physical

[PATCH v1 2/4] mhi_bus: controller: MHI support for QCOM modems

2018-04-26 Thread Sujeev Dias
QCOM PCIe based modems uses MHI as the communication protocol. MHI control driver is the bus master for such modems. As the bus master driver, it oversees power management operations such as suspend, resume, powering on and off the device. Signed-off-by: Sujeev Dias --- Documentation/devicetree/

[PATCH v1 3/4] mhi_bus: dev: netdev: add network interface driver

2018-04-26 Thread Sujeev Dias
MHI based net device driver is used for transferring IP traffic between host and modem. Driver allows clients to transfer data using standard network interface. Signed-off-by: Sujeev Dias --- Documentation/devicetree/bindings/bus/mhi.txt | 36 ++ drivers/bus/Kconfig |

[PATCH v1 4/4] mhi_bus: dev: uci: add user space interface driver

2018-04-26 Thread Sujeev Dias
This module allows user space clients to transfer data between external modem and host using standard file operations. Signed-off-by: Sujeev Dias --- drivers/bus/mhi/devices/Kconfig | 9 + drivers/bus/mhi/devices/Makefile | 1 + drivers/bus/mhi/devices/mhi_uci.c | 662

Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers

2018-04-26 Thread David Lechner
On 04/26/2018 12:31 PM, Rich Felker wrote: On Thu, Apr 26, 2018 at 05:29:18PM +0200, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This is a follow to my series[1] the aim of which was to introduce device tree support for early platform devices. It was received rather negatively. Aside

RE: [PATCH] USB: serial: option: adding support for ublox R410M

2018-04-26 Thread 林上智
> > Option is likely the right driver for this device. > > qcaux was mainly for mobile phones that have a TTY (often cdc-acm) as the > modem port > and a secondary DIAG/DM port driven by qcaux. The DM port doesn't have an > interrupt > endpoint thus it's not a normal modem port requiring the

Re: [PATCH v2] of: overlay: Stop leaking resources on overlay removal

2018-04-26 Thread Rob Herring
On Thu, Apr 26, 2018 at 01:00:30PM +0200, Jan Kiszka wrote: > Only the overlay notifier callbacks have a chance to potentially get > hold of references to those two resources, but they are not supposed to > store them beyond OF_OVERLAY_POST_REMOVE. > > Document the overlay notifier API, its constr

Re: [PATCH 3/3] thermal: armada_thermal: Replace mdelay with usleep_range in armada380_init_sensor

2018-04-26 Thread Eduardo Valentin
On Tue, Apr 10, 2018 at 04:13:28PM +0800, Jia-Ju Bai wrote: > armada380_init_sensor() is never called in atomic context. > > armada380_init_sensor() is set as ".init_sensor" in > struct armada_thermal_data. > ".init_sensor" is called armada_thermal_probe(). > armada_thermal_probe() is set as ".pro

Re: [PATCH] dt-bindings: staging: remove a couple of ADC bindings

2018-04-26 Thread Rob Herring
On Thu, Apr 26, 2018 at 2:42 PM, Thomas Petazzoni wrote: > Hello, > > On Thu, 26 Apr 2018 11:02:55 +0530, Viresh Kumar wrote: >> @Thomas: Do you guys use this ? >> >> On 25-04-18, 20:57, Rob Herring wrote: >> > Remove LPC32xx and SPEAr ADC bindings in staging. They have not been >> > touched since

RE: [PATCH 4/5] ARM: dts: imx6sx-sabreauto: add fec support

2018-04-26 Thread Anson Huang
Anson Huang Best Regards! > -Original Message- > From: Anson Huang > Sent: Friday, April 27, 2018 9:37 AM > To: 'Fabio Estevam' > Cc: Shawn Guo ; Sascha Hauer > ; Fabio Estevam ; Rob > Herring ; Mark Rutland ; > dl-linux-imx ; moderated list:ARM/FREESCALE IMX / MXC > ARM ARCHITECTURE ;

Re: moving affs + RDB partition support to staging? (was: Re: Moving unmaintained filesystems to staging)

2018-04-26 Thread Michael Schmitz
Hi Geert, test results at https://bugzilla.kernel.org/show_bug.cgi?id=43511 indicate the RDB parser bug is fixed by the patch given there, so if Martin now submits the patch, all should be well? (MSDOS partition support is not the only one with limitations - the SGI partition parser also uses int

  1   2   3   4   5   6   7   8   9   10   >