Re: [ 00/42] 3.8.9-stable review

2013-04-24 Thread Shuah Khan
On Tue, 2013-04-23 at 14:51 -0700, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.8.9 release. There are 42 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.

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-24 Thread John Stultz
On 04/24/2013 09:32 AM, Kay Sievers wrote: On Wed, Apr 24, 2013 at 6:07 PM, John Stultz john.stu...@linaro.org wrote: So summarizing the above, because as much as I'm aware, its always been redundant and unnecessary on x86. Thus being able at build time to mark it as unnecessary was

Re: [ 00/26] 3.4.42-stable review

2013-04-24 Thread Shuah Khan
On Tue, 2013-04-23 at 14:53 -0700, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.42 release. There are 26 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.

Re: [RFC] The meaning of local_cpulist and local_cpus

2013-04-24 Thread Bjorn Helgaas
[+cc linux-pci, Mike] On Wed, Apr 24, 2013 at 4:06 AM, Bian LuLu helianthus...@gmail.com wrote: Hi all, Recently, i read some codes of PCI portions. I think local_cpulist is a list about one kind of CPU and local_cpus is a mask of CPU. But i am not sure when and how i should use these two

RE: [PATCH RESEND 11/11] thermal: update kernel-doc for thermal_zone_device_register

2013-04-24 Thread Zhang, Rui
-Original Message- From: Eduardo Valentin [mailto:eduardo.valen...@ti.com] Sent: Thursday, April 18, 2013 3:30 AM To: Zhang, Rui Cc: Eduardo Valentin; linux...@vger.kernel.org; linux- ker...@vger.kernel.org Subject: Re: [PATCH RESEND 11/11] thermal: update kernel-doc for

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-24 Thread Kay Sievers
On Wed, Apr 24, 2013 at 6:30 PM, John Stultz john.stu...@linaro.org wrote: Until the above commits we always needed: CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 to get the system time correctly initialized at bootup on x86. So... always needed to get system time correctly

RE: [PATCHv2 0/9] thermal: clean ups on thermal code base

2013-04-24 Thread Zhang, Rui
Hi, Eduardo, -Original Message- From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- ow...@vger.kernel.org] On Behalf Of Eduardo Valentin Sent: Wednesday, April 24, 2013 5:48 AM To: Zhang, Rui Cc: linux...@vger.kernel.org; linux-kernel@vger.kernel.org; Eduardo Valentin Subject:

Re: [RFC] The meaning of local_cpulist and local_cpus

2013-04-24 Thread Mike Travis
On 4/24/2013 9:48 AM, Bjorn Helgaas wrote: [+cc linux-pci, Mike] On Wed, Apr 24, 2013 at 4:06 AM, Bian LuLu helianthus...@gmail.com wrote: Hi all, Recently, i read some codes of PCI portions. I think local_cpulist is a list about one kind of CPU and local_cpus is a mask of CPU. But i am

Re: [PATCH 1/3] evm: calculate HMAC after initializing posix acl

2013-04-24 Thread Casey Schaufler
On 4/24/2013 5:10 AM, Mimi Zohar wrote: (Reposting with expanded 'cc' list.) Included in the EVM hmac calculation is the i_mode. Any changes to the i_mode need to be reflected in the hmac. shmem_mknod() currently calls posix_acl_init(), which modifies the i_mode, after calling

Re: [PATCH] usb: gadget: multi: Mark {cdc,rndis}_config_register() __init

2013-04-24 Thread Michal Nazarewicz
On Wed, Apr 24 2013, Geert Uytterhoeven wrote: If gcc (e.g. 4.1.2) decides not to inline cdc_config_register() and rndis_config_register(), this will cause section mismatch warnings: WARNING: drivers/usb/gadget/g_multi.o(.text+0x32f6): Section mismatch in reference from the function

Re: NFS4 sec=krb5 broken in 3.9-rc8

2013-04-24 Thread Malte Schröder
On 24.04.2013 16:01, J. Bruce Fields wrote: On Wed, Apr 24, 2013 at 07:58:44AM +0200, Malte Schröder wrote: On 23.04.2013 23:58, J. Bruce Fields wrote: On Tue, Apr 23, 2013 at 09:55:01PM +0200, Malte Schröder wrote: Hi, when I update my server from kernel 3.8.5 to 3.9-rc8 I cannot mount its

[PATCH] x86: make DR*_RESERVED unsigned long

2013-04-24 Thread Oleg Nesterov
DR6_RESERVED and DR_CONTROL_RESERVED are used to clear the set bits in the unsigned long data, make them long to ensure that ~ doesn't clear the upper bits. do_debug() and ptrace_write_dr7() which use DR*_RESERVED look safe, but probably it makes sense to cleanup anyway. Reported-by: Linus

[PATCH V3] Support for JIT in Seccomp BPF filters.

