Re: [PATCH 1/6] mtd: nand_bbt: drop unnecessary header

2015-04-24 Thread Rafał Miłecki
On 24 April 2015 at 02:36, Peter Pan 潘栋 (peterpandong) wrote: > On 23 April 2015 at 15:47, Rafał Miłecki wrote: >> On 22 April 2015 at 19:50, Brian Norris >> wrote: >> > On Thu, Apr 16, 2015 at 02:09:41AM +, Peter Pan 潘栋 >> (peterpandong) wrote: >> >> >> >> Signed-off-by: Brian Norris >> >>

Re: [PATCH] staging: sm750fb: cleanup white space and indent

2015-04-24 Thread Sudip Mukherjee
On Thu, Apr 23, 2015 at 05:04:08PM -0400, Charles Rose wrote: > This patch fixes "space prohibited" errors reported by checkpatch.pl > and related indentation. The module builds without error. > > Signed-off-by: Charles Rose > - if ( x == 800 && y == 600 ) > - dispControl = FIELD_SET(dis

Re: [PATCH v5 6/8] virtio: add explicit big-endian support to memory accessors

2015-04-24 Thread Cornelia Huck
On Thu, 23 Apr 2015 21:27:19 +0200 Thomas Huth wrote: > On Thu, 23 Apr 2015 17:29:06 +0200 > Greg Kurz wrote: > > > The current memory accessors logic is: > > - little endian if little_endian > > - native endian (i.e. no byteswap) if !little_endian > > > > If we want to fully support cross-end

Re: [PATCH v2 WIP 1/2] parport: add device-model to parport subsystem

2015-04-24 Thread Dan Carpenter
On Fri, Apr 24, 2015 at 12:20:26PM +0530, Sudip Mukherjee wrote: > > What is the point of the check function really? The name isn't clear. > yes, i am a bit blunt in thinking of new names, i hope you have noticed > that in my naming of the labels .. :) > > as the name was not sufficient i mention

Re: [PATCH v3 1/4] block: refactor iov_count_pages() from bio_{copy,map}_user_iov()

2015-04-24 Thread Christoph Hellwig
On Thu, Apr 23, 2015 at 04:04:32PM -0700, Ming Lin wrote: > From: Kent Overstreet > > Refactor the common part in bio_copy_user_iov() and > __bio_map_user_iov() to separate out iov_count_pages() into the general > iov_iter API, instead of open coding iov iterations as done previously. > > This c

Re: [PATCH v3 2/4] md/raid10: make sync_request_write() call bio_copy_data()

2015-04-24 Thread Christoph Hellwig
On Thu, Apr 23, 2015 at 04:04:33PM -0700, Ming Lin wrote: > From: Kent Overstreet > > Refactor sync_request_write() of md/raid10 to use bio_copy_data() > instead of open coding bio_vec iterations. Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsub

Re: [PATCH 2/2] ARM64: mt8173: dts Add MT8173 cpufreq driver support

2015-04-24 Thread Pi-Cheng Chen
Hi Mark, Thanks for reviewing. On Thu, Apr 23, 2015 at 8:53 PM, Mark Rutland wrote: > On Mon, Apr 20, 2015 at 10:27:27AM +0100, pi-cheng.chen wrote: >> This patch adds voltage supplies and clocks used by MT8173 cpufreq driver. >> >> Signed-off-by: pi-cheng.chen > > This series has no bindings f

Re: [PATCH v2] staging: fbtft: Disable DMA support if DMA is not available

2015-04-24 Thread Geert Uytterhoeven
On Thu, Apr 23, 2015 at 9:17 PM, Greg Kroah-Hartman wrote: > On Thu, Apr 23, 2015 at 08:47:15PM +0200, Geert Uytterhoeven wrote: >> If NO_DMA=y: >> >> drivers/built-in.o: In function `fbtft_framebuffer_alloc': >> (.text+0xb53cae): undefined reference to `dmam_alloc_coherent' >> >> As DMA s

RE: [PATCH 3/6] Drivers: hv: vmbus: decrease num_sc on subchannel removal

2015-04-24 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, April 21, 2015 22:28 > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH 3/6] Drivers: hv: vmbus: decrease num_sc on s

Re: [PATCH v2] staging: fbtft: Disable DMA support if DMA is not available

