Re: [PATCH v4] pcie: Add Xilinx PCIe Host Bridge IP driver

2014-07-22 Thread Bjorn Helgaas
On Mon, Jul 21, 2014 at 11:10 PM, Srikanth Thokala wrote: > On Wed, Jul 16, 2014 at 11:08 PM, Bjorn Helgaas wrote: >> ... >> I see I forgot to ask for a MAINTAINERS entry for this driver. Can >> you add one? > > There was a discussion on this earlier and Michal mentioned it is not > required as

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable MiPHY365x - ST's Generic (SATA & PCIe) PHY

2014-07-22 Thread Olof Johansson
On Tue, Jul 22, 2014 at 10:39:45AM +0100, Lee Jones wrote: > Signed-off-by: Lee Jones Appled both. In the future, feel free to batch them up in one commit, no need to keep them separate since they're related. -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH 1/1] dmaengine: pl330: Check if the DMA descriptor is NULL

2014-07-22 Thread Vinod Koul
On Sat, Jul 19, 2014 at 03:21:47AM +0200, Javier Martinez Canillas wrote: > Commit 6079d38 ("dmaengine: pl330: Remove useless xfer_cb indirection") > removed the __callback() function which created an unnecessary level of > indirection to execute the tranfer callback .xfer_cb > > Unfortunately the

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable MiPHY365x - ST's Generic (SATA & PCIe) PHY

2014-07-22 Thread Maxime Coquelin
Hi Olof, On 07/22/2014 06:06 PM, Olof Johansson wrote: On Tue, Jul 22, 2014 at 10:39:45AM +0100, Lee Jones wrote: Signed-off-by: Lee Jones Appled both. In the future, feel free to batch them up in one commit, no need to keep them separate since they're related. I added both to the pull req

Re: [STLinux Kernel] [PATCH v3 10/10] MAINTAINERS: Add sdhci-st file to ARCH/STI architecture

2014-07-22 Thread Maxime Coquelin
On 07/22/2014 06:00 PM, Olof Johansson wrote: On Tue, Jul 22, 2014 at 5:13 AM, Maxime Coquelin wrote: Hi Olof, Arnd, Kevin, I am preparing two tags for v3.17 regarding STi platform. One for DT, and one for defconfigs. Except this one, I have no patches for ARM-SoC

Re: [PATCH v3 5/9] perf, x86: large PEBS interrupt threshold

