Re: [PATCH] ksys_mount: check for permissions before resource allocation

2018-06-05 Thread Ilya Matveychikov
Just CC’ed to some of maintainers. $ perl scripts/get_maintainer.pl fs/0001-ksys_mount-check-for-permissions-before-resource-all.patch Alexander Viro (maintainer:FILESYSTEMS (VFS and infrastructure)) linux-fsde...@vger.kernel.org (open list:FILESYSTEMS (VFS and infrastructure)) linux-kernel@vge

Re: [PATCH v3 1/3] cpufreq: imx6q: check speed grades for i.MX6ULL

2018-06-05 Thread Sébastien Szymanski
On 05/23/2018 06:29 AM, Viresh Kumar wrote: > On 22-05-18, 08:28, Sébastien Szymanski wrote: >> Check the max speed supported from the fuses for i.MX6ULL and update the >> operating points table accordingly. >> >> Signed-off-by: Sébastien Szymanski >> --- >> >> Changes for v3: >> - none > > @Sas

RE: Re: [PATCH] Smack: Fix memory leak in smack_inode_getsecctx

2018-06-05 Thread CHANDAN VN
  >On Mon, Jun 04, 2018 at 02:01:34PM -0700, Casey Schaufler wrote: >> On 6/1/2018 10:45 AM, Casey Schaufler wrote: >> > Fix memory leak in smack_inode_getsecctx >> > >> > The implementation of smack_inode_getsecctx() made >> > incorrect assumptions about how Smack presents a security >> > context

[lkp-robot] [x86/vdso] f52001961d: BUG:kernel_hang_in_early-boot_stage,last_printk:Probing_EDD(edd=off_to_disable)...ok

2018-06-05 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-5): commit: f52001961d6e5c397e40c4d440103288cdce9a79 ("x86/vdso: Move out the CPU number store") url: https://github.com/0day-ci/linux/commits/Chang-S-Bae/x86-Enable-FSGSBASE-instructions/20180602-125452 in testcase: boot on test machine:

Re: [patch 1/8] x86/apic/vector: Prevent hlist corruption and leaks

2018-06-05 Thread Song Liu
On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner wrote: > Several people observed the WARN_ON() in irq_matrix_free() which triggers > when the caller tries to free an vector which is not in the allocation > range. Song provided the trace information which allowed to decode the root > cause. > > The

Re: [patch 2/8] genirq/generic_pending: Do not lose pending affinity update

2018-06-05 Thread Song Liu
On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner wrote: > The generic pending interrupt mechanism moves interrupts from the interrupt > handler on the original target CPU to the new destination CPU. This is > required for x86 and ia64 due to the way the interrupt delivery and > acknowledge works if

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