2015-04-24 Thread Greg Kroah-Hartman
On Fri, Apr 24, 2015 at 09:15:00AM +0200, Geert Uytterhoeven wrote: > On Thu, Apr 23, 2015 at 9:17 PM, Greg Kroah-Hartman > wrote: > > On Thu, Apr 23, 2015 at 08:47:15PM +0200, Geert Uytterhoeven wrote: > >> If NO_DMA=y: > >> > >> drivers/built-in.o: In function `fbtft_framebuffer_alloc': > >>

Re: [PATCH v5 7/8] vhost: cross-endian support for legacy devices

2015-04-24 Thread Cornelia Huck
On Thu, 23 Apr 2015 17:29:42 +0200 Greg Kurz wrote: > This patch brings cross-endian support to vhost when used to implement > legacy virtio devices. Since it is a relatively rare situation, the > feature availability is controlled by a kernel config option (not set > by default). > > The vq->is

Re: [PATCH v3 3/4] fs: make _submit_bh consistent with generic bio chaining

2015-04-24 Thread Christoph Hellwig
On Thu, Apr 23, 2015 at 04:04:34PM -0700, Ming Lin wrote: > From: Kent Overstreet > > Make _submit_bh() handle refcounting by increasing bio->bi_remaining, > followed by bio_endio(). Since bio chaining was introduced with > 196d38bccfcf ("block: Generic bio chaining"), refcounting should be > don

Re: [PATCH v2 WIP 1/2] parport: add device-model to parport subsystem

2015-04-24 Thread Greg KH
On Fri, Apr 24, 2015 at 12:20:26PM +0530, Sudip Mukherjee wrote: > > What does ddev stand for? Anyway, it's probably better to call it > > bus_dev? > ok. > I think I will wait today for some comments from Greg and then send in > the v3 tomorrow. Don't wait for me, it's going to be a week or so at

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Martin Steigerwald
Am Freitag, 24. April 2015, 08:45:15 schrieb Greg Kroah-Hartman: > On Fri, Apr 24, 2015 at 08:36:03AM +0200, Greg Kroah-Hartman wrote: > > On Thu, Apr 23, 2015 at 10:56:40PM +0200, Borislav Petkov wrote: > > > > Hm, this seems to be to be O(1), pretty constant, we do the same > > > > amount > > > >

Re: [PATCH V3 2/4] i2c: busses: xgene: add acpi support for i2c xgene SLIMpro driver

2015-04-24 Thread Arnd Bergmann
On Thursday 23 April 2015 11:07:08 Feng Kan wrote: > > +#ifdef CONFIG_ACPI > +static const struct acpi_device_id xgene_slimpro_i2c_acpi_ids[] = { > + {"PRP0001", 0}, > + {} > +}; > +MODULE_DEVICE_TABLE(acpi, slimpro_acpi_ids); > +#endif > Sorry, but this is wrong: The PRP0001 name is

[PATCH v4.0 for testing] nbd: Fix timeout detection

2015-04-24 Thread Markus Pargmann
At the moment the nbd timeout just detects hanging tcp operations. This is not enough to detect a hanging or bad connection as expected of a timeout. This patch redesigns the timeout detection to include some more cases. The timeout is now in relation to replies from the server. If the server does

Re: [PATCH v2 WIP 1/2] parport: add device-model to parport subsystem

2015-04-24 Thread Sudip Mukherjee
On Fri, Apr 24, 2015 at 09:26:08AM +0200, Greg KH wrote: > On Fri, Apr 24, 2015 at 12:20:26PM +0530, Sudip Mukherjee wrote: > > > What does ddev stand for? Anyway, it's probably better to call it > > > bus_dev? > > ok. > > I think I will wait today for some comments from Greg and then send in > >

Re: [PATCH 0/3] Dell Airplane Mode Switch driver

2015-04-24 Thread Alex Hung
I encountered a Dell Latitude machine whose wireless hotkey will not work with dell-rbtn alone, and therefore I merged functions from dell-wireless and it worked quite well. I also tested it on 7 other Dell machines, and only Inspiron 7437 failed because of a firmware bug (see http://permalink.gma

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Richard Weinberger
Hi! Am 19.04.2015 um 15:28 schrieb Hajime Tazaki: > changes from v2: > - Patch 02/11 ("slab: add private memory allocator header for arch/lib") > * add new allocator named SLIB (Library Allocator): Patch 04/11 is integrated > to 02 (commented by Christoph Lameter) > - Overall > * rewrite commit

[PATCH v3] staging: fbtft: Disable DMA support if DMA is not available

2015-04-24 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `fbtft_framebuffer_alloc': (.text+0xb53cae): undefined reference to `dmam_alloc_coherent' As DMA support is already optional, make it depend on HAS_DMA. Signed-off-by: Geert Uytterhoeven --- v3: - Use an #ifdef instead of relying on compile

Re: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-24 Thread Paolo Bonzini
On 24/04/2015 03:16, Zhang, Yang Z wrote: >> This is interesting since previous measurements on KVM have had >> the exact opposite results. I think we need to understand this a >> lot more. > > What I can tell is that vmexit is heavy. So it is reasonable to see > the improvement under some case

[PATCH v2] docs: add VmPMD description in proc

2015-04-24 Thread Chen Hanxiao
commit dc6c9a35b66b ("mm: account pmd page tables to the process") add VmPMD in /proc/PID/status. This patch add a description in proc.txt for it. cc: Kirill A. Shutemov Signed-off-by: Chen Hanxiao --- v2: change description of VmPMD as Kirill's comment Documentation/filesystems/proc.txt | 1 +

Re: [PATCH v2 WIP 1/2] parport: add device-model to parport subsystem

