Re: XFS: Hang and dmesg flood on mounting invalid FS image

2018-10-28 Thread Anatoly Trosinenko
> How did the corruption occur? It is a fuzzed image. Most probably, it was artificially "patched" by fuzzer. Or do you mean "what particular bytes were changed"? Best regards Anatoly пн, 29 окт. 2018 г. в 4:32, Dave Chinner : > > On Sun, Oct 28, 2018 at 08:50:46PM +0300, Anatoly Trosinenko wrote

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-28 Thread Viresh Kumar
On 26-10-18, 15:03, Dmitry Osipenko wrote: > On 10/24/18 9:41 AM, Viresh Kumar wrote: > > On 22-10-18, 15:12, Dmitry Osipenko wrote: > >> Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > >> necessary regulators, but we want to have CPU frequency scaling. I couldn't > >>

CAN I TRUST YOU

2018-10-28 Thread Mr. Jose Peterson
I am Mr.Jose Peterson a great citizen of the United States of America born in Franklinton, North Carolina, United States, I bring to you a proposal which I want you to assist me with. It is painful now to let you know that I have been suffering from a Heart disease for the past 12 years and just

Re: [PATCH 1/2] x86/pkeys: copy pkey state at fork()

2018-10-28 Thread Ingo Molnar
* Daniel Micay wrote: > > I suppose we could add a new flag for pkey_get() or something. > > That would work, since I can apply the workaround (disabling the > feature in child processes) if I get EINVAL. The flag wouldn't need to > do anything, just existing and being tied to this patch so I

Re: [PATCH] dt-bindings: arm: Fix cpu capacity mismatch in example

2018-10-28 Thread Viresh Kumar
On 26-10-18, 10:30, Daniel Lezcano wrote: > On 26/10/2018 06:11, Viresh Kumar wrote: > > On 25-10-18, 14:04, Daniel Lezcano wrote: > >> I think it is actually correct. The example is confusing on what the > >> numbers are. IIUC, it is: > >> > >> (after normalizing) > >> > >> dhrystone result on big

Re: linux-next: Tree for Oct 29

2018-10-28 Thread Damian Tometzki
On Mo, 29. Okt 17:02, Stephen Rothwell wrote: > Hi all, > Hello Stephen, on the site isnt available the new linux-next ? Only the old one. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > Changes since 20181019: > > Linus' tree gained 2 build failures for which I reverted

[PATCH V2] arm64: Don't flush tlb while clearing the accessed bit

2018-10-28 Thread Ashish Mhetre
From: Alex Van Brunt Accessed bit is used to age a page and in generic implementation there is flush_tlb while clearing the accessed bit. Flushing a TLB is overhead on ARM64 as access flag faults don't get translation table entries cached into TLB's. Flushing TLB is not necessary for this. Cleari

[PATCH V2] binder: ipc namespace support for android binder

2018-10-28 Thread 周威
We are working for running android in container, but we found that binder is not isolated by ipc namespace. Since binder is a form of IPC and therefore should be tied to ipc namespace. With this patch, we can run more than one android container on one host. This patch move "binder_procs" and "

Re: [PATCH] arch: x86: Touched up patterns of 'sizeof' functions

2018-10-28 Thread Ingo Molnar
* Jordan Borgner wrote: > Addded missing parentheses to 'sizeof()' functions in arch/x86/. > > Like this: > Before: 'sizeof x' > After: 'sizeof(x)' > > Done by motivation of Ingo Molnar. > > Signed-off-by: Jordan Borgner Thanks! Note that you sent a -p2 patch, the lkml standard is -p1 pa

[GIT PULL] Mailbox changes for v4.20

2018-10-28 Thread Jassi Brar
The following changes since commit e704966c45e48d0220d1ee5e463034ae493a95b2: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2018-09-28 18:04:50 -0700) are available in the Git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration

linux-next: Tree for Oct 29

2018-10-28 Thread Stephen Rothwell
Hi all, Changes since 20181019: Linus' tree gained 2 build failures for which I reverted a commit and added a fix patch. The arm-soc tree gained conflicts against Linus' tree. The vfs tree gained conflicts against the ceph and nfsd trees. The pm tree gained conflicts against Linus' and the i2c

Re: [PATCH] scheduler: wait: Added missing include freezer.h

2018-10-28 Thread Ingo Molnar
* Carmeli Tamir wrote: > The function 'wait_event_freezable' calls '__wait_event_freezable' that > uses 'try_to_freeze', which is defined in freezer.h. > This causes a compilation error for callers of 'wait_event_freezables', > forcing them to include also freezer.h. > > Signed-off-by: Carmeli

Re: [PATCH 05/11] DT: marvell,mmp2: Add SSP1 and SSP3

