[PATCH 10/20] tile PCI DMA: handle a NULL dev argument properly

2013-08-05 Thread Chris Metcalf
Signed-off-by: Chris Metcalf --- arch/tile/kernel/pci-dma.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/tile/kernel/pci-dma.c b/arch/tile/kernel/pci-dma.c index 7e98371..d16cfc1 100644 --- a/arch/tile/kernel/pci-dma.c +++ b/arch/tile/kernel/pci-dma.c @@ -36,8

[PATCHv3 0/4] Add support for the Allwinner A31 clocks

2013-08-05 Thread Maxime Ripard
Hi everyone, The Allwinner A31 SoC has a quite different clock tree and structure that the other Allwinner SoCs that we already merged, so it requires more work than what we had for the other SoCs until now. It's also an opportunity to do some minor cleanup/refactoring to land the new code

[PATCHv3 3/4] clk: sunxi: Add A31 clocks support

2013-08-05 Thread Maxime Ripard
The A31 has a mostly different clock set compared to the other older SoCs currently supported in the Allwinner clock driver. Add support for the basic useful clocks. The other ones will come in eventually. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/clock/sunxi.txt |

[PATCHv3 4/4] ARM: sun6i: Enable clock support in the DTSI

2013-08-05 Thread Maxime Ripard
Now that the clock driver has support for the A31 clocks, we can add them to the DTSI and start using them in the relevant hardware blocks. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 144 --- 1 file changed, 134 insertions(+), 10

[PATCH 15/20] tile PCI RC: use proper accessor function

2013-08-05 Thread Chris Metcalf
Using the low-level hv_dev_pread() API makes assumptions about the layout of datastructures in the Tilera hypervisor API; it's better to use the gxio_XXX accessor and the pcie_trio_ports_property struct. Signed-off-by: Chris Metcalf --- arch/tile/kernel/pci_gx.c | 24 +++- 1

Re: [Intel-gfx] [PATCH] drm/i915: add fast boot support for Haswell

2013-08-05 Thread Daniel Vetter
[Now without the confidential header which shouldn't have spilled to public lists, please reply to this one here.] On Mon, Aug 05, 2013 at 01:24:15PM -0700, Furquan Shaikh wrote: > We tested the submitted patch on several systems here and it seems to be > working fine. So, I'm not sure I

[PATCH 17/20] tile PCI DMA: fix bug in non-page-aligned accessors

2013-08-05 Thread Chris Metcalf
The code incorrectly masked with PAGE_OFFSET instead of PAGE_SIZE-1. This only matters when trying to do a non page-aligned DMA; it was noticed during code inspection. Signed-off-by: Chris Metcalf --- arch/tile/kernel/pci-dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 06/20] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-05 Thread Chris Metcalf
The LSI MEGARAID SAS HBA suffers from the problem where it can do 64-bit DMA to streaming buffers but not to consistent buffers. In other words, 64-bit DMA is used for disk data transfers and 32-bit DMA must be used for control message transfers. According to LSI, the firmware is not fully

[PATCH 12/20] tile PCI RC: eliminate pci_controller.mem_resources field

2013-08-05 Thread Chris Metcalf
The .mem_resources[] field in the pci_controller struct is now obsoleted by the .mem_space and .io_space fields. Signed-off-by: Chris Metcalf --- arch/tile/include/asm/pci.h | 3 -- arch/tile/kernel/pci_gx.c | 71 - 2 files changed, 12

[PATCH 20/20] tile PCI RC: remove stale include of linux/numa.h

2013-08-05 Thread Chris Metcalf
Signed-off-by: Chris Metcalf --- arch/tile/include/asm/pci.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/tile/include/asm/pci.h b/arch/tile/include/asm/pci.h index 2c001b2..c99ad44 100644 --- a/arch/tile/include/asm/pci.h +++ b/arch/tile/include/asm/pci.h @@ -17,7 +17,6 @@

[PATCH 19/20] tile PCI RC: reduce driver's vmalloc space usage

2013-08-05 Thread Chris Metcalf
We can take advantage of the fact that bit 29 is hard-wired to zero in register TRIO_TILE_PIO_REGION_SETUP_CFG_ADDR. This is handy since at the moment we only allocate one 4GB region for vmalloc, and with this change we can allocate four or more TRIO MACs without using up all the vmalloc space.

[PATCH 09/20] tile PCI RC: support I/O space access

2013-08-05 Thread Chris Metcalf
To enable this functionality, configure CONFIG_TILE_PCI_IO. Without this flag, the kernel still assigns I/O address ranges to the devices, but no TRIO resource and mapping support is provided. We assign disjoint I/O address ranges to separate PCIe domains. Signed-off-by: Chris Metcalf ---

Re: [PATCH] Smack: IPv6 casting error fix for 3.11