2013-04-24 Thread Nicolas Schichan
Hi, This patch serie adds support for jitted seccomp BPF filters, with the required modifications to make it work on the ARM architecture. - The first patch in the serie adds the required boiler plate in the core kernel seccomp code to invoke the JIT compilation/free code. - The second patch

[PATCH V3 1/3] seccomp: add generic code for jitted seccomp filters.

2013-04-24 Thread Nicolas Schichan
Architecture must select HAVE_SECCOMP_FILTER_JIT and implement seccomp_jit_compile() and seccomp_jit_free() if they intend to support jitted seccomp filters. Accessors to struct seccomp_filter fields are provided in linux/seccomp.h to be used by the JIT code. With this, the 'struct

[PATCH V3 2/3] ARM: net: bpf_jit: make code generation less dependent on struct sk_filter.

2013-04-24 Thread Nicolas Schichan
This is in preparation of bpf_jit support for seccomp filters. Signed-off-by: Nicolas Schichan nschic...@freebox.fr --- arch/arm/net/bpf_jit_32.c | 46 - 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/arch/arm/net/bpf_jit_32.c

[PATCH V3 3/3] ARM: net: bpf_jit: add support for jitted seccomp filters.

2013-04-24 Thread Nicolas Schichan
This patch selects HAVE_SECCOMP_FILTER_JIT in the ARM Kconfig file, implements seccomp_jit_compile() and seccomp_jit_free(), and adds support for BPF_S_ANC_SECCOMP_LD_W instruction. BPF_S_ANC_SECCOMP_LD_W instructions trigger the generation of a call to C function seccomp_bpf_load().

[GIT PULL events/urgent] Protect access via task_subsys_state_check()

2013-04-24 Thread Paul E. McKenney
Hello, Ingo, This pull request is for an RCU-related bug fix in perf_event_comm(). Without this fix, RCU-lockdep splats and other failures result. This fix is available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent It has been

Re: [PATCH 26/30] thermal: cpu_cooling: remove unused symbols

2013-04-24 Thread Eduardo Valentin
On 24-04-2013 10:52, Zhang, Rui wrote: -Original Message- From: Eduardo Valentin [mailto:eduardo.valen...@ti.com] Sent: Thursday, April 18, 2013 1:12 AM To: amit.kach...@linaro.org Cc: Eduardo Valentin; Zhang, Rui; linux...@vger.kernel.org; linux- ker...@vger.kernel.org Subject:

Re: [PATCH 28/30] MAINTAINERS: update thermal entry by adding file cpu_cooling.h

2013-04-24 Thread Eduardo Valentin
Rui, On 17-04-2013 13:12, Eduardo Valentin wrote: Add cpu_cooling.h to thermal entry in MAINTAINERS. Cc: Zhang Rui rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- MAINTAINERS | 1 + 1 file changed,

Re: [PATCH 3/9] pwm: Add Renesas Mobile TPU PWM driver

