Re: [PATCH 1/9 v3] dmaengine: add an shdma-base library

2012-07-15 Thread Vinod Koul
On Mon, 2012-07-02 at 22:28 +0200, Guennadi Liakhovetski wrote: > > > > > > Let me know if you plan to fixing them or I will queue these up for 3.6 > > > > > > Please, queue these patches for the next merge window, we will work on > > > improving the driver after this split. > > > > It's been

[PATCH 1/2 v3] USB: dwc3-exynos: Add support for device tree

2012-07-15 Thread Vivek Gautam
This patch adds support to parse probe data for dwc3 driver for exynos using device tree Signed-off-by: Praveen Paneri Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git

[PATCH 0/2 v3] USB: host: Add Device tree support for dwc3-exynos

2012-07-15 Thread Vivek Gautam
Changes from v1: 1) Rebased on 'usb-next' branch. Vivek Gautam (2): USB: dwc3-exynos: Add support for device tree USB: dwc3-exynos: Add vbus setup function to the exynos dwc3 glue layer drivers/usb/dwc3/dwc3-exynos.c | 47 1 files changed, 47

[PATCH 3/3 v3] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-15 Thread Vivek Gautam
This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index

[PATCH 2/3 v3] USB: ehci-s5p: Add support for device tree

2012-07-15 Thread Vivek Gautam
This patch adds support to parse probe data for ehci driver for exynos using device tree Signed-off-by: Thomas Abraham Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 13c179f..37d84cf 100644 ---

[PATCH 0/3 v3] USB: host: Add Device tree support for ohci-exynos & ehci-s5p

2012-07-15 Thread Vivek Gautam
Changes from v1: 1) Moved "struct of_device_id exynos_ehci_match[]" to the next of "struct dev_pm_ops s5p_ehci_pm_ops" in ehci-s5p.c. 2) Rebased on 'usb-next' branch. Vivek Gautam (3): USB: ohci-exynos: Add support for device tree USB: ehci-s5p: Add support for device tree USB: ehci-s5p:

Re: [linux-next-20120706] x86/mm: incompatible pointer type warning.

2012-07-15 Thread Alex Shi
> > > Thanks for your report, mm should means mm_struct. no vma. My fault. > Could you like try this patch. > > I didn't see the patch in linux-next, So I assume that implied the patch should be fixed in x86/tip tree. This patch is another alternative fixing, I fold the fixing into

Re: [PATCH] sched/debug: Fix printing format of next_balance

2012-07-15 Thread Namhyung Kim
Ping. :) On Tue, 3 Jul 2012 23:19:09 +0900, Namhyung Kim wrote: > Use P() for the next_balance since it's in jiffies not nsec. > > Signed-off-by: Namhyung Kim > --- > kernel/sched/debug.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/sched/debug.c

Re: Perf: user land tools compiled failed on 3.5.0-rc7

2012-07-15 Thread Namhyung Kim
Hi, (CC-ing Jiri) On Sun, 15 Jul 2012 22:32:14 +0800, Jeff Liu wrote: > Hello, > > I failed to compile perf tools on 3.5.0-rc7 with bison && flex > pre-installed. > > The error seems something like this, > > libperf.a(pmu.o): In function `pmu_format_parse': >

Re: [PATCH] Platform: x86: Add Chrome OS Laptop driver

2012-07-15 Thread Corentin Chary
On Wed, Jul 11, 2012 at 1:03 AM, Benson Leung wrote: > This adds the chromeos_laptop driver. It supports > the Cypress APA SMBUS touchpad as well as the isl29018 i2c ambient > light sensor on the Samsung Series 5 550 Chromebook. > > Signed-off-by: Benson Leung > --- >

Re: linux-next: build failure after merge of the battery tree

2012-07-15 Thread Chanwoo Choi
Hi Stephen, On 07/16/2012 01:09 PM, Stephen Rothwell wrote: > Hi Anton, > > After merging the battery tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/built-in.o: In function `charger_manager_probe': > charger-manager.c:(.text+0x11d61a): undefined reference

RE: [PATCH] ACPI: Add ACPI CPU hot-remove support

2012-07-15 Thread Pandarathil, Vijaymohan R
Hi Toshi, Did some basic KVM guest cpu hotplug testing of this patch over your OST patchset along with fixes in qemu-kvm for guest cpu hotplug. Vijay virsh # vcpucount vmb91g1 maximum config 4 maximum live 4 current config 4 current live

[PATCH] charger-manager: Fix build break related to EXTCON

2012-07-15 Thread Chanwoo Choi
This patch select CONFIG_EXTCON to resolve below build break of charger-manager because charger-manager use API of EXTCON subsystem. drivers/built-in.o: In function `charger_manager_probe': charger-manager.c:(.text+0x11d61a): undefined reference to `extcon_register_interest'

Re: [PATCH v3 5/6] mmc: dw_mmc: add device tree support

2012-07-15 Thread Girish K S
On 16 July 2012 09:45, Girish K S wrote: > On 12 July 2012 18:24, Thomas Abraham wrote: >> Add device tree based discovery support. >> >> Signed-off-by: Thomas Abraham >> --- >> .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 108 +++ >> drivers/mmc/host/dw_mmc-pltfm.c