2013-08-05 Thread Linus Torvalds
Why does this have the (largely same) commit message twice? Linus On Mon, Aug 5, 2013 at 1:21 PM, Casey Schaufler wrote: > Subject: [PATCH] Smack: IPv6 casting error fix for 3.11 > > The original implementation of the Smack IPv6 port based > local controls works most of the time

[PATCH 18/20] tile PCI RC: support PCIe TRIO 0 MAC 0 on Gx72 system

2013-08-05 Thread Chris Metcalf
On Tilera Gx72 systems, the logic for figuring out whether a given port is root complex is slightly different. Signed-off-by: Chris Metcalf --- arch/tile/include/hv/drv_trio_intf.h | 3 +++ arch/tile/kernel/pci_gx.c| 33 ++--- 2 files changed, 33

[PATCH 16/20] tile PCI RC: add dma_get_required_mask()

2013-08-05 Thread Chris Metcalf
The standard kernel function dma_get_required_mask() uses the highest DRAM address to determine if 32-bit or 64-bit DMA addressing is needed. This only works on architectures that have direct mapping between the PA and the PCI address space, i.e. those that don't have I/O TLBs or have I/O TLB but

[PATCH 08/20] tile PCI RC: gentler warning for missing plug-in PCI

2013-08-05 Thread Chris Metcalf
Besides using pr_info() to print the linkdown status for a plug-in slot, add extra indication that this is expected if the slot is empty. Signed-off-by: Chris Metcalf --- arch/tile/include/hv/drv_trio_intf.h | 5 +++-- arch/tile/kernel/pci_gx.c| 10 -- 2 files changed, 11

[PATCH 02/20] tile PCI RC: tilepro conflict with PCI and RAM addresses

2013-08-05 Thread Chris Metcalf
Fix a bug in the tilepro PCI resource allocation code that could make the bootmem allocator unhappy if 4GB is installed on mshim 0. Signed-off-by: Chris Metcalf --- arch/tile/kernel/setup.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/tile/kernel/setup.c

[PATCH 01/20] tile PCI RC: cleanups for tilepro PCI RC

2013-08-05 Thread Chris Metcalf
- remove unneeded include in pci.c - eliminate unused pci_controller.first_busno field - prefer msleep to mdelay - remove stale comment about pci_scan_bus_parented() Signed-off-by: Chris Metcalf --- arch/tile/include/asm/pci.h | 1 - arch/tile/kernel/pci.c | 16 +++- 2 files

Re: [PATCH 2/2] ARM: sun5i: dt: Use the A10s gates in the DTSI

2013-08-05 Thread Maxime Ripard
Hi Emilio, On Fri, Aug 02, 2013 at 11:40:14AM -0300, Emilio López wrote: > El 23/07/13 19:28, Maxime Ripard escribió: > > The A10s has only a subset of the A10 gates. Now that the clock driver > > has support for this gates set, switch to it in the DTSI. > > > > Signed-off-by: Maxime Ripard >

[PATCHv2 2/2] ARM: sun5i: dt: Use the A10s gates in the DTSI

2013-08-05 Thread Maxime Ripard
The A10s has only a subset of the A10 gates. Now that the clock driver has support for this gates set, switch to it in the DTSI. Signed-off-by: Maxime Ripard Tested-by: Emilio López --- arch/arm/boot/dts/sun5i-a10s.dtsi | 36 ++-- 1 file changed, 14

[PATCHv2 1/2] clk: sunxi: Add A10s gates

2013-08-05 Thread Maxime Ripard
The Allwinner A10s has a slightly different gates set than the A10 and A13, so add these gates to the clk driver. Signed-off-by: Maxime Ripard Tested-by: Emilio López Reviewed-by: Emilio López --- Documentation/devicetree/bindings/clock/sunxi.txt | 3 +

[PATCHv2 0/2] clk: sunxi: Add clock support for the A10s

2013-08-05 Thread Maxime Ripard
Hi, This small patchset adds support for the gates found in the Allwinner A10s SoC. Since the gates are the only clock that differ from the other supported Allwinner SoCs so far, the two patches are quite trivial. Thanks, Maxime Changes from v1: - Added missing documentation Maxime Ripard

Re: [PATCH 1/2] clk: sunxi: Add A10s gates

2013-08-05 Thread Maxime Ripard
Hi Emilio, On Fri, Aug 02, 2013 at 11:25:02AM -0300, Emilio López wrote: > Hi Maxime, > > El 23/07/13 19:28, Maxime Ripard escribió: > > The Allwinner A10s has a slightly different gates set than the A10 and > > A13, so add these gates to the clk driver. > > > > Signed-off-by: Maxime Ripard >

Re: [PATCH 2/4] staging: ozwpan: Increment port number for new device.

