Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Igor Grinberg
On 10/20/14 13:09, Andreas Werner wrote: > On Mon, Oct 20, 2014 at 05:11:41PM +0800, Greg KH wrote: >> On Mon, Oct 20, 2014 at 10:33:45AM +0200, Andreas Werner wrote: >>> On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrot

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Michal Hocko
On Tue 21-10-14 10:31:19, Vladimir Davydov wrote: > On Mon, Oct 20, 2014 at 08:53:06PM +0200, Michal Hocko wrote: > > On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: > > > The activate_kmem_mutex is used to serialize memcg.kmem.limit updates, > > > but we already serialize them with memcg_limit_m

Re: [PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-20 Thread Philippe Rétornaz
Hello [...] - Use raw notifiers protected by spinlocks instead of atomic notifiers [...] +/** + * do_kernel_power_off - Execute kernel poweroff handler call chain + * + * Calls functions registered with register_power_off_handler. + * + * Expected to be called from machine_power_o

FYI: unclean Intel RAID reported as "clean"

2014-10-20 Thread Ulrich Windl
Hi! I detected a problem with an Intel (imsm, ICH) RAID1 reported as "clean" by Linux, while the BIOS and Windows claimed the RAID is in state "rebuild". This was for an older kernel, and the bug had been reported to openSUSE bugzilla as bug #902000. Anyone interested can find the details there

Re: [PATCH v1] tty: serial: 8250_core: restore the LCR register in set_sleep

2014-10-20 Thread Sudhir Sreedharan
On Mon, Oct 20, 2014 at 8:31 PM, Kevin Hilman wrote: > Sudhir Sreedharan writes: > >> In ST16650V2 based serial uarts, while initalizing the PM state, >> LCR registers are being initialized to 0 in serial8250_set_sleep(). >> If console port is already initialized and being used, this will >> thro

Re: [GIT PULL REQUEST] watchdog - v3.18 Merge window

2014-10-20 Thread Uwe Kleine-König
Hello Wim, On Mon, Oct 20, 2014 at 09:53:20PM +0200, Wim Van Sebroeck wrote: > commit 4846e3784585173f48e267b76f968bcb4a12d3b2 > Author: Uwe Kleine-König > Date: Tue Sep 9 22:18:31 2014 +0200 > > watchdog: simplify definitions of WATCHDOG_NOWAYOUT(_INIT_STATUS)? > > Signed-off-by:

What happened with the Patch "New RAID library supporting up to six parities"

2014-10-20 Thread Ronny Egner
Dear All, i was wondering what happened with the patch posted by Andrea Mazzoleni back in Februrary 2014 (this Thread: http://thread.gmane.org/gmane.linux.kernel/1654735). Why wash´t it added to the code? Something missing/wrong? In my opinion the posted patch is awesome and would enable a uniqu

Re: [PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-10-20 Thread Kumar Gala
On Oct 21, 2014, at 7:56 AM, Ankit Jindal wrote: > Currently, three types of mem regions are supported: UIO_MEM_PHYS, > UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps > UIO driver export physcial memory to user space as non-cacheable > user memory. Typcially memory-mapped re

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Vladimir Davydov
On Mon, Oct 20, 2014 at 08:53:06PM +0200, Michal Hocko wrote: > On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: > > The activate_kmem_mutex is used to serialize memcg.kmem.limit updates, > > but we already serialize them with memcg_limit_mutex so let's remove the > > former. > > > > Signed-off-b

Re: [PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 21 October 2014 11:47, Varka Bhadram wrote: > On 10/21/2014 11:46 AM, Ankit Jindal wrote: >> >> On 21 October 2014 11:34, Varka Bhadram wrote: >>> >>> On 10/21/2014 11:26 AM, Ankit Jindal wrote: The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) wh

Re: [PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Varka Bhadram
On 10/21/2014 11:46 AM, Ankit Jindal wrote: On 21 October 2014 11:34, Varka Bhadram wrote: On 10/21/2014 11:26 AM, Ankit Jindal wrote: The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) which is hardware based Queue or Ring manager. This QMTM device can be used i

Re: [PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 21 October 2014 11:34, Varka Bhadram wrote: > On 10/21/2014 11:26 AM, Ankit Jindal wrote: >> >> The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager >> and Traffic manager) which is hardware based Queue or Ring >> manager. This QMTM device can be used in conjunction with >> other device

Re: [PATCH 2/4] mm: introduce new VM_NOZEROPAGE flag

2014-10-20 Thread Martin Schwidefsky
On Mon, 20 Oct 2014 20:14:53 +0200 Paolo Bonzini wrote: > On 10/18/2014 06:28 PM, Dave Hansen wrote: > > > Currently it is an all or nothing thing, but for a future change we might > > > want to just > > > tag the guest memory instead of the complete user address space. > > > > I think it's a ba

Re: [PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Varka Bhadram
On 10/21/2014 11:26 AM, Ankit Jindal wrote: The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) which is hardware based Queue or Ring manager. This QMTM device can be used in conjunction with other devices such as DMA Engine, Ethernet, Security Engine, etc to assign

Re: [RFC 3/5] x86: Add a comment clarifying LDT context switching

2014-10-20 Thread Borislav Petkov
On Mon, Oct 20, 2014 at 10:44:18PM -0700, Andy Lutomirski wrote: > You're exactly correct, or at least you seem to understand it the way I do :) Ok, cool. Now, if I had more time, I'd take a guest and add some debugging code to see when exactly that happens and how prev->context.ldt and next->con

Re: [PATCH 1/2] ASoC: rockchip-max98090: add driver for rockchip board using a max98090

2014-10-20 Thread Jianqun
Hi , could someone help to review my patch ? 在 10/07/2014 09:43 AM, Jianqun 写道: > The driver is used for rockchip board using a max98090. > Test on RK3288 board with max98090. > > Signed-off-by: Jianqun Xu > --- > sound/soc/rockchip/Kconfig | 9 + > sound/soc/rockchip/Makefile

[PATCH v3 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE

2014-10-20 Thread Ankit Jindal
This patch updates UIO documentation for new mem region type UIO_MEM_PHYS_CACHE. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- Documentation/DocBook/uio-howto.tmpl |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b/D

[PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) which is hardware based Queue or Ring manager. This QMTM device can be used in conjunction with other devices such as DMA Engine, Ethernet, Security Engine, etc to assign work based on queues or rings. This patch all

[PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-10-20 Thread Ankit Jindal
Currently, three types of mem regions are supported: UIO_MEM_PHYS, UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps UIO driver export physcial memory to user space as non-cacheable user memory. Typcially memory-mapped registers of a device are exported to user space as UIO_MEM_PH

[PATCH v3 1/6] uio: code style cleanup

2014-10-20 Thread Ankit Jindal
This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index a673e5b..97e6444 10

[PATCH v3 6/6] MAINTAINERS: Add entry for APM X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
Add entry to maintainer list for APM X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..138663f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -727,

[PATCH v3 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
This patch adds device tree binding documentation for X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- .../devicetree/bindings/uio/uio_xgene_qmtm.txt | 53 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v3 0/6] UIO driver for APM X-Gene QMTM

2014-10-20 Thread Ankit Jindal
This patchset enables user space access to APM X-Gene QMTM using UIO framework. The patchset also introduces new type UIO_MEM_PHYS_CACHE for mem regions because APM X-Gene QMTM device supports cache coherency with CPU caches. Changes since v2: - Formatting cleanups. - Remove qmtm_cleanup(). Ch

Re: [PATCH RFC v2 8/8] ARM: zynq: DT: Add pinctrl information

2014-10-20 Thread Michal Simek
On 10/16/2014 07:11 PM, Soren Brinkmann wrote: > Add pinctrl descriptions to the zc702 and zc706 device trees. > > Signed-off-by: Soren Brinkmann > --- > arch/arm/boot/dts/zynq-7000.dtsi | 8 ++- > arch/arm/boot/dts/zynq-zc702.dts | 147 > +++ > arch/arm/bo

Re: [PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 30 September 2014 11:35, Varka Bhadram wrote: > I think *drivers* is not required in the commit message... > > > On 09/30/2014 09:56 AM, Ankit Jindal wrote: >> >> The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager >> and Traffic manager) which is hardware based Queue or Ring >> manage

Re: [PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 30 September 2014 11:05, Guenter Roeck wrote: > On Tue, Sep 30, 2014 at 09:56:07AM +0530, Ankit Jindal wrote: >> The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager >> and Traffic manager) which is hardware based Queue or Ring >> manager. This QMTM device can be used in conjunction wit

[PATCH v2] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board

2014-10-20 Thread Pramod Gurav
This changes muxes in gpio26 pin to function as gpio and adds support for sd card detect for apq8064 based IFC6410 board. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Russell King Cc: Srinivas Kandagatla Signed-off-by: Pramod Gurav --- Changes since

Re: [PATCHv1 7/8] cgroup: cgroup namespace setns support

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 10:42 PM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> On Mon, Oct 20, 2014 at 9:49 PM, Eric W. Biederman >> wrote: >>> Andy Lutomirski writes: Possible solution: Ditch the pinning. That is, if you're outside a cgroupns (or you have a non-

Re: [PATCH v5 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-20 Thread Arnd Bergmann
On Monday 20 October 2014 15:59:45 Scott Branden wrote: > On 14-10-20 12:55 PM, Arnd Bergmann wrote: > > On Tuesday 14 October 2014 19:58:51 Scott Branden wrote: > >> if ARCH_BCM > >> > >> +menu "iProc SoC based Machine types" > >> + config ARCH_BCM_IPROC > >> + bool > >> +

Re: [RFC 3/5] x86: Add a comment clarifying LDT context switching

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 10:41 PM, Borislav Petkov wrote: > On Thu, Oct 16, 2014 at 09:21:42AM -0700, Andy Lutomirski wrote: >> I think it's the same as in the other case in switch_mm. leave_mm does >> cpumask_clear_cpu(cpu, mm_cpumask(active_mm)), and, once that has >> happened, modify_ldt won't s

Re: [PATCHv1 7/8] cgroup: cgroup namespace setns support

2014-10-20 Thread Eric W. Biederman
Andy Lutomirski writes: > On Mon, Oct 20, 2014 at 9:49 PM, Eric W. Biederman > wrote: >> Andy Lutomirski writes: >> >>> On Sun, Oct 19, 2014 at 9:55 PM, Eric W.Biederman >>> wrote: On October 19, 2014 1:26:29 PM CDT, Andy Lutomirski wrote: >> > Is the idea >that

[PATCH] scsi: storvsc: Force SPC-3 for Win8 Hosts or Later

2014-10-20 Thread Jeff Leung
This patch forces SPC-3 for Hyper-V disks on the VMBus. As Windows 10's virtual SAS bus is SPC-3 compliant and there are no negative side effects on forcing SPC-3 compliance for Win8 hosts, this patch enables SPC-3 compliance by forcing it on for hosts with versions later than Win8. Forcing SPC-3

Re: [RFC 3/5] x86: Add a comment clarifying LDT context switching

2014-10-20 Thread Borislav Petkov
On Thu, Oct 16, 2014 at 09:21:42AM -0700, Andy Lutomirski wrote: > I think it's the same as in the other case in switch_mm. leave_mm does > cpumask_clear_cpu(cpu, mm_cpumask(active_mm)), and, once that has > happened, modify_ldt won't send an IPI to this CPU. So, if leave_mm > runs, and then anothe

[PATCH] scsi: storvsc: Force SPC-3 for Win8 Hosts or Later

2014-10-20 Thread Jeff Leung
This patch forces SPC-3 for Hyper-V disks on the VMBus. As Windows 10's virtual SAS bus is SPC-3 compliant and there are no negative side effects on forcing SPC-3 compliance for Win8 hosts, this patch enables SPC-3 compliance by forcing it on for hosts with versions later than Win8. Forcing SPC-3

Re: [RFC PATCH 0/2] dirreadahead system call

2014-10-20 Thread Abhijith Das
- Original Message - > From: "Dave Chinner" > To: "Andreas Dilger" > Cc: "Abhijith Das" , "LKML" , > "linux-fsdevel" > , cluster-de...@redhat.com > Sent: Thursday, July 31, 2014 6:53:06 PM > Subject: Re: [RFC PATCH 0/2] dirreadahead system call > > On Thu, Jul 31, 2014 at 01:19:45PM +

RE: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-20 Thread Jeff Leung
> Is it OK to replace a scsi_level of SCSI-2 with SCSI_SPC_3? Additionally is > it also OK to force > SCSI_SPC_3 on Hyper-V 2008? I would patch the driver accordingly to force the SPC-3 flag. For a Win2k8 host, I don't know what the side effects are, so it's safe to say it's not a good idea to

GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-20 Thread Alexandre Courbot
On Mon, Oct 20, 2014 at 11:26 PM, Arnd Bergmann wrote: > On Monday 20 October 2014 15:12:50 Alexandre Courbot wrote: >> On Sat, Oct 18, 2014 at 6:47 PM, Arnd Bergmann wrote: >> > On Friday 17 October 2014 20:09:51 Arnd Bergmann wrote: >> >> On October 17, 2014 2:16:00 PM CEST, "Rafael J. Wysocki"

Re: powerpc: Wire up sys_bpf() syscall

2014-10-20 Thread Denis Kirjanov
I don't see any problems with it On 10/21/14, Michael Ellerman wrote: > On Tue, 2014-10-21 at 08:52 +0400, Denis Kirjanov wrote: >> We have a test suite under samples/bpf/ > > Thanks. > > I looked under tools/testing/selftests, could it move in there? > > cheers > > > -- Regards, Denis -- To u

Re: powerpc: Wire up sys_bpf() syscall

2014-10-20 Thread Denis Kirjanov
I don't see any problems with it On 10/21/14, Michael Ellerman wrote: > On Tue, 2014-10-21 at 08:52 +0400, Denis Kirjanov wrote: >> We have a test suite under samples/bpf/ > > Thanks. > > I looked under tools/testing/selftests, could it move in there? > > cheers > > > -- Regards, Denis -- To u

[PATCH] arm64: kgdb: fix single stepping

2014-10-20 Thread AKASHI Takahiro
I tried to verify kgdb in vanilla kernel on fast model, but it seems that the single stepping with kgdb doesn't work correctly since its first appearance at v3.15. On v3.15, 'stepi' command after breaking the kernel at some breakpoint steps forward to the next instruction, but the succeeding 'step

Re: [PATCHv1 7/8] cgroup: cgroup namespace setns support

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 9:49 PM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> On Sun, Oct 19, 2014 at 9:55 PM, Eric W.Biederman >> wrote: >>> >>> >>> On October 19, 2014 1:26:29 PM CDT, Andy Lutomirski >>> wrote: > Is the idea that you want a privileged user wrt a cgroupns

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-10-20 Thread Andy Lutomirski
On 10/20/2014 07:00 PM, Dave Jones wrote: > On Fri, May 30, 2014 at 08:41:00AM -0700, Linus Torvalds wrote: > > On Fri, May 30, 2014 at 8:25 AM, H. Peter Anvin wrote: > > > > > > If we removed struct thread_info from the stack allocation then one > > > could do a guard page below the stack. O

Re: [PATCH] kernel, add bug_on_warn

2014-10-20 Thread Yasuaki Ishimatsu
Hi Prarit, (2014/10/21 9:54), Prarit Bhargava wrote: On 10/20/2014 06:24 PM, Andrew Morton wrote: On Mon, 20 Oct 2014 08:00:20 -0400 Prarit Bhargava wrote: There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get

RE: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Thomas Shao
> -Original Message- > From: Jeff Epler [mailto:jep...@unpythonic.net] > Sent: Tuesday, October 21, 2014 12:02 PM > To: Thomas Shao > Cc: Thomas Gleixner; gre...@linuxfoundation.org; LKML; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; KY Sriniva

Re: powerpc: Wire up sys_bpf() syscall

2014-10-20 Thread Michael Ellerman
On Tue, 2014-10-21 at 08:52 +0400, Denis Kirjanov wrote: > We have a test suite under samples/bpf/ Thanks. I looked under tools/testing/selftests, could it move in there? cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: powerpc: Wire up sys_bpf() syscall

2014-10-20 Thread Denis Kirjanov
We have a test suite under samples/bpf/ On 10/21/14, Michael Ellerman wrote: > On Fri, 2014-10-10 at 05:53:45 UTC, Pranith Kumar wrote: >> This patch wires up the new syscall sys_bpf() on powerpc. > > Is there a test suite we can run to verify it works? > > cheers > _

Re: [PATCHv1 7/8] cgroup: cgroup namespace setns support

2014-10-20 Thread Eric W. Biederman
Andy Lutomirski writes: > On Sun, Oct 19, 2014 at 9:55 PM, Eric W.Biederman > wrote: >> >> >> On October 19, 2014 1:26:29 PM CDT, Andy Lutomirski >> wrote: >>> Is the idea >>>that you want a privileged user wrt a cgroupns's userns to be able to >>>use this? If so: >>> >>>Yes, that current_c

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
(2014/10/21 12:36), Neil Zhang wrote: -Original Message- From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] Sent: 2014年10月21日 11:27 To: Neil Zhang; Dan Streetman Cc: Greg KH; linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do h

Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-20 Thread Sitsofe Wheeler
On Sun, Oct 12, 2014 at 01:21:01AM +, KY Srinivasan wrote: > > > -Original Message- > > From: Jeff Leung [mailto:jle...@v10networks.ca] > > Sent: Saturday, October 11, 2014 1:22 PM > > > > > On the current release of Windows (windows 10), we are advertising > > > SPC3 compliance. > >

Re: [PATCH 0/8] x86: Disentangle the vdso and clean it up

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 3:41 PM, Andy Lutomirski wrote: > On Mon, Oct 20, 2014 at 3:03 PM, H. Peter Anvin wrote: >> On 10/20/2014 02:57 PM, Andy Lutomirski wrote: >>> >>> Should I send a replacement for patch 8 or should I let you merge 1-7 >>> and fold this into the followup series? >>> >> >> Pl

Re: powerpc: Wire up sys_bpf() syscall

2014-10-20 Thread Michael Ellerman
On Fri, 2014-10-10 at 05:53:45 UTC, Pranith Kumar wrote: > This patch wires up the new syscall sys_bpf() on powerpc. Is there a test suite we can run to verify it works? cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: [PATCHv4 RESEND 0/3] syscalls,x86: Add execveat() system call

2014-10-20 Thread Eric W. Biederman
Andy Lutomirski writes: > On Mon, Oct 20, 2014 at 6:48 AM, David Drysdale wrote: >> On Sun, Oct 19, 2014 at 1:20 AM, Eric W. Biederman >> wrote: >>> Andy Lutomirski writes: >>> [Added Eric Biederman, since I think your tree might be a reasonable route forward for these patches.]

Re: vga and 64-bit memcpy's

2014-10-20 Thread Dave Airlie
On 13 September 2014 01:11, Linus Torvalds wrote: > On Fri, Sep 12, 2014 at 3:48 AM, Dave Airlie wrote: >> >> Well I'm not shocked that an SMI GPU is out of spec, just not sure how >> we can workaround it. > > Try just removing the > > #define scr_memcpyw(d, s, c) memcpy(d, s, c) > #define VT

Re: [RFC 0/5] CR4 handling improvements

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 9:06 PM, Vince Weaver wrote: > On Tue, 14 Oct 2014, Andy Lutomirski wrote: > >> This little series tightens up rdpmc permissions. With it applied, >> rdpmc can only be used if a perf_event is actually mmapped. For now, >> this is only really useful for seccomp. > > So jus

[PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-20 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to remove power from the system. For the most part, those drivers set the global variable pm_power_off to point to a function within the driver. This mechanism has a number of drawbacks. Typically only one scheme to remove power

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-20 Thread Guenter Roeck
On 10/20/2014 09:46 AM, Pali Rohár wrote: Ok, I will describe my problem. Guenter, maybe you can find another solution/fix for it. Calling i8k_get_temp(3) on my laptop without I8K_TEMPERATURE_BUG always returns value 193 (which is above I8K_MAX_TEMP). When I8K_TEMPERATURE_BUG is enabled (by def

[PATCH v2 02/47] memory: emif: Use API function to determine poweroff capability

2014-10-20 Thread Guenter Roeck
Use have_kernel_power_off() to determine if the kernel is able to power off the system. Cc: Santosh Shilimkar Signed-off-by: Guenter Roeck --- v2: - poweroff -> power_off drivers/memory/emif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/emif.c b/drive

[PATCH v2 04/47] m68k: Replace mach_power_off with pm_power_off

2014-10-20 Thread Guenter Roeck
Replace mach_power_off with pm_power_off to simplify the subsequent move of pm_power_off to generic code. Cc: Geert Uytterhoeven Cc: Greg Ungerer Cc: Joshua Thompson Acked-by: Geert Uytterhoeven Signed-off-by: Guenter Roeck --- v2: - have_kernel_poweroff -> have_kernel_power_off arch/m68k/e

[PATCH v2 07/47] qnap-poweroff: Drop reference to pm_power_off from devicetree bindings

2014-10-20 Thread Guenter Roeck
Replace reference to pm_power_off (which is an implementation detail) and replace it with a more generic description of the driver's functionality. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Acked-by: Mark Rutland Acked-by: Andrew Lunn Signed-off-by: Guenter Roeck --- v2: Drop implement

[PATCH v2 05/47] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-20 Thread Guenter Roeck
Devicetree bindings are supposed to be operating system independent and should thus not describe how a specific functionality is implemented in Linux. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Acked-by: Mark Rutland Signed-off-by: Guenter Roeck --- v2: No change Documentation/devicetr

[PATCH v2 09/47] mfd: palmas: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 08/47] kernel: Move pm_power_off to common code

2014-10-20 Thread Guenter Roeck
pm_power_off is defined for all architectures. Move it to common code. Have all architectures call do_kernel_power_off instead of pm_power_off. Some architectures point pm_power_off to machine_power_off. For those, call do_kernel_power_off from machine_power_off instead. Acked-by: David Vrabel A

[PATCH v2 10/47] mfd: axp20x: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Lee Jones Cc: Samuel Ortiz Signed-off-by: Guenter Roeck --- v2: - Use define to specif

[PATCH v2 11/47] mfd: retu: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Lee Jones Cc: Samuel Ortiz Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 12/47] mfd: ab8500-sysctrl: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. sysctrl_dev is set prior to poweroff handler registration, and the poweroff handler is unregistered prior t

[PATCH v2 14/47] mfd: tps80031: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 16/47] mfd: tps6586x: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 15/47] mfd: dm355evm_msp: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 13/47] mfd: max8907: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Note that this patch fixes a problem on driver unload as side effect: The old code did not restore or clean

[PATCH v2 22/47] power/reset: restart-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register as poweroff handler of last resort since the driver does not really power off the system but executes a restart. Drop remove function since it is no longer needed. Cc: Sebastian Reichel Cc: Dmitry Eremin-So

[PATCH v2 17/47] mfd: tps65910: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 18/47] mfd: twl4030-power: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Make twl4030_power_off static as it is only called from the twl4030-power driver. Drop remove function as i

[PATCH v2 23/47] power/reset: gpio-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Other changes: Drop note that there can not be an additional instance of this driver. The original reason

[PATCH v2 20/47] mfd: rn5t618: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Beniamino Galvani Signed-off-by: Guenter Roeck --- v2: New patch drivers/mfd/rn5t618.c | 32 +

[PATCH v2 29/47] power/reset: ltc2952-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code sets pm_power_off only if it was not already set. Signed-off-by: Guenter Roeck --- v2: Added patch drivers/power/reset/ltc2952-poweroff.c | 27 +++

Re: [PATCH 2/3] scsi: add try_rc16 blacklist flag

2014-10-20 Thread Sitsofe Wheeler
On Tue, Oct 14, 2014 at 09:08:28PM -0400, Martin K. Petersen wrote: > > "Sitsofe" == Sitsofe Wheeler writes: > > Sitsofe> Microsoft Hyper-V virtual disks currently only claim SPC-2 > Sitsofe> compliance causing the kernel skip checks for features such as > Sitsofe> thin provisioning even thou

[PATCH v2 28/47] power/reset: at91-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Select default priority to reflect that the original code sets pm_power_off unconditionally. Signed-off-by: Guenter Roeck --- v2: Added patch drivers/power/reset/at91-poweroff.c | 16 1 file changed

[PATCH v2 24/47] power/reset: as3722-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Drop remove function since it is no longer needed. Cc: Sebastian Reichel Cc: Dmitry Eremin-Solenikov Cc:

[PATCH v2 26/47] power/reset: msm-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Select fallback priority since the code does not really poweroff the system but resets it instead. Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff handler priority - Fix headline and description

[PATCH v2 37/47] avr32: atngw100: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/avr32/boards/atngw100/mrmt.c | 3 ++- 1 file changed, 2 insertions(+), 1 de

[PATCH v2 30/47] x86: iris: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the original code overwrites existing poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- v2: - Use define to speci

[PATCH v2 34/47] acpi: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the driver explicitly overrides existing poweroff handlers. Cc: Rafael J. Wysocki Cc: Len Brown Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff handl

[PATCH v2 31/47] x86: apm: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the original code overwrites existing poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Jiri Kosina Signed-off-by: Guenter Roeck --- v2: - Us

[PATCH v2 32/47] x86: olpc: Register xo1 poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the driver explicitly wants to override default poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- v2: Use define

Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-20 Thread Sitsofe Wheeler
On Tue, Oct 14, 2014 at 09:06:37PM -0400, Martin K. Petersen wrote: > > "Sitsofe" == Sitsofe Wheeler writes: > > Sitsofe> A previous patch attempted to add a quirk to workaround this > Sitsofe> but the quirk was only enabled after the features had been > Sitsofe> scanned for, wouldn't work fo

[PATCH v2 36/47] arm64: psci: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/arm64/kernel/psci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH v2 42/47] x86: lguest: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Rusty Russell Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/x86/lguest/boot.c | 3 ++- 1 file changed, 2 inser

[PATCH v2 38/47] ia64: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the call is expected to be replaced at some point in the future. Cc: Tony Luck Cc: Fenghua Yu Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler prio

[PATCH v2 41/47] sh: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Signed-off-by: Guenter Roeck --- - Use defines to specify poweroff handler priorities arch/sh/boards/board-sh7785lcr.c | 3 ++- arch/sh/boards/board-urquell.c | 3 ++- arch/sh/boards/mach-highlander/se

[PATCH v2 39/47] m68k: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Geert Uytterhoeven Cc: Joshua Thompson Acked-by: Geert Uytterhoeven Signed-off-by: Guenter Roeck --- - Use defines to specify poweroff handler priorities arch/m68k/emu/natfeat.c | 3 ++- arch/m68k/mac/config.

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Rob Landley
On 10/20/14 23:02, Andy Lutomirski wrote: > On Mon, Oct 20, 2014 at 8:45 PM, Rob Landley wrote: >> On 10/20/14 17:04, Andy Lutomirski wrote: >>> --- a/init/main.c >>> +++ b/init/main.c >>> @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) >>> ret = run_init_process(ex

[PATCH v2 46/47] efi: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority since the efi code states that this is a poweroff handler of last resort. Cc: Matt Fleming Acked-by: Matt Fleming Acked-by: Mark Salter Signed-off-by: Guenter Roeck --- - Use define to sp

[PATCH v2 47/47] kernel: Remove pm_power_off

2014-10-20 Thread Guenter Roeck
No users of pm_power_off are left, so it is safe to remove the function. Cc: Rafael J. Wysocki Cc: Pavel Machek Cc: Len Brown Acked-by: Rafael J. Wysocki Signed-off-by: Guenter Roeck --- v2: poweroff -> power_off include/linux/pm.h | 1 - kernel/power/poweroff_handler.c | 10 +

[PATCH v2 43/47] x86: ce4100: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/x86/platform/ce4100/ce4100.c | 3 ++- 1 file changed, 2 insertions(+)

[PATCH v2 45/47] x86: pmc_atom: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to

[PATCH v2 44/47] x86: intel-mid: Drop registration of dummy poweroff handlers

2014-10-20 Thread Guenter Roeck
A dummy poweroff handler does not serve any purpose. Drop it. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/x86/platform/intel-mid/intel-mid.c | 5 - arch/x86/platform/intel-mid/mfld.c |

[PATCH v2 40/47] mips: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. If there is an indication that there can be more than one poweroff handler, use register_power_off_handler, otherwise use register_power_off_handler_simple to register the poweroff handler. If the poweroff handler onl

[PATCH v2 33/47] staging: nvec: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with default priority since we don't know any better. Cc: Julian Andres Klode Cc: Marc Dietrich Cc: Greg Kroah-Hartman Acked-by: Greg Kroah-Hartman Signed-off-by: Guenter Roeck --- v2: - Use define to spe

[PATCH v2 35/47] arm: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Always use register_power_off_handler_simple as there is no indication that more than one poweroff handler is registered. If the poweroff handler only resets the system or puts the CPU in sleep mode, select the fallbac

[PATCH v2 27/47] power/reset: vexpress-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Select default priority to reflect that the original code sets pm_power_off unconditionally. Signed-off-by: Guenter Roeck --- v2: Use define to specify poweroff handler priority drivers/power/reset/vexpress-poweroff

  1   2   3   4   5   6   7   8   >