Re: [PATCH v3 5/6] mmc: dw_mmc: add device tree support

2012-07-15 Thread Chris Ball
Hi, On Thu, Jul 12 2012, Thomas Abraham wrote: > diff --git a/Documentation/devicetree/bindings/mmc/synposis-dw-mshc.txt > b/Documentation/devicetree/bindings/mmc/synposis-dw-mshc.txt > new file mode 100644 > index 000..3acd6c9 > --- /dev/null > +++

linux-next: build failure after merge of the battery tree

2012-07-15 Thread Stephen Rothwell
Hi Anton, After merging the battery tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/built-in.o: In function `charger_manager_probe': charger-manager.c:(.text+0x11d61a): undefined reference to `extcon_register_interest' charger-manager.c:(.text+0x11d7b6): undefined

Re: [PATCH] Rewrite Documentation/SubmittingPatches.

2012-07-15 Thread Rob Landley
On 07/13/2012 09:45 AM, Stefan Beller wrote: > This updates the documentation on how to create patches and send > these to the kernel mailing list. > > The documentation before was written in times before git was there, > so the crafting of the patch needed to be done manually by diff -up > in

Re: [RESEND PATCH 1/1] clk: add DT support for clock gating control

2012-07-15 Thread Rob Landley
I believe clock anything is Thomas Gleixner, just making sure he's seen it... Rob On 07/13/2012 04:42 AM, Sebastian Hesselbarh wrote: > On 07/13/2012 05:19 AM, Rob Herring wrote: >> What's implemented in Linux should not define the binding. The binding >> should describe the hardware. >> [...]

Re: feature-removal-schedule entry from 2009

2012-07-15 Thread Rob Landley
On 07/12/2012 10:03 PM, Theodore Ts'o wrote: > On Wed, Jul 11, 2012 at 11:15:20AM -0500, Rob Landley wrote: >> There are 12 remaining uses under drivers/ and 14 more under arch/, the >> rest of the hits look like infrastructure implementing it. >> >> Should I run those files through

Re: [PATCH V3] tmp patch to fix hotplug issue in CMCI storm

2012-07-15 Thread Chen Gong
于 2012/7/4 16:12, Chen Gong 写道: 于 2012/6/19 14:09, Chen Gong 写道: v3->v1 Thanks very much for Thomas' suggestion to simply the whole logic. Signed-off-by: Chen Gong --- arch/x86/kernel/cpu/mcheck/mce-internal.h |2 ++ arch/x86/kernel/cpu/mcheck/mce.c |1 +

How to map ata_link to physical link and ata_port to physical port

2012-07-15 Thread Yang Bai
Hi hackers, In our internal usage, we want to map the disk in system like sd{a,b,c} to physical disk slot. When the disk is attached to LSI HBA card, we find that we can rely on the phy attribute of the disk to find the slot since this attribute does not change no matter which kind of disks we

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-15 Thread Shuah Khan
On Sat, 2012-07-14 at 15:01 +0300, Pekka Enberg wrote: > I'm not exactly loving that either. > > It'd probably be better to reshuffle the code so that the debug checks > end up in separate functions that are no-op for !CONFIG_DEBUG_VM. That > way the _labels_ are used unconditionally although

RE: [PATCH] power_supply: Added support for power supply attribute sources

2012-07-15 Thread Pallala, Ramakrishna
Hi Anton, Following patch needs your attention. Thanks, Ram > From: Pallala, Ramakrishna > Sent: Monday, June 25, 2012 6:07 PM > To: linux-kernel@vger.kernel.org > Cc: Anton Vorontsov; Anton Vorontsov; Pallala, Ramakrishna > Subject: [PATCH] power_supply: Added support for power supply

linux-next: manual merge of the drm tree with Linus' tree

2012-07-15 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/intel_display.c between commit 7aa1e7f06d6e ("Revert "drm/i915: allow PCH PWM override on IVB"") from Linus' tree and commit 8090c6b9daa0 ("drm/i915: wrap up gt powersave enabling functions") from the drm

Re: [PATCH v2 1/1] mmc: block: Add write packing control

2012-07-15 Thread Chris Ball
Hi, On Sun, Jul 15 2012, Muthu Kumar wrote: >> I've already replied to a later version of the patch, but just to get >> this comment in at the appropriate point of the discussion as well: >> >> Even though it would result in a cleaner sysfs, I don't want to do >> this now because it will break

Re: Build regressions/improvements in v3.5-rc4

2012-07-15 Thread Bob Liu
Hi Geert, On Sat, Jul 14, 2012 at 4:02 AM, Geert Uytterhoeven wrote: > On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven > wrote: >> + drivers/i2c/busses/i2c-bfin-twi.c: error: 'ANAK' undeclared (first use in >> this function): => 154:19 >> + drivers/i2c/busses/i2c-bfin-twi.c: error:

Re: [PATCH] sched: remove useless code in yield_to