2014-07-22 Thread Andi Kleen
> + /* > + * When the event is constrained enough we can use a larger > + * threshold and run the event with less frequent PMI. > + */ > + if (0 && /* disable this temporarily */ Where in the patchkit does it get reenabled? -Andi > + (hwc->flags & PERF_X86_EVENT_AU

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable MiPHY365x - ST's Generic (SATA & PCIe) PHY

2014-07-22 Thread Olof Johansson
On Tue, Jul 22, 2014 at 06:15:16PM +0200, Maxime Coquelin wrote: > Hi Olof, > > On 07/22/2014 06:06 PM, Olof Johansson wrote: > >On Tue, Jul 22, 2014 at 10:39:45AM +0100, Lee Jones wrote: > >>Signed-off-by: Lee Jones > > > >Appled both. In the future, feel free to batch them up in one commit, > >

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-22 Thread Pawel Moll
On Fri, 2014-07-18 at 23:41 +0100, Peter Zijlstra wrote: > So something that might be usable for all of us would be the > 'abstracted' control loop. > > So the problem is, given a Set Point (CLOCK_MONOTONIC_RAW), a Process > Variable (sched_clock) compute a Control Output (multiplier). > > If tha

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-22 Thread Pawel Moll
On Fri, 2014-07-18 at 18:51 +0100, John Stultz wrote: > Very cool work! Glad that it doesn't sound too ridiculous :-) > I've not been able to review it carefully, but one good > stress test would be to pick a system where the hardware used for > sched_clock is different from the hardware used fo

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-22 Thread Pawel Moll
On Fri, 2014-07-18 at 20:34 +0100, Peter Zijlstra wrote: > On Fri, Jul 18, 2014 at 12:25:48PM -0700, John Stultz wrote: > > Also, assuming we someday will merge the x86 sched_clock logic into > > the generic sched_clock code, we'll have to handle cases where they > > aren't the same. > > I prefer

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-22 Thread Pawel Moll
On Sat, 2014-07-19 at 06:02 +0100, Richard Cochran wrote: > On Fri, Jul 18, 2014 at 06:43:39PM +0100, Pawel Moll wrote: > > > > This code definitely needs more work and testing (I'm not 100% > > sure if the Kp and Ki I've picked for the proportional and > > integral terms are universal), > > I wo

Re: [PATCH v7 03/10] x86, mpx: add macro cpu_has_mpx

2014-07-22 Thread Dave Hansen
On 07/20/2014 10:38 PM, Qiaowei Ren wrote: > +#ifdef CONFIG_X86_INTEL_MPX > +#define cpu_has_mpx boot_cpu_has(X86_FEATURE_MPX) > +#else > +#define cpu_has_mpx 0 > +#endif /* CONFIG_X86_INTEL_MPX */ Is this enough checking? Looking at the extension reference, it says: > 9.3.3 > Enabling of Intel

[PATCH 3/4] xen-pciback: use pci device flag operation helper function

2014-07-22 Thread Ethan Zhao
Use pci device flag operation helper functions when set device to assigned or deassigned state. Signed-off-by: Ethan Zhao --- drivers/xen/xen-pciback/pci_stub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciba

[PATCH 4/4] PCI: use device flag operation helper function in iov.c

2014-07-22 Thread Ethan Zhao
Use device flag operation helper functions when check device assignment status. Signed-off-by: Ethan Zhao --- drivers/pci/iov.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index de7a747..61fad36 100644 --- a/drivers/pci/iov.c ++

[PATCH 1/4] PCI: introduce helper functions for device flag operation

2014-07-22 Thread Ethan Zhao
This patch introduced three helper functions to hide direct device flag operation. void pci_set_dev_assigned(struct pci_dev *pdev); void pci_set_dev_deassigned(struct pci_dev *pdev); bool pci_is_dev_assigned(struct pci_dev *pdev); Signed-off-by: Ethan Zhao --- include/linux/pci.h | 13 +++

[PATCH 0/4] Introduce device assignment flag operation helper function

2014-07-22 Thread Ethan Zhao
This patch set introduces three PCI device flag operation helper functions when set pci device PF/VF to assigned or deassigned status also check it. and patch 2,3,4 apply these helper functions to KVM,XEN and PCI. Much thanks to suggestion from alex.william...@redhat.com, david.vra...@citrix.com,

[PATCH 2/4] KVM: use pci device flag operation helper functions

2014-07-22 Thread Ethan Zhao
Use helper function instead of direct operation to pci device flag when set device to assigned or deassigned. Signed-off-by: Ethan Zhao --- virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/virt/kvm/assigned-dev

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 5:59 PM, Christian König wrote: > Am 22.07.2014 17:42, schrieb Daniel Vetter: > >> On Tue, Jul 22, 2014 at 5:35 PM, Christian König >> wrote: >>> >>> Drivers exporting fences need to provide a fence->signaled and a >>> fence->wait >>> function, everything else like fence->

Re: VFS tree for 3.17?

2014-07-22 Thread Christoph Hellwig
On Wed, Jul 16, 2014 at 04:41:36AM -0700, Christoph Hellwig wrote: > Hi Al, > > Do you plan to put a VFS tree together for 3.17? To me the various > renameat2 bits from Miklos are something I'd really prefer to not miss, > but there might be other bits waiting for attention as well. Another week

Re: [PATCH] CAPABILITIES: remove undefined caps from all processes

2014-07-22 Thread Serge Hallyn
Quoting Andrew Vagin (ava...@parallels.com): > On Mon, Jul 21, 2014 at 04:59:01PM -0400, Eric Paris wrote: > > This is effectively a revert of 7b9a7ec565505699f503b4fcf61500dceb36e744 > > plus fixing it a different way... > > > > We found, when trying to run an application from an application whic

Re: [PATCH 4/6] net/macb: add RX checksum offload feature

2014-07-22 Thread Cyrille Pitchen
Le 18/07/2014 17:36, Eric Dumazet a écrit : > On Fri, 2014-07-18 at 16:21 +0200, Cyrille Pitchen wrote: >> Signed-off-by: Cyrille Pitchen >> --- >> drivers/net/ethernet/cadence/macb.c | 29 - >> drivers/net/ethernet/cadence/macb.h | 2 ++ >> 2 files changed, 30 insert

Re: [PATCH v2] bus: ARM CCN PMU driver

2014-07-22 Thread Pawel Moll
On Tue, 2014-07-22 at 09:08 -0700, Olof Johansson wrote: > On Tue, Jul 22, 2014 at 3:11 AM, Pawel Moll wrote: > > Hi Arnd, Kevin, Olof, > > > > On Fri, 2014-07-11 at 16:06 +0100, Pawel Moll wrote: > >> Driver providing perf backend for ARM Cache Coherent Network > >> interconnect. Supports countin

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 05:17:23PM +0100, Pawel Moll wrote: > > Now, I already mentioned max error bounds, and I've not yet looked at > > your actual control loop, but that is something to keep in mind, we want > > something that's limited. > > Indeed. Richard has already expressed concerns that m

Re: [PATCH v2] bus: ARM CCN PMU driver

2014-07-22 Thread Olof Johansson
On Tue, Jul 22, 2014 at 9:29 AM, Pawel Moll wrote: > On Tue, 2014-07-22 at 09:08 -0700, Olof Johansson wrote: >> On Tue, Jul 22, 2014 at 3:11 AM, Pawel Moll wrote: >> > Hi Arnd, Kevin, Olof, >> > >> > On Fri, 2014-07-11 at 16:06 +0100, Pawel Moll wrote: >> >> Driver providing perf backend for ARM

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 05:17:29PM +0100, Pawel Moll wrote: > With both Ingo and John showing preference towards the clock alignment, > so that's where I looked this time (I've already done custom perf > ioctls, posix clocks... don't really know how many different ways I've > tried). So we should

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Christian König
Maybe I've mixed things up a bit in my description. There is fence_signal which the implementor/exporter of a fence must call when the fence is completed. If the exporter has an ->enable_signaling callback it can delay that call to fence_signal for as long as it wishes as long as enable_signaling

Re: [PATCH 4/6] net/macb: add RX checksum offload feature

2014-07-22 Thread Florian Fainelli
2014-07-22 9:27 GMT-07:00 Cyrille Pitchen : > Le 18/07/2014 17:36, Eric Dumazet a écrit : >> On Fri, 2014-07-18 at 16:21 +0200, Cyrille Pitchen wrote: >>> Signed-off-by: Cyrille Pitchen >>> --- >>> drivers/net/ethernet/cadence/macb.c | 29 - >>> drivers/net/ethernet/ca

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable MiPHY365x - ST's Generic (SATA & PCIe) PHY

2014-07-22 Thread Maxime Coquelin
On 07/22/2014 06:17 PM, Olof Johansson wrote: On Tue, Jul 22, 2014 at 06:15:16PM +0200, Maxime Coquelin wrote: Hi Olof, On 07/22/2014 06:06 PM, Olof Johansson wrote: On Tue, Jul 22, 2014 at 10:39:45AM +0100, Lee Jones wrote: Signed-off-by: Lee Jones Appled both. In the future, feel free

Re: [PATCH] tty/tty_io.c: make a check before reuse cdev

2014-07-22 Thread Peter Hurley
On 07/22/2014 07:52 AM, xinhui.pan wrote: > > 于 2014年07月21日 23:38, Greg KH 写道: >> On Mon, Jul 21, 2014 at 08:47:16PM +0800, pp wrote: >>> As reuse the cdev may cause panic. After we unregister the tty device, we >>> may use tty_hangup() o >>> other similar function to send a signal(SIGHUP) to pro

Re: [PATCH] x86: Allow kernel_map_pages_in_pgd() to work when NX is disabled

2014-07-22 Thread Borislav Petkov
On Tue, Jul 08, 2014 at 05:31:12PM -0500, Stuart Hayes wrote: > The function kernel_map_pages_in_pgd() will not map pages if NX is > disabled, which causes a lot of problems booting in EFI mode > (efi_map_region() and other functions depend on this). This patch > just makes sure that the NX flag d

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 6:21 PM, Daniel Vetter wrote: > But like I've said fence->signaled is optional so you don't need this > necessarily, as long as radeon eventually calls fence_signaled once > the fence has completed. Actually I've chatted a bit with Maarten about the different ways we could

Re: [PATCH 5/8] of: Add Tegra124 EMC bindings

2014-07-22 Thread Stephen Warren
On 07/21/2014 04:52 PM, Andrew Bresticker wrote: > On Mon, Jul 21, 2014 at 2:28 PM, Stephen Warren wrote: >> On 07/11/2014 10:43 AM, Andrew Bresticker wrote: >>> On Fri, Jul 11, 2014 at 7:18 AM, Mikko Perttunen >>> wrote: Add binding documentation for the nvidia,tegra124-emc device tree >>>

Re: [PATCH 0/2] ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists

2014-07-22 Thread Nishanth Menon
On 07/16/2014 03:36 AM, Lokesh Vutla wrote: > This series add seperate ocp interface lists that are specific to dra74x > and dra72x, and moving USB OTG SS4 to dra74x only since its not present > in dra72x. Without this USB OTG SS4 hwmod gives an abort on dra72x. > > Adding support for soc_is_dra74

Re: VFS tree for 3.17?

2014-07-22 Thread Richard Weinberger
On Tue, Jul 22, 2014 at 6:24 PM, Christoph Hellwig wrote: > On Wed, Jul 16, 2014 at 04:41:36AM -0700, Christoph Hellwig wrote: >> Hi Al, >> >> Do you plan to put a VFS tree together for 3.17? To me the various >> renameat2 bits from Miklos are something I'd really prefer to not miss, >> but there

Re: [PATCH 1/2] ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() varients

2014-07-22 Thread Nishanth Menon
On 07/16/2014 03:36 AM, Lokesh Vutla wrote: > From: Rajendra Nayak > > Use the corresponding compatibles to identify the devices. > > Signed-off-by: Rajendra Nayak > Signed-off-by: Lokesh Vutla > --- > arch/arm/mach-omap2/soc.h |7 +++ > 1 file changed, 7 insertions(+) > > diff --git

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-22 Thread Pawel Moll
On Tue, 2014-07-22 at 17:34 +0100, Peter Zijlstra wrote: > On Tue, Jul 22, 2014 at 05:17:29PM +0100, Pawel Moll wrote: > > With both Ingo and John showing preference towards the clock alignment, > > so that's where I looked this time (I've already done custom perf > > ioctls, posix clocks... don't

Re: [PATCH] pinctrl: dra: dt-bindings: Fix pull enable/disable

2014-07-22 Thread Felipe Balbi
On Tue, Jul 22, 2014 at 10:39:54AM -0500, Nishanth Menon wrote: > The DRA74/72 control module pins have a weak pull up and pull down. > This is configured by bit offset 17. if BIT(17) is 1, a pull up is > selected, else a pull down is selected. > > However, this pull resisstor is applied based on

Re: [RFC][PATCH 0/3] ftrace: Add dynamically allocated trampolines

2014-07-22 Thread Oleg Nesterov
On 07/03, Steven Rostedt wrote: > > [ NOT READY FOR INCLUSION! ] > > Note, this is based off of my remove ftrace_start/stop() patch set. So I simply pulled your tree. I can't really comment these changes simply because I do not understand this code. But I am hunting for RHEL bug in (probably) this

vmwgfx: remove identical branches

2014-07-22 Thread Dave Jones
Commit 8b7de6aa8468: "vmwgfx: Rework fence event action" removed the tv_sec & tv_usec arguments to vmw_event_fence_action_create, which meant that both sides of the if/else are now exactly the same. Remove the flag check, and just do it unconditionally. Spotted with Coverity. Signed-off-by: Dave

Re: [PATCH 2/2] ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists

2014-07-22 Thread Nishanth Menon
On 07/16/2014 03:36 AM, Lokesh Vutla wrote: > From: Rajendra Nayak > > To deal with IPs which are specific to dra74x and dra72x, maintain seperate > ocp interface lists, while keeping the common list for all common IPs. > > Move USB OTG SS4 to dra74x only list since its unavailable in > dra72x a

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 6:39 PM, Christian König wrote: >> Maybe I've mixed things up a bit in my description. There is >> fence_signal which the implementor/exporter of a fence must call when >> the fence is completed. If the exporter has an ->enable_signaling >> callback it can delay that call t

Re: [PATCH 8/8] clk: tegra: Add EMC clock driver

2014-07-22 Thread Stephen Warren
On 07/11/2014 08:18 AM, Mikko Perttunen wrote: > The driver is currently only tested on Tegra124 Jetson TK1, but should > work with other Tegra124 boards, provided that correct EMC tables are > provided through the device tree. Older chip models have differing > timing change sequences, so they are

Re: [PATCH v5 2/3] acpi, apei, ghes: Make NMI error notification to be GHES architecture extension.

2014-07-22 Thread Borislav Petkov
On Tue, Jul 22, 2014 at 11:20:12AM +0200, Tomasz Nowicki wrote: > Currently APEI depends on x86 architecture. It is because of NMI hardware > error notification of GHES which is currently supported by x86 only. > However, many other APEI features can be still used perfectly by other > architectures

[tip:x86/urgent] x86_32, entry: Store badsys error code in %eax

2014-07-22 Thread tip-bot for Sven Wegener
Commit-ID: 8142b215501f8b291a108a202b3a053a265b03dd Gitweb: http://git.kernel.org/tip/8142b215501f8b291a108a202b3a053a265b03dd Author: Sven Wegener AuthorDate: Tue, 22 Jul 2014 10:26:06 +0200 Committer: H. Peter Anvin CommitDate: Tue, 22 Jul 2014 02:34:05 -0700 x86_32, entry: Store bad

Re: [PATCH v4] pcie: Add Xilinx PCIe Host Bridge IP driver

2014-07-22 Thread Michal Simek
On 07/22/2014 06:08 PM, Bjorn Helgaas wrote: > On Mon, Jul 21, 2014 at 11:10 PM, Srikanth Thokala wrote: >> On Wed, Jul 16, 2014 at 11:08 PM, Bjorn Helgaas wrote: >>> ... >>> I see I forgot to ask for a MAINTAINERS entry for this driver. Can >>> you add one? >> >> There was a discussion on this

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-22 Thread H. Peter Anvin
On 07/22/2014 06:35 AM, Peter Zijlstra wrote: > On Tue, Jul 22, 2014 at 03:26:03PM +0200, Peter Zijlstra wrote: >> On Tue, Jul 22, 2014 at 03:03:43PM +0200, Peter Zijlstra wrote: >>> Oh, of course we do SMP detection and setup after the cache setup... >>> lovely. >>> >>> /me goes bang head against

Re: [PATCH v2 3/4] virtio: rng: delay hwrng_register() till driver is ready

2014-07-22 Thread Amit Shah
On (Mon) 21 Jul 2014 [17:15:51], Amit Shah wrote: > Instead of calling hwrng_register() in the probe routing, call it in the > scan routine. This ensures that when hwrng_register() is successful, > and it requests a few random bytes to seed the kernel's pool at init, > we're ready to service that

Re: decompress.c : Add cache support

2014-07-22 Thread Florian Fainelli
2014-07-21 21:24 GMT-07:00 Nick Krause : > Hey Ralf and others > We seem to be flushing this cache after decompressing the kernel on > mips. Can't we cache this? I am not sure I fully understand what you mean here. What would we be caching, instruction, data, both? > If anyone has any advice on h

Re: [PATCH 2/6] clk: tegra: make tegra_clocks_apply_init_table arch_initcall

2014-07-22 Thread Stephen Warren
On 07/15/2014 09:24 AM, Peter De Schrijver wrote: > tegra_clocks_apply_init_table needs to be called after the udelay loop has > been calibrated (see 441f199a37cfd66c5dd8dd45490bd3ea6971117d why that is). Instead of just the commit ID, can you please mention the commit subject too: 441f199a37cf "

Re: [PATCH 1/6] clk: tegra: don't abort clk init on error

2014-07-22 Thread Stephen Warren
On 07/15/2014 09:24 AM, Peter De Schrijver wrote: > Just continue initializing clocks if there's an error on one of them. This > is useful if there's a mistake in the inittable, because the system could > hang if clk_disable_unused() disables some of the critical clocks in this > table. If there's

Re: [PATCH 4/6] clk: tegra: add nvidia,tegra132-ccplex-clk binding

2014-07-22 Thread Stephen Warren
On 07/15/2014 09:24 AM, Peter De Schrijver wrote: > Tegra132 has a few new clocks for the CPU complex (ccplex). > diff --git > a/Documentation/devicetree/bindings/clock/nvidia,tegra132-ccplex-clk.txt > b/Documentation/devicetree/bindings/clock/nvidia,tegra132-ccplex-clk.txt > +Example SoC inclu

Re: [PATCH 5/8] of: Add Tegra124 EMC bindings

2014-07-22 Thread Andrew Bresticker
On Tue, Jul 22, 2014 at 9:45 AM, Stephen Warren wrote: > > Does the bootloader adjust the DT that's passed to the kernel so that > only the relevant single set of EMC timings is contained in the DT? No, the DT contains all possible EMC timings for that board. > On a system where the boot ROM ini

Re: [PATCH] edac: Remove fixmes in e7xxx_edac.c

2014-07-22 Thread Tony Luck
On Tue, Jul 22, 2014 at 7:04 AM, Bjørn Mork wrote: >> - /* FIXME - should use PAGE_SHIFT */ >> - page = error_1b >> 6; /* convert the address to 4k page */ >> + page = error_1b >> PAGE_SHIFT; /* convert the address to 4k page */ > > I just have to bite... Where did you get the idea

[PATCH RESEND v2] bus: ARM CCN PMU driver

2014-07-22 Thread Pawel Moll
Driver providing perf backend for ARM Cache Coherent Network interconnect. Supports counting all hardware events and crosspoint watchpoints. Currently works with CCN-504 only, although there should be no changes required for CCN-508 (just impossible to test it now). Signed-off-by: Pawel Moll ---

Re: [PATCH 5/8] of: Add Tegra124 EMC bindings

2014-07-22 Thread Stephen Warren
On 07/22/2014 11:22 AM, Andrew Bresticker wrote: > On Tue, Jul 22, 2014 at 9:45 AM, Stephen Warren wrote: >> >> Does the bootloader adjust the DT that's passed to the kernel so that >> only the relevant single set of EMC timings is contained in the DT? > > No, the DT contains all possible EMC tim

Re: [PATCH 3/4] xen-pciback: use pci device flag operation helper function

2014-07-22 Thread Konrad Rzeszutek Wilk
On Wed, Jul 23, 2014 at 12:19:03AM +0800, Ethan Zhao wrote: > Use pci device flag operation helper functions when set device > to assigned or deassigned state. > > Signed-off-by: Ethan Zhao Reviewed-by: Konrad Rzeszutek Wilk > --- > drivers/xen/xen-pciback/pci_stub.c |4 ++-- > 1 files cha

Re: [PATCH] tty/tty_io.c: make a check before reuse cdev

2014-07-22 Thread Greg KH
On Tue, Jul 22, 2014 at 12:40:59PM -0400, Peter Hurley wrote: > On 07/22/2014 07:52 AM, xinhui.pan wrote: > > > > 于 2014年07月21日 23:38, Greg KH 写道: > >> On Mon, Jul 21, 2014 at 08:47:16PM +0800, pp wrote: > >>> As reuse the cdev may cause panic. After we unregister the tty device, we > >>> may use

Re: [PATCH v2 2/2] firmware_class: perform new LSM checks

2014-07-22 Thread Kees Cook
On Mon, Jul 21, 2014 at 11:55 PM, Takashi Iwai wrote: > At Mon, 21 Jul 2014 12:06:41 -0700, > Kees Cook wrote: >> >> This attaches LSM hooks to the existing firmware loading interfaces: >> filesystem-found firmware and demand-loaded blobs. >> >> Signed-off-by: Kees Cook >> Acked-by: Greg Kroah-Ha

Re: [PATCH] edac: Remove fixmes in e7xxx_edac.c

2014-07-22 Thread Nick Krause
On Tue, Jul 22, 2014 at 1:25 PM, Tony Luck wrote: > On Tue, Jul 22, 2014 at 7:04 AM, Bjørn Mork wrote: >>> - /* FIXME - should use PAGE_SHIFT */ >>> - page = error_1b >> 6; /* convert the address to 4k page */ >>> + page = error_1b >> PAGE_SHIFT; /* convert the address to 4k page *

Re: decompress.c : Add cache support

2014-07-22 Thread Nick Krause
On Tue, Jul 22, 2014 at 1:14 PM, Florian Fainelli wrote: > 2014-07-21 21:24 GMT-07:00 Nick Krause : >> Hey Ralf and others >> We seem to be flushing this cache after decompressing the kernel on >> mips. Can't we cache this? > > I am not sure I fully understand what you mean here. What would we be

Re: drbd_worker.c: Remove lines

2014-07-22 Thread Nick Krause
On Tue, Jul 22, 2014 at 4:09 AM, Mike Galbraith wrote: > On Tue, 2014-07-22 at 02:17 -0400, Nick Krause wrote: >> There seems to be two fix mes in function in wait_for_work. I was >> wondering can we remove these spinlocks? > > Rather than ask someone else this question, take a look to see what th

Re: Fix me in netx-regs.h

2014-07-22 Thread Nick Krause
On Tue, Jul 22, 2014 at 4:44 AM, Arnd Bergmann wrote: > On Tuesday 22 July 2014 00:16:26 Nick Krause wrote: >> Hey Russell, >> I did give thought to our previous conversations and I will still do >> fix mes but am going to be more careful >> with I submit them. Furthermore it seems #define >> NET

Re: [PATCH] edac: Remove fixmes in e7xxx_edac.c

2014-07-22 Thread Borislav Petkov
On Tue, Jul 22, 2014 at 01:40:42PM -0400, Nick Krause wrote: > What is the value of Page shift then ? If you can tell me it would be > much easier for > me to fix this. I'll give you a rat's ass if you find that out on your own. -- Regards/Gruss, Boris. Sent from a fat crate under my desk.

Von Dr. Michael Johnson

2014-07-22 Thread Dr. Michael Johnson
Lieber Freund, Wie geht es Ihnen heute? Ich hoffe, fein, ich bin Dr. Michael Johnson von Harlesden, North West London, hier in England. Ich arbeite für NatWest Bank London (National Westminster Bank Plc.). Ich schreibe Ihnen aus meinem Büro, die von einer großen immensen Nutzen für beide von u

Re: [l2-mtd:master 25/29] drivers/mtd/nand/nand_timings.c:45:29: sparse: constant 250000000000 is so big it is long

2014-07-22 Thread Brian Norris
+ linux-mtd, lkml, linux-sparse On Tue, Jul 22, 2014 at 10:28:13AM +0200, Boris BREZILLON wrote: > On Tue, 22 Jul 2014 11:41:08 +0800 kbuild test robot > wrote: > > tree: git://git.infradead.org/users/dedekind/l2-mtd.git master > > head: e4e069347030ab0fea7304d06704fb3b64e5fe40 > > commit: 9

Re: pull request: bluetooth-next 2014-07-21

2014-07-22 Thread John W. Linville
On Tue, Jul 22, 2014 at 11:25:06AM -0300, Gustavo Padovan wrote: > Hi John, > > Here follows some more patches for 3.17. These are mostly fixes to what > we've sent to you before for next merge window. > > Please pull! Thanks. > > Gustavo > > --- > The following changes since commit 4d042

Re: [PATCH v2 1/5] i2c: Don't start transfers when suspended

2014-07-22 Thread Grygorii Strashko
Hi On 07/17/2014 05:48 PM, Bastian Hecht wrote: > i2c transfer requests come in very uncontrolled, like from interrupt routines. > We might be suspended when this happens. To avoid i2c timeouts caused by > powered down busses we check for suspension. > > Several bus drivers handle this problem on

Re: [PATCH] edac: Remove fixmes in e7xxx_edac.c

2014-07-22 Thread Nick Krause
On Tue, Jul 22, 2014 at 1:46 PM, Borislav Petkov wrote: > On Tue, Jul 22, 2014 at 01:40:42PM -0400, Nick Krause wrote: >> What is the value of Page shift then ? If you can tell me it would be >> much easier for >> me to fix this. > > I'll give you a rat's ass if you find that out on your own. > >

Re: [PATCHv4 5/5] arm64: Add atomic pool for non-coherent and CMA allocations.

2014-07-22 Thread Arnd Bergmann
On Wednesday 02 July 2014, Laura Abbott wrote: > + pgprot_t prot = __pgprot(PROT_NORMAL_NC); > + unsigned long nr_pages = atomic_pool_size >> PAGE_SHIFT; > + struct page *page; > + void *addr; > + > + > + if (dev_get_cma_area(NULL)) > + page = dma_alloc_f

Re: [PATCH] edac: Remove fixmes in e7xxx_edac.c

2014-07-22 Thread Borislav Petkov
On Tue, Jul 22, 2014 at 02:03:38PM -0400, Nick Krause wrote: > Page shift is 12 for 4k pages. So you can find stuff out on your own after all, good. Hold on to that thought like your life depended on it! -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- --

Re: [PATCH v2] iio: exynos-adc: add experimental touchscreen support

2014-07-22 Thread Dmitry Torokhov
On Tue, Jul 22, 2014 at 03:03:12PM +0200, Arnd Bergmann wrote: > This adds support for the touchscreen on Samsung s3c64xx. > The driver is completely untested but shows roughly how > it could be done, following the example of the at91 driver. > > Open questions include: > > - compared to the old

[PATCH] rbd: Use kmem_cache_free

2014-07-22 Thread Himangi Saraogi
Free memory allocated using kmem_cache_zalloc using kmem_cache_free rather than kfree. The Coccinelle semantic patch that makes this change is as follows: // @@ expression x,E,c; @@ x = \(kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\)(c,...) ... when != x = E when != &x ?-k

[PATCH] staging: gdm724x: Use NLMSG_HDRLEN

2014-07-22 Thread Himangi Saraogi
Replace use of NLMSG_SPACE(0) with NLMSG_HDRLEN as they are equivalent and NLMSG_SPACE seems to be deprecated. Signed-off-by: Himangi Saraogi --- To send to: Greg Kroah-Hartman ,de...@driverdev.osuosl.org,linux-kernel@vger.kernel.org drivers/staging/gdm724x/netlink_k.c | 2 +- 1 file changed,

Re: [PATCH] edac: Remove fixmes in e7xxx_edac.c

2014-07-22 Thread Levente Kurusa
2014-07-22 19:40 GMT+02:00 Nick Krause : > [...] > > Tony, > > What is the value of Page shift then ? If you can tell me it would be > much easier for > me to fix this. > Cheers Nick Nick, Help is always welcome. However, what you are doing is effectively a waste of time for you and for the maint

[PATCH] powerpc/perf/hv-24x7: Use kmem_cache_free

2014-07-22 Thread Himangi Saraogi
Free memory allocated using kmem_cache_zalloc using kmem_cache_free rather than kfree. The Coccinelle semantic patch that makes this change is as follows: // @@ expression x,E,c; @@ x = \(kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\)(c,...) ... when != x = E when != &x ?-k

[PATCH] drbd: Remove fix me statements

2014-07-22 Thread Nicholas Krause
This removes no longer needed fix me statements as the spinlocks are needed to protect against other users of the list accessing it when items on it are being moved off it. Signed-off-by: Nicholas Krause --- drivers/block/drbd/drbd_worker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [RFC PATCH 1/5] futex: add new exclusive lock & unlock command codes

2014-07-22 Thread Waiman Long
On 07/21/2014 12:42 PM, Thomas Gleixner wrote: On Mon, 21 Jul 2014, Waiman Long wrote: +#define FUTEX_TID(u) (pid_t)((u)& FUTEX_TID_MASK) +#define FUTEX_HAS_WAITERS(u) ((u)& FUTEX_WAITERS) You love ugly macros, right? Not really, I just have a tendency to overuse it sometimes.

Re: [PATCH] edac: Remove fixmes in e7xxx_edac.c

2014-07-22 Thread Nick Krause
On Tue, Jul 22, 2014 at 2:14 PM, Levente Kurusa wrote: > 2014-07-22 19:40 GMT+02:00 Nick Krause : >> [...] >> >> Tony, >> >> What is the value of Page shift then ? If you can tell me it would be >> much easier for >> me to fix this. >> Cheers Nick > > Nick, > > Help is always welcome. However, wha

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-22 Thread Waiman Long
On 07/21/2014 12:42 PM, Andi Kleen wrote: Waiman Long writes: This patch series introduces two new futex command codes to support a new optimistic spinning futex for implementing an exclusive lock primitive that should perform better than the same primitive using the wait-wake futex in cases w

[PATCH v3 0/2] security: introduce kernel_fw_from_file hook

2014-07-22 Thread Kees Cook
This adds an LSM hook to the existing firmware loading logic so that the LSM can reason about the origin and contents of a firmware coming from userspace. Thanks, -Kees v3: - correctly return LSM error to userspace (ming.lei) - finalize memory map before calling LSM hook (tiwai) v2: - further cl

[PATCH v3 2/2] firmware_class: perform new LSM checks

2014-07-22 Thread Kees Cook
This attaches LSM hooks to the existing firmware loading interfaces: filesystem-found firmware and demand-loaded blobs. On errors, loads are aborted and the failure code is returned to userspace. Signed-off-by: Kees Cook Acked-by: Greg Kroah-Hartman --- drivers/base/firmware_class.c | 30

[PATCH v3 1/2] security: introduce kernel_fw_from_file hook

2014-07-22 Thread Kees Cook
In order to validate the contents of firmware being loaded, there must be a hook to evaluate any loaded firmware that wasn't built into the kernel itself. Without this, there is a risk that a root user could load malicious firmware designed to mount an attack against kernel memory (e.g. via DMA).

Re: [PATCH] pinctrl: dra: dt-bindings: Fix pull enable/disable

2014-07-22 Thread Nishanth Menon
On 07/22/2014 11:47 AM, Felipe Balbi wrote: > On Tue, Jul 22, 2014 at 10:39:54AM -0500, Nishanth Menon wrote: >> The DRA74/72 control module pins have a weak pull up and pull down. >> This is configured by bit offset 17. if BIT(17) is 1, a pull up is >> selected, else a pull down is selected. >> >>

Re: [PATCH] rbd: Use kmem_cache_free

2014-07-22 Thread Ilya Dryomov
On Tue, Jul 22, 2014 at 10:11 PM, Himangi Saraogi wrote: > Free memory allocated using kmem_cache_zalloc using kmem_cache_free > rather than kfree. > > The Coccinelle semantic patch that makes this change is as follows: > > // > @@ > expression x,E,c; > @@ > > x = \(kmem_cache_alloc\|kmem_cache_

Re: [PATCH v2] iio: exynos-adc: add experimental touchscreen support

2014-07-22 Thread Arnd Bergmann
On Tuesday 22 July 2014 11:09:04 Dmitry Torokhov wrote: > > @@ -565,6 +722,15 @@ static int exynos_adc_probe(struct platform_device > > *pdev) > > if (info->data->init_hw) > > info->data->init_hw(info); > > > > + /* leave out any TS related code if unreachable */ > > +

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-22 Thread Waiman Long
On 07/21/2014 12:45 PM, Andi Kleen wrote: Andi Kleen writes: Waiman Long writes: This patch series introduces two new futex command codes to support a new optimistic spinning futex for implementing an exclusive lock primitive that should perform better than the same primitive using the wait

No information on valleyview

2014-07-22 Thread Nick Krause
After doing some research I didn't find any information on valley view. I am wondering valleyview_get_display_clock_speed what this should return as I can't find any information on it? Nick -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord

[no subject]

2014-07-22 Thread Bsv muenzkirchen
Select from tens of thousands of brands for leather products, bling timepieces and jewelry today. http://www.pinecaskcalendar.com/xmlrpc/includes/includes.php -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More ma

Re: [PATCH v3] x86,cpu-hotplug: assign same CPU number to readded CPU

2014-07-22 Thread Toshi Kani
On Thu, 2014-07-17 at 16:32 +0900, Yasuaki Ishimatsu wrote: > llc_shared_map is not cleared even if CPU is offline or hot removed. > So when hot-plugging CPU and assigning new CPU number to hot-added CPU, > the mask has wrong value. The mask is used by CSF schduler to create > sched_domain. So it b

Re: [PATCH v3] x86,cpu-hotplug: assign same CPU number to readded CPU

2014-07-22 Thread Toshi Kani
On Thu, 2014-07-17 at 16:32 +0900, Yasuaki Ishimatsu wrote: > llc_shared_map is not cleared even if CPU is offline or hot removed. > So when hot-plugging CPU and assigning new CPU number to hot-added CPU, > the mask has wrong value. The mask is used by CSF schduler to create > sched_domain. So it

Re: [PATCH 0/2] shmem: fix faulting into a hole while it's punched, take 3

2014-07-22 Thread Hugh Dickins
On Tue, 22 Jul 2014, Vlastimil Babka wrote: > On 07/22/2014 12:06 PM, Vlastimil Babka wrote: > > So if this is true, the change to TASK_UNINTERRUPTIBLE will avoid the > > problem, but it would be nicer to keep the KILLABLE state. > > I think it could be done by testing if the wait queue still exist

[PATCH] sched: make update_sd_pick_busiest return true on a busier sd

2014-07-22 Thread Rik van Riel
Currently update_sd_pick_busiest only returns true when an sd is overloaded, or for SD_ASYM_PACKING when a domain is busier than average and a higher numbered domain than the target. This breaks load balancing between domains that are not overloaded, in the !SD_ASYM_PACKING case. This patch makes

Re: [RFC PATCH 2/5] futex: add optimistic spinning to FUTEX_SPIN_LOCK

2014-07-22 Thread Waiman Long
On 07/21/2014 01:15 PM, Davidlohr Bueso wrote: On Mon, 2014-07-21 at 11:24 -0400, Waiman Long wrote: This patch adds code to do optimistic spinning for the FUTEX_SPIN_LOCK primitive on the futex value when the lock owner is running. It is the same optimistic spinning technique that is done in th

Re: [PATCH 1/2] resource: Add device-managed request/release_resource()

2014-07-22 Thread Bjorn Helgaas
[+cc Tejun, LKML] On Fri, Jul 11, 2014 at 09:08:24AM +0200, Thierry Reding wrote: > From: Thierry Reding > > Provide device-managed implementations of the request_resource() and > release_resource() functions. Upon failure to request a resource, the > new devm_request_resource() function will ou

Re: [Re-send PATCH 1/1] arm: dra7xx: Add hwmod data for MDIO and CPSW

2014-07-22 Thread Paul Walmsley
On Thu, 17 Jul 2014, Tony Lindgren wrote: > * Paul Walmsley [140716 11:59]: > > On Wed, 16 Jul 2014, Sebastian Andrzej Siewior wrote: > > > > > On 2014-07-15 20:21:21 [+], Paul Walmsley wrote: > > > > > > > > Acked-by: Sebastian Andrzej Siewior > > > > > > > > > > This is basically what T

[PATCHv9 0/4] Common Mailbox Framework

2014-07-22 Thread Jassi Brar
Hello, Here is the next revision of Mailbox framwork. Changes since v8: o Nits like spelling corrections and a couple symbol renames o Made 'mbox-names' optional in favor of index of mailbox specifier in 'mboxes' property. Which results in mbox_request_channel(struct mbox_client *cl)

[PATCHv9 2/4] mailbox: Introduce framework for mailbox

2014-07-22 Thread Jassi Brar
Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver developers should have a look at include/linux/mailbox_client.h to understand the part of the API exposed to client drivers. Similarly controller driver developers s

[PATCHv9 1/4] mailbox: rename pl320-ipc specific mailbox.h

2014-07-22 Thread Jassi Brar
From: Suman Anna The patch 30058677 "ARM / highbank: add support for pl320 IPC" added a pl320 IPC specific header file as a generic mailbox.h. This file has been renamed appropriately to allow the introduction of the generic mailbox API framework. Acked-by: Mark Langsdorf Cc: Rafael J. Wysocki

[PATCHv9 3/4] doc: add documentation for mailbox framework

2014-07-22 Thread Jassi Brar
Some explanations with examples of how to write to implement users and providers of the mailbox framework. Signed-off-by: Jassi Brar --- Documentation/mailbox.txt | 122 ++ 1 file changed, 122 insertions(+) create mode 100644 Documentation/mailbox.tx

[PATCHv9 4/4] dt: mailbox: add generic bindings

2014-07-22 Thread Jassi Brar
Define generic bindings for the framework clients to request mailbox channels. Signed-off-by: Jassi Brar --- .../devicetree/bindings/mailbox/mailbox.txt| 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/mailbox.txt

<    1   2   3   4   5   6   7   8   9   10   >