Re: [PATCH] pwm: devm: alloc correct pointer size

2013-06-09 Thread Andy Shevchenko
On Mon, Jun 10, 2013 at 3:04 AM, Wolfram Sang wrote: > On Thu, Jun 06, 2013 at 10:43:41PM +0300, Andy Shevchenko wrote: >> On Mon, Jun 3, 2013 at 11:27 PM, Wolfram Sang wrote: >> > The allocated object should be the size of what the pointer is pointing >> > to and not the size of the pointer itse

Re: Scaling problem with a lot of AF_PACKET sockets on different interfaces

2013-06-09 Thread Vitaly V. Bursov
07.06.2013 17:33, Daniel Borkmann пишет: On 06/07/2013 04:17 PM, Vitaly V. Bursov wrote: 07.06.2013 16:05, Daniel Borkmann пишет: [...] Ideas are welcome :) Probably, that depends on _your scenario_ and/or BPF filter, but would it be an alternative if you have only a few packet sockets (mayb

Re: [PATCH 3/3] MMC: FSL SDHC: Add support for hard-wired (permanent) card. Kernel version 3.4.47

2013-06-09 Thread Dirk Behme
On 02.06.2013 08:38, Oded Gabbay wrote: This patch adds support of recognizing hard-wired (permanent) cards to Freescale's SDHC host driver. This is done by adding the option "fsl,card-wired" to the SDHC device-tree entry. Detection of this option is done in the probe function. Update documentati

[PATCH v2 1/2] x86,mtrr: Fix original mtrr range get for mtrr_cleanup

2013-06-09 Thread Yinghai Lu
Joshua reported: Commit cd7b304dfaf1 (x86, range: fix missing merge during add range) broke mtrr cleanup on his setup in 3.9.5. corresponding commit in upstream is fbe06b7bae7c. *BAD*gran_size: 64K chunk_size: 16M num_reg: 6 lose cover RAM: -0G https://bugzilla.kernel.org/show_bug.cgi?id=59491

[PATCH v2 2/2] x86, range: Do not add new blank slot with add_range_with_merge

2013-06-09 Thread Yinghai Lu
Joshua reported: Commit cd7b304dfaf1 (x86, range: fix missing merge during add range) broke mtrr cleanup on his setup in 3.9.5. corresponding commit in upstream is fbe06b7bae7c. The reason is add_range_with_merge could generate blank spot. We could avoid that by searching new expanded start/end,

[PATCH 0/2] ARM: dts: Add palmas dtsi

2013-06-09 Thread J Keerthy
This patch series adds palmas.dtsi and adds the omap5 specific palmas entries in the omap5-uevm board file. This patch series is based on: git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.11/dts Boot tested on omap5-uevm board. J Keerthy (2): ARM:

[PATCH 2/2] ARM: dts: OMAP5: add palmas node and omap specific palmas regulator properties

2013-06-09 Thread J Keerthy
Add palmas node and omap specific palmas regulator properties. This patch is based on: git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.11/dts Boot tested on omap5-uevm board. Signed-off-by: J Keerthy --- arch/arm/boot/dts/omap5-uevm.dts | 145 ++

[PATCH 1/2] ARM: dts: add dtsi for palmas

2013-06-09 Thread J Keerthy
Adds palmas mfd and palmas regulator nodes. Signed-off-by: Graeme Gregory Signed-off-by: J Keerthy --- arch/arm/boot/dts/palmas.dtsi | 98 + 1 files changed, 98 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/palmas.dtsi diff --git

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 04:23:51PM -0700, David Daney wrote: > On 06/09/2013 12:31 AM, Gleb Natapov wrote: > >On Fri, Jun 07, 2013 at 04:15:00PM -0700, David Daney wrote: > >>I should also add that I will shortly send patches for the kvm tool > >>required to drive this VM as well as a small set of

Re: [PATCH V3 1/2] tps6507x-ts: Add DT support

2013-06-09 Thread Dmitry Torokhov
Hi Manish, On Tue, May 21, 2013 at 02:24:17PM +0530, Vishwanathrao Badarkhe, Manish wrote: > Add device tree based support for TI's tps6507x touchscreen. > > Tested on da850-evm. > > Signed-off-by: Vishwanathrao Badarkhe, Manish > --- > Changes since V2: > - Removed unnecessary code. > - Upda

Re: [checkpatch] - Confusion

2013-06-09 Thread anish singh
On Mon, Jun 10, 2013 at 11:21 AM, PINTU KUMAR wrote: > Hi, > > I wanted to submit my first patch. > But I have some confusion about the /scripts/checkpatch.pl errors. > > After correcting some checkpatch errors, when I run checkpatch.pl, it showed > me 0 errors. > But when I create patches are gi

[checkpatch] - Confusion

2013-06-09 Thread PINTU KUMAR
Hi, I wanted to submit my first patch. But I have some confusion about the /scripts/checkpatch.pl errors. After correcting some checkpatch errors, when I run checkpatch.pl, it showed me 0 errors. But when I create patches are git format-patch, it is showing me 1 error. If I fix error in patch,

Re: [PATCH v2] mtd: orion_nand: Improve error handling in orion_nand_probe

2013-06-09 Thread Jingoo Han
Monday, June 10, 2013 9:01 AM, Emil Goode wrote: > > This patch fixes some issues in the error handling and simplifies > the code by converting to devm* functions. > > If the kzalloc call fails it is unnecessary to use the label no_res > and pass a NULL pointer to kfree. If the devm_kzalloc call

Re: [PATCH] arm: Prevent memory aliasing on non-LPAE kernels

2013-06-09 Thread Magnus Damm
Hello Stepan, On Fri, May 31, 2013 at 6:45 AM, Stepan Moskovchenko wrote: > Some LPAE-capable systems may use a Device Tree containing > memory nodes that describe memory extending beyond the 4GB > physical address boundary. Ignore or truncate these memory > nodes on kernels that have not been bu

Re: [PATCH v2] cpufreq: fix governor start/stop race condition

2013-06-09 Thread Viresh Kumar
On 9 June 2013 13:20, Xiaoguang Chen wrote: > cpufreq governor stop and start should be kept in sequence. > If not, there will be unexpected behavior, for example: > > we have 4 cpus and policy->cpu=cpu0, cpu1/2/3 are linked to cpu0. > the normal sequence is as below: > > 1) Current governor is us