2012-07-15 Thread Michael Wang
On 07/12/2012 10:07 PM, Peter Zijlstra wrote: > On Tue, 2012-07-03 at 14:34 +0800, Michael Wang wrote: >> From: Michael Wang >> >> it's impossible to enter else branch if we have set skip_clock_update >> in task_yield_fair(), as yield_to_task_fair() will directly return >> true after invoke

[PATCH 2/2] cpumask: cpumask_scnprintf() comments correction

2012-07-15 Thread Alex Shi
The function has no parameter @len now, so need to remove it from comments to avoid kernel-doc warning: alexs@debian:~/linux-next$ scripts/kernel-doc -man include/linux/cpumask.h | split-man.pl /tmp/man Creating /tmp/man/cpumask_scnprintf.9 Warning(include/linux/cpumask.h:602): Excess

Re: [PATCH 04/23 v6] Input: atmel_mxt_ts - warn if sysfs could not be created

2012-07-15 Thread Daniel Kurtz
On Fri, Jul 6, 2012 at 3:15 AM, Henrik Rydberg wrote: > On Thu, Jul 05, 2012 at 10:22:30AM -0700, Dmitry Torokhov wrote: >> Hi Daniel, Henrik, >> >> On Thu, Jun 28, 2012 at 09:08:05PM +0800, Daniel Kurtz wrote: >> > If sysfs entry creation fails, the driver is still usable, so don't >> > just

Re: [PATCH] cpumask: add a few comments of cpumask functions

2012-07-15 Thread Alex Shi
> > And the same applies to the other comments. So can you please grab the > latest linux-next, prepare a fixup patch and also check that the patch > is complete - not all of your changes have been applied. > Thanks for reminder! I just know this rule now. :) === >From

Re: [RFC PATCH v3 4/13] memory-hotplug : remove /sys/firmware/memmap/X sysfs

2012-07-15 Thread Wen Congyang
At 07/09/2012 06:26 PM, Yasuaki Ishimatsu Wrote: > When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} > sysfs files are created. But there is no code to remove these files. The patch > implements the function to remove them. > > Note : The code does not free

Re: Deadlocks due to per-process plugging

2012-07-15 Thread Mike Galbraith
On Sun, 2012-07-15 at 11:14 +0200, Mike Galbraith wrote: > On Sun, 2012-07-15 at 10:59 +0200, Thomas Gleixner wrote: > > Can you figure out on which lock the stuck thread which did not unplug > > due to tsk_is_pi_blocked was blocked? > > I'll take a peek. Sorry for late reply, took a half day

Re: perf with precise attribute kills all KVM based VMs

