On Fri, 27 Jul 2012, Ian Campbell wrote:
> On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
> > Use Xen features to figure out if we are privileged.
> >
> > XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg.
> >
> > Signed-off-by: Stefano Stabellini
> > ---
> >
On Thu, 2012-07-26 at 20:18 +0200, Marian Beermann wrote:
> Hello everyone,
>
> today I noticed some very odd behaviour, which could lead people to
> believe a loss of data, because it is possible to create directories
> with backslashes in them.
>
> I am currently running kernel 3.5.
>
> To
Hi,
On Thu, Jul 26, 2012 at 02:46:25PM -0700, H. Peter Anvin wrote:
> On 07/26/2012 07:31 AM, Kent Yoder wrote:
> > hw_random: add support for the TPM chip as a hardware RNG source
>
> Could you clarify this? rngd (the user of /dev/hw_random) already
> has support for the TPM... is this
On Fri, 2012-07-27 at 15:25 +0100, Stefano Stabellini wrote:
> On Fri, 27 Jul 2012, Ian Campbell wrote:
> > On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
> > > Use Xen features to figure out if we are privileged.
> > >
> > > XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg.
On Fri, Jul 27, 2012 at 08:38:21AM +0800, Ming Lei wrote:
> On Fri, Jul 27, 2012 at 3:43 AM, Don Zickus wrote:
> > On Wed, Jul 25, 2012 at 12:39:45PM +0800, Ming Lei wrote:
> >> Use raw_smp_processor_id in lockup_detector_bootcpu_resume()
> >> because it is enough when non-boot CPUs are offline.
On Fri, 27 Jul 2012, Russell King - ARM Linux wrote:
> On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote:
> > > > > +/**
> > > > > + * hypercall.h
> > > > > + *
> > > > > + * Linux-specific hypervisor
Il 05/07/2012 12:29, Jason Wang ha scritto:
> Sometimes, virtio device need to configure irq affiniry hint to maximize the
> performance. Instead of just exposing the irq of a virtqueue, this patch
> introduce an API to set the affinity for a virtqueue.
>
> The api is best-effort, the affinity
On Fri, 2012-07-27 at 15:21 +0100, Russell King - ARM Linux wrote:
> On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote:
> > > > > +/**
> > > > > + * hypercall.h
> > > > > + *
> > > > > + * Linux-specific
On 07/27/2012 04:32 PM, Peter Zijlstra wrote:
> On Fri, 2012-07-27 at 09:47 +0800, Alex Shi wrote:
>
>> From 610515185d8a98c14c7c339c25381bc96cd99d93 Mon Sep 17 00:00:00 2001
>> From: Alex Shi
>> Date: Thu, 26 Jul 2012 08:55:34 +0800
>> Subject: [PATCH 1/3] sched: recover SD_WAKE_AFFINE in
On Wed, Jul 25, 2012 at 1:28 AM, Victor Meyerson
wrote:
>
> Still different checksums and I used the same random-file from my first test.
>
Then try the fix at
https://lkml.org/lkml/2012/7/27/54
Good Weekend
Hillf
--
To unsubscribe from this list: send the line "unsubscribe
On Fri, 27 Jul 2012, Ian Campbell wrote:
> On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
> > Check for a "/xen" node in the device tree, if it is present set
> > xen_domain_type to XEN_HVM_DOMAIN and continue initialization.
> >
> > Map the real shared info page using
On Thu, Jul 26, 2012 at 03:12:19PM -0700, H. Peter Anvin wrote:
> On 06/07/2012 11:47 AM, Kent Yoder wrote:
> >Move the tpm_get_random api from the trusted keys code into the TPM
> >device driver itself so that other callers can make use of it. Also,
> >change the api slightly so that the number
On Fri, 2012-07-27 at 15:48 +0100, Stefano Stabellini wrote:
> On Fri, 27 Jul 2012, Ian Campbell wrote:
> > On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
> > > Check for a "/xen" node in the device tree, if it is present set
> > > xen_domain_type to XEN_HVM_DOMAIN and continue
On Fri, Jul 27, 2012 at 07:35:38PM +0530, sand...@freescale.com wrote:
> +static DEFINE_MUTEX(tdm_core_lock);
> +static DEFINE_IDR(tdm_adapter_idr);
> +/* List of TDM adapters registered with TDM framework */
> +LIST_HEAD(adapter_list);
> +
> +/* List of TDM clients registered with TDM framework
On Thu, Jul 26, 2012 at 05:10:44PM -0700, H. Peter Anvin wrote:
> On 06/07/2012 11:47 AM, Kent Yoder wrote:
> >Move the tpm_get_random api from the trusted keys code into the TPM
> >device driver itself so that other callers can make use of it. Also,
> >change the api slightly so that the number
On Fri, Jul 27, 2012 at 03:39:31PM +0100, Ian Campbell wrote:
> On Fri, 2012-07-27 at 15:21 +0100, Russell King - ARM Linux wrote:
> > On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote:
> > > > > > +/**
>
On 07/27/2012 07:29 AM, Kent Yoder wrote:
Hi,
On Thu, Jul 26, 2012 at 02:46:25PM -0700, H. Peter Anvin wrote:
On 07/26/2012 07:31 AM, Kent Yoder wrote:
hw_random: add support for the TPM chip as a hardware RNG source
Could you clarify this? rngd (the user of /dev/hw_random) already
On 07/27/2012 07:49 AM, Kent Yoder wrote:
case Opt_new:
- ret = my_get_random(payload->key, payload->key_len);
+ ret = tpm_get_random(TPM_ANY_NUM, payload->key,
+>key_len);
payload->key_len is unsigned int, not size_t;
On Thu, Jul 26, 2012 at 02:29:57PM -0700, Greg Kroah-Hartman wrote:
> From: Greg KH
>
> 3.0-stable review patch. If anyone has any objections, please let me know.
>
> --
>
> From: Mel Gorman
>
> commit cc9a6c8776615f9c194ccf0b63a0aa5628235545 upstream.
>
> Stable note: Not
On Thu, Jul 26, 2012 at 06:02:46PM -0400, Matthew Garrett wrote:
> + rom->data.next = NULL;
Noticed today that I'm getting an "assignment makes integer from pointer
without a cast" warning from this line.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
On Thu, Jul 26, 2012 at 06:02:48PM -0400, Matthew Garrett wrote:
> + return phys_to_virt(pdev->rom);
This line is giving me a "makes integer from pointer without a cast"
warning.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
> > --- a/mm/slub.c
> > +++ b/mm/slub.c
> > @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru
> > struct zone *zone;
> > enum zone_type high_zoneidx = gfp_zone(flags);
> > struct page *page;
> > + unsigned int cpuset_mems_cookie;
> >
> > /*
> > * The defrag
When a bridge interface deletes its underlying ports, it should
notify netconsole too, like what bonding interface does.
Cc: "David S. Miller"
Signed-off-by: Cong Wang
---
net/bridge/br_if.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/bridge/br_if.c
With the previous patch applied, __netpoll_cleanup() is non-block now,
so we don't need to release the spin_lock before calling it.
Cc: "David S. Miller"
Signed-off-by: Cong Wang
---
drivers/net/netconsole.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git
slave_enable_netpoll() and __netpoll_setup() may be called
with read_lock() held, so should use GFP_ATOMIC to allocate
memory.
Cc: "David S. Miller"
Reported-by: Dan Carpenter
Signed-off-by: Cong Wang
---
drivers/net/bonding/bond_main.c |2 +-
net/core/netpoll.c |2 +-
2
In __netpoll_rx(), it dereferences ->npinfo without rcu_dereference_bh(),
this patch fixes it by using the 'npinfo' passed from netpoll_rx()
where it is already dereferenced with rcu_dereference_bh().
Cc: "David S. Miller"
Signed-off-by: Cong Wang
---
include/linux/netpoll.h |4 ++--
sand...@freescale.com :
[...]
> The main functions of this Framework are:
> - provides interface to TDM clients to access TDM functionalities.
> - provides standard interface for TDM drivers to hook with the framework.
> - handles various data handling stuff and buffer management.
>
> In
This patch fixes several problems in the call path of
netpoll_send_skb_on_dev():
1. We already disable IRQ's before calling netpoll_send_skb_on_dev(),
so we don't need to disable IRQ's again.
2. All the callees of netpoll_send_skb_on_dev() should use
rcu_dereference_bh() to dereference
The logic of the code is same, just call netpoll_rx_on().
Cc: "David S. Miller"
Signed-off-by: Cong Wang
---
include/linux/netpoll.h | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index
Like the previous patch, slave_disable_netpoll() and __netpoll_cleanup()
may be called with read_lock() held too, so we should make them
non-block, by moving the cleanup and kfree() to call_rcu_bh() callbacks.
Cc: "David S. Miller"
Signed-off-by: Cong Wang
---
drivers/net/bonding/bond_main.c |
So,
This is a proposition to handle the cputime accounting without the
tick to prepare for stopping the tick further idle.
I have managed to reuse and generalize the kernel/user boundary
hooks used by RCU. This way we can minimize the changes in archs
that don't support virtual cputime and we
Create a new subsystem that handles the hooks on kernel/user
boundaries currently used by RCU for its userspace extended
quiescent state.
We need to pull this up from RCU into this new level of indirection
because these hooks are also going to be used to implement an "on
demand" generic virtual
We may soon be able to run both at the same time. But we need
to rework a bit the irq finegrained accounting before that.
Just do a mutual exclusion for now.
Signed-off-by: Frederic Weisbecker
Cc: Alessio Igor Bogani
Cc: Andrew Morton
Cc: Avi Kivity
Cc: Chris Metcalf
Cc: Christoph Lameter
account_system_vtime() can be called from random places:
hard/softirq entry/exit, kvm guest entry/exit, and even
context switches on powerpc.
Rename it to the even more generic account_vtime() name,
this reflect well that we are in a random place in the
kernel where we have either system, idle or
If we want to stop the tick further idle, we need to be
able to account the cputime without using the tick.
Virtual based cputime accounting solves that problem by
hooking into kernel/user boundaries.
However implementing CONFIG_VIRT_CPU_ACCOUNTING requires
to set low level hooks and involves
Allow to dynamically switch between tick and virtual based cputime accounting.
This way we can provide a kind of "on-demand" virtual based cputime
accounting. In this mode, the kernel will rely on the user hooks
subsystem to dynamically hook on kernel boundaries.
This is in preparation for beeing
On 07/26/2012 04:21 PM, Andy Walls wrote:
> On Thu, 2012-07-26 at 12:26 -0600, Tim Gardner wrote:
>> Cc: Andy Walls
>> Cc: Mauro Carvalho Chehab
>> Cc: ivtv-de...@ivtvdriver.org
>> Cc: linux-me...@vger.kernel.org
>> Signed-off-by: Tim Gardner
>> ---
>> drivers/media/video/ivtv/ivtv-firmware.c
On Fri, Jul 27, 2012 at 12:02:40PM +0800, Bryan Wu wrote:
> Send out a uevent when create file in sysfs, which is required by userspace
> application such udev in Android
There is no such thing as "udev in Android" the last time I looked.
Has this changed?
--
To unsubscribe from this list: send
On Fri, 27 Jul 2012 23:38:01 +0800
Cong Wang wrote:
> When a bridge interface deletes its underlying ports, it should
> notify netconsole too, like what bonding interface does.
>
> Cc: "David S. Miller"
> Signed-off-by: Cong Wang
> ---
> net/bridge/br_if.c |1 +
> 1 files changed, 1
On Fri, Jul 27, 2012 at 12:02:41PM +0800, Bryan Wu wrote:
> Send a uevent notification whenever a new sysfs file is created to allow
> userspace processes such as udev to modify permissions on the new files.
This makes no sense, why not just call kobject_uevent after creating the
file when
On Fri, 27 Jul 2012, Ian Campbell wrote:
> On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
> > We used to rely on a core_initcall to initialize Xen on ARM, however
> > core_initcalls are actually called after early consoles are initialized.
> > That means that hvc_xen.c is going to be
commit 28ea499ac5b90f6266a24b826c6d469fc503758c
Dave,
These fixes are intended for the 3.6 stream.
Hauke Mehrtens provides a pair of bcma fixes, one to fix a build
regression on mips and another to correct a pair of missing iounmap
calls.
Thomas Huehn offers a mac80211_hwsim fix to avoid a
Hi, Linus,
Please pull my kmap_atomic cleanup's for 3.6,
git://github.com/congwang/linux.git kmap_atomic
this should be the final round of cleanup, as the definitions
of enum km_type finally get removed from the whole tree.
The patches stay in linux-next for a long time.
Thanks!
On Thu, Jul 26, 2012 at 8:39 PM, Toshi Kani wrote:
> On Thu, 2012-07-26 at 13:23 -0600, Bjorn Helgaas wrote:
>> On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani wrote:
>> > @@ -560,8 +565,7 @@ static int __cpuinit acpi_processor_add(struct
>> > acpi_device *device)
>> > */
>> > if
On Fri, 2012-07-27 at 16:54 +0100, Stefano Stabellini wrote:
> On Fri, 27 Jul 2012, Ian Campbell wrote:
> > On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote:
> > > We used to rely on a core_initcall to initialize Xen on ARM, however
> > > core_initcalls are actually called after early
On Tue, Jul 24, 2012 at 04:36:13PM -0400, Dave Jones wrote:
> Linus tree as of 5fecc9d8f59e765c2a48379dd7c6f5cf88c7d75a
>
> Dave
>
> ==
> [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
> 3.5.0+ #122 Not tainted
>
On Fri, 27 Jul 2012, Ian Campbell wrote:
> On Thu, 2012-07-26 at 16:34 +0100, Stefano Stabellini wrote:
> >
> > +#define XEN_IO_PROTO_ABI_ARM"arm-abi"
>
> I wonder if we ought to call this arm-aarch32-abi or something?
So aarch64 has just been renamed to arm64 and you want to rename
Hi Axel,
On Wed, 13 Jun 2012 20:51:37 +0800, Axel Lin wrote:
> This patch adds config I2C_DESIGNWARE_CORE in Kconfig, and let
> I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI select I2C_DESIGNWARE_CORE.
>
> Because both I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI can be built as
> built-in or
On Fri, Jul 27, 2012 at 05:40:30PM +0200, Frederic Weisbecker wrote:
> Create a new subsystem that handles the hooks on kernel/user
> boundaries currently used by RCU for its userspace extended
> quiescent state.
>
> We need to pull this up from RCU into this new level of indirection
> because
Cc: Andy Walls
Cc: Mauro Carvalho Chehab
Cc: ivtv-de...@ivtvdriver.org
Cc: linux-me...@vger.kernel.org
Signed-off-by: Tim Gardner
---
drivers/media/video/cx18/cx18-av-firmware.c |2 ++
drivers/media/video/cx18/cx18-driver.c |1 +
drivers/media/video/cx18/cx18-dvb.c |6
Adapt clocks to the new i.mx clock framework and fix the following warning:
[ cut here ]
WARNING: at drivers/clk/clk.c:511 __clk_enable+0x9c/0xac()
Modules linked in:
In current driver, everytime we need to access the rng clock (,ie to enable or
disable it) a call to clk_get is done.
This is not correct and the preferred way is to provide a rng data structure
that could be used for accessing rng resources.
Cc: Theodore Ts'o
Cc: Herbert Xu
Cc:
On Fri, 27 Jul 2012, Jan Beulich wrote:
> >>> On 26.07.12 at 17:33, Stefano Stabellini
> >>> wrote:
> > --- a/include/xen/interface/xen.h
> > +++ b/include/xen/interface/xen.h
> > @@ -10,7 +10,10 @@
> > #define __XEN_PUBLIC_XEN_H__
> >
> > #include
> > +#include
> > +#ifdef CONFIG_X86
> >
On Fri, 27 Jul 2012, Jan Beulich wrote:
> >>> On 26.07.12 at 17:33, Stefano Stabellini
> >>> wrote:
> > --- a/drivers/xen/Makefile
> > +++ b/drivers/xen/Makefile
> > @@ -1,11 +1,15 @@
> > -obj-y += grant-table.o features.o events.o manage.o balloon.o
> > +ifneq ($(CONFIG_ARM),y)
> > +obj-y
Platforms may provide their own mechanisms for obtaining ROMs. Add support
for using data provided by the platform in that case.
Signed-off-by: Matthew Garrett
Tested-by: Seth Forshee
---
drivers/pci/rom.c |9 -
include/linux/pci.h |2 ++
2 files changed, 10 insertions(+), 1
Advertise firmware files using MODULE_FIRMWARE macros.
Fix a debug string: SD_RDWR_PATTERN --> SD_RW_PATTERN
Cc: Greg Kroah-Hartman
Cc: linux-...@vger.kernel.org
Cc: usb-stor...@lists.one-eyed-alien.net
Signed-off-by: Tim Gardner
---
drivers/usb/storage/ene_ub6250.c | 28
On Mon, Jul 9, 2012 at 4:41 AM, Sascha Hauer wrote:
> Uhh, that's a driver bug that should be fixed. Although right now there
> is no reference counting for clocks, the driver should keep the clk
> internally instead of simply calling clk_get whenever it needs access to
> a clk.
Yes, I just
EFI can provide PCI ROMs out of band via boot services, which may not be
available after boot. Add support for using the data handed off to us by
the boot stub or bootloader.
Signed-off-by: Matthew Garrett
Tested-by: Seth Forshee
---
arch/x86/pci/common.c | 33
Platforms may want to provide architecture-specific functionality during
PCI enumeration. Add a pcibios_add_device() call that architectures can
override to do so.
Signed-off-by: Matthew Garrett
Tested-by: Seth Forshee
---
drivers/pci/bus.c |5 +
drivers/pci/pci.c | 13
EFI provides support for providing PCI ROMs via means other than the ROM
BAR. This support vanishes after we've exited boot services, so add support
for stashing copies of the ROMs in setup_data if they're not otherwise
available.
Signed-off-by: Matthew Garrett
Tested-by: Seth Forshee
---
On Fri, Jul 27, 2012 at 09:40:54AM -0700, Paul E. McKenney wrote:
> On Fri, Jul 27, 2012 at 05:40:30PM +0200, Frederic Weisbecker wrote:
> > Create a new subsystem that handles the hooks on kernel/user
> > boundaries currently used by RCU for its userspace extended
> > quiescent state.
> >
> > We
The majority of the DMI checks in efifb are for cases where the bootloader
has provided invalid information. However, on some machines the overrides
may do more harm than good due to configuration differences between machines
with the same machine identifier. It turns out that it's possible for
On Fri, Jul 27, 2012 at 02:40:56PM +0800, Daniel J Blueman wrote:
> On 27 July 2012 14:14, Sarah Sharp wrote:
> > On Fri, Jul 27, 2012 at 12:03:44PM +0800, Daniel J Blueman wrote:
> >> When various USB3 devices with Etron XHCI controllers, we see a bunch of
> >> warnings:
> >> xhci_hcd
Mel Gorman writes:
> This reverts the patch "hugetlb: avoid taking i_mmap_mutex in
> unmap_single_vma() for hugetlb" from mmotm.
>
> This patch is possibly a mistake and blocks the merging of a hugetlb fix
> where page tables can get corrupted (https://lkml.org/lkml/2012/7/24/93).
> The
Hi Sam,
- Original Message -
> From: "Sam Ravnborg"
> To: "Andrew Stiegmann (stieg)"
> Cc: linux-kernel@vger.kernel.org, virtualizat...@lists.linux-foundation.org,
> pv-driv...@vmware.com,
> vm-crosst...@vmware.com, csch...@vmware.com, gre...@linuxfoundation.org
> Sent: Friday, July
On Fri, 2012-07-27 at 10:05 -0600, Bjorn Helgaas wrote:
> On Thu, Jul 26, 2012 at 8:39 PM, Toshi Kani wrote:
> > On Thu, 2012-07-26 at 13:23 -0600, Bjorn Helgaas wrote:
> >> On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani wrote:
>
> >> > @@ -560,8 +565,7 @@ static int __cpuinit
On 07/26/2012 07:31 PM, Oleg Nesterov wrote:
Well. I agree, this needs changes. To begin with, uprobe should avoid
user_enable_single_step() which does access_process_vm(). And I suspect
uprobes have the problems with TIF_FORCED_TF logic.
Why? Shouldn't wee keep the trap flag if the
On Fri, Jul 27, 2012 at 12:47:47PM +0100, Jan Beulich wrote:
> >>> On 27.07.12 at 13:18, Stefano Stabellini
> >>> wrote:
> > On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote:
> >> 1) All P2M lookups instead of using the __ka address would
> >> use the __va address. This means we can safely
On Fri, Jul 27, 2012 at 12:31:17PM +0100, Stefano Stabellini wrote:
> On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote:
> > Please first read the description in "xen/mmu: Copy and revector the
> > P2M tree."
> >
> > At this stage, the __ka address space (which is what the old
> > P2M tree was
On Fri, Jul 27, 2012 at 12:37:24PM +0100, Stefano Stabellini wrote:
> On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote:
> > Since we are not using it and somebody else could use it.
>
> make sense except it is almost entirely rewritten by the following
> patch...
Yeah, I should squash them.
>
>
On Fri, Jul 27, 2012 at 12:45:38PM +0100, Stefano Stabellini wrote:
> On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote:
> > As we are not using them. We end up only using the L1 pagetables
> > and grafting those to our page-tables.
> >
> > Signed-off-by: Konrad Rzeszutek Wilk
> > ---
> >
On Fri, Jul 27, 2012 at 11:49:02AM +0100, Stefano Stabellini wrote:
> On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote:
> > instead of a big memblock_reserve. This way we can be more
> > selective in freeing regions (and it also makes it easier
> > to understand where is what).
> >
> > [v1: Move
On Fri, Jul 27, 2012 at 08:27:39AM +0100, Jan Beulich wrote:
> >>> On 26.07.12 at 22:43, Konrad Rzeszutek Wilk
> >>> wrote:
> > If we boot a 64-bit guest with more than 4GB memory, the SWIOTLB
> > gets turned on:
> > PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
> > software IO TLB
On Fri, Jul 27, 2012 at 12:06:27PM +0100, Stefano Stabellini wrote:
> On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote:
> > If we boot a 64-bit guest with more than 4GB memory, the SWIOTLB
> > gets turned on:
> > PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
> > software IO TLB [mem
migrate_pages() can return positive value while at the same time emptying
the list of pages it was called with. Such situation means that it went
through all the pages on the list some of which failed to be migrated.
If that happens, __alloc_contig_migrate_range()'s loop may finish without
An Andre To Remember
July 2012
Linux lost a friend and advocate this month. Though never a household
name, Andre Hedrick had a positive impact on everyone today running
Linux, or using a website, with any form of IDE (ATA) or SCSI storage
-- that means millions upon millions of
migrate_pages() should return number of pages not migrated or error code.
When unmap_and_move return -EAGAIN, outer loop is re-execution without
initialising nr_failed. This makes nr_failed over-counted.
So this patch correct it by initialising nr_failed in outer loop.
migrate_huge_pages() is
do_migrate_pages() can return the number of pages not migrated.
Because migrate_pages() syscall return this value directly,
migrate_pages() syscall may return the number of pages not migrated.
In fail case in migrate_pages() syscall, we should return error value.
So change err to -EBUSY
move_pages() syscall may return success in case that
do_move_page_to_node_array return positive value which means migration failed.
This patch changes return value of do_move_page_to_node_array
for not returning positive value. It can fix the problem.
Signed-off-by: Joonsoo Kim
Cc: Brice Goglin
On Fri, Jul 27, 2012 at 07:35:38PM +0530, sand...@freescale.com wrote:
> +/* Data structures required for sysfs */
> +static struct tdm_sysfs attr = {
> + .attr.name = "use_latest_data",
> + .attr.mode = 0664,
> + .cmd_type = TDM_LATEST_DATA,
> +};
What is this for?
> +int
On 07/27, Sebastian Andrzej Siewior wrote:
>
> On 07/26/2012 07:31 PM, Oleg Nesterov wrote:
>> Well. I agree, this needs changes. To begin with, uprobe should avoid
>> user_enable_single_step() which does access_process_vm(). And I suspect
>> uprobes have the problems with TIF_FORCED_TF logic.
>
>
The behavior of the SMC has changed several times over the years,
causing read failures in the driver. It seems the problem can be
explained by a shift in SMC speed combined with improper action on
status codes.
We should first wait for the SMC to settle, which was the most
frequent response on
On Fri, Jul 27, 2012 at 07:35:38PM +0530, sand...@freescale.com wrote:
> +static struct kobj_type tdm_type = {
> + .sysfs_ops = _ops,
> + .default_attrs = tdm_attr,
> +};
Ah, also, as per the documentation in the kernel (go look, it's there),
I now get to publicly mock you for ignoring
On Fri, Jul 27, 2012 at 10:44:18AM -0600, Keith Busch wrote:
> Registers a character device for the nvme module and creates character
> files as /dev/nvmeN for each nvme device probed, where N is the device
> instance. The character devices support nvme admin ioctl commands so
> that nvme devices
Hi Alan,
On Fri, Jul 27, 2012 at 10:53:57AM +0100, Alan Cox wrote:
> > +enum {
> > + VMCI_SUCCESS_QUEUEPAIR_ATTACH = 5,
> > + VMCI_SUCCESS_QUEUEPAIR_CREATE = 4,
> > + VMCI_SUCCESS_LAST_DETACH= 3,
> > + VMCI_SUCCESS_ACCESS_GRANTED = 2,
> > + VMCI_SUCCESS_ENTRY_DEAD =
Hi James,
Please pull from this new branch and ignore the 7-25-12 branch. This
new branch includes fixes for comments by hpa. I've also included one
additional patch from [1] to close a race and prevent possibly sensitive
data from being free'd before being zeroed. I'm attaching this entire
diff
On Fri, Jul 27, 2012 at 10:20:43AM -0700, Andrew Stiegmann wrote:
> > The kernel style is to use lower_case for everything.
> > So this would become:
> >
> > vmci_device_get()
> >
> > This is obviously a very general comment and applies everywhere.
>
> I wish I could lower case these
This patch adds the support to use power supply attributes registration
mechanism for battery properties. This will be useful if the platform
has a main/primary battery and it relies on smb347 driver to get
some critical battery attributes.
Anton, I have to rework on this patch once we get an
This patch adds the support to report the battery power supply attributes
STATUS and CHARGE_TYPE. This patch makes use of power_supply_get_external_attr()
API to get these attributes through power supply core.
Signed-off-by: Ramakrishna Pallala
---
drivers/power/max17042_battery.c | 19
This patchset promtes the zcache driver from staging to drivers/mm/.
zcache captures swap pages via frontswap and pages that fall
out of the page cache via cleancache and compress them in RAM,
providing a compressed RAM swap and a compressed second-chance
page cache.
Signed-off-by: Seth Jennings
This patchset creates a new driver class under drivers/ for
memory management related drivers, like zcache.
This driver class would be for drivers that don't actually enabled
a hardware device, but rather augment the memory manager in some
way.
In-tree candidates for this driver class are
On Fri, Jul 27, 2012 at 09:05:48PM +0900, Alexandre Courbot wrote:
> Some device drivers (panel backlights especially) need to follow precise
> sequences for powering on and off, involving gpios, regulators, PWMs
> with a precise powering order and delays to respect between each steps.
> These
This patch promotes the slab-based zsmalloc memory allocator
from the staging tree to mm/
zcache depends on this allocator for storing compressed RAM pages
in an efficient way under system wide memory pressure where
high-order (greater than 0) page allocation are very likely to
fail.
For more
On Fri, Jul 27, 2012 at 09:05:48PM +0900, Alexandre Courbot wrote:
> +++ b/include/linux/power_seq.h
> @@ -0,0 +1,139 @@
> +/*
> + * power_seq.h
> + *
> + * Simple interpreter for defining power sequences as platform data or device
> + * tree properties. Initially designed for use with backlight
On Fri, Jul 27, 2012 at 01:46:25PM +0200, Jean Delvare wrote:
> Right now we have support for explicit platform device IDs, as well as
> ID-less platform devices when a given device type can only have one
> instance. However there are cases where multiple instances of a device
> type can exist,
Looks fine to me, thanks.
Acked-by: Andres Salomon
On Fri, 27 Jul 2012
20:45:52 +0900 Toshiaki Yamane wrote:
> fixed some checkpatch warnings.
> (Excluding -WARNING: msleep < 20ms can sleep for up to 20ms-)
>
> $ find drivers/staging/olpc_dcon/ -name
> "*.[ch]"|xargs ./scripts/checkpatch.pl
On Fri, Jul 27, 2012 at 02:12:12PM -0400, Matthew Wilcox wrote:
> On Fri, Jul 27, 2012 at 10:44:18AM -0600, Keith Busch wrote:
> > Registers a character device for the nvme module and creates character
> > files as /dev/nvmeN for each nvme device probed, where N is the device
> > instance. The
On 07/27/2012 11:14 AM, Kent Yoder wrote:
> Hi James,
>
> Please pull from this new branch and ignore the 7-25-12 branch. This
> new branch includes fixes for comments by hpa. I've also included one
> additional patch from [1] to close a race and prevent possibly sensitive
> data from being
/MM this year on zcache:
http://oss.oracle.com/projects/tmem/dist/documentation/presentations/LSFMM12-zcache-final.pdf
This patchset is based on next-20120727 + 3-part zsmalloc patchset below
https://lkml.org/lkml/2012/7/18/353
The zsmalloc patchset is already acked and will be integrated by Greg
Hi Anton,
> On Thu, Jul 26, 2012 at 08:47:24PM +0530, Ramakrishna Pallala wrote:
> > On some platforms one driver(or HW chip) may not be able to provide
> > all the necessary attributes of the power supply connected to the
> > platform or may provide very limited info which can be used by
701 - 800 of 958 matches
Mail list logo