[PATCH] NVMe: Use kzalloc instead of kmalloc+memset

2013-06-09 Thread Tushar Behera
Use kzalloc instead of kmalloc and a susbsequent memset. Signed-off-by: Tushar Behera --- drivers/block/nvme-scsi.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/block/nvme-scsi.c b/drivers/block/nvme-scsi.c index fed54b0..51d39a0 100644

[PATCH] mac80211: Fix bogus RCU warning from ieee80211_get_tx_rates (Was: Re: rcu)

2013-06-09 Thread Calvin Owens
rate_control_fill_sta_table(), whose sole caller is ieee80211_get_tx_rates(), is guaranteed by mac80211 not to be called concurrently with rate_control_set_rates() [1], the sole function that touches the rate table pointer/data in struct ieee80211_sta. The RCU dereference is therefore safe. [1]: S

Message To: Email Account Owner!

2013-06-09 Thread Copyright @ 2013 WEBMAIL UFFICIO
Message To: Email Account Owner! WARNING!!! A 2013 DFXG Virus Detected on your mailbox and your account will be terminated in a short time from our database. Please verify the continue usage of this account by clicking or coping the below "LINK" to your browser and log-in with your full email Ad

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 9:20 PM, Jeremy Kerr wrote: > > So, we now use the original date header (if present) in the mbox views: > > $ wget -qO - http://patchwork.ozlabs.org/patch/249598/mbox/ | grep ^Date > Date: Fri, 7 Jun 2013 15:42:54 +1000 > > ... for all your data-mining needs. Goodie, and I

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Jeremy Kerr
Hi Linus, > No. The date from the email was > > Date: Fri, 7 Jun 2013 15:42:54 +1000 > > and we want *that* date. Ah, gotchya. So, we now use the original date header (if present) in the mbox views: $ wget -qO - http://patchwork.ozlabs.org/patch/249598/mbox/ | grep ^Date Date: Fri, 7 Jun

Re: [PATCH] clk: exynos5250: Add CLK_IGNORE_UNUSED flag for pmu clock

2013-06-09 Thread Tushar Behera
On 06/06/2013 01:58 PM, Tushar Behera wrote: > Currently 'pmu' clock is not handled by any of the drivers. > Also before the introduction of CCF, this clock was not defined, > hence was left enabled always. > > When this clock is disabled, software reset register becomes > inaccessible and system

Re: [PATCH 2/3] ARM: dts: Add FIMD node to Origen4210 board

2013-06-09 Thread Tushar Behera
On 06/08/2013 04:19 PM, Tomasz Figa wrote: > On Friday 07 of June 2013 16:37:14 Tushar Behera wrote: >> From: Sachin Kamat >> >> Added FIMD and display timing node to Origen4210 board. >> >> Signed-off-by: Sachin Kamat >> Signed-off-by: Tushar Behera >> --- >> arch/arm/boot/dts/exynos4210-orige

Re: [PATCH RFC v2 0/3] add cpu physically hotplug driver

2013-06-09 Thread li guang
在 2013-06-10一的 12:51 +0900,Yasuaki Ishimatsu写道: > 2013/06/10 9:36, li guang wrote: > > Hi, Rafael > > > > 在 2013-06-06四的 13:00 +0200,Rafael J. Wysocki写道: > >> On Thursday, June 06, 2013 09:40:32 AM liguang wrote: > >>> This patch-set try to support physically hot-plug/unplug > >>> a cpu automatical

Re: [PATCHv2 4/6] sched_clock: Add support for >32 bit sched_clock

2013-06-09 Thread Rob Herring
On 06/04/2013 05:21 AM, Russell King - ARM Linux wrote: > On Mon, Jun 03, 2013 at 06:51:59PM -0700, Stephen Boyd wrote: >> On 06/03/13 15:12, Russell King - ARM Linux wrote: >>> If you have a 56-bit clock which ticks at a period of 1ns, then >>> cd.rate = 1, and your sched_clock() values will be tr