2012-07-15 Thread David Ahern
On 7/12/12 10:06 AM, Gleb Natapov wrote: I started with cycles:pp; should not really matter - they all need to work without blowing up VMs (cycles:p, cycles:pH, cycles:pG, cycles:pp, cycles:ppH, cycles:ppG). cycles:ppG and cycles:pG should be illegal. Peter's patch takes care of this. Others

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-15 Thread Mike Galbraith
On Sun, 2012-07-15 at 13:56 -0400, Chris Mason wrote: > On Sat, Jul 14, 2012 at 04:14:43AM -0600, Mike Galbraith wrote: > > On Fri, 2012-07-13 at 08:50 -0400, Chris Mason wrote: > > > On Wed, Jul 11, 2012 at 11:47:40PM -0600, Mike Galbraith wrote: > > > > Greetings, > > > > > > [ deadlocks with

[GIT] Fix SELinux regression

2012-07-15 Thread James Morris
Now with the correct patches and signoffs. Please pull. The following changes since commit 918227bb1b59444a2c467711fd50cc22bb4a897b: Linus Torvalds (1): Merge tag 'fbdev-fixes-for-3.5-2' of git://github.com/schandinat/linux-2.6 are available in the git repository at:

Re: perf with precise attribute kills all KVM based VMs

2012-07-15 Thread David Ahern
On 7/15/12 7:03 AM, Avi Kivity wrote: I assume 'h' means profiling the hypervisor from a guest (i.e. xen dom0)? I do not think so. It does not appear to do anything on x86. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: perf with precise attribute kills all KVM based VMs

2012-07-15 Thread David Ahern
On 7/12/12 10:13 AM, Gleb Natapov wrote: On Thu, Jul 12, 2012 at 07:06:35PM +0300, Gleb Natapov wrote: So, is the idea of your patch to not enable the PEBS in guest mode? Yes, the idea of my patch is to disable PEBS and the guest entry. BTW what is you host cpu? My patch works only for

Re: [PATCH v2 1/1] mmc: block: Add write packing control

2012-07-15 Thread Muthu Kumar
Chris, On Sat, Jul 14, 2012 at 12:12 PM, Chris Ball wrote: > Hi, > > On Wed, Jun 13 2012, Muthu Kumar wrote: >> On Wed, Jun 13, 2012 at 12:52 PM, wrote: >>> >>> On Mon, June 11, 2012 5:28 pm, Muthu Kumar wrote: On Mon, Jun 11, 2012 at 2:19 PM, Muthu Kumar wrote: > On Fri, Jun 1, 2012

Re: [PATCH] ipvs: fixed sparse warning

2012-07-15 Thread Simon Horman
On Fri, Jul 13, 2012 at 07:57:22PM +0300, Claudiu Ghioc wrote: > Removed the following sparse warnings: > * warning: symbol 'ip_vs_control_net_init_sysctl' was not declared. Should > it be static? > * warning: symbol 'ip_vs_control_net_cleanup_sysctl' was not > declared. Should

[PATCH 3/4] nilfs2: fix timing issue between rmcp and chcp ioctls

2012-07-15 Thread Ryusuke Konishi
The checkpoint deletion ioctl (rmcp ioctl) has potential for breaking snapshot because it is not fully exclusive with checkpoint mode change ioctl (chcp ioctl). The rmcp ioctl first tests if the specified checkpoint is a snapshot or not within nilfs_cpfile_delete_checkpoint function, and then

[PATCH 4/4] nilfs2: fix deadlock issue between chcp and thaw ioctls

2012-07-15 Thread Ryusuke Konishi
An fs-thaw ioctl causes deadlock with a chcp or mkcp -s command: chcpD 88013870f3d0 0 1325 1324 0x0004 ... Call Trace: [] ? nilfs_transaction_begin+0x11c/0x1a0 [nilfs2] [] ? wake_up_bit+0x20/0x20 [] ? copy_from_user+0x18/0x30 [nilfs2] [] ?

[PATCH 2/4] NILFS2: remove references to long gone super operations

2012-07-15 Thread Ryusuke Konishi
From: Fernando Luis Vazquez Cao ->delete_inode(), ->write_super_lockfs(), ->unlockfs() are gone so remove refereces to them in the NTFS code. Noticed while cleaning up the fsfreeze mess. Signed-off-by: Fernando Luis Vazquez Cao Signed-off-by: Ryusuke Konishi --- fs/nilfs2/super.c |3 ---

[PATCH 1/4] nilfs2: add omitted comment for ns_mount_state field of the_nilfs structure

2012-07-15 Thread Ryusuke Konishi
From: Vyacheslav Dubeyko This patch adds omitted comment for ns_mount_state field of the_nilfs structure. Signed-off-by: Vyacheslav Dubeyko Signed-off-by: Ryusuke Konishi --- fs/nilfs2/the_nilfs.h |1 + 1 file changed, 1 insertion(+) diff --git a/fs/nilfs2/the_nilfs.h

[PATCH 0/4] some nilfs2 fixes

2012-07-15 Thread Ryusuke Konishi
Hi Andrew, Please apply the following patches and send them upstream via the -mm tree at the next merge window. This patchset is composed of two comment fixes and two ioctl-related fixes in which one is for a deadlock issue and another for a potential timing issue. Thanks, Ryusuke Konishi --

[PATCH] random: remove rand_initialize_irq()

2012-07-15 Thread Theodore Ts'o
With the new interrupt sampling system, we are no longer using the timer_rand_state structure in the irq descriptor, so we can stop initializing it now. Signed-off-by: "Theodore Ts'o" --- drivers/char/random.c | 55 - include/linux/irqdesc.h |

[PATCH] loop device: Fix wrong return check from idr_pre_get in loop.c

2012-07-15 Thread Paulo da Silva
idr_pre_get always returns 0 (no memory) or 1 (OK). Never a negative value. So, it must be checked accordingly. Signed-off-by: Paulo da Silva ---  drivers/block/loop.c |    5 +++--  1 file changed, 3 insertions(+), 2 deletions(-) --- linux-3.5-rc6/drivers/block/loop.c.orig    2012-07-08

linux-next: build failure after merge of the vfs tree

2012-07-15 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/ext2/super.c: In function 'ext2_sync_fs': fs/ext2/super.c:1191:2: error: implicit declaration of function 'dquot_writeback_dquots' [-Werror=implicit-function-declaration] fs/ext3/super.c:

Re: Crash when IO is being submitted and block size is changed

2012-07-15 Thread Mikulas Patocka
On Thu, 28 Jun 2012, Jan Kara wrote: > On Wed 27-06-12 23:04:09, Mikulas Patocka wrote: > > The kernel crashes when IO is being submitted to a block device and block > > size of that device is changed simultaneously. > Nasty ;-) > > > To reproduce the crash, apply this patch: > > > > ---

Re: [PATCH 0/2] charger-manager: Use EXTCON Subsystem to control charger cable

2012-07-15 Thread Chanwoo Choi
On 07/14/2012 10:37 AM, Anton Vorontsov wrote: > On Thu, Jul 12, 2012 at 03:03:16PM +0900, Chanwoo Choi wrote: >> This patchset add support EXTCON Subsystem in which charger-manager identify >> the type of external connector and enable/disable charger(regulator) >> according >> to the state of

