Around Tue 28 Aug 2012 13:35:04 -0700 or thereabout, Mark Brown wrote:
> Rather than requiring platforms to select the generic clock API to make
> it available make the API available as a user selectable option unless the
> user either selects HAVE_CUSTOM_CLK (if they have their own
The member "data" of structure of_device_id is changed to const
pointer. Hence initializing this with const type data.
This will fix the compilation warning like
drivers/dma/tegra20-apb-dma.c:1217:9: warning: assignment discards 'const'
qualifier from
pointer target type [enabled by default]
Need to check your mail setting.
On 08/29/2012 02:04 PM, IAN CHEN wrote:
> For several MoviNAND, there are some known issue with secure option.
> For these specific MoviNAND device, we skip secure option.
>
> You could refer this discussion in XDA developers.
>
> -Original Message-
> From: Stephen Warren [mailto:swar...@wwwdotorg.org]
> Sent: Tuesday, August 28, 2012 7:37 PM
> To: Venu Byravarasu
> Cc: ccr...@android.com; o...@lixom.net; li...@arm.linux.org.uk;
> st...@rowland.harvard.edu; gre...@linuxfoundation.org; ba...@ti.com;
>
Signed-off-by: Wen Congyang
---
hw/pc_piix.c|6 +-
qemu-config.c |4
qemu-options.hx |3 ++-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 37eca23..10531a8 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -149,6 +149,8
If the target is x86/x86_64, the guest's kernel will write 0x01 to the
port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new
qom device kvm_pv_ioport to listen this I/O port, and deal with panicked
event according to panicked_action's value. The possible actions are:
1. emit
This event will be emited when the guest is panicked.
Signed-off-by: Wen Congyang
---
monitor.c |1 +
monitor.h |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/monitor.c b/monitor.c
index b17b1bb..f74dd2d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -455,6 +455,7 @@
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
---
qapi-schema.json |6 +-
qmp.c|3 ++-
vl.c |7 ++-
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index
Corresponding kvm.git hash: 1d92128f with my patch for kvm
---
linux-headers/asm-s390/kvm.h |2 +-
linux-headers/asm-s390/kvm_para.h |2 +-
linux-headers/asm-x86/kvm.h |1 +
linux-headers/asm-x86/kvm_para.h |9 +
linux-headers/linux/kvm.h |3 +++
On 2012-08-08 11:53, H. Peter Anvin wrote:
On 08/07/2012 07:08 PM, zhenzhong.duan wrote:
2012-08-08 00:32, H. Peter Anvin wrote:
On 08/07/2012 12:29 AM, zhenzhong.duan wrote:
Current code serialize mtrr init with set_atomicity_lock.
Mtrr init is quite slow when we bootup on a hvm with
The guest should run after reseting it, but it does not run if its
old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED.
We don't set runstate to RUN_STATE_PAUSED when reseting the guest,
so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or
RUN_STATE_PAUSED to
We can know the guest is panicked when the guest runs on xen.
But we do not have such feature on kvm.
Another purpose of this feature is: management app(for example:
libvirt) can do auto dump when the guest is panicked. If management
app does not do auto dump, the guest's user can do dump by hand
On Tue, 28 Aug 2012 11:13:39 Mark Brown wrote:
> On Tue, Aug 28, 2012 at 05:13:05PM +0200, Janusz Krzysztofik wrote:
> > On Mon, 27 Aug 2012 14:38:35 Mark Brown wrote:
> > > On Mon, Aug 27, 2012 at 11:28:30PM +0200, Janusz Krzysztofik wrote:
>
> > > > -
For several MoviNAND, there are some known issue with secure option.
For these specific MoviNAND device, we skip secure option.
You could refer this discussion in XDA developers.
http://forum.xda-developers.com/showthread.php?t=1644364
This is a Chinese translated version of Documentation/filesystems/sysfs.txt
Signed-off-by: Fu Wei
---
Documentation/zh_CN/filesystems/sysfs.txt | 372 +
1 file changed, 372 insertions(+)
create mode 100644 Documentation/zh_CN/filesystems/sysfs.txt
diff --git
x86: use new exception_enter()/exception_exit() API in
do_device_not_available()
RCU can be in extended quiescent state when do_device_not_available() called.
[ 676.400274] RCU used illegally from idle CPU!
[ 676.400274] rcu_scheduler_active = 1, debug_locks = 0
[ 676.400278] RCU used
DMA clients pdma0 and pdma1 are internal to the SoC and are used only
by dedicated peripherals. Since they cannot be used for generic
purpose, their capability should be set as DMA_PRIVATE.
CC: Vinod Koul
Signed-off-by: Tushar Behera
---
drivers/dma/pl330.c |1 +
1 files changed, 1
DMA clients pdma0 and pdma1 are internal to the SoC and are used only
by dedicated peripherals. Since they cannot be used for generic
purpose, their capability should be set as DMA_PRIVATE.
CC: Kukjin Kim
Signed-off-by: Tushar Behera
---
arch/arm/mach-exynos/dma.c |2 ++
1 files changed, 2
DMA clients pdma0 and pdma1 are internal to the SoC and are used only
by dedicated peripherals. Since they cannot be used for generic
purpose, their capability should be set as DMA_PRIVATE.
The patches are rebased on top of v3.6-rc3.
Tushar Behera (2):
ARM: EXYNOS: Set the capability of pdm0
On (08/29/12 00:11), Borislav Petkov wrote:
> Date: Wed, 29 Aug 2012 00:11:13 +0200
> From: Borislav Petkov
> To: Sergey Senozhatsky
> Cc: Thomas Gleixner , Ingo Molnar ,
> "H. Peter Anvin" , x...@kernel.org, Steven Rostedt
> , Srikar Dronamraju ,
> Peter Zijlstra , "Paul E. McKenney"
> ,
From: Xiaoyan Zhang
This patch declares the internal struct and functions as static to provide
more security.
Signed-off-by: Xiaoyan Zhang
Signed-off-by: Fengguang Wu
---
drivers/char/tpm/tpm.c |4 ++--
drivers/char/tpm/tpm_ppi.c | 37 +++--
2 files
On Tue, 28 Aug 2012, Jiri Kosina wrote:
On Wed, 22 Aug 2012, Tejun Heo wrote:
(cc'ing Jiri, hi!)
Hi there! :)
On Wed, Aug 22, 2012 at 10:04:01AM -0700, Kent Overstreet wrote:
This is prep work for killing bi_destructor - previously, pktcdvd had
its own pkt_bio_alloc which was basically
On Sat, Aug 25, 2012 at 1:48 AM, Alexander Bergmann wrote:
> On Fri, Aug 24, 2012 at 01:42:31PM -0400, David Miller wrote:
>> Alex, this patch doesn't apply, it was completely corrupted by your email
>> client.
>>
>> Make a fresh submission, with this fixed. But before you do, email the
>> patch
On Tue, 2012-08-28 at 23:38 +0300, Alexey Dobriyan wrote:
> Nothing can stop RCU!
>
> After running "modprobe;rmmod" in a loop and "cat" in another loop for a while
> rmmod got stuck in D-state inside remove_proc_entry() with trace amounts of
> CPU time
> being consumed.
>
> It didn't oopsed,
On Tue, Aug 28, 2012 at 05:55:45PM -0500, Rob Landley wrote:
> I've always been a bit confused by the debugfs design, which seems a
> giant compost heap like /proc where we find a specific styrofoam cup
> useful and the temporary thing becomes permanent. (Why is there _one_
> debugfs?)
The rules
On Tue, Aug 28, 2012 at 09:31:50PM -0400, Vivek Goyal wrote:
> On Tue, Aug 28, 2012 at 04:01:08PM -0700, Kent Overstreet wrote:
> > On Tue, Aug 28, 2012 at 03:28:00PM -0700, Kent Overstreet wrote:
> > > On Tue, Aug 28, 2012 at 01:49:10PM -0700, Tejun Heo wrote:
> > > > Overall, I *think* this is
Fixing an off-by-one error in devmem_is_allowed(), which allows accesses to
physical addresses 0x10-0x100fff, an extra page past 1MB.
Signed-off-by: T Makphaibulchoke
---
arch/x86/mm/init.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/mm/init.c
On Fri, 24 Aug 2012, Davidlohr Bueso wrote:
> The deprecated /proc//oom_adj is scheduled for removal this month.
>
> Signed-off-by: Davidlohr Bueso
Acked-by: David Rientjes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
On Mon, Aug 27, 2012 at 06:05:06PM -0400, Naoya Horiguchi wrote:
> On Mon, Aug 27, 2012 at 08:26:07AM +1000, Dave Chinner wrote:
> > On Fri, Aug 24, 2012 at 01:24:16PM -0400, Naoya Horiguchi wrote:
> > > Let me explain more to clarify my whole scenario. If a memory error
> > > hits on a dirty
On Tue, 28 Aug 2012, Haggai Eran wrote:
> Hi,
>
> I believe I have encountered a bug in kernel 3.6-rc3. It starts with the
> assertion in mm/slab.c:2629 failing, and then the system hangs. I can
> reproduce this bug by running a large compilation (compiling the kernel
> for instance).
>
>
On 08/16/2012 01:46 PM, Peter Zijlstra wrote:
On Wed, 2012-08-15 at 20:42 +0200, Frederic Weisbecker wrote:
On Wed, Aug 15, 2012 at 11:07:01PM +0530, Naveen N. Rao wrote:
Hi Frederick,
Did you get a chance to take a look at this?
Regards,
Naveen
Yeah, I'm ok with the patch. Peter, are you
On Wed, Aug 29, 2012 at 06:54:00AM +0800, Stephen Warren wrote:
> On 08/28/2012 02:09 AM, Dong Aisheng wrote:
> > From: Dong Aisheng
> >
> > Add regmap based syscon driver.
> > This is usually used for access misc bits in registers which does not belong
> > to a specific module, for example, IMX
On 08/28/2012 03:04 AM, Tejun Heo wrote:
> Hello, Lai.
>
> On Tue, Aug 28, 2012 at 01:58:24AM +0800, Lai Jiangshan wrote:
>> busy_worker_rebind_fn() can't return until all idle workers are rebound,
>> the code of busy_worker_rebind_fn() ensure this.
>>
>> So we can change the order of the code of
On Tue, Aug 28, 2012 at 12:09:56PM -0700, Eric W. Biederman wrote:
>
> Add the data type struct kqid which holds the kernel internal form of
> the owning identifier of a quota. struct kqid is a replacement for
> the implicit union of uid, gid and project stored in an unsigned int
> and the quota
On Fri, Aug 24, 2012 at 03:36:21PM -0700, Joe Perches wrote:
> On Thu, 2012-08-23 at 15:26 +0200, Borislav Petkov wrote:
> > On Fri, Aug 10, 2012 at 10:05:53AM +0800, Aaron Lu wrote:
> > > commit a606dac368eed5696fb38e16b1394f1d049c09e9 adds support to link
> > > devices which have _PRx, if a
>
> #include
> +#include
>
one small thing: is only needed at phy.h.
> /* OTG defines lots of enumeration states before device reset */
> enum usb_otg_state {
> @@ -35,31 +36,6 @@ enum usb_otg_state {
> OTG_STATE_A_VBUS_ERR,
> };
>
> -enum usb_phy_events {
> -
> ERROR: Threaded IRQ with no primary handler requested without
> IRQF_ONESHOT
>
> Make sure threaded IRQs without a primary handler are always request
> with IRQF_ONESHOT
>
> Signed-off-by: Fengguang Wu
> ---
>
> Note: I don't really know much about the situation, feel free to
> ignore it if
On 08/29/2012 04:17 AM, Tejun Heo wrote:
> Hello, Lai.
>
> On Tue, Aug 28, 2012 at 07:34:37PM +0800, Lai Jiangshan wrote:
>> So this implement adds an "all_done", thus rebind_workers() can't leave until
>> idle_worker_rebind() successful wait something until all other idle also
>> done,
>> so
Hi Magnus,
I got below build error if CONFIG_GPIO_EM=m
MODPOST 33 modules
ERROR: "set_irq_flags" [drivers/gpio/gpio-em.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Regards,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
Signed-off-by: Axel Lin
---
drivers/gpio/gpio-mc9s08dz60.c | 21 +++--
1 file changed, 3 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpio-mc9s08dz60.c b/drivers/gpio/gpio-mc9s08dz60.c
index 2738cc4..0ab7000 100644
--- a/drivers/gpio/gpio-mc9s08dz60.c
+++
Make GPIO_MC9S08DZ60 depend on I2C=y, this fixes below build error:
LD init/built-in.o
drivers/built-in.o: In function `mc9s08dz60_get_value':
clk-fixed-factor.c:(.text+0x7214): undefined reference to
`i2c_smbus_read_byte_data'
drivers/built-in.o: In function `mc9s08dz60_set':
On Tue, Aug 28, 2012 at 04:01:08PM -0700, Kent Overstreet wrote:
> On Tue, Aug 28, 2012 at 03:28:00PM -0700, Kent Overstreet wrote:
> > On Tue, Aug 28, 2012 at 01:49:10PM -0700, Tejun Heo wrote:
> > > Overall, I *think* this is correct but need to think more about it to
> > > be sure.
> >
> >
fixed below checkpatch warnings.
-WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ...
And added pr_fmt.
Signed-off-by: Toshiaki Yamane
---
drivers/staging/rts_pstor/debug.h |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rts_pstor/debug.h
fixed some checkpatch warnings.
-WARNING: Prefer pr_info(... to printk(KERN_INFO, ...
-WARNING: Prefer pr_err(... to printk(KERN_ERR, ...
-WARNING: quoted string split across lines
And added pr_fmt.
Signed-off-by: Toshiaki Yamane
---
drivers/staging/rts_pstor/rtsx.c | 107
On Tue, Aug 28, 2012 at 2:22 AM, Steven Rostedt wrote:
> The file feature-removal-schedule.txt is ignored by most people except
> for people that add to it. It's more of a global TODO list for
> developers than being anything useful by anyone.
>
> Add a feature removal of removing the
On 8/28/12, Paul E. McKenney wrote:
>
> OK, but I thought that Peter said that ->nr_uninterruptible was
> meaningful only when summed across all CPUs. If that is the case,
> it shouldn't matter where the counts are moved.
>
Yes, right. But, nr_uninterruptible is also use to calculate delta.
Dear all,
I hope this is the right place to send this sort of backtrace dump.
I'm getting the following sort of dumps (below) on a 3.2.27 kernel on
an arm/kirkwood (actually DreamPlug) machine that's used as a router.
I imagine it being somehow related to the fact that it operates a
network
I have a list of drivers here, many of them dated 2001.
http://paradoxuncreated.com/Blog/wordpress/?p=1608 (MS making me upset as
usual.)
I am really just looking for better drivers, and thought maybe someone
knew if more current opensource versions existed. I have not found
anything
On 08/28/2012 09:41 AM, Theodore Ts'o wrote:
> On Mon, Aug 27, 2012 at 01:32:15PM -0700, Kees Cook wrote:
>> Since the debugfs is mostly only used by root, make the default mount
>> mode 0700. Most system owners do not need a more permissive value,
>> but they can choose to weaken the restrictions
On Tue, Aug 28, 2012 at 10:05 AM, Linus Torvalds
wrote:
>
> Ugh. Ok, looking closer at this,
Btw, looking at that code, I also found what looks like a potential
locking bug in allocate_resource().
The code does
if (new->parent)
.. reallocate ..
to check whether a resource was
On 08/29/2012 12:59 AM, Konrad Rzeszutek Wilk wrote:
> On Tue, Aug 28, 2012 at 11:43:58PM +0800, Jiang Liu wrote:
>> Following code has a race window between pci_find_bus() and pci_get_slot()
>> if PCI hotplug operation happens between them which removes the pci_bus.
>> So use PCI hotplug safe
On 08/29/2012 02:16 AM, Mark Brown wrote:
On Tue, Aug 28, 2012 at 08:25:30PM +0900, Joonyoung Shim wrote:
Consumer nodes can reference regulators using -supply from dts
file with this patch.
Signed-off-by: Joonyoung Shim
Signed-off-by: Kyungmin Park
This doesn't apply against current code,
On Wed, 22 Aug 2012, Tejun Heo wrote:
> (cc'ing Jiri, hi!)
Hi there! :)
> On Wed, Aug 22, 2012 at 10:04:01AM -0700, Kent Overstreet wrote:
> > This is prep work for killing bi_destructor - previously, pktcdvd had
> > its own pkt_bio_alloc which was basically duplication bio_kmalloc(),
> >
On 08/28/2012 04:04 PM, Stephen Warren wrote:
On 08/28/2012 04:01 PM, Franky Lin wrote:
On 08/28/2012 03:39 PM, Stephen Warren wrote:
On 08/28/2012 09:45 AM, Franky Lin wrote:
On 08/28/2012 04:13 AM, Wei Ni wrote:
On Tue, 2012-08-28 at 04:06 +0800, Stephen Warren wrote:
On 08/27/2012 09:24
Some systems (e.g. Android) define in their libc types.h
__le16, __be16, etc. Since perf is wrapping
with a local version, we need to define this
constants in the local version too.
Errors in Android:
In file included from bionic/libc/include/netinet/in.h:34:0,
from
On 08/28/2012 04:01 PM, Franky Lin wrote:
> On 08/28/2012 03:39 PM, Stephen Warren wrote:
>> On 08/28/2012 09:45 AM, Franky Lin wrote:
>>> On 08/28/2012 04:13 AM, Wei Ni wrote:
On Tue, 2012-08-28 at 04:06 +0800, Stephen Warren wrote:
> On 08/27/2012 09:24 AM, Arend van Spriel wrote:
On 08/28/2012 03:39 PM, Stephen Warren wrote:
On 08/28/2012 09:45 AM, Franky Lin wrote:
On 08/28/2012 04:13 AM, Wei Ni wrote:
On Tue, 2012-08-28 at 04:06 +0800, Stephen Warren wrote:
On 08/27/2012 09:24 AM, Arend van Spriel wrote:
On 08/27/2012 12:25 PM, Wei Ni wrote:
In case of inband
On Tue, Aug 28, 2012 at 03:28:00PM -0700, Kent Overstreet wrote:
> On Tue, Aug 28, 2012 at 01:49:10PM -0700, Tejun Heo wrote:
> > Overall, I *think* this is correct but need to think more about it to
> > be sure.
>
> Please do. As much time as I've spent staring at this kind of stuff,
> I'm
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote:
> * Sasha Levin (levinsasha...@gmail.com) wrote:
> > On 08/28/2012 12:11 PM, Mathieu Desnoyers wrote:
> > > * Sasha Levin (levinsasha...@gmail.com) wrote:
> > >> On 08/25/2012 06:24 AM, Mathieu Desnoyers wrote:
> > >>> * Tejun Heo
On Thu, 23 Aug 2012, Tejun Heo wrote:
> Make APM schedule a work item on CPU0 instead of using the expensive
> work_on_cpu(); hopefully, this is the last user of work_on_cpu() and
> we can take out work_on_cpu() in not too distant future.
>
> Tested both paths. Seems to work fine.
Applying to
On Tue, Aug 28, 2012 at 03:17:15PM -0700, Kent Overstreet wrote:
> On Tue, Aug 28, 2012 at 01:31:48PM -0700, Tejun Heo wrote:
> > > + unsigned long flags = bio->bi_flags & (~0UL << BIO_RESET_BITS);
> > > +
> > > + if (bio_integrity(bio))
> > > + bio_integrity_free(bio, bio->bi_pool);
> > >
On 08/28/2012 02:09 AM, Dong Aisheng wrote:
> From: Dong Aisheng
>
> Add regmap based syscon driver.
> This is usually used for access misc bits in registers which does not belong
> to a specific module, for example, IMX IOMUXC GPR and ANATOP.
> With this driver, client can use generic regmap
On 08/28/2012 09:45 AM, Franky Lin wrote:
> On 08/28/2012 04:13 AM, Wei Ni wrote:
>> On Tue, 2012-08-28 at 04:06 +0800, Stephen Warren wrote:
>>> On 08/27/2012 09:24 AM, Arend van Spriel wrote:
On 08/27/2012 12:25 PM, Wei Ni wrote:
> In case of inband interrupts, if we handle the
Some systems (e.g. Android) define in their libc types.h
__le16, __be16, etc. Since perf is wrapping
with a local version, we need to define this
constants in the local version too.
Errors in Android:
In file included from bionic/libc/include/netinet/in.h:34:0,
from
On Tue, Aug 28, 2012 at 01:49:10PM -0700, Tejun Heo wrote:
> Hello,
>
> On Tue, Aug 28, 2012 at 10:37:36AM -0700, Kent Overstreet wrote:
> > @@ -324,13 +342,37 @@ struct bio *bio_alloc_bioset(gfp_t gfp_mask, int
> > nr_iovecs, struct bio_set *bs)
> > front_pad = 0;
> >
On Wed, 22 Aug 2012, Henrik Rydberg wrote:
> With the input_mt_sync_frame() function in place, there is no longer
> any need to keep the full touch state in the driver. This patch
> removes the slot state and replaces the lookup code with the input-mt
> equivalent. The initialization code is
perf is currently including magic.h directly from the kernel.
If the glibc magic.h is also included, this leads to warnings
that the constants are redefined. This happens on some systems
(e.g. Android).
Redefinition errors on Android:
In file included from util/util.h:79:0,
from
On Tue, Aug 28, 2012 at 01:32:47PM -0700, Tejun Heo wrote:
> On Tue, Aug 28, 2012 at 10:37:31AM -0700, Kent Overstreet wrote:
> > This is prep work for killing bi_destructor - previously, pktcdvd had
> > its own pkt_bio_alloc which was basically duplication bio_kmalloc(),
> > necessitating its own
On Tue, Aug 28, 2012 at 06:06:10PM -0400, Vivek Goyal wrote:
> On Tue, Aug 28, 2012 at 10:37:36AM -0700, Kent Overstreet wrote:
> > Previously, if we ever try to allocate more than once from the same bio
> > set while running under generic_make_request() (i.e. a stacking block
> > driver), we risk
mempcpy is not supported by bionic in Android
and will lead to compilation errors.
Replacing mempcpy with memcpy so it will work in Android.
Signed-off-by: Irina Tirdea
---
tools/perf/util/target.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Applied, Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Tue, Aug 28, 2012 at 01:31:48PM -0700, Tejun Heo wrote:
> Hello, Kent.
>
> On Tue, Aug 28, 2012 at 10:37:30AM -0700, Kent Overstreet wrote:
> > Reusing bios is something that's been highly frowned upon in the past,
> > but driver code keeps doing it anyways. If it's going to happen anyways,
>
Signed-off-by: Tomas Winkler
---
drivers/misc/mei/hw.h |2 ++
drivers/misc/mei/main.c |2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h
index b3b4c6d..9700532 100644
--- a/drivers/misc/mei/hw.h
+++
On Fri, Aug 24, 2012 at 1:20 AM, Namhyung Kim wrote:
> Hi,
>
> Just typos below..
>
Applied, Thanks.
> On Thu, 23 Aug 2012 07:14:23 -0700, > From: Paul Turner
>>
>> Instead of tracking averaging the load parented by a cfs_rq, we can track
>> entity load directly. With the load for a given
On Wed, Aug 29, 2012 at 12:00:47AM +0300, Sergey Senozhatsky wrote:
> x86: use new exception_enter()/exception_exit() API in
> do_device_not_available()
>
> RCU can be in extended quiescent state when do_device_not_available() called.
>
> [ 676.400274] RCU used illegally from idle CPU!
> [
On Tue, Aug 28, 2012 at 01:36:13PM -0700, Tejun Heo wrote:
> On Tue, Aug 28, 2012 at 10:37:32AM -0700, Kent Overstreet wrote:
> > @@ -385,7 +386,7 @@ struct bio *bio_kmalloc(gfp_t gfp_mask, unsigned int
> > nr_iovecs)
> > bio->bi_flags |= BIO_POOL_NONE << BIO_POOL_OFFSET;
> >
mkostemp is only available in glibc. This leads to compile
error in Android, since bionic is derived from BSD.
Replacing mkostemp with mkstemp. mkstemp is available on
both glibc and bionic.
Signed-off-by: Irina Tirdea
---
tools/perf/util/dso-test-data.c |2 +-
1 file changed, 1
on_exit() is only available in new versions of glibc.
Using on_exit on Android leads to errors at compile time.
Replacing on_exit with its more portable version atexit.
This leads to using a global variable since on_exit supports
sending a parameters while atexit does not.
Signed-off-by: Irina
On Tue, Aug 28, 2012 at 10:37:36AM -0700, Kent Overstreet wrote:
> Previously, if we ever try to allocate more than once from the same bio
> set while running under generic_make_request() (i.e. a stacking block
> driver), we risk deadlock.
>
> This is because of the code in generic_make_request()
On Tue, Aug 28, 2012 at 01:44:01PM -0700, Tejun Heo wrote:
> On Tue, Aug 28, 2012 at 10:37:34AM -0700, Kent Overstreet wrote:
> > +static inline struct bio *bio_clone(struct bio *bio, gfp_t gfp_mask)
> > +{
> > + return bio_clone_bioset(bio, gfp_mask, fs_bio_set);
> > +}
> > +
> ...
> > +static
thread_func in builtin-sched.c has an internal loop and
never returns. The only return from this thread are
BUG_ON calls in case return values are not 0.
The compiler on Android complains that the function
needs to return a non-void value. Adding the noreturn
function attribute to fix this error.
pthread variables are used in some files without explicitely
including pthread.h. This leads to compile errors on
Android. e.g.: in annotate.h, error: unknown type name 'pthread_mutex_t'
Including pthread.h explicitely in files that use it to have
all definitions included.
Signed-off-by: Irina
In Android, struct winsize is not defined in
the headers already included in help.c.
This leads to a compile error.
Including termios.h fixes the compilation error
since it defines struct winsize.
Signed-off-by: Irina Tirdea
---
tools/perf/util/help.c |1 +
tools/perf/util/top.h |1 +
perf uses the glibc version of basename(), by defining
_GNU_SOURCE, including string.h and not including libgen.h.
The glibc version of basename is better than the POSIX
version since it does not modify its argument.
Android has only one version of basename which is defined in
libgen.h. This
On Tue, Aug 28, 2012 at 01:41:48PM -0700, Tejun Heo wrote:
> Hello, Kent.
>
> On Tue, Aug 28, 2012 at 10:37:33AM -0700, Kent Overstreet wrote:
> > v7: Re-add dropped comments, improv patch description
>
> I don't think you did the former part. Other than that looks good to
> me.
I folded them
On some systems (e.g. Android), ALIGN is defined in
system headers as ALIGN(p). The definition of ALIGN used
in perf takes 2 parameters: ALIGN(x,a). This leads to
redefinition conflicts.
Redefinition error on Android:
In file included from util/include/linux/list.h:1:0,
from util/callchain.h:5,
__WORDSIZE is GLibC-specific and is not defined
on all systems or glibc versions (e.g. Android's
bionic does not define it).
In file included from util/include/linux/bitmap.h:5:0,
from util/header.h:10,
from util/session.h:6,
from
On Sun, 2012-08-26 at 21:25 -0700, Stephen Warren wrote:
> On 08/26/2012 03:14 AM, Laxman Dewangan wrote:
> > The membe "data" of structure of_device_id is changed to const
> > pointer. Hence initializing this with const type data.
> > This will fix the compilation warning like
> >
Wrapping asm/byteorder.h will also replace the glibc header,
not only the kernel one. asm/byteorder.h further includes
architecture dependent headers that define endianess.
Some systems (e.g. Android) need constant definitions that
depend on endianess (e.g. __constant_htonl).
In file included
Hi,
This is a set of patches to port perf to Android.
My approach is to include missing functions in Android (like getline,
getsid, etc). I am currently working on upstreaming these to Google.
With the missing functionality added to bionic, this compiles on latest
Android tree (JellyBean). This
On 29/08/12 05:52, Franklin Teaburry wrote:
> Wow, the internets have been flooded lately with brilliant suggestions along
> the theme of dropping things. Clearly this is a sign that something need be
> dropped! While I can certainly see a glimmer of wisdom among each of these
> fine
nbd-trim-discard-support.diff
Description: Binary data
nbd-set-flags-ioctl.diff
Description: Binary data
This patchset adds discard request support to nbd. This should be good
for inclusion in next.
The first patch adds a set-flags ioctl, allowing various option flags
to be set on an nbd device. One of the new flags tells the nbd client
to send discard requests to the server.
The second patch adds
Wow, the internets have been flooded lately with brilliant suggestions along
the theme of dropping things. Clearly this is a sign that something need be
dropped! While I can certainly see a glimmer of wisdom among each of these
fine gentleman's suggestions I think they may still be a little
x86: use new exception_enter()/exception_exit() API in
do_device_not_available()
RCU can be in extended quiescent state when do_device_not_available() called.
[ 676.400274] RCU used illegally from idle CPU!
[ 676.400274] rcu_scheduler_active = 1, debug_locks = 0
[ 676.400278] RCU used
On 28/08/2012 14:11, Wei Yongjun wrote:
From: Wei Yongjun
Remove pointless conditional before kfree_skb().
Signed-off-by: Wei Yongjun
---
drivers/staging/ozwpan/ozpd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/ozwpan/ozpd.c
Hello,
On Tue, Aug 28, 2012 at 10:37:36AM -0700, Kent Overstreet wrote:
> @@ -324,13 +342,37 @@ struct bio *bio_alloc_bioset(gfp_t gfp_mask, int
> nr_iovecs, struct bio_set *bs)
> front_pad = 0;
> inline_vecs = nr_iovecs;
> } else {
> + /*
> +
Hi,
On Tue, Aug 28, 2012 at 09:55:32AM -0700, David Brown wrote:
> The following changes since commit 28a33cbc24e4256c143dce96c7d93bf423229f92:
>
> Linux 3.5 (2012-07-21 13:58:29 -0700)
>
> are available in the git repository at:
>
>
On Tue, Aug 28, 2012 at 10:37:34AM -0700, Kent Overstreet wrote:
> +static inline struct bio *bio_clone(struct bio *bio, gfp_t gfp_mask)
> +{
> + return bio_clone_bioset(bio, gfp_mask, fs_bio_set);
> +}
> +
...
> +static inline struct bio *bio_clone_kmalloc(struct bio *bio, gfp_t gfp_mask)
>
1 - 100 of 722 matches
Mail list logo