Re: [PATCH 1/3] ARM: dts: exynos4210: Add LCD related pinctrl entries

2013-06-09 Thread Tushar Behera
On 06/08/2013 04:16 PM, Tomasz Figa wrote: > Hi Tushar, Sachin, > > On Friday 07 of June 2013 16:37:13 Tushar Behera wrote: >> From: Sachin Kamat >> >> Adds pinctrl entries required by FIMD. >> >> Signed-off-by: Sachin Kamat >> Signed-off-by: Tushar Behera >> --- >> arch/arm/boot/dts/exynos421

Re: [PATCH 1/4] de_thread: use change_pid() rather than detach_pid/attach_pid

2013-06-09 Thread Eric W. Biederman
Oleg Nesterov writes: > de_thread() can use change_pid() instead of detach + attach. > This looks better and this ensures that, say, next_thread() > can never see a task with ->pid == NULL. I want to say that there I though there was a good reason something to do with the exit logic. However I

RE: [PATCH] ARM: dts: add dtsi for palmas

2013-06-09 Thread J, KEERTHY
Hi Stephen, Thanks for the review comments. From: Stephen Warren [swar...@wwwdotorg.org] Sent: Saturday, June 08, 2013 1:26 AM To: J, KEERTHY Cc: Cousson, Benoit; devicetree-disc...@lists.ozlabs.org; linux-o...@vger.kernel.org; linux-kernel@vger.kernel.or

Re: [PATCH RFC v2 0/3] add cpu physically hotplug driver

2013-06-09 Thread Yasuaki Ishimatsu
2013/06/10 9:36, li guang wrote: Hi, Rafael 在 2013-06-06四的 13:00 +0200,Rafael J. Wysocki写道: On Thursday, June 06, 2013 09:40:32 AM liguang wrote: This patch-set try to support physically hot-plug/unplug a cpu automatically, that is: if you offline a cpu, it will automatically actually remove a

Re: [PATCH 2/2] clk: exynos4: Add alias for cpufreq related clocks

2013-06-09 Thread Tushar Behera
On 06/08/2013 05:20 PM, Tomasz Figa wrote: > On Thursday 06 of June 2013 16:52:28 Tushar Behera wrote: >> cpufreq driver for EXYNOS4 based SoCs are not platform drivers, hence >> we cannot currently pass the clock names through a device tree node. >> Instead, we need to make them available through

Re: [PATCH V2] ahci: sata: add support for exynos5440 sata

2013-06-09 Thread Girish KS
HI, can this patch be pulled in for 3.11 On Tue, Apr 16, 2013 at 2:58 PM, Girish K S wrote: > This patch adds the compatible string of the exynos5440 sata controller > compliant with the ahci 1.3 and sata 3.0 specification. > > Signed-off-by: Girish K S > > changes in v2: > chang

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 8:20 PM, Linus Torvalds wrote: > > .. the rationale for this is that the work pattern of people is > actually interesting information. You can do things like this: > > git log --pretty=%aD --author=Torvalds Final side note: for me, and other git users that apply other p

Re: [PATCH v1 0/3] Polling support for s3c64xx spi controller

2013-06-09 Thread Girish KS
Hello Mark, pls let me know if there is any issue with this series On Mon, May 20, 2013 at 12:21 PM, Girish K S wrote: > This patch series adds support for the polling mode only. Also 2nd patch > in the series adds support for dedicated cs pin. After Thomas's patch for > using default gpio is

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 8:06 PM, Linus Torvalds wrote: > > And it does matter. .. the rationale for this is that the work pattern of people is actually interesting information. You can do things like this: git log --pretty=%aD --author=Torvalds to see what my work pattern is, and I think tha

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 7:44 PM, Jeremy Kerr wrote: > > We keep all patch dates in UTC, but were generating the Date header > incorrectly. Now fixed: No, not fixed. Keeping patch dates in UTC *corrupts* the date. I'll ask people to stop using patchworks if it cannot keep track of emailed dates.

Re: [PATCH] ocfs2: Cocci spatch "memdup.spatch"

2013-06-09 Thread Joel Becker
Acked-by: Joel Becker On Sat, Jun 01, 2013 at 11:41:12AM +0200, Thomas Meyer wrote: > > Signed-off-by: Thomas Meyer > --- > > diff -u -p a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c > --- a/fs/ocfs2/localalloc.c > +++ b/fs/ocfs2/localalloc.c > @@ -434,12 +434,11 @@ void ocfs2_shutdown_local

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Jeremy Kerr
Hi Linus, > Is Jeremy the patchwork maintainer? Yep, that's me. > and it turns out that apparently 'patchwork' is just making up random > times, because when you download the email as an mbox, it will turn > this into that corrupt and incorrect > > Date: Thu, 06 Jun 2013 19:42:54 - > >

Re: [RFC patch 0/4] change 64 bit variables to long type