2013-08-05 Thread Dan Carpenter
Here is what oz_hcd_pd_arrived() looks like after my changes: These lines: - if (ozhcd == NULL) + if (!ozhcd) were personal preference and not official kernel style guidelines. Either way is fine for pointers. oz_ep_alloc() can return NULL. There was no check for failure in the

i915_gem_unmap_dma_buf: BUG: unable to handle kernel NULL pointer dereference

2013-08-05 Thread Thomas Meyer
[165517.046291] [drm] wait for urb interrupted: ffc2 available: 4 [165517.046454] BUG: unable to handle kernel NULL pointer dereference at 0941 [165517.047217] IP: [] i915_gem_unmap_dma_buf+0x2f/0x60 [i915] [165517.047217] PGD 0 [165517.047217] Oops: [#1] SMP

[PATCH 9/8] hugetlb: add pmd_huge_support() to migrate only pmd-based hugepage

2013-08-05 Thread Naoya Horiguchi
This patch is motivated by the discussion with Aneesh about "extend hugepage migration" patchset. http://thread.gmane.org/gmane.linux.kernel.mm/103933/focus=104391 I'll append this to the patchset in the next post, but before that I want this patch to be reviewed (I don't want to repeat posting

perf,arm -- oops in validate_event

2013-08-05 Thread Vince Weaver
My perf_fuzzer quickly triggers this oops on my ARM Cortex A9 pandaboard running Linux 3.11-rc4. Below is the oops, I've attached a simple C test case that triggers the bug. Vince [ 8110.698669] Unable to handle kernel paging request at virtual address fffe [ 8110.706390] pgd = ecd88000

Re: [PATCH 2/4] staging: ozwpan: Increment port number for new device.

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 07:43:16PM +0100, Rupesh Gujare wrote: > On 05/08/13 18:53, Dan Carpenter wrote: > >On Mon, Aug 05, 2013 at 06:40:13PM +0100, Rupesh Gujare wrote: > >>This patch fixes crash issue when there is quick cycle of > >>de-enumeration & enumeration due to loss of wireless link. >

Re: [PATCH] fbdev: suppress warning when assigning vga-save/restore base

2013-08-05 Thread Ondrej Zajicek
On Sun, Aug 04, 2013 at 06:51:46PM -0700, David Miller wrote: > From: "H. Peter Anvin" > Date: Sun, 04 Aug 2013 10:33:46 -0700 > > > Anyone who can dig backwards and summarize? In other words: > > > > Where in the current code do we stuff a physical address in a pointer, > > or a virtual

[PATCH] Smack: IPv6 casting error fix for 3.11

2013-08-05 Thread Casey Schaufler
Subject: [PATCH] Smack: IPv6 casting error fix for 3.11 The original implementation of the Smack IPv6 port based local controls works most of the time using a sockaddr as a temporary variable, but not always as it overflows in some circumstances. The correct data is a sockaddr_in6. A struct

[PATCH] [media] gspca: fix dev_open() error path

2013-08-05 Thread Alexey Khoroshilov
If v4l2_fh_open() fails in dev_open(), gspca_dev->module left locked. The patch adds module_put(gspca_dev->module) on this path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/usb/gspca/gspca.c | 6 +- 1 file changed, 5

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Jason Baron
On 08/05/2013 02:39 PM, Steven Rostedt wrote: On Mon, 2013-08-05 at 11:20 -0700, Linus Torvalds wrote: Of course, it would be good to optimize static_key_false() itself - right now those static key jumps are always five bytes, and while they get nopped out, it would still be nice if there was

Re: [PATCH] memcg: don't initialize kmem-cache destroying work for root caches

2013-08-05 Thread Andrew Morton
On Mon, 5 Aug 2013 20:09:40 +0400 Andrey Vagin wrote: > struct memcg_cache_params has a union. Different parts of this union > are used for root and non-root caches. A part with destroying work is > used only for non-root caches. > > I fixed the same problem in another place

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 12:57 -0700, Linus Torvalds wrote: > On Mon, Aug 5, 2013 at 12:54 PM, Mathieu Desnoyers > wrote: > > > > I remember that choosing between 2 and 5 bytes nop in the asm goto was > > tricky: it had something to do with the fact that gcc doesn't know the > > exact size of each

Re: [PATCH V3 10/10] perf tools: allow annotation using /proc/kcore

2013-08-05 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 02, 2013 at 01:10:52PM +0300, Adrian Hunter escreveu: > Annotation with /proc/kcore is possible so the logic > is adjusted to allow it. The main difference is that > /proc/kcore had no symbols so the parsing logic needed > a tweak to read jump offsets. > > The other difference is

Re: [PATCH V2] cma: use macro PFN_DOWN when converting size to pages

2013-08-05 Thread Johannes Weiner
On Mon, Aug 05, 2013 at 05:09:17PM +0800, Xishi Qiu wrote: > Use "PFN_DOWN(r->size)" instead of "r->size >> PAGE_SHIFT". > > Signed-off-by: Xishi Qiu > --- > drivers/base/dma-contiguous.c |3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 12:54 PM, Mathieu Desnoyers wrote: > > I remember that choosing between 2 and 5 bytes nop in the asm goto was > tricky: it had something to do with the fact that gcc doesn't know the > exact size of each instructions until further down within compilation Oh, you can't do

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Jason Baron
On 08/05/2013 03:40 PM, Marek Polacek wrote: On Mon, Aug 05, 2013 at 11:34:55AM -0700, Linus Torvalds wrote: On Mon, Aug 5, 2013 at 11:24 AM, Linus Torvalds wrote: Ugh. I can see the attraction of your section thing for that case, I just get the feeling that we should be able to do better

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 12:40 PM, Marek Polacek wrote: > > FWIW, we also support hot/cold attributes for labels, thus e.g. > > if (bar ()) > goto A; > /* ... */ > A: __attribute__((cold)) > /* ... */ > > I don't know whether that might be useful for what you want or not though... Steve?

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Mathieu Desnoyers
* Linus Torvalds (torva...@linux-foundation.org) wrote: [...] > With two-byte jumps, you'd still get the I$ fragmentation (the > argument generation and the call and the branch back would all be in > the same code segment as the hot code), but that would be offset by > the fact that at least the

[GIT PULL for v3.11-rc5] media fixes

2013-08-05 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus for some drivers fixes (em28xx, coda, usbtv, s5p, hdpvr and ml86v7667) and at a fix for media DocBook. Thanks! Mauro - The following changes since commit

Re: [RFC v01 1/3] PowerCap: Documentation

2013-08-05 Thread Srinivas Pandruvada
On 08/05/2013 12:09 PM, Jonathan Corbet wrote: On Fri, 2 Aug 2013 11:08:50 -0700 Srinivas Pandruvada wrote: +power_uw (rw): Current power counter in micro-watts. Write to this counter +resets the counter to zero. If the counter can not be reset, then this attribute +is read-only. Sorry if

[RFC 0/3] Add madvise(..., MADV_WILLWRITE)

2013-08-05 Thread Andy Lutomirski
My application fallocates and mmaps (shared, writable) a lot (several GB) of data at startup. Those mappings are mlocked, and they live on ext4. The first write to any given page is slow because ext4_da_get_block_prep can block. This means that, to get decent performance, I need to write

Re: [PATCHSET cgroup/for-3.12] cgroup: make cgroup_event specific to memcg

2013-08-05 Thread Tejun Heo
Hey, Michal. On Mon, Aug 05, 2013 at 09:16:41PM +0200, Michal Hocko wrote: > I keep hearing that over and over. And I also keep hearing that there > are users who do not like many simplifications because they are breaking > their usecases. Users are those who matter to me. Hey some of them are >

[RFC 2/3] fs: Add block_willwrite

2013-08-05 Thread Andy Lutomirski
This provides generic support for MADV_WILLWRITE. It creates and maps buffer heads, but it should not result in anything being marked dirty. Signed-off-by: Andy Lutomirski --- As described in the 0/0 summary, this may have issues. fs/buffer.c | 57

[RFC 1/3] mm: Add MADV_WILLWRITE to indicate that a range will be written to

2013-08-05 Thread Andy Lutomirski
This should not cause data to be written to disk. It should, however, do any expensive operations that would otherwise happen on the first write fault to this range. Some day this may COW private mappings, allocate real memory instead of zero pages, etc. For now it just passes the request down

[RFC 3/3] ext4: Implement willwrite for the delalloc case

2013-08-05 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- fs/ext4/ext4.h | 2 ++ fs/ext4/file.c | 1 + fs/ext4/inode.c | 22 ++ 3 files changed, 25 insertions(+) diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index b577e45..be7308a 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -2103,6

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Marek Polacek
On Mon, Aug 05, 2013 at 11:34:55AM -0700, Linus Torvalds wrote: > On Mon, Aug 5, 2013 at 11:24 AM, Linus Torvalds > wrote: > > > > Ugh. I can see the attraction of your section thing for that case, I > > just get the feeling that we should be able to do better somehow. > > Hmm.. Quite frankly,

Re: [PATCH 00/11] Add compression support to pstore

2013-08-05 Thread Aruna Balakrishnaiah
Hi Tony, On Monday 05 August 2013 11:52 PM, Tony Luck wrote: See attachment for what I actually applied - I think I got what you suggested (I added a declaration for "total_len"). Forcing a panic worked some things were logged to pstore. But on reboot with your patches applied I'm still

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 11:49 -0700, Linus Torvalds wrote: > On Mon, Aug 5, 2013 at 11:39 AM, Steven Rostedt wrote: > > > > I had patches that did exactly this: > > > > https://lkml.org/lkml/2012/3/8/461 > > > > But it got dropped for some reason. I don't remember why. Maybe because > > of the

[PATCH v4 3/9] pci: Implement reset_slot for pciehp

2013-08-05 Thread Alex Williamson
PCIe hotplug has a bus per slot, so we can just use a normal secondary bus reset. However, if a slot supports surprise removal then a bus reset can be seen as a presence detection change triggering a hot-remove followed by a hot-add. Disable presence detection from triggering an interrupt or

[PATCH v4 2/9] pci: Add hotplug_slot_ops.reset_slot()

2013-08-05 Thread Alex Williamson
This optional callback allows htoplug controllers to perform slot specific resets. These may be necessary in cases where a normal secondary bus reset can interact with controller logic and expose spurious hotplugs. Signed-off-by: Alex Williamson --- include/linux/pci_hotplug.h |4 1

[PATCH] numa,sched: use group fault statistics in numa placement

2013-08-05 Thread Rik van Riel
On Fri, 2 Aug 2013 18:50:32 +0200 Peter Zijlstra wrote: > Subject: mm, numa: Do not group on RO pages Using the fraction of the faults that happen on each node to determine both the group weight and the task weight of each node, and attempting to move the task to the node with the highest

[PATCH v4 7/9] pci: Wake-up devices before save for reset

2013-08-05 Thread Alex Williamson
Devices come out of reset in D0. Restoring a device to a different post-reset state takes more smarts than our simple config space restore, which can leave devices in an inconsistent state. For example, if a device is reset in D3, but the restore doesn't successfully return the device to D3,

[PATCH v4 5/9] pci: Split out pci_dev lock/unlock and save/restore

2013-08-05 Thread Alex Williamson
Only cosmetic code changes to existing paths. Expand the comment in the new pci_dev_save_and_disable() function since there's a lot hidden in that Command register write. Signed-off-by: Alex Williamson --- drivers/pci/pci.c | 55 + 1 file

[PATCH v4 1/9] pci: Create pci_reset_bridge_secondary_bus()

2013-08-05 Thread Alex Williamson
Move the secondary bus reset code from pci_parent_bus_reset() into its own function. Export it as we'll later be calling it from hotplug controllers and elsewhere. Signed-off-by: Alex Williamson --- drivers/pci/pci.c | 32 +++- include/linux/pci.h |1 + 2

[PATCH v4 9/9] pci: Remove aer_do_secondary_bus_reset()

2013-08-05 Thread Alex Williamson
One PCI bus reset function to rule them all. Signed-off-by: Alex Williamson --- drivers/pci/pcie/aer/aerdrv.c |2 +- drivers/pci/pcie/aer/aerdrv.h |1 - drivers/pci/pcie/aer/aerdrv_core.c | 35 +-- 3 files changed, 2 insertions(+), 36

[PATCH v4 8/9] pci: Tune secondary bus reset timing

2013-08-05 Thread Alex Williamson
The PCI spec indicates that with stable power, reset needs to be asserted for a minimum of 1ms (Trst). Seems like we should be able to assume power is stable for a runtime secondary bus reset. The current code has always used 100ms with no explanation where that came from. The

[PATCH v4 4/9] pci: Add slot reset option to pci_dev_reset

2013-08-05 Thread Alex Williamson
If the hotplug controller provides a way to reset a slot, use that before a direct parent bus reset. Like the bus reset option, this is only available when a single pci_dev occupies the slot. Signed-off-by: Alex Williamson --- drivers/pci/pci.c | 34 ++ 1 file

[PATCH v4 6/9] pci: Add slot and bus reset interfaces

2013-08-05 Thread Alex Williamson
Sometimes pci_reset_function is not sufficient. We have cases where devices do not support any kind of reset, but there might be multiple functions on the bus preventing pci_reset_function from doing a secondary bus reset. We also have cases where a device will advertise that it supports a PM

[PATCH v4 0/9] pci: bus and slot reset interfaces

2013-08-05 Thread Alex Williamson
v3: Incorporate feedback from Don: - Expand the comment in patch 5 - Reverse bus/slot unlocking to go up the tree, comments for all Thanks, Alex This series adds PCI bus and slot reset interfaces to the already existing function reset interface. I need this for two reasons, the

2.6.34.x longterm stable status

2013-08-05 Thread Aaro Koskinen
Hi, There hasn't been 2.6.34.x stable tree releases for a while. Also, in some mails you have mentioned EOLing this tree (e.g. http://marc.info/?l=linux-doc=137393133817894=2). I have two questions concerning this: - Will there be any more releases, or is it assumed that all users have already

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Xinliang David Li
On Mon, Aug 5, 2013 at 12:16 PM, Steven Rostedt wrote: > On Mon, 2013-08-05 at 12:04 -0700, Andi Kleen wrote: >> Steven Rostedt writes: >> >> Can't you just use -freorder-blocks-and-partition? > > Yeah, I'm familiar with this option. > This option works best with FDO. FDOed linux kernel rocks

Re: [PATCH 4/4] staging: ozwpan: Return correct hub status.

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 08:00:59PM +0100, Rupesh Gujare wrote: > Ok. I will rework on style nits. Do it in a follow on patch. It's fine. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 12:04 PM, Andi Kleen wrote: > Steven Rostedt writes: > > Can't you just use -freorder-blocks-and-partition? > > This should already partition unlikely blocks into a > different section. Just a single one of course. That's horrible. Not because of dwarf problems, but

Re: [PATCH 1/2] input: ti_tsc: Enable shared IRQ for TSC

2013-08-05 Thread Zubair Lutfullah :
On Mon, Aug 05, 2013 at 10:40:31AM -0700, Dmitry Torokhov wrote: > > > > FIFO 1 used only by ADC and FIFO1THRES handler is inside the iio/adc driver > > FIFO 0 used only by TSC and FIFO0THRES handler is inside the > > input/touchscreen > > > > Note: These are level interrupts. > > > > I would

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 12:04 -0700, Andi Kleen wrote: > Steven Rostedt writes: > > Can't you just use -freorder-blocks-and-partition? Yeah, I'm familiar with this option. > > This should already partition unlikely blocks into a > different section. Just a single one of course. > > FWIW the

Re: [PATCHSET cgroup/for-3.12] cgroup: make cgroup_event specific to memcg

2013-08-05 Thread Michal Hocko
On Mon 05-08-13 12:29:58, Tejun Heo wrote: > Hello, Michal. > > On Mon, Aug 05, 2013 at 06:01:07PM +0200, Michal Hocko wrote: > > Could you be more specific about what is so "overboard" about this > > interface? I am not familiar with internals much, so I cannot judge the > > complexity part, but

Re: percpu: kernel BUG at mm/percpu.c:579!

2013-08-05 Thread Kent Overstreet
4.822467] Modules linked in: > > [ 274.823240] CPU: 13 PID: 58 Comm: rcuos/13 Tainted: GW > > 3.11.0-rc4-next-20130805-sasha-2-gf6cc217 #3975 > > [ 274.824464] task: 880220cb3000 ti: 880220cba000 task.ti: > > 880220cba000 > > [ 274.825442] RIP

