Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-14 Thread Andy Lutomirski
On Tue, Oct 14, 2014 at 10:46 PM, Frank Rowand wrote: > On 10/14/2014 2:21 PM, Andy Lutomirski wrote: >> On Tue, Oct 14, 2014 at 2:00 PM, Andrew Morton >> wrote: >>> On Wed, 1 Oct 2014 11:13:14 -0700 Andy Lutomirski >>> wrote: >>> On Wed, Oct 1, 2014 at 11:05 AM, wrote: > On Tue,

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-14 Thread Frank Rowand
On 10/14/2014 2:21 PM, Andy Lutomirski wrote: > On Tue, Oct 14, 2014 at 2:00 PM, Andrew Morton > wrote: >> On Wed, 1 Oct 2014 11:13:14 -0700 Andy Lutomirski >> wrote: >> >>> On Wed, Oct 1, 2014 at 11:05 AM, wrote: On Tue, Sep 30, 2014 at 09:53:56PM -0700, Andy Lutomirski wrote: > I

Re: [PATCH 1/1] Security : smack : Use kmem_cache for allocation and freeing of inode_smack

2014-10-14 Thread Andrew Morton
On Wed, 15 Oct 2014 11:26:16 +0530 Rohit Kumar wrote: > From: Rohit > > Use kmem_cache to allocate/free inode_smack since they are > alloced in high volumes making it a perfect case for kmem_cache. > > Accounting of memory allocation is below : > total slacknet

[PATCH 1/1] Security : smack : Use kmem_cache for allocation and freeing of inode_smack

2014-10-14 Thread Rohit Kumar
From: Rohit Use kmem_cache to allocate/free inode_smack since they are alloced in high volumes making it a perfect case for kmem_cache. Accounting of memory allocation is below : total slacknet count-alloc/freecaller Before (with kzalloc) 1919872

[PATCH v2 0/3] pwm: ftm: add Power Management support

2014-10-14 Thread Xiubo Li
Changes in v2: - Fix one bug. - Add regmap cache support. - Remove run time PM for now. Xiubo Li (3): pwm: ftm: fix one bug of wrong counting the use counter. pwm: ftm: add regmap rbtree type cache support. pwm: ftm: add Power Management support for FTM pwm. drivers/pwm/pwm-fsl-ftm.c | 64

[PATCH (net.git) 1/1] stmmac: fix sti compatibililies

2014-10-14 Thread Giuseppe Cavallaro
this patch is to fix the stmmac data compatibilities for all the SoCs inside the platform file. Signed-off-by: Giuseppe Cavallaro --- drivers/net/ethernet/stmicro/stmmac/stmmac.h |3 ++- .../net/ethernet/stmicro/stmmac/stmmac_platform.c |8 2 files changed, 6

Re: [PATCH] drm/exynos: fix vblank handling during dpms off

2014-10-14 Thread Inki Dae
On 2014년 10월 10일 21:39, Andrzej Hajda wrote: > On 10/02/2014 12:52 PM, Inki Dae wrote: >> On 2014년 10월 02일 17:58, Joonyoung Shim wrote: >>> Hi Andrzej, >>> >>> On 10/01/2014 05:14 PM, Andrzej Hajda wrote: The patch disables vblanks during dpms off only if pagefilp has not been finished.

Re: [GIT PULL] SELinux list corruption fix for 3.18

2014-10-14 Thread Linus Torvalds
On Wed, Oct 15, 2014 at 7:27 AM, Linus Torvalds wrote: > > No, the log is correct (the log always is, the back-merges can cause > the trivial *diff* to be broken). To add some details: the commits in there are f6ed66087648 Merge branch 'stable-3.18' of

Re: [GIT PULL] SELinux list corruption fix for 3.18

2014-10-14 Thread Linus Torvalds
On Tue, Oct 14, 2014 at 5:05 PM, James Morris wrote: > This is a fix for list corruption in the SELinux code. > > Note that the git-log output is still broken due to the back-merge issue > previously discussed. The fix is in commit > 7c66bdc72bc3d792886c42bbab4b214c1fe536e0 No, the log is

Re: linux-next: build failure after merge of the net tree