Re: [RFC 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-15 Thread Greg KH
On Sun, Jul 15, 2012 at 04:55:48PM -0700, Jon Mason wrote: > On Sat, Jul 14, 2012 at 10:10:15AM -0700, Greg KH wrote: > > On Fri, Jul 13, 2012 at 02:44:59PM -0700, Jon Mason wrote: > > > +static int max_num_cbs = 2; > > > +module_param(max_num_cbs, uint, 0644); > > > +MODULE_PARM_DESC(max_num_cbs,

RE: [PATCH] regulator: lp872x: Simplify implementation of lp872x_find_regulator_init_data()

2012-07-15 Thread Kim, Milo
> Pass regulator id rahter than the index to > lp872x_find_regulator_init_data(), > then the code can be simpler. > We can also get max_regulators by lp->num_regulators. It looks good to me and tested successfully in the target board. Thanks ! Acked-by: Milo(Woogyom) Kim Tested-by:

RE: [PATCH] regulator: lp872x: Simplify implementation of lp872x_find_regulator_init_data()

2012-07-15 Thread Kim, Milo
> Pass regulator id rahter than the index to > lp872x_find_regulator_init_data(), > then the code can be simpler. > We can also get max_regulators by lp->num_regulators. It looks good to me and tested successfully in the target board. Thanks ! Acked-off-by: Milo(Woogyom) Kim Tested-by:

Re: 3.5-rc6 configfs BUG_ON

2012-07-15 Thread Dave Jones
On Sun, Jul 15, 2012 at 01:58:46PM -0700, Joel Becker wrote: > > Call Trace: > > [] d_kill+0xaf/0x120 > > [] dput+0xe2/0x1d0 > > [] path_put+0x1a/0x30 > > [] vfs_fstatat+0x55/0x70 > > [] vfs_lstat+0x1e/0x20 > > [] sys_newlstat+0x1a/0x40 > > [] system_call_fastpath+0x1a/0x1f > >

Re: [RFC 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-15 Thread Jon Mason
On Sat, Jul 14, 2012 at 10:10:15AM -0700, Greg KH wrote: > On Fri, Jul 13, 2012 at 02:44:59PM -0700, Jon Mason wrote: > > +static int max_num_cbs = 2; > > +module_param(max_num_cbs, uint, 0644); > > +MODULE_PARM_DESC(max_num_cbs, "Maximum number of NTB transport > > connections"); > > + > >

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-15 Thread Linus Torvalds
On Sun, Jul 15, 2012 at 4:21 PM, Måns Rullgård wrote: > > FWIW, I'd prefer naming the directory either arm64 or armv8 for a few > reasons: > > - Those are the names people actually use to refer to the architecture > - They are more descriptive. > - I think the official name is rather silly.

Re: [RFC 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-15 Thread Greg KH
On Sun, Jul 15, 2012 at 04:50:41PM -0700, Jon Mason wrote: > On Sat, Jul 14, 2012 at 10:04:11AM -0700, Greg KH wrote: > > On Fri, Jul 13, 2012 at 02:44:59PM -0700, Jon Mason wrote: > > > The NTB device driver is needed to configure these memory windows, > > > doorbell, and > > > scratch-pad

Re: [RFC 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-15 Thread Jon Mason
On Sat, Jul 14, 2012 at 10:04:11AM -0700, Greg KH wrote: > On Fri, Jul 13, 2012 at 02:44:59PM -0700, Jon Mason wrote: > > The NTB device driver is needed to configure these memory windows, > > doorbell, and > > scratch-pad registers as well as use them in such a way as they can be > > turned > >

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-15 Thread Måns Rullgård
Catalin Marinas writes: > On Tue, Jul 10, 2012 at 08:10:23AM +0100, Ingo Molnar wrote: >> * Arnd Bergmann wrote: >> > On Saturday 07 July 2012, Olof Johansson wrote: >> > > > ARM introduced AArch64 as part of the ARMv8 architecture >> > > >> > > With the risk of bikeshedding here, but I find

Re: [regression] Ideapad S10-3 does not wake up from suspend

2012-07-15 Thread Jonathan Nieder
Hi again, In May, Lars Boegild Thomsen wrote: > On Sunday 13 May 2012 07:13:49 Jonathan Nieder wrote: Lars Boegild Thomsen writes: > After update from 2.6 kernel to 3.0 my Idepad S10-3 will not wake up > after sleep. Back to latest 2.6 kernel works fine. >> >> - passing parameters

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread david
On Mon, 16 Jul 2012, Cyrill Gorcunov wrote: On Sun, Jul 15, 2012 at 03:09:12PM -0700, da...@lang.hm wrote: 3. by simply combining miniconfig files, you can combine sets of pre-defined options Wait, David, I'm lost. These miniconfigs should live somewhere on my home directory (if they are

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Cyrill Gorcunov
On Sun, Jul 15, 2012 at 03:09:12PM -0700, da...@lang.hm wrote: > > 3. by simply combining miniconfig files, you can combine sets of > pre-defined options Wait, David, I'm lost. These miniconfigs should live somewhere on my home directory (if they are out of mainline tree)? Cyrill -- To

Re: resurrecting tcphealth

2012-07-15 Thread Piotr Sawuk
On So, 15.07.2012, 11:53, Eric Dumazet wrote: > On Sun, 2012-07-15 at 11:17 +0200, Piotr Sawuk wrote: >> On So, 15.07.2012, 09:16, Eric Dumazet wrote: >> > On Sun, 2012-07-15 at 01:43 +0200, Piotr Sawuk wrote: >> > >> >> oh, and again I recommend the really short although outdated thesis >> >> >>

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread david
On Mon, 16 Jul 2012, Cyrill Gorcunov wrote: Replying to David's message (sorry for delay) I fear having a bunch of miniconfig files will end up in a mess. Maybe (maybe (!) I don't know since I've no time at moment to read kconfig code and I'm not sure if this is right direction at all) it would

[PATCH 2/2] olpc-battery: update CHARGE_FULL_DESIGN property for BYD LiFe batteries

2012-07-15 Thread Daniel Drake
From: Richard A. Smith Reduce the mAh value for the BYD LiFe battery from 3100mAh to 2800mAh to better reflect the average usable capacity as measured by olpc-pwr-log. Signed-off-by: Richard A. Smith Signed-off-by: Daniel Drake --- drivers/power/olpc_battery.c |6 ++ 1 file changed,

Re: "Inconsistent kallsyms data" error

2012-07-15 Thread Domenico Andreoli
On Sat, Jul 07, 2012 at 12:48:23AM -0400, Paul Gortmaker wrote: > On Fri, Jul 6, 2012 at 7:17 AM, Paulo Marques wrote: > > [...] > > > > > There was a recent thread from David Brown on the arm linux mailing list > > ("ARM: two possible fixes for the KALLSYMS build problem"). He tracked > > down

Re: [PATCH net-next 8/8] arch: Use eth_random_addr

2012-07-15 Thread Mike Frysinger
On Friday 13 July 2012 01:33:12 Joe Perches wrote: > Convert the existing uses of random_ether_addr to > the new eth_random_addr. > > Signed-off-by: Joe Perches > --- > arch/blackfin/mach-bf537/boards/stamp.c |2 +- Acked-by: Mike Frysinger -mike signature.asc Description: This is a

[PATCH 1/2] olpc-battery: Add VOLTAGE_MAX_DESIGN property

2012-07-15 Thread Daniel Drake
From: Richard A. Smith upowerd wants to compute the energy in the battery by looking at this property. If it's not present then it falls back on using the reported voltage of the battery at time upowerd loads. That's close but also means that every time you boot you get a slightly different

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Cyrill Gorcunov
On Sun, Jul 15, 2012 at 11:18:48PM +0200, Borislav Petkov wrote: > On Sun, Jul 15, 2012 at 01:17:16PM +0300, Pekka Enberg wrote: > > > Yes, something like KVMTOOL_TEST_ENABLE except not a make target but a > > > Kconfig option. > > > > It is a config option too - "make kvmconfig" simply enables

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-15 Thread Catalin Marinas
On Sun, Jul 15, 2012 at 08:43:07PM +0100, Arnd Bergmann wrote: > On Sunday 15 July 2012, Catalin Marinas wrote: > > The AArch32 execution mode is optional, so it depends on the actual CPU > > implementation (while AArch64 is mandatory). If the implementation > > supports it, the most likely

Re: [PATCH 2/2] regulator: tps6586x: add support for input supply

2012-07-15 Thread Mark Brown
On Fri, Jul 13, 2012 at 10:45:12PM +0530, Laxman Dewangan wrote: > I was thinking that 1/2 should also go through your tree to avoid > any functionality break on existing platform who are using this > regulator. I'd be happy to do that if the ARM people are happy with it; just let me know and

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Borislav Petkov
On Sun, Jul 15, 2012 at 01:17:16PM +0300, Pekka Enberg wrote: > > Yes, something like KVMTOOL_TEST_ENABLE except not a make target but a > > Kconfig option. > > It is a config option too - "make kvmconfig" simply enables it. Right, so how about something more concrete in this whole discussion:

[PATCH v2] fifo: Do not restart open() if it already found a partner

2012-07-15 Thread Anders Kaseorg
If a parent and child process open the two ends of a fifo, and the child immediately exits, the parent may receive a SIGCHLD before its open() returns. In that case, we need to make sure that open() will return successfully after the SIGCHLD handler returns, instead of throwing EINTR or being

Re: [PATCH RESEND] gpio: of_get_named_gpio_flags() return -EPROBE_DEFER if GPIO not yet available

2012-07-15 Thread Mark Brown
On Sat, Jul 14, 2012 at 09:57:08PM +0200, Linus Walleij wrote: > If I understand correctly this relates closely to another patch from Mark > Brown > we discussed the other day (sorry for missing this patch, which arrived > earlier, for a while). > Mark/Grant can you look at this patch? Not

Re: [PATCH RFT 1/2] regulator: twl: Fix the formula to calculate vsel and voltage for twl6030ldo

2012-07-15 Thread Mark Brown
On Mon, Jul 09, 2012 at 11:22:31AM +0800, Axel Lin wrote: > In twl6030ldo_set_voltage, current code use below formula to calculate vsel: > vsel = (min_uV/1000 - 1000)/100 + 1; > This is worng because when min_uV is 100 uV, vsel is 1. Applied both, thanks - even if we need to fix some

Re: [PATCH RFT 1/2] regulator: twl: Fix the formula to calculate vsel and voltage for twl6030ldo

2012-07-15 Thread Mark Brown
On Mon, Jul 09, 2012 at 07:01:26PM +0800, Axel Lin wrote: > I found a problem that before commit 3e3d3be79c, the voltage tables were > not linear mapping. So why we can convert these voltage mapping table to > Voltage(in mV) = 1000mv + 100mv * (vsel - 1)? Guys, it's pretty concerning that

Re: 3.5-rc6 configfs BUG_ON

2012-07-15 Thread Joel Becker
On Wed, Jul 11, 2012 at 03:25:58PM -0400, Dave Jones wrote: > kernel BUG at fs/configfs/dir.c:59! > invalid opcode: [#1] PREEMPT SMP > CPU 4 > Modules linked in: > ebtable_nat > nf_tproxy_core > hfsplus > ppp_synctty > async_tx > raid6_pq raid10 shpchp fakephp aer_inject ptp pps_core

Re: [PATCH] regulator: tps62360: Convert to devm_gpio_request_one

2012-07-15 Thread Mark Brown
On Sat, Jul 07, 2012 at 08:28:33AM +0800, Axel Lin wrote: > Use devm_gpio_request_one to save a few error handling code. > Also remove trivial comment for tps62360_remove. I applied Laxman's earlier version of this. signature.asc Description: Digital signature

Re: [RFC/RFT][PATCH 1/2] regulator: max8997: Properly handle gpio_request failure

2012-07-15 Thread Mark Brown
On Thu, Jul 05, 2012 at 11:06:57PM +0800, Axel Lin wrote: > Convert to devm_gpio_request to save a few error handling code. Applied both, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulator: tps62360: use devm_* for gpio request

2012-07-15 Thread Mark Brown
On Mon, Jul 02, 2012 at 03:35:48PM +0530, Laxman Dewangan wrote: > Use devm_ version of gpio APIs gpio_request_one() for > requesting gpios. > This avoid extra code for freeing gpios. Applied, thanks. signature.asc Description: Digital signature

[Regression][Revert request] Excessive delay or hang during resume from system suspend due to a hrtimer commit

2012-07-15 Thread Rafael J. Wysocki
Hi Linus, Please revert: commit 5baefd6d84163443215f4a99f6a20f054ef11236 Author: John Stultz Date: Tue Jul 10 18:43:25 2012 -0400 hrtimer: Update hrtimer base offsets each hrtimer_interrupt This breaks resume on the iBook G4 and Toshiba Portege R500 (at least), by adding an excessive

Re: [PATCH 6/6] hrtimer: Update hrtimer base offsets each hrtimer_interrupt

2012-07-15 Thread Rafael J. Wysocki
On Sunday, July 15, 2012, Andreas Schwab wrote: > This breaks resume on the iBook G4 (PowerBook6,7). Apparently during or > before noirq resume the system is hanging by the same amount of time as > the system was sleeping. I'm able to reproduce this problem on Toshiba Portege R500 with similar

Re: [PATCH 2/6] drivers/net/can/softing/softing_main.c: ensure a consistent return value in error case

2012-07-15 Thread Kurt Van Dijck
I see the problem, and the solution. You may add Acked-by: Kurt Van Dijck On Sat, Jul 14, 2012 at 06:43:04PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Typically, the return value desired for the failure of a function with an > integer return value is a negative integer. In these

Re: PCI ACPI/IRQ-routing broken on H77 chipset + Ivy Bridge (kernel 3.5-rc7 and earlier)

2012-07-15 Thread Rafael J. Wysocki
CC-ing linux-pci and Bjorn. On Sunday, July 15, 2012, Malte Schröder wrote: > Hello, > this is yet another try to get someone to look at this ;) > > I can't get PCI-devices to work on my DH77KC mainboard. I tested this > using an AVM B1 ISDN card, a Fritz!PCI card and an old 3Com 905c NIC. > I

Re: 3.5-rcX: wakeup after s2ram doesn't work after a longer sleep time

2012-07-15 Thread Rafael J. Wysocki
On Sunday, July 15, 2012, Toralf Förster wrote: > My ThinkPad T400 (Gentoo Linux booted from an external USB drive) does > not wake up after s2ram, if the sleep time was longer than about 1 hour. > I'm unsure whether this started after 3.5-rc5, at least with -rc7 I > observed this now several

Re: [PATCH] powerpc/BSR: cleanup the error path of bsr_init

2012-07-15 Thread Arnd Bergmann
On Sunday 15 July 2012, Devendra Naga wrote: > class_create if succeeded returns a pointer to the struct class, > and if it fails, it returns a value enclosed by the pointer, which > can be read by using PTR_ERR. > > Handle the error and return it. > > result is for error checking of the

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-15 Thread Arnd Bergmann
On Sunday 15 July 2012, Catalin Marinas wrote: > The AArch32 execution mode is optional, so it depends on the actual CPU > implementation (while AArch64 is mandatory). If the implementation > supports it, the most likely scenario for AArch32 at kernel level is in > virtual machines or the secure

3.5-rcX: wakeup after s2ram doesn't work after a longer sleep time

2012-07-15 Thread Toralf Förster
My ThinkPad T400 (Gentoo Linux booted from an external USB drive) does not wake up after s2ram, if the sleep time was longer than about 1 hour. I'm unsure whether this started after 3.5-rc5, at least with -rc7 I observed this now several times. Unfortunately it is not 100% reproduceable. 3.4.x

Re: 3.5-rcX : Big problem with root device returning

2012-07-15 Thread Michael Tokarev
On 15.07.2012 23:12, werner wrote: > Even if rdev isn't often used, it should kept working, as it's included in > many other programs, and principally in the installers. rdev doesn't _exist_ anymore in current software, including installers. /mjt -- To unsubscribe from this list: send the line

Re: x86/mm: Limit 2/4M size calculation to x86_32

2012-07-15 Thread Stefan Bader
On 07/13/2012 11:12 AM, Yinghai Lu wrote: On Fri, Jul 13, 2012 at 6:41 AM, Stefan Bader wrote: I was bisecting a problem on 64bit where any attempt to cause a crash kernel to boot would hang. The bisect ended up on commit 722bc6b (x86/mm: Fix the size calculation of mapping tables) and

[PATCH v3 11/11] MAINTAINERS: add fblog entry

2012-07-15 Thread David Herrmann
Add myself as maintainer for the fblog driver to the MAINTAINERS file. Signed-off-by: David Herrmann --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 719f57f..227d5ca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2854,6 +2854,12 @@ F:

[PATCH v3 07/11] fblog: allow selecting fbs via sysfs

2012-07-15 Thread David Herrmann
fblog is mainly useful during boot, reboot, panics and maintenance. In all cases you often want to control which monitors are used for console output. Moreover, in multi-seat environments it is desireable to reduce system-overhead by not drawing the console to all framebuffers. Two mechanisms to

[PATCH v3 08/11] fblog: cache framebuffer BLANK and SUSPEND states

2012-07-15 Thread David Herrmann
We must cache these states so we will never draw to the framebuffer while it is suspended or blanked. Signed-off-by: David Herrmann --- drivers/video/console/fblog.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/video/console/fblog.c

[PATCH v3 03/11] fblog: new framebuffer kernel log dummy driver

2012-07-15 Thread David Herrmann
Fblog displays all kernel log messages on all connected framebuffers. It replaces fbcon when CONFIG_VT=n is selected. Its main purpose is to debug boot problems by displaying the whole boot log on the screen. This patch provides the first dummy module-init/deinit functions. As it uses all the

[PATCH v3 04/11] fbdev: export get_fb_info()/put_fb_info()

2012-07-15 Thread David Herrmann
When adding other internal users of the framebuffer subsystem, we need a way to get references to framebuffers. These two functions already exist so export them. Signed-off-by: David Herrmann --- drivers/video/fbmem.c | 6 -- include/linux/fb.h| 3 +++ 2 files changed, 7 insertions(+),

[PATCH v3 05/11] fblog: register one fblog object per framebuffer

2012-07-15 Thread David Herrmann
One fblog object is associated to each registered framebuffer. This way, we can draw the console to each framebuffer. When a framebuffer driver unregisters a framebuffer, we also unregister our fblog object. That is, our lifetime is coupled to the lifetime of the framebuffer. However, this does

[PATCH v3 06/11] fblog: open fb on registration

2012-07-15 Thread David Herrmann
This opens the framebuffer upon registration so we can use it for drawing-operations. On unregistration we close it again. While opening/closing or accessing the fb in any other way, we must hold the fb-mutex. However, since the notifiers are often called with the mutex already held, we cannot

[PATCH v3 02/11] fbcon: move bit_putcs() into separate source file

2012-07-15 Thread David Herrmann
If we want to use font-draw-operations in other modules than fbcon, we need to split this function off of fbcon headers and sources. This also makes bit_putcs() totally independent of vc_* and fbcon_* structures. As scr_read() cannot be called inside of non-fbcon/vt functions, we need to assemble

[PATCH v3 01/11] fbcon: move update_attr() into separate source file

2012-07-15 Thread David Herrmann
If we want to use update_attr() independently from fbcon, we need to split it off from bitblit.c and fbcon.h. Therefore, introduce a new header and source file (fbdraw.[ch]) which does not depende on vc_* and fbcon_* structures in any way. This does not introduce any new code nor does it make the

[PATCH v3 00/11] fblog: Framebuffer kernel log driver v3

2012-07-15 Thread David Herrmann
Hi This is revision 3 of the fblog driver. This driver is a replacement for fbcon for systems that do not want/need CONFIG_VT. It simply prints the kernel log to all connected framebuffers. Previous versions are available here: v2: http://thread.gmane.org/gmane.linux.serial/8133 v1:

Re: 3.4.4: disabling irq

2012-07-15 Thread Alan Stern
On Sun, 15 Jul 2012, Udo van den Heuvel wrote: > On 2012-07-15 17:35, Alan Stern wrote: > > echo :00:13.1 >/sys/bus/pci/drivers/ohci_hcd/unbind > > Afterwards I did: > > > echo :00:13.1 >/sys/bus/pci/drivers/ohci_hcd/bind Um, I think you missed the point. The whole idea of the test is

  1   2   3   4   >