2013-06-09 Thread Alex Shi
On 06/07/2013 03:29 PM, Alex Shi wrote: > There are some 64 bits variables in cfs_rq/tg etc. That ask expersive > operations in 32 bit machine. But in fact, long type is enough for them. > > So do this change lead more efficient code and without data lose. BTW, this patch bases on my v8 patchset:

Re: Active-low behavior in gpiolib

2013-06-09 Thread Alexandre Courbot
On Fri, Jun 7, 2013 at 4:10 PM, Linus Walleij wrote: > Well it is designed as a sysfs-only thing according to the comment: > drivers/gpio/gpiolib.c:#define FLAG_ACTIVE_LOW 6 /* sysfs value > has active low */ > > So I think your actual question is whether it should also be > enabled for the

Re: [patch v8 6/9] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-06-09 Thread Gu Zheng
On 06/10/2013 10:01 AM, Alex Shi wrote: > On 06/10/2013 09:49 AM, Gu Zheng wrote: >> On 06/07/2013 03:20 PM, Alex Shi wrote: >> They are the base values in load balance, update them with rq runnable load average, then the load balance will consider runnable load avg naturally.

Re: [patch v8 6/9] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-06-09 Thread Alex Shi
On 06/10/2013 09:49 AM, Gu Zheng wrote: > On 06/07/2013 03:20 PM, Alex Shi wrote: > >> > They are the base values in load balance, update them with rq runnable >> > load average, then the load balance will consider runnable load avg >> > naturally. >> > >> > We also try to include the blocked_loa

[PATCH RESEND] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-06-09 Thread Gu Zheng
There are four places convert system time in UTC to local time seconds as a time stamp in scsi-subsystem, so we introduce a help function local_time_seconds() to simplify these operations. Signed-off-by: Gu Zheng --- drivers/scsi/3w-9xxx.c | 14 ++ drivers/scsi/3w-sas.c | 14

Re: [patch v8 3/9] sched: set initial value of runnable avg for new forked task

2013-06-09 Thread Gu Zheng
On 06/07/2013 03:20 PM, Alex Shi wrote: > We need initialize the se.avg.{decay_count, load_avg_contrib} for a > new forked task. > Otherwise random values of above variables cause mess when do new task > enqueue: > enqueue_task_fair > enqueue_entity > enqueue_entity_load_av

Re: [patch v8 6/9] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-06-09 Thread Gu Zheng
On 06/07/2013 03:20 PM, Alex Shi wrote: > They are the base values in load balance, update them with rq runnable > load average, then the load balance will consider runnable load avg > naturally. > > We also try to include the blocked_load_avg as cpu load in balancing, > but that cause kbuild per

Re: [PATCH RFC 00/48] Add namespace support for audit

2013-06-09 Thread Gao feng
On 06/07/2013 06:47 AM, Serge Hallyn wrote: > Quoting Serge Hallyn (serge.hal...@ubuntu.com): >> Quoting Gao feng (gaof...@cn.fujitsu.com): >>> On 05/07/2013 10:20 AM, Gao feng wrote: This patchset try to add namespace support for audit. I choose to assign audit to the user namespace

Re: [patch 0/9] sched: use runnable load avg in balance

2013-06-09 Thread Alex Shi
Ingo & Peter: How are you? I know you are very very busy since services for wide key kernel parts. So hope this email don't disturb you. :) PJT's runnable load was introduced into kernel from 3.8 kernel. But besides increase longer code path, it does nothing help now. This patch try to enable th

[RFC] scripts/setlocalversion on write-protected source tree

2013-06-09 Thread Christian Kujau
Hi, I just stumbled across another[0] issue when scripts/setlocalversion operates on a write-protected source tree. Back then[0] the source tree was on an read-only NFS share, so "test -w" was introduced before "git update-index" was run. This time, the source tree is on read/write NFS share,

[RFC 05/10] irqdomain: Eliminate revmap type

2013-06-09 Thread Grant Likely
The NOMAP irq_domain type is only used by a handful of interrupt controllers and it unnecessarily complicates the code by adding special cases on how to look up mappings and different revmap functions are used for each type which need to validate the correct type is passed to it before performing t

[RFC 04/10] irqdomain: merge linear and tree reverse mappings.

2013-06-09 Thread Grant Likely
From: Grant Likely Keeping them separate makes irq_domain more complex and adds a lot of code (as proven by the diffstat). Merging them simplifies the whole scheme. This change makes it so both the tree and linear methods can be used by the same irq_domain instance. If the hwirq is less than t

[RFC 02/10] irqdomain: Replace LEGACY mapping with LINEAR

2013-06-09 Thread Grant Likely
The LEGACY mapping unnecessarily complicates the irqdomain code and can easily be implemented with a linear mapping. By ripping it out and replacing it with the LINEAR mapping the object size of irqdomain.c shrinks by about 330 bytes (ARMv7) which offsets the additional allocation required by the

[RFC 07/10] irqdomain: Beef up debugfs output

2013-06-09 Thread Grant Likely
This patch increases the amount of output produced by the irq_domain_mapping debugfs file by first listing all of the registered irq domains at the beginning of the output, and then by including all mapped IRQs in the output, not just the active ones. It is very useful when debugging irqdomain issu

