This patch fixes the build break introduced by 3e1e4a5f. The mentioned
commit id makes the changes in file "include/linux/mfd/samsung/core.h"
by changing the members of structure sec_pmic_dev.
The patch replaces "regmap" with "regmap_pmic" because structure
sec_pmic_dev no more contains any member
On Sat, 2013-12-14 at 06:16 +, Yuval Mintz wrote:
> > Hi Ariel.
> >
> > I wrote a little checkpatch script to look for missing
> > switch/case breaks.
> >
> > http://www.kernelhub.org/?msg=379933&p=2
> >
> > There are _many_ instances of case blocks in sriov.c
> > that could be missing break
> Hi Ariel.
>
> I wrote a little checkpatch script to look for missing
> switch/case breaks.
>
> http://www.kernelhub.org/?msg=379933&p=2
>
> There are _many_ instances of case blocks in sriov.c
> that could be missing breaks as they use fall-throughs.
>
> It would be good if these are actually
From: Laurent Pinchart
Prepare the clock at probe time, as there is no other appropriate place
in the driver where we're allowed to sleep.
Cc: Daniel Lezcano
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Laurent Pinchart
Signed-off-by: Simon Horman
---
drivers/clocksource/sh_cmt.c | 20 +++
On Thu, Dec 05, 2013 at 10:34:48AM +0200, Artem Bityutskiy wrote:
> On Wed, 2013-12-04 at 15:28 -0800, Brian Norris wrote:
> > BTW, I'd like to get David's "ack" for these patches, and it'd be nice
> > to hear
> > from Artem too, since he has previously been an unofficial maintainer
> > (and is
> >
On Thu, 12 Dec 2013 12:00:37 -0600 Alex Thorlton wrote:
> This patch changes the way we decide whether or not to give out THPs to
> processes when they fault in pages.
Please cc Andrea on this.
> The way things are right now,
> touching one byte in a 2M chunk where no pages have been faulted i
Hi, Kukjin,
Could you please review this patch? Thanks!
Regards,
Alex
On Fri, Nov 15, 2013 at 9:13 PM, kasim ling wrote:
> The board compatible string will be documented after the coresponding
> documentation is specified.
>
>
> Regards,
> Alex
>
> On Fri, Nov 15, 2013 at 9:09 PM, Alex Ling wr
This patch adds "biu" and "ciu" clocks for exynos4412 dwmmc
node. Without this patch, dwmmc host driver will skip enabling the
two clocks and it will break dwmmc host function on exynos4412.
Tested on FriendlyARM TINY4412 board.
Signed-off-by: Alex Ling
---
Changes for v2:
- Fix patch descript
On Fri, Dec 13, 2013 at 11:37:36AM -0800, Linus Torvalds wrote:
> I do note that your pgp key still has very few signatures, and none of
> them in my normal key ring. Any possibility that you might expand on
> your signatures a bit?
I'll see what I can do. dwmw2 offered to sign, but we're not exac
> -Original Message-
> From: Alexey Kardashevskiy [mailto:a...@ozlabs.ru]
> Sent: Thursday, December 12, 2013 1:24 PM
> To: linuxppc-...@lists.ozlabs.org
> Cc: Alexey Kardashevskiy; Benjamin Herrenschmidt; Bhushan Bharat-R65777; Alex
> Graf; linux-kernel@vger.kernel.org
> Subject: [PATCH
> -Original Message-
> From: Wood Scott-B07421
> Sent: Saturday, December 14, 2013 2:33 AM
> To: Alexey Kardashevskiy
> Cc: linuxppc-...@lists.ozlabs.org; k...@vger.kernel.org; linux-
> ker...@vger.kernel.org; Alex Williamson; Paul Mackerras; David Gibson; Sethi
> Varun-B16395; Bhushan Bh
On Friday, December 13, 2013 02:17:32 PM Yasuaki Ishimatsu wrote:
> (2013/12/13 13:56), Rafael J. Wysocki wrote:
> > On Friday, December 13, 2013 11:56:32 AM Yasuaki Ishimatsu wrote:
> >> Hi Rafael,
> >
> > Hi,
> >
> >> Please share your more detailed idea. I started to implement the following
> >>
From: Wei Yongjun
In case of error, the function regulator_get() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun
---
arch/arm/mach-pxa/em-x270.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
On Fri, 2013-12-13 at 19:26 -0800, John Stultz wrote:
> From: Colin Cross
>
> Use %z for size_t and %pa for dma_addr_t to avoid warnings in printks.
dma_addr_t is not a phys_addr_t and should _not_ be emitted
with %pa.
Until %pad is in -next, use %lx, (unsigned long long)dma_addr_t.
> Signed-o
On Friday 13 December 2013, Guenter Roeck wrote:
> On Fri, Dec 13, 2013 at 06:23:44PM +0100, Jonas Jensen wrote:
> > On 13 December 2013 17:17, Arnd Bergmann wrote:
> > > I've been out of the loop a bit here. I initially suggested having the
> > > restart
> > > handler be part of the watchdog dri
Add defconfig for the Ben NanoNote handheld computer which is built
around QI_LB60 board and Ingenic JZ4740 MIPS SoC.
Signed-off-by: Apelete Seketeli
---
arch/mips/configs/qi_lb60_defconfig | 188 +++
1 file changed, 188 insertions(+)
create mode 100644 arch/mip
Hello,
Following the fix I submitted a few weeks ago, here is a set of
patches that add USB support for the Ingenic JZ4740 MIPS SoC.
The JZ4740 is found in the Ben NanoNote handheld computer which is
built by the Qi-Hardware community.
Even though Ben NanoNote is already supported in the kernel,
JZ4740 USB Device Controller is not OTG compatible and does not have DEVCTL
register in silicon.
During ethernet-over-usb transactions, on reset, musb driver tries to
read from DEVCTL and consequently sets device as host (A-Device)
instead of peripheral (B-Device), which makes it a composite devic
Add support for Ingenic JZ4740 USB Device Controller through a
specific musb glue layer.
The platform data already available in tree for that USB Device
Controller was previously used by an out-of-tree USB gadget driver
which was not relying on the musb driver and was written by Ingenic
and the Qi
On Fri, Dec 13, 2013 at 05:58:08PM -0800, Yinghai Lu wrote:
> On Fri, Dec 13, 2013 at 1:14 PM, Bjorn Helgaas wrote:
> > On Fri, Dec 13, 2013 at 12:04 PM, Rajat Jain wrote:
> >
> >> Once again: the way I interpret this is:
> >> * Always enable Link events.
> >> * Disable presence events if attenti
From: Colin Cross
Convert the ion ioctls to use _IOW instead of _IOWR where
appropriate, and factor out the copy_from_user and copy_to_user
based on the _IOC_DIR bits. For the existing incorrect ioctls,
add a function to wrap _IOC_DIR to return the corrected value.
Signed-off-by: Colin Cross
S
From: Colin Cross
When the shrinkers are called with GFP_HIGH free low memory first,
it is more important to have free than high memory.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_page_pool.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletio
From: Colin Cross
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_carveout_heap.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/staging/android/ion/ion_carveout_heap.c
b/drivers/staging/android/ion/ion_carveout_heap.c
index 1d53e91..b
From: Colin Cross
ion_heap_buffer_zero can spend a long time in unmap_kernel_range
if it has to broadcast a tlb flush to every cpu for every page.
Modify it to batch pages into a larger region to clear using a
single mapping. This may cause the mapping size to change if
the buffer size is not a
From: Colin Cross
Ion will compile and run on other platforms now, remove the
dependency on ARM.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/android/ion/Kconfig
b/drivers/stag
In testing ion system heap allocations, I ran across two issues:
1) Not k*z*allocing the sg table. This can cause trouble if
we end up trying call sg_alloc_table() with too many entries,
then sg_alloc_table() internally fails and tries to free what it
thinks is internal table structure, which caus
From: Colin Cross
Check the return value of remap_pfn_range and return an error if
it fails.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_heap.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion
From: Colin Cross
Now that ion_vm_fault doesn't need a struct page with a nonzero
refcount, there is no need allocate heap memory for cached pages using
split_page. Remove the ion_heap_alloc_pages and ion_heap_free_pages
helpers in favor of direct calls to alloc_pages and __free_pages,
and remov
From: Colin Cross
Use %z for size_t and %pa for dma_addr_t to avoid warnings in printks.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion.c| 23 ---
drivers/staging/android/ion/ion_chunk_heap.c | 2 +-
drivers/staging/a
From: Colin Cross
ion_system_contig_heap buffers have an sglist, just call
ion_heap_map_user to map it.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_system_heap.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/dri
From: Colin Cross
There is no reason to use kzalloc, just call alloc_pages directly.
Change the GFP from GFP_KERNEL to include __GFP_HIGH, to allow it
to return contiguous pages from highmem. virt_to_* functions
aren't valid on highmem pages, so store the struct page * in an
sg_table in buffer->
From: Colin Cross
Now that ion_vm_fault uses vm_insert_pfn instead of vm_insert_page
cached buffers can be supported in any heap. Remove the checks
in the chunk and system heaps.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_chunk_heap.c | 3 ---
From: Colin Cross
Most ion userspace mappings are created with remap_pfn_range. Use
vm_insert_pfn instead of vm_insert_page to make faulted cached
mappings look more like uncached mappings.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion.c | 9 ++
From: Colin Cross
Fix sparse warnings in ion.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion.c | 8 +++
drivers/staging/android/ion/ion_carveout_heap.c | 8 +++
drivers/staging/android/ion/ion_chunk_heap.c| 8 +++
dri
From: Colin Cross
Add ion_heap_pages_zero for ion heaps to use to zero pages
during initialization or allocation, when a struct ion_buffer
may not be available. Use it from the chunk heap and carveout
heaps.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/io
From: Colin Cross
Implement ion_cma_unmap_kernel, ion will call it unconditionally.
Use correct gfp flags when calling dma_alloc_coherent so it doesn't
try to use atomic DMA memory.
Check for invalid alignment when allocating.
Reject cached allocations - the cpu address returned by
dma_alloc_cohe
From: Colin Cross
The carveout heap wasn't zeroing its buffers after use.
Create the sg_table during allocate instead of map_dma, to allow
using the sg_table during free, and call ion_heap_buffer_zero
during free. Also fixes a missing kfree when destroying the
table.
Signed-off-by: Colin Cross
From: Mitchel Humpherys
The `buffer' variable is being used after being freed. Fix this.
Signed-off-by: Mitchel Humpherys
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_heap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion_h
From: Colin Cross
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_chunk_heap.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/staging/android/ion/ion_chunk_heap.c
b/drivers/staging/android/ion/ion_chunk_heap.c
index f21530f..a072089 10
Just some simple cleanups to address whitespace issues and
other issues found w/ checkpatch.
Signed-off-by: John Stultz
---
drivers/staging/android/ion/compat_ion.c | 4 +-
drivers/staging/android/ion/ion.c | 53 ++-
drivers/staging/android/ion/ion.h
Update the ION system heap shrinker to use the new count/scan
interfaces that landed in 3.12
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_system_heap.c | 40 +++
1 file changed, 28 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/android/ion/
From: Colin Cross
phys_to_page and __phys_to_pfn don't exist on all platforms.
Use a combination of pfn_to_page, PFN_DOWN, page_to_pfn, and
virt_to_page to get the same results.
Signed-off-by: Colin Cross
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_carveout_heap.c | 4 ++--
Mostly just to quiet checkpatch warnings, be more verbose
in describing the ION config option.
Signed-off-by: John Stultz
---
drivers/staging/android/ion/Kconfig | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/ion/Kconfig
b/drivers/staging/and
This patch fixes an unnecessary return statement parantheses error
found in ms.c by the checkpatch.pl tool.
Signed-off-by: Preetam D'Souza
---
drivers/staging/rts5139/ms.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rts5139/ms.c b/drivers/staging/rts513
> helps performance, presumably because of that 14% fewer
> cacheline effect. A 30GB dd to a ramfs file:
>
> dd if=/dev/zero of=bigfile bs=$((1<<30)) count=30
>
> is sped up by about 4.4% in my testing.
Impressive result!
-Andi
--
To unsubscribe from this list: send the line "unsubscribe
Em Fri, 13 Dec 2013 22:19:39 +0100
Frederik Himpe escreveu:
> [My excuses for multiposting, it seems gmane does not permit posting to all
> the relevant lists]
>
> Since upgrading my system from Linux 3.12 to 3.12.3, my PCTV Systems
> nanoStick T2 290e does not work anymore.
>
> This happens wi
Signed-off-by: Kevin Tsai
---
drivers/iio/light/Kconfig | 11 ++
drivers/iio/light/Makefile | 1 +
drivers/iio/light/cm32181.c | 437
3 files changed, 449 insertions(+)
create mode 100644 drivers/iio/light/cm32181.c
diff --git a/drivers/iio/lig
On Fri, Dec 13, 2013 at 1:14 PM, Bjorn Helgaas wrote:
> On Fri, Dec 13, 2013 at 12:04 PM, Rajat Jain wrote:
>
>> Once again: the way I interpret this is:
>> * Always enable Link events.
>> * Disable presence events if attention button is present.
>
> That sounds like a good plan to me.
How about
On Sat, Dec 14, 2013 at 10:15:21AM +1100, Nigel Cunningham wrote:
> Hi again.
>
> On 14/12/13 10:07, Tejun Heo wrote:
> >Hello, Nigel.
> >
> >On Sat, Dec 14, 2013 at 09:45:59AM +1100, Nigel Cunningham wrote:
> >>In your first email, in the first substantial paragraph (starting
> >>"Now, if the res
On Fri, Dec 13, 2013 at 12:49:32PM -0500, Tejun Heo wrote:
> Hello, guys.
>
> This is discovered while investigating bug 62801 - "EliteBoot hangs at
> dock, suspend, undock, resume".
>
> https://bugzilla.kernel.org/show_bug.cgi?id=62801
>
> The laptop locks up during resume if undocked while su
On 12/13/2013 03:50 PM, Greg KH wrote:
> On Fri, Dec 13, 2013 at 02:23:35PM -0800, John Stultz wrote:
>> From: Rebecca Schultz Zavin
>>
>> Signed-off-by: Rebecca Schultz Zavin
>> [jstultz: Squished in Colin Cross' move to staging change]
>> Signed-off-by: John Stultz
>> ---
>> drivers/staging/a
On 13-12-12 12:37 PM, Linus Walleij wrote:
On Wed, Dec 11, 2013 at 7:37 PM, Sherman Yin wrote:
Adds pinctrl driver devicetree binding for Broadcom Capri (BCM281xx) SoCs.
Signed-off-by: Sherman Yin
Reviewed-by: Christian Daudt
Reviewed-by: Matt Porter
---
v3: Use generic pin config properti
On Fri, Dec 13, 2013 at 05:55:20PM -0500, Santosh Shilimkar wrote:
> On Friday 13 December 2013 12:23 AM, David Cohen wrote:
> > On Thu, Dec 12, 2013 at 07:25:55PM -0800, David Cohen wrote:
> >> On Thu, Dec 12, 2013 at 09:01:04PM -0500, Santosh Shilimkar wrote:
> >>> On Thursday 12 December 2013 08
On 12/13/2013 03:54 PM, John Stultz wrote:
> On 12/13/2013 03:50 PM, Greg KH wrote:
>> On Fri, Dec 13, 2013 at 02:23:35PM -0800, John Stultz wrote:
>>> From: Rebecca Schultz Zavin
>>>
>>> Signed-off-by: Rebecca Schultz Zavin
>>> [jstultz: Squished in Colin Cross' move to staging change]
>>> Signe
On Friday 13 December 2013 04:37 PM, Tejun Heo wrote:
> On Mon, Dec 09, 2013 at 04:50:41PM -0500, Santosh Shilimkar wrote:
>> Introduce memblock memory allocation APIs which allow to support
>> PAE or LPAE extension on 32 bits archs where the physical memory
>> start address can be beyond 4GB. In s
From: "Chen.Yu"
There is a potential integer overflow in megadev_ioctl() if
userspace passes in a large u32 variable uioc.adapno.
The int variable adapno would < 0, leading to an error
array access for hdb_soft_state[adapno], or an error
copy_to_user(uioc.uioc_uaddr, mcontroller+adapno,..).
The s
On Friday 13 December 2013 04:29 PM, Tejun Heo wrote:
> On Mon, Dec 09, 2013 at 04:50:40PM -0500, Santosh Shilimkar wrote:
>> +if (nid == MAX_NUMNODES)
>> +pr_warn_once("%s: Usage of MAX_NUMNODES is depricated. Use
>> NUMA_NO_NODE instead\n",
>> + __func__);
Building ARM with NO_BOOTMEM generates below warning.
mm/nobootmem.c: In function _free_pages_memory___:
mm/nobootmem.c:88:11: warning: comparison of distinct pointer types lacks a cast
order = min(MAX_ORDER - 1UL, __ffs(start));
ARM's __ffs() differs from other architectures in that
On Wed, Dec 11, 2013 at 3:05 PM, Andrew Morton
wrote:
>
> But I'm really struggling to think up an implementation! The current
> code looks only at the caller's node and doesn't seem to make much
> sense. Should we look at all nodes? Hard to say without prior
> knowledge of where those pages wi
I agree that the simpler fix is to change the type of 'adapno' to u32,
which is the type of uioc.adapno to u32.
2013/12/14 Måns Rullgård :
> "Chen.Yu" writes:
>
>> From: "Chen.Yu"
>>
>> There is a potential integer overflow in megadev_ioctl() if
>> userspace passes in a large u32 variable uioc.
On Wed, 25 September 2013 16:28:53 +0200, Thomas Meyer wrote:
>
> I wonder how hard it would be to implement this on vfs layer?
As an ugly hack: a few weeks maybe. Did it back in 2005 or so. If
you have higher standards, you will need support from the underlying
filesystem. Especially in order
Steven Rostedt wrote:
> Now that you have two tracepoints that are identical, you can use
> DECLARE_EVENT_CLASS() and DEFINE_EVENT_FN(). That is:
They're not identical. i2c_write() has a data buffer that i2c_read() does
not.
David
--
To unsubscribe from this list: send the line "unsubscribe li
To make the layout of 'struct page' look nicer, I broke
up a few of the unions. But, this has a cost: things that
were guaranteed to line up before might not any more. To make up
for that, some BUILD_BUG_ON()s are added to manually check for
the alignment dependencies.
This makes it *MUCH* more
SLUB depends on a 16-byte cmpxchg for an optimization. In order
to get guaranteed 16-byte alignment (required by the hardware on
x86), 'struct page' is padded out from 56 to 64 bytes.
Those 8-bytes matter. We've gone to great lengths to keep
'struct page' small in the past. It's a shame that w
bad_page() is cool in that it prints out a bunch of data about
the page. But, I can never remember which page flags are good
and which are bad, or whether ->index or ->mapping is required to
be NULL.
This patch allows bad/dump_page() callers to specify a string about
why they are dumping the pag
In order to simplify 'struct page', we will shortly be moving
some fields around. This causes slub's ->freelist usage to
impinge on page->mapping's storage space. The buddy allocator
wants ->mapping to be NULL when a page is handed back, so we have
to make sure that it is cleared.
Note that sla
I added a bunch of longer than 80 column lines and other various
messes. But, doing line-to-line code replacements makes the
previous patch much easier to audit. I stuck the cleanups in
here instead.
The slub code also delcares a bunch of 'struct page's on the
stack. Now that 'struct slub_data
DESC
mm: slub: rearrange 'struct page' fields
EDESC SLUB has some very unique alignment constraints it places
on 'struct page'. Break those out in to a separate structure
which will not pollute 'struct page'.
This structure will be moved around inside 'struct page' at
runtime in the next patch,
SLUB depends on a 16-byte cmpxchg for an optimization. For the
purposes of this series, I'm assuming that it is a very important
optimization that we desperately need to keep around.
In order to get guaranteed 16-byte alignment (required by the
hardware on x86), 'struct page' is padded out from 5
page->pfmemalloc does not deserve a spot in 'struct page'. It is
only used transiently _just_ after a page leaves the buddy
allocator.
Instead of declaring a union, we move its functionality behind a
few quick accessor functions. This way we could also much more
easily audit that it is being us
On 12/13/2013 03:50 PM, Greg KH wrote:
> On Fri, Dec 13, 2013 at 02:23:35PM -0800, John Stultz wrote:
>> From: Rebecca Schultz Zavin
>>
>> Signed-off-by: Rebecca Schultz Zavin
>> [jstultz: Squished in Colin Cross' move to staging change]
>> Signed-off-by: John Stultz
>> ---
>> drivers/staging/a
On Thu, 12 Dec 2013, Michal Hocko wrote:
> diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> index c72b03bf9679..5cb1deea6aac 100644
> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -2256,15 +2256,16 @@ bool mem_cgroup_oom_synchronize(bool handle)
>
> locked = mem_cgroup_oom_trylock(mem
On Fri, Dec 13, 2013 at 02:23:35PM -0800, John Stultz wrote:
> From: Rebecca Schultz Zavin
>
> Signed-off-by: Rebecca Schultz Zavin
> [jstultz: Squished in Colin Cross' move to staging change]
> Signed-off-by: John Stultz
> ---
> drivers/staging/android/Kconfig |2 +
> driv
On 12/12/2013 02:33 AM, Bill Huang wrote:
> Re-model Tegra20 cpufreq driver as below.
>
> * Rename tegra-cpufreq.c to tegra20-cpufreq.c since this file supports
> only Tegra20.
> * Add probe function so defer probe can be used when we're going to
> support DVFS.
> * Create a fake cpufreq platf
On Fri, 2013-12-13 at 15:35 -0700, Bjorn Helgaas wrote:
> On Fri, Dec 13, 2013 at 8:41 AM, Betty Dall wrote:
> > There are three functions exported from aerdrv_core.c that could be
> > called when the system is in firmware first mode:
> > pci_enable_pcie_error_reporting(), pci_disable_pcie_error_r
It might happen that a platform wants to use its DMA engine for
memcpy only, and then we have zero slave channels to initialize,
so allow the slave initialization to return zero.
Signed-off-by: Linus Walleij
---
drivers/dma/amba-pl08x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Hi again.
On 14/12/13 10:07, Tejun Heo wrote:
Hello, Nigel.
On Sat, Dec 14, 2013 at 09:45:59AM +1100, Nigel Cunningham wrote:
In your first email, in the first substantial paragraph (starting
"Now, if the rest.."), you say "libata device removal waits for the
scheduled writeback work item to f
The descriptor unmapping code introduced in commit
d38a8c622a1b3 "dmaengine: prepare for generic 'unmap' data"
accidentally affects a local struct rather than the
async TX descriptor, resulting in this compile error:
CC drivers/dma/amba-pl08x.o
drivers/dma/amba-pl08x.c: In function ‘pl08x_d
This patch adds user_atomic_cmpxchg_inatomic() to use CMPXCHG
instruction against a user space address.
This generalizes the already existing futex_atomic_cmpxchg_inatomic()
so it can be used in other contexts. This will be used in the
upcoming support for Intel MPX (Memory Protection Extensions.
futex_atomic_cmpxchg_inatomic() is only the 32bit implementation of
user_atomic_cmpxchg_inatomic(). This patch replaces it with
user_atomic_cmpxchg_inatomic().
Signed-off-by: Qiaowei Ren
---
arch/x86/include/asm/futex.h | 27 ++-
1 files changed, 2 insertions(+), 25 del
Value 0 of the sense selection field of CONFIG_n register means "disable event
detection" and serves in irqc_sense[] for marking the invalid values of the IRQ
type (by just omitting initializers). There is no need for INTC_IRQ_SENSE_VALID
and hence INTC_IRQ_SENSE() as all field values matching to
Hello, Nigel.
On Sat, Dec 14, 2013 at 09:45:59AM +1100, Nigel Cunningham wrote:
> In your first email, in the first substantial paragraph (starting
> "Now, if the rest.."), you say "libata device removal waits for the
> scheduled writeback work item to finish". I wonder if that's the
> lynchpin. I
On Fri, Dec 13, 2013 at 03:47:33PM -0700, Betty Dall wrote:
> Yes, that is more readable code. Thanks for revising it. I tested it on
> my system that has non-AER error sources and it works fine. One nit is
> that "Ignore" is misspelled in the subject line.
Thanks, fixed.
I should have thought l
On 14/12/13 00:06, Ingo Molnar wrote:
>
> * Ryan Mallon wrote:
>
>> On 13/12/13 08:13, Kees Cook wrote:
>>> On Thu, Dec 12, 2013 at 11:06 AM, Theodore Ts'o wrote:
On Thu, Dec 12, 2013 at 05:52:24PM +0100, vegard.nos...@oracle.com wrote:
> From: Vegard Nossum
>
> The idea is s
Hi Ariel.
I wrote a little checkpatch script to look for missing
switch/case breaks.
http://www.kernelhub.org/?msg=379933&p=2
There are _many_ instances of case blocks in sriov.c
that could be missing breaks as they use fall-throughs.
It would be good if these are actually intended to be
fall-t
From: Denys Vlasenko
Date: Fri, 13 Dec 2013 16:45:47 +0100
> If ipv6 auto-configuration does not work, currently it's hard
> to track what's going on. This change adds log messages
> (at debug level) on every code path where ipv6 autoconf fails.
>
> v3: changed pr_debug's to pr_warn's.
>
> Sign
If rx->conn is not NULL, rxrpc_connect_exclusive() does not
acquire the transport's client lock, but it still releases it.
The patch adds locking of the spinlock to this path.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
net/rxrpc/ar-conn
On Friday 13 December 2013 12:23 AM, David Cohen wrote:
> On Thu, Dec 12, 2013 at 07:25:55PM -0800, David Cohen wrote:
>> On Thu, Dec 12, 2013 at 09:01:04PM -0500, Santosh Shilimkar wrote:
>>> On Thursday 12 December 2013 08:51 PM, David Cohen wrote:
On Thu, Dec 12, 2013 at 08:06:24PM -0500, S
Hi Tejun.
Thanks for your work on this.
In your first email, in the first substantial paragraph (starting "Now,
if the rest.."), you say "libata device removal waits for the scheduled
writeback work item to finish". I wonder if that's the lynchpin. If we
know the device is gone, why are we tr
From: Rebecca Schultz Zavin
Switch these api's from scatterlists to sg_tables
Signed-off-by: Rebecca Schultz Zavin
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion.c | 16 +++
drivers/staging/android/ion/ion
From: Colin Cross
__arch_ioremap is no longer available, use __arm_ioremap instead.
Signed-off-by: Colin Cross
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion_carveout_heap.c | 4 ++--
1 file changed, 2 insertions(+), 2 de
From: Rebecca Schultz Zavin
Rather than requiring each platform call memblock_remove or reserve
from the board file, add this to ion
Signed-off-by: Rebecca Schultz Zavin
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion.c |
From: KyongHo Cho
1. Verifying if the size of memory allocation in ion_alloc() is aligned
by PAGE_SIZE at least. If it is not, this change makes the size to be
aligned by PAGE_SIZE.
2. Unmaps all mappings to the kernel and DMA address spaces when
destroying ion_buffer in ion_buffer_destroy(). Th
From: Rebecca Schultz Zavin
With this change the ion_system_heap will only use kernel address
space when the memory is mapped into the kernel (rare case).
Signed-off-by: Rebecca Schultz Zavin
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz
---
drivers/stagin
From: Rebecca Schultz Zavin
These ops were added in the 3.4 kernel. This patch adds support
for them to ion. Previous ion_map/unmap_kernel api is also
retained in addition to this new api.
Signed-off-by: Rebecca Schultz Zavin
[jstultz: modified patch to apply to staging directory]
Signed-off-
From: Greg Hackmann
At least one map_dma() implementation (EXYNOS_CONTIG) assumes the fields
are filled in
Signed-off-by: Greg Hackmann
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion.c | 5 +++--
1 file changed, 3 inserti
From: Rebecca Schultz Zavin
Ion now uses dma-buf file descriptors to share
buffers with userspace. Ion becomes a dma-buf
exporter and any driver that can import dma-bufs
can now import ion file descriptors.
Signed-off-by: Rebecca Schultz Zavin
[jstultz: modified patch to apply to staging direc
From: Rebecca Schultz Zavin
Rather than calling map_dma on the allocations dynamically, this patch
switches to creating the sg_table at the time the buffer is created.
This is necessary because in future updates the sg_table will be used
for cache maintenance.
Signed-off-by: Rebecca Schultz Zavi
From: Rebecca Schultz Zavin
This patch sets the dma_address field of the sglist representing
an allocation at allocation time. This technically breaks the dma api
which states that these addresses should be set when a particular device
takes ownership of a buffer via the dma_map apis. In the ca
From: Rebecca Schultz Zavin
This patch adds an interface to return and sg_table given a
valid ion handle.
Signed-off-by: Rebecca Schultz Zavin
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz
---
drivers/staging/android/ion/ion.c | 8 ++--
drivers/stagin
1 - 100 of 627 matches
Mail list logo