2014-10-14 Thread Giuseppe CAVALLARO
On 10/15/2014 4:02 AM, David Miller wrote: From: Stephen Rothwell Date: Wed, 15 Oct 2014 10:44:11 +1100 Hi all, After merging the net tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/built-in.o: In function `.LANCHOR0': :(.rodata+0x6b764): undefined

[PATCH v2 3/3] pwm: ftm: add Power Management support for FTM pwm.

2014-10-14 Thread Xiubo Li
Add PM support for FTM pwm driver using callback function suspend and resume in .driver.pm of platform_driver. Signed-off-by: Xiubo Li --- drivers/pwm/pwm-fsl-ftm.c | 49 ++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git

[PATCH v2 1/3] pwm: ftm: fix one bug of wrong counting the use counter.

2014-10-14 Thread Xiubo Li
No matter what times the FTM pwm is enabled, the use_count will always be one. Signed-off-by: Xiubo Li --- drivers/pwm/pwm-fsl-ftm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index 0f2cc7e..1150598 100644 ---

[PATCH v2 2/3] pwm: ftm: add regmap rbtree type cache support.

2014-10-14 Thread Xiubo Li
This patch is to prepare for adding PM support for FTM pwm driver using callback function suspend and resume in .driver.pm of platform_driver. Signed-off-by: Xiubo Li --- drivers/pwm/pwm-fsl-ftm.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pwm/pwm-fsl-ftm.c

[PATCH 6/8] x86: Enumerate kernel FSGS capability in AT_HWCAP2

2014-10-14 Thread Andi Kleen
From: Andi Kleen The kernel needs to explicitely enable RD/WRFSBASE to handle context switch correctly. So the application needs to know if it can safely use these instruction. Just looking at the CPUID bit is not enough because it may be running in a kernel that does not enable the

[PATCH 5/8] x86: Make old K8 swapgs workaround conditional

2014-10-14 Thread Andi Kleen
From: Andi Kleen Every gs selector/index reload always paid an extra MFENCE between the two SWAPGS. This was to work around an old bug in early K8 steppings. All other CPUs don't need the extra mfence. Patch the extra MFENCE only in for K8. Signed-off-by: Andi Kleen ---

[PATCH 4/8] x86: Add support for rd/wr fs/gs base

2014-10-14 Thread Andi Kleen
From: Andi Kleen Introduction: IvyBridge added four new instructions to directly write the fs and gs 64bit base registers. Previously this had to be done with a system call to write to MSRs. The main use case is fast user space threading and switching the fs/gs registers quickly there. Another

[PATCH 7/8] x86: Add documentation for rd/wr fs/gs base

2014-10-14 Thread Andi Kleen
From: Andi Kleen Signed-off-by: Andi Kleen --- Documentation/x86/fsgs.txt | 73 ++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/x86/fsgs.txt diff --git a/Documentation/x86/fsgs.txt b/Documentation/x86/fsgs.txt new file mode

[PATCH 2/8] x86: Naturally align the debug IST stack

2014-10-14 Thread Andi Kleen
From: Andi Kleen The followon patch for RD*BASE requires the IST stacks to be naturally aligned because it uses and to access the bottom of the stack. This was true for everyone except for the debug ist stack. Make the debug ist stack naturally aligned too. Signed-off-by: Andi Kleen ---

[PATCH 8/8] x86: Use rd/wr fs/gs base in arch_prctl

2014-10-14 Thread Andi Kleen
From: Andi Kleen Convert arch_prctl to use the new instructions to change fs/gs if available, instead of using MSRs. This is merely a small performance optimization, no new functionality. With the new instructions the syscall is really obsolete, as everything can be set directly in ring 3. But

[PATCH 1/8] percpu: Add a DEFINE_PER_CPU_2PAGE_ALIGNED

2014-10-14 Thread Andi Kleen
From: Andi Kleen Needed in a followon patch which needs to naturally align a 8K stack. I just put it into the page aligned section. This may cause an extra 4K hole if we're unlucky. Cc: t...@kernel.org Signed-off-by: Andi Kleen --- include/linux/percpu-defs.h | 4 1 file changed, 4

[PATCH 3/8] x86: Add intrinsics/macros for new rd/wr fs/gs base instructions

2014-10-14 Thread Andi Kleen
From: Andi Kleen Add C intrinsics and assembler macros for the new rd/wr fs/gs base instructions and for swapgs. Very straight forward. Used in followon patch. For assembler only a few standard registers used by entry_64.S are defined. Signed-off-by: Andi Kleen ---

Re: [PATCH] usb: dwc3: be more verbose on ERRATIC_ERROR interrupt

2014-10-14 Thread Felipe Balbi
Hi, On Tue, Oct 14, 2014 at 01:15:05PM -0700, David Cohen wrote: > ERRATIC_ERROR interrupt is an event that needs more attention from > developers than currently implemented, since this indicates a serious > stability issue. The only way to get warned about it is by selecting the > maximum

Re: [PATCH RFC] virtio_net: enable tx interrupt

2014-10-14 Thread Jason Wang
On 10/15/2014 12:33 PM, Jason Wang wrote: > On 10/15/2014 07:11 AM, Michael S. Tsirkin wrote: >> > On Wed, Oct 15, 2014 at 12:53:59AM +0300, Michael S. Tsirkin wrote: >> > static void skb_xmit_done(struct virtqueue *vq) >> > { >> > struct virtnet_info *vi = vq->vdev->priv;

[PATCH 1/2] virtio_balloon: return the amount of freed memory from leak_balloon()

2014-10-14 Thread Denis V. Lunev
From: Raushaniya Maksudova This value would be useful in the next patch to provide the amount of the freed memory for OOM killer. Signed-off-by: Raushaniya Maksudova Signed-off-by: Denis V. Lunev CC: Rusty Russell CC: Michael S. Tsirkin --- drivers/virtio/virtio_balloon.c | 5 - 1 file

[PATCH v2 0/2] shrink virtio baloon on OOM in guest

2014-10-14 Thread Denis V. Lunev
Excessive virtio_balloon inflation can cause invocation of OOM-killer, when Linux is under severe memory pressure. Various mechanisms are responsible for correct virtio_balloon memory management. Nevertheless it is often the case that these control tools does not have enough time to react on fast

[PATCH 2/2] virtio_balloon: free some memory from balloon on OOM

2014-10-14 Thread Denis V. Lunev
From: Raushaniya Maksudova Excessive virtio_balloon inflation can cause invocation of OOM-killer, when Linux is under severe memory pressure. Various mechanisms are responsible for correct virtio_balloon memory management. Nevertheless it is often the case that these control tools does not have

Re: [PATCH RFC] virtio_net: enable tx interrupt

2014-10-14 Thread Jason Wang
On 10/15/2014 07:11 AM, Michael S. Tsirkin wrote: > On Wed, Oct 15, 2014 at 12:53:59AM +0300, Michael S. Tsirkin wrote: >> > static void skb_xmit_done(struct virtqueue *vq) >> > { >> >struct virtnet_info *vi = vq->vdev->priv; >> > + struct send_queue *sq = >sq[vq2txq(vq)]; >> > >> > - /*

linux-next: Tree for Oct 15

2014-10-14 Thread Stephen Rothwell
Hi all, Please do not add any material intended for v3.19 to your linux-next included trees until after v3.18-rc1 has been released. Changes since 20141014: Added tree: drm-misc The akpm tree lost most of its patches that turned up in Linus' tree. Non-merge commits (relative to Linus' tree

Linus GIT 3.17.0+ - BUG: unable to handle kernel paging request - IP: [] scan_block+0x59/0x100

2014-10-14 Thread Miles Lane
[ 68.164917] BUG: unable to handle kernel paging request at 88021dc52000 [ 68.164957] IP: [] scan_block+0x59/0x100 [ 68.164987] PGD 2902067 PUD 2905067 PMD 21fdf2067 PTE 80021dc52060 [ 68.165020] Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 68.165048] Modules linked in: ecb

Re: [resend Patch v3 1/2] kaslr: check if kernel location is changed

2014-10-14 Thread Baoquan He
On 10/14/14 at 08:49am, Vivek Goyal wrote: > On Mon, Oct 13, 2014 at 01:22:42PM -0400, Vivek Goyal wrote: > > On Mon, Oct 13, 2014 at 08:43:00AM -0700, H. Peter Anvin wrote: > > > On 10/13/2014 08:19 AM, Vivek Goyal wrote: > > > >>> > > > >>> This really shouldn't have happened this way on x86-64.

Re: [PATCH net-next RFC 3/3] virtio-net: conditionally enable tx interrupt

2014-10-14 Thread Jason Wang
On 10/15/2014 05:51 AM, Michael S. Tsirkin wrote: > On Sat, Oct 11, 2014 at 03:16:46PM +0800, Jason Wang wrote: >> > We free transmitted packets in ndo_start_xmit() in the past to get better >> > performance in the past. One side effect is that skb_orphan() needs to be >> > called in

[PATCH] perf tools: fix incorrect header string

2014-10-14 Thread Wang Nan
Commit fbe96f29 (perf tools: Make perf.data more self-descriptive) read '/proc/cpuinfo' to form cpu descriptor. For ARM, it finds 'Processor' field. It is correct when the patch merged, but due to commit b4b8f770 (ARM: kernel: update cpuinfo to print all online CPUs features), the corresponding

Re: [PATCH net-next RFC 0/3] virtio-net: Conditionally enable tx interrupt

2014-10-14 Thread Jason Wang
On 10/15/2014 05:51 AM, Michael S. Tsirkin wrote: > On Tue, Oct 14, 2014 at 02:53:27PM -0400, David Miller wrote: >> From: Jason Wang >> Date: Sat, 11 Oct 2014 15:16:43 +0800 >> >>> We free old transmitted packets in ndo_start_xmit() currently, so any >>> packet must be orphaned also there. This

Re: [PATCH 2/6] arm64: Add DTS support for Spreadtrum's Shark64 SoC

2014-10-14 Thread Lyra Zhang
Hi, Arnd 2014-09-29 21:47 GMT+08:00 Arnd Bergmann : > On Monday 29 September 2014 20:04:49 zhang.l...@gmail.com wrote: >> + >> +/memreserve/ 0x8000 0x0001; > > Maybe add a comment explaining why it is reserved? > >> + chosen { >> + bootargs =

[PATCH v5 6/6] ARM: mach-bcm: Consolidate currently supported IPROC SoCs

2014-10-14 Thread Scott Branden
Move ARCH_BCM_5301X subarch under ARCH_IPROC architecture. Additional IPROC chipsets that share a lot of commonality should be added under ARCH_IPROC as well. Signed-off-by: Scott Branden --- arch/arm/mach-bcm/Kconfig | 37 - 1 file changed, 16

[PATCH v5 3/6] ARM: cygnus defconfig : Initial defconfig for Broadcom Cygnus SoC

2014-10-14 Thread Scott Branden
From: Jonathan Richardson This defconfig is utilized so a customer or developer can understand what kernel drivers are utilized by the Cygnus SoC. It also enables debug configs which should be disabled if optimal performance is desired. Tested-by: Jonathan Richardson Reviewed-by: JD

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

2014-10-14 Thread Scott Branden
From: Jonathan Richardson Adds initial support for the Cygnus SoC based on Broadcom’s iProc series. Move ARCH_BCM_5301x under the ARCH_BCM_IPROC architecture. Reviewed-by: Ray Jui Reviewed-by: Desmond Liu Reviewed-by: JD (Jiandong) Zheng Tested-by: Jonathan Richardson Signed-off-by: Scott

[PATCH v5 2/6] dt-bindings: Document Broadcom Cygnus SoC and clocks

2014-10-14 Thread Scott Branden
From: Jonathan Richardson Reviewed-by: Arun Parameswaran Tested-by: Jonathan Richardson Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Ray Jui Signed-off-by: Scott Branden --- .../devicetree/bindings/arm/bcm/cygnus.txt | 31 ++

[PATCH v5 0/6] Add initial support for Broadcom Cygnus SoC

2014-10-14 Thread Scott Branden
This patchset contains initial support for Broadcom's Cygnus SoC based on our iProc architecture. Initial support is minimal and includes just the mach platform code, clock driver, and a basic device tree configuration. Peripheral drivers will be submitted soon, as will device tree configurations

[PATCH v5 5/6] MAINTAINERS: Entry for Cygnus/iproc arm architecture

2014-10-14 Thread Scott Branden
Acked-by: Jonathan Richardson Signed-off-by: Scott Branden --- MAINTAINERS | 15 +++ 1 file changed, 15 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ee1bc5b..794804a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2125,6 +2125,21 @@ L:

[PATCH v5 4/6] ARM: dts: Enable Broadcom Cygnus SoC

2014-10-14 Thread Scott Branden
DT files to enable cygnus consisting on reference designs and cygnus core configuration. Reviewed-by: Ray Jui Reviewed-by: Arun Parameswaran Tested-by: Jonathan Richardson Reviewed-by: JD (Jiandong) Zheng Signed-off-by: Scott Branden --- arch/arm/boot/dts/Makefile |4 ++

Re: get_maintainers.pl doesn't actually get the real MAINTAINERS?

2014-10-14 Thread Joe Perches
On Tue, 2014-10-14 at 19:31 -0700, Scott Branden wrote: > On 14-10-14 07:26 PM, Joe Perches wrote: > > On Tue, 2014-10-14 at 19:18 -0700, Scott Branden wrote: > >> Hello, > >> > >> I try running scripts/get_maintainers.pl but it doesn't seem to get the > >> real maintainers properly. Please note

Re: [PATCH v3 25/27] Sparc/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread David Miller
From: Yijing Wang Date: Wed, 15 Oct 2014 11:07:13 +0800 > Use MSI chip framework instead of arch MSI functions to configure > MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. > > Signed-off-by: Yijing Wang Acked-by: David S. Miller -- To unsubscribe from this list: send

[PATCH v3 00/27] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-10-14 Thread Yijing Wang
Now there are a lot of weak arch functions in MSI code. Thierry Reding Introduced MSI chip framework to configure MSI/MSI-X in arm, that's a better solution than overriding lots of existing weak arch functionsin. This series use MSI chip framework to refactor MSI code across all platforms to

Re: rcu_preempt detected stalls.

2014-10-14 Thread Sasha Levin
On 10/13/2014 01:35 PM, Dave Jones wrote: > oday in "rcu stall while fuzzing" news: > > INFO: rcu_preempt detected stalls on CPUs/tasks: > Tasks blocked on level-0 rcu_node (CPUs 0-3): P766 P646 > Tasks blocked on level-0 rcu_node (CPUs 0-3): P766 P646 > (detected by 0, t=6502

[PATCH v3 12/27] x86/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/x86/include/asm/pci.h | 13 + arch/x86/kernel/apic/io_apic.c | 19 +++

[PATCH v3 04/27] arm/MSI: Save MSI chip in pci_sys_data

2014-10-14 Thread Yijing Wang
Saving msi chip in pci_sys_data can make pci bus and devices don't need to know msi chip detail, it also make pci enumeration code be decoupled from msi chip. In fact, all pci devices under the same pci hostbridge share same msi chip. So msi chip should be seen as one of resources or attributes to

Re: [PATCH] smaps should deal with huge zero page exactly same as normal zero page

2014-10-14 Thread Fengwei Yin
On Tue, Oct 14, 2014 at 02:57:30PM +0300, Kirill A. Shutemov wrote: > On Fri, Oct 10, 2014 at 09:21:08PM +0800, Fengwei Yin wrote: > > On Thu, Oct 09, 2014 at 09:36:30AM -0700, Dave Hansen wrote: > > > On 10/09/2014 02:19 AM, Fengwei Yin wrote: > > > > diff --git a/fs/proc/task_mmu.c

[PATCH v3 02/27] x86/xen/MSI: Eliminate arch_msix_mask_irq() and arch_msi_mask_irq()

2014-10-14 Thread Yijing Wang
Commit 0e4ccb1505a9 ("PCI: Add x86_msi.msi_mask_irq() and msix_mask_irq()") introduced two __weak arch functions arch_msix_mask_irq() and arch_msi_mask_irq() to work around a bug when running xen in x86. These two functions made msi code more complex. This patch reverts the commit and introduces a

[PATCH v3 13/27] x86/xen/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang Acked-by: David Vrabel CC: Konrad Rzeszutek Wilk --- arch/x86/pci/xen.c | 58

[PATCH v3 11/27] PCI/MSI: Refactor struct msi_chip to make it become more common

2014-10-14 Thread Yijing Wang
Now there are a lot of __weak arch functions in MSI code. These functions make MSI driver complex. Thierry introduced MSI chip framework to configure MSI/MSI-X irq in arm. Use MSI chip framework to refactor all other platform MSI code to eliminate weak arch MSI functions. This patch add

[PATCH v3 10/27] PCI/MSI: Remove useless bus->msi assignment

2014-10-14 Thread Yijing Wang
Now msi chip is saved in pci_sys_data in arm, we could clean the bus->msi assignment in pci core. Signed-off-by: Yijing Wang CC: Thierry Reding CC: Thomas Petazzoni --- drivers/pci/probe.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/pci/probe.c

[PATCH v3 16/27] Mips/MSI: Save msi chip in pci sysdata

2014-10-14 Thread Yijing Wang
Save msi chip in pci sysdata, add arch pci_find_msi_chip() to extract out msi chip. Signed-off-by: Yijing Wang --- arch/mips/include/asm/pci.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index

[PATCH v3 03/27] s390/MSI: Use __msi_mask_irq() instead of default_msi_mask_irq()

2014-10-14 Thread Yijing Wang
Now only s390/MSI use default_msi_mask_irq() and default_msix_mask_irq(), replace them with the common msi mask irq functions __msi_mask_irq() and __msix_mask_irq(). Remove default_msi_mask_irq() and default_msix_mask_irq(). Signed-off-by: Yijing Wang --- arch/s390/pci/pci.c |4 ++--

[PATCH v3 15/27] x86/MSI: Remove unused MSI weak arch functions

2014-10-14 Thread Yijing Wang
Now we can clean up MSI weak arch functions in x86. Signed-off-by: Yijing Wang --- arch/x86/include/asm/pci.h |5 + arch/x86/include/asm/x86_init.h |4 arch/x86/kernel/apic/io_apic.c | 21 + arch/x86/kernel/x86_init.c | 24

[PATCH v3 09/27] arm/PCI: Clean unused pcibios_add_bus() and pcibios_remove_bus()

2014-10-14 Thread Yijing Wang
MSI chip will be saved in pci_sys_data, now we can clean up pcibios_add_bus() and pcibios_remove_bus() in arm, and use pci_find_msi_chip() to get msi chip in core MSI code. Signed-off-by: Yijing Wang --- arch/arm/include/asm/mach/pci.h |4 arch/arm/kernel/bios32.c| 16

[PATCH v3 07/27] PCI: rcar: Save msi chip in pci_sys_data

2014-10-14 Thread Yijing Wang
Save msi chip in pci_sys_data instead of assign msi chip to every pci bus in .add_bus(). Signed-off-by: Yijing Wang --- drivers/pci/host/pcie-rcar.c | 13 +++-- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c

[PATCH v3 20/27] MIPS/Xlr/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/mips/pci/pci-xlr.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git

Re: get_maintainers.pl doesn't actually get the real MAINTAINERS?

2014-10-14 Thread Scott Branden
On 14-10-14 07:26 PM, Joe Perches wrote: On Tue, 2014-10-14 at 19:18 -0700, Scott Branden wrote: Hello, I try running scripts/get_maintainers.pl but it doesn't seem to get the real maintainers properly. Please note this is run against the current MAINTAINERS file. One Example: I would

[PATCH v3 06/27] PCI: designware: Save msi chip in pci_sys_data

2014-10-14 Thread Yijing Wang
Save msi chip in pci_sys_data instead of assign msi chip to every pci bus in .add_bus(). Signed-off-by: Yijing Wang --- drivers/pci/host/pcie-designware.c | 15 --- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/pci/host/pcie-designware.c

[PATCH v3 19/27] MIPS/Xlp/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X IRQ. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/mips/include/asm/netlogic/xlp-hal/pcibus.h |1 + arch/mips/pci/msi-xlp.c | 11 +--

[PATCH v3 17/27] MIPS/Octeon/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/mips/include/asm/octeon/pci-octeon.h |4 +++ arch/mips/pci/msi-octeon.c| 31

[PATCH v3 18/27] MIPS/Xlp: Remove the dead function destroy_irq() to fix build error

2014-10-14 Thread Yijing Wang
Commit 465665f78a7 ("mips: Kill pointless destroy_irq()") removed the destroy_irq(). So remove the leftover one in xlp_setup_msix() to fix build error. arch/mips/pci/msi-xlp.c: In function 'xlp_setup_msix': arch/mips/pci/msi-xlp.c:447:3: error: implicit declaration of function 'destroy_irq'..

[PATCH v3 05/27] PCI: tegra: Save msi chip in pci_sys_data

2014-10-14 Thread Yijing Wang
Save msi chip in pci_sys_data instead of assign msi chip to every pci bus in .add_bus(). Signed-off-by: Yijing Wang --- drivers/pci/host/pci-tegra.c | 13 +++-- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c

[PATCH v3 21/27] Powerpc/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- Hi Michael, I dropped the Acked-by , because this version has a lot changes compared to last. So, I guess you may want to

[PATCH v3 23/27] arm/iop13xx/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/arm/mach-iop13xx/include/mach/pci.h |4 arch/arm/mach-iop13xx/iq81340mc.c|3 +++

[PATCH v3 08/27] PCI: mvebu: Save msi chip in pci_sys_data

2014-10-14 Thread Yijing Wang
Save msi chip in pci_sys_data instead of assign msi chip to every pci bus in .add_bus(). Signed-off-by: Yijing Wang --- drivers/pci/host/pci-mvebu.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c

[PATCH v3 14/27] Irq_remapping/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- drivers/iommu/irq_remapping.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH v3 22/27] s390/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- Hi Sebastian, I dropped the Acked-by , because this version has a lot changes compared to last. So, I guess you may want to

Re: get_maintainers.pl doesn't actually get the real MAINTAINERS?

2014-10-14 Thread Joe Perches
On Tue, 2014-10-14 at 19:18 -0700, Scott Branden wrote: > Hello, > > I try running scripts/get_maintainers.pl but it doesn't seem to get the > real maintainers properly. Please note this is run against the current > MAINTAINERS file. > > One Example: I would expect

[PATCH v3 26/27] tile/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/tile/include/asm/pci.h | 10 ++ arch/tile/kernel/pci_gx.c | 13 +++-- 2 files changed, 21

[PATCH v3 25/27] Sparc/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/sparc/kernel/pci.c | 14 -- arch/sparc/kernel/pci_impl.h | 12 2 files changed, 24

[PATCH v3 24/27] IA64/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-10-14 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/ia64/include/asm/pci.h | 10 ++ arch/ia64/kernel/msi_ia64.c | 14 ++ arch/ia64/pci/pci.c |

[PATCH v3 27/27] PCI/MSI: Clean up unused MSI arch functions

2014-10-14 Thread Yijing Wang
Now we use struct msi_chip in all platforms to configure MSI/MSI-X. We can clean up the unused arch functions. Signed-off-by: Yijing Wang --- Hi Lucas, I dropped the reviewed-by, because this version has a lot changes compared to last one, I guess you may want to check it again. ---

[PATCH v3 01/27] MSI: Remove the redundant irq_set_chip_data()

2014-10-14 Thread Yijing Wang
Currently, pcie-designware, pcie-rcar and pci-tegra drivers use irq chip_data to save the msi_chip pointer. They already call irq_set_chip_data() in their own MSI irq map functions. And chip_data is an opaque pointer, how to use it is arch dependent. It should not be placed in MSI core.

RE: [PATCH] hyperv: Implement Time Synchronization using host time sample

2014-10-14 Thread Thomas Shao
These old duplicated patches are accidentally send by the mail server... Sorry for that. > -Original Message- > From: Thomas Shao [mailto:huis...@microsoft.com] > Sent: Tuesday, October 14, 2014 1:49 PM > To: t...@linutronix.de; gre...@linuxfoundation.org; linux- >

Re: [PATCH 0/8] power_supply: Add API for safe access of get_property-like function attrs

2014-10-14 Thread jonghwa3 . lee
Hi, On 2014년 10월 14일 21:20, Krzysztof Kozlowski wrote: > Hi, > > > After fixing issue with referencing old power supply after driver > unbind in charger manager [1] I noticed that the race condition in such > case may still exist. It would be harder to trigger but still possible. > > The race

get_maintainers.pl doesn't actually get the real MAINTAINERS?

2014-10-14 Thread Scott Branden
Hello, I try running scripts/get_maintainers.pl but it doesn't seem to get the real maintainers properly. Please note this is run against the current MAINTAINERS file. One Example: I would expect drivers/mmc/host/sdhci-bcm2835.c to be maintained by Stephen Warren based on

Re: [PATCH] arch/x86/purgatory/Makefile: supress kexec-purgatory.c is up to date message

2014-10-14 Thread WANG Chao
On 10/14/14 at 05:52pm, Vivek Goyal wrote: > On Tue, Oct 14, 2014 at 12:46:58PM +0800, WANG Chao wrote: > > Supress this unnecessary message during kernel re-build > > (CONFIG_KEXEC_FILE=y): > > > > make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date. > > > > Signed-off-by: WANG Chao

Re: powerpc: Fix Text randomization

2014-10-14 Thread Michael Ellerman
On Fri, 2014-10-10 at 05:45:26 UTC, Vineeth Vijayan wrote: > Right now there is no way to disable TEXT randomization on a PPC32 > machine. text randomization happens even in the case of "echo 0 > > /proc/sys/kernel/randomize_va_space" Yeah it seems to happen on ppc64 too. > This happens due to

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

2014-10-14 Thread KY Srinivasan
> -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Tuesday, October 14, 2014 6:08 PM > To: Sitsofe Wheeler > Cc: KY Srinivasan; Haiyang Zhang; Christoph Hellwig; Hannes Reinecke; linux- > s...@vger.kernel.org; linux-kernel@vger.kernel.org; >

Re: [PATCH net-next,v2] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-10-14 Thread David Miller
From: Haiyang Zhang Date: Tue, 14 Oct 2014 20:05:17 + > In case that the IP header has optional field at the end, this patch will > get the port numbers after that field, and compute the hash. > > Signed-off-by: Haiyang Zhang > Reviewed-by: K. Y. Srinivasan This isn't even close to what

Re: linux-next: build failure after merge of the net tree

2014-10-14 Thread David Miller
From: Stephen Rothwell Date: Wed, 15 Oct 2014 10:44:11 +1100 > Hi all, > > After merging the net tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/built-in.o: In function `.LANCHOR0': > :(.rodata+0x6b764): undefined reference to `sti_gmac_data' >