2018-06-05 Thread Song Liu
On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner wrote: > apic_ack_edge() is explicitely for handling interrupt affinity cleanup when > interrupt remapping is not available or disable. > > Remapped interrupts and also some of the platform specific special > interrupts, e.g. UV, invoke ack_APIC_irq(

Re: [PATCH 1/3] mfd: cros: add charger port count command definition

2018-06-05 Thread Lee Jones
On Mon, 04 Jun 2018, Fabien Parent wrote: > On Mon, Jun 4, 2018 at 1:59 AM, Lee Jones wrote: > > On Tue, 29 May 2018, Fabien Parent wrote: > > > >> A new more command has been added to the ChromeOS embedded controller > >> that allows to get the number of charger port count. Unlike > >> EC_CMD_US

Re: [PATCH V2 2/2] arm: dts: sunxi: Add missing cooling device properties for CPUs

2018-06-05 Thread Maxime Ripard
On Tue, Jun 05, 2018 at 10:17:49AM +0530, Viresh Kumar wrote: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will st

Re: [patch 6/8] x86/platform/uv: Use apic_ack_irq()

2018-06-05 Thread Song Liu
Tested-by: Song Liu On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner wrote: >

Re: [patch 5/8] x86/ioapic: Use apic_ack_irq()

2018-06-05 Thread Song Liu
Tested-by: Song Liu On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner wrote: >

Re: [patch 4/8] irq_remapping: Use apic_ack_irq()

2018-06-05 Thread Song Liu
Tested-by: Song Liu On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner wrote: >

Re: [patch 7/8] genirq/affinity: Defer affinity setting if irq chip is busy

2018-06-05 Thread Song Liu
On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner wrote: > The case that interrupt affinity setting fails with -EBUSY can be handled > in the kernel completely by using the already available generic pending > infrastructure. > > If a irq_chip::set_affinity() fails with -EBUSY, handle it like the > i

Re: [PATCH 1/2] livepatch: Send a fake signal periodically

2018-06-05 Thread Miroslav Benes
On Mon, 4 Jun 2018, Josh Poimboeuf wrote: > On Mon, Jun 04, 2018 at 04:16:35PM +0200, Miroslav Benes wrote: > > An administrator may send a fake signal to all remaining blocking tasks > > of a running transition by writing to > > /sys/kernel/livepatch//signal attribute. Let's do it > > automatical

Re: [PATCH 13/19] mm/migrate: Use xchg instead of spinlock

2018-06-05 Thread Srikar Dronamraju
* Peter Zijlstra [2018-06-04 21:28:21]: > > if (time_after(jiffies, pgdat->numabalancing_migrate_next_window)) { > > - spin_lock(&pgdat->numabalancing_migrate_lock); > > - pgdat->numabalancing_migrate_nr_pages = 0; > > - pgdat->numabalancing_migrate_next_window =

[PATCH] perf tools: Fix object code reading for PTI entry trampolines

2018-06-05 Thread Adrian Hunter
Fix object code reading and the "Object code reading" test for PTI entry trampolines. perf tools uses map__rip_2objdump() to calculate objdump virtual addresses. map__rip_2objdump() needs to be amended to deal with PTI entry trampolines. Also the "Object code reading" test will not create maps for

Re: [PATCH v2 5/9] x86: bug: prevent gcc distortions

2018-06-05 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Nadav-Amit/x86-macrofying-inline-asm-for-better-compilation/20180605-124313 config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error

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

2018-06-05 Thread Hans de Goede
Hi, On 05-06-18 04:31, Darren Hart wrote: On Mon, Jun 04, 2018 at 04:23:04PM +0200, Hans de Goede wrote: Hi, On 04-06-18 15:51, Daniel Drake wrote: On Mon, Jun 4, 2018 at 7:22 AM, Hans de Goede wrote: Is this really a case of the hardware itself processing the keypress and then changing the

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

2018-06-05 Thread Naoya Horiguchi
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 boot parameter like memmap=1G!4G) > > - read /proc/kpageflags (or call tools/vm/pa

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

2018-06-05 Thread Hans de Goede
Hi, On 05-06-18 05:18, Chris Chiu wrote: On Tue, Jun 5, 2018 at 10:31 AM, Darren Hart wrote: On Mon, Jun 04, 2018 at 04:23:04PM +0200, Hans de Goede wrote: Hi, On 04-06-18 15:51, Daniel Drake wrote: On Mon, Jun 4, 2018 at 7:22 AM, Hans de Goede wrote: Is this really a case of the hardware

Re: [PATCH] module: exclude SHN_UNDEF symbols from kallsyms api

2018-06-05 Thread Jessica Yu
+++ Josh Poimboeuf [04/06/18 18:02 -0500]: On Mon, Jun 04, 2018 at 05:56:05PM -0500, Josh Poimboeuf wrote: On Mon, Jun 04, 2018 at 09:54:12AM -0500, Josh Poimboeuf wrote: > On Mon, Jun 04, 2018 at 04:05:11PM +0200, Jessica Yu wrote: > > +++ Josh Poimboeuf [04/06/18 08:16 -0500]: > > > On Mon, Ju

Re: [PULL 0/6] vfio-ccw updates for 4.18

2018-06-05 Thread Cornelia Huck
On Tue, 29 May 2018 14:35:06 +0200 Cornelia Huck wrote: Ping. > The following changes since commit 3376d98021e915196f4894d835325a884e635a04: > > s390/archrandom: Rework arch random implementation. (2018-05-25 08:12:58 > +0200) > > are available in the Git repository at: > > git://git.ker

Re: [PATCH v5 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-05 Thread Matti Vaittinen
On Mon, Jun 04, 2018 at 04:18:07PM +0300, Matti Vaittinen wrote: > +static struct regmap_irq_chip bd71837_irq_chip = { > + .name = "bd71837-irq", > + .irqs = bd71837_irqs, > + .num_irqs = ARRAY_SIZE(bd71837_irqs), > + .num_regs = 1, > + .irq_reg_stride = 1, > + .status_base

Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable

2018-06-05 Thread Michal Hocko
On Mon 04-06-18 09:31:46, Eric W. Biederman wrote: [...] > My key point is that it is easy to trigger which makes the current > mm_update_next_owner a fundamentally flawed design, and something that > needs to be fixed. Ohh, absolutely agreed! I was not trying to argue that part of course. -- Mi

Re: [PATCH 4.16 00/47] 4.16.14-stable review

2018-06-05 Thread Greg Kroah-Hartman
On Mon, Jun 04, 2018 at 06:20:44AM -0700, Guenter Roeck wrote: > On 06/03/2018 11:58 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.14 release. > > There are 47 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 13/19] mm/migrate: Use xchg instead of spinlock

2018-06-05 Thread Peter Zijlstra
On Tue, Jun 05, 2018 at 12:24:39AM -0700, Srikar Dronamraju wrote: > * Peter Zijlstra [2018-06-04 21:28:21]: > > > > if (time_after(jiffies, pgdat->numabalancing_migrate_next_window)) { > > > - spin_lock(&pgdat->numabalancing_migrate_lock); > > > - pgdat->numabalancing_migrate_n

Re: [PATCH 4.16 00/47] 4.16.14-stable review

2018-06-05 Thread Greg Kroah-Hartman
On Mon, Jun 04, 2018 at 01:47:12PM -0600, Shuah Khan wrote: > On 06/04/2018 12:58 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.14 release. > > There are 47 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: KASAN: use-after-free Read in do_general_protection

2018-06-05 Thread Dmitry Vyukov
On Mon, May 28, 2018 at 1:25 PM, Paolo Bonzini wrote: > On 26/05/2018 11:29, Dmitry Vyukov wrote: >> KASAN: stack-out-of-bounds Read in do_general_protection >> KASAN: slab-out-of-bounds Read in vmx_vcpu_run >> KASAN: use-after-scope Read in vmx_vcpu_run >> KASAN: stack-out-of-bounds Write in noti

[RESEND PATCH v5 0/4] kernel hacking: GCC optimization for better debug experience (-Og)

2018-06-05 Thread changbin . du
From: Changbin Du Hi all, I know some kernel developers was searching for a method to dissable GCC optimizations, probably they want to apply GCC '-O0' option. But since Linux kernel replys on GCC optimization to remove some dead code, so '-O0' just breaks the build. They do need this because the

[PATCH v5 4/4] kernel hacking: new config CC_OPTIMIZE_FOR_DEBUGGING to apply GCC -Og optimization

2018-06-05 Thread changbin . du
From: Changbin Du This will apply GCC '-Og' optimization level which is supported since GCC 4.8. This optimization level offers a reasonable level of optimization while maintaining fast compilation and a good debugging experience. It is similar to '-O1' while perferring to keep debug ability over

[PATCH v5 1/4] x86/mm: surround level4_kernel_pgt with #ifdef CONFIG_X86_5LEVEL...#endif

2018-06-05 Thread changbin . du
From: Changbin Du The level4_kernel_pgt is only defined when X86_5LEVEL is enabled. So surround level4_kernel_pgt with #ifdef CONFIG_X86_5LEVEL...#endif to make code correct. Signed-off-by: Changbin Du Acked-by: Steven Rostedt (VMware) --- arch/x86/include/asm/pgtable_64.h | 2 ++ arch/x86/k

[PATCH v5 3/4] ARM: mm: fix build error in fix_to_virt with CONFIG_CC_OPTIMIZE_FOR_DEBUGGING

2018-06-05 Thread changbin . du
From: Changbin Du With '-Og' optimization level, GCC would not optimize a count for a loop as a constant value. But BUILD_BUG_ON() only accept compile-time constant values. Let's use __fix_to_virt() to avoid the error. arch/arm/mm/mmu.o: In function `fix_to_virt': /home/changbin/work/linux/./inc

[PATCH v5 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations

2018-06-05 Thread changbin . du
From: Changbin Du This patch add a new kernel hacking option NO_AUTO_INLINE. Selecting this option will prevent the compiler from optimizing the kernel by auto-inlining functions not marked with the inline keyword. With this option, only functions explicitly marked with "inline" will be inlined.

Re: [PATCH v2 3/9] x86: refcount: prevent gcc distortions

2018-06-05 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Nadav-Amit/x86-macrofying-inline-asm-for-better-compilation/20180605-124313 config: x86_64-fedora-25 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All

Re: [PATCH 4.14 00/52] 4.14.48-stable review

2018-06-05 Thread Greg Kroah-Hartman
On Mon, Jun 04, 2018 at 04:11:03PM -0700, Kevin Hilman wrote: > kernelci.org bot writes: > > > Full Boot Summary: > > https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.47-53-g721adf61fde2/ > > Full Build Summary: > > https://kernelci.org/build/stable-rc/branch/linux-4

Re: [PATCH 4.16 00/47] 4.16.14-stable review

2018-06-05 Thread Greg Kroah-Hartman
On Tue, Jun 05, 2018 at 12:17:50PM +0530, Naresh Kamboju wrote: > On 4 June 2018 at 12:28, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.16.14 release. > > There are 47 patches in this series, all will be posted as a response > > to this one. If anyone ha

Dear friend

2018-06-05 Thread Mr Umar Bello
Dear friend I am contacting you for a business deal of $17.5 Million US Dollars, ready for transfer into your account if we make this claim, we will share it 60%/40%. 100% risk free and it will be legally backed up with government approved If you are interested reply for more details. Best reg

[PATCH] usb: xhci: remove the code build warning

2018-06-05 Thread Dongjiu Geng
Initialize the 'err' variate to remove the build warning, the warning is shown as below: drivers/usb/host/xhci-tegra.c: In function ‘tegra_xusb_mbox_thread’: drivers/usb/host/xhci-tegra.c:552:6: warning: ‘err’ may be used uninitialized in this function [-Wuninitialized] drivers/usb/host/xhci-tegr

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

2018-06-05 Thread Vincent Guittot
Hi Quentin, On 25 May 2018 at 15:12, Vincent Guittot wrote: > This patchset initially tracked only the utilization of RT rq. During > OSPM summit, it has been discussed the opportunity to extend it in order > to get an estimate of the utilization of the CPU. > > - Patches 1-3 correspond to the co

[PATCH v8 4/5] ARM: dts: Renesas RZN1D-DB Board base file

2018-06-05 Thread Michel Pollet
This adds a base device tree file for the RZN1-DB board, with only the basic support allowing the system to boot to a prompt. Only one UART is used, with only a single CPU running. Signed-off-by: Michel Pollet Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/Makefile | 1

Re: [PATCH v5 24/31] kconfig: add CC_IS_GCC and GCC_VERSION

2018-06-05 Thread Stefan Agner
On 05.06.2018 08:27, Masahiro Yamada wrote: > 2018-06-05 14:50 GMT+09:00 Stefan Agner : >> On 05.06.2018 02:07, Masahiro Yamada wrote: >>> Hi Stefan >>> >>> 2018-06-05 6:49 GMT+09:00 Stefan Agner : Hi Masahiro, On 28.05.2018 11:22, Masahiro Yamada wrote: > This will be useful to

Re: [PATCH 1/1] staging: wilc1000: Use common structs to parse ip packets

2018-06-05 Thread Dan Carpenter
On Mon, Jun 04, 2018 at 09:27:02PM +0200, Thibaut Robert wrote: > Le lundi 04 juin 2018 à 10:55:49 (+0530), Ajay Singh a écrit : > > > > Thank you for submitting the patches. > > > > The modification in this patch looks okay to me. > > Please resend this by including changes as suggested by Dan.

Re: [PATCH 01/19] sched/numa: Remove redundant field.

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:10PM +0530, Srikar Dronamraju wrote: > numa_entry is a list_head defined in task_struct, but never used. > > No functional change > > Signed-off-by: Srikar Dronamraju Acked-by: Mel Gorman -- Mel Gorman SUSE Labs

Re: [PATCH V1 3/3] scsi: ufs: Add sysfs support for ufs provision

2018-06-05 Thread Greg Kroah-Hartman
On Tue, Jun 05, 2018 at 08:16:50AM +, Stanislav Nijnikov wrote: > Hi Sayali, > > I think that passing an array of values in a string is not proper way > to work with a sysfs entry. There are binary attributes to do such > things. No, don't do that, sysfs is for "one value per file", and binar

[PATCH] module: exclude SHN_UNDEF symbols from kallsyms api

2018-06-05 Thread Jessica Yu
Livepatch modules are special in that we preserve their entire symbol tables in order to be able to apply relocations after module load. The unwanted side effect of this is that undefined (SHN_UNDEF) symbols of livepatch modules are accessible via the kallsyms api and this can confuse symbol resolu

Re: [PATCH 03/19] sched/numa: Simplify load_too_imbalanced

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:12PM +0530, Srikar Dronamraju wrote: > Currently load_too_imbalance() cares about the slope of imbalance. > It doesn't care of the direction of the imbalance. > > However this may not work if nodes that are being compared have > dissimilar capacities. Few nodes might

Attenzione

2018-06-05 Thread Amministratore
utente webmail Tieni presente che il 95% delle tue e-mail ricevute dopo l'ultima volta che hai bisogno di aggiornare il tuo server di versione webmail nel nostro database sono state ritardate. Per ricevere e inviare i tuoi messaggi su base regolare. Il nostro team tecnico di webmail aggiornerà

Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable

2018-06-05 Thread Kirill Tkhai
On 01.06.2018 18:25, Eric W. Biederman wrote: > Michal Hocko writes: > >> On Fri 01-06-18 09:32:42, Eric W. Biederman wrote: >>> Michal Hocko writes: >> [...] Group leader exiting early without tearing down the whole thread group should be quite rare as well. No question that somebody

Re: [PATCH 07/19] sched/numa: Skip nodes that are at hoplimit

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:16PM +0530, Srikar Dronamraju wrote: > When comparing two nodes at a distance of hoplimit, we should consider > nodes only upto hoplimit. Currently we also consider nodes at hoplimit > distance too. Hence two nodes at a distance of "hoplimit" will have same > groupweig

Re: [PATCH 06/19] sched/debug: Reverse the order of printing faults

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:15PM +0530, Srikar Dronamraju wrote: > Fix the order in which the private and shared numa faults are getting > printed. > > Shouldn't have any performance impact. > > Signed-off-by: Srikar Dronamraju Acked-by: Mel Gorman -- Mel Gorman SUSE Labs

[PATCH] ARM64: dts: meson-gxl-s905x-p212: Add phy-supply for usb0

2018-06-05 Thread Neil Armstrong
Like LibreTech-CC, the USB0 needs the 5V regulator to be enabled to power the devices on the P212 Reference Design based boards. Fixes: b9f07cb4f41f ("ARM64: dts: meson-gxl-s905x-p212: enable the USB controller") Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212

Re: [PATCH v6 3/8] x86/microcode/AMD: Check microcode container data in the early loader

2018-06-05 Thread Borislav Petkov
On Sun, May 20, 2018 at 12:07:17AM +0200, Maciej S. Szmigiero wrote: > Convert the early loader in the AMD microcode update driver to use the > container data checking functions introduced by the previous commit. > > We have to be careful to call these functions with 'early' parameter set, > so th

Re: [PATCH] usb: xhci: remove the code build warning

2018-06-05 Thread gengdongjiu
On 2018/6/5 16:40, Greg KH wrote: > On Wed, Jun 06, 2018 at 12:35:00AM +0800, Dongjiu Geng wrote: >> Initialize the 'err' variate to remove the build warning, >> the warning is shown as below: >> >> drivers/usb/host/xhci-tegra.c: In function ‘tegra_xusb_mbox_thread’: >> drivers/usb/host/xhci-teg

Re: [PATCH v6 2/8] x86/microcode/AMD: Add microcode container data checking functions

2018-06-05 Thread Borislav Petkov
On Sun, May 20, 2018 at 12:07:16AM +0200, Maciej S. Szmigiero wrote: > Add verify_container(), verify_equivalence_table(), verify_patch_section() > and verify_patch() functions to the AMD microcode update driver. > > These functions check whether a passed buffer contains the relevant > structure,

Re: [PATCH v6 5/8] x86/microcode/AMD: Check microcode container data in the late loader

2018-06-05 Thread Borislav Petkov
On Sun, May 20, 2018 at 12:07:19AM +0200, Maciej S. Szmigiero wrote: > Convert the late loader in the AMD microcode update driver to use newly > introduced microcode container data checking functions as it was previously > done for the early loader. > > Signed-off-by: Maciej S. Szmigiero > --- >

Re: [PATCH v6 8/8] x86/microcode/AMD: Don't scan past the CPU equivalence table data

2018-06-05 Thread Borislav Petkov
On Sun, May 20, 2018 at 12:07:22AM +0200, Maciej S. Szmigiero wrote: > Currently, the code scanning a CPU equivalence table read from a microcode > container file assumes that it actually contains a terminating zero entry, > but if does not then the code will continue the scan past its valid data.

Re: [rfc patch] mm, oom: fix unnecessary killing of additional processes

2018-06-05 Thread Michal Hocko
On Mon 04-06-18 21:25:39, David Rientjes wrote: > On Fri, 1 Jun 2018, Michal Hocko wrote: > > > > We've discussed the mm > > > having a single blockable mmu notifier. Regardless of how we arrive at > > > the point where the oom reaper can't free memory, which could be any of > > > those three

Re: [PATCH 08/19] sched/numa: Remove unused task_capacity from numa_stats

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:17PM +0530, Srikar Dronamraju wrote: > task_capacity field in struct numa_stats is redundant. > Also move nr_running for better packing within the struct. > > No functional changes. > > Signed-off-by: Srikar Dronamraju Acked-by: Mel Gorman -- Mel Gorman SUSE Lab

Re: [PATCH 09/19] sched/numa: Modify migrate_swap to accept additional params

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:18PM +0530, Srikar Dronamraju wrote: > There are checks in migrate_swap_stop that check if the task/cpu > combination is as per migrate_swap_arg before migrating. > > However atleast one of the two tasks to be swapped by migrate_swap could > have migrated to a complet

[GIT PULL] MMC for v.4.18

2018-06-05 Thread Ulf Hansson
Hi Linus, Here's the PR with MMC updates for v4.18. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 3de06d5a1f05c11c94cbb68af14dbfa7fb81d78b: mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_

Re: [greybus-dev] [PATCH] Staging:greybus Fix comparison to NULL

2018-06-05 Thread Dan Carpenter
On Tue, Jun 05, 2018 at 11:02:36AM +0530, Viresh Kumar wrote: > On 03-06-18, 08:52, Janani Sankara Babu wrote: > > This patch replaces comparison of var to NULL with !var > > > > Signed-off-by: Janani Sankara Babu > > --- > > drivers/staging/greybus/core.c | 2 +- > > 1 file changed, 1 insertion

Re: [PATCH 2/2] mm: don't skip memory guarantee calculations

2018-06-05 Thread Michal Hocko
On Mon 04-06-18 17:23:06, Roman Gushchin wrote: [...] > I'm happy to discuss any concrete issues/concerns, but I really see > no reasons to drop it from the mm tree now and start the discussion > from scratch. I do not think this is ready for the current merge window. Sorry! I would really prefer

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

2018-06-05 Thread Yisheng Xie
Hi Andy, On 2018/6/4 18:06, Andy Shevchenko wrote: > On Mon, Jun 4, 2018 at 4:06 AM, Yisheng Xie wrote: >> Hi Andy, >> >> On 2018/6/1 19:34, Andy Shevchenko wrote: >>> On Thu, May 31, 2018 at 2:11 PM, Yisheng Xie wrote: match_string() returns the index of an array for a matching string, >>>

Re: [PATCH] usb: xhci: remove the code build warning

2018-06-05 Thread Thierry Reding
On Tue, Jun 05, 2018 at 04:54:17PM +0800, gengdongjiu wrote: > > > On 2018/6/5 16:40, Greg KH wrote: > > On Wed, Jun 06, 2018 at 12:35:00AM +0800, Dongjiu Geng wrote: > >> Initialize the 'err' variate to remove the build warning, > >> the warning is shown as below: > >> > >> drivers/usb/host/xhci

Re: [lkp-robot] [vti6] b4331a6818: kernel_selftests.net.pmtu.sh.fail

2018-06-05 Thread Stefano Brivio
On Tue, 5 Jun 2018 15:09:27 +0800 kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-7): > > commit: b4331a681822b420511b3258f1c3db35001fde48 ("vti6: Change minimum MTU > to IPV4_MIN_MTU, vti6 can carry IPv4 too") > https://git.kernel.org/cgit/linux/kernel/git/torva

Re: [PATCH RESEND] pwm: berlin: Don't use broken prescaler values

2018-06-05 Thread Thierry Reding
On Mon, Jun 04, 2018 at 02:32:41PM -0400, Thomas Hebb wrote: > Six of the eight prescaler values available for Berlin PWM are not true > prescalers but rather internal shifts that throw away the high bits of > TCNT. Currently, we attempt to use those high bits, leading to erratic > behavior. Restri

Re: [PATCH V2] i8042: Increment wakeup_count for the respective port.

2018-06-05 Thread Rafael J. Wysocki
On Mon, Jun 4, 2018 at 11:53 PM, Dmitry Torokhov wrote: > On Fri, Jun 01, 2018 at 06:07:08PM -0700, Ravi Chandra Sadineni wrote: >> Call pm_wakeup_event on every irq. This should help us in identifying if >> keyboard was a potential wake reason for the last resume. >> >> Signed-off-by: Ravi Chandr

Re: [PATCH v9 2/7] i2c: Add FSI-attached I2C master algorithm

2018-06-05 Thread Andy Shevchenko
On Tue, Jun 5, 2018 at 2:38 AM, Benjamin Herrenschmidt wrote: > On Mon, 2018-06-04 at 22:21 +0300, Andy Shevchenko wrote: >> > +#define I2C_INT_ENABLE 0xff80 >> > +#define I2C_INT_ERR0xfcc0 >> >> Now it looks like a flags combinations. >> For me as for reader would be b

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

2018-06-05 Thread Daniel Lezcano
Initially, the cpu_cooling device for ARM was changed by adding a new policy inserting idle cycles. The intel_powerclamp driver does a similar action. Instead of implementing idle injections privately in the cpu_cooling device, move the idle injection code in a dedicated framework and give the opp

[PATCH 6/9] Input: cros_ec_keyb - Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/input/keyboard/cros_ec_keyb.c | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/drivers/input/keyboard/cros_ec_keyb.c

[PATCH 0/9] croc_ec: Switch to SPDX identifier

2018-06-05 Thread Enric Balletbo i Serra
Dear all, This patchset is just to adopt the SPDX license identifier for all ChromeOS Embedded Controller related drivers. The patches touches different subsystems but every patch can be picked from their respective maintainer independently. Thanks, Enric Enric Balletbo i Serra (9): platform/

[PATCH 9/9] i2c: i2c-cros-ec-tunnel: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/i2c/busses/i2c-cros-ec-tunnel.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/i2c/busses/i2c-cros-ec-tunnel.c b/drive

[PATCH 8/9] extcon: usbc-cros-ec: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/extcon/extcon-usbc-cros-ec.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/extcon/extcon-usbc-cros-ec.c b/drive

[PATCH 2/9] platform/chrome: pstore: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/platform/chrome/chromeos_pstore.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/platform/chrome/chromeos_pstore.c b/dri

[PATCH 7/9] pwm: cros-ec: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/pwm/pwm-cros-ec.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/pwm/pwm-cros-ec.c b/drivers/pwm/pwm-cros-ec.c index 9c13

[PATCH 1/9] platform/chrome: cros_ec: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/platform/chrome/cros_ec_debugfs.c | 22 +++- drivers/platform/chrome/cros_ec_lightbar.c| 22 +++- drivers/platform/chrome/cros_ec_lp

[PATCH 5/9] rtc: cros-ec: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/rtc/rtc-cros-ec.c | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/drivers/rtc/rtc-cros-ec.c b/drivers/rtc/rtc-cros-ec.c i

[PATCH 4/9] iio: cros_ec: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/iio/accel/cros_ec_accel_legacy.c | 23 -- .../common/cros_ec_sensors/cros_ec_sensors.c | 24 ++- .../cros_ec_sensors/cros_ec_s

[PATCH 3/9] mfd: cros_ec: Add or fix SPDX-License-Identifier in all files.

2018-06-05 Thread Enric Balletbo i Serra
And get rid of the license text that is no longer necessary. Also fix the license as sometimes doesn't match what the header with the value in the MODULE_LICENSE macro. Assuming that the desired license is GPL-2.0+, all the files are updated to this license version. Signed-off-by: Enric Balletbo i

Re: [RFC/RFT] [PATCH v3 1/4] cpufreq: intel_pstate: Add HWP boost utility and sched util hooks

2018-06-05 Thread Rafael J. Wysocki
On Fri, Jun 1, 2018 at 12:51 AM, Srinivas Pandruvada wrote: > Added two utility functions to HWP boost up gradually and boost down to > the default cached HWP request values. > > Boost up: > Boost up updates HWP request minimum value in steps. This minimum value > can reach upto at HWP request max

[PATCH] dm: Use kzalloc for all structs with embedded biosets/mempools

2018-06-05 Thread Kent Overstreet
mempool_init()/bioset_init() require that the mempools/biosets be zeroed first; they probably should not _require_ this, but not allocating those structs with kzalloc is a fairly nonsensical thing to do (calling mempool_exit()/bioset_exit() on an uninitialized mempool/bioset is legal and safe, but

Re: [PATCHv2 05/16] atomics: prepare for atomic64_fetch_add_unless()

2018-06-05 Thread Peter Zijlstra
On Tue, May 29, 2018 at 04:43:35PM +0100, Mark Rutland wrote: > /** > + * atomic64_add_unless - add unless the number is already a given value > + * @v: pointer of type atomic_t > + * @a: the amount to add to v... > + * @u: ...unless v is equal to u. > + * > + * Atomically adds @a to @v, so long a

Re: [PATCH] mmc: tegra: Use sdhci_pltfm_clk_get_max_clock

2018-06-05 Thread Thierry Reding
On Mon, Jun 04, 2018 at 06:35:40PM +0300, Aapo Vienamo wrote: > The sdhci get_max_clock callback is set to sdhci_pltfm_clk_get_max_clock > and tegra_sdhci_get_max_clock is removed. It appears that the > shdci-tegra specific callback was originally introduced due to the > requirement that the host c

Re: [PATCH 8/9] extcon: usbc-cros-ec: Switch to SPDX identifier.

2018-06-05 Thread Chanwoo Choi
On 2018년 06월 05일 18:22, Enric Balletbo i Serra wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Signed-off-by: Enric Balletbo i Serra > --- > > drivers/extcon/extcon-usbc-cros-ec.c | 20 +--- > 1 file changed, 5 insertions(+), 15 de

[PATCH v2 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 +- arch/arm64

[PATCH v2 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/mm/mmu.c | 75 - 1 file changed, 47 insertions(+), 28 deletions(-) diff --git a/arch/arm64/mm/mmu.c b/ar

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

2018-06-05 Thread Jun Yao
Version 2 changes: * Move __pa_swapper_pg_dir to mmuoff.data.read section[1] * Fix problem with CONFIG_ARM64_SW_TTBR0_PAN[2] * Update comment about __enable_mmu() [v1] https://www.spinics.net/lists/kernel/msg2819351.html [1] https://www.spinics.net/lists/kernel/msg2819594.

[PATCH v2 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: [RFC/RFT] [PATCH v3 0/4] Intel_pstate: HWP Dynamic performance boost

2018-06-05 Thread Rafael J. Wysocki
On Mon, Jun 4, 2018 at 8:24 PM, Srinivas Pandruvada wrote: > On Mon, 2018-06-04 at 20:01 +0200, Giovanni Gherdovich wrote: >> On Thu, May 31, 2018 at 03:51:39PM -0700, Srinivas Pandruvada wrote: >> > v3 >> > - Removed atomic bit operation as suggested. >> > - Added description of contention with u

Re: [PATCH 8/9] extcon: usbc-cros-ec: Switch to SPDX identifier.

2018-06-05 Thread Enric Balletbo i Serra
On 05/06/18 11:30, Chanwoo Choi wrote: > On 2018년 06월 05일 18:22, Enric Balletbo i Serra wrote: >> Adopt the SPDX license identifier headers to ease license compliance >> management. >> >> Signed-off-by: Enric Balletbo i Serra >> --- >> >> drivers/extcon/extcon-usbc-cros-ec.c | 20 +

Re: [PATCH] mmc: tegra: Use sdhci_pltfm_clk_get_max_clock

2018-06-05 Thread Adrian Hunter
On 04/06/18 18:35, Aapo Vienamo wrote: > The sdhci get_max_clock callback is set to sdhci_pltfm_clk_get_max_clock > and tegra_sdhci_get_max_clock is removed. It appears that the > shdci-tegra specific callback was originally introduced due to the > requirement that the host clock has to be twice th

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-06-05 Thread Philipp Zabel
Hi Masahiro, On Wed, 2018-05-30 at 14:57 +0900, Masahiro Yamada wrote: > One more thing. > > I want to remove reset_control_reset() entirely. reset_control_reset is for those cases where "the reset controller knows" how to reset us. There are hardware reset controllers that can control a bunch o

Linux 4.9.106

2018-06-05 Thread Greg KH
I'm announcing the release of the 4.9.106 kernel. Not everyone who uses 4.9 needs to upgrade here, it's a big sync of the objtool codebase to make future maintenance of 4.9.y easier over time, that's all. But of course, updating and verifying that nothing broke is always appreciated :) The updat

Re: [PATCH 02/11] PM / devfreq: Fix handling of min/max_freq == 0

2018-06-05 Thread Chanwoo Choi
Hi, On 2018년 05월 31일 06:13, Matthias Kaehlcke wrote: > On Wed, May 30, 2018 at 05:04:14PM +0900, Chanwoo Choi wrote: >> Hi, >> >> On 2018년 05월 30일 03:57, Matthias Kaehlcke wrote: >>> On Mon, May 28, 2018 at 03:37:47PM +0900, Chanwoo Choi wrote: Hi, On 2018년 05월 26일 05:30, Matthias K

Re: [PATCHv2 00/16] atomics: API cleanups

2018-06-05 Thread Peter Zijlstra
Looking good, thanks! Acked-by: Peter Zijlstra (Intel)

Re: [PATCH 5/9] rtc: cros-ec: Switch to SPDX identifier.

2018-06-05 Thread Alexandre Belloni
On 05/06/2018 11:22:05+0200, Enric Balletbo i Serra wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Signed-off-by: Enric Balletbo i Serra > --- > > drivers/rtc/rtc-cros-ec.c | 21 + > 1 file changed, 5 insertions(+), 16 deletio

Re: [PATCH 10/19] sched/numa: Stop multiple tasks from moving to the cpu at the same time

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:19PM +0530, Srikar Dronamraju wrote: > Task migration under numa balancing can happen in parallel. More than > one task might choose to migrate to the same cpu at the same time. This > can result in > - During task swap, choosing a task that was not part of the evaluat

Re: [PATCH 11/19] sched/numa: Restrict migrating in parallel to the same node.

2018-06-05 Thread Mel Gorman
On Mon, Jun 04, 2018 at 03:30:20PM +0530, Srikar Dronamraju wrote: > Since task migration under numa balancing can happen in parallel, more > than one task might choose to move to the same node at the same time. > This can cause load imbalances at the node level. > > The problem is more likely if

Re: [PATCHv2 05/16] atomics: prepare for atomic64_fetch_add_unless()

2018-06-05 Thread Mark Rutland
On Tue, Jun 05, 2018 at 11:26:37AM +0200, Peter Zijlstra wrote: > On Tue, May 29, 2018 at 04:43:35PM +0100, Mark Rutland wrote: > > /** > > + * atomic64_add_unless - add unless the number is already a given value > > + * @v: pointer of type atomic_t > > + * @a: the amount to add to v... > > + * @u

Linux 4.14.48

2018-06-05 Thread Greg KH
I'm announcing the release of the 4.14.48 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

  1   2   3   4   5   6   7   8   >