[RFC 06/10] irqdomain: Clean up aftermath of irq_domain refactoring

2013-06-09 Thread Grant Likely
After refactoring the irqdomain code, there are a number of API functions that are merely empty wrappers around core code. Drop those wrappers out of the C file and replace them with static inlines in the header. Signed-off-by: Grant Likely --- arch/powerpc/platforms/cell/beat_interrupt.c | 2

[RFC 09/10] irqdomain: remove irq_domain_generate_simple()

2013-06-09 Thread Grant Likely
Nobody calls it; remove the function Signed-off-by: Grant Likely --- include/linux/irqdomain.h | 8 kernel/irq/irqdomain.c| 15 --- 2 files changed, 23 deletions(-) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index f9e8e06..fe7c57d 100644 --- a/i

[RFC 00/10] Refactor irqdomain

2013-06-09 Thread Grant Likely
I've done a bunch of refactoring work on the irq_domain infrastructure. Some of these patches I've posted before, and some our brand new. The goal of this is to greatly simplify how irq_domains work. With this series, instead of there being multiple different types of irq domains, each with differe

[RFC 01/10] irqdomain: Relax failure path on setting up mappings

2013-06-09 Thread Grant Likely
Commit 98aa468e, "irqdomain: Support for static IRQ mapping and association" introduced an API for directly associating blocks of hwirqs to linux irqs. However, if any irq in that block failed to map (say if the mapping functions returns an error because the irq is already mapped) then the whole th

[RFC 08/10] irqdomain: Refactor irq_domain_associate_many()

2013-06-09 Thread Grant Likely
Originally, irq_domain_associate_many() was designed to unwind the mapped irqs on a failure of any individual association. However, that proved to be a problem with certain IRQ controllers. Some of them only support a subset of irqs, and will fail when attempting to map a reserved IRQ. In those cas

[RFC 03/10] irqdomain: Add a name field

2013-06-09 Thread Grant Likely
This patch adds a name field to the irq_domain structure to help mere mortals understand the mappings between irq domains and virqs. It also converts a number of places that have open-coded some kind of fudging an irqdomain name to use the new field. This means a more consistent display of names in

[RFC 10/10] irqchip: Make versatile fpga irq driver a generic chip

2013-06-09 Thread Grant Likely
This is an RFC patch to convert the versatile FPGA irq controller driver to use generic irq chip. It builds on the series that extends the generic chip code to allow a linear irq domain to contain one or more generic irq chips so that each interrupt controller doesn't need to hand code the generic

Re: [PATCH RFC v2 2/3] ec: add ec space notifier

2013-06-09 Thread li guang
在 2013-06-06四的 12:59 +0200,Rafael J. Wysocki写道: > On Thursday, June 06, 2013 09:40:34 AM liguang wrote: > > add a notifier for anyone who are instresting in > > ec space changing. > > > > Signed-off-by: liguang > > I'm not going to apply this anyway, but can you please explain what's the > probl

Re: [f2fs-dev] [PATCH 1/4] f2fs: reorganize the f2fs_setattr() function.

2013-06-09 Thread Changman Lee
Hello, Namjae If using ACL, whenever i_mode is changed we should update acl_mode which is written to xattr block, too. And vice versa. Because update_inode() is called at any reason and anytime, so we should sync both the moment xattr is written. We don't hope that only i_mode is written to disk a

Re: [PATCH RFC v2 0/3] add cpu physically hotplug driver

2013-06-09 Thread li guang
Hi, Rafael 在 2013-06-06四的 13:00 +0200,Rafael J. Wysocki写道: > On Thursday, June 06, 2013 09:40:32 AM liguang wrote: > > This patch-set try to support physically hot-plug/unplug > > a cpu automatically, that is: > > if you offline a cpu, it will automatically actually remove > > a cpu, and if you ho

Re: [RFC][PATCH 1/2] dma-buf: add importer private data to attachment

2013-06-09 Thread 김승우
On 2013년 06월 07일 20:24, Maarten Lankhorst wrote: > Op 07-06-13 04:32, 김승우 schreef: >> Hello Maarten, >> >> On 2013년 06월 05일 22:23, Maarten Lankhorst wrote: >>> Op 31-05-13 10:54, Seung-Woo Kim schreef: dma-buf attachment has only exporter private data, but importer private data ca

Re: [PATCH] pwm: devm: alloc correct pointer size

2013-06-09 Thread Wolfram Sang
On Thu, Jun 06, 2013 at 10:43:41PM +0300, Andy Shevchenko wrote: > On Mon, Jun 3, 2013 at 11:27 PM, Wolfram Sang wrote: > > The allocated object should be the size of what the pointer is pointing > > to and not the size of the pointer itself. > > All devm_* functions in this module use **ptr as a

[PATCH v2] mtd: orion_nand: Improve error handling in orion_nand_probe