Hello My Dear friend,

2013-08-05 Thread Josephine Kuku
Hello My Dear friend, How are you doing I am a lady,Josephine is my name i saw your profile today on(www.fordating.ru) and bei will like to be your friend, please send your email address to my inbox (josephin4...@live.com) so i will send you my beautiful Photos -- To unsubscribe from this list:

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-05 Thread Myklebust, Trond
On Mon, 2013-08-05 at 19:33 +0100, Nix wrote: > On 5 Aug 2013, Trond Myklebust told this: > > Does the attached patch fix the problem? > > > From 3c50ba80105464a28d456d9a1e0f1d81d4af92a8 Mon Sep 17 00:00:00 2001 > > From: Trond Myklebust > > Date: Mon, 5 Aug 2013 12:06:12 -0400 > > Subject:

[PATCH] mfd: ti_am335x_tscadc: fix spin lock and reg_cache

2013-08-05 Thread Zubair Lutfullah
Reg_cache variable is used to lock step enable register from being accessed and written by both TSC and ADC at the same time. However, it isn't updated anywhere in the code at all. If both TSC and ADC are used, eventually 1 is always written enabling all 16 steps uselessly causing a mess.

Re: [PATCH] RFC: perf, tools: Move gtk browser into separate perfgtk executable

2013-08-05 Thread Andi Kleen
Namhyung Kim writes: > > I wrote a patch series [1] separating gtk code to a dso and use it with > libdl last year. But I didn't get much feedback probably due to the > mistake of not installing the dso to a proper place. It'd be great if > you guys take a look at it and give some comments. It