2018-10-28 Thread James Cameron
On Wed, Oct 10, 2018 at 07:09:30PM +0200, Lubomir Rintel wrote: > There seem to be SSP2, SSP4 and perhaps SSP5 too, but Marvel keeps their > base addresses secret. > > The SSP1 and SSP3 addresses were taken from OLPC 1.75, OpenFirmware and > kernel respectively. Sorry for the delay. Love your wo

Loan Offer

2018-10-28 Thread Global Financial Ltd
Contact Allstate Funding Corporation ® for small and large loans amount. We give out loan all kinds of loan at 2% interest rate. We also give out from. $5000 thousand Dollars to 20 million Dollars for individuals and companies, the credit is open to all regardless of nationality. NOTE: All re

Re: [PATCH V2 1/3] blk-mq: refactor the code of issue request directly

2018-10-28 Thread jianchao.wang
Hi Ming On 10/29/18 10:49 AM, Ming Lei wrote: > On Sat, Oct 27, 2018 at 12:01:09AM +0800, Jianchao Wang wrote: >> Merge blk_mq_try_issue_directly and __blk_mq_try_issue_directly >> into one interface which is able to handle the return value from >> .queue_rq callback. Due to we can only issue dire

Re: [GIT PULL] Devicetree updates for 4.20

2018-10-28 Thread Olof Johansson
Hi Rob, On Fri, Oct 26, 2018 at 9:07 AM Rob Herring wrote: > > Linus, > > Please pull DT updates for 4.20. A bit bigger than normal as I've been > busy this cycle. There's a few things with dependencies and a few > things subsystem maintainers didn't pick up, so I'm taking them thru > my tree. Th

Re: [PATCH] xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc

2018-10-28 Thread George Cherian
Hi Alan, Thanks for the review. I will update the patch accordingly and send out v2. On 10/28/2018 10:48 PM, Alan Stern wrote: > > On Sat, 27 Oct 2018, Cherian, George wrote: > >> Implement workaround for ThunderX2 Errata-129 (documented in >> CN99XX Known Issues" available at Cavium support s

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-28 Thread Balbir Singh
On Tue, Sep 25, 2018 at 02:03:25PM +0200, Michal Hocko wrote: > From: Andrea Arcangeli > > THP allocation might be really disruptive when allocated on NUMA system > with the local node full or hard to reclaim. Stefan has posted an > allocation stall report on 4.12 based SLES kernel which suggests

[PATCH v3] mm/page_owner: use kvmalloc instead of kmalloc

2018-10-28 Thread miles.chen
From: Miles Chen The kbuf used by page owner is allocated by kmalloc(), which means it can use only normal memory and there might be a "out of memory" issue when we're out of normal memory. To solve this problem, use kvmalloc() to allocate kbuf from normal/highmem. But there is one problem here:

Re: [RFR] Store tearing

2018-10-28 Thread Andrea Parri
On Sun, Oct 28, 2018 at 06:20:42PM -0700, Paul E. McKenney wrote: > On Mon, Oct 29, 2018 at 12:10:03AM +0100, Andrea Parri wrote: > > Hopefully, with Paul's proper email address this time, > > > > Andrea > > > > On Mon, Oct 29, 2018 at 12:06:27AM +0100, Andrea Parri wrote: > > > Hi, > > > > >

[REQUEST FOR CODE INTEGRATION - L4.25-L5.05] Parallelization and binary trees with huge dimensions

2018-10-28 Thread abhja kaanlani
When I have time I’ll have to read a few books and dig into the latest kernel to really understand what the Linux kernel is, but during that procrastination  I want to rewrite the Linux scheduler using my code, it’s basically a binary tree with a bunch of fixed variables with a rotating DMA

Re: linux-next: build failure after merge of the vfs tree

2018-10-28 Thread Stephen Rothwell
Hi Al, David, These have returned, so I have disabled CONFIG_SAMPLE_VFS again. On Mon, 10 Sep 2018 13:35:25 +1000 Stephen Rothwell wrote: > > After merging the vfs tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > samples/vfs/test-fsinfo.c: In function 'fsinfo': > s

Re: Cramfs: "unable to handle kernel paging request" when reading a file from a fuzzed FS image

2018-10-28 Thread Nicolas Pitre
On Sun, 28 Oct 2018, Anatoly Trosinenko wrote: > Hello, > > When reading a file from a fuzzed cramfs image, unhandled kernel > paging request occurs. Hmmm... It doesn't show up on my test system. > How to reproduce with kvm-xfstests: > 1) Checkout the v4.19 tag, copy x86_64-config-4.14 to .conf

Re: [PATCH v4 0/4] m68k: system call table generation support

2018-10-28 Thread Firoz Khan
Hi Geert, On Sat, 27 Oct 2018 at 20:17, Geert Uytterhoeven wrote: > > Hi Firoz, > > On Fri, Oct 26, 2018 at 7:06 AM Firoz Khan wrote: > > The purpose of this patch series is, we can easily add/modify/delete > > system call table support by changing entry in syscall.tbl file > > instead of manual

Re: [v2, PATCH 0/2] add Ethernet driver support for mt2712

2018-10-28 Thread biao huang
On Mon, 2018-10-29 at 11:04 +0800, Biao Huang wrote: > The mt2712 Ethernet IP is from Synopsys, so extend stmmac to support mt2712. > sorry, I forgot to add detail descriptions for these patches. changes in v2: --since STMMAC driver applied to most Synopsys ip Ethernet, I add dwmac-mediatek.c to

linux-next: manual merge of the drivers-x86 tree with Linus' tree

2018-10-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drivers-x86 tree got a conflict in: drivers/platform/x86/intel_telemetry_debugfs.c between commit: f2c4db1bd807 ("x86/cpu: Sanitize FAM6_ATOM naming") from Linus' tree and commit: 1a7938a632ce ("platform/x86: intel_telemetry: Get rid of custom mac

[PATCH V3 2/5] misc/pvpanic : convert to SPDX license tags

2018-10-28 Thread Peng Hao
This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c index fd86dab..9450

[PATCH V3 1/5] pvpanic: move pvpanic to misc as common driver

2018-10-28 Thread Peng Hao
move pvpanic.c from drivers/platform/x86 to drivers/misc. following patches will use pvpanic device in arm64. Signed-off-by: Peng Hao --- drivers/misc/Kconfig | 7 +++ drivers/misc/Makefile | 1 + drivers/misc/pvpanic.c | 124 +++

[PATCH 5/5] dt-bindings/misc/pvpanic :add document for pvpanic-mmio

2018-10-28 Thread Peng Hao
Add dt-bindings document for "qemu:pvpanic-mmio". Signed-off-by: Peng Hao --- .../devicetree/bindings/misc/pvpanic-mmio.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/pvpanic-mmio.txt diff --git a/Documentation/d

[PATCH V4 4/5] misc/pvpanic: add support to get pvpanic device info by FDT

2018-10-28 Thread Peng Hao
By default, when ACPI tables and FDT coexist for ARM64, current kernel takes precedence over FDT to get device information. Virt machine in qemu provides both FDT and ACPI table. This patch increases the way to get information through FDT. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 63

[PATCH V3 3/5] misc/pvpanic: add MMIO support

2018-10-28 Thread Peng Hao
On some architectures (e.g. arm64), it's preferable to use MMIO, since this can be used standalone. Add MMIO support to the pvpanic driver. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/misc/pvpa

[git pull] m68knommu fix for v4.20

2018-10-28 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Only a single change to fix an out of bounds array access when parsing boot command line. Regards Greg The following changes since commit 35a7f35ad1b150ddf59a41dcac7b2fa32982be0e: Linux 4.19-rc8 (2018-10-15 07:20:24

Re: [GIT] Networking

2018-10-28 Thread Linus Torvalds
On Sun, Oct 28, 2018 at 7:46 PM David Miller wrote: > > Please pull, thanks a lot! Pulled, Linus

[PATCH v2 12/12] w1: fix typo in comment

2018-10-28 Thread Steffen Vogel
Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 1326bd52888a..94747eeff0fa 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -1196,7 +1196,7 @@ int w1_process(void *data)

[PATCH v2 08/12] w1: improve code-style of struct declarations

2018-10-28 Thread Steffen Vogel
Among improving the readability of the struct declarations, this fixes a warning about incorrect brace placement raised by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1_netlink.h | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --gi

[PATCH v2 00/11] w1: coding style and checkpatch fixes

2018-10-28 Thread Steffen Vogel
Hi, This is my first series of patches for the Linux kernel. I started by familiarizing myself with coding style and satisfying my inner OCD by cleaning the 1-wire subsystem. Cheers, Steffen --- Changes since v1: - addressed comments from Joe Perches: - re-ran checkpatch.pl in --strict mode

[PATCH v2 10/12] w1: use pointers instead of types to determine size of allocs

2018-10-28 Thread Steffen Vogel
Get size of allocation based on pointer not type. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 2 +- drivers/w1/w1_int.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 4cbe1849fbfc..87094d99ccbe 100644 --- a/drivers/w1/w1.

[PATCH v2 03/12] w1: add newlines after declarations

2018-10-28 Thread Steffen Vogel
This satisfies a checkpatch warning Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 23 +++ drivers/w1/w1_netlink.c | 7 +++ 2 files changed, 30 insertions(+) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 6b3cdc5a09fb..48c20639f75f 100644 --- a/drivers

[PATCH v2 01/12] w1: add SPDX identifiers

2018-10-28 Thread Steffen Vogel
This satisfies a checkpatch warning and is the preferred method for notating the license. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Steffen Vogel --- drivers/w1/masters/ds1wm.c | 5 + drivers/w1/masters/d

[PATCH v2 04/12] w1: cleanup whitespaces according to coding style document

2018-10-28 Thread Steffen Vogel
These changes fix several warnings emitted by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 38 +++--- drivers/w1/w1_family.c | 2 +- drivers/w1/w1_io.c | 40 +--- drivers/w1/w1_netlink.c

[PATCH RESEND] spi: spi-fsl-dspi: use IRQF_SHARED mode to request IRQ

2018-10-28 Thread Chuanhua Han
Some SoC share one irq number between DSPI controllers. For example, on the LX2160 board, DSPI0 and DSPI1 share one irq number. In this case, only one DSPI controller can register successfully, and others will fail. Signed-off-by: Chuanhua Han --- drivers/spi/spi-fsl-dspi.c | 4 ++-- 1 file chan

Re: [PATCH 3/3] drm/mediatek: Use drm_gem_cma_object instead of mtk_drm_gem_obj

2018-10-28 Thread CK Hu
Hi,Daniel: On Fri, 2018-10-26 at 12:21 +0200, Daniel Vetter wrote: > On Fri, Oct 26, 2018 at 03:22:03PM +0800, CK Hu wrote: > > After adding dma_dev in struct drm_device and > > drm_gem_cma_dumb_create_no_kmap(), drm_gem_cma_object could replace > > mtk_drm_gem_obj, so use drm_gem_cma_object inste

[v2, PATCH 0/2] add Ethernet driver support for mt2712

2018-10-28 Thread Biao Huang
The mt2712 Ethernet IP is from Synopsys, so extend stmmac to support mt2712.

[PATCH 2/2] dt-binding: mediatek-dwmac: add binding document for MediaTek MT2712 DWMAC

2018-10-28 Thread Biao Huang
The commit adds the device tree binding documentation for the MediaTek DWMAC found on MediaTek MT2712. Signed-off-by: Biao Huang --- .../devicetree/bindings/net/mediatek-dwmac.txt | 49 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindi

[PATCH 1/2] net:stmmac: dwmac-mediatek: add support for mt2712

2018-10-28 Thread Biao Huang
Add Ethernet support for MediaTek SoCs from the mt2712 family Signed-off-by: Biao Huang --- drivers/net/ethernet/stmicro/stmmac/Kconfig|8 + drivers/net/ethernet/stmicro/stmmac/Makefile |1 + .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 364 3

[PATCH v2 05/12] w1: use octal numbers instead of macros for file mode

2018-10-28 Thread Steffen Vogel
This satifies a warning raised by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 184df1fe216b..a8ead2350521 100644 --- a/drivers/w1/w1.c +

[PATCH v2 09/12] w1: using linux instead of asm prefix for includes

2018-10-28 Thread Steffen Vogel
This fixes a warning raised by the checkpatch tool Signed-off-by: Steffen Vogel --- drivers/w1/w1_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c index 688778cccf65..65384b332a5a 100644 --- a/drivers/w1/w1_io.c +++ b/drivers/w1/w1_

[PATCH v2 02/12] w1: improve code-style by adhering tp 80 columns per line limit

2018-10-28 Thread Steffen Vogel
Furthermore indentation of broken lines has been fixed. This fixes several warnings raised by the checkpatch.pl script. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 160 +++- drivers/w1/w1_family.c | 2 +- drivers/w1/w1_int.c | 15

[PATCH v2 06/12] w1: do not log errors about failed memory allocations

2018-10-28 Thread Steffen Vogel
This fixes a warning raised by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 7 +-- drivers/w1/w1_int.c | 6 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index a8ead2350521..cbfc3f7012de 100644 --- a/dr

[PATCH v2 07/12] w1: use __func__ for logging the function name

2018-10-28 Thread Steffen Vogel
This fixes a warning raised by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 5 +++-- drivers/w1/w1_int.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index cbfc3f7012de..4cbe1849fbfc 100644 --- a/drivers/w

[PATCH v2 11/12] w1: replace non-standard %LX format-string by %llX

2018-10-28 Thread Steffen Vogel
As indicated by checkpatch.pl script. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 87094d99ccbe..1326bd52888a 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -636,7 +636,7 @@ sta

Re: [PATCH V2 1/3] blk-mq: refactor the code of issue request directly

2018-10-28 Thread Ming Lei
On Sat, Oct 27, 2018 at 12:01:09AM +0800, Jianchao Wang wrote: > Merge blk_mq_try_issue_directly and __blk_mq_try_issue_directly > into one interface which is able to handle the return value from > .queue_rq callback. Due to we can only issue directly w/o io > scheduler, so remove the blk_mq_get_dr

[GIT] Networking

2018-10-28 Thread David Miller
1) GRO overflow entries are not unlinked properly, resulting in list poison pointers being dereferenced. 2) Fix bridge build with ipv6 disabled, from Nikolay Aleksandrov. 3) Direct packet access and other fixes in BPF from Daniel Borkmann. 4) gred_change_table_def() gets passed the wrong po

