Re: [PATCH 1/7] I2c-nomadik: Fix the usage of wait_for_completion_timeout

2012-11-12 Thread Wolfram Sang
> Thanks your pointing out. I just manually reviewed the code when found > this point. Would like to try some auto-script but failed:) I can suggest 'coccinelle' for that kind of job. -- Pengutronix e.K. | Wolfram Sang| Industrial Linux Solutions

Re: [PATCH 1/2] drm: Add NVIDIA Tegra20 support

2012-11-12 Thread Terje Bergström
On 09.11.2012 15:59, Thierry Reding wrote: > This commit adds a KMS driver for the Tegra20 SoC. This includes basic > support for host1x and the two display controllers found on the Tegra20 > SoC. Each display controller can drive a separate RGB/LVDS output. Thanks Thierry for the hard work. I

Re: [PATCH 2/2] ARM: tegra: Add Tegra30 host1x support

2012-11-12 Thread Thierry Reding
On Tue, Nov 13, 2012 at 03:45:52PM +0800, Mark Zhang wrote: > On 11/09/2012 09:20 PM, Thierry Reding wrote: [...] > > @@ -1337,6 +1337,9 @@ struct clk_duplicate tegra_clk_duplicates[] = { > > CLK_DUPLICATE("pll_p_out3", "tegra-i2c.2", "fast-clk"), > > CLK_DUPLICATE("pll_p_out3",

Re: Fix lapic time counter read for periodic mode

2012-11-12 Thread Christian Ehrhardt
Hi, thanks for your reply. On Mon, Nov 12, 2012 at 07:32:37PM -0200, Marcelo Tosatti wrote: > > there is a bug in the emulation of the lapic time counter. In particular > > what we are seeing is that the time counter of a periodic lapic timer > > in the guest reads as zero 99% of the time. The

Re: [patch] ALSA: es1968: precedence bug in snd_es1968_tea575x_get_pins()

2012-11-12 Thread Takashi Iwai
At Tue, 13 Nov 2012 10:44:54 +0300, Dan Carpenter wrote: > > I don't think this works as intended. '|' higher precedence than ?: so > the bitwize OR "0 | (val & STR_MOST)" is a no-op. > > I have re-written it to be more clear. > > Signed-off-by: Dan Carpenter Thanks, applied now. Takashi

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-12 Thread Thierry Reding
On Tue, Nov 13, 2012 at 03:45:00PM +0800, Mark Zhang wrote: > On 11/09/2012 09:20 PM, Thierry Reding wrote: > > @@ -116,6 +122,9 @@ static __initdata struct tegra_clk_init_table > > tegra_dt_clk_init_table[] = { > > { "sbc2", "pll_p",1, false }, > > {

Re: [PATCH v2 1/2] drm: Add NVIDIA Tegra20 support

2012-11-12 Thread Thierry Reding
On Tue, Nov 13, 2012 at 03:15:47PM +0800, Mark Zhang wrote: > On 11/13/2012 05:55 AM, Thierry Reding wrote: > > This commit adds a KMS driver for the Tegra20 SoC. This includes basic > > support for host1x and the two display controllers found on the Tegra20 > > SoC. Each display controller can

Re: [PATCH v3 00/13] Win 8 support for digitizers

2012-11-12 Thread Jiri Kosina
On Wed, 7 Nov 2012, Benjamin Tissoires wrote: > Hi Guys, > > here is the third version of this patchset. > I think I included most of Henrik's comments. > > Happy reviewing :) > > Cheers, > Benjamin > > v1 introduction: > So, this is an update for supporting Win 8 multitouch devices in the

Re: [PATCH V3 1/2] mfd: add TI TPS80031 mfd core driver

2012-11-12 Thread Mark Brown
On Sun, Nov 11, 2012 at 08:42:00PM +0530, Laxman Dewangan wrote: > +#define TPS80031_RGEMAP_IRQ(_reg, _mask) \ Why RGEMAP_IRQ? > +static struct regmap_irq_chip tps80031_irq_chip = { > + .name = "tps80031", > + .irqs = tps80031_main_irqs, > + .num_irqs =

[patch] ALSA: es1968: precedence bug in snd_es1968_tea575x_get_pins()

2012-11-12 Thread Dan Carpenter
I don't think this works as intended. '|' higher precedence than ?: so the bitwize OR "0 | (val & STR_MOST)" is a no-op. I have re-written it to be more clear. Signed-off-by: Dan Carpenter --- I don't have a way to test this. diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index

Re: [PATCH 2/2] ARM: tegra: Add Tegra30 host1x support

2012-11-12 Thread Mark Zhang
On 11/09/2012 09:20 PM, Thierry Reding wrote: > This commit adds the host1x node along with its children to the Tegra30 > DTSI. Furthermore the OF auxiliary data table is updated to have proper > names assigned to the platform devices instantiated from the device > tree. Moreover, the clocks

Re: [PATCH v3 01/13] HID: hid-input: export hidinput_calc_abs_res

2012-11-12 Thread Jiri Kosina
On Wed, 7 Nov 2012, Benjamin Tissoires wrote: > Exporting the function allows us to calculate the resolution in third > party drivers like hid-multitouch. > This patch also complete the function with additional valid axes. > > Signed-off-by: Benjamin Tissoires Acked-by: Jiri Kosina > --- >

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-12 Thread Mark Zhang
On 11/09/2012 09:20 PM, Thierry Reding wrote: > This commit adds the host1x node along with its children to the Tegra20 > DTSI. Furthermore the OF auxiliary data table is updated to have proper > names assigned to the platform devices instantiated from the device > tree. Moreover, the clocks

[patch] mips, arc: fix build failure

2012-11-12 Thread David Rientjes
Using a cross-compiler to fix another issue, the following build error occurred for mips defconfig: arch/mips/fw/arc/misc.c: In function 'ArcHalt': arch/mips/fw/arc/misc.c:25:2: error: implicit declaration of function 'local_irq_disable' Fix it up by including irqflags.h. Signed-off-by: David

Re: [PATCH v3 02/13] HID: hid-input: round return value of hidinput_calc_abs_res

2012-11-12 Thread Jiri Kosina
On Wed, 7 Nov 2012, Benjamin Tissoires wrote: > hidinput_calc_abs_res should return the closest int in the division > instead of the floor. > On a device with a logical_max of 3008 and a physical_max of 255mm, > previous implementation gave a resolution of 11 instead of 12. > With 11, user-space

Re: [PATCH v3 04/13] HID: hid-input: add usage_index in struct hid_usage.

2012-11-12 Thread Jiri Kosina
On Wed, 7 Nov 2012, Benjamin Tissoires wrote: > Currently, there is no way to know the index of the current field > in the .input_mapping and .event callbacks when this field is inside > an array of HID fields. > This patch adds this index to the struct hid_usage so that this > information is

Re: [PATCH v3 03/13] HID: core: fix unit exponent parsing

2012-11-12 Thread Jiri Kosina
On Wed, 7 Nov 2012, Benjamin Tissoires wrote: > HID spec details special values for the HID field unit exponent. > Basically, the range [0x8..0xf] correspond to [-8..-1], so this is > a standard two's complement on a half-byte. > > Signed-off-by: Benjamin Tissoires Acked-by: Jiri Kosina >

[patch] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v7 fix fix fix fix

2012-11-12 Thread David Rientjes
Move the definitions of MAP_HUGE_SHIFT and MAP_HUGE_MASK to mman-common.h and fixup the architectures which do not use that file to fix the following build failure: mm/mmap.c: In function 'SYSC_mmap_pgoff': mm/mmap.c:1271:15: error: 'MAP_HUGE_SHIFT' undeclared (first use in this function)

Re: [patch 3/7] fs, notify: Add file handle entry into inotify_inode_mark

2012-11-12 Thread Andrew Morton
On Tue, 13 Nov 2012 11:20:57 +0400 Cyrill Gorcunov wrote: > > > struct inotify_inode_mark { > > > struct fsnotify_mark fsn_mark; > > > int wd; > > > +#ifdef INOTIFY_USE_FHANDLE > > > + __u8 fhandle[sizeof(struct file_handle) + MAX_HANDLE_SZ]; > > > +#endif > > > }; > > > > Whoa. This

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-12 Thread Mark Zhang
On 11/13/2012 02:41 PM, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Tue, Nov 13, 2012 at 12:38:34PM +0800, Mark Zhang wrote: >> On 11/12/2012 05:39 PM, Mark Zhang wrote: >>> On 11/09/2012 09:20 PM, Thierry Reding wrote: > [...] @@ -1036,9 +1041,6 @@ static struct

Re: [PATCH v4 5/9] kernel: padata : use __this_cpu_read per-cpu helper

2012-11-12 Thread Herbert Xu
On Tue, Nov 13, 2012 at 08:27:03AM +0100, Steffen Klassert wrote: > On Tue, Nov 13, 2012 at 09:52:33AM +0800, Shan Wei wrote: > > From: Shan Wei > > > > For bottom halves off, __this_cpu_read is better. > > > > Signed-off-by: Shan Wei > > Reviewed-by: Christoph Lameter > > Acked-by: Steffen

Re: [PATCH] Add missing license for ioapic module.

2012-11-12 Thread Jan Beulich
>>> On 13.11.12 at 05:39, Andrew Cooks wrote: > config PCI_IOAPIC turned into a tristate in commit > b95a7bd700466c10fda84acbd33f70cf66ec91ce, but no module license is specified. > This adds the missing module license. > > Signed-off-by: Andrew Cooks Acked-by: Jan Beulich > --- >

[PATCH] pinctrl: spear: Fix the logic of setting reg in pmx_init_gpio_pingroup_addr

2012-11-12 Thread Axel Lin
Current code does not work if count > 1, fix it. Signed-off-by: Axel Lin --- drivers/pinctrl/spear/pinctrl-spear.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/spear/pinctrl-spear.c b/drivers/pinctrl/spear/pinctrl-spear.c index f9483ae..107780c

[PATCH v6] create sun sysfs file

2012-11-12 Thread Yasuaki Ishimatsu
Hi Rafael, The patch was rebased on linux-next. Ant it has been acked by Len: https://lkml.org/lkml/2012/10/10/65 So please merge it into your tree. --- _SUN method provides the slot unique-ID in the ACPI namespace. And The value is written in Advanced Configuration and Power Interface

Re: [PATCH v4 5/9] kernel: padata : use __this_cpu_read per-cpu helper

2012-11-12 Thread Steffen Klassert
On Tue, Nov 13, 2012 at 09:52:33AM +0800, Shan Wei wrote: > From: Shan Wei > > For bottom halves off, __this_cpu_read is better. > > Signed-off-by: Shan Wei > Reviewed-by: Christoph Lameter Acked-by: Steffen Klassert Herbert, are you going to take this one? -- To unsubscribe from this

Re: [PATCH 0/8] Announcement: Enhanced NUMA scheduling with adaptive affinity

2012-11-12 Thread Ingo Molnar
* Christoph Lameter wrote: > On Mon, 12 Nov 2012, Peter Zijlstra wrote: > > > The biggest conceptual addition, beyond the elimination of > > the home node, is that the scheduler is now able to > > recognize 'private' versus 'shared' pages, by carefully > > analyzing the pattern of how CPUs

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread David Gibson
On Mon, Nov 12, 2012 at 10:22:07PM -0700, Stephen Warren wrote: > On 11/12/2012 06:05 PM, David Gibson wrote: > > On Fri, Nov 09, 2012 at 09:42:37PM +, Grant Likely wrote: > ... > > 2) graft bundle > > > > The base tree has something like this: > > > > ... > > i2c@XXX { > >

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread David Gibson
On Mon, Nov 12, 2012 at 09:52:32AM -0700, Stephen Warren wrote: > On 11/12/2012 05:10 AM, Pantelis Antoniou wrote: [snip] > > Oh yes. In fact if one was to use a single kernel image for beagleboard > > and beaglebone, for the cape to work for both, it is required for it's > > dtb to be compatible.

Re: [patch 4/7] fs, notify: Add procfs fdinfo helper v4

2012-11-12 Thread Cyrill Gorcunov
On Mon, Nov 12, 2012 at 05:00:17PM -0800, Andrew Morton wrote: > > > > static const struct file_operations inotify_fops = { > > +#ifdef CONFIG_PROC_FS > > + .show_fdinfo= inotify_show_fdinfo, > > +#endif > > .poll = inotify_poll, > > .read = inotify_read, > >

Re: linux-next: manual merge of the arm-soc tree with the net-next tree

2012-11-12 Thread Joachim Eastwood
On 13 November 2012 05:15, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in > drivers/net/ethernet/cadence/at91_ether.c between various commits from > the net-next tree and commit bcd2360c1ff9 ("arm: at91: move platfarm_data > to

Re: [PATCH v4 3/9] net: xfrm: use __this_cpu_read per-cpu helper

2012-11-12 Thread Steffen Klassert
On Tue, Nov 13, 2012 at 09:52:09AM +0800, Shan Wei wrote: > From: Shan Wei > Please add a proper commit message, explaining why you do this change. > > Signed-off-by: Shan Wei > --- > v4: > derefrence pointer before reading to avoid compile warning. > --- > net/xfrm/xfrm_ipcomp.c |8

Re: [patch 3/7] fs, notify: Add file handle entry into inotify_inode_mark

2012-11-12 Thread Cyrill Gorcunov
On Mon, Nov 12, 2012 at 04:55:40PM -0800, Andrew Morton wrote: > On Mon, 12 Nov 2012 14:14:43 +0400 > Cyrill Gorcunov wrote: > > > This file handle will be used in /proc/pid/fdinfo/fd > > output, which in turn will allow to restore a watch > > target after checkpoint (thus it's provided for > >

Re: [PATCH v2 1/2] drm: Add NVIDIA Tegra20 support

2012-11-12 Thread Mark Zhang
On 11/13/2012 05:55 AM, Thierry Reding wrote: > This commit adds a KMS driver for the Tegra20 SoC. This includes basic > support for host1x and the two display controllers found on the Tegra20 > SoC. Each display controller can drive a separate RGB/LVDS output. > > Signed-off-by: Thierry Reding

Re: [PATCH 3/3] ACPI: Evaluate _CRS while creating device node objects

2012-11-12 Thread Mika Westerberg
On Mon, Nov 12, 2012 at 10:03:56PM +0100, Rafael J. Wysocki wrote: > > > +static acpi_status acpi_bus_add_resource(struct acpi_resource *res, > > > + void *context) > > > +{ > > > + struct list_head *list = context; > > > + struct acpi_resource_list_entry *entry; >

Re: [PATCH 02/46] x86, mm: Split out split_mem_range from init_memory_mapping

2012-11-12 Thread snakky . zhang
On 2012年11月13日 14:20, Yinghai Lu wrote: On Mon, Nov 12, 2012 at 9:51 PM, Yasuaki Ishimatsu wrote: 2012/11/13 6:17, Yinghai Lu wrote: + nr_range = 0; This is unnecessary since it is set in the below. + nr_range = split_mem_range(mr, nr_range, start, end);

Re: [patch 1/7] procfs: Add ability to plug in auxiliary fdinfo providers

2012-11-12 Thread Cyrill Gorcunov
On Mon, Nov 12, 2012 at 04:40:22PM -0800, Andrew Morton wrote: > > > > --- linux-2.6.git.orig/include/linux/fs.h > > +++ linux-2.6.git/include/linux/fs.h > > @@ -1517,6 +1517,8 @@ struct block_device_operations; > > #define HAVE_COMPAT_IOCTL 1 > > #define HAVE_UNLOCKED_IOCTL 1 > > > > +struct

Re: [PATCH 3/3] PM: Introduce Intel PowerClamp Driver

2012-11-12 Thread Jacob Pan
On Mon, 12 Nov 2012 22:33:36 -0800 Joe Perches wrote: > > Intel PowerClamp driver performs synchronized idle injection across > > all online CPUs. The goal is to maintain a given package level > > C-state ratio. > > style trivia: they are all good catches. will fix in the next version. --

Re: [PATCH V3 2/2] regulator: tps80031: add regulator driver for tps80031

2012-11-12 Thread Mark Brown
On Sun, Nov 11, 2012 at 08:42:01PM +0530, Laxman Dewangan wrote: > Add regulator driver for Texas Instrument TPS80031/TPS80032 device. > TPS80031/ TPS80032 Fully Integrated Power Management with Power > Path and Battery Charger. It has 5 configurable step-down > converters, 11 general purpose

Re: [PATCH] exec: do not leave bprm->interp on stack

2012-11-12 Thread halfdog
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kees Cook wrote: > On Tue, Nov 6, 2012 at 12:10 AM, P J P wrote: >> >> Hello Kees, Al, >> >> +-- On Sat, 27 Oct 2012, Kees Cook wrote --+ | If we change >> binfmt_script to not make a recursive call, then we still | need >> to keep the interp

[PATCH] boot_delay should only affect output

2012-11-12 Thread Andrew Cooks
The boot_delay parameter affects all printk(), even if the log level prevents visible output from the call. It results in delays greater than the user intended without purpose. This patch changes the behaviour of boot_delay to only delay output. Signed-off-by: Andrew Cooks ---

Re: [GIT PULL REQUEST] UniCore32 update for v3.7-rc4

2012-11-12 Thread Guan Xuetao
> -邮件原件- > 发件人: linus...@gmail.com [mailto:linus...@gmail.com] 代表 Linus Torvalds > 发送时间: 2012年11月11日 20:23 > 收件人: Guan > 抄送: Linux Kernel Mailing List > 主题: Re: [GIT PULL REQUEST] UniCore32 update for v3.7-rc4 > > Did you do the "request-pull" *after* you had done all the above? > >

[PATCH v2] mm: cma: WARN if freed memory is still in use

2012-11-12 Thread Marek Szyprowski
Memory returned to free_contig_range() must have no other references. Let kernel to complain loudly if page reference count is not equal to 1. Signed-off-by: Marek Szyprowski Reviewed-by: Kyungmin Park CC: Michal Nazarewicz --- mm/page_alloc.c |9 +++-- 1 file changed, 7

Re: [PATCH] regulator: core: Update regulator_is_supported_voltage for fixed voltages

2012-11-12 Thread Mark Brown
On Mon, Nov 12, 2012 at 10:13:55AM +0530, Tushar Behera wrote: > In that case, we should modify the test condition as following. > Currently it passes success when the regulator voltage is less than both > min_uV and max_uV. If ok, I will send another patch for this.

Re: [PATCH v2 0/2] NVIDIA Tegra DRM driver

2012-11-12 Thread Thierry Reding
On Mon, Nov 12, 2012 at 05:17:18PM -0700, Stephen Warren wrote: > On 11/12/2012 02:55 PM, Thierry Reding wrote: > > This second version of this patch series addresses all the comments > > received so far. Most notably it takes advantage of the debugfs helpers > > provided by the DRM core. Oddly

[GIT PULL REQUEST] UniCore32 update for v3.7-rc4

2012-11-12 Thread guanxuetao
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following changes since commit 0e4a43ed08e2f44aa7b96aa95d0a540d675483e1: Linus Torvalds (1): Merge git://git.kernel.org/.../steve/gfs2-3.0-fixes are available in the git repository at: git://github.com/gxt/linux.git unicore32 Al

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-12 Thread Thierry Reding
On Tue, Nov 13, 2012 at 12:38:34PM +0800, Mark Zhang wrote: > On 11/12/2012 05:39 PM, Mark Zhang wrote: > > On 11/09/2012 09:20 PM, Thierry Reding wrote: [...] > >> @@ -1036,9 +1041,6 @@ static struct clk_duplicate tegra_clk_duplicates[] = > >> { > >> CLK_DUPLICATE("usbd", "utmip-pad",

Re: [rfc net-next v6 2/3] virtio_net: multiqueue support

2012-11-12 Thread Michael S. Tsirkin
On Mon, Nov 05, 2012 at 11:38:39AM +1030, Rusty Russell wrote: > > @@ -924,11 +1032,10 @@ static void virtnet_get_ringparam(struct net_device > > *dev, > > { > > struct virtnet_info *vi = netdev_priv(dev); > > > > - ring->rx_max_pending = virtqueue_get_vring_size(vi->rvq); > > -

Re: [PATCH] pinctrl: imx: Fix the logic checking if not able to find pin reg map

2012-11-12 Thread Dong Aisheng
On Tue, Nov 13, 2012 at 09:00:07AM +0800, Axel Lin wrote: > Current code sets "pin_reg = >pin_regs[i];" in each loop iteration, > so in the case of no-match, pin_reg is not NULL. > > Signed-off-by: Axel Lin Thanks for the fix. Acked-by: Dong Aisheng Regards Dong Aisheng > --- >

Re: [PATCH] RFC: pinctrl: grab default handler with bus notifiers

2012-11-12 Thread Mark Brown
On Mon, Nov 12, 2012 at 01:21:40PM -0700, Stephen Warren wrote: > On 11/11/2012 05:22 AM, Linus Walleij wrote: > > Another solution that was discussed was whether to move > > the default pinctrl handle and state grab to the device > > core as an optional field in struct device itself, but > > I'd

Re: [PATCH 3/3] PM: Introduce Intel PowerClamp Driver

2012-11-12 Thread Joe Perches
On Mon, 2012-11-12 at 14:03 -0800, Jacob Pan wrote: > Intel PowerClamp driver performs synchronized idle injection across > all online CPUs. The goal is to maintain a given package level C-state > ratio. style trivia: [] > diff --git a/drivers/thermal/intel_powerclamp.c >

Re: [PATCH 02/46] x86, mm: Split out split_mem_range from init_memory_mapping

2012-11-12 Thread Yinghai Lu
On Mon, Nov 12, 2012 at 9:51 PM, Yasuaki Ishimatsu wrote: > 2012/11/13 6:17, Yinghai Lu wrote: >> + nr_range = 0; > > This is unnecessary since it is set in the below. > >> + nr_range = split_mem_range(mr, nr_range, start, end);

[PATCH 2/3] x86/nmi: export local_touch_nmi() symbol for modules

2012-11-12 Thread Jacob Pan
Signed-off-by: Jacob Pan --- arch/x86/kernel/nmi.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c index f84f5c5..6030805 100644 --- a/arch/x86/kernel/nmi.c +++ b/arch/x86/kernel/nmi.c @@ -509,3 +509,4 @@ void local_touch_nmi(void) {

[PATCH 0/3] pm: Intel powerclamp driver

2012-11-12 Thread Jacob Pan
Hi, We have done some experiment with idle injection on Intel platforms. The idea is to use the increasingly power efficient package level C-states for power capping and passive thermal control. Documentation is included in the patch to explain the theory of operation, performance implication,

[PATCH 3/3] PM: Introduce Intel PowerClamp Driver

2012-11-12 Thread Jacob Pan
Intel PowerClamp driver performs synchronized idle injection across all online CPUs. The goal is to maintain a given package level C-state ratio. Compared to other throttling methods already exist in the kernel, such as ACPI PAD (taking CPUs offline) and clock modulation, this is often more

[PATCH 1/3] tick: export nohz tick idle symbols for module use

2012-11-12 Thread Jacob Pan
Allow drivers such as intel_powerclamp to use these apis for turning on/off ticks during idle. Signed-off-by: Jacob Pan --- kernel/time/tick-sched.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index a402608..7c38f08 100644 ---

linux-next: Tree for Nov 13

2012-11-12 Thread Stephen Rothwell
day or so. Changes since 20121112: New tree: ftrace The v4l-dvb tree still had its build failure so I used the version from next-20121026. The usb tree gained a conflict against usb.current tree. The staging tree gained a conflict against the mfd tree and a build failure for which I reverted

Re: [PATCH] mfd: arizona: Move chip reset to before register patch

2012-11-12 Thread Mark Brown
On Mon, Nov 12, 2012 at 05:56:48PM +, Charles Keepax wrote: > In the absence of a physical reset line the chip is reset by writing the > first register, this was done after the register patch was applied which > negates the settings applied in the register patch. > > This patch moves the

Re: [PATCH 02/46] x86, mm: Split out split_mem_range from init_memory_mapping

2012-11-12 Thread Yasuaki Ishimatsu
2012/11/13 6:17, Yinghai Lu wrote: > So make init_memory_mapping smaller and readable. > > Suggested-by: Ingo Molnar > Signed-off-by: Yinghai Lu > Reviewed-by: Pekka Enberg > --- > arch/x86/mm/init.c | 42 ++ > 1 files changed, 26 insertions(+), 16

linux-next: build failure after merge of the final tree (staging tree related)

2012-11-12 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/power/lp8788-charger.c:15:0: include/linux/iio/consumer.h:76:21: error: unknown type name 'u8' include/linux/iio/consumer.h:78:11: error: expected ';', ',' or ')'

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
> -Original Message- > From: David Rientjes [mailto:rient...@google.com] > Sent: Monday, November 12, 2012 6:49 PM > To: Dan Magenheimer > Cc: KY Srinivasan; Konrad Wilk; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; >

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Stephen Warren
On 11/12/2012 06:05 PM, David Gibson wrote: > On Fri, Nov 09, 2012 at 09:42:37PM +, Grant Likely wrote: ... > 2) graft bundle > > The base tree has something like this: > > ... > i2c@XXX { > ... > cape-socket { > compatible =

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
> -Original Message- > From: Dan Magenheimer [mailto:dan.magenhei...@oracle.com] > Sent: Monday, November 12, 2012 6:32 PM > To: KY Srinivasan; David Rientjes; Konrad Wilk > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de;

Re: [RFC] MIPS: BCM63XX: enable serial through Device Tree

2012-11-12 Thread Stephen Warren
On 11/11/2012 05:50 AM, Jonas Gorski wrote: > Enable serial through Device Tree board files instead of legacy > board files. > diff --git a/arch/mips/bcm63xx/dts/96328avng.dts > b/arch/mips/bcm63xx/dts/96328avng.dts > ubus@1000 { > > + serial@100 { Very minor nit: Why

Re: [RFC] MIPS: BCM63XX: add empty Device Trees for all supported boards

2012-11-12 Thread Stephen Warren
On 11/11/2012 05:50 AM, Jonas Gorski wrote: > Add empty board files for all boards supported by the legacy board > support. > diff --git a/arch/mips/bcm63xx/dts/96328avng.dts > b/arch/mips/bcm63xx/dts/96328avng.dts > +/ { > + model = "96328avng"; > + compatible = "96328avng"; The board

Re: [BUGFIX] PM: Fix active child counting when disabled and forbidden

2012-11-12 Thread Huang Ying
On Mon, 2012-11-12 at 21:32 -0500, Alan Stern wrote: > On Tue, 13 Nov 2012, Huang Ying wrote: > > > Sorry, my original idea is: > > > > pm_runtime_disable will put device into SUSPENDED state if > > dev->power.runtime_auto is clear. pm_runtime_allow will put > > device into

[PATCH 0/3] ARM: tegra: dt: Add entry for tegra20 sflash controller.

2012-11-12 Thread Laxman Dewangan
This patch series add the dt entry for tegra20 sflash controller, add AUXDATA in board dt file for driver name and enable in tegra_defconfig. Laxman Dewangan (3): ARM: tegra: dts: add sflash controller dt entry ARM: tegra: Add OF_DEV_AUXDATA for sflash driver in board dt ARM: config: tegra:

[PATCH 3/3] ARM: config: tegra: enable SFLASH controller driver

2012-11-12 Thread Laxman Dewangan
Signed-off-by: Laxman Dewangan --- arch/arm/configs/tegra_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index 9dac09b..39107b1 100644 --- a/arch/arm/configs/tegra_defconfig +++

[PATCH 2/3] ARM: tegra: Add OF_DEV_AUXDATA for sflash driver in board dt

2012-11-12 Thread Laxman Dewangan
Add OF_DEV_AUXDATA for sflash controller driver for Tegra20 board dt files. Set the parent clock of sflash controller to PLLP and configure clock to 20MHz. Signed-off-by: Laxman Dewangan --- arch/arm/mach-tegra/board-dt-tegra20.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH 1/3] ARM: tegra: dts: add sflash controller dt entry

2012-11-12 Thread Laxman Dewangan
Nvidia's Tegra20 have the SPI (SFLASH) controller to interface with spi flash device which is used for system boot. Add DT entry for this controller. Signed-off-by: Laxman Dewangan --- arch/arm/boot/dts/tegra20.dtsi | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff

Re: [RFC] MIPS: BCM63XX: register GPIO controller through Device Tree

2012-11-12 Thread Stephen Warren
On 11/11/2012 05:50 AM, Jonas Gorski wrote: > Register the GPIO controller through Device Tree and add the > appropriate values in the include files. > > Since we can't register a platform driver at this early stage move the > direct call to bcm63xx_gpio_init from prom_init to an arch initcall.

Re: [RFC] MIPS: BCM63XX: switch to common clock and Device Tree

2012-11-12 Thread Stephen Warren
On 11/11/2012 05:50 AM, Jonas Gorski wrote: > Switch BCM63XX to the common clock framework and use clkdev for > providing clock name lookups for non-DT devices. > > Clocks can have a frequency and gate-bit, or none, in case they > are just provided for drivers expecting them to be present. >

[PATCH] spi: tegra: add spi driver for sflash controller

2012-11-12 Thread Laxman Dewangan
Nvidia's Tegra20 have the SPI (SFLASH) controller to interface with spi flash device which is used for system boot. Add the spi driver for this controller. Signed-off-by: Laxman Dewangan --- .../bindings/spi/nvidia,tegra20-sflash.txt | 26 + drivers/spi/Kconfig

Re: [RFC] MIPS: BCM63XX: add Device Tree clock definitions

2012-11-12 Thread Stephen Warren
On 11/11/2012 05:50 AM, Jonas Gorski wrote: > Add definitions for the clocks found and used in all supported SoCs. > diff --git a/arch/mips/bcm63xx/dts/bcm6328.dtsi > b/arch/mips/bcm63xx/dts/bcm6328.dtsi > + clocks { > + #address-cells = <1>; > +

Re: [RFC] MIPS: BCM63XX: add Device Tree glue code for IRQ handling

2012-11-12 Thread Stephen Warren
On 11/11/2012 05:50 AM, Jonas Gorski wrote: > Register IRQ domains through Device Tree for the internal and external > interrupt controllers. Register the same IRQ ranges as previously to > provide backward compatibility for non-DT drivers. > diff --git

Re: [RFC] MIPS: BCM63XX: add simple Device Tree includes for all SoCs

2012-11-12 Thread Stephen Warren
On 11/11/2012 05:50 AM, Jonas Gorski wrote: > Add simple Device Tree include files for all currently supported SoCs. > These will be populated with device definitions as driver support > gets added. > arch/mips/bcm63xx/dts/bcm6328.dtsi | 30 ++ >

[PATCH] Add missing license for ioapic module.

2012-11-12 Thread Andrew Cooks
config PCI_IOAPIC turned into a tristate in commit b95a7bd700466c10fda84acbd33f70cf66ec91ce, but no module license is specified. This adds the missing module license. Signed-off-by: Andrew Cooks --- drivers/pci/ioapic.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-12 Thread Mark Zhang
On 11/12/2012 05:39 PM, Mark Zhang wrote: > On 11/09/2012 09:20 PM, Thierry Reding wrote: >> This commit adds the host1x node along with its children to the Tegra20 >> DTSI. Furthermore the OF auxiliary data table is updated to have proper >> names assigned to the platform devices instantiated

Re: [PATCH 2/2] ARM: tegra: Add Tegra30 host1x support

2012-11-12 Thread Mark Zhang
On 11/09/2012 09:20 PM, Thierry Reding wrote: > This commit adds the host1x node along with its children to the Tegra30 > DTSI. Furthermore the OF auxiliary data table is updated to have proper > names assigned to the platform devices instantiated from the device > tree. Moreover, the clocks

linux-next: manual merge of the arm-soc tree with the usb tree

2012-11-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/configs/stamp9g20_defconfig between commit 77614e025061 ("arch: Change defconfigs to point to g_mass_storage") from the usb tree and commit 2484575268e2 ("arm: at91: drop machine defconfig") from the arm-soc tree.

linux-next: manual merge of the arm-soc tree with the pinctrl tree

2012-11-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/tty/serial/atmel_serial.c between commit 784557decc48 ("tty: atmel_serial: add pinctrl support") from the pinctrl tree and commit bcd2360c1ff9 ("arm: at91: move platfarm_data to include/linux/platform_data/atmel.h")

linux-next: manual merge of the arm-soc tree with the net-next tree

2012-11-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/net/ethernet/cadence/at91_ether.c between various commits from the net-next tree and commit bcd2360c1ff9 ("arm: at91: move platfarm_data to include/linux/platform_data/atmel.h") from the arm-soc tree. I fixed it up (I

linux-next: manual merge of the arm-soc tree with the usb tree

2012-11-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/configs/afeb9260_defconfig between commit 77614e025061 ("arch: Change defconfigs to point to g_mass_storage") from the usb tree and commit 2484575268e2 ("arm: at91: drop machine defconfig") from the arm-soc tree. The

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Joel A Fernandes
Hi Grant, On Fri, Nov 9, 2012 at 3:22 PM, Grant Likely wrote: >> (2) >> Also this discussed a while back but at some point is going to brought >> up again- loading of dt fragment directly from EEPROM and merging at >> run time. If we were to implement this in kernel, we would have to add >>

linux-next: manual merge of the staging tree with the mfd tree

2012-11-12 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got conflicts in drivers/iio/adc/Kconfig and drivers/iio/adc/Makefile between commit 5e53a69b44e8 ("IIO : ADC: tiadc: Add support of TI's ADC driver") from the mfd tree and commit 168c9d95a940 ("iio:adc:max1363 move from staging") from the

Re: [PATCH v3 0/2] x86: clear vmcss on all cpus when doing kdump if necessary

2012-11-12 Thread zhangyanfei
Hello Marcelo, Do you have any comments about this version? Thanks Zhang 于 2012年10月31日 11:30, zhangyanfei 写道: > Currently, kdump just makes all the logical processors leave VMX operation by > executing VMXOFF instruction, so any VMCSs active on the logical processors > may > be corrupted. But,

Re: [sqlite] light weight write barriers

2012-11-12 Thread Vladislav Bolkhovitin
杨苏立 Yang Su Li, on 11/10/2012 11:25 PM wrote: SATA's Native Command Queuing (NCQ) is not equivalent; this allows the drive to reorder requests (in particular read requests) so they can be serviced more efficiently, but it does *not* allow the OS to specify a partial, relative ordering of

Re: [sqlite] light weight write barriers

2012-11-12 Thread Vladislav Bolkhovitin
Richard Hipp, on 11/02/2012 08:24 AM wrote: SQLite cares. SQLite is an in-process, transaction, zero-configuration database that is estimated to be used by over 1 million distinct applications and to be have over 2 billion deployments. SQLite uses ordinary disk files in ordinary directories,

Re: [sqlite] light weight write barriers

2012-11-12 Thread Vladislav Bolkhovitin
Alan Cox, on 11/02/2012 08:33 AM wrote: b) most drives will internally re-order requests anyway They will but only as permitted by the commands queued, so you have some control depending upon the interface capabilities. c) cheap drives won't support barriers Barriers are pretty

Re: [sqlite] light weight write barriers

2012-11-12 Thread Vladislav Bolkhovitin
Howard Chu, on 11/01/2012 08:38 PM wrote: Alan Cox wrote: How about that recently preliminary infrastructure to send ORDERED commands instead of queue draining was deleted from the kernel, because "there's no difference where to drain the queue, on the kernel or the storage side"? Send

linux-next: manual merge of the usb tree with the usb.current tree

2012-11-12 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in drivers/usb/musb/ux500.c between commit 9a65d162e449 ("usb: musb: ux500: fix 'musbid' undeclared error in ux500_remove()") from the usb.current tree and commit 2f7711642559 ("usb: musb: remove hand-crafted id handling") from the

[PATCH ] tbfadt.c: output warning only when 64bit 32bit address of FACS/DSDT all have value but not equal to each other

2012-11-12 Thread Ethan Zhao
Hi, Len, Robert, Please help to check the following patch, add more conditions when validate the 64bit 32bit FACS/DSDT address in FADT to follow ACPI spec, In the meantime, keep the compatibility and latitude. Thanks, Ethan >From c1116211a7b329c26b0370565c36b084ceb08f71 Mon Sep 17

Re: [CPU hotplug, __disable_runtime] kernel BUG at kernel/sched/rt.c:687!

2012-11-12 Thread Neil Zhang
Hi Peter and Ingo, 2012/11/5 Fengguang Wu : > Greetings, > > I got a rather hard to reproduce/bisect oops when doing CPU hotplug > testing: > > [ 480.327742] CPU0 attaching NULL sched-domain. > [ 480.329408] [ cut here ] > [ 480.330355] kernel BUG at

[PATCH 03/17] cgroup: open-code cgroup_create_dir()

2012-11-12 Thread Tejun Heo
The operation order of cgroup creation is about to change and cgroup_create_dir() is more of a hindrance than a proper abstraction. Open-code it by moving the parent nlink adjustment next to self nlink adjustment in cgroup_create_file() and the rest to cgroup_create(). This patch doesn't

[PATCH 04/17] cgroup: create directory before linking while creating a new cgroup

2012-11-12 Thread Tejun Heo
While creating a new cgroup, cgroup_create() links the newly allocated cgroup into various places before trying to create its directory. Because cgroup life-cycle is tied to the vfs objects, this makes it impossible to use cgroup_rmdir() for rolling back creation - the removal logic depends on

[PATCH 09/17] cgroup: lock cgroup_mutex in cgroup_init_subsys()

2012-11-12 Thread Tejun Heo
Make cgroup_init_subsys() grab cgroup_mutex while initializing a subsystem so that all helpers and callbacks are called under the context they expect. This isn't strictly necessary as cgroup_init_subsys() doesn't race with anybody but will allow adding lockdep assertions. Signed-off-by: Tejun

[PATCH 10/17] cgroup: fix harmless bugs in cgroup_load_subsys() fail path and cgroup_unload_subsys()

2012-11-12 Thread Tejun Heo
* If idr init fails, cgroup_load_subsys() cleared dummytop->subsys[] before calilng ->destroy() making CSS inaccessible to the callback, and didn't unlink ss->sibling. As no modular controller uses ->use_id, this doesn't cause any actual problems. * cgroup_unload_subsys() was forgetting to

[PATCH 06/17] cgroup: remove duplicate RCU free on struct cgroup

2012-11-12 Thread Tejun Heo
struct cgroup is made RCU-safe by synchronize_rcu() in cgroup_diput(). There is no reason to use RCU safe kfree on it after it. Remove cgroup->rcu_head and use kfree() instead of kfree_rcu() in cgroup_diput(). Signed-off-by: Tejun Heo --- include/linux/cgroup.h | 3 --- kernel/cgroup.c

[PATCH 02/17] cgroup: initialize cgrp->allcg_node in init_cgroup_housekeeping()

2012-11-12 Thread Tejun Heo
Not strictly necessary but it's annoying to have uninitialized list_head around. Signed-off-by: Tejun Heo --- kernel/cgroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index d0803f0..ed0e177 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@

[PATCH 07/17] cgroup: make CSS_* flags bit masks instead of bit positions

2012-11-12 Thread Tejun Heo
Currently, CSS_* flags are defined as bit positions and manipulated using atomic bitops. There's no reason to use atomic bitops for them and bit positions are clunkier to deal with than bit masks. Make CSS_* bit masks instead and use the usual C bitwise operators to access them. Signed-off-by:

[PATCH 01/17] cgroup: remove incorrect dget/dput() pair in cgroup_create_dir()

2012-11-12 Thread Tejun Heo
cgroup_create_dir() does weird dancing with dentry refcnt. On success, it gets and then puts it achieving nothing. On failure, it puts but there isn't no matching get anywhere leading to the following oops if cgroup_create_file() fails for whatever reason. [ cut here ]

  1   2   3   4   5   6   7   8   9   10   >