2013-06-09 Thread Emil Goode
This patch fixes some issues in the error handling and simplifies the code by converting to devm* functions. If the kzalloc call fails it is unnecessary to use the label no_res and pass a NULL pointer to kfree. If the devm_kzalloc call fails on line 110 we forget to call iounmap for the previous i

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-09 Thread Maciej W. Rozycki
On Sun, 9 Jun 2013, David Daney wrote: > > How different MIPS SMP systems are? > > o Old SGI heavy metal (several different system architectures). > > o Cavium OCTEON SMP SoCs. > > o Broadcom (several flavors) SoCs > > o Loongson o Old DEC hardware (DECsystem 58x0, R3000-based). o Malta-ba

Re: [Arm-netbook] getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))

2013-06-09 Thread luke.leighton
On Sun, Jun 9, 2013 at 11:31 PM, Russell King - ARM Linux wrote: > On Sun, Jun 09, 2013 at 11:09:59PM +0100, luke.leighton wrote: >> this is all a rather round-about way to say that for those people who >> heard and are thinking of heeding russell's call to "be silent and to >> ignore me" > > Okay

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-09 Thread David Daney
On 06/09/2013 12:31 AM, Gleb Natapov wrote: On Fri, Jun 07, 2013 at 04:15:00PM -0700, David Daney wrote: I should also add that I will shortly send patches for the kvm tool required to drive this VM as well as a small set of patches that create a para-virtualized MIPS/Linux guest kernel. The id

Block layer / MMC: Order of segments in SG-list

2013-06-09 Thread Joel A Fernandes
Hi, So I tried dumping addresses of an SG list in omap_hsmmc driver before it is passed to DMA. I found some interesting traces occasionally such as the below SG list of length 4. [6.758716] (0) length=4096, sg virt addr=c1318000, sg phy addr=81318000 [6.765863] (1) length=4096, sg virt a

[PATCH] f2fs: sync dir->i_size with its block allocation

2013-06-09 Thread Jaegeuk Kim
If new dentry block is allocated and its i_size is updated, we should update its inode block together in order to sync i_size and its block allocation. Otherwise, we can loose additional dentry block due to the unconsistent i_size. Errorneous Scenario --- In the recovery routine,

[PATCH 1/3] acpi: video: add function to support unregister backlight interface

2013-06-09 Thread Matthew Garrett
From: "Lee, Chun-Yi" There have some situation we unregister whole acpi/video driver by downstream driver just want to remove backlight control interface of acpi/video. It caues we lost other functions of acpi/video, e.g. transfer acpi event to input event. So, this patch add a new function, fin

[PATCH 2/3] ACPICA: Add interface for getting latest OS version requested via _OSI

2013-06-09 Thread Matthew Garrett
Drivers may need to make policy decisions based on the OS that the firmware believes it's interacting with. ACPI firmware will make a series of _OSI calls, starting from the oldest OS version they support and ending with the most recent. Add a function to return the last successful call so that dri

[PATCH 3/3] i915: Don't provide ACPI backlight interface if firmware expects Windows 8

2013-06-09 Thread Matthew Garrett
Windows 8 leaves backlight control up to individual graphics drivers rather than making ACPI calls itself. There's plenty of evidence to suggest that the Intel driver for Windows doesn't use the ACPI interface, including the fact that it's broken on a bunch of machines when the OS claims to support

[PATCH 0/3] Fix backlight issues on some Windows 8 systems

2013-06-09 Thread Matthew Garrett
Windows 8 introduced new policy for backlight control by pushing it out to graphics drivers. This appears to have coincided with a range of vendors adding Windows 8 checks to their backlight control code which trigger either awkward behaviour (Lenovo) or complete brokenness (some Dells). The simple

Re: [PATCH v5 5/6] mips/kvm: Fix ABI by moving manipulation of CP0 registers to KVM_{G,S}ET_ONE_REG

2013-06-09 Thread David Daney
On 06/08/2013 04:05 AM, Gleb Natapov wrote: On Wed, May 22, 2013 at 11:43:55AM -0700, David Daney wrote: From: David Daney Because not all 256 CP0 registers are ever implemented, we need a different method of manipulating them. Use the KVM_SET_ONE_REG/KVM_GET_ONE_REG mechanism. Now unused co

Re: [RFC 0/5] Enable f2fs support inline data

2013-06-09 Thread Jaegeuk Kim
Hi, 2013-06-08 (토), 15:25 +0800, Huajun Li: > > Hi Jaegeuk, > Thanks for your suggestion. > On Wed, Jun 5, 2013 at 3:13 PM, Jaegeuk Kim > wrote: > Hi Haicheng, > 2013-06-04 (화), 14:01 +0800, Haicheng Li: > > Hi Jaegeuk & Namjae, > > > > Sure, we'll addres

Re: power-efficient scheduling design

2013-06-09 Thread Catalin Marinas
Hi Preeti, (trimming lots of text, hopefully to make it easier to follow) On Sun, Jun 09, 2013 at 04:42:18AM +0100, Preeti U Murthy wrote: > On 06/08/2013 07:32 PM, Rafael J. Wysocki wrote: > > On Saturday, June 08, 2013 12:28:04 PM Catalin Marinas wrote: > >> On Fri, Jun 07, 2013 at 07:08:47PM +