Can VFIO pin only a specific region of guest mem when use pass through devices?

2018-10-28 Thread Simon Guo
Hi, I am using network device pass through mode with qemu x86(-device vfio-pci,host=:xx:yy.z) and “intel_iommu=on” in host kernel command line, and it shows the whole guest memory were pinned(vfio_pin_pages()), viewed by the “top” RES memory output. I understand it is due to device can DMA

RE: [PATCH 3/6] PCI: layerscape: Add the EP mode support

2018-10-28 Thread Xiaowei Bao
-Original Message- From: Li Yang Sent: 2018年10月27日 4:29 To: Xiaowei Bao Cc: Arnd Bergmann ; Rob Herring ; Bjorn Helgaas ; Mark Rutland ; Shawn Guo ; kis...@ti.com; lorenzo.pieral...@arm.com; Greg Kroah-Hartman ; M.h. Lian ; Mingkai Hu ; Roy Zang ; Kate Stewart ; cyrille.pitc...@fr

Re: [PATCHv2] mm/page_owner: use kvmalloc instead of kmalloc

2018-10-28 Thread Matthew Wilcox
On Mon, Oct 29, 2018 at 10:16:43AM +0800, miles.c...@mediatek.com wrote: > The kbuf used by page owner is allocated by kmalloc(), which means it > can use only normal memory and there might be a "out of memory" > issue when we're out of normal memory. > > Use kvmalloc() so we can also allocate kbu

