Re: [RFC Patch 1/3] X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support

2018-06-05 Thread Tianyu Lan
Hi Michael: Thanks for your review. On 6/6/2018 12:59 AM, Michael Kelley (EOSG) wrote: >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org >> On Behalf >> Of Tianyu Lan >> Sent: Monday, June 4, 2018 2:08 AM >> Cc: Tianyu Lan ; KY Srinivasan >> ; Haiyang >> Zhang ;

Re: [PATCH v7 3/3] gpio: pca953x: fix address calculation for pcal6524

2018-06-05 Thread H. Nikolaus Schaller
Hi, > Am 05.06.2018 um 22:39 schrieb Pavel Machek : > > On Tue 2018-06-05 18:37:21, Andy Shevchenko wrote: >> On Wed, May 23, 2018 at 5:06 PM, Pavel Machek wrote: >>> On Thu 2018-05-17 06:59:49, H. Nikolaus Schaller wrote: The register constants are so far defined in a way that they fit

Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM

2018-06-05 Thread Naoya Horiguchi
On Tue, Jun 05, 2018 at 07:35:01AM +, Horiguchi Naoya(堀口 直也) wrote: > On Mon, Jun 04, 2018 at 06:18:36PM -0700, Matthew Wilcox wrote: > > On Tue, Jun 05, 2018 at 12:54:03AM +, Naoya Horiguchi wrote: > > > Reproduction precedure is like this: > > > - enable RAM based PMEM (with a kernel

Re: [PATCH v5 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-05 Thread Matti Vaittinen
On Tue, Jun 05, 2018 at 09:47:57AM -0600, Rob Herring wrote: > On Mon, Jun 04, 2018 at 04:18:30PM +0300, Matti Vaittinen wrote: > > Document devicetree bindings for ROHM BD71837 PMIC MFD. > > > > Signed-off-by: Matti Vaittinen > > --- > > .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 76

[PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-05 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- arch/x86/include/asm/iommu_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h index 1fb3fd1a83c2..2a0d5f7d1ed1 100644 --- a/arch/x86/include/asm/iommu_table.h +++

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-05 Thread Sergey Senozhatsky
On (06/05/18 14:47), Petr Mladek wrote: [..] > Grr, the ABBA deadlock is still there. NMIs are not sent to the other > CPUs atomically. Even if we detect that logbuf_lock is available > in printk_nmi_enter() on some CPUs, it might still get locked on > another CPU before the other CPU gets NMI.

Re: [PATCH v5 3/4] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-05 Thread Matti Vaittinen
On Tue, Jun 05, 2018 at 09:49:32AM -0600, Rob Herring wrote: > On Mon, Jun 04, 2018 at 04:18:53PM +0300, Matti Vaittinen wrote: > > Document devicetree bindings for ROHM BD71837 PMIC clock output. > > > > Signed-off-by: Matti Vaittinen > > --- > > .../bindings/clock/rohm,bd71837-clock.txt

Re: [PATCH v3 21/21] sparc64: use match_string() helper

2018-06-05 Thread Andy Shevchenko
On Wed, Jun 6, 2018 at 5:19 AM, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used instead of open coded variant. > Thanks for an update. My comments below. I think you need to mentioned the string literal change in the commit message.

Re: [PATCH] cpufreq: kryo: allow building as a loadable module

2018-06-05 Thread Ilia Lin
Viresh got ahead of my answer a bit. :) Sure I'll post the module exit later. On June 6, 2018 7:09:29 AM GMT+03:00, Viresh Kumar wrote: >On 05-06-18, 13:44, Arnd Bergmann wrote: >> Building the kryo cpufreq driver while QCOM_SMEM is a loadable module >> results in a link error: >> >>

Re: [RFC PATCH -tip v5 06/27] arm64: kprobes: Remove jprobe implementation

2018-06-05 Thread Masami Hiramatsu
On Tue, 5 Jun 2018 16:34:21 +0100 Will Deacon wrote: > On Tue, Jun 05, 2018 at 12:51:24AM +0900, Masami Hiramatsu wrote: > > Remove arch dependent setjump/longjump functions > > and unused fields in kprobe_ctlblk for jprobes > > from arch/arm64. > > > > Signed-off-by: Masami Hiramatsu > > Cc:

Re: [PATCH 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ FW bindings

2018-06-05 Thread Viresh Kumar
On 04-06-18, 16:16, Taniya Das wrote: > Add QCOM cpufreq firmware device bindings for Qualcomm Technology Inc's > SoCs. This is required for managing the cpu frequency transitions which are > controlled by firmware. > > Signed-off-by: Taniya Das > --- > .../bindings/cpufreq/cpufreq-qcom-fw.txt

[PATCH v3 1/3] arm64/mm: pass swapper_pg_dir as an argument to __enable_mmu()

2018-06-05 Thread Jun Yao
Introduce __pa_swapper_pg_dir to save physical address of swapper_pg_dir. And pass it as an argument to __enable_mmu(). Signed-off-by: Jun Yao --- arch/arm64/include/asm/mmu_context.h | 4 +--- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/kernel/cpufeature.c | 2 +-

[PATCH v3 3/3] arm64/mm: migrate swapper_pg_dir and tramp_pg_dir

2018-06-05 Thread Jun Yao
Migrate swapper_pg_dir and tramp_pg_dir. And their virtual addresses do not correlate with kernel's address. Signed-off-by: Jun Yao --- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/mm/mmu.c | 79 +--- 2 files changed, 52 insertions(+), 28

[PATCH v3 0/3] arm64/mm: migrate swapper_pg_dir

2018-06-05 Thread Jun Yao
Version 3 changes: * Fix memory leak problem with CONFIG_ARM64_SW_TTBR0_PAN * add comment explaining why the flush is needed and also why __pa_swapper_pg_dir gets placed in the .mmuoff.data.read section. [v2]

[PATCH v3 2/3] arm64/mm: introduce variable to save new swapper_pg_dir address

2018-06-05 Thread Jun Yao
Prepare for migrating swapper_pg_dir, introduce new_swapper_pg_dir to save virtual address of swapper_pg_dir. Signed-off-by: Jun Yao --- arch/arm64/include/asm/mmu_context.h | 2 +- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/mm/kasan_init.c | 2 +- arch/arm64/mm/mmu.c

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-05 Thread Viresh Kumar
On 05-06-18, 16:54, Daniel Lezcano wrote: > On 05/06/2018 12:39, Viresh Kumar wrote: > I don't think you are doing a mistake. Even if this can happen > theoretically, I don't think practically that is the case. > > The play_idle() has 1ms minimum sleep time. > > The scenario you are describing

Re: [PATCH] cpufreq: kryo: allow building as a loadable module

2018-06-05 Thread Viresh Kumar
On 05-06-18, 13:44, Arnd Bergmann wrote: > Building the kryo cpufreq driver while QCOM_SMEM is a loadable module > results in a link error: > > drivers/cpufreq/qcom-cpufreq-kryo.o: In function `qcom_cpufreq_kryo_probe': > qcom-cpufreq-kryo.c:(.text+0xbc): undefined reference to `qcom_smem_get' >

Re: [patch 3/8] x86/apic: Provide apic_ack_irq()

2018-06-05 Thread Dou Liyang
Hi Thomas, At 06/05/2018 07:41 PM, Thomas Gleixner wrote: On Tue, 5 Jun 2018, Dou Liyang wrote: +{ + if (unlikely(irqd_is_setaffinity_pending(irqd))) Affinity pending is also judged in + irq_move_irq(irqd); If we can remove the if(...) statement here That requires

Re: building in 32bit chroot on x86_64 host broken

2018-06-05 Thread Masahiro Yamada
Hi Linus, 2018-06-06 11:19 GMT+09:00 Linus Torvalds : > On Tue, Jun 5, 2018 at 6:54 PM Linus Torvalds > wrote: >> >> But once you *have* that particular Kconfig, I do think that "make >> oldconfig" should just work. And it apparently used to. >> >> So I think this is a behavioral regression. > >

[no subject]

2018-06-05 Thread Sgt Sherri Gallagher
Please reply me back i have something to tell u I am Sgt.Sherri Gallagher.

Re: [PATCH V2] xfs: fix string handling in get/set functions

2018-06-05 Thread Darrick J. Wong
On Tue, Jun 05, 2018 at 02:49:20PM -0500, Eric Sandeen wrote: > From: Arnd Bergmann > > [sandeen: fix subject, avoid copy-out of uninit data in getlabel] > > gcc-8 reports two warnings for the newly added getlabel/setlabel code: > > fs/xfs/xfs_ioctl.c: In function 'xfs_ioc_getlabel': >

Re: [PATCH 1/2] platform/x86: asus-wmi: Call new led hw_changed API on kbd brightness change

2018-06-05 Thread Chris Chiu
On Tue, Jun 5, 2018 at 7:06 PM, Hans de Goede wrote: > Hi, > > > On 05-06-18 12:46, Benjamin Berg wrote: >> >> Hey, >> >> On Tue, 2018-06-05 at 12:31 +0200, Hans de Goede wrote: >>> >>> On 05-06-18 12:14, Bastien Nocera wrote: On Tue, 2018-06-05 at 12:05 +0200, Hans de Goede wrote:

[PATCH v2] irqchip/gic-v3-its: fix ITS queue timeout

2018-06-05 Thread Yang Yingliang
When the kernel booted with maxcpus=x, 'x' is smaller than actual cpu numbers, the TAs of offline cpus won't be set to its->collection. If LPI is bind to offline cpu, sync cmd will use zero TA, it leads to ITS queue timeout. Fix this by choosing a online cpu, if there is no online cpu in

ATENCIÓN

2018-06-05 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

[PATCH v3 03/21] Staging: gdm724x: use match_string() helper

2018-06-05 Thread Yisheng Xie
match_string() returns the index of an array for a matching string, which can be used instead of open coded variant. Cc: Greg Kroah-Hartman Cc: Quytelda Kahja Cc: de...@driverdev.osuosl.org Signed-off-by: Yisheng Xie --- v3: - no need to check input tty's index - per Greg v2: - const

[PATCH v3 21/21] sparc64: use match_string() helper

2018-06-05 Thread Yisheng Xie
match_string() returns the index of an array for a matching string, which can be used instead of open coded variant. Cc: "David S. Miller" Cc: Anthony Yznaga Cc: Pavel Tatashin Cc: sparcli...@vger.kernel.org Signed-off-by: Yisheng Xie --- v3: - add string literal instead of NULL for array

Re: building in 32bit chroot on x86_64 host broken

2018-06-05 Thread Linus Torvalds
On Tue, Jun 5, 2018 at 6:54 PM Linus Torvalds wrote: > > But once you *have* that particular Kconfig, I do think that "make > oldconfig" should just work. And it apparently used to. > > So I think this is a behavioral regression. That doesn't necessarily mean that he fix should be to revert.

Re: [PATCH v3 1/2] PCI: Avoid panic when PCI IO resource's size is not page aligned

2018-06-05 Thread Yisheng Xie
Hi Bjorn, On 2018/6/6 7:53, Bjorn Helgaas wrote: > On Tue, May 29, 2018 at 08:18:18PM +0800, Yisheng Xie wrote: >> Zhou reported a bug on Hisilicon arm64 D06 platform with 64KB page size: >> >> [2.470908] kernel BUG at lib/ioremap.c:72! >> [2.475079] Internal error: Oops - BUG: 0 [#1]

Re: [PATCH v3 1/2] power: supply: sbs-battery: don't assume MANUFACTURER_DATA formats

2018-06-05 Thread Phil Reid
G'day Brian, One comment below. On 2/06/2018 09:28, Brian Norris wrote: This driver was originally submitted for the TI BQ20Z75 battery IC (commit a7640bfa10c5 ("power_supply: Add driver for TI BQ20Z75 gas gauge IC")) and later renamed to express generic SBS support. While it's mostly true

ATENCIÓN

2018-06-05 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

Re: building in 32bit chroot on x86_64 host broken

2018-06-05 Thread Linus Torvalds
On Tue, Jun 5, 2018 at 6:38 PM Masahiro Yamada wrote: > > Was the v4.16 behavior intentional, > or just something people found to work? I don't think all the _details_ may be intentional, but the fact that make oldconfig "just works" is definitely a good thing. > "make ARCH=i386

Re: [lkp-robot] [xfs] b027d4c97b: fio.latency_2ms% +7.1% regression

2018-06-05 Thread Ye Xiaolong
On 06/06, Dave Chinner wrote: >On Tue, Jun 05, 2018 at 03:16:57PM +0800, kernel test robot wrote: >> >> Greeting, >> >> FYI, we noticed a +7.1%% regression of fio.latency_2ms% due to commit: >> >> >> commit: b027d4c97b9675c2ad75dec94be4e46dceb3ec74 ("xfs: don't retry >> xfs_buf_find on

Re: [PATCH] irqchip/gic-v3-its: fix ITS queue timeout

2018-06-05 Thread Yang Yingliang
Hi, Julien On 2018/6/5 18:16, Julien Thierry wrote: Hi Yang, On 05/06/18 07:30, Yang Yingliang wrote: When the kernel booted with maxcpus=x, 'x' is smaller than actual cpu numbers, the TAs of offline cpus won't be set to its->collection. If LPI is bind to offline cpu, sync cmd will use zero

Re: building in 32bit chroot on x86_64 host broken

2018-06-05 Thread Masahiro Yamada
Hi Linus, Thomas, 2018-06-06 4:13 GMT+09:00 Linus Torvalds : > On Tue, Jun 5, 2018 at 11:50 AM Thomas Backlund wrote: >> > >> > but why do you care? >> >> Because without it running the build in the 32bit chroot will get the >> initial reported issue: > > Ahh. I can re-create that now. > > Yes,

Re: [PATCH 0/5] mm: rework hmm to use devm_memremap_pages

2018-06-05 Thread Dan Williams
On Tue, Jun 5, 2018 at 5:08 PM, Jerome Glisse wrote: > On Tue, Jun 05, 2018 at 04:06:12PM -0700, Dan Williams wrote: [..] >> I want the EXPORT_SYMBOL_GPL on devm_memremap_pages() primarily for >> development purposes. Any new users of devm_memremap_pages() should be >> aware that they are

Re: [PATCH] slab: Clean up the code comment in slab kmem_cache struct

2018-06-05 Thread Baoquan He
On 06/05/18 at 05:04pm, Christopher Lameter wrote: > On Sun, 3 Jun 2018, Baoquan He wrote: > > > diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h > > index d9228e4d0320..3485c58cfd1c 100644 > > --- a/include/linux/slab_def.h > > +++ b/include/linux/slab_def.h > > @@ -67,9 +67,10

[PATCH] module: Implement sig_unenforce parameter

2018-06-05 Thread Brett T. Warden
When CONFIG_MODULE_SIG_FORCE is enabled, also provide a boot-time-only parameter, module.sig_unenforce, to disable signature enforcement. This allows distributions to ship with signature verification enforcement enabled by default, but for users to elect to disable it without recompiling, to

Re: [PATCH v3] kbuild: check for pkg-config on make {menu,n,g.x}config

2018-06-05 Thread Randy Dunlap
On 06/04/2018 11:53 PM, Masahiro Yamada wrote: > Hi Randy, > > > 2018-06-04 11:59 GMT+09:00 Randy Dunlap : >> From: Randy Dunlap >> >> Each of 'make {menu,n,g,x}config' uses (needs) pkg-config to make sure >> that other required files are present and to determine build flags >> settings, but

Re: [PATCH 4.4 00/37] 4.4.136-stable review

2018-06-05 Thread Nathan Chancellor
On Tue, Jun 05, 2018 at 07:01:05PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.136 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[GIT PULL] SELinux patches for v4.18

2018-06-05 Thread Paul Moore
. Please pull, thanks. -Paul -- The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20180605 for you

Re: linux-next: manual merge of the userns tree with the arm tree

2018-06-05 Thread Stephen Rothwell
Hi all, On Wed, 30 May 2018 18:30:58 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the userns tree got a conflict in: > > arch/arm/mm/fault.c > > between commit: > > 93a24d7e23e7 ("ARM: spectre-v2: harden user aborts in kernel space") > > from the arm tree and commit: >

Re: [GIT PULL] cgroup changes for v4.18-rc1

2018-06-05 Thread Linus Torvalds
On Tue, Jun 5, 2018 at 12:22 PM Tejun Heo wrote: > > * cgroup uses file modified events to notify certain events. A rate > limiting mechanism is added. This "explanation" didn't really parse for me at all. I edited the merge message to something that I think is correct and made more sense to

Re: [PATCH 0/5] mm: rework hmm to use devm_memremap_pages

2018-06-05 Thread Jerome Glisse
On Tue, Jun 05, 2018 at 04:06:12PM -0700, Dan Williams wrote: > On Tue, Jun 5, 2018 at 3:19 PM, Dave Airlie wrote: > > On 6 June 2018 at 04:48, Jerome Glisse wrote: > >> On Tue, May 29, 2018 at 04:33:49PM -0700, Dan Williams wrote: > >>> On Tue, May 29, 2018 at 4:00 PM, Dave Airlie wrote: > >>>

Re: linux-next: Signed-off-by missing for commit in the y2038 tree

2018-06-05 Thread Deepa Dinamani
Oh, you meant that it has keesc...@chromium.org author sign-off, but it needs mine because I applied it. Please add Signed-off-by: Deepa Dinamani I also updated it in my tree. Thanks, - Deepa On Tue, Jun 5, 2018 at 4:17 PM, Stephen Rothwell wrote: > Hi Deepa, > > On Tue, 5 Jun 2018 15:00:24

Re: [PATCH v3 1/2] PCI: Avoid panic when PCI IO resource's size is not page aligned

2018-06-05 Thread Bjorn Helgaas
On Tue, May 29, 2018 at 08:18:18PM +0800, Yisheng Xie wrote: > Zhou reported a bug on Hisilicon arm64 D06 platform with 64KB page size: > > [2.470908] kernel BUG at lib/ioremap.c:72! > [2.475079] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP > [2.480551] Modules linked in: > [

Re: [PATCH v8 7/8] lib: Add module to simulate atomic sections for testing preemptoff tracers

2018-06-05 Thread Joel Fernandes
(Resending since Andy wasn't on CC - sorry) Hi, On Tue, May 29, 2018 at 05:04:59PM -0700, Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > > In this patch we introduce a test module for simulating a long atomic > section in the kernel which the preemptoff or irqsoff tracers can >

linux-next: merge window

2018-06-05 Thread Stephen Rothwell
Hi all, Please do *not* add any v4.19 related material to your linux-next included branches until after v4.18-rc1 has been released i.e. during the current merge window. -- Cheers, Stephen Rothwell pgpjhWrkCQJDU.pgp Description: OpenPGP digital signature

Re: x86/asm: __clear_user() micro-optimization (was: "Re: [GIT PULL] x86/asm changes for v4.18")

2018-06-05 Thread Linus Torvalds
On Tue, Jun 5, 2018 at 4:20 PM Alexey Dobriyan wrote: > > This is Broadwell Xeon E5-2620 v4. > Which is somewhat strange indeed because it should be modern enough. Yeah, odd. Here's the benchmark I used: #define SIZE 4068 int main(int argc, char **argv) { int i; unsigned char

Re: [PATCH 2/2] PM / devfreq: Generic cpufreq governor

2018-06-05 Thread Saravana Kannan
On 05/27/2018 11:00 PM, MyungJoo Ham wrote: Many CPU architectures have caches that can scale independent of the CPUs. Frequency scaling of the caches is necessary to make sure the cache is not a performance bottleneck that leads to poor performance and power. The same idea applies for

Re: x86/asm: __clear_user() micro-optimization (was: "Re: [GIT PULL] x86/asm changes for v4.18")

2018-06-05 Thread Alexey Dobriyan
On Tue, Jun 05, 2018 at 04:04:37PM -0700, Linus Torvalds wrote: > On Tue, Jun 5, 2018 at 4:01 PM Linus Torvalds > wrote: > > > > On Tue, Jun 5, 2018 at 3:41 PM Alexey Dobriyan wrote: > > > > > > On my potato performance increase is 33%, sheesh. > > > And CPU starts doing 3 instructions per cycle

Re: linux-next: Signed-off-by missing for commit in the y2038 tree

2018-06-05 Thread Stephen Rothwell
Hi Deepa, On Tue, 5 Jun 2018 15:00:24 -0700 Deepa Dinamani wrote: > > That patch belongs to Kees. But you committed it to the tree ... -- Cheers, Stephen Rothwell pgpgHv51Vpi5e.pgp Description: OpenPGP digital signature

Re: [PATCH 2/2] sched/fair: util_est: add running_sum tracking

2018-06-05 Thread Saravana Kannan
On 06/05/2018 01:46 PM, Joel Fernandes wrote: On Tue, Jun 05, 2018 at 05:54:31PM +0100, Patrick Bellasi wrote: On 05-Jun 17:31, Juri Lelli wrote: On 05/06/18 16:11, Patrick Bellasi wrote: [...] If I run an experiment with your example above, while using the performance governor to rule out

Re: [PATCH 0/5] mm: rework hmm to use devm_memremap_pages

2018-06-05 Thread Dan Williams
On Tue, Jun 5, 2018 at 3:19 PM, Dave Airlie wrote: > On 6 June 2018 at 04:48, Jerome Glisse wrote: >> On Tue, May 29, 2018 at 04:33:49PM -0700, Dan Williams wrote: >>> On Tue, May 29, 2018 at 4:00 PM, Dave Airlie wrote: >>> > On 30 May 2018 at 08:31, Dan Williams wrote: >>> >> On Tue, May 29,

Re: x86/asm: __clear_user() micro-optimization (was: "Re: [GIT PULL] x86/asm changes for v4.18")

2018-06-05 Thread Linus Torvalds
On Tue, Jun 5, 2018 at 4:01 PM Linus Torvalds wrote: > > On Tue, Jun 5, 2018 at 3:41 PM Alexey Dobriyan wrote: > > > > On my potato performance increase is 33%, sheesh. > > And CPU starts doing 3 instructions per cycle vs 2. > > Whee. That's a shockingly big difference. On my CPU (i7-6700K) it >

Re: linux-next: Signed-off-by missing for commit in the y2038 tree

2018-06-05 Thread Kees Cook
On Tue, Jun 5, 2018 at 3:00 PM, Deepa Dinamani wrote: > That patch belongs to Kees. > > -Deepa > > On Tue, Jun 5, 2018 at 2:55 PM, Stephen Rothwell > wrote: >> Hi Arnd, >> >> Commit >> >> 0f0d83b99ef7 ("pstore: Convert internal records to timespec64") >> >> is missing a Signed-off-by from its

Re: [PATCH v8 7/8] lib: Add module to simulate atomic sections for testing preemptoff tracers

2018-06-05 Thread Joel Fernandes
Hi, On Tue, May 29, 2018 at 05:04:59PM -0700, Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > > In this patch we introduce a test module for simulating a long atomic > section in the kernel which the preemptoff or irqsoff tracers can > detect. This module is to be used only for test

Re: x86/asm: __clear_user() micro-optimization (was: "Re: [GIT PULL] x86/asm changes for v4.18")

2018-06-05 Thread Linus Torvalds
On Tue, Jun 5, 2018 at 3:41 PM Alexey Dobriyan wrote: > > On my potato performance increase is 33%, sheesh. > And CPU starts doing 3 instructions per cycle vs 2. Whee. That's a shockingly big difference. On my CPU (i7-6700K) it makes absolutely no difference whether the values are integers or in

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-05 Thread Roland Dreier
> The sensible thing to do in nvme is to use different paths for > different queues. That is e.g. in the RDMA case use the HCA closer > to a given CPU by default. We might allow to override this for > cases where the is a good reason, but what I really don't want is > configurability for

Re: [PATCH] mremap: Avoid TLB flushing anonymous pages that are not in swap cache

2018-06-05 Thread Nadav Amit
Mel Gorman wrote: > On Tue, Jun 05, 2018 at 12:53:57PM -0700, Nadav Amit wrote: >> While I do not have a specific reservation regarding the logic, I find the >> current TLB invalidation scheme hard to follow and inconsistent. I guess >> should_force_flush() can be extended and used more commonly

[PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event.

2018-06-05 Thread Ravi Chandra Sadineni
Remove the unnecessary check before calling pm_wakeup_event. If the device is not wake enabled, this call is no-op anyway. Signed-off-by: Ravi Chandra Sadineni --- drivers/input/keyboard/cros_ec_keyb.c | 30 ++- 1 file changed, 11 insertions(+), 19 deletions(-) diff

Re: x86/asm: __clear_user() micro-optimization (was: "Re: [GIT PULL] x86/asm changes for v4.18")

2018-06-05 Thread Alexey Dobriyan
On Tue, Jun 05, 2018 at 10:32:55AM -0700, Linus Torvalds wrote: > On Tue, Jun 5, 2018 at 10:22 AM Alexey Dobriyan wrote: > > > > Tested? :^) I had P4 maybe ~15(?) years ago. > > Did you EVEN test it on what you have today? > > Do you have any numbers at all, in other words? > >

Re: [lkp-robot] [xfs] b027d4c97b: fio.latency_2ms% +7.1% regression

2018-06-05 Thread Dave Chinner
On Tue, Jun 05, 2018 at 03:16:57PM +0800, kernel test robot wrote: > > Greeting, > > FYI, we noticed a +7.1%% regression of fio.latency_2ms% due to commit: > > > commit: b027d4c97b9675c2ad75dec94be4e46dceb3ec74 ("xfs: don't retry > xfs_buf_find on XBF_TRYLOCK failure") >

Re: [GIT PULL] Device properties framework update for v4.18-rc1

2018-06-05 Thread Rafael J. Wysocki
On Tue, Jun 5, 2018 at 7:39 PM, Linus Torvalds wrote: > On Tue, Jun 5, 2018 at 10:30 AM Linus Torvalds > wrote: >> >> Honestly, this looks questionable to me. >> >> I'm not talking about the changes themselves - I can live with them. >> But the _rationale_ is pure and utter garbage, and

Re: [PATCH v5 00/10] track CPU utilization

2018-06-05 Thread Peter Zijlstra
On Tue, Jun 05, 2018 at 04:38:26PM +0100, Patrick Bellasi wrote: > On 05-Jun 16:18, Peter Zijlstra wrote: > > On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: > > > As you mentioned, scale_rt_capacity give the remaining capacity for > > > cfs and it will behave like cfs util_avg

Re: [PATCH v1 0/2] PCI/AER: Clean up minor logging issues

2018-06-05 Thread Bjorn Helgaas
On Wed, May 30, 2018 at 12:54:10PM -0500, Bjorn Helgaas wrote: > AER logging printed the plain 16-bit Requester ID straight out of the TLP, > which is hard to interpret, e.g., id=00e4 corresponds to what we normally > see as 00:1c.4 in dmesg or lspci. > > Also, there's no need to print the

Re: [PATCH 0/5] mm: rework hmm to use devm_memremap_pages

2018-06-05 Thread Dave Airlie
On 6 June 2018 at 04:48, Jerome Glisse wrote: > On Tue, May 29, 2018 at 04:33:49PM -0700, Dan Williams wrote: >> On Tue, May 29, 2018 at 4:00 PM, Dave Airlie wrote: >> > On 30 May 2018 at 08:31, Dan Williams wrote: >> >> On Tue, May 29, 2018 at 3:22 PM, Dave Airlie wrote: >> >>> >> >>> On 24

[PATCH V4] ARM: dts: armada388-helios4

2018-06-05 Thread Dennis Gilmore
The helios4 is a Armada388 based nas board designed by SolidRun and based on their SOM. It is sold by kobol.io the dts file came from https://raw.githubusercontent.com/armbian/build/master/patch/kernel/mvebu-default/95-helios4-device-tree.patch I added a SPDX license line to match the clearfog it

Re: [PATCH v2] pci/aspm: Remove CONFIG_PCIEASPM_DEBUG

2018-06-05 Thread Rajat Jain
Hello Bjorn, Just checking to see if this one fell through the cracks? It isn't solving any issues, but providing a tool for ASPM tweaking in user space, which may be useful. Thanks, Rajat On Thu, May 10, 2018 at 4:39 PM Rajat Jain wrote: > > Currently, the linux kernel disables ASPM when a

Re: [GIT PULL] fscrypt updates for 4.18

2018-06-05 Thread Theodore Y. Ts'o
On Tue, Jun 05, 2018 at 01:22:41PM -0700, Linus Torvalds wrote: > > You have the tag *message* for fscrypt, but then the commit it points > to has nothing to do with fscrypt. > > I think you tagged the wrong branch. Yeah, sorry. I used git shortlog when I was examining the branch to compose

Re: [PATCH 4.9 00/61] 4.9.107-stable review

2018-06-05 Thread Shuah Khan
On 06/05/2018 11:01 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.107 release. > There are 61 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: linux-next: Signed-off-by missing for commit in the y2038 tree

2018-06-05 Thread Deepa Dinamani
That patch belongs to Kees. -Deepa On Tue, Jun 5, 2018 at 2:55 PM, Stephen Rothwell wrote: > Hi Arnd, > > Commit > > 0f0d83b99ef7 ("pstore: Convert internal records to timespec64") > > is missing a Signed-off-by from its committer. > > -- > Cheers, > Stephen Rothwell

Re: [PATCH 4.4 00/37] 4.4.136-stable review

2018-06-05 Thread Shuah Khan
On 06/05/2018 11:01 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.136 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v2 1/3] arm64/mm: pass swapper_pg_dir as an argument to __enable_mmu()

2018-06-05 Thread Laura Abbott
On 06/05/2018 02:33 AM, Jun Yao wrote: Introduce __pa_swapper_pg_dir to save physical address of swapper_pg_dir. And pass it as an argument to __enable_mmu(). Signed-off-by: Jun Yao --- arch/arm64/include/asm/mmu_context.h | 4 +--- arch/arm64/include/asm/pgtable.h | 1 +

linux-next: Signed-off-by missing for commit in the y2038 tree

2018-06-05 Thread Stephen Rothwell
Hi Arnd, Commit 0f0d83b99ef7 ("pstore: Convert internal records to timespec64") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpzDJxzBDAFF.pgp Description: OpenPGP digital signature

Re: [PATCH] xfs: mark sb_fname as nonstring

2018-06-05 Thread Eric Sandeen
On 6/5/18 4:23 PM, Arnd Bergmann wrote: > On Tue, Jun 5, 2018 at 8:44 PM, Eric Sandeen wrote: >> On 5/25/18 10:14 AM, Arnd Bergmann wrote: > >>> diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c >>> index 84fbf164cbc3..eb79f2bc4dcc 100644 >>> --- a/fs/xfs/xfs_ioctl.c >>> +++

[PATCH 03/20] coresight: Fix remote endpoint parsing

2018-06-05 Thread Suzuki K Poulose
When parsing the remote endpoint of an output port, we do : rport = of_graph_get_remote_port(ep); rparent = of_graph_get_remote_port_parent(ep); and then parse the "remote_port" as if it was the remote endpoint, which is wrong. The code worked fine because we used endpoint number as the

[PATCH 02/20] coresight: of: Fix refcounting for graph nodes

2018-06-05 Thread Suzuki K Poulose
The coresight driver doesn't drop the references on the remote endpoint/port nodes. Add the missing of_node_put() calls. To make it easier to handle different corner cases cleanly, move the parsing of an endpoint to separate function. Reported-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose

[PATCH 01/20] coresight: Fix memory leak in coresight_register

2018-06-05 Thread Suzuki K Poulose
commit 6403587a930c ("coresight: use put_device() instead of kfree()") introduced a memory leak where, if we fail to register the device for coresight_device, we don't free the "coresight_device" object, which was allocated via kzalloc(). Fix this by jumping to the appropriate error path. Fixes:

linux-next: Signed-off-by missing for commit in the v4l-dvb tree

2018-06-05 Thread Stephen Rothwell
Hi Mauro, Commit f2809d20b925 ("media: omap2: fix compile-testing with FB_OMAP2=m") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgp3Sv10Wqr8U.pgp Description: OpenPGP digital signature

[PATCH 06/20] coresight: Handle errors in finding input/output ports

2018-06-05 Thread Suzuki K Poulose
If we fail to find the input / output port for a LINK component while enabling a path, we should fail gracefully rather than assuming port "0". Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight.c | 7 +-- 1 file changed, 5 insertions(+), 2

[PATCH 07/20] coresight: dts: Document usage of graph bindings

2018-06-05 Thread Suzuki K Poulose
Before we update the bindings, document the current graph bindings and usage of additional properties. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- .../devicetree/bindings/arm/coresight.txt | 31 +++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff

Re: [PATCH v3 0/8] gnss: add new GNSS subsystem

2018-06-05 Thread Pavel Machek
Hi! > > udev solves device discovery pretty well; I don't think that's good > > thing to optimize for. > > It's about grouping related devices together, devices which share some > common functionality. In this case, providing location data from some > satellite system. I really don't understand

[PATCH 09/20] coresight: dts: Define new bindings for direction of data flow

2018-06-05 Thread Suzuki K Poulose
So far we have relied on an undocumented property "slave-mode", to indicate if the given port is input or not. Since we are redefining the coresight bindings, define new property for the "direction" of data flow for a given connection endpoint in the device. Each endpoint must define the

[PATCH 11/20] dts: hisilicon: Update coresight bindings for hw ports

2018-06-05 Thread Suzuki K Poulose
Switch to updated coresight bindings for hw ports. Cc: xuw...@hisilicon.com Cc: lipengche...@huawei.com Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- .../arm64/boot/dts/hisilicon/hi6220-coresight.dtsi | 89 -- 1 file changed, 64 insertions(+), 25 deletions(-)

[PATCH 13/20] dts: qcom: Update coresight bindings for hw ports

2018-06-05 Thread Suzuki K Poulose
Switch to updated coresight bindings for hw ports Cc: Andy Gross Cc: David Brown Cc: Ivan T. Ivanov Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 55 ++- 1 file changed, 41 insertions(+), 14 deletions(-) diff

[PATCH 15/20] dts: arm: imx7{d,s}: Update coresight binding for hardware ports

2018-06-05 Thread Suzuki K Poulose
Switch to the updated coresight bindings. Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/imx7d.dtsi | 5 - arch/arm/boot/dts/imx7s.dtsi | 41

[PATCH 16/20] dts: arm: omap: Update coresight bindings for hardware ports

2018-06-05 Thread Suzuki K Poulose
Switch to the new coresight bindings for hardware ports Cc: linux-o...@vger.kernel.org Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/omap3-beagle-xm.dts | 5 - arch/arm/boot/dts/omap3-beagle.dts| 5 - 2 files

[PATCH 17/20] dts: arm: qcom: Update coresight bindings for hardware ports

2018-06-05 Thread Suzuki K Poulose
Switch to the new hardware port bindings for coresight Cc: Andy Gross Cc: David Brown Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/qcom-apq8064.dtsi | 37 +-- arch/arm/boot/dts/qcom-msm8974.dtsi | 60 +++-- 2

[PATCH 19/20] dts: ste-dbx5x0: Update coresight bindings for hardware port

2018-06-05 Thread Suzuki K Poulose
Switch to the new coresight bindings Cc: Linus Walleij Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/ste-dbx5x0.dtsi | 31 +++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi

[PATCH 10/20] dts: juno: Update coresight bindings for hw port

2018-06-05 Thread Suzuki K Poulose
Switch to updated coresight bindings for hw ports. Cc: Sudeep Holla Cc: Liviu Dudau Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Changes since V1: - Add support Juno for r1 & r2. --- arch/arm64/boot/dts/arm/juno-base.dtsi| 82 ++-

[PATCH 18/20] dts: sama5d2: Update coresight bindings for hardware ports

2018-06-05 Thread Suzuki K Poulose
Switch to the new coresight bindings for hardware ports Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/sama5d2.dtsi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi

[PATCH 14/20] dts: arm: hisilicon: Update coresight bindings for hardware port

2018-06-05 Thread Suzuki K Poulose
Switch to the new the hardware port bindings. Cc: Wei Xu Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/hip04.dtsi | 195 +++ 1 file changed, 141 insertions(+), 54 deletions(-) diff --git a/arch/arm/boot/dts/hip04.dtsi

[PATCH 20/20] dts: tc2: Update coresight bindings for hardware ports

2018-06-05 Thread Suzuki K Poulose
Switch to the new coresight bindings Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 48 ++ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git

[PATCH 04/20] coresight: Cleanup platform description data

2018-06-05 Thread Suzuki K Poulose
Nobody uses the "clk" field in struct coresight_platform_data. Remove it. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- include/linux/coresight.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/coresight.h b/include/linux/coresight.h index e5421b8..69a5c9f 100644

[PATCH 08/20] coresight: dts: Cleanup device tree graph bindings

2018-06-05 Thread Suzuki K Poulose
The coresight drivers relied on default bindings for graph in DT, while reusing the "reg" field of the "ports" to indicate the actual hardware port number for the connections. However, with the rules getting stricter w.r.t to the address mismatch with the label, it is no longer possible to use the

[PATCH 05/20] coresight: platform: Cleanup coresight connection handling

2018-06-05 Thread Suzuki K Poulose
The platform code parses the component connections and populates a platform-description of the output connections in arrays of fields (which is never freed). This is later copied in the coresight_register to a newly allocated area, represented by coresight_connection(s). This patch cleans up the

[PATCH 12/20] dts: spreadtrum: Update coresight bindings for hw ports

2018-06-05 Thread Suzuki K Poulose
Switch to the new coresight bindings for hw ports Cc: orsonz...@gmail.com Cc: zhang.l...@gmail.com Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm64/boot/dts/sprd/sc9836.dtsi | 40 ++ arch/arm64/boot/dts/sprd/sc9860.dtsi | 101 +--

[PATCH 00/20] coresight: Update device tree bindings

2018-06-05 Thread Suzuki K Poulose
Coresight uses DT graph bindings to describe the connections of the components. However we have some undocumented usage of the bindings to describe some of the properties of the connections. The coresight driver needs to know the hardware ports invovled in the connection and the direction of data

[PATCH 3/4] cpufreq: intel_pstate: New sysfs entry to control HWP boost

2018-06-05 Thread Srinivas Pandruvada
A new attribute is added to intel_pstate sysfs to enable/disable HWP dynamic performance boost. Reported-by: Mel Gorman Tested-by: Giovanni Gherdovich Signed-off-by: Srinivas Pandruvada --- drivers/cpufreq/intel_pstate.c | 30 ++ 1 file changed, 30 insertions(+)

[PATCH 4/4] cpufreq: intel_pstate: enable boost for Skylake Xeon

2018-06-05 Thread Srinivas Pandruvada
Enable HWP boost on Skylake server and workstations. Reported-by: Mel Gorman Tested-by: Giovanni Gherdovich Signed-off-by: Srinivas Pandruvada --- drivers/cpufreq/intel_pstate.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/cpufreq/intel_pstate.c

  1   2   3   4   5   6   7   8   9   >