[git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Benjamin Herrenschmidt
Hi Linus ! Here's the previous pull request with a couple of commits removed, this is purely regressions (though not all recent ones) or stable material. Cheers, Ben. The following changes since commit 1612e111e4e565422242727efb59499cce8738e4: Merge git://git.kernel.org/pub/scm/linux/kernel/

Re: [PATCH] mtd: orion_nand: Improve error handling in orion_nand_probe

2013-06-09 Thread Emil Goode
Hello, Sorry for not responding earlier, I was away from my computer. Thanks for the review, I will send a second version that applies on top of Andy's patch and fix that typo in the change log. Best regards, Emil On Mon, Jun 10, 2013 at 12:15:22AM +0300, Andy Shevchenko wrote: > On Sun, Jun 9,

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Benjamin Herrenschmidt
On Sun, 2013-06-09 at 14:33 -0700, Linus Torvalds wrote: > On Sun, Jun 9, 2013 at 12:56 AM, Benjamin Herrenschmidt > wrote: > > > > Here are a few more powerpc changes for 3.10. I've merged your > > tree in at some point (which I generally avoid) in order to get > > the compat network fixes as soo

Re: [Arm-netbook] getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))

2013-06-09 Thread Russell King - ARM Linux
On Sun, Jun 09, 2013 at 11:09:59PM +0100, luke.leighton wrote: > this is all a rather round-about way to say that for those people who > heard and are thinking of heeding russell's call to "be silent and to > ignore me" Okay, so you've just misrepresented me in the above comment. I never said any

Re: [PATCH v2] ethernet/arc/arc_emac - Add new driver

2013-06-09 Thread Francois Romieu
Alexey Brodkin : > On 06/08/2013 12:33 AM, Francois Romieu wrote: > > Alexey Brodkin : [...] > As replied to Joe I just want to name people contributed in this driver. > What is a appropriate way to do it? A polite way could be to see with contributors if it's ok for them to appear in the (c) s

Re: [Arm-netbook] getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))

2013-06-09 Thread luke.leighton
ok, so the deadline's almost up but the discussions of the past two or so days have basically i think everything that needs to be said, and i'm extremely grateful to everyone who's contributed, privately and publicly, especially on such short notice. i've passed it over to my associates who will t

[Update][PATCH] ACPI / scan: Simplify ACPI driver probing

2013-06-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: ACPI / scan: Simplify ACPI driver probing There is no particular reason why acpi_bus_driver_init() needs to be a separate function and its location with respect to its only caller, acpi_device_probe(), makes the code a bit difficult to follow. Besides, it doesn't

Re: [PATCH] ACPI / scan: Simplify ACPI driver probing