RE: [PATCH] binder: ipc namespace support for android binder

2018-10-28 Thread 周威
>> Hi >> We are working for running android in container, but we found that binder >> is >> not isolated by ipc namespace. Since binder is a form of IPC and therefore >> should >> be tied to ipc namespace. With this patch, we can run more than one android >> container on one host. >> This pat

Re: [PATCH 0/9] Analogix ANX6345 RGB-(e)DP bridge support

2018-10-28 Thread Vasily Khoruzhick
On Thu, Oct 18, 2018 at 12:35 AM Icenowy Zheng wrote: > > This patchset brings the support for Analogix ANX6345 RGB-(e)DP bridge, > which is used by some Allwinner A64 laptops, such as Pinebook and Olimex > TERES-I. > > It reuses some definitions from the ANX78xx driver that already exists > in th

Re: [PATCH] ptp: drop redundant kasprintf() to create worker name

2018-10-28 Thread David Miller
From: Rasmus Villemoes Date: Fri, 26 Oct 2018 23:22:59 +0200 > Building with -Wformat-nonliteral, gcc complains > > drivers/ptp/ptp_clock.c: In function ‘ptp_clock_register’: > drivers/ptp/ptp_clock.c:239:26: warning: format not a string literal and no > format arguments [-Wformat-nonliteral] >

Re: linux-next: build failure in Linus' tree

2018-10-28 Thread David Miller
From: Linus Torvalds Date: Sun, 28 Oct 2018 15:45:16 -0700 > On Sun, Oct 28, 2018 at 3:35 PM Stephen Rothwell > wrote: >> >> After merging the origin tree, today's linux-next build (powerpc >> ppc64_defconfig) failed like this: > > linux-next is back! Wheee.. > >> 5a2de63fd1a5 ("bridge: do

[PATCHv2] mm/page_owner: use kvmalloc instead of kmalloc

2018-10-28 Thread miles.chen
From: Miles Chen The kbuf used by page owner is allocated by kmalloc(), which means it can use only normal memory and there might be a "out of memory" issue when we're out of normal memory. Use kvmalloc() so we can also allocate kbuf from normal/hihghmem on 32bit kernel. Clamp the kbuf size to

Re: bnx2: rx_fw_discards: BCM5716 sporadically drops packets when update to driver version 2.2.6

2018-10-28 Thread maowenan
Could anyone give some clues to address count of rx_fw_discards increasing issue? On 2018/10/26 11:15, maowenan wrote: > Hi, > > After I update version of bnx2 driver from 2.2.1 to 2.2.6, I find BCM5716 > sporadically drops packets, which > shows in rx_fw_discards. > C36-141-5:~ # ethtool -S

Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd

2018-10-28 Thread Kees Cook
On Fri, Oct 12, 2018 at 2:22 AM, Boris Brezillon wrote: > On Fri, 12 Oct 2018 11:19:52 +0200 > Arnd Bergmann wrote: > >> On Fri, Oct 12, 2018 at 11:16 AM Boris Brezillon >> wrote: >> > >> > Hi Arnd, >> > >> > On Wed, 10 Oct 2018 20:44:50 +0200 >> > Arnd Bergmann wrote: >> > >> > > Enabling -Wvl