Re: [RFC v01 1/3] PowerCap: Documentation

2013-08-05 Thread Jonathan Corbet
On Fri, 2 Aug 2013 11:08:50 -0700 Srinivas Pandruvada wrote: > +power_uw (rw): Current power counter in micro-watts. Write to this counter > +resets the counter to zero. If the counter can not be reset, then this > attribute > +is read-only. Sorry if I'm slow, but... power is an instantaneous

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 11:51 -0700, H. Peter Anvin wrote: > On 08/05/2013 11:49 AM, Steven Rostedt wrote: > > On Mon, 2013-08-05 at 11:29 -0700, H. Peter Anvin wrote: > > > >> Traps nest, that's why there is a stack. (OK, so you don't want to take > >> the same trap inside the trap handler, but

Re: [PATCH 1/3] tracing/perf: Expand TRACE_EVENT(sched_stat_runtime)

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 20:51 +0200, Oleg Nesterov wrote: > On 08/05, Steven Rostedt wrote: > > > > On Mon, 2013-08-05 at 18:50 +0200, Oleg Nesterov wrote: > > > > > Signed-off-by: Oleg Nesterov > > > Tested-by: David Ahern > > > Reviewed-and-Acked-by: Steven Rostedt > > > > Just so you know. The

Re: Linux 3.11-rc4

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 11:57 AM, Oleg Nesterov wrote: > > Yes, yes, sure. I'll write the changelog and send git-revert tomorrow, Thanks. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Andi Kleen
Steven Rostedt writes: Can't you just use -freorder-blocks-and-partition? This should already partition unlikely blocks into a different section. Just a single one of course. FWIW the disadvantage is that multiple code sections tends to break various older dwarf unwinders, as it needs dwarf3

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 11:34 -0700, Linus Torvalds wrote: > On Mon, Aug 5, 2013 at 11:24 AM, Linus Torvalds > wrote: > > > > Ugh. I can see the attraction of your section thing for that case, I > > just get the feeling that we should be able to do better somehow. > > Hmm.. Quite frankly, Steven,