[PATCH 1/1] mmc: sdhci-bcm2835: added quirk and removed udelay in write ops

2014-10-14 Thread Scott Branden
Added quirk SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 present in controller. Removed udelay in write ops by using shadow registers for 16 bit accesses to 32-bit registers (where necessary). Optimized 32-bit operations when doing 8/16 register accesses. Signed-off-by: Scott Branden ---

[PATCH 0/1] sdhci-bcm2835: added quirk and removed udelay in write ops

2014-10-14 Thread Scott Branden
This patch contains driver cleanup of sdhci-bcm2835. Please note that this has not actually been tested on bcm2835 yet. Testing comes from other devices with the same sdhci controller. This patch is being put out for testing and acceptance on the 2835. Please test and comment. Scott Branden (1):

Re: [PATCH] mmc: dw_mmc: Change signal voltage error to dev_dbg()

2014-10-14 Thread Jaehoon Chung
Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 10/11/2014 01:16 PM, Doug Anderson wrote: > In (28f92b5 mmc: core: Try other signal levels during power up) we can > see that there are times when it's valid to try several signal > voltages. Don't print an ugly error in the logs when that

Re: [patch 3/3] ipmi: Unregister previously registered driver in error case

2014-10-14 Thread Corey Minyard
Queued, thanks for spotting this. -corey On 10/14/2014 09:40 AM, tr...@suse.de wrote: Signed-off-by: Thomas Renninger CC: miny...@acm.org Index: kernel_ipmi/drivers/char/ipmi/ipmi_msghandler.c === ---