linux-next: manual merge of the pm tree with the i2c tree

2018-10-28 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got conflicts in: drivers/i2c/busses/i2c-designware-baytrail.c drivers/i2c/busses/i2c-designware-core.h between commit: 9cbeeca05049 ("i2c: designware: Remove Cherry Trail PMIC I2C bus pm_disabled workaround") from the i2c tree and comm

Re: [PATCH 8/9] w1: fix whitespaces of struct declarations

2018-10-28 Thread Joe Perches
On Mon, 2018-10-29 at 03:02 +0100, Steffen Vogel wrote: > Hi Joe, > > v2 of this patch set is almost ready. > I reran checkpatch.pl with '--strict'. So more warnings will be fixed by > the second version. > > See my comments below. > > On Sun, Oct 28, 2018 at 06:52:23PM -0700, Joe Perches wrote:

Re: [PATCH 8/9] w1: fix whitespaces of struct declarations

2018-10-28 Thread Steffen Vogel
Hi Joe, v2 of this patch set is almost ready. I reran checkpatch.pl with '--strict'. So more warnings will be fixed by the second version. See my comments below. On Sun, Oct 28, 2018 at 06:52:23PM -0700, Joe Perches wrote: > On Sun, 2018-10-28 at 23:09 +0100, Steffen Vogel wrote: > > This fixes

linux-next: manual merge of the pm tree with Linus' tree

2018-10-28 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in: drivers/cpuidle/governors/menu.c between commit: 8508cf3ffad4 ("sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD") from Linus' tree and commit: a7fe5190c03f ("cpuidle: menu: Remove get_loadavg() from the per

Re: [PATCH] PCI: histb: constify dw_pcie_host_ops structure

2018-10-28 Thread Shawn Guo
On Sun, Oct 28, 2018 at 3:06 AM Julia Lawall wrote: > > The dw_pcie_host_ops structure is only stored in the ops field > of a pcie_port structure, and this field is const, so make the > dw_pcie_host_ops structure const as well. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall

Re: [PATCH 0/9 v3] locks: avoid thundering-herd wake-ups

2018-10-28 Thread NeilBrown
On Fri, Oct 26 2018, Jeff Layton wrote: > On Wed, 2018-10-24 at 09:43 +1100, NeilBrown wrote: >> This took longer that I had wanted, due to various reasons - sorry. >> And I'm now posting it in a merge window, which is not ideal. I don't >> expect it to be included in this merge window and I won'

Re: [PATCH 8/9] w1: fix whitespaces of struct declarations

2018-10-28 Thread Joe Perches
On Sun, 2018-10-28 at 23:09 +0100, Steffen Vogel wrote: > This fixes a warning raised by the checkpatch tool. checkpatch does not raise any whitespace errors on this file. It does suggest that braces could be moved. $ ./scripts/checkpatch.pl -f --strict drivers/w1/w1_netlink.h WARNING: Missing o

Re: [PATCH] arm64: dts: qcom: sdm845: Add reserve-memory nodes

2018-10-28 Thread Bjorn Andersson
On Fri 26 Oct 05:27 PDT 2018, Sibi Sankar wrote: > Add reserve-memory nodes for mpss and mba required for > remoteproc mss pil. > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++ > 1 file changed, 10 inser

Re: linux-next: build failure in Linus' tree