trinity hang -- rcu_sched detected stall in __schedule

2013-08-05 Thread Vince Weaver
I'm running the trinity fuzzer on my ARM Pandaboard, Linux 3.11-rc4 Trinity got stuck with these messages being logged. As far as I can tell trinity-child1 wasn't doing anything that interesting when it got stuck. Hopefully I picked the right group to cc: it looks like it is stuck in

Re: Linux 3.11-rc4

2013-08-05 Thread Oleg Nesterov
On 08/05, Linus Torvalds wrote: > > On Mon, Aug 5, 2013 at 11:46 AM, Oleg Nesterov wrote: > > > > Heh. I pulled wine-git. > > > > set_thread_context() does a lot of PTRACE_POKEUSER requests and then > > it calls resume_after_ptrace() which simply does PTRACE_DETACH. > > > > I'll recheck tomorrow,

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 11:51 AM, H. Peter Anvin wrote: >> >> Also, how would you pass the parameters? Every tracepoint has its own >> parameters to pass to it. How would a trap know what where to get "prev" >> and "next"? > > How do you do that now? > > You have to do an IP lookup to find out

[GIT PULL] timers/nohz updates for 3.12

2013-08-05 Thread Frederic Weisbecker
Ingo, Please pull the timers/nohz branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/nohz It mostly contains fixes and full dynticks off-case optimizations. I believe that distros want to enable this feature so it seems