2013-04-24 Thread Magnus Damm
Hi Laurent, On Wed, Apr 24, 2013 at 1:06 AM, Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com wrote: The Timer Pulse Unit (TPU is a 4-channels 16-bit timer used to generate waveforms. This driver exposes PWM functions through the PWM API for other drivers to use. The code is

Re: [PATCH V3 2/3] ARM: net: bpf_jit: make code generation less dependent on struct sk_filter.

2013-04-24 Thread Daniel Borkmann
On 04/24/2013 07:27 PM, Nicolas Schichan wrote: This is in preparation of bpf_jit support for seccomp filters. Please also CC the netdev list for BPF related patches. Just to give you a heads-up, this might likely lead to a merge conflict with the net-next tree (commit 79617801ea0c0e66,

Re: [PATCH v2] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-04-24 Thread Josh Boyer
On Tue, Apr 09, 2013 at 11:48:20AM -0400, Josh Boyer wrote: The dmesg_restrict sysctl currently covers the syslog method for access dmesg, however /dev/kmsg isn't covered by the same protections. Most people haven't noticed because util-linux dmesg(1) defaults to using the syslog method for

Re: [PATCH v2] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-04-24 Thread Kay Sievers
On Tue, Apr 9, 2013 at 6:33 PM, Kees Cook keesc...@chromium.org wrote: On Tue, Apr 9, 2013 at 8:48 AM, Josh Boyer jwbo...@redhat.com wrote: The dmesg_restrict sysctl currently covers the syslog method for access dmesg, however /dev/kmsg isn't covered by the same protections. Most people

Re: [PATCH 02/30] thermal: cpu_cooling: remove trailing white spaces

2013-04-24 Thread Eduardo Valentin
On 24-04-2013 10:48, Zhang, Rui wrote: -Original Message- From: Eduardo Valentin [mailto:eduardo.valen...@ti.com] Sent: Thursday, April 18, 2013 1:12 AM To: amit.kach...@linaro.org Cc: Eduardo Valentin; Zhang, Rui; linux...@vger.kernel.org; linux- ker...@vger.kernel.org Subject:

Re: [PATCH] x86_32: Fix module version table mismatch.

2013-04-24 Thread H. Peter Anvin
OK, I assume Rusty will pick this up in his tree before pushing it to Linus. -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: linux-next: manual merge of the net-next tree with the infiniband tree

2013-04-24 Thread Thadeu Lima de Souza Cascardo
On Thu, Apr 18, 2013 at 01:18:43PM +1000, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/infiniband/hw/cxgb4/qp.c between commit 5b0c275926b8 (RDMA/cxgb4: Fix SQ allocation when on-chip SQ is disabled) from the infiniband tree and

Re: [PATCH] iommu: dmar -- remove warning for HPET scope type

2013-04-24 Thread Joerg Roedel
On Tue, Apr 23, 2013 at 12:26:45PM -0600, Linn Crosetto wrote: ACPI_DMAR_SCOPE_TYPE_HPET is parsed by ir_parse_ioapic_hpet_scope() and should not be flagged as an unsupported type. Signed-off-by: Linn Crosetto l...@hp.com Applied to x86/vt-d, thanks. -- To unsubscribe from this list: send

Re: [PATCH v2] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-04-24 Thread Josh Boyer
On Wed, Apr 24, 2013 at 07:44:33PM +0200, Kay Sievers wrote: On Tue, Apr 9, 2013 at 6:33 PM, Kees Cook keesc...@chromium.org wrote: On Tue, Apr 9, 2013 at 8:48 AM, Josh Boyer jwbo...@redhat.com wrote: The dmesg_restrict sysctl currently covers the syslog method for access dmesg, however

RE: linux-next: build failure after merge of the final tree (staging tree related))

2013-04-24 Thread H Hartley Sweeten
On Wednesday, April 24, 2013 12:56 AM, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: Ugh.. powerpc probably has CONFIG_ISA_DMA_API but not CONFIG_VIRT_TO_BUS. I'm looking for a fix now. Regards, Hartley -- To

Re: [PATCH] iommu: add a function to find an iommu group by id

2013-04-24 Thread Joerg Roedel
On Mon, Mar 25, 2013 at 10:23:49AM +1100, Alexey Kardashevskiy wrote: As IOMMU groups are exposed to the user space by their numbers, the user space can use them in various kernel APIs so the kernel might need an API to find a group by its ID. As an example, QEMU VFIO on PPC64 platform needs

Re: [Xen-devel] [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-24 Thread Stefano Stabellini
On Mon, 22 Apr 2013, Nicolas Pitre wrote: I think the key thing that non-Xen folks aren't aware of is that although Xen passes the majority of the underlying hardware to the dom0 kernel to manage one of the few things it does not expose to guests (where guests includes dom0) is the SMP

[PATCH 0/2] staging: ti-soc-thermal: couple of fixes

2013-04-24 Thread Eduardo Valentin
Hello Greg, Here are two patches on ti-soc-thermal driver. One is to update the documentation of the OMAP5430 DT entry reference. The other one adds the support to extrapolation rules with PCB sensor querying. The second one depends on the API change, that is going via the thermal tree [1].

[PATCH 1/2] staging: ti-soc-thermal: update DT reference for OMAP5430

2013-04-24 Thread Eduardo Valentin
Add missing irq line for TALERT on DT entry for OMAP5430. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/staging/ti-soc-thermal/ti_soc_thermal.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ti-soc-thermal/ti_soc_thermal.txt

[PATCH 2/2] staging: ti-soc-thermal: remove external heat while extrapolating hotspot

2013-04-24 Thread Eduardo Valentin
For boards that provide a PCB sensor close to SoC junction temperature, it is possible to remove the cumulative heat reported by the SoC temperature sensor. This patch changes the extrapolation computation to consider an external sensor in the extrapolation equations. Signed-off-by: Eduardo

Re: [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-24 Thread Stefano Stabellini
On Mon, 22 Apr 2013, Russell King - ARM Linux wrote: Now, if the psci stuff can't be relied upon to provide the correct functionality, then that's a separate problem which needs addressing differently. This should allow the Xen problem to be resolved, because Xen will provide

[PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-24 Thread John Stultz
Kay Sievers noted that the ALWAYS_USE_PERSISTENT_CLOCK config, which enables some minor compile time optimization to avoid uncessary code in mostly the suspend/resume path could cause problems for userland. In particular, the dependency for RTC_HCTOSYS on !ALWAYS_USE_PERSISTENT_CLOCK, which

RE: linux-next: build failure after merge of the final tree (staging tree related))

2013-04-24 Thread H Hartley Sweeten
On Wednesday, April 24, 2013 12:56 AM, Stephen Rothwell wrote: After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/staging/comedi/drivers/ni_labpc.c: In function 'labpc_ai_cmd': drivers/staging/comedi/drivers/ni_labpc.c:980:9: error:

Re: sparc64, mm BUG in 3.9-rc8

2013-04-24 Thread David Miller
From: David Miller da...@davemloft.net Date: Tue, 23 Apr 2013 16:17:51 -0400 (EDT) From: Meelis Roos mr...@linux.ee Date: Tue, 23 Apr 2013 00:19:49 +0300 (EEST) Hello, I got a non-booting Sun E420R (sparc64) with 3.9-rc8: BUG-s in mm/slub.c:925 and mm/memory.c:1267 (the latter keeps

[PATCH 0/2 v8] arm: introduce psci_smp_ops

2013-04-24 Thread Stefano Stabellini
Hi all, this is the eighth version of the patch series to move virt_smp_ops out of mach-virt and make it a generic set of reusable PSCI based smp_ops. psci_smp_ops are preferred over the platform smp_ops. The last patch introduces smp_init. Jon Medhurst (1): ARM: Enable selection of SMP

[PATCH v8 1/2] arm: introduce psci_smp_ops

2013-04-24 Thread Stefano Stabellini
Rename virt_smp_ops to psci_smp_ops and move them to arch/arm/kernel/psci_smp.c. Remove mach-virt/platsmp.c, now unused. Compile psci_smp if CONFIG_ARM_PSCI and CONFIG_SMP. Add a cpu_die smp_op based on psci_ops.cpu_off. Initialize PSCI before setting smp_ops in setup_arch. Use psci_smp_ops if

[PATCH v8 2/2] ARM: Enable selection of SMP operations at boot time

2013-04-24 Thread Stefano Stabellini
From: Jon Medhurst t...@linaro.org Add a new 'smp_init' hook to machine_desc so platforms can specify a function to be used to setup smp ops instead of having a statically defined value. The hook must return true when smp_ops are initialized. If false the static mdesc-smp_ops will be used by

Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-24 Thread Kay Sievers
On Wed, Apr 24, 2013 at 8:32 PM, John Stultz john.stu...@linaro.org wrote: Kay Sievers noted that the ALWAYS_USE_PERSISTENT_CLOCK config, which enables some minor compile time optimization to avoid uncessary code in mostly the suspend/resume path could cause problems for userland. In

lockdep: oops while dumping locks

2013-04-24 Thread Sasha Levin
Hi all, I've noticed that sometimes lockdep would spew a warning and an oops while dumping the list of held locks. I'm not quite sure why it happens and I didn't find anything that was recently changed in the code that could cause that: [ 855.807172] Showing all locks held in the system: [

Re: [PATCH v13 5/9] LSM: Networking component isolation

2013-04-24 Thread Paul Moore
On Tuesday, April 23, 2013 09:04:31 AM Casey Schaufler wrote: Subject: [PATCH v13 5/9] LSM: Networking component isolation The NetLabel, XFRM and secmark networking mechanisms are limited to providing security information managed by one LSM. These changes interface the single LSM networking

Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-24 Thread John Stultz
On 04/24/2013 11:41 AM, Kay Sievers wrote: On Wed, Apr 24, 2013 at 8:32 PM, John Stultz john.stu...@linaro.org wrote: Kay Sievers noted that the ALWAYS_USE_PERSISTENT_CLOCK config, which enables some minor compile time optimization to avoid uncessary code in mostly the suspend/resume path could

Re: [PATCH 3/9] pwm: Add Renesas Mobile TPU PWM driver

2013-04-24 Thread Laurent Pinchart
Hi Magnus, Thanks for the review. On Wednesday 24 April 2013 18:37:57 Magnus Damm wrote: On Wed, Apr 24, 2013 at 1:06 AM, Laurent Pinchart wrote: The Timer Pulse Unit (TPU is a 4-channels 16-bit timer used to generate waveforms. This driver exposes PWM functions through the PWM API for

[PATCH] mm: swap: Mark swap pages writeback before queueing for direct IO

2013-04-24 Thread Mel Gorman
As pointed out by Andrew Morton, the swap-over-NFS writeback is not setting PageWriteback before it is queued for direct IO. While swap pages do not participate in BDI or process dirty accounting and the IO is synchronous, the writeback bit is still required and not setting it in this case was an

Re: [PATCH v13 0/9] LSM: Multiple concurrent LSMs

2013-04-24 Thread Paul Moore
On Tuesday, April 23, 2013 09:04:06 AM Casey Schaufler wrote: Subject: [PATCH v13 0/9] LSM: Multiple concurrent LSMs Change the infrastructure for Linux Security Modules (LSM)s from a single vector of hook handlers to a list based method for handling multiple concurrent modules. The

[ANNOUNCE] 3.2.43-rt63-feat1

2013-04-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.43-rt63-feat1 feature release. This release contains the backport of the softirq routines being called directly by the thread that raised the softirq, making the softirq run at the priority of its caller. Special thanks goes out to Sebastian

Re: Excessive stall times on ext4 in 3.9-rc2

2013-04-24 Thread Jeff Moyer
Mel Gorman mgor...@suse.de writes: I'll also note that even though your I/O is going all over the place (D2C is pretty bad, 14ms), most of the time is spent waiting for a struct request allocation or between Queue and Merge: All Devices

Re: [PATCH v13 5/9] LSM: Networking component isolation

2013-04-24 Thread Casey Schaufler
On 4/24/2013 11:51 AM, Paul Moore wrote: On Tuesday, April 23, 2013 09:04:31 AM Casey Schaufler wrote: Subject: [PATCH v13 5/9] LSM: Networking component isolation The NetLabel, XFRM and secmark networking mechanisms are limited to providing security information managed by one LSM. These

Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-24 Thread Kay Sievers
On Wed, Apr 24, 2013 at 8:55 PM, John Stultz john.stu...@linaro.org wrote: On 04/24/2013 11:41 AM, Kay Sievers wrote: On Wed, Apr 24, 2013 at 8:32 PM, John Stultz john.stu...@linaro.org wrote: Kay Sievers noted that the ALWAYS_USE_PERSISTENT_CLOCK config, which enables some minor compile

RE: memcpy_fromio in dmi_scan.c

2013-04-24 Thread Jean Delvare
Hi Tony, Thanks for stepping in. Le Tuesday 23 April 2013 à 22:00 +, Luck, Tony a écrit : I don't have much knowledge about IA64 either. All I see is that while x86 implements memcpy_fromio() with memcpy [1], ia64 implements it with readb [2]. There must be a reason for that, and I can

Re: [PATCH] mm: swap: Mark swap pages writeback before queueing for direct IO

2013-04-24 Thread Andrew Morton
On Wed, 24 Apr 2013 19:57:44 +0100 Mel Gorman mgor...@suse.de wrote: As pointed out by Andrew Morton, the swap-over-NFS writeback is not setting PageWriteback before it is queued for direct IO. While swap pages do not participate in BDI or process dirty accounting and the IO is synchronous,

Re: NFS4 sec=krb5 broken in 3.9-rc8

2013-04-24 Thread J. Bruce Fields
On Wed, Apr 24, 2013 at 07:07:59PM +0200, Malte Schröder wrote: On 24.04.2013 16:01, J. Bruce Fields wrote: On Wed, Apr 24, 2013 at 07:58:44AM +0200, Malte Schröder wrote: On 23.04.2013 23:58, J. Bruce Fields wrote: On Tue, Apr 23, 2013 at 09:55:01PM +0200, Malte Schröder wrote: Hi,

Re: [PATCH 03/32 v3] dmaengine: ste_dma40: Use the BIT macro to replace ugly '(1 x)'s

2013-04-24 Thread Rabin Vincent
2013/4/24 Lee Jones lee.jo...@linaro.org: The aim is to make the code that little more readable. Acked-by: Vinod Koul vnod.k...@intel.com Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org Please pay closer attention to the semantics of each usage instead of

[PATCH v4 0/7] xen/arm: move to mach-virt and support SMP

2013-04-24 Thread Stefano Stabellini
Hi all, this patch series, based on 3.9-rc3, moves xenvm to mach-virt and implements SMP support in Xen on ARM. Each patch comes with a detailed changelog. Changes in v4: - XEN should select ARM_PSCI; - update arch/arm/boot/dts/Makefile to build the xenvm dts if CONFIG_ARCH_VIRT; - add a

WT memory type on x86_64?

2013-04-24 Thread Andy Lutomirski
For an upcoming (and, sadly, NDA'd [1]) project, I may need to use write-through memory. I'd like to gauge how unpleasant this will be. AFAICT, modern CPUs allow the WT type to be set using MTRR or a PAT entry. Sadly, MTRRs are in short supply, and the four fully-usable PAT slots are used for

Re: [PATCH] powerpc: Add HWCAP2 aux entry

2013-04-24 Thread Andrew Morton
On Tue, 23 Apr 2013 10:41:42 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Thu, 2013-04-18 at 13:41 +1000, Michael Neuling wrote: akpm, If you're happy with this, is it something you can take in your tree? Andrew ? Or give me an ack ? :-) I'm happy to carry this, we

[PATCH v4 3/7] xen: move the xenvm machine to mach-virt

2013-04-24 Thread Stefano Stabellini
xenvm is based on mach-vexpress, move it to mach-virt. Changes in v4: - update the dts Makefile too. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: Marc Zyngier marc.zyng...@arm.com CC: will.dea...@arm.com CC: a...@arndb.de CC: rob.herr...@calxeda.com ---

[PATCH v4 2/7] xen/arm: SMP support

2013-04-24 Thread Stefano Stabellini
Map vcpu_info using VCPUOP_register_vcpu_info on secondary cpus. Call enable_percpu_irq on every cpu. Changed in v2: - move the percpu variable argument fix to a separate patch; - remove unused variable. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com ---

[PATCH v4 4/7] xen/arm: implement HYPERVISOR_vcpu_op

2013-04-24 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/include/asm/xen/hypercall.h |1 + arch/arm/xen/enlighten.c |1 + arch/arm/xen/hypercall.S |1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-24 Thread Kay Sievers
On Wed, Apr 24, 2013 at 8:32 PM, John Stultz john.stu...@linaro.org wrote: Kay Sievers noted that the ALWAYS_USE_PERSISTENT_CLOCK config, which enables some minor compile time optimization to avoid uncessary code in mostly the suspend/resume path could cause problems for userland. In

Re: [PATCH] x86: make DR*_RESERVED unsigned long

2013-04-24 Thread H. Peter Anvin
On 04/24/2013 10:07 AM, Oleg Nesterov wrote: DR6_RESERVED and DR_CONTROL_RESERVED are used to clear the set bits in the unsigned long data, make them long to ensure that ~ doesn't clear the upper bits. do_debug() and ptrace_write_dr7() which use DR*_RESERVED look safe, but probably it makes

[PATCH v4 7/7] mach-virt: support Xen hypercalls for shutdown and reboot

2013-04-24 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: Marc Zyngier marc.zyng...@arm.com CC: will.dea...@arm.com CC: a...@arndb.de CC: rob.herr...@calxeda.com --- arch/arm/mach-virt/virt.c | 32 1 files changed, 32 insertions(+), 0 deletions(-)

[PATCH v4 1/7] xen/arm: actually pass a non-NULL percpu pointer to request_percpu_irq

2013-04-24 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: sta...@vger.kernel.org --- arch/arm/xen/enlighten.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 8dc0605..99ce189 100644 ---

[PATCH v4 5/7] xen/arm: XEN selects ARM_PSCI

2013-04-24 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2c3bdce..344e299 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1892,6 +1892,7 @@

[PATCH v4 6/7] xenvm: add a simple PSCI node and a second cpu

2013-04-24 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Marc Zyngier marc.zyng...@arm.com CC: rob.herr...@calxeda.com CC: will.dea...@arm.com CC: a...@arndb.de --- arch/arm/boot/dts/xenvm-4.2.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff

Re: [PATCH v2] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-04-24 Thread Josh Boyer
On Wed, Apr 24, 2013 at 01:58:35PM -0400, Josh Boyer wrote: On Wed, Apr 24, 2013 at 07:44:33PM +0200, Kay Sievers wrote: On Tue, Apr 9, 2013 at 6:33 PM, Kees Cook keesc...@chromium.org wrote: On Tue, Apr 9, 2013 at 8:48 AM, Josh Boyer jwbo...@redhat.com wrote: The dmesg_restrict sysctl

Re: [PATCH] Reset PCIe devices to stop ongoing DMA

2013-04-24 Thread Don Dutile
On 04/24/2013 12:58 AM, Takao Indoh wrote: This patch resets PCIe devices on boot to stop ongoing DMA. When pci=pcie_reset_devices is specified, a hot reset is triggered on each PCIe root port and downstream port to reset its downstream endpoint. Problem: This patch solves the problem that

Re: [PATCH] re-order CONFIG_EXPERT options to fix menuconfig display

2013-04-24 Thread Andrew Morton
On Mon, 22 Apr 2013 13:39:38 -0400 Mike Frysinger vap...@gentoo.org wrote: The kconfig language requires that dependent options all follow the menuconfig symbol in order to be collapsed below it. Recently some hidden options were added below the EXPERT menuconfig, but did not depend on

Re: linux-next: Tree for Apr 24 [ PM: Device 1-1.2 failed to resume async: error -32 ]

2013-04-24 Thread Sedat Dilek
On Wed, Apr 24, 2013 at 10:00 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Wed, Apr 24, 2013 at 10:07 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, There will be no linux-next release tomorrow (April 25). Changes since 20130423: The net-next tree lost its build failure.

RE: memcpy_fromio in dmi_scan.c

2013-04-24 Thread Luck, Tony
That being said, my SN2 machine was previously running kernel 3.0.34 which has the old dmi_scan code and it also said DMI not present or invalid. Plus dmidecode fails on this machine with: /sys/firmware/efi/systab: SMBIOS entry point missing So it might as well be that DMI support on SN2

Re: [PATCH v13 0/9] LSM: Multiple concurrent LSMs

2013-04-24 Thread Casey Schaufler
On 4/24/2013 11:57 AM, Paul Moore wrote: On Tuesday, April 23, 2013 09:04:06 AM Casey Schaufler wrote: Subject: [PATCH v13 0/9] LSM: Multiple concurrent LSMs Change the infrastructure for Linux Security Modules (LSM)s from a single vector of hook handlers to a list based method for handling

Re: [PATCH 1/2] nohz: Fix unavailable tick_stop tracepoint in dynticks idle

2013-04-24 Thread David Rientjes
On Wed, 24 Apr 2013, Frederic Weisbecker wrote: The trace_tick_stop() tracepoint is only available in full dynticks. But it's also used by dynticks-idle so let's build it for the latter config as well. This fixes: kernel/time/tick-sched.c: In function tick_nohz_stop_sched_tick:

Re: linux-next: Tree for Apr 24 [ PM: Device 1-1.2 failed to resume async: error -32 ]

2013-04-24 Thread Alan Stern
On Wed, 24 Apr 2013, Sedat Dilek wrote: [ CC linux-pm and linux-usb (ehci) folks ] This happens with my external USB mouse after suspend/resume. Excerpt (full dmesg and kernel-config attached): $ dmesg | egrep -i 'usb|async' | grep 1-1.2 [1.258602] usb 1-1.2: new low-speed USB

Re: [PATCH v2] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-04-24 Thread Kees Cook
On Wed, Apr 24, 2013 at 10:58 AM, Josh Boyer jwbo...@redhat.com wrote: On Wed, Apr 24, 2013 at 07:44:33PM +0200, Kay Sievers wrote: On Tue, Apr 9, 2013 at 6:33 PM, Kees Cook keesc...@chromium.org wrote: On Tue, Apr 9, 2013 at 8:48 AM, Josh Boyer jwbo...@redhat.com wrote: The dmesg_restrict

Re: [Resend][Bug fix PATCH v5] Reusing a resource structure allocated by bootmem

2013-04-24 Thread Andrew Morton
On Wed, 24 Apr 2013 08:50:21 +0900 Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When hot removing memory presented at boot time, following messages are shown: [ 296.867031] [ cut here ] [ 296.922273] kernel BUG at mm/slub.c:3409! ... The reason why

Re: linux-next: Tree for Apr 24 [ PM: Device 1-1.2 failed to resume async: error -32 ]

2013-04-24 Thread Sedat Dilek
On Wed, Apr 24, 2013 at 10:32 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 24 Apr 2013, Sedat Dilek wrote: [ CC linux-pm and linux-usb (ehci) folks ] This happens with my external USB mouse after suspend/resume. Excerpt (full dmesg and kernel-config attached): $ dmesg |

Re: [PATCH v2 7/8] powerpc/pseries: Read of-config partition via pstore

2013-04-24 Thread Kees Cook
On Tue, Apr 23, 2013 at 11:20 PM, Aruna Balakrishnaiah ar...@linux.vnet.ibm.com wrote: This patch set exploits the pstore subsystem to read details of of-config partition in NVRAM to a separate file in /dev/pstore. For instance, of-config partition details will be stored in a file named

Re: [PATCH v2 0/8] powerpc/pseries: Nvram-to-pstore

2013-04-24 Thread Kees Cook
On Tue, Apr 23, 2013 at 11:19 PM, Aruna Balakrishnaiah ar...@linux.vnet.ibm.com wrote: Currently the kernel provides the contents of p-series NVRAM only as a simple stream of bytes via /dev/nvram, which must be interpreted in user space by the nvram command in the powerpc-utils package. This

Re: [PATCH] arch/tile: Fix syscall return value passed to tracepoint

2013-04-24 Thread Chris Metcalf
On 4/17/2013 11:01 AM, Simon Marchi wrote: Currently the syscall number is passed, but it should be the return value, which is kept in r0. Signed-off-by: Simon Marchi simon.mar...@polymtl.ca --- This patch applies on Chris Metcalf's tree:

[PATCH v2 01/11] sh-pfc: sh73a0: Add TPU pin groups and functions

2013-04-24 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 213 1 file changed, 213 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c index

[PATCH v2 05/11] ARM: mach-shmobile: clock-r8a7740: add TPU PWM support

2013-04-24 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com Tested-by: Simon Horman ho...@verge.net.au --- arch/arm/mach-shmobile/clock-r8a7740.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c

[PATCH v2 03/11] sh-pfc: r8a7790: Add TPU pin groups and functions

2013-04-24 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 41 1 file changed, 41 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c index

[PATCH v2 11/11] leds: Remove leds-renesas-tpu driver

2013-04-24 Thread Laurent Pinchart
The driver is superseded by the generic rmob-tpu-pwm driver used with leds-pwm. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/leds/Kconfig | 12 - drivers/leds/Makefile | 1 -

[PATCH v2 10/11] ARM: shmobile: sh73a0: Remove all GPIOs

2013-04-24 Thread Laurent Pinchart
Function GPIOs are not used anymore, and all code use the GPIO numbers directly. Remove the GPIOs enumeration. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- arch/arm/mach-shmobile/include/mach/sh73a0.h | 373 +-- 1 file changed, 1

[PATCH v2 09/11] sh-pfc: sh73a0: Remove function GPIOs

2013-04-24 Thread Laurent Pinchart
No sh73a0 platform use the function GPIOs API. Remove it. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 395 1 file changed, 395 deletions(-) diff --git

[PATCH v2 08/11] ARM: mach-shmobile: kota2: Use leds-pwm + pwm-rmob

2013-04-24 Thread Laurent Pinchart
Instead of using the LED-specific TPU PWM driver, switch to the generic TPU PWM driver with leds-pwm. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- arch/arm/mach-shmobile/board-kota2.c | 178 --

[PATCH v2 07/11] ARM: mach-shmobile: armadillo800eva: Add backlight support

2013-04-24 Thread Laurent Pinchart
The flat panel backlight on the Armadillo 800 EVA board is driven by the TPU PWM output. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com Tested-by: Simon Horman ho...@verge.net.au --- arch/arm/mach-shmobile/board-armadillo800eva.c | 51 +- 1 file

[PATCH v2 00/11] Renesas TPU PWM support

2013-04-24 Thread Laurent Pinchart
Hello, This is the second version of the Renesas TPU PWM unit support patches. The patch series deprecates and removes the leds-renesas-tpu driver in favor of a combination of leds-pwm and pwm-rmob. As an added bonus patches 9/11 and 10/11 remove function GPIOs support from the sh73a0 platform.

[PATCH v2 06/11] ARM: mach-shmobile: clock-r8a7790: add TPU PWM support

2013-04-24 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- arch/arm/mach-shmobile/clock-r8a7790.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c index

[PATCH v2 04/11] pwm: Add Renesas TPU PWM driver

2013-04-24 Thread Laurent Pinchart
The Timer Pulse Unit (TPU is a 4-channels 16-bit timer used to generate waveforms. This driver exposes PWM functions through the PWM API for other drivers to use. The code is loosely based on the leds-renesas-tpu driver by Magnus Damm and the TPU PWM driver shipped in the Armadillo EVA 800 kernel

[PATCH v2 02/11] sh-pfc: r8a7740: Add TPU pin groups and functions

2013-04-24 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/pinctrl/sh-pfc/pfc-r8a7740.c | 50 1 file changed, 50 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c index

[GIT PULL] last minute GPIO fix for v3.9

2013-04-24 Thread Linus Walleij
Hi Linus, here is a last minute revert from the GPIO tree. Description in the tag, avoids us having to push it through -stable. Please pull it in! Yours, Linus Walleij The following changes since commit 60d509fa6a9c4653a86ad830e4c4b30360b23f0e: Linux 3.9-rc8 (2013-04-21 14:38:45 -0700)

[PATCH] NFSv4: Use exponential backoff delay for NFS4_ERRDELAY

2013-04-24 Thread Dave Chiluk
Changing the retry to start at NFS4_POLL_RETRY_MIN and exponentially grow to NFS4_POLL_RETRY_MAX allow for faster handling of these error conditions. Additionally this alleviates an interoperability problem with the AIX NFSv4 Server. The AIX server frequently (2 out of 3) returns NFS4ERR_DELAY,

Re: [PATCH v2 11/11] leds: Remove leds-renesas-tpu driver

2013-04-24 Thread Bryan Wu
On Wed, Apr 24, 2013 at 1:50 PM, Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com wrote: The driver is superseded by the generic rmob-tpu-pwm driver used with leds-pwm. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com It's nice to move to generic driver.

Re: [PATCH 0/6] Davinci fbdev driver and enable it for DMx platform

2013-04-24 Thread Laurent Pinchart
Hi Prabhakar, Thank you for the patch. On Wednesday 24 April 2013 17:30:02 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series adds an fbdev driver for Texas Instruments Davinci SoC.The display subsystem consists of OSD and VENC, with OSD supporting 2 RGb

Re: [PATCH] re-order CONFIG_EXPERT options to fix menuconfig display

2013-04-24 Thread Randy Dunlap
On 04/24/13 13:04, Andrew Morton wrote: On Mon, 22 Apr 2013 13:39:38 -0400 Mike Frysinger vap...@gentoo.org wrote: The kconfig language requires that dependent options all follow the menuconfig symbol in order to be collapsed below it. Recently some hidden options were added below the

Re: [PATCH v13 5/9] LSM: Networking component isolation

2013-04-24 Thread Paul Moore
On Wednesday, April 24, 2013 12:09:50 PM Casey Schaufler wrote: On 4/24/2013 11:51 AM, Paul Moore wrote: On Tuesday, April 23, 2013 09:04:31 AM Casey Schaufler wrote: Subject: [PATCH v13 5/9] LSM: Networking component isolation The NetLabel, XFRM and secmark networking mechanisms are

<    5   6   7   8   9   10   11   12   >