Re: [PATCH v4 2/2] dt-bindings: pinctrl: qcom: Add SDM660 pinctrl binding

2018-10-02 Thread Linus Walleij
On Wed, Sep 26, 2018 at 6:26 PM Craig Tatlor wrote: > Add the binding for the TLMM pinctrl block found in the SDM660 platform. > > Signed-off-by: Craig Tatlor > --- > Changes from v3: >Updated for tile structure >change irq field This v3 applied with the ACKs. Yours, Linus Walleij

Re: [PATCH 1/4] mm/hugetlb: Enable PUD level huge page migration

2018-10-02 Thread Michal Hocko
On Wed 03-10-18 07:46:27, Anshuman Khandual wrote: > > > On 10/02/2018 06:09 PM, Michal Hocko wrote: > > On Tue 02-10-18 17:45:28, Anshuman Khandual wrote: > >> Architectures like arm64 have PUD level HugeTLB pages for certain configs > >> (1GB huge page is PUD based on ARM64_4K_PAGES base page s

Re: [PATCH] clocksource/drivers/fttmr010: fix invalid interrupt register access

2018-10-02 Thread Linus Walleij
On Wed, Oct 3, 2018 at 12:08 AM Tao Ren wrote: > 1) adding "is_aspeed" flag. "count_down" is kept because potentially > faraday-fttmr could also be configured as count_down timer (although I don't > see any reason to do so). > 2) renaming "count_down" to "is_aspeed". By doing this, we s

Re: linux-next: occassional build errors

2018-10-02 Thread Stephen Rothwell
Hi Masahiro, On Wed, 3 Oct 2018 13:31:54 +0900 Masahiro Yamada wrote: > > On Wed, Oct 3, 2018 at 12:51 PM Stephen Rothwell > wrote: > > > > I don't know if that has anything to changes in the kbuild system, but > > since Tuesday, I have been getting random build errors that go away after > > I

Re: [PATCH 2/2] tty: wipe buffer if not echoing data

2018-10-02 Thread Milan Broz
On 02/10/2018 19:17, Greg Kroah-Hartman wrote: > From: Greg KH > > If we are not echoing the data to userspace, then perhaps it is a > "secret" so we should wipe it once we are done with it. Just to explain our test case for cryptsetup, where aszlig initially reported it: cryptsetup reads a pa

Re: [PATCH v6 0/3] Add a kernel parameter to change the padding size for KASLR

2018-10-02 Thread Ingo Molnar
* Masayoshi Mizuma wrote: > This patch series are adding an kernel parameter to change > the padding size used for KASLR. It is useful for memory hotplug > capable system. User can adjust the padding size to use it. > > It is better if the padding size is calculated automatically, > however, A

Re: [PATCH 1/3] x86/intel_rdt: Introduce utility to obtain CDP peer

2018-10-02 Thread Thomas Gleixner
On Wed, 26 Sep 2018, Reinette Chatre wrote: > + * Return: 0 if a CDP peer was found, <0 on error or if no CDP peer exists. > + * If a CDP peer was found, @r_cdp will point to the peer RDT > resource > + * and @d_cdp will point to the peer RDT domain. > + */ > +static int __attribut

[tip:x86/urgent] x86/cpu/amd: Remove unnecessary parentheses

2018-10-02 Thread tip-bot for Nathan Chancellor
Commit-ID: 88296bd42b4e9d24e138a68b337c235b5cac89a7 Gitweb: https://git.kernel.org/tip/88296bd42b4e9d24e138a68b337c235b5cac89a7 Author: Nathan Chancellor AuthorDate: Tue, 2 Oct 2018 15:45:11 -0700 Committer: Ingo Molnar CommitDate: Wed, 3 Oct 2018 08:27:47 +0200 x86/cpu/amd: Remove unn

[tip:x86/urgent] x86/vdso: Only enable vDSO retpolines when enabled and supported

2018-10-02 Thread tip-bot for Andy Lutomirski
Commit-ID: 4f166564014aba65ad6f15b612f6711fd0f117ee Gitweb: https://git.kernel.org/tip/4f166564014aba65ad6f15b612f6711fd0f117ee Author: Andy Lutomirski AuthorDate: Tue, 2 Oct 2018 21:26:50 -0700 Committer: Ingo Molnar CommitDate: Wed, 3 Oct 2018 08:26:14 +0200 x86/vdso: Only enable vDS

Re: [PATCH 2/2] clk: qcom: gcc: Add global clock controller driver for QCS404

2018-10-02 Thread Vinod
Hi Stephen, Thanks for the comments, On 01-10-18, 10:19, Stephen Boyd wrote: > Quoting Vinod Koul (2018-09-21 11:59:36) > > From: Shefali Jain > > > > Add the clocks supported in global clock controller which clock the > > peripherals like BLSPs, SDCC, USB, MDSS etc. Register all the clocks > >

Re: Setting monotonic time?

2018-10-02 Thread Thomas Gleixner
On Wed, 3 Oct 2018, Thomas Gleixner wrote: > On Wed, 3 Oct 2018, Eric W. Biederman wrote: > > Direct access to hardware/drivers and not through an abstraction like > > the vfs (an abstraction over block devices) can legitimately be handled > > by hotplug events. I unplug one keyboard I plug in ano

Re: Setting monotonic time?

2018-10-02 Thread Eric W. Biederman
Thomas Gleixner writes: > On Wed, 3 Oct 2018, Eric W. Biederman wrote: >> Direct access to hardware/drivers and not through an abstraction like >> the vfs (an abstraction over block devices) can legitimately be handled >> by hotplug events. I unplug one keyboard I plug in another. >> >> I don't

Re: [PATCH] perf/x86/intel: Add counter freezing quirk for Goldmont

2018-10-02 Thread Thomas Gleixner
On Tue, 2 Oct 2018, kan.li...@linux.intel.com wrote: > +static bool intel_atom_v4_counter_freezing_broken(int cpu) > { > u32 rev = UINT_MAX; /* default to broken for unknown stepping */ > > - switch (cpu_data(cpu).x86_stepping) { > - case 1: > - rev = 0x28; > + swit

Re: [RFC v2 v2 1/1] ns: add binfmt_misc to the mount namespace

2018-10-02 Thread Eric W. Biederman
Laurent Vivier writes: > This patch allows to have a different binftm_misc configuration > in each container we mount binfmt_misc filesystem with mount namespace > enabled. > > A container started without the CLONE_NEWNS will use the host binfmt_misc > configuration, otherwise the container start

Re: [PATCH 15/16] apparmor: Replace spin_is_locked() with lockdep

2018-10-02 Thread John Johansen
On 10/02/2018 10:39 PM, Lance Roy wrote: > lockdep_assert_held() is better suited to checking locking requirements, > since it won't get confused when someone else holds the lock. This is > also a step towards possibly removing spin_is_locked(). > > Signed-off-by: Lance Roy > Cc: John Johansen >

[PATCH 01/16] x86/PCI: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Bjorn Helgaas Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Pet

[PATCH 10/16] userfaultfd: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Alexander Viro Cc: --- fs/userfaultfd.c | 2 +- 1 file changed, 1

Re: [PATCH 3/4] infiniband/mm: convert to the new put_user_page() call

2018-10-02 Thread John Hubbard
On 10/1/18 7:35 AM, Dennis Dalessandro wrote: > On 9/28/2018 11:12 PM, John Hubbard wrote: >> On 9/28/18 8:39 AM, Jason Gunthorpe wrote: >>> On Thu, Sep 27, 2018 at 10:39:47PM -0700, john.hubb...@gmail.com wrote: From: John Hubbard >> [...] diff --git a/drivers/infiniband/core/umem.

Using lockdep instead of spin_is_locked()

2018-10-02 Thread Lance Roy
One of the main uses of spin_is_locked() is to require that a lock is held when a function is called, for debugging, but lockdep_assert_held() is better for this purpose since it won't make a mistake when someone else is holding the lock. This patch series replaces all of this kind of use of spin_i

[PATCH 08/16] wireless: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Daniel Drake Cc: Ulrich Kunitz Cc: Kalle Valo Cc: "David S. Miller

[PATCH 14/16] netfilter: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Pablo Neira Ayuso Cc: Jozsef Kadlecsik Cc: Florian Westphal Cc: "D

[PATCH 04/16] i40e: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Jeff Kirsher Cc: "David S. Miller" Cc: intel-wired-...@lists.osuosl

Re: [PATCH] regulator/mfd: fix pointer-to-int cast

2018-10-02 Thread Matti Vaittinen
Hello Arnd, On Tue, Oct 02, 2018 at 11:07:32PM +0200, Arnd Bergmann wrote: > gcc points out that a pointer is longer than an int on 64-bit > architectures, and that casting between the two may be dangerous: > > drivers/mfd/rohm-bd718x7.c: In function 'bd718xx_i2c_probe': > drivers/mfd/rohm-bd718x

[PATCH 03/16] sgi-xp: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Cliff Whickman Cc: Robin Holt Cc: Arnd Bergmann Cc: Greg Kroah-Har

[PATCH 12/16] locking/mutex: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon --- kernel/locking

[PATCH 07/16] smsc: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Steve Glendinning Cc: "David S. Miller" Cc: --- drivers/net/ether

[PATCH 02/16] hv_balloon: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemminger Cc: --

[PATCH 11/16] futex: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Darren Hart

[PATCH 13/16] mm: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Andrew Morton Cc: "Kirill A. Shutemov" Cc: Yang Shi Cc: Matthew Wi

[PATCH 15/16] apparmor: Replace spin_is_locked() with lockdep

2018-10-02 Thread Lance Roy
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: John Johansen Cc: James Morris Cc: "Serge E. Hallyn" Cc: --- sec

linux-next: manual merge of the devicetree tree with the c6x tree

2018-10-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: arch/c6x/kernel/setup.c between commit: 31b02fe54206 ("c6x: switch to NO_BOOTMEM") from the c6x tree and commit: be7cd2df1d22 ("c6x: use common built-in dtb support") from the devicetree tree. I fixed it up (se

Re: Setting monotonic time?

2018-10-02 Thread Thomas Gleixner
On Wed, 3 Oct 2018, Eric W. Biederman wrote: > Direct access to hardware/drivers and not through an abstraction like > the vfs (an abstraction over block devices) can legitimately be handled > by hotplug events. I unplug one keyboard I plug in another. > > I don't know if the input layer is more

Re: [PATCH] cpufreq: dt-platdev: mark RK3399 as having separate policies per cluster

2018-10-02 Thread Dmitry Torokhov
On Tue, Oct 2, 2018 at 9:41 PM Viresh Kumar wrote: > > On 01-10-18, 13:21, Dmitry Torokhov wrote: > > RK3399 has one cluster with 4 small cores, and another one with 2 big > > cores, with cores in different clusters having different OPPs and thus > > different policies. Let's enable this via "have

[PATCH] stm class: fix a missing-check bug

2018-10-02 Thread Wenwen Wang
In stm_char_policy_set_ioctl(), the 'size' field of the struct 'stp_polic_id' is firstly copied from the user space and then checked, because the length of the 'id' field in this struct, which represents an identification string, is not fixed. If the 'size' field cannot pass the check, an error cod

Re: Setting monotonic time?

2018-10-02 Thread Eric W. Biederman
Thomas Gleixner writes: > On Tue, 2 Oct 2018, Arnd Bergmann wrote: >> On Mon, Oct 1, 2018 at 8:53 PM Thomas Gleixner wrote: >> > >> > On Mon, 1 Oct 2018, Eric W. Biederman wrote: >> > > In the context of process migration there is a simpler subproblem that I >> > > think it is worth exploring if

Re: [PATCH] cpufreq: dt-platdev: mark RK3399 as having separate policies per cluster

2018-10-02 Thread Viresh Kumar
On 01-10-18, 13:21, Dmitry Torokhov wrote: > RK3399 has one cluster with 4 small cores, and another one with 2 big > cores, with cores in different clusters having different OPPs and thus > different policies. Let's enable this via "have_governor_per_policy" > platform data. The policies are alway

Re: linux-next: occassional build errors

2018-10-02 Thread Masahiro Yamada
uild again. I have no idea. Is it fine if you use kbuild tree from the last week? I added 4 kbuild patches this week, but they look irrelevant. masahiro@pug:~/ref/linux-next$ git log --oneline next-20180928..next-20181002 | grep kbuild 4712eca8 Merge remote-tracking branch 'kbuild/fo

Re: [PATCH 4.14 114/165] x86/vdso: Fix vDSO build if a retpoline is emitted

2018-10-02 Thread Andy Lutomirski
On Tue, Oct 2, 2018 at 1:21 AM Nikola Ciprich wrote: > > Hi Greg and others, > > sorry for reporting this so late, but still... > > this breaks build on older compilers, since it requires > -mindirect-branch=thunk-inline -mindirect-branch-register even though > retpoline support is disabled in ker

[PATCH] x86/vdso: Only enable vDSO retpolines when enabled and supported

2018-10-02 Thread Andy Lutomirski
When I fixed the vDSO build to use inline retpolines, I messed up the Makefile logic and made it unconditional. It should have depended on CONFIG_RETPOLINE and on the availability of compiler support. This broke the build on some older compilers. Fixes: 2e549b2ee0e3 ("x86/vdso: Fix vDSO build if

linux-next: occassional build errors

2018-10-02 Thread Stephen Rothwell
Hi Masahiro, I don't know if that has anything to changes in the kbuild system, but since Tuesday, I have been getting random build errors that go away after I remove the object directory and build again. The latest example is this: include/linux/kconfig.h: file not recognized: file format not r

Re: [PATCH] perf record: use unmapped IP for inline callchain cursors

2018-10-02 Thread Ravi Bangoria
On 10/02/2018 09:02 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 02, 2018 at 09:39:49AM +0200, Milian Wolff escreveu: >> Only use the mapped IP to find inline frames, but keep >> using the unmapped IP for the callchain cursor. This >> ensures we properly show the unmapped IP when displaying

Re: [PATCH v3 5/5] RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap

2018-10-02 Thread Zong Li
Christoph Hellwig 於 2018年10月2日 週二 下午10:51寫道: > > On Tue, Oct 02, 2018 at 04:52:31PM +0800, Zong Li wrote: > > From: Vincent Chen > > > > For 32bit, the upper 32-bit of phys_addr_t will be flushed to zero > > after AND with PAGE_MASK because the data type of PAGE_MASK is > > unsigned long. To fix

[PATCH v4 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-10-02 Thread Zong Li
Add umoddi3 and udivmoddi4 support for 32-bit. The RV32 need the umoddi3 to do modulo when the operands are long long type, like other libraries implementation such as ucmpdi2, lshrdi3 and so on. I encounter the undefined reference 'umoddi3' when I use the in house dma driver, although it is in h

[PATCH v4 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32

2018-10-02 Thread Zong Li
On RV32, it will use the __umoddi3. Select GENERIC_LIB_UMODDI3 to avoid undefined reference. Signed-off-by: Zong Li --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index a344980..dc262fa 100644 --- a/arch/riscv/Kconfig +++ b/arch

[PATCH v4 1/5] RISC-V: Build tishift only on 64-bit

2018-10-02 Thread Zong Li
Only RV64 supports 128 integer size. Signed-off-by: Zong Li --- arch/riscv/lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index 445ec84..5739bd0 100644 --- a/arch/riscv/lib/Makefile +++ b/arch/riscv/lib/Makefil

[PATCH v4 0/5] Fix some bugs on RV32 build fail and issue

2018-10-02 Thread Zong Li
This patches contain the modificaion as follows: 1. Fix up the building fail on RV32. 2. Add umoddi3 and udivmoddi4 functions for RV32. 3. Fix ioremap problem on RV32. Thanks all for review these code and modify the copyright description. Changes in v4: - Retain the complete copyright descriptio

[PATCH v4 2/5] RISC-V: Add preprocessor directive for swiotlb

2018-10-02 Thread Zong Li
On RV32, it doesn't select the SWIOTLB, only RV64 support swiotlb now. Signed-off-by: Zong Li --- arch/riscv/kernel/setup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c index aee6031..6de6584 100644 --- a/arch/riscv/kernel/setup.c +

[PATCH v4 5/5] RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap

2018-10-02 Thread Zong Li
From: Vincent Chen For 32bit, the upper 32-bit of phys_addr_t will be flushed to zero after AND with PAGE_MASK because the data type of PAGE_MASK is unsigned long. To fix this problem, the page alignment is done by subtracting the page offset instead of AND with PAGE_MASK. Signed-off-by: Vincent

Re: [ftrace/kprobes PATCH 0/3] tracing: probeevent: Fix module symbol probing

2018-10-02 Thread Steven Rostedt
On Mon, 1 Oct 2018 11:48:55 -0400 Steven Rostedt wrote: > On Thu, 27 Sep 2018 19:48:58 +0900 > Masami Hiramatsu wrote: > > > Hello Steve, > > > > Could you also include this series to the branch? > > > > Hi Masami, > > I just came back from Embedded / Kernel Recipes, I'll look at these >

Re: rcu: Kernel stack is corrupted in: perf_trace_rcu_dyntick

2018-10-02 Thread Steven Rostedt
On Sat, 29 Sep 2018 17:22:13 +0800 王晓东 wrote: > Hi there, > > We would like to report a kernel stack corrupted problem we identified > in the perf_trace_rcu_dyntick function of tracing events subsystem. > And the problem was founded by syzkaller. We has tested the PoC on > the lasted master bra

Re: [PATCH] ARM: dts: imx6sx-sdb: Fix enet phy regulator

2018-10-02 Thread Fabio Estevam
Hi Leonard, On Tue, Oct 2, 2018 at 3:42 PM Leonard Crestez wrote: > @@ -371,10 +372,12 @@ > MX6SX_PAD_RGMII1_RD1__ENET1_RX_DATA_1 0x3081 > MX6SX_PAD_RGMII1_RD2__ENET1_RX_DATA_2 0x3081 > MX6SX_PAD_

Re: [PATCH] fs/ext4: Convert fault handler to use vm_fault_t type

2018-10-02 Thread Theodore Y. Ts'o
On Mon, Sep 10, 2018 at 09:16:12PM +0530, Souptick Joarder wrote: > Return type of ext4_page_mkwrite and ext4_filemap_fault are > changed to use vm_fault_t type. > > With this patch all the callers of block_page_mkwrite_return() > are changed to handle vm_fault_t. So converting the return type > o

Re: [PATCH 1/4] mm/hugetlb: Enable PUD level huge page migration

2018-10-02 Thread Anshuman Khandual
On 10/02/2018 06:09 PM, Michal Hocko wrote: > On Tue 02-10-18 17:45:28, Anshuman Khandual wrote: >> Architectures like arm64 have PUD level HugeTLB pages for certain configs >> (1GB huge page is PUD based on ARM64_4K_PAGES base page size) that can be >> enabled for migration. It can be achieved

Re: [GIT PULL] ARM: dts: uniphier: UniPhier DT updates for v4.20

2018-10-02 Thread Masahiro Yamada
Hi Arnd, Olof, Please hold on. I've received a little more patches. I will queue up them, and send a respin later on. Thanks. On Wed, Oct 3, 2018 at 8:47 AM Masahiro Yamada wrote: > > Hi Arnd, Olof, > > Please pull UniPhier DT updates for the v4.20 MW. > > In this cycle, I queued up all arm

Urgent,

2018-10-02 Thread Juliet Muhammad
Hello Please i still await your response regarding my previous email.

Re: [PATCH v3 3/3] iio: magnetometer: Add driver support for PNI RM3100

2018-10-02 Thread Phil Reid
G'day Song, Noticed a one more thing below On 2/10/2018 10:38 PM, Song Qiang wrote: PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with a MagI2C interface. Following functions are available: - Single-shot measurement fr

Urgent,

2018-10-02 Thread Juliet Muhammad
Hello Please i still await your response regarding my previous email.

Re: [PATCH v3 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-10-02 Thread Zong Li
Palmer Dabbelt 於 2018年10月2日 週二 下午11:02寫道: > > On Tue, 02 Oct 2018 07:50:41 PDT (-0700), Christoph Hellwig wrote: > >> The udivmoddi4 and umoddi3 are copies from libgcc in gcc. There are other > >> functions use the udivmoddi4 in libgcc, so I separate the umoddi3 and > >> udivmoddi4 for flexible ex

[PATCH v6 3/3] Documentation/kernel-parameters.txt: Document rand_mem_physical_padding=

2018-10-02 Thread Masayoshi Mizuma
This kernel parameter allows the modification of the padding used for the physical memory mapping section when KASLR memory is enabled. For memory hotplug capable systems, the default padding size, CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING, may not be enough. The option is useful to adjust the pad

[PATCH v6 1/3] x86/mm: Add a kernel parameter to change the padding used for the physical memory mapping

2018-10-02 Thread Masayoshi Mizuma
If each node of physical memory layout has huge space for hotplug, the padding used for the physical memory mapping section is not enough. For exapmle of the layout: SRAT: Node 6 PXM 4 [mem 0x1000-0x13ff] hotplug SRAT: Node 7 PXM 5 [mem 0x1400-0x17ff] hotplug

[PATCH v6 0/3] Add a kernel parameter to change the padding size for KASLR

2018-10-02 Thread Masayoshi Mizuma
This patch series are adding an kernel parameter to change the padding size used for KASLR. It is useful for memory hotplug capable system. User can adjust the padding size to use it. It is better if the padding size is calculated automatically, however, ACPI SRAT is not available at the KASLR ini

[PATCH v6 2/3] ACPI/NUMA: Add warning message if the padding size for KASLR is not enough

2018-10-02 Thread Masayoshi Mizuma
Add warning message if the padding size for KASLR, rand_mem_physical_padding, is not enough. The message also says the suitable padding size. Signed-off-by: Masayoshi Mizuma --- drivers/acpi/numa.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/acpi/numa.c b/driver

Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-10-02 Thread Steven Rostedt
On Tue, 2 Oct 2018 17:15:17 -0700 Daniel Wang wrote: > On Tue, Oct 2, 2018 at 1:42 AM Petr Mladek wrote: > > > > Well, I still wonder why it helped and why you do not see it with 4.4. > > I have a feeling that the console owner switch helped only by chance. > > In fact, you might be affected by

Re: [PATCH v14 1/2] leds: core: Introduce LED pattern trigger

2018-10-02 Thread Baolin Wang
Hi Jacek, On 3 October 2018 at 04:25, Jacek Anaszewski wrote: > Hi Baolin, > > Thank you for the v14. We'll probably need v15, though :-) > > I added the comments in the code below. > > On 10/02/2018 05:43 PM, Baolin Wang wrote: >> This patch adds one new led trigger that LED device can configure

Urgent,

2018-10-02 Thread Juliet Muhammad
Hello Please i still await your response regarding my previous email.

Reminder,

2018-10-02 Thread Juliet Muhammad
Hello Please i still await your response regarding my previous email.

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

2018-10-02 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) failed like this: /home/sfr/next/next/fs/f2fs/super.c: In function 'f2fs_remount': /home/sfr/next/next/fs/f2fs/super.c:1589:16: error: 'MS_RDONLY' undeclared (first use in this function); did you mean 'IS_RDONLY'?

tracing child threads with address filtering using intel_pt

2018-10-02 Thread Mansour Alharthi
Hello all, I am having trouble tracing child threads when using address filtering with intel_pt .. Assume this test code: thread_start(){ ... test(); ... } test(){ printf("test"); } main(){ ... pthread_create(.., thread_start,); } Tracing the above program with the following command:

[PATCH 1/2] ARM: multi_v7_defconfig: enable CONFIG_MMC_UNIPHIER

2018-10-02 Thread Masahiro Yamada
Enable the UniPhier SD controller driver. Signed-off-by: Masahiro Yamada --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index fc33444..0d56568 100644 --- a/arch/arm/configs/mu

[PATCH 2/2] arm64: defconfig: enable CONFIG_MMC_UNIPHIER

2018-10-02 Thread Masahiro Yamada
Enable the UniPhier SD controller driver. Signed-off-by: Masahiro Yamada --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index db8d364..a15016e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/a

tracing child threads with address filtering using intel_pt pmu

2018-10-02 Thread Mansour Alharthi
Hello all, I am having trouble tracing child threads when using address filtering with intel_pt .. Assume this test code: thread_start(){ ... test(); ... } test(){ printf("test"); } main(){ ... pthread_create(.., thread_start,); } Tracing the above program with the following command

Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-10-02 Thread Daniel Wang
On Tue, Oct 2, 2018 at 1:42 AM Petr Mladek wrote: > > Well, I still wonder why it helped and why you do not see it with 4.4. > I have a feeling that the console owner switch helped only by chance. > In fact, you might be affected by a race in > printk_safe_flush_on_panic() that was fixed by the co

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

2018-10-02 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/f2fs/super.c between commit: f80f781514ef ("f2fs: checkpoint disabling") from the f2fs tree and commit: 307c6e5241b4 ("vfs: Require specification of size of mount data for internal mounts") from the vfs tree. I fix

Re: [PATCH] [v3] HID: add support for Apple Magic Trackpad 2

2018-10-02 Thread Peter Hutterer
On Tue, Oct 02, 2018 at 03:39:31PM -0700, Sean O'Brien wrote: > On Mon, Oct 1, 2018 at 1:43 AM Benjamin Tissoires > wrote: > > > > [adding Peter, for the libinput question] > > > > On Fri, Sep 21, 2018 at 1:13 AM Sean O'Brien wrote: > > > > > > USB device > > > Vendor 05ac (Apple) > > >

[PATCH] fat: Expand a slightly out-of-date comment

2018-10-02 Thread Mihir Mehta
The file namei.c seems to have been renamed to namei_msdos.c, so I decided to update the comment with the correct name, and expand it a bit to tell the reader what to look for. Signed-off-by: Mihir Mehta --- fs/fat/dir.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/f

[GIT PULL] ARM: dts: uniphier: UniPhier DT updates for v4.20

2018-10-02 Thread Masahiro Yamada
Hi Arnd, Olof, Please pull UniPhier DT updates for the v4.20 MW. In this cycle, I queued up all arm/arm64 changes into a single branch to avoid build errors. Thanks! The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) a

Re: [PATCH v2] perf: xgene: Add CPU hotplug support

2018-10-02 Thread Hoan Tran
Hi Mark, > On Oct 2, 2018, at 4:46 AM, Mark Rutland wrote: > > [NOTICE: This email originated from an external sender. Please be mindful of > safe email handling and proprietary information protection practices.] > ___

Sparse warnings from calls to max3() and max

2018-10-02 Thread Larry Finger
Hi, Sparse has suddenly started issuing as many as 11 warnings of "expression using sizeof(void)" for each call to max3(). There are similar warnings for calls to max(), thus I think this is the origin of the problem. My sparse version is 20180324-1.3-x86_64 installed in openSUSE Tumbleweed. M

Re: [RFC PATCH 03/10] arch/x86: Re-arrange RDT init code

2018-10-02 Thread Moger, Babu
Hi Reinette, Thanks for the review. My response below. On 10/02/2018 02:21 PM, Reinette Chatre wrote: > Hi Babu, > > On 9/24/2018 12:19 PM, Moger, Babu wrote: >> Re-organize the RDT init code. Separate the call sequence for each >> feature. That way, it is easy to call quirks or features separate

Re: general protection fault in rb_erase

2018-10-02 Thread Theodore Y. Ts'o
On Tue, Sep 25, 2018 at 04:44:03PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:846e8dd47c26 Merge tag 'scsi-fixes' of git://git.kernel.or.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15c874a140 > kernel

[PATCH 6/6] Staging: rts5208: xd.c: Fixed all braces issues of the file

2018-10-02 Thread Maxime Desroches
Fixed all the braces issues of the xd.c file Signed-off-by: Maxime Desroches --- drivers/staging/rts5208/xd.c | 232 ++- 1 file changed, 92 insertions(+), 140 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 261d868a3072

[PATCH 5/6] Staging: rts5208: spi.c: Fixed all braces issues of the file

2018-10-02 Thread Maxime Desroches
Fixed all the braces issues of the spi.c file Signed-off-by: Maxime Desroches --- drivers/staging/rts5208/spi.c | 153 +- 1 file changed, 59 insertions(+), 94 deletions(-) diff --git a/drivers/staging/rts5208/spi.c b/drivers/staging/rts5208/spi.c index 4675668ad9

[PATCH 3/6] Staging: rts5208: rtsx_scsi.c: Fixed all braces issues of the file

2018-10-02 Thread Maxime Desroches
Fixed all the braces issues of the rtsx_scsi.c file Signed-off-by: Maxime Desroches --- drivers/staging/rts5208/rtsx_scsi.c | 108 ++-- 1 file changed, 36 insertions(+), 72 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_scsi.c b/drivers/staging/rts5208/rtsx_scsi

[PATCH 4/6] Staging: rts5208: sd.c: Fixed all braces issues of the file

2018-10-02 Thread Maxime Desroches
Fixed all the braces issues of the sd.c file Signed-off-by: Maxime Desroches --- drivers/staging/rts5208/sd.c | 704 +-- 1 file changed, 268 insertions(+), 436 deletions(-) diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c index e7efa34195c

[PATCH 2/6] Staging: rts5208: rtsx_chip.c: Fixed all braces issues of the file

2018-10-02 Thread Maxime Desroches
Fixed all the braces issues of the rtsx_chip.c file Signed-off-by: Maxime Desroches --- drivers/staging/rts5208/rtsx_chip.c | 463 1 file changed, 199 insertions(+), 264 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_chip.c b/drivers/staging/rts5208/rtsx_ch

[PATCH 1/6] Staging: rts5208: rtsx_card.c: Fixed all braces issues of the file

2018-10-02 Thread Maxime Desroches
Fixed all the braces issues of the rtsx_card.c file Signed-off-by: Maxime Desroches --- drivers/staging/rts5208/rtsx_card.c | 96 +++-- 1 file changed, 37 insertions(+), 59 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_card.c b/drivers/staging/rts5208/rtsx_card

[PATCH v2 03/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_dev variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to move file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-of

[PATCH v2 01/15] platform: goldfish: pipe: Move the file-scope goldfish_interrupt_tasklet variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v2 02/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

Re: [PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace

2018-10-02 Thread leo . yan
On Tue, Oct 02, 2018 at 11:24:56AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Sep 29, 2018 at 03:39:03PM +0800, leo@linaro.org escreveu: > > On Fri, Sep 28, 2018 at 10:19:44AM -0700, Andi Kleen wrote: > > > > Seems to me, these two features are _NOT_ only benefit for intel_pt, > > > > oth

[PATCH 1/2] ARM: dts: uniphier: add SD/eMMC controller nodes

2018-10-02 Thread Masahiro Yamada
Add SD controller nodes for LD4, Pro4, sLD8, Pro5, and PXs2. This is also used as an eMMC controller for LD4, Pro4, and sLD8. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4-ref.dts | 4 +++ arch/arm/boot/dts/uniphier-ld4.dtsi| 34 + arch/arm/b

[PATCH 2/2] arm64: dts: uniphier: add SD controller nodes

2018-10-02 Thread Masahiro Yamada
Add SD controller nodes for LD20 and PXs3. LD20 does not support the UHS mode, while PXs3 supports it. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi| 14 ++ arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts | 4 arch/arm64/boot/dts/s

Re: [PATCH 1/2] mmc: tmio: move MFD variant reset to a platform hook

2018-10-02 Thread Wolfram Sang
Hi Yamada-san, On Mon, Oct 01, 2018 at 09:31:01PM +0900, Masahiro Yamada wrote: > CTL_RESET_SDIO register is specific to the TMIO MFD (tmio_mmc.c). > > Add a new hook host->reset for performing a platform-specific reset > sequence, and move CTL_RESET_SDIO over there. > > Signed-off-by: Masahiro

Re: [PATCHv1 00/14] power: supply: Fix custom sysfs attribute registration

2018-10-02 Thread Greg Kroah-Hartman
On Mon, Oct 01, 2018 at 12:03:35AM +0200, Sebastian Reichel wrote: > Hi, > > Udev may not detect sysfs attributes, that have been added > after the device has been created. Code doing that is racy [0]. > The power-supply class properly registers its attributes > when the device is created, but som

Re: [PATCH] misc: cxl: Move a deference below a NULL test

2018-10-02 Thread Greg KH
On Wed, Sep 26, 2018 at 07:41:12PM +0800, zhong jiang wrote: > It is safe to move a deference below a NULL test. > > Signed-off-by: zhong jiang > Acked-by: Andrew Donnellan > --- > drivers/misc/cxl/guest.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mis

Re: [PATCH] pinctrl: qcom: fix 'const' pointer handling

2018-10-02 Thread Bjorn Andersson
On Tue 02 Oct 14:15 PDT 2018, Arnd Bergmann wrote: > The 'tiles' array is initialized to a constant pointers to constant > strings, but the declaration is only half as constant: > > drivers/pinctrl/qcom/pinctrl-qcs404.c:1660:11: error: initialization discards > 'const' qualifier from pointer tar

[PATCH] [v4] HID: add support for Apple Magic Trackpad 2

2018-10-02 Thread Sean O'Brien
USB device Vendor 05ac (Apple) Device 0265 (Magic Trackpad 2) Bluetooth device Vendor 004c (Apple) Device 0265 (Magic Trackpad 2) Add support for Apple Magic Trackpad 2 over USB and bluetooth, putting the device in multi-touch mode. Signed-off-by: Claudio Mettler

[PATCH] x86/cpu/amd: Remove unnecessary parentheses

2018-10-02 Thread Nathan Chancellor
Clang warns when multiple pairs of parentheses are used for a single conditional statement. arch/x86/kernel/cpu/amd.c:925:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((c->x86 == 6)) { ~~~^~~~ arch/x86/kernel/cpu/amd.c:925:14: no

Re: Leaking Path in XFS's ioctl interface(missing LSM check)

2018-10-02 Thread Dave Chinner
On Wed, Oct 03, 2018 at 05:20:31AM +1000, James Morris wrote: > On Tue, 2 Oct 2018, Dave Chinner wrote: > > > On Tue, Oct 02, 2018 at 06:08:16AM +1000, James Morris wrote: > > > On Mon, 1 Oct 2018, Darrick J. Wong wrote: > > > > > > > If we /did/ replace CAP_SYS_ADMIN checking with a pile of LSM

Re: [PATCH 01/15] platform: goldfish: pipe: Remove the goldfish_interrupt_tasklet global variable

2018-10-02 Thread Greg KH
On Tue, Oct 02, 2018 at 03:33:11PM -0700, Roman Kiryanov wrote: > > I don't see a "global" variable here, what are you referring to. > > > > This one: > > > > > -static DECLARE_TASKLET(goldfish_interrupt_tasklet, > > > goldfish_interrupt_task, 0); > > > > ? > > Yes. > > > That looks static to th

  1   2   3   4   5   6   7   8   9   10   >