Re: [PATCH v2] ASoC: Add PCM1681 codec driver.

2013-08-01 Thread Mark Brown
On Thu, Aug 01, 2013 at 11:14:58AM +0200, Marek Belisko wrote: > PCM1681 can be controlled via I2C, SPI or in bootstrap mode (no control > mode). This code add > support only for I2C mode. Applied, thanks. One thing: > + if (val != -1) { > + regmap_update_bits(priv->regmap,

[PATCH v4] net: Add MOXA ART SoCs ethernet driver

2013-08-01 Thread Jonas Jensen
The MOXA UC-711X hardware(s) has an ethernet controller that seem to be developed internally. The IC used is "RTL8201CP". Since there is no public documentation, this driver is mostly the one published by MOXA that has been heavily cleaned up / ported from linux 2.6.9. Signed-off-by: Jonas

Re: [PATCH RESEND v2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-08-01 Thread Jan Vesely
On Mon 25 Mar 2013 20:40:09 CET, Jens Axboe wrote: > On Mon, Mar 25 2013, Jan Vesely wrote: >> 51506edc5741209311913 >> >> On Mon 25 Mar 2013 15:24:57 CET, Jens Axboe wrote: >>> On Mon, Mar 25 2013, Jan Vesely wrote: v2: changed a comment The original behavior was to refuse all

[PATCH] ARM: dts: exynos5420: add ADC device tree node

2013-08-01 Thread Naveen Krishna Chatradhi
From: Jaehoon Kim Add device tree node for ADC in exynos5420.dtsi Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Doug Anderson --- arch/arm/boot/dts/exynos5420.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi

Re: [26/84] ARM: OMAP: RX-51: change probe order of touchscreen and panel SPI devices

2013-08-01 Thread Ben Hutchings
On Thu, 2013-08-01 at 08:49 +0300, Tomi Valkeinen wrote: > Hi, > > On 31/07/13 16:23, Ben Hutchings wrote: > > 3.2.50-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Aaro Koskinen > > > > commit

Re: [PATCH 0/8] ARM: at91/dt: make use of periph id macros

2013-08-01 Thread Richard Genoud
2013/8/1 Richard Genoud : > 2013/8/1 Boris BREZILLON : >> Hello, >> >> This patch series move at91 SoCs peripheral id definitions from machine >> specific include dir to dt-bindings include dir. >> These macros are used to reference interrupts instead of peripheral numbers. >> >> This makes dt

Re: [PATCH 0/2] drivers/crypto/nx: fixes when input data is too large

2013-08-01 Thread Benjamin Herrenschmidt
On Fri, 2013-07-26 at 14:08 -0300, Marcelo Cerri wrote: > This series of patches fixes two bugs that are triggered when the input data > is > too large. The first one is caused by the miscalculation of physical addresses > and the second one by some limits that the co-processor has to the input

[PATCH] mm/hotplug: fix a drain pcp bug when offline pages

2013-08-01 Thread Xishi Qiu
__offline_pages() start_isolate_page_range() set_migratetype_isolate() set_pageblock_migratetype() -> this pageblock will be marked as MIGRATE_ISOLATE move_freepages_block() -> pages in PageBuddy will be moved into MIGRATE_ISOLATE list drain_all_pages() ->

[PATCH v2] ASoC: Add PCM1681 codec driver.

2013-08-01 Thread Marek Belisko
PCM1681 can be controlled via I2C, SPI or in bootstrap mode (no control mode). This code add support only for I2C mode. Signed-off-by: Marek Belisko --- Changes from v1: - fix de-emphasis handling (disable when invalid freq is used) - constify deemph freq - digital_mute refactoring - remove

Re: [Ksummit-2013-discuss] [ARM ATTEND] catching up on exploit mitigations

2013-08-01 Thread Dan Carpenter
I was just reading http://faultlinux.lip6.fr/ which says that in 2011 the static checker fault rate in arch/ and fs/ was worse than in drivers/. I suspect that there are some security vulnerabilities there. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe

Re: arch/x86/kernel/cpu/intel.c needs an update for Haswell?

2013-08-01 Thread Alex Shi
On 08/01/2013 04:53 PM, Alex Shi wrote: > -- > From 1322ea9e17ad4d9e49e2d93cfc04805368e28273 Mon Sep 17 00:00:00 2001 > From: Alex Shi > Date: Thu, 1 Aug 2013 16:30:23 +0800 > Subject: [PATCH 2/2] tlb/tlb_flushall_shift: add haswell tlb_flush_shift > > Tested on i5 4350U with munmap case,

Re: i915 backlight

2013-08-01 Thread Aaron Lu
On 08/01/2013 04:12 PM, Borislav Petkov wrote: > On Thu, Aug 01, 2013 at 09:13:35AM +0800, Aaron Lu wrote: >> Can you please run acpi_listen and then press the Fn-Fx key, see if the >> events are correctly sent out? > > Like this? > > # acpi_listen > video/brightnessdown BRTDN 0087

Re: memcg creates an unkillable task in 3.11-rc2

2013-08-01 Thread Michal Hocko
On Wed 31-07-13 15:09:16, Eric W. Biederman wrote: > Michal Hocko writes: > > > [I am CCing David here as well] > > > > On Tue 30-07-13 09:37:46, Eric W. Biederman wrote: > >> Michal Hocko writes: > >> > >> > On Tue 30-07-13 01:19:31, Eric W. Biederman wrote: > >> > [...] > >> >> Hmm. Looking

Re: [PATCH] net: check net.core.somaxconn sysctl values

2013-08-01 Thread Roman Gushchin
On 01.08.2013 04:10, David Miller wrote: From: Roman Gushchin Date: Wed, 31 Jul 2013 17:57:35 +0400 --- net/core/sysctl_net_core.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index cfdb46a..2ff093b 100644

[GIT PULL] GPIO fixes for v3.11

2013-08-01 Thread Linus Walleij
Hi Linus, here is yet another GPIO pull request, fixing the fix from the last one. It turns out that fixing the boot path for device tree boots on OMAP breaks out antique systems (such as OMAP1) and we need to find a better way. So we're reverting that "fix" for the moment and thinking about

Re: [PATCH 07/11] writeback: periodically trim the writeback list

2013-08-01 Thread Jan Kara
On Thu 01-08-13 16:16:18, Dave Chinner wrote: > On Wed, Jul 31, 2013 at 05:15:42PM +0200, Jan Kara wrote: > > On Wed 31-07-13 14:15:46, Dave Chinner wrote: > > > From: Dave Chinner > > > > > > Inodes are removed lazily from the bdi writeback list, so in the > > > absence of sync(2) work inodes

Re: [PATCH] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-01 Thread Hein Tibosch
Hi Jianpeng Ma, On 8/1/2013 10:18 AM, majianpeng wrote: > We found a problem when we removed a working sd card that the irqaction > of omap_hsmmc can sleep to 3.6s. This cause our watchdog to work. > In func omap_hsmmc_reset_controller_fsm, it should watch a 0->1 > transition.It used

Re: [git pull] vfs.git, part 1

2013-08-01 Thread Christoph Hellwig
On Mon, Jul 01, 2013 at 08:59:49PM +0100, Al Viro wrote: > The major change in that pile is ->readdir() replacement with ->iterate(), > dealing with ->f_pos races in ->readdir() instances for good. There's > a lot more, but I'd prefer to split the pull request into several stages > and this is

Re: [PATCH RFC V11 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-01 Thread Raghavendra K T
On 08/01/2013 01:15 PM, Gleb Natapov wrote: On Thu, Aug 01, 2013 at 01:08:47PM +0530, Raghavendra K T wrote: On 07/31/2013 11:54 AM, Gleb Natapov wrote: On Tue, Jul 30, 2013 at 10:13:12PM +0530, Raghavendra K T wrote: On 07/25/2013 03:08 PM, Raghavendra K T wrote: On 07/25/2013 02:45 PM,

Re: [PATCH V8 00/33] loop: Issue O_DIRECT aio using bio_vec

2013-08-01 Thread Christoph Hellwig
What should be added to this support is to move the swap over nfs code over to this interface instead of the utterly bogus KERNEL_READ/KERNEL_WRITE hacks that were added for it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: arch/x86/kernel/cpu/intel.c needs an update for Haswell?

2013-08-01 Thread Alex Shi
On 07/31/2013 03:54 AM, Borislav Petkov wrote: > On Tue, Jul 30, 2013 at 10:44:02PM +0300, Ilari Stenroth wrote: >> On 30.7.2013 22.35, Borislav Petkov wrote: >>> On Tue, Jul 30, 2013 at 09:50:49PM +0300, Ilari Stenroth wrote: Does somebody know why arch/x86/kernel/cpu/intel.c has

Re: [PATCH] mfd: twl4030-power: Staticize local functions

2013-08-01 Thread Lee Jones
On Thu, 01 Aug 2013, Jingoo Han wrote: > twl4030_power_configure_scripts(), twl4030_power_configure_resources(), > twl4030_power_probe() are used only in this file. > > Fix the following sparse warnings: > > drivers/mfd/twl4030-power.c:496:5: warning: symbol > 'twl4030_power_configure_scripts'

Re: [PATCH] mfd: lpc_ich: Staticize struct 'lpc_chipset_info'

2013-08-01 Thread Lee Jones
On Thu, 01 Aug 2013, Jingoo Han wrote: > 'lpc_chipset_info' is used only in this file. > > Fix the following sparse warning: > > drivers/mfd/lpc_ich.c:216:21: warning: symbol 'lpc_chipset_info' was not > declared. Should it be static? > > Signed-off-by: Jingoo Han > --- >

Re: [PATCH] mfd: max8997: cast void pointer to data of max8997_pmic_dt_match

2013-08-01 Thread Lee Jones
On Thu, 01 Aug 2013, Jingoo Han wrote: > Casting (void *) data of max8997_pmic_dt_match is necessary, > because variable 'data' of struct 'of_device_id' is defined as > 'const void *data'. Thus, pointer should be used instead of value. > > Signed-off-by: Jingoo Han > --- >

Re: [PATCH] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-01 Thread Naveen Krishna Ch
On 1 August 2013 14:02, amit daniel kachhap wrote: > Hi Naveen, > > Can you rebase these patches against > https://git.kernel.org/cgit/linux/kernel/git/evalenti/linux-soc-thermal.git/log/?h=next. > All these patches have been queued for 3.12 merge and contains the new > re-structured TMU driver.

Re: [PATCH 1/1] mfd: palmas: Add power off control

2013-08-01 Thread Lee Jones
On Wed, 31 Jul 2013, Stephen Warren wrote: > On 07/31/2013 03:56 AM, Lee Jones wrote: > > On Tue, 30 Jul 2013, Bill Huang wrote: > > > >> Hook up "pm_power_off" to palmas power off routine if there is DT > >> property "ti,system-power-controller" defined, so platform which is > >> powered by

Re: [PATCH v2] staging/lustre: lloop depends on BLOCK

2013-08-01 Thread Christoph Hellwig
On Tue, Jul 30, 2013 at 08:29:51AM +0800, Xiong Zhou wrote: > From: Xiong Zhou > > In the lustre client driver, lloop depends on BLOCK. Add an > option for this dependence. Last version of this patch makes > LUSTRE_FS depends on BLOCK. > Remove unnecessary jdb head files which depends on BLOCK.

[git pull] Please pull powerpc.git merge branch

2013-08-01 Thread Benjamin Herrenschmidt
Hi Linus ! Here is not quite a handful of powerpc fixes for rc3. The windfarm fix is a regression fix (though not a new one), the PMU interrupt rename is not a fix per-se but has been submitted a long time ago and I kept forgetting to put it in (it puts us back in sync with x86), the other perf

[PATCHv3 3/3] fb: backlight: HX8357: Add HX8369 support

2013-08-01 Thread Maxime Ripard
From: Alexandre Belloni Add support for the Himax HX8369 controller as it is quite similar to the hx8357. Signed-off-by: Alexandre Belloni Signed-off-by: Maxime Ripard Acked-by: Jingoo Han --- drivers/video/backlight/hx8357.c | 219 --- 1 file changed,

[PATCHv3 2/3] video: hx8357: Make IM pins optional

2013-08-01 Thread Maxime Ripard
The IM pins of the HX8357 controller are used to define the interface used to feed pixel stream to the LCD panel. Most of the time, these pins are directly routed to either the ground or the VCC to set their values. Remove the need to assign GPIOs to these pins when we are in such a case.

[PATCHv3 0/3] Few ignored framebuffer fixes/additions

2013-08-01 Thread Maxime Ripard
Hi, This is the v2 of a set of patches that got forgotten. These have been around for a while without any functionnal comments recently, so I guess we should be pretty close to merge them. It would be great if we could have comments from the maintainer on these patches though (three patches

[PATCHv3 1/3] video: mxsfb: fix color settings for 18bit data bus and 32bpp

2013-08-01 Thread Maxime Ripard
From: Hector Palacios For a combination of 18bit LCD data bus width and a color mode of 32bpp, the driver was setting the color mapping to rgb666, which is wrong, as the color in memory realy has an rgb888 layout. This patch also removes the setting of flag CTRL_DF24 that makes the driver

Re: Re: [PATCH] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-01 Thread majianpeng
>Hi Jianpeng Ma, > >On 8/1/2013 10:18 AM, majianpeng wrote: >> We found a problem when we removed a working sd card that the irqaction >> of omap_hsmmc can sleep to 3.6s. This cause our watchdog to work. >> In func omap_hsmmc_reset_controller_fsm, it should watch a 0->1 >> transition.It used

Cannot hot remove a memory device

2013-08-01 Thread Yasuaki Ishimatsu
By following commit, I cannot hot remove a memory device. ACPI / memhotplug: Bind removable memory blocks to ACPI device nodes commit e2ff39400d81233374e780b133496a2296643d7d Details are follows: When I add a memory device, acpi_memory_enable_device() always fails as follows: ... [ 1271.114116]

Re: RFC: named anonymous vmas

2013-08-01 Thread Rich Felker
On Thu, Aug 01, 2013 at 01:29:51AM -0700, Christoph Hellwig wrote: > Btw, FreeBSD has an extension to shm_open to create unnamed but fd > passable segments. From their man page: > > As a FreeBSD extension, the constant SHM_ANON may be used for the path > argument to shm_open(). In this

Re: [PATCH 01/11] writeback: plug writeback at a high level

2013-08-01 Thread Jan Kara
On Thu 01-08-13 15:48:05, Dave Chinner wrote: > On Wed, Jul 31, 2013 at 04:40:19PM +0200, Jan Kara wrote: > > On Wed 31-07-13 14:15:40, Dave Chinner wrote: > > > From: Dave Chinner > > > > > > Doing writeback on lots of little files causes terrible IOPS storms > > > because of the per-mapping

Re: [PATCH] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-01 Thread amit daniel kachhap
Hi Naveen, Can you rebase these patches against https://git.kernel.org/cgit/linux/kernel/git/evalenti/linux-soc-thermal.git/log/?h=next. All these patches have been queued for 3.12 merge and contains the new re-structured TMU driver. Thanks, Amit Daniel On Thu, Aug 1, 2013 at 11:32 AM, Naveen

Re: [GIT PULL] nohz patches for 3.12 preview v3

2013-08-01 Thread Peter Zijlstra
On Thu, Aug 01, 2013 at 02:31:17AM +0200, Frederic Weisbecker wrote: > Hi, > > So none of the patches from the previous v2 posting have changed. > I've just added two more in order to fix build crashes reported > by Wu Fengguang: > > hardirq: Split preempt count mask definitions >

Re: RFC: named anonymous vmas

2013-08-01 Thread Christoph Hellwig
Btw, FreeBSD has an extension to shm_open to create unnamed but fd passable segments. From their man page: As a FreeBSD extension, the constant SHM_ANON may be used for the path argument to shm_open(). In this case, an anonymous, unnamed shared memory object is created. Since the

Hello

2013-08-01 Thread Jon Hutchins
I am Capt. Jon Hutchins from Multinational Base Tarin Kot, Afghanistan. I found your contact particulars in an address journals and i summoned up courage to contact you. With a very despirate need for help, i am seeking your assistance in evacuating the sum of $5,200,000.00 to you for safe

Re: [PATCH 1/4] ALSA: Added jack detection kcontrol support

2013-08-01 Thread Mark Brown
On Wed, Jul 31, 2013 at 08:48:27PM -0700, Felipe Ferreri Tonello wrote: > I did that but I'm not happy with the control name. Usually drivers > add jacks like: "Headset" for a headset, "Headphone" for a headphone > and so on. > I did the following: control name is jack name + (jack type) + Jack.

Re: [PATCH 2/3] xfs: Implement FALLOC_FL_COLLAPSE_RANGE

2013-08-01 Thread Christoph Hellwig
Instead of adding more mess to change_file_space it might be a good idea to pull my "refactor the preallocation and hole punching code" series from December in first. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 08/11] inode: convert per-sb inode list to a list_lru

2013-08-01 Thread Christoph Hellwig
At this point the list_lru name really becomes confusing. Given that it's not really LRU specific maybe just rename it to pernode_list or similar? -- 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

Re: [PATCH 0/9] perf tools: Enhance and correct srcline behavior

2013-08-01 Thread Peter Zijlstra
On Thu, Aug 01, 2013 at 11:55:35AM +0900, Namhyung Kim wrote: > Hello, > > This patchset tries to fix and enhance current srcline behavior. > > Firstly it doesn't actually sort by srcline info but by ip. I suspect > it was because of a performance reason to run external addr2line > utility. It

Re: [RFC][PATCH] cpufreq: Do not hold driver module references for additional policy CPUs

2013-08-01 Thread Srivatsa S. Bhat
On 08/01/2013 05:38 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The cpufreq core is a little inconsistent in the way it uses the > driver module refcount. > > Namely, if __cpufreq_add_dev() is called for a CPU without siblings > or generally a CPU for which a new policy object

RE: [PATCH] crypto: remove double execution of the same test suite

2013-08-01 Thread Stoica Cristian-B18196
> Which algorithm (apart from crc* which I know and will fix) uses the > same driver name as its algorithm name? Doing this will cause issues > when an alternative implementation for that algorithm gets added. Fixing names resolves double calls only for the thread cryptomgr_test->alg_test where

Re: [PATCH 02/11] inode: add IOP_NOTHASHED to avoid inode hash lock in evict

2013-08-01 Thread Christoph Hellwig
On Wed, Jul 31, 2013 at 02:15:41PM +1000, Dave Chinner wrote: > From: Dave Chinner > > Some filesystems don't use the VFS inode hash and fake the fact they > are hashed so that all the writeback code works correctly. However, > this means the evict() path still tries to remove the inode from the

Re: i915 backlight

2013-08-01 Thread Borislav Petkov
On Thu, Aug 01, 2013 at 09:13:35AM +0800, Aaron Lu wrote: > Can you please run acpi_listen and then press the Fn-Fx key, see if the > events are correctly sent out? Like this? # acpi_listen video/brightnessdown BRTDN 0087 video/brightnessup BRTUP 0086

Re: [PATCH] MAINTAINERS: Add separate section for USB NETWORKING DRIVERS

2013-08-01 Thread Joe Perches
On Thu, 2013-08-01 at 15:56 +0800, Greg KH wrote: > On Thu, Aug 01, 2013 at 12:48:48AM -0700, Joe Perches wrote: > > There are several drivers in drivers/net/usb/ that > > do not have specific MAINTAINERS that should have > > emails forwarded to the linux-usb mailing list. > > diff --git

Re: i915 backlight

2013-08-01 Thread Borislav Petkov
On Wed, Jul 31, 2013 at 11:16:52PM +0200, Rafael J. Wysocki wrote: > Does reverting efaa14c help? Nope. But see my other reply to Aaron. 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

Re: [PATCH 1/6] usb: host: add has_tdi_phy_lpm capability bit

2013-08-01 Thread Matthieu CASTET
Hi, Le Wed, 31 Jul 2013 18:41:57 +0100, Tuomas Tynkkynen a écrit : > The has_hostpc capability bit indicates that the host controller has > the HOSTPC register extensions, but at the same time enables clock > disabling power saving features with the PHY Low Power Clock Disable > (PHCD) bit. >

Re: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-01 Thread Lee Jones
On Wed, 31 Jul 2013, Kim, Milo wrote: > Thanks for the review, please see my comments. > > > * looks good up to me up to here * > > > > Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is > > there nothing we can do about that? > > OK, enum value of lp3943_pwm_output can be

Re: [mmotm:master 69/312] kernel/watchdog.c:518:2: error: implicit declaration of function '__smp_call_function_single'

2013-08-01 Thread Michal Hocko
On Thu 01-08-13 08:42:17, Wu Fengguang wrote: > tree: git://git.cmpxchg.org/linux-mmotm.git master > head: 01db8fe7b3c8461274e4c9257789514987e7abc8 > commit: 5701031ddea61c051fb8309cbf372dd94e540f22 [69/312] watchdog: update > watchdog_tresh properly > config: i386-randconfig-c00-0801

[PATCH] f2fs: fix handling orphan inodes

2013-08-01 Thread Jaegeuk Kim
This patch fixes mishandling of the sbi->n_orphans variable. If users request lots of f2fs_unlink(), check_orphan_space() could be contended. In such the case, sbi->n_orphans can be read incorrectly so that f2fs_unlink() would fall into the wrong state which results in the failure of

Re: [PATCH v3] microblaze: Fix clone syscall

2013-08-01 Thread Michal Simek
On 07/31/2013 10:10 PM, Andrew Morton wrote: > On Mon, 29 Jul 2013 09:01:48 +0200 Michal Simek > wrote: > >> Fix inadvertent breakage in the clone syscall ABI for Microblaze >> that was introduced in this patch: >> "microblaze: switch to generic fork/vfork/clone" >> (sha1:

[PATCH v4] microblaze: Fix clone syscall

2013-08-01 Thread Michal Simek
Fix inadvertent breakage in the clone syscall ABI for Microblaze that was introduced in this patch: "microblaze: switch to generic fork/vfork/clone" (sha1: f3268edbe6fe0ce56e62c6d6b14640aeb04864b7) The Microblaze syscall ABI for clone takes the parent tid address in the 4th argument; the third

[PATCH] openrisc: tlb miss handler optimizations

2013-08-01 Thread Stefan Kristiansson
By slightly reorganizing the code, the number of registers used in the tlb miss handlers can be reduced by two, thus removing the need to save them to memory. Also, some dead and commented out code is removed. No functional change. Signed-off-by: Stefan Kristiansson ---

Re: [PATCH] MAINTAINERS: Add separate section for USB NETWORKING DRIVERS

2013-08-01 Thread Greg KH
On Thu, Aug 01, 2013 at 12:48:48AM -0700, Joe Perches wrote: > There are several drivers in drivers/net/usb/ that > do not have specific MAINTAINERS that should have > emails forwarded to the linux-usb mailing list. > > Add a section for those drivers. > > Signed-off-by: Joe Perches > --- > >

Re: linux-next: Tree for Aug 1

2013-08-01 Thread Sedat Dilek
On Thu, Aug 1, 2013 at 9:25 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20130731: > > Removed trees: xen-arm (merged into the xen-tip tree) > > The ext4 tree still has its build failure so I used the version from > next-20130726. > > The driver-core tree gained a conflict against the

Re: [RFC PATCH] sched: Reduce overestimating avg_idle

2013-08-01 Thread Peter Zijlstra
On Thu, Aug 01, 2013 at 12:36:41AM -0700, Jason Low wrote: > So how acceptable is setting a limit of 2*migration cost or less on the > delta rather than on the avg? Its fine with me as we're already doing that. But since you asked last time around if those two things weren't unrelated etc.. --

[PATCH] MAINTAINERS: Add separate section for USB NETWORKING DRIVERS

2013-08-01 Thread Joe Perches
There are several drivers in drivers/net/usb/ that do not have specific MAINTAINERS that should have emails forwarded to the linux-usb mailing list. Add a section for those drivers. Signed-off-by: Joe Perches --- > In the future, you do not need to send drivers/net/usb/ patches to me, > netdev

Re: [PATCH RFC V11 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-01 Thread Gleb Natapov
On Thu, Aug 01, 2013 at 01:08:47PM +0530, Raghavendra K T wrote: > On 07/31/2013 11:54 AM, Gleb Natapov wrote: > >On Tue, Jul 30, 2013 at 10:13:12PM +0530, Raghavendra K T wrote: > >>On 07/25/2013 03:08 PM, Raghavendra K T wrote: > >>>On 07/25/2013 02:45 PM, Gleb Natapov wrote: > On Thu, Jul

Re: [PATCH 0/5] Enable Drivers for Intel MIC X100 Coprocessors.

2013-08-01 Thread Asias He
Hello Sudeep Dutt, On Wed, Jul 31, 2013 at 06:46:08PM -0700, Greg Kroah-Hartman wrote: > On Wed, Jul 24, 2013 at 08:31:31PM -0700, Sudeep Dutt wrote: > > An Intel MIC X100 device is a PCIe form factor add-in coprocessor > > card based on the Intel Many Integrated Core (MIC) architecture > > that

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-08-01 Thread Zoran Markovic
Ulf, I got confirmation from Broadcom that all cell phone reference designs have card insert/removal configured as a wakeup IRQ. Unless our customers change that - which I doubt - this results in a considerable number of products implementing this feature. Please let me know how you wish to

Re: [PATCH 0/8] ARM: at91/dt: make use of periph id macros

2013-08-01 Thread Richard Genoud
2013/8/1 Boris BREZILLON : > Hello, > > This patch series move at91 SoCs peripheral id definitions from machine > specific include dir to dt-bindings include dir. > These macros are used to reference interrupts instead of peripheral numbers. > > This makes dt definitions cleaner and easier to

Re: [char-misc-next 2/3] mei: adding sysfs fw_status attribute

2013-08-01 Thread Greg KH
On Thu, Aug 01, 2013 at 07:21:30AM +, Winkler, Tomas wrote: > > > > On Mon, Jul 29, 2013 at 11:08:52PM +, Winkler, Tomas wrote: > > > How do I add new device specific sysfs in non-race way if my entry > > > point is the pci probe function. > > > > You do it in the device creation for the

Re: [RFC PATCH] sched: Reduce overestimating avg_idle

2013-08-01 Thread Jason Low
> I wonder if we could get even more conservative values > of avg_idle by clamping delta to max, before calling > update_avg... > > Or rather, I wonder if that would matter enough to make > a difference, and in what direction that difference would > be. > > In other words: > > if

Re: [PATCH RFC V11 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-01 Thread Raghavendra K T
On 07/31/2013 11:54 AM, Gleb Natapov wrote: On Tue, Jul 30, 2013 at 10:13:12PM +0530, Raghavendra K T wrote: On 07/25/2013 03:08 PM, Raghavendra K T wrote: On 07/25/2013 02:45 PM, Gleb Natapov wrote: On Thu, Jul 25, 2013 at 02:47:37PM +0530, Raghavendra K T wrote: On 07/24/2013 06:06 PM,

Re: [PATCH 1/3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-01 Thread Sonic Zhang
Hi Linus, On Tue, Jul 30, 2013 at 12:47 AM, Linus Walleij wrote: > On Fri, Jul 26, 2013 at 6:57 AM, Sonic Zhang wrote: > >> Could you please comment on this patch set? It is based on your former >> comments. > > I'll get to it. I'm pretty choked right now and actually trying to have > some

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: > This patch enables the following: > a) Initializes the Intel MIC X100 PCIe devices. > b) Boots and shuts down the card via sysfs entries. > c) Allocates and maps a device page for communication with the > card driver and updates the

Re: [PATCH 0/5] Enable Drivers for Intel MIC X100 Coprocessors.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:31PM -0700, Sudeep Dutt wrote: > An Intel MIC X100 device is a PCIe form factor add-in coprocessor > card based on the Intel Many Integrated Core (MIC) architecture > that runs a Linux OS. It is a PCIe endpoint in a platform and therefore > implements the three

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: > This patch enables the following: > a) Initializes the Intel MIC X100 PCIe devices. > b) Boots and shuts down the card via sysfs entries. > c) Allocates and maps a device page for communication with the > card driver and updates the

Re: x86: Make sure IDT is page aligned

2013-08-01 Thread Greg KH
On Thu, Jul 18, 2013 at 06:50:55PM -0700, Greg KH wrote: > On Thu, Jul 18, 2013 at 06:36:07PM -0700, Kees Cook wrote: > > On Thu, Jul 18, 2013 at 6:30 PM, Greg KH wrote: > > > On Fri, Jul 19, 2013 at 01:15:26AM +, Linux Kernel Mailing List wrote: > > >> Gitweb: > > >>

Re: [RESEND PATCH v10 1/8] drivers: phy: add generic PHY framework

2013-08-01 Thread Greg KH
On Fri, Jul 26, 2013 at 06:19:16PM +0530, Kishon Vijay Abraham I wrote: > +static int phy_get_id(void) > +{ > + int ret; > + int id; > + > + ret = ida_pre_get(_ida, GFP_KERNEL); > + if (!ret) > + return -ENOMEM; > + > + ret = ida_get_new(_ida, ); > + if (ret <

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: > --- /dev/null > +++ b/drivers/misc/mic/common/mic_device.h > @@ -0,0 +1,81 @@ > +/* > + * Intel MIC Platform Software Stack (MPSS) > + * > + * Copyright(c) 2013 Intel Corporation. > + * > + * This program is free software; you can

Re: [PATCH v7] serial:st-asc: Add ST ASC driver.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 31, 2013 at 10:36:48AM +0100, Srinivas KANDAGATLA wrote: > From: Srinivas Kandagatla > > This patch adds support to ASC (asynchronous serial controller) > driver, which is basically a standard serial driver. This IP is common > across all the ST parts for settop box platforms. > >

Re: [PATCH v2] mac80211: use oneshot blink API for LED triggers

2013-08-01 Thread Johannes Berg
On Thu, 2013-07-25 at 12:00 +0200, Fabio Baltieri wrote: > Change mac80211 LED trigger code to use the generic > led_trigger_blink_oneshot() API for transmit and receive activity > indication. > > This gives a better feedback to the user, as with the new API each > activity event results in a

Re: [PATCH v2] staging/lustre: lloop depends on BLOCK

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 31, 2013 at 10:30:41AM +0800, Xiong Zhou wrote: > From: Xiong Zhou > > First version of this patch makes LUSTRE_FS depends on BLOCK. Second > version makes only lloop depends on BLOCK with a config option for this > dependence, and remove unnecessary jdb header files which depends

linux-next: Tree for Aug 1

2013-08-01 Thread Stephen Rothwell
Hi all, Changes since 20130731: Removed trees: xen-arm (merged into the xen-tip tree) The ext4 tree still has its build failure so I used the version from next-20130726. The driver-core tree gained a conflict against the net-next tree. The usb-gadget tree lost its build failure but gained

RE: [char-misc-next 2/3] mei: adding sysfs fw_status attribute

2013-08-01 Thread Winkler, Tomas
> > On Mon, Jul 29, 2013 at 11:08:52PM +, Winkler, Tomas wrote: > > How do I add new device specific sysfs in non-race way if my entry > > point is the pci probe function. > > You do it in the device creation for the device you add below the PCI device > in sysfs, by setting the groups field

Re: [QUERY] lguest64

2013-08-01 Thread Mike Rapoport
On Wed, Jul 31, 2013 at 6:31 PM, Borislav Petkov wrote: > On Wed, Jul 31, 2013 at 12:39:23PM +0300, Mike Rapoport wrote: >> There are plenty virtual machines in EC2, Rackspace, HP and other >> clouds that do not have hardware virtualization. I believe that >> running a hypervisor on them may be

[PATCH v2 18/18] x86, numa, acpi, memory-hotplug: Make movablenode have higher priority.

2013-08-01 Thread Tang Chen
Arrange hotpluggable memory as ZONE_MOVABLE will cause NUMA performance down because the kernel cannot use movable memory. For users who don't use memory hotplug and who don't want to lose their NUMA performance, they need a way to disable this functionality. So we improved movablecore boot

[PATCH v2 06/18] x86, acpi: Initialize ACPI root table list earlier.

2013-08-01 Thread Tang Chen
We have split acpi_table_init() into two steps: 1. Pares RSDT or XSDT, and initialize acpi_gbl_root_table_list. This step will record all tables' physical address in memory. 2. Check acpi initrd table override and install all tables into acpi_gbl_root_table_list. This patch does step 1

[PATCH v2 03/18] acpi: Remove "continue" in macro INVALID_TABLE().

2013-08-01 Thread Tang Chen
The macro INVALID_TABLE() is defined like this: #define INVALID_TABLE(x, path, name)\ { pr_err("ACPI OVERRIDE: " x " [%s%s]\n", path, name); continue; } And it is used like this: for (...) { ... if (...)

[PATCH v2 04/18] acpi: Introduce acpi_invalid_table() to check if a table is invalid.

2013-08-01 Thread Tang Chen
In acpi_initrd_override(), it checks several things to ensure the table it found is valid. In later patches, we need to do these check somewhere else. So this patch introduces a common function acpi_invalid_table() to do all these checks, and reuse it in different places. The function will be used

[PATCH v2 02/18] earlycpio.c: Fix the confusing comment of find_cpio_data().

2013-08-01 Thread Tang Chen
The comments of find_cpio_data() says: * @offset: When a matching file is found, this is the offset to the * beginning of the cpio. .. But according to the code, dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4); *offset =

[PATCH v2 01/18] acpi: Print Hot-Pluggable Field in SRAT.

2013-08-01 Thread Tang Chen
The Hot-Pluggable field in SRAT suggests if the memory could be hotplugged while the system is running. Print it as well when parsing SRAT will help users to know which memory is hotpluggable. Signed-off-by: Tang Chen Reviewed-by: Wanpeng Li Reviewed-by: Zhang Yanfei Acked-by: Tejun Heo ---

[PATCH v2 05/18] x86, acpi: Split acpi_boot_table_init() into two parts.

2013-08-01 Thread Tang Chen
In ACPI, SRAT(System Resource Affinity Table) contains NUMA info. The memory affinities in SRAT record every memory range in the system, and also, flags specifying if the memory range is hotpluggable. (Please refer to ACPI spec 5.0 5.2.16) memblock starts to work at very early time, and SRAT has

[PATCH v2 08/18] x86: get pg_data_t's memory from other node

2013-08-01 Thread Tang Chen
From: Yasuaki Ishimatsu If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, use memblock_alloc_try_nid() instead of memblock_alloc_nid() to retry when the first allocation fails.

[PATCH v2 07/18] x86, acpi: Also initialize signature and length when parsing root table.

2013-08-01 Thread Tang Chen
Besides the phys addr of the acpi tables, it will be very convenient if we also have the signature of each table in acpi_gbl_root_table_list at early time. We can find SRAT easily by comparing the signature. This patch alse record signature and some other info in acpi_gbl_root_table_list at early

[PATCH v2 11/18] x86, acpi: Try to find SRAT in firmware earlier.

2013-08-01 Thread Tang Chen
This patch introduce early_acpi_firmware_srat() to find the phys addr of SRAT provided by firmware. And call it in find_hotpluggable_memory(). Since we have initialized acpi_gbl_root_table_list earlier, and store all the tables' phys addrs and signatures in it, it is easy to find the SRAT.

[PATCH v2 14/18] memblock, numa: Introduce flag into memblock.

2013-08-01 Thread Tang Chen
There is no flag in memblock to describe what type the memory is. Sometimes, we may use memblock to reserve some memory for special usage. And we want to know what kind of memory it is. So we need a way to differentiate memory for different usage. In hotplug environment, we want to reserve

Re: [PATCH 16/18] sched: Avoid overloading CPUs on a preferred NUMA node

2013-08-01 Thread Srikar Dronamraju
> +static int task_numa_find_cpu(struct task_struct *p, int nid) > +{ > + int node_cpu = cpumask_first(cpumask_of_node(nid)); > + int cpu, src_cpu = task_cpu(p), dst_cpu = src_cpu; > + unsigned long src_load, dst_load; > + unsigned long min_load = ULONG_MAX; > + struct

[PATCH v2 12/18] x86, acpi, numa, mem_hotplug: Find hotpluggable memory in SRAT memory affinities.

2013-08-01 Thread Tang Chen
In ACPI SRAT(System Resource Affinity Table), there is a memory affinity for each memory range in the system. In each memory affinity, there is a field indicating that if the memory range is hotpluggable. This patch parses all the memory affinities in SRAT only, and find out all the hotpluggable

[PATCH v2 16/18] memblock, mem_hotplug: Make memblock skip hotpluggable regions by default.

2013-08-01 Thread Tang Chen
Linux kernel cannot migrate pages used by the kernel. As a result, hotpluggable memory used by the kernel won't be able to be hot-removed. To solve this problem, the basic idea is to prevent memblock from allocating hotpluggable memory for the kernel at early time, and arrange all hotpluggable

[PATCH v2 15/18] memblock, mem_hotplug: Introduce MEMBLOCK_HOTPLUG flag to mark hotpluggable regions.

2013-08-01 Thread Tang Chen
In find_hotpluggable_memory, once we find out a memory region which is hotpluggable, we want to mark them in memblock.memory. So that we could control memblock allocator not to allocte hotpluggable memory for the kernel later. To achieve this goal, we introduce MEMBLOCK_HOTPLUG flag to indicate

[PATCH v2 17/18] mem-hotplug: Introduce movablenode boot option to {en|dis}able using SRAT.

2013-08-01 Thread Tang Chen
The Hot-Pluggable fired in SRAT specifies which memory is hotpluggable. As we mentioned before, if hotpluggable memory is used by the kernel, it cannot be hot-removed. So memory hotplug users may want to set all hotpluggable memory in ZONE_MOVABLE so that the kernel won't use it. Memory hotplug

[PATCH v2 13/18] x86, numa, mem_hotplug: Skip all the regions the kernel resides in.

2013-08-01 Thread Tang Chen
At early time, memblock will reserve some memory for the kernel, such as the kernel code and data segments, initrd file, and so on, which means the kernel resides in these memory regions. Even if these memory regions are hotpluggable, we should not mark them as hotpluggable. Otherwise the kernel

[PATCH v2 00/18] Arrange hotpluggable memory as ZONE_MOVABLE.

2013-08-01 Thread Tang Chen
This patch-set aims to solve some problems at system boot time to enhance memory hotplug functionality. [Background] The Linux kernel cannot migrate pages used by the kernel because of the kernel direct mapping. Since va = pa + PAGE_OFFSET, if the physical address is changed, we cannot simply

[PATCH v2 09/18] x86: Make get_ramdisk_{image|size}() global.

2013-08-01 Thread Tang Chen
In the following patches, we need to call get_ramdisk_{image|size}() to get initrd file's address and size. So make these two functions global. v1 -> v2: As tj suggested, make these two function static inline in arch/x86/include/asm/setup.h. Signed-off-by: Tang Chen Reviewed-by: Zhang Yanfei

<    3   4   5   6   7   8   9   10   11   12   >