Re: [PATCH 4/4] staging: ozwpan: Return correct hub status.

2013-08-05 Thread Rupesh Gujare
On 05/08/13 19:56, Dan Carpenter wrote: On Mon, Aug 05, 2013 at 06:40:15PM +0100, Rupesh Gujare wrote: Fix a bug where we were not returning correct hub status for 8th port. What are the user visible effects of this bug? 8 th port is never assigned to new device & we loose one port. Style

Re: [PATCH 3/4] staging: ozwpan: Reset port configuration number.

2013-08-05 Thread Rupesh Gujare
On 05/08/13 19:21, Dan Carpenter wrote: On Mon, Aug 05, 2013 at 06:40:14PM +0100, Rupesh Gujare wrote: Make sure that we reset port configuration no. when PD departs. What happens if we don't do this? What is the user visible effect of this patch? There is no user visible effect at the

Re: [PATCH cgroup/for-3.12] cgroup: make css_for_each_descendant() and friends include the origin css in the iteration

2013-08-05 Thread Aristeu Rozanski
On Sun, Aug 04, 2013 at 07:07:03PM -0400, Tejun Heo wrote: > I've been wanting to do this for some time and given all the recent > API updates now seems like a pretty good opportunity. Verified > freezer and blkcg. The conversions are mostly straight forward but > I'd much appreciate acks from

Re: [PATCH 1/3] tracing/perf: Expand TRACE_EVENT(sched_stat_runtime)

2013-08-05 Thread Oleg Nesterov
On 08/05, Steven Rostedt wrote: > > On Mon, 2013-08-05 at 18:50 +0200, Oleg Nesterov wrote: > > > Signed-off-by: Oleg Nesterov > > Tested-by: David Ahern > > Reviewed-and-Acked-by: Steven Rostedt > > Just so you know. The standard that we now want to live by is only one > tag per line. I know I