2018-10-28 Thread Hangbin Liu
On Sun, Oct 28, 2018 at 03:45:16PM -0700, Linus Torvalds wrote: > On Sun, Oct 28, 2018 at 3:35 PM Stephen Rothwell > wrote: > > > > After merging the origin tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > linux-next is back! Wheee.. > > > 5a2de63fd1a5 ("brid

Re: [PATCH] arm64: dts: qcom: sdm845: Add PDC Global reset driver node

2018-10-28 Thread Bjorn Andersson
On Fri 26 Oct 05:26 PDT 2018, Sibi Sankar wrote: > This patch adds the node to support PDC Global reset driver on > SDM845 SoCs > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 7 +++ > 1 file changed, 7 insertions

Re: [PATCH] arm64: dts: qcom: sdm845: Add SCM DT node

2018-10-28 Thread Bjorn Andersson
On Fri 26 Oct 05:25 PDT 2018, Sibi Sankar wrote: > Add SCM DT node to enable SCM functionality on SDM845. > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/a

Re: XFS: Hang and dmesg flood on mounting invalid FS image

2018-10-28 Thread Dave Chinner
On Sun, Oct 28, 2018 at 08:50:46PM +0300, Anatoly Trosinenko wrote: > Hello, > > When mounting a broken XFS image, the kernel hangs and floods dmesg > with stack traces. How did the corruption occur? $ sudo xfs_logprint -d /dev/vdc xfs_logprint: data device: 0xfd20 log device: 0xfd20 dad

Re: w1: coding style and checkpatch fixes

2018-10-28 Thread Linus Torvalds
On Sun, Oct 28, 2018 at 5:30 PM Steffen Vogel wrote: > > For those who are interested. Rspamd, by default, includes the sender > address into the list of signed headers: Ugh. That's just broken. > There is RFC6377 which discusses this problem. On possible solution is > a mailing list service whi

linux-next: manual merge of the vfs tree with the nfsd tree

2018-10-28 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: net/sunrpc/svcsock.c between commit: 64dbf4dc5496 ("SUNRPC: Simplify TCP receive code") from the nfsd tree and commit: aa563d7bca6e ("iov_iter: Separate type from direction and use accessor functions") from the vfs tre

Re: [RFR] Store tearing

2018-10-28 Thread Paul E. McKenney
On Mon, Oct 29, 2018 at 12:10:03AM +0100, Andrea Parri wrote: > Hopefully, with Paul's proper email address this time, > > Andrea > > On Mon, Oct 29, 2018 at 12:06:27AM +0100, Andrea Parri wrote: > > Hi, > > > > memory-barriers.txt says: > > > > [on "store tearing"] > > > > "In fact, a r

linux-next: manual merge of the vfs tree with the ceph tree

2018-10-28 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/ceph/file.c between commit: fce7a9744bdf ("ceph: refactor ceph_sync_read()") from the ceph tree and commit: 00e23707442a ("iov_iter: Use accessor function") from the vfs tree. I fixed it up (see below) and can carry

Re: [RFC] rcu: doc: update example about stale data

2018-10-28 Thread Joel Fernandes
On Sun, Oct 28, 2018 at 10:21:42AM -0700, Paul E. McKenney wrote: > On Sat, Oct 27, 2018 at 07:16:53PM -0700, Joel Fernandes (Google) wrote: > > The RCU example for 'rejecting stale data' on system-call auditting > > stops iterating through the rules if a deleted one is found. It makes > > more sen

Re: [PATCH 6/8] clk: s2mps11: constify clk_ops structure

2018-10-28 Thread Chanwoo Choi
On 2018년 10월 27일 14:47, Julia Lawall wrote: > The clk_ops structure is only stored in the ops fields of > clk_init_data structures. This field is const, so the clk_ops > structure can be const as well. > > Identified and transformed using Coccinelle. > > Signed-off-by: Julia Lawall > > --- >

Re: w1: coding style and checkpatch fixes

2018-10-28 Thread Steffen Vogel
Hi Linus, Thanks! Its hopefully fixed now. For those who are interested. Rspamd, by default, includes the sender address into the list of signed headers: https://www.rspamd.com/doc/modules/dkim_signing.html#default-sign_headers-after-173 > End result: the DKIM signature is guaranteed to fail aft

linux-next: manual merge of the arm-soc tree with Linus' tree

2018-10-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in: include/linux/platform_data/gpio-omap.h between commit: b764a5863fd8 ("gpio: omap: Remove custom PM calls and use cpu_pm instead") from Linus' tree and commit: 26683316c92a ("ARM: OMAP1: ams-delta-fiq: Use ") from

Re: [RFR] Store tearing

2018-10-28 Thread Andrea Parri
Hopefully, with Paul's proper email address this time, Andrea On Mon, Oct 29, 2018 at 12:06:27AM +0100, Andrea Parri wrote: > Hi, > > memory-barriers.txt says: > > [on "store tearing"] > > "In fact, a recent bug (since fixed) caused GCC to incorrectly use >this optimization in a vola

linux-next: manual merge of the arm-soc tree with Linus' tree

2018-10-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in: drivers/soc/qcom/Kconfig between commit: a978a5b8d83f ("net/kconfig: Make QCOM_QMI_HELPERS available when COMPILE_TEST") from Linus' tree and commit: ccfb464cd106 ("soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfig

[RFR] Store tearing

2018-10-28 Thread Andrea Parri
Hi, memory-barriers.txt says: [on "store tearing"] "In fact, a recent bug (since fixed) caused GCC to incorrectly use this optimization in a volatile store.". I was wondering if you could help me retrieve some reference/discussions about this? Thanks, Andrea

Re: [PATCH 2/9] w1: improve coding style by following strict 80 column line limit

2018-10-28 Thread Joe Perches
On Sun, 2018-10-28 at 23:09 +0100, Steffen Vogel wrote: > This satisfies a checkpatch warning Perhaps run your patches through checkpatch with --strict > diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c [] > @@ -85,7 +85,8 @@ static void w1_slave_release(struct device *dev) > sl->master->slav

Re: w1: coding style and checkpatch fixes

2018-10-28 Thread Linus Torvalds
[ This is not about your patch series per se, only about your email settings ] On Sun, Oct 28, 2018 at 3:20 PM Steffen Vogel wrote: > > This is my first series of patches for the Linux kernel. > I started by familiarizing myself with coding style and > satisfying my inner OCD by cleaning the 1-wi

Re: linux-next: build failure in Linus' tree

2018-10-28 Thread Linus Torvalds
On Sun, Oct 28, 2018 at 3:35 PM Stephen Rothwell wrote: > > After merging the origin tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: linux-next is back! Wheee.. > 5a2de63fd1a5 ("bridge: do not add port to router list when receives query > with source 0.0.0.0") Da

linux-next: build failure in Linus' tree

2018-10-28 Thread Stephen Rothwell
Hi Linus, After merging the origin tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/net/ethernet/mellanox/mlx4/en_rx.c:582:18: warning: 'struct iphdr' declared inside parameter list will not be visible outside of this definition or declaration struct

Re: [PATCH 0/9 v3] locks: avoid thundering-herd wake-ups

2018-10-28 Thread NeilBrown
On Fri, Oct 26 2018, Jeff Layton wrote: > On Wed, 2018-10-24 at 09:43 +1100, NeilBrown wrote: >> This took longer that I had wanted, due to various reasons - sorry. >> And I'm now posting it in a merge window, which is not ideal. I don't >> expect it to be included in this merge window and I won'

linux-next: build failure in Linus' tree

2018-10-28 Thread Stephen Rothwell
Hi Linus, After merging the origin tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: net/bridge/br_multicast.c: In function 'br_multicast_query_received': net/bridge/br_multicast.c:1432:32: error: 'union ' has no member named 'ip6'; did you mean 'ip4'? !ipv6_addr_

Re: [PATCH v2 0/2] i2c-omap: Enable i2c-omap driver for AM654 SoCs

2018-10-28 Thread Wolfram Sang
On Sat, Oct 20, 2018 at 01:23:40PM +0530, Vignesh R wrote: > > > On 28-Sep-18 10:55 AM, Vignesh R wrote: > > Couple of patches to enable i2c-omap driver to be used with TI's new > > AM654 platforms. > > > > > > Vignesh R (2): > > dt-bindings: i2c-omap: Add new compatible for AM654 SoCs > >

Re: [PATCH 2/2] i2c: Clear client->irq in i2c_device_remove

2018-10-28 Thread Wolfram Sang
On Fri, Oct 19, 2018 at 09:59:58AM +0100, Charles Keepax wrote: > The IRQ will be mapped in i2c_device_probe only if client->irq is zero and > i2c_device_remove does not clear this. When rebinding an I2C device, > whos IRQ provider has also been rebound this means that an IRQ mapping > will never b

Re: [PATCH 1/2] i2c: Remove unnecessary call to irq_find_mapping

2018-10-28 Thread Wolfram Sang
On Fri, Oct 19, 2018 at 09:59:57AM +0100, Charles Keepax wrote: > irq_create_mapping calls irq_find_mapping internally and will use the > found mapping if one exists, so there is no need to manually call this > from i2c_smbus_host_notify_to_irq. > > Signed-off-by: Charles Keepax Adding Benjamin

[PATCH 8/9] w1: fix whitespaces of struct declarations

2018-10-28 Thread Steffen Vogel
This fixes a warning raised by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1_netlink.h | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/w1/w1_netlink.h b/drivers/w1/w1_netlink.h index 08cbf08f3649..7873eb54352e 10064

[PATCH 5/9] w1: use octal numbers instead of macros for file mode

2018-10-28 Thread Steffen Vogel
This satifies a warning raised by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index f64da16dbec9..bad2ee26cd4e 100644 --- a/drivers/w1/w1.c +

[PATCH 9/9] w1: using linux instead of asm prefix for includes

2018-10-28 Thread Steffen Vogel
This fixes a warning raised by the checkpatch tool Signed-off-by: Steffen Vogel --- drivers/w1/w1_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c index 283c89708c7c..b18d82cde71e 100644 --- a/drivers/w1/w1_io.c +++ b/drivers/w1/w1_

[PATCH 4/9] w1: cleanup whitespaces according to coding style document

2018-10-28 Thread Steffen Vogel
These changes fix several warnings emitted by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 20 +--- drivers/w1/w1_family.c | 2 +- drivers/w1/w1_io.c | 17 + drivers/w1/w1_netlink.c | 2 +- 4 files changed, 20 insertions(

[PATCH 7/9] w1: use __func__ for logging the function name

2018-10-28 Thread Steffen Vogel
This fixes a warning raised by the checkpatch tool. Signed-off-by: Steffen Vogel --- drivers/w1/w1.c | 3 ++- drivers/w1/w1_int.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index e8ce97e066ec..c790c79352a0 100644 --- a/drivers/w1/

  1   2   3   >