2013-06-09 Thread Rafael J. Wysocki
On Sunday, June 09, 2013 09:54:49 AM Aaron Lu wrote: > On 06/09/2013 09:19 AM, Aaron Lu wrote: > > On 06/09/2013 06:28 AM, Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> There is no particular reason why acpi_bus_driver_init() needs to be > >> a separate function and its location

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-09 Thread Rafael J. Wysocki
On Sunday, June 09, 2013 11:14:49 PM Borislav Petkov wrote: > On Sun, Jun 09, 2013 at 10:58:51PM +0200, Rafael J. Wysocki wrote: > > Can you possibly prepare a graph showing both the execution time > > and energy consumption for several different loop durations in your > > program (let's keep the 5

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
[ Is Jeremy the patchwork maintainer? If not, can people forward this to the real maintainer? ] On Sun, Jun 9, 2013 at 2:33 PM, Linus Torvalds wrote: > > This is not just bugfixes. In fact, as far as I can tell, this > *introduces* bugs, with that "get_user()" in the exception path that > can app

Re: [git pull] Exotic architecture fixes

2013-06-09 Thread Geert Uytterhoeven
Hi Linus, On Sun, Jun 9, 2013 at 11:34 PM, Linus Torvalds wrote: > Which of these are critical and have to be in 3.10? Most (I agree not all) of them are build fixes. Some (the h8300 symbol prefix commit and the input one) are fixes for regressions introduced in early v3.10-rc. I'd like to have

Re: [PATCH]memblock: do double array and add merge directly path in memblock_insert_region

2013-06-09 Thread Tejun Heo
Hello, On Mon, Jun 10, 2013 at 01:34:30AM +0800, Wang YanQing wrote: > If we allow do merge directly when insertion, we can get better performance, > this patch add support to do merge directly in memblock_insert_region. Do you have actual case where performance in this patch is problematic? > -

Re: [PATCH 4/6] ARM: sunxi: dt: Add Allwinner A10s DTSI

2013-06-09 Thread Arnd Bergmann
On Sunday 09 June 2013 18:36:05 Maxime Ripard wrote: > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/sun5i-a10s.dtsi | 286 > ++ > 1 file changed, 286 insertions(+) > create mode 100644 arch/arm/boot/dts/sun5i-a10s.dtsi Would it make sense to split

Re: [PATCH buf-fix] kernel, range: fix broken mtrr_cleanup

2013-06-09 Thread Yinghai Lu
On Sun, Jun 9, 2013 at 2:42 AM, Shan Wei wrote: > From: Samuel Liao > > > commit fbe06b7bae7c9cf6ab05168fce5ee93b2f4bae7c broken the mtrr_cleanup > due to return incorrect merged range. this patch remove the empty range > by swapping with the last. > > Error messages: > Jun 9 14:06:18 kernel: [

Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 12:56 AM, Benjamin Herrenschmidt wrote: > > Here are a few more powerpc changes for 3.10. I've merged your > tree in at some point (which I generally avoid) in order to get > the compat network fixes as soon as possible. > > Mostly regressions, and stuff I judged could/shoul

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-09 Thread Borislav Petkov
On Sun, Jun 09, 2013 at 10:58:51PM +0200, Rafael J. Wysocki wrote: > Can you possibly prepare a graph showing both the execution time > and energy consumption for several different loop durations in your > program (let's keep the 5000 us sleep for now), including multiples of > sampling_rate as wel

Re: [PATCH] mtd: orion_nand: Improve error handling in orion_nand_probe

2013-06-09 Thread Andy Shevchenko
On Sun, Jun 9, 2013 at 11:57 PM, Dan Carpenter wrote: > On Sun, Jun 09, 2013 at 10:27:03PM +0300, Andy Shevchenko wrote: >> On Sun, Jun 9, 2013 at 10:17 PM, Dan Carpenter >> wrote: >> > On Sun, Jun 09, 2013 at 08:15:20PM +0300, Andy Shevchenko wrote: >> >> What about another patch (that I guess

[PATCH] keucr: removed unnecessary variables and comments

2013-06-09 Thread Johannes Schilling
From: Laura Lawniczak blen and bn were only used in commented code fragments. since comments should be informative and not for storing old code, both, commented code and variables, were removed. Signed-off-by: Laura Lawniczak Signed-off-by: Johannes Schilling --- this one is against latest

Re: [RFC][PATCH] kconfig: Fix defconfig when one choice menu selects options that another choice menu depends on

2013-06-09 Thread Yann E. MORIN
Arve, All, On 2013-06-06 20:37 -0700, Arve Hjønnevåg spake thusly: > The defconfig and Kconfig combination below, which is based on 3.10-rc4 > Kconfigs, resulted in several options getting set to "m" instead of "y". OK, I was able to reproduce your test-case, and the fix seems reasonable. I'm ju

Re: [PATCH] mtd: orion_nand: Improve error handling in orion_nand_probe

2013-06-09 Thread Dan Carpenter
On Sun, Jun 09, 2013 at 10:27:03PM +0300, Andy Shevchenko wrote: > On Sun, Jun 9, 2013 at 10:17 PM, Dan Carpenter > wrote: > > On Sun, Jun 09, 2013 at 08:15:20PM +0300, Andy Shevchenko wrote: > > [] > > >> What about another patch (that I guess should go first) that converts > >> printk to dev

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-09 Thread Rafael J. Wysocki
On Sunday, June 09, 2013 09:08:23 PM Stratos Karafotis wrote: > On 06/09/2013 07:26 PM, Borislav Petkov wrote: > > On Sun, Jun 09, 2013 at 12:18:09AM +0200, Rafael J. Wysocki wrote: > >> The average power drawn by the package is slightly higher with the > >> patchset applied (27.66 W vs 27.25 W), b

[BOUNTY] Need a Working Driver Brought Up From 2.6.29 to 2.6.34. Will Pay.

2013-06-09 Thread kernel-dev
I have an OEM Driver that works Excellent under 2.6.29. I need it working in 2.6.34 The Target Platform is ARM / Gumstix Overo. It is a network WiFi driver, so I may post there as well. But, the stack trace from when the module hangs on load gives switch_to() as the last function call when add

Re: [RFC v2 1/2] saa7115: Implement i2c_board_info.platform_data

2013-06-09 Thread Jon Arne Jørgensen
On Sun, Jun 09, 2013 at 11:36:55AM +0200, Hans Verkuil wrote: > On Sat June 8 2013 19:29:41 Jon Arne Jørgensen wrote: > > On Fri, Jun 07, 2013 at 11:12:47AM +0200, Hans Verkuil wrote: > > > On Fri May 31 2013 13:40:25 Jon Arne Jørgensen wrote: > > > > Implement i2c_board_info.platform_data handling

Re: N900 device tree conversion: how to do first step

2013-06-09 Thread Aaro Koskinen
Hi, On Sun, Jun 09, 2013 at 03:59:44AM +0200, Pavel Machek wrote: > I'd like to convert Nokia N900 to device tree. > > Unfortunately, serial port is not easily available (very special cable > would be needed, does someone know where to get one?) and I don't have > BDI (and very special cable woul

[PATCH 2/2] x86, range: make add_range use blank slot

2013-06-09 Thread Yinghai Lu
Now add_range_with_merge will generate blank slot as subtract_range. we could reach the array limit because of blank slots. We can let add_range to have second try to use blank slot. Also use WARN_ONCE to print trace. Reported-by: Joshua Covington Signed-off-by: Yinghai Lu Cc: v3.9 --- kerne

  1   2   3   >