Re: [patch 2/3] ipmi: Remove ipmi_major module parameter and define global IPMI_MAJOR

2014-10-14 Thread Corey Minyard
Sorry to top post on this, but you attached the file, so it's hard to reply inline. There's no way this can go in. There's not enough major device numbers for all the devices that exist, we have mechanisms to handle dynamically assigning numbers, and the IPMI driver just isn't important enough

Re: [patch 1/3] ipmi: Setup ipmi_devintf automatically if ipmi_msghandler gets loaded

2014-10-14 Thread Corey Minyard
On 10/14/2014 09:40 AM, tr...@suse.de wrote: > This removes the ipmi_devintf to be a module, but it will automatically > compiled in if ipmi_msghandler is set. > > ipmi_msghandler module is renamed to ipmi_handler because of the name > clash with the ipmi_msghandler.o object file (see Makefile for

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

2014-10-14 Thread Martin K. Petersen
> "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 though the virtual disk advertises them. Last time around we identified this as

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

2014-10-14 Thread Martin K. Petersen
> "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 for "small" disks What does that mean, exactly? -- Martin K. Petersen

Re: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-14 Thread Joseph Lo
On 10/14/2014 04:42 PM, Jingchang Lu wrote: This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, "serial: of-serial: add PM suspend/resume support", which disables the uart clock on suspend, but also causes a hardware hang on register access if no_console_suspend command line option

Re: [PATCH] Do not silently discard WRITE_SAME requests

2014-10-14 Thread Martin K. Petersen
> "Petr" == Petr Vandrovec writes: Petr, Petr> Logic (from 2011, commit 8af1954d172a46a63e5e79dae523a6d74715e458) Petr> says that EOPNOTSUPP is returned when DISCARD request failed, as Petr> discarding is optional, and failures can be safely ignored. That Petr> is definitely not true for

Re: [PATCH 0/8] Armada XP pinctrl consolidation and ix4-300d fixes

2014-10-14 Thread Benoit Masson
Le 6 oct. 2014 à 18:13, Sebastian Hesselbarth a écrit : > On 10/06/2014 01:11 AM, Benoit Masson wrote: >> Le 3 oct. 2014 à 17:41, Sebastian Hesselbarth >> a écrit : >>> On 10/03/2014 05:29 PM, Benoit Masson wrote: Le 3 oct. 2014 à 17:06, Sebastian Hesselbarth a écrit : > On

linux-next: manual merge of the infiniband tree with Linus' tree

2014-10-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the infiniband tree got a conflict in drivers/infiniband/hw/mlx5/qp.c between commit c7a08ac7ee68 ("net/mlx5_core: Update device capabilities handling") from Linus' tree and commit f83b42636a91 ("IB/mlx5: Remove duplicate code from mlx5_set_path") from the

RE: [PATCH net-next,v2] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-10-14 Thread Haiyang Zhang
> -Original Message- > From: Haiyang Zhang [mailto:haiya...@microsoft.com] > Sent: Tuesday, October 14, 2014 4:05 PM > To: da...@davemloft.net; net...@vger.kernel.org > Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; > linux-kernel@vger.kernel.org;

Re: [PATCH next] xen: pcifront: Process failure for pcifront_(re)scan_root()

2014-10-14 Thread Chen Gang
At least for me, what you said sound OK. Thanks. Send from Lenovo A788t. Bjorn Helgaas wrote: >On Mon, Oct 06, 2014 at 11:04:45AM +0800, Chen Gang wrote: >> When pcifront_rescan_root() or pcifront_scan_root() fails, need return >> error code, neither set XenbusStateConnected state, just

Re: [PATCH next] xen: pcifront: Process failure for pcifront_(re)scan_root()

2014-10-14 Thread Bjorn Helgaas
On Mon, Oct 06, 2014 at 11:04:45AM +0800, Chen Gang wrote: > When pcifront_rescan_root() or pcifront_scan_root() fails, need return > error code, neither set XenbusStateConnected state, just like the other > areas have done. > > For pcifront_rescan_root(), it will return error code ("num_roots =

[PATCH v3] fs: Treat foreign mounts as nosuid

2014-10-14 Thread Andy Lutomirski
If a process gets access to a mount from a different namespace user namespace, that process should not be able to take advantage of setuid files or selinux entrypoints from that filesystem. Technically, trusting mounts created by the same or ancestor user namespaces ought to be safe, but it's

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

2014-10-14 Thread Stephen Rothwell
Hi all, After merging the net tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/built-in.o: In function `.LANCHOR0': :(.rodata+0x6b764): undefined reference to `sti_gmac_data' :(.rodata+0x6b828): undefined reference to `sti_gmac_data' :(.rodata+0x6b8ec): undefined

  1   2   3   4   5   6   7   8   9   10   >