Re: [PATCH 4/4] staging: ozwpan: Return correct hub status.

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 06:40:15PM +0100, Rupesh Gujare wrote: > Fix a bug where we were not returning correct hub status > for 8th port. What are the user visible effects of this bug? Style nits below. > > Signed-off-by: Rupesh Gujare > --- > drivers/staging/ozwpan/ozhcd.c | 11

Re: Linux 3.11-rc4

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 11:46 AM, Oleg Nesterov wrote: > > Heh. I pulled wine-git. > > set_thread_context() does a lot of PTRACE_POKEUSER requests and then > it calls resume_after_ptrace() which simply does PTRACE_DETACH. > > I'll recheck tomorrow, but it really looks as if it _wants_ to leak >

Re: Linux 3.11-rc4

2013-08-05 Thread Oleg Nesterov
On 08/04, Felipe Contreras wrote: > > I found a regression while running all v3.11-rcX kernels; Starcract II > through wine crashes. The culprit is fab840f (ptrace: PTRACE_DETACH > should do flush_ptrace_hw_breakpoint(child)), I revert that commit and > there's no crash. Heh. I pulled wine-git.

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 11:49 AM, Steven Rostedt wrote: > On Mon, 2013-08-05 at 11:29 -0700, H. Peter Anvin wrote: > >> Traps nest, that's why there is a stack. (OK, so you don't want to take >> the same trap inside the trap handler, but that code should be very >> limited.) The trap instruction just

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 11:39 AM, Steven Rostedt wrote: > > I had patches that did exactly this: > > https://lkml.org/lkml/2012/3/8/461 > > But it got dropped for some reason. I don't remember why. Maybe because > of the complexity? Ugh. Why the crazy update_jump_label script stuff? I'd go "Eww"

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 11:29 -0700, H. Peter Anvin wrote: > Traps nest, that's why there is a stack. (OK, so you don't want to take > the same trap inside the trap handler, but that code should be very > limited.) The trap instruction just becomes very short, but rather > slow, call-return. > >

[PATCH 1/1] Squashfs: Optimized uncompressed buffer loop

2013-08-05 Thread Manish Sharma
Merged the two for loops. We might get a little gain by overlapping wait_on_bh and the memcpy operations. Signed-off-by: Manish Sharma --- fs/squashfs/block.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c index

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 11:34 AM, Linus Torvalds wrote: > On Mon, Aug 5, 2013 at 11:24 AM, Linus Torvalds > wrote: >> >> Ugh. I can see the attraction of your section thing for that case, I >> just get the feeling that we should be able to do better somehow. > > Hmm.. Quite frankly, Steven, for your use

Re: [PATCH 2/4] staging: ozwpan: Increment port number for new device.

2013-08-05 Thread Rupesh Gujare
On 05/08/13 18:53, Dan Carpenter wrote: On Mon, Aug 05, 2013 at 06:40:13PM +0100, Rupesh Gujare wrote: This patch fixes crash issue when there is quick cycle of de-enumeration & enumeration due to loss of wireless link. It is found that sometimes new device (or coming back device) returns very

Re: BUG cxgb3: Check and handle the dma mapping errors

2013-08-05 Thread Jay Fenlason
On Mon, Aug 05, 2013 at 12:59:04PM +1000, Alexey Kardashevskiy wrote: > Hi! > > Recently I started getting multiple errors like this: > > cxgb3 0006:01:00.0: iommu_alloc failed, tbl c3067980 vaddr > c01fbdaaa882 npages 1 > cxgb3 0006:01:00.0: iommu_alloc failed, tbl c3067980

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 11:20 -0700, Linus Torvalds wrote: > Of course, it would be good to optimize static_key_false() itself - > right now those static key jumps are always five bytes, and while they > get nopped out, it would still be nice if there was some way to have > just a two-byte nop

Re: [PATCH] usb: fix some scripts/kernel-doc warnings

2013-08-05 Thread Yacine Belkadi
On 08/04/2013 11:29 PM, Greg Kroah-Hartman wrote: > On Sun, Aug 04, 2013 at 10:05:36PM +0200, Yacine Belkadi wrote: >> On 08/03/2013 05:29 AM, Greg Kroah-Hartman wrote: >>> On Fri, Aug 02, 2013 at 08:10:04PM +0200, Yacine Belkadi wrote: When building the htmldocs (in verbose mode),

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 11:24 AM, Linus Torvalds wrote: > > Ugh. I can see the attraction of your section thing for that case, I > just get the feeling that we should be able to do better somehow. Hmm.. Quite frankly, Steven, for your use case I think you actually want the C goto *labels*

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