2015-04-24 Thread Sudip Mukherjee
On Fri, Apr 24, 2015 at 10:04:54AM +0300, Dan Carpenter wrote: > On Fri, Apr 24, 2015 at 12:20:26PM +0530, Sudip Mukherjee wrote: > > > What is the point of the check function really? The name isn't clear. > > yes, i am a bit blunt in thinking of new names, i hope you have noticed > > that in my n

Re: [PATCH v2 3/5] ata: add Broadcom AHCI SATA3 driver for STB chips

2015-04-24 Thread Arnd Bergmann
On Thursday 23 April 2015 09:46:11 Brian Norris wrote: > Hi Arnd, > > On Thu, Apr 23, 2015 at 09:43:55AM +0200, Arnd Bergmann wrote: > > On Wednesday 22 April 2015 19:59:08 Brian Norris wrote: > > > Pretty straightforward driver, using the nice library-ization of the > > > generic ahci_platform dr

RE: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-24 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2015-04-24: > > > On 24/04/2015 03:16, Zhang, Yang Z wrote: >>> This is interesting since previous measurements on KVM have had the >>> exact opposite results. I think we need to understand this a lot >>> more. >> >> What I can tell is that vmexit is heavy. So it is reaso

[v2 0/5] arm64: add kdump support

2015-04-24 Thread AKASHI Takahiro
This patch set enables kdump (crash dump kernel) support on arm64 on top of Geoff's kexec patchset. In this version, there are some arm64-specific usage/constraints: 1) "mem=" boot parameter must be specified on crash dump kernel if the system starts on uefi. 2) Kvm will not be enabled on crash

[v2 4/5] arm64: add kdump support

2015-04-24 Thread AKASHI Takahiro
Please read the following commits for arm64-specific constraints: arm64: kdump: reserve memory for crash dump kernel arm64: kdump: do not go into EL2 before starting a crash dump kernel Signed-off-by: AKASHI Takahiro --- Documentation/kdump/kdump.txt | 31 ++

[v2 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-04-24 Thread AKASHI Takahiro
On system kernel, the memory region used by crash dump kernel must be specified by "crashkernel=X@Y" boot parameter. reserve_crashkernel() will allocate the region in "System RAM" and reserve it for later use. On crash dump kernel, memory region information in system kernel is described in a speci

[v2 2/5] arm64: kdump: implement machine_crash_shutdown()

2015-04-24 Thread AKASHI Takahiro
kdump calls machine_crash_shutdown() to shut down non-boot cpus and save per-cpu general-purpose registers before restarting the crash dump kernel. See kernel_kexec(). ipi_cpu_stop() is used and a bit modified to support this behavior. Signed-off-by: AKASHI Takahiro --- arch/arm64/include/asm/ke

[v2 5/5] arm64: enable kdump in the arm64 defconfig

2015-04-24 Thread AKASHI Takahiro
Signed-off-by: AKASHI Takahiro --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 583cacb..7b3fa3a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -49,6 +49,7 @@

[v2 3/5] arm64: kdump: do not go into EL2 before starting a crash dump kernel

2015-04-24 Thread AKASHI Takahiro
Unlike normal kexec case, we don't have a chance to reset EL2 context in a generic way because bad exceptions may directly invoke crash_kexec(). (See die().) Kvm is not useful on crash dump kernel anyway, and so we let it un-initialized across rebooting. Signed-off-by: AKASHI Takahiro --- arch/a

[PATCH] power_supply: Add support for Richtek rt9455 battery charger

2015-04-24 Thread Anda-Maria Nicolae
Based on the datasheet found here: http://www.richtek.com/download_ds.jsp?p=RT9455 Signed-off-by: Anda-Maria Nicolae --- .../devicetree/bindings/power/rt9455_charger.txt | 38 + .../devicetree/bindings/vendor-prefixes.txt|1 + drivers/power/Kconfig |

Re: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-24 Thread Paolo Bonzini
On 24/04/2015 09:46, Zhang, Yang Z wrote: > > On the other hand vmexit is lighter and lighter on newer processors; a > > Sandy Bridge has less than half the vmexit cost of a Core 2 (IIRC 1000 > > vs. 2500 clock cycles approximately). > > 1000 cycles? I remember it takes about 4000 cycle even in

Re: [PATCH v5 6/8] virtio: add explicit big-endian support to memory accessors

2015-04-24 Thread Greg Kurz
On Fri, 24 Apr 2015 09:04:21 +0200 Cornelia Huck wrote: > On Thu, 23 Apr 2015 21:27:19 +0200 > Thomas Huth wrote: > Thomas's e-mail did not make it to my mailbox... weird. :-\ > > On Thu, 23 Apr 2015 17:29:06 +0200 > > Greg Kurz wrote: > > > > > The current memory accessors logic is: > > > -

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-24 Thread Baoquan He
On 04/15/15 at 02:48pm, Dave Young wrote: > On 04/15/15 at 01:47pm, Li, ZhenHua wrote: > > On 04/15/2015 08:57 AM, Dave Young wrote: > > >Again, I think it is bad to use old page table, below issues need consider: > > >1) make sure old page table are reliable across crash > > >2) do not allow writi

Re: [RFC 0/4] arm64: add livepatch support

2015-04-24 Thread AKASHI Takahiro
Steve, Li and Masami, Thank you for all your comments. You pointed out the cases that I didn't think of. Let me think how I can manage the issues for a while. Probably I will talk to gcc guys. -Takahiro AKASHI On 04/24/2015 03:05 PM, Masami Hiramatsu wrote: (2015/04/24 12:24), Li Bin wrote:

Re: [PATCH v5 7/8] vhost: cross-endian support for legacy devices

2015-04-24 Thread Greg Kurz
On Fri, 24 Apr 2015 09:19:26 +0200 Cornelia Huck wrote: > On Thu, 23 Apr 2015 17:29:42 +0200 > Greg Kurz wrote: > > > This patch brings cross-endian support to vhost when used to implement > > legacy virtio devices. Since it is a relatively rare situation, the > > feature availability is contro

[PATCH v14 0/3] ARM: rk3288: Add PM Domain support

2015-04-24 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Verified on url = https://chromium.googlesource.com/chromiumos/third_party/kernel. At the moment,there are mass of products are using the driver. I believe the driver can happy work f

[PATCH v14 2/3] power-domain: rockchip: add power domain driver

2015-04-24 Thread Caesar Wang
In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power ot the whole chip. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- arch/arm/mach-rockchi

[PATCH v14 3/3] ARM: dts: add RK3288 power-domain node

2015-04-24 Thread Caesar Wang
This patch add the needed clocks into power-controller. why need we do so that? Firstly, we always be needed turn off clocks to save power when the system enter suspend.So we need to enumerate the clocks are needed to switch power doamin no and off. Secondly, RK3288 reset circuit should be syncc

[PATCH v14 1/3] dt-bindings: add document of Rockchip power domain

2015-04-24 Thread Caesar Wang
This add the necessary binding documentation for the power domain found on Rockchip Socs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- .../bindings/arm/rockchip/power_domain.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentatio

Re: [PATCH v5 7/8] vhost: cross-endian support for legacy devices

2015-04-24 Thread Cornelia Huck
On Fri, 24 Apr 2015 10:06:19 +0200 Greg Kurz wrote: > On Fri, 24 Apr 2015 09:19:26 +0200 > Cornelia Huck wrote: > > > On Thu, 23 Apr 2015 17:29:42 +0200 > > Greg Kurz wrote: > > > diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h > > > index bb6a5b4..b980b53 100644 > > > --

RE: [v6] kvm/fpu: Enable fully eager restore kvm FPU

2015-04-24 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2015-04-24: > > > On 24/04/2015 09:46, Zhang, Yang Z wrote: >>> On the other hand vmexit is lighter and lighter on newer >>> processors; a Sandy Bridge has less than half the vmexit cost of a >>> Core 2 (IIRC >>> 1000 vs. 2500 clock cycles approximately). >> >> 1000 cycles

Re: [PATCH] blackfin: Makefile: Skip reloc overflow issue when COMPILE_TEST enabled

2015-04-24 Thread Steven Miao
On Thu, Apr 23, 2015 at 10:30 PM, Chen Gang wrote: > On 4/23/15 10:51, Steven Miao wrote: >> On Wed, Apr 22, 2015 at 10:32 PM, Chen Gang >> wrote: >>> On 4/22/15 17:00, Steven Miao wrote: Hi, On Thu, Apr 9, 2015 at 5:03 AM, Chen Gang wrote: > l1_text is at L1_CODE_START

Re: Broadcom 43340 module on iMX6DL

2015-04-24 Thread Arend van Spriel
On 04/24/15 03:04, John Tobias wrote: Btw, where I could get a copy of the latest driver?. The open-source bcmdhd is in AOSP [1]. I would stick to the android release branch you are running on your device. Regards, Arend [1] https://android.googlesource.com/platform/hardware/broadcom/wlan/

Re: mmotm 2015-04-23-16-38 uploaded

2015-04-24 Thread Michal Hocko
I have just created since-4.0 branch in mm git tree (http://git.kernel.org/?p=linux/kernel/git/mhocko/mm.git;a=summary). It is based on v4.0 tag in Linus tree and mmotm-2015-04-23-16-38. I have pulled some cgroup wide changes from Tejun. As usual mmotm trees are tagged with signed tag (finger pri

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Hajime Tazaki
Hi Richard, At Fri, 24 Apr 2015 09:40:32 +0200, Richard Weinberger wrote: > > Hi! > > Am 19.04.2015 um 15:28 schrieb Hajime Tazaki: > > changes from v2: > > - Patch 02/11 ("slab: add private memory allocator header for arch/lib") > > * add new allocator named SLIB (Library Allocator): Patch 04/

Re: [PATCH] staging: sm750fb: cleanup white space and indent

2015-04-24 Thread Greg KH
On Thu, Apr 23, 2015 at 05:04:08PM -0400, Charles Rose wrote: > This patch fixes "space prohibited" errors reported by checkpatch.pl > and related indentation. The module builds without error. That's two different things, can you break this up into one "logical" patch per thing you are changing he

Re: [PATCH V2 1/4] mailbox: add support for APM X-Gene platform mailbox driver

2015-04-24 Thread Paul Bolle
On Wed, 2015-04-22 at 15:18 -0700, Feng Kan wrote: > --- /dev/null > +++ b/drivers/mailbox/mailbox-xgene-slimpro.c > +static struct platform_driver slimpro_mbox_driver = { > + .probe = slimpro_mbox_probe, > + .remove = slimpro_mbox_remove, > + .driver = { > + .name = "xgen

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-24 Thread Dave Young
Hi, Baoquan > I support this patchset. > > We should not fear oldmem since reserved crashkernel region is similar. > No one can guarantee that any crazy code won't step into crashkernel > region just because 1st kernel says it's reversed for kdump kernel. Here > the root table and context tables

[PATCH] ARC: perf: Remove unnecessary local variable

2015-04-24 Thread Tobias Klauser
Directly return the result of perf_pmu_register() in arc_pmu_device_probe() instead of assigning and returning variable ret. Signed-off-by: Tobias Klauser --- arch/arc/kernel/perf_event.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arc/kernel/perf_event.c b/arc

[GIT PULL] arch/nios2 update for 4.1-rc1

2015-04-24 Thread Ley Foon Tan
Hi Linus Here is the nios2 update for v4.1. - update cache management code - rework trap handler with new define trap #. - fix on check header warning. Please consider pulling. Regards Ley Foon The following changes since commit 39a8804455fb23f09157341d3ba7db6d7ae6ee76: Linux 4.0 (2015-04-1

Re: [PATCH] mfd: syscon: allow to register syscon with a device

2015-04-24 Thread Philipp Zabel
Am Dienstag, den 17.03.2015, 11:24 +0100 schrieb Philipp Zabel: > Commit bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform > devices") > added the possibility to register syscon devices without associated platform > device. This also removed regmap debugfs facilities, which don't

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Greg Kroah-Hartman
On Fri, Apr 24, 2015 at 08:45:15AM +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 24, 2015 at 08:36:03AM +0200, Greg Kroah-Hartman wrote: > > On Thu, Apr 23, 2015 at 10:56:40PM +0200, Borislav Petkov wrote: > > > > Hm, this seems to be to be O(1), pretty constant, we do the same amount > > > > of w

Re: [PATCH v2] docs: add VmPMD description in proc

2015-04-24 Thread Kirill A. Shutemov
On Fri, Apr 24, 2015 at 03:44:17AM -0400, Chen Hanxiao wrote: > commit dc6c9a35b66b ("mm: account pmd page tables to the process") > add VmPMD in /proc/PID/status. > This patch add a description in proc.txt for it. > > cc: Kirill A. Shutemov > Signed-off-by: Chen Hanxiao Acked-by: Kirill A. Shu

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-24 Thread Baoquan He
On 04/24/15 at 04:25pm, Dave Young wrote: > Hi, Baoquan > > > I support this patchset. > > > > We should not fear oldmem since reserved crashkernel region is similar. > > No one can guarantee that any crazy code won't step into crashkernel > > region just because 1st kernel says it's reversed for

Re: [PATCH] [Input: add a driver for wdt87xx touchscreen controller] The main function of this driver is to report touch events and update firmware for the controller.

2015-04-24 Thread Paul Bolle
Just a license mismatch. On Fri, 2015-04-24 at 00:21 +0800, HungNien Chen wrote: > --- /dev/null > +++ b/drivers/input/touchscreen/wdt87xx_i2c.c > + * This software is licensed under the terms of the GNU General Public > + * License version 2, as published by the Free Software Foundation, and > +

Re: Broadcom 43340 module on iMX6DL

2015-04-24 Thread Arend van Spriel
On 04/24/15 02:57, John Stultz wrote: On Thu, Apr 23, 2015 at 12:00 PM, Arend van Spriel wrote: By the name of the file I suspected you did. Personally, I verified the firmware works on 43341. John Stultz tested both 43340 and 43341 with this firmware. Minor correction here, I only tested on

Re: [PATCH 3/6] Drivers: hv: vmbus: decrease num_sc on subchannel removal

2015-04-24 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Tuesday, April 21, 2015 22:28 >> To: KY Srinivasan >> Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- >> ker...@vger.kernel.org; Dexuan Cui >> Subject: [PATCH 3/6] Drivers: hv:

RE: [PATCH 6/6] Drivers: hv: vmbus: do a fair round robin when selecting an outgoing channel

2015-04-24 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, April 21, 2015 22:28 > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH 6/6] Drivers: hv: vmbus: do a fair round robi

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Thomas Gleixner
On Thu, 23 Apr 2015, Andi Kleen wrote: > > We can just detect the deviation in the callback itself: > > > >u64 now = ktime_get_mono_fast_ns(); > > > >if (now - __this_cpu_read(nmi_timestamp) < period) > >return; > > > >__this_cpu_write(nmi_timestamp, n

Re: [PATCH 4/6] Drivers: hv: vmbus: move init_vp_index() call to vmbus_process_offer()

2015-04-24 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Tuesday, April 21, 2015 22:28 >> To: KY Srinivasan >> Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- >> ker...@vger.kernel.org; Dexuan Cui >> Subject: [PATCH 4/6] Drivers: hv:

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-24 Thread Dave Young
On 04/24/15 at 04:35pm, Baoquan He wrote: > On 04/24/15 at 04:25pm, Dave Young wrote: > > Hi, Baoquan > > > > > I support this patchset. > > > > > > We should not fear oldmem since reserved crashkernel region is similar. > > > No one can guarantee that any crazy code won't step into crashkernel >

RE: [PATCH 4/6] Drivers: hv: vmbus: move init_vp_index() call to vmbus_process_offer()

2015-04-24 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, April 21, 2015 22:28 > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH 4/6] Drivers: hv: vmbus: move init_vp_index()

Re: [PATCH 1/2] drivers/tty/serial/sh-sci.h: remove dead reference on ARCH_SH7372

2015-04-24 Thread Geert Uytterhoeven
Hi Valentin, On Sat, Apr 11, 2015 at 12:26 PM, Valentin Rothberg wrote: > The Kconfig option ARCH_SH7372 has been removed by commit 59b89af1d555 > ("ARM: shmobile: sh7372: Remove Legacy C SoC code"). This patch removes > the last reference on this Kconfig option. > > Signed-off-by: Valentin Roth

RE: [PATCH 5/6] Drivers: hv: vmbus: distribute subchannels among all vcpus

2015-04-24 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, April 21, 2015 22:28 > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH 5/6] Drivers: hv: vmbus: distribute subchanne

[RFC PATCH] power: axp288_charger: axp288 charger driver

2015-04-24 Thread Ramakrishna Pallala
This patch adds new power supply charger driver support for X-Power AXP288 PMIC integrated charger. This driver interfaces with the axp20x mfd driver as a cell and listens to extcon cable events for setting up charging. Signed-off-by: Ramakrishna Pallala --- drivers/power/Kconfig |

Re: [GIT PULL 0/4] perf/urgent fixes

2015-04-24 Thread Javi Merino
On Fri, Apr 24, 2015 at 03:02:18AM +0100, Namhyung Kim wrote: > Hi Arnaldo, > > I've set up some docker containers for build test, and found a couple > of failures.. It seems David's kmem build fix ("perf kmem: Fix > compiles on RHEL6/OL6") which is in your perf/core branch also needs > to be in

Re: [PATCH 6/6] Drivers: hv: vmbus: do a fair round robin when selecting an outgoing channel

2015-04-24 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Tuesday, April 21, 2015 22:28 >> To: KY Srinivasan >> Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- >> ker...@vger.kernel.org; Dexuan Cui >> Subject: [PATCH 6/6] Drivers: hv:

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Richard Weinberger
Hi! Am 24.04.2015 um 10:22 schrieb Hajime Tazaki: >> You *really* need to shape up wrt the build process. > > at the moment, the implementation of libos can't automate to > follow such changes in the build process. but good news is > it's a trivial task to follow up the latest function. > > my o

Re: [PATCH RT 3.18] irq_work: Provide a soft-irq based queue

2015-04-24 Thread Jan Kiszka
On 2015-04-24 08:54, Mike Galbraith wrote: > On Thu, 2015-04-23 at 17:00 -0400, Steven Rostedt wrote: >> On Thu, 23 Apr 2015 09:19:26 +0200 >> Mike Galbraith wrote: >> CC kernel/irq_work.o In file included from ../include/asm-generic/percpu.h:6:0, from ../arc

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Borislav Petkov
On Thu, Apr 23, 2015 at 05:51:33PM -0700, Andi Kleen wrote: > There were systems in the past that ran TSC at a much slower > frequency, such as the early AMD Barcelona systems. You mean the eval boxes which were never sold as production systems? -- Regards/Gruss, Boris. ECO tip #101: Trim y

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-24 Thread Borislav Petkov
On Thu, Apr 23, 2015 at 10:02:52PM -0700, Steven Noonan wrote: > On Thu, Apr 23, 2015 at 2:41 PM, Borislav Petkov wrote: > > On Thu, Apr 23, 2015 at 11:22:39PM +0200, David Herrmann wrote: > >> No it's not. O(256) equals O(1). > > > > Ok, you're right. Maybe O() was not the right thing to use when

Re: [PATCH 5/6] Drivers: hv: vmbus: distribute subchannels among all vcpus

2015-04-24 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Tuesday, April 21, 2015 22:28 >> To: KY Srinivasan >> Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- >> ker...@vger.kernel.org; Dexuan Cui >> Subject: [PATCH 5/6] Drivers: hv:

Re: [PATCH] context_tracking: remove local_irq_save from __acct_update_integrals

2015-04-24 Thread Heiko Carstens
On Thu, Apr 23, 2015 at 09:57:13PM -0400, Rik van Riel wrote: > diff --git a/kernel/tsacct.c b/kernel/tsacct.c > index 975cb49e32bf..0b967f116a6b 100644 > --- a/kernel/tsacct.c > +++ b/kernel/tsacct.c > @@ -126,23 +126,29 @@ static void __acct_update_integrals(struct task_struct > *tsk, > if

RE: [PATCH v2 0/3] Drivers: hv: vmbus: additional fixes for the setup/teardown path

2015-04-24 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, April 22, 2015 0:22 > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; Dexuan Cui; Dan Carpenter > Subject: [PATCH v2 0/3] Drivers: hv: vmbus: a

[PATCH v2] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages on ARM

2015-04-24 Thread Stefano Stabellini
Make sure that xen_swiotlb_init allocates buffers that are DMA capable when at least one memblock is available below 4G. Otherwise we assume that all devices on the SoC can cope with >4G addresses. We do this on ARM and ARM64, where dom0 is mapped 1:1, so pfn == mfn in this case. No functional cha

Re: [PATCH v2 0/3] Drivers: hv: vmbus: additional fixes for the setup/teardown path

2015-04-24 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Wednesday, April 22, 2015 0:22 >> To: KY Srinivasan >> Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- >> ker...@vger.kernel.org; Dexuan Cui; Dan Carpenter >> Subject: [PATCH v

Re: [RFC 0/4] arm64: add livepatch support

2015-04-24 Thread Jiri Kosina
On Fri, 24 Apr 2015, AKASHI Takahiro wrote: > This patchset enables livepatch support on arm64. > > Livepatch was merged in v4.0, and allows replacying a function dynamically > based on ftrace framework, but it also requires -mfentry option of gcc. > Currently arm64 gcc doesn't support it, but by

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-24 Thread Mark Brown
On Thu, Apr 23, 2015 at 05:47:49PM -0700, Kevin Cernekee wrote: > This is mostly working OK, but regcache_sync() assumes that the > hardware registers have been reset back to the default values. The > "pdn" GPIO doesn't actually reset the state of the tas571x; it just > makes I2C inaccessible and

Re: [PATCH v7 0/3] Add ktd2692 Flash LED driver using LED Flash class

2015-04-24 Thread Varka Bhadram
On 04/23/2015 06:48 PM, Ingi Kim wrote: > This patch adds ktd2692 Flash LED driver with LED Flash class > > Change in v7: > - Add flash-max-microamp property for Flash LED > - Change gpio-legacy interface to gpio consumer interface > > Change in v6 resend: > - Adjust indent using

[PATCH] xen: vcpu_info reinit error after 'xl save -c' & 'xl restore' on PVOPS VM which has multi-cpu

2015-04-24 Thread Ouyang Zhaowei (Charles)
If a PVOPS VM has multi-cpu the vcpu_info of cpu0 is the member of the structure HYPERVISOR_shared_info, and the others is not, but after 'xl save -c/restore' the vcpu_info will be reinitialized, the vcpu_info of all the vcpus will be considered as the member of HYPERVISOR_shared_info. This will

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Thomas Gleixner
On Fri, 24 Apr 2015, Thomas Gleixner wrote: > On Thu, 23 Apr 2015, Andi Kleen wrote: > > > We can just detect the deviation in the callback itself: > > > > > >u64 now = ktime_get_mono_fast_ns(); > > > > > >if (now - __this_cpu_read(nmi_timestamp) < period) > > > r

Re: [PATCH 02/14] MIPS: ath79: Add basic device tree support

2015-04-24 Thread Alban
On Mon, 20 Apr 2015 11:50:56 +0200 Paul Bolle wrote: > On Sat, 2015-04-18 at 18:31 +0200, Alban wrote: > > On Sat, 18 Apr 2015 09:05:52 +0200 > > Paul Bolle wrote: > > > > > On Fri, 2015-04-17 at 16:24 +0200, Alban Bedel wrote: > > > > > > > --- a/arch/mips/ath79/Kconfig > > > > +++ b/arch/mip

Re: [PATCH V2] drivers/rtc/rtc-ds1307.c: Enable the mcp794xx alarm after programming time

2015-04-24 Thread Alexandre Belloni
On 22/04/2015 at 19:04:52 -0500, Nishanth Menon wrote : > > I fully agree that your patch doesn't change the behaviour for the other > > cases you presented and further clean up is to be done in a separate set > > of patches. > > > Sure, Acked-by: Alexandre Belloni -- Alexandre Belloni, Free

[PATCH] of: Move OF flags to be visible even when !CONFIG_OF

2015-04-24 Thread Pantelis Antoniou
We need those to be visible even when compiling with CONFIG_OF disabled, since even the empty of_node_*_flag() method use the flag. Signed-off-by: Pantelis Antoniou --- include/linux/of.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/linux/of.h b/includ

[PATCH] of: unittest: overlay: Keep track of created overlays

2015-04-24 Thread Pantelis Antoniou
During the course of the overlay selftests some of them remain applied. While this does not pose a real problem, make sure you track them and destroy them at the end of the test. Signed-off-by: Pantelis Antoniou --- drivers/of/unittest.c | 62 +++

[RESEND PATCH] configfs: init configfs module earlier at boot time

2015-04-24 Thread Daniel Baluta
We need this earlier in the boot process to allow various subsystems to use configfs (e.g Industrial IIO). Also, debugfs is at core_initcall level and configfs should be on the same level from infrastructure point of view. Suggested-by: Lars-Peter Clausen Signed-off-by: Daniel Baluta Reviewed-b

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Alexander Shishkin
Thomas Gleixner writes: > On Fri, 24 Apr 2015, Thomas Gleixner wrote: >> On Thu, 23 Apr 2015, Andi Kleen wrote: >> > > We can just detect the deviation in the callback itself: >> > > >> > >u64 now = ktime_get_mono_fast_ns(); >> > > >> > >if (now - __this_cpu_read(nmi_timestamp)

[PATCH v3 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-04-24 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays diff --git a

[PATCH v3 1/4] of: overlay: kobjectify overlay objects

2015-04-24 Thread Pantelis Antoniou
We are going to need the overlays to appear on sysfs with runtime global properties (like master enable) so turn them into kobjects. Signed-off-by: Pantelis Antoniou --- drivers/of/base.c | 5 + drivers/of/of_private.h | 9 + drivers/of/overlay.c| 52 +

[PATCH v3 0/4] of: overlay: kobject & sysfs'ation

2015-04-24 Thread Pantelis Antoniou
The first patch puts the overlays as objects in the sysfs in /sys/firmware/devicetree/overlays. The next adds a master overlay enable switch (that once is set to disabled can't be re-enabled), while the one after that introduces a number of default per overlay attributes. The patchset is against

[PATCH v3 2/4] of: overlay: global sysfs enable attribute

2015-04-24 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. Signed-off-by: Pantelis Antoniou --- drivers/of/overlay.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v3 3/4] of: overlay: add per overlay sysfs attributes

2015-04-24 Thread Pantelis Antoniou
The two default overlay attributes are: * A targets sysfs attribute listing the targets of the installed overlay. The targets list the path on the kernel's device tree where each overlay fragment is applied to * A per overlay can_remove sysfs attribute that reports whether the overlay can be remo

Re: [PATCH v1] watchdog: Use a reference cycle counter to avoid scaling issues

2015-04-24 Thread Thomas Gleixner
On Fri, 24 Apr 2015, Alexander Shishkin wrote: > Thomas Gleixner writes: > > > On Fri, 24 Apr 2015, Thomas Gleixner wrote: > >> On Thu, 23 Apr 2015, Andi Kleen wrote: > >> > > We can just detect the deviation in the callback itself: > >> > > > >> > >u64 now = ktime_get_mono_fast_ns(); >

[PATCH perf/core v3 6/8] perf probe: Accept filter argument for --funcs

2015-04-24 Thread Masami Hiramatsu
This allows user to pass the filter pattern directly to --funcs option as below. # ./perf probe -F *kmalloc __kmalloc devm_kmalloc mempool_kmalloc sg_kmalloc sock_kmalloc We previously need --filter option for that. Signed-off-by: Masami Hiramatsu --- tools/perf/Docume

[PATCH perf/core v3 7/8] perf probe: Remove redundant cleanup of params.filter

2015-04-24 Thread Masami Hiramatsu
Since params.filter will be released in cleanup_params, we don't need to clear it in each command. Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-probe.c |6 -- 1 file changed, 6 deletions(-) diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index 5a0e8f1..08c

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Hajime Tazaki
At Fri, 24 Apr 2015 10:59:21 +0200, Richard Weinberger wrote: > Am 24.04.2015 um 10:22 schrieb Hajime Tazaki: > >> You *really* need to shape up wrt the build process. > > > > at the moment, the implementation of libos can't automate to > > follow such changes in the build process. but good news

[PATCH perf/core v3 3/8] perf probe: Accept multiple filter options

2015-04-24 Thread Masami Hiramatsu
Accept multiple filter options. Each filters are combined by logical-or. E.g. --filter abc* --filter *def is same as --filter abc*|*def Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-probe.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tools/perf/b

[PATCH perf/core v3 4/8] perf probe: Accept filter argument for --list

2015-04-24 Thread Masami Hiramatsu
Currently, perf-probe --list option ignores given event filter. # ./perf probe -l vfs\* probe:vfs_read (on vfs_read@ksrc/linux-3/fs/read_write.c) probe_libc:malloc(on __libc_malloc@malloc/malloc.c in /usr/lib64/libc-2.17.so) This changes --list option to accept t

  1   2   3   4   5   6   7   8   9   >