Re: [tip:x86/mm] arch/*/io.h: Add ioremap_uc() to all architectures

2015-07-29 Thread Hans-Christian Egtvedt
Around Wed 29 Jul 2015 01:15:56 -0700 or thereabout, tip-bot for Luis R. Rodriguez wrote: > Commit-ID: 4c73e8926623ca0f64c2c6111289ab8096fa647a > Gitweb: http://git.kernel.org/tip/4c73e8926623ca0f64c2c6111289ab8096fa647a > Author: Luis R. Rodriguez > AuthorDate: Tue, 28 Jul 2015

Re: [PATCH v2] kthread: Export kthread functions

2015-07-29 Thread Thomas Gleixner
On Tue, 28 Jul 2015, Andrew Morton wrote: > On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner > wrote: > > > The s-Par visornic driver, currently in staging, processes a queue > > being serviced by the an s-Par service partition. We can get a message > > that something has happened with the

Re: [RFC PATCH v2 0/3] genirq, serial: 8250: Workaround to avoid irq=0 for console

2015-07-29 Thread Thomas Gleixner
On Wed, 29 Jul 2015, Taichi Kageyama wrote: > - Keep interrupt disabled on the CPU which is used to detect > an interrupt during the timeout of autoconfig_irq(). > + Kick printk() on the CPU which detects interrupt >from a console serial port. This is wrong to begin with. How is

Re: [PATCH v3 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-07-29 Thread Will Deacon
On Wed, Jul 29, 2015 at 06:41:31AM +0100, Yong Wu wrote: > On Mon, 2015-07-27 at 16:49 +0100, Robin Murphy wrote: > > On 27/07/15 16:31, Russell King - ARM Linux wrote: > > > On Mon, Jul 27, 2015 at 02:23:26PM +0100, Robin Murphy wrote: > > >> On 16/07/15 10:04, Yong Wu wrote: > > >>> This patch

Re: [PATCH v2] mm: show proportional swap share of the mapping

2015-07-29 Thread Minchan Kim
Hi Jerome, On Wed, Jul 29, 2015 at 10:33:53AM +0200, Jerome Marchand wrote: > On 06/15/2015 03:06 PM, Minchan Kim wrote: > > We want to know per-process workingset size for smart memory management > > on userland and we use swap(ex, zram) heavily to maximize memory efficiency > > so workingset

Re: [PATCH 1/5] Add functions producing system time given a backing counter value

2015-07-29 Thread Thomas Gleixner
On Wed, 29 Jul 2015, Thomas Gleixner wrote: > On Mon, 27 Jul 2015, John Stultz wrote: > > On Mon, Jul 27, 2015 at 8:44 PM, John Stultz wrote: > > > On Mon, Jul 27, 2015 at 5:46 PM, Christopher Hall > > > wrote: > > >> * counter_to_rawmono64 > > >> * counter_to_mono64 > > >> *

Re: [PATCH 1/4] opp: add dev_pm_opp_is_turbo() helper

2015-07-29 Thread Viresh Kumar
On 28-07-15, 16:27, Pavel Machek wrote: > Typo. > > And this is not exactly most helpful comment. opp is turbo... returns > if opp was turbo. Explanation what "turbo" means in this context would > be nice. I'm pretty sure it is not about air compression :-). Does this make it any better: diff

[PATCH] [linux-next] drm:bridge: Fix warning while make xmldocs caused by drm_crtc.h

2015-07-29 Thread Masanari Iida
This patch fix following warning while make xmldocs. .//include/drm/drm_crtc.h:933: warning: Excess struct/union/enum/typedef member 'base' description in 'drm_bridge' Signed-off-by: Masanari Iida --- include/drm/drm_crtc.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 1/5] Add functions producing system time given a backing counter value

2015-07-29 Thread Thomas Gleixner
On Mon, 27 Jul 2015, John Stultz wrote: > On Mon, Jul 27, 2015 at 8:44 PM, John Stultz wrote: > > On Mon, Jul 27, 2015 at 5:46 PM, Christopher Hall > > wrote: > >> * counter_to_rawmono64 > >> * counter_to_mono64 > >> * counter_to_realtime64 > >> > >> Enables drivers to translate a captured

Re: [PATCH 4/8] xen: Use the correctly the Xen memory terminologies

2015-07-29 Thread Wei Liu
On Tue, Jul 28, 2015 at 04:02:45PM +0100, Julien Grall wrote: [...] > diff --git a/drivers/net/xen-netback/netback.c > b/drivers/net/xen-netback/netback.c > index 7d50711..3b7b7c3 100644 > --- a/drivers/net/xen-netback/netback.c > +++ b/drivers/net/xen-netback/netback.c > @@ -314,7 +314,7 @@

[PATCH v4 03/10] irqchip / GIC / ACPI: Use IRQCHIP_ACPI_DECLARE to simplify GICv2 init code

2015-07-29 Thread Hanjun Guo
As the ACPI self-probe infrastructure for irqchip is ready, we use the infrastructure to simplify GICv2 init code. acpi_irqchip_init() is renamed as acpi_irq_init() to replace the previous hardcode version of acpi_irq_init() in asm/irq.h, also cleanup the code which previously calling the GIC

[PATCH v4 07/10] irqchip / GICv3 / ACPI: Add GICR support via GICC structures

2015-07-29 Thread Hanjun Guo
On systems supporting GICv3 and above, in MADT GICC structures, the field of GICR Base Address holds the 64-bit physical address of the associated Redistributor if the GIC Redistributors are not in the always-on power domain, so instead of init GICR regions via GIC redistributor structure(s), init

[PATCH v4 10/10] irqchip / gicv2m: Introducing gicv2m_acpi_init()

2015-07-29 Thread Hanjun Guo
From: Suravee Suthikulpanit This patch introduces gicv2m_acpi_init(), which uses information in MADT GIC MSI frames structure to initialize GICv2m driver. It also refactors gicv2m_init_one() to handle both DT and ACPI initialization path. Signed-off-by: Suravee Suthikulpanit Signed-off-by:

[PATCH v4 09/10] PCI: ACPI: Bind GIC MSI frame to PCI host bridge

2015-07-29 Thread Hanjun Guo
From: Suravee Suthikulpanit This patch introduces pci_host_bridge_acpi_msi_domain(), which queries a GIC MSI irq-domain token and use it to retrieve an irq_domain with DOMAIN_BUS_PCI_MSI bus type, and bind it to PCI host-bridge. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Hanjun Guo

[PATCH v4 08/10] ACPI: GIC: Add ACPI helper functions to query irq-domain tokens for for GIC MSI and ITS

2015-07-29 Thread Hanjun Guo
From: Suravee Suthikulpanit This patch introduces acpi_gic_get_msi_token(), which returns irq-domain token that can be used to look up MSI doamin of a device. In both GIC MSI and ITS cases, the base_address specified in the GIC MSI or GIC ITS structure is used as a token for MSI domain. In

[PATCH v4 00/10] ACPI GIC Self-probing, GICv2m and GICv3 support

2015-07-29 Thread Hanjun Guo
When ACPI core patches were merged into mainline, there were two TODOs for ACPI based GIC init, one is the Self-probing for GIC, the other one is to support stacked irq domain, also the feature of GICv2m and GICv3 is missing in that patch set. For ACPI Self-probing for GIC, thanks to the GIC

[PATCH v4 01/10] irqchip / GIC: Add GIC version support in ACPI MADT

2015-07-29 Thread Hanjun Guo
There is a field added in ACPI 6.0 MADT table to indicate the GIC version, so parse the table to get its value for later use. If GIC version presented in MADT is 0, we need to fallback to hardware discovery to get the GIC version. In ACPI MADT table there is no compatible strings to indicate

[PATCH v4 04/10] irqchip / GICv3: Refactor gic_of_init() for GICv3 driver

2015-07-29 Thread Hanjun Guo
From: Tomasz Nowicki Isolate hardware abstraction (FDT) code to gic_of_init(). Rest of the logic goes to gic_init_bases() and expects well defined data to initialize GIC properly. The same solution is used for GICv2 driver. This is needed for ACPI initialization later. Signed-off-by: Tomasz

[PATCH v4 02/10] ACPI / irqchip: Add self-probe infrastructure to initialize IRQ controller

2015-07-29 Thread Hanjun Guo
This self-probe infrastructure works in the similar way as OF, but there is some different in the mechanism: For DT, the init fn will be called once it finds compatible strings in DT, but for ACPI, we init irqchips by static tables, and in static ACPI tables, there are no compatible strings to

[PATCH v4 06/10] irqchip / GICv3: Add ACPI support for GICv3+ initialization

2015-07-29 Thread Hanjun Guo
From: Tomasz Nowicki With the refator of gic_of_init(), GICv3/4 can be initialized by gic_init_bases() with gic distributor base address and gic redistributor region(s). So get the redistributor region base addresses from MADT GIC redistributor subtable, and the distributor base address from

[PATCH v4 05/10] irqchip / GICv3: remove the useless comparision of device node in xlate

2015-07-29 Thread Hanjun Guo
In gic_irq_domain_xlate(), we match the domain's device node to the controller and it turns out pretty useless, because we're always registering the GIC domain with its device_node on DT, this is really guaranteed to match. Since we unify the way of matching irqdomain in DT and ACPI, this is also

[PATCH][linux-next] genirq: Fix warning while make xmldocs caused by chip.c

2015-07-29 Thread Masanari Iida
This patch fix following warning while make xmldocs. Warning(.//kernel/irq/chip.c:1009): No description found for parameter 'vcpu_info' Warning(.//kernel/irq/chip.c:1009): Excess function parameter 'dest' description in 'irq_chip_set_vcpu_affinity_parent' Signed-off-by: Masanari Iida ---

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Lee Jones
On Wed, 29 Jul 2015, Jean Delvare wrote: > Hi Lee, > > On Tue, 28 Jul 2015 18:32:16 +0100, Lee Jones wrote: > > On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > On 07/28/2015 08:28 AM, Lee Jones wrote: > > > >On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > >>Sure, we could have changed it to

Re: [PATCH] cpufreq: Add scaling frequency range support

2015-07-29 Thread Pan Xinhui
On 2015年07月29日 17:59, Pan Xinhui wrote: > hi, Rafael > thanks for you reply. > > On 2015年07月29日 08:18, Rafael J. Wysocki wrote: >> On Tuesday, July 28, 2015 12:53:33 PM Pan Xinhui wrote: >>> hi, Viresh >>> thanks for your reply :) >>> On 2015年07月28日 12:29, Viresh Kumar wrote: On

Re: [RFC PATCH 06/14] kthread: Add kthread_worker_created()

2015-07-29 Thread Petr Mladek
On Tue 2015-07-28 13:26:57, Tejun Heo wrote: > Hello, > > On Tue, Jul 28, 2015 at 04:39:23PM +0200, Petr Mladek wrote: > > I would like to make cleaner kthread worker API and hide the definition > > of struct kthread_worker. It will prevent any custom hacks and make > > the API more secure. > >

Re: [RFC PATCH 03/14] kthread: Add drain_kthread_worker()

2015-07-29 Thread Petr Mladek
On Tue 2015-07-28 13:18:22, Tejun Heo wrote: > Hello, > > On Tue, Jul 28, 2015 at 04:39:20PM +0200, Petr Mladek wrote: > > +/* > > + * Test whether @work is being queued from another work > > + * executing on the same kthread. > > + */ > > +static bool is_chained_work(struct kthread_worker

Re: [PATCH] cpufreq: Add scaling frequency range support

2015-07-29 Thread Pan Xinhui
hi, Rafael thanks for you reply. On 2015年07月29日 08:18, Rafael J. Wysocki wrote: > On Tuesday, July 28, 2015 12:53:33 PM Pan Xinhui wrote: >> hi, Viresh >> thanks for your reply :) >> On 2015年07月28日 12:29, Viresh Kumar wrote: >>> On 28-07-15, 11:32, Pan Xinhui wrote: From: Pan

Re: [PATCH] virtio_mmio: add ACPI probing

2015-07-29 Thread Michael S. Tsirkin
On Wed, Jul 29, 2015 at 10:01:35AM +0800, Shannon Zhao wrote: > > > On 2015/7/29 5:10, Peter Maydell wrote: > > On 28 July 2015 at 21:28, G Gregory wrote: > >> > On 28 July 2015 at 21:12, Peter Maydell wrote: > >>> >> Mmm. I'm not terribly happy about stuff being in QEMU before the > >>> >>

Re: [PATCH 08/10] mm, page_alloc: Remove MIGRATE_RESERVE

2015-07-29 Thread Vlastimil Babka
On 07/20/2015 10:00 AM, Mel Gorman wrote: > From: Mel Gorman > > MIGRATE_RESERVE preserves an old property of the buddy allocator that existed > prior to fragmentation avoidance -- min_free_kbytes worth of pages tended to > remain free until the only alternative was to fail the allocation. At

Re: [PATCH] mm: add resched points to remap_pmd_range/ioremap_pmd_range

2015-07-29 Thread Michal Hocko
On Tue 28-07-15 10:08:44, Jörn Engel wrote: > On Tue, Jul 28, 2015 at 03:32:55PM +0200, Michal Hocko wrote: > > > > > > We have kernel preemption disabled. A lower-priority task in a system > > > call will block higher-priority tasks. > > > > This is an inherent problem of !PREEMPT, though.

[PATCH] of: add vendor prefix for Socionext Inc.

2015-07-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index d444757..5ab8f6b 100644 ---

Re: Congrats !

2015-07-29 Thread Nicolas PERRON
Quoting Nicolas PERRON : Private Donation for you; contact your benefactor with your donation code RBL15USJHS (jhuntsma...@yahoo.com) for claim This message was sent using IMP, the Internet Messaging Program.

Re: [PATCH] input: twl4030-vibra: Fix ERROR: Bad of_node_put() warning

2015-07-29 Thread Dr. H. Nikolaus Schaller
Hi Tomi, Am 29.07.2015 um 07:47 schrieb Dr. H. Nikolaus Schaller : > Hi all, > > Am 29.07.2015 um 05:13 schrieb Rob Herring : > >> On Tue, Jul 28, 2015 at 3:23 PM, Belisko Marek >> wrote: >>> Hi Dmitry, >>> >>> On Thu, Jul 23, 2015 at 10:53 PM, Dmitry Torokhov >>> wrote: On Thu, Jul

Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-29 Thread He Kuang
Hi, Alexei On 2015/7/28 10:18, Alexei Starovoitov wrote: On 7/25/15 3:04 AM, He Kuang wrote: I noticed that for 64-bit elf format, the reloc sections have 'Addend' in the entry, but there's no 'Addend' info in bpf elf file(64bit). I think there must be something wrong in the process of .s ->

Re: [PATCH] x86/mm, efi: Check for valid image type

2015-07-29 Thread Dave Young
Hi, > > > As you pointed out above, a wild pointer could cause a > > WARN from early_ioremap. We need to never follow the pointer in the > > first place after a kexec, unless we have some way to know that it's > > actually valid. > > So you assume that the information from ACPI is always

[PATCH] pinctrl: mediatek: Implement pictrl irq wake handler

2015-07-29 Thread maoguang.meng
From: Maoguang Meng This patch implement irq_set_wake for suspend resume. Signed-off-by: Maoguang Meng --- drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c

[PATCH] f2fs: freeze filesystem when fail to update meta page due to IO error

2015-07-29 Thread Chao Yu
In get_meta_page, we guarantee no failure for the returned page, but sometimes, IO error from device will incur returning an non-updated page. Then, we still use this page as updated one, exception could happen when using this kind of page. So in this condition, we'd better freeze fs by making

RE: [f2fs-dev] [PATCH 2/2] f2fs: handle error cases in commit_inmem_pages

2015-07-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, July 28, 2015 11:57 PM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs:

Re: [PATCH 0/2] arm64: support initrd outside of mapped RAM

2015-07-29 Thread Mark Rutland
On Wed, Jul 29, 2015 at 10:20:38AM +0100, Jon Medhurst (Tixy) wrote: > On Tue, 2015-07-28 at 10:32 -0400, Mark Salter wrote: > > When booting an arm64 kernel w/initrd using UEFI/grub, use of mem= will > > likely > > cut off part or all of the initrd. This leaves it outside the kernel linear > >

[PATCH 2/2] arch:x86:kernel:cpu Changed some spaces into tabs and printk KERN_CONT into pr_cont

2015-07-29 Thread Jose Manuel Abuin Mosquera
Some lines with spaces indentations are changed into tabs. Calls to printk(KERN_CONT are changed into pr_cont( Signed-off-by: Jose Manuel Abuin Mosquera --- arch/x86/kernel/cpu/perf_event_intel_ds.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git

[PATCH 1/2] arch:x86:kernel:cpu Modified some lines according to coding style

2015-07-29 Thread Jose Manuel Abuin Mosquera
Only some code modifications according to the coding style guide Signed-off-by: Jose Manuel Abuin Mosquera --- arch/x86/kernel/cpu/perf_event_intel_rapl.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c

Re: Re: [V2 PATCH 1/3] x86/panic: Fix re-entrance problem due to panic on NMI

2015-07-29 Thread Michal Hocko
On Wed 29-07-15 09:09:18, 河合英宏 / KAWAI,HIDEHIRO wrote: > > From: Michal Hocko [mailto:mho...@kernel.org] > > On Wed 29-07-15 05:48:47, 河合英宏 / KAWAI,HIDEHIRO wrote: > > > Hi, > > > > > > > From: linux-kernel-ow...@vger.kernel.org > > > > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of

Re: [PATCH 0/2] arm64: support initrd outside of mapped RAM

2015-07-29 Thread Jon Medhurst (Tixy)
On Tue, 2015-07-28 at 10:32 -0400, Mark Salter wrote: > When booting an arm64 kernel w/initrd using UEFI/grub, use of mem= will likely > cut off part or all of the initrd. This leaves it outside the kernel linear > map which leads to failure when unpacking. Have we got a similar issue for the

Re: [Patch V6 12/16] mm: provide early_memremap_ro to establish read-only mapping

2015-07-29 Thread Juergen Gross
On 07/21/2015 06:49 AM, Juergen Gross wrote: Hi MM maintainers, this patch is the last requiring an ack for the series to go in. Could you please comment? PING? Juergen On 07/17/2015 06:51 AM, Juergen Gross wrote: During early boot as Xen pv domain the kernel needs to map some page

Re: [PATCH v3 0/6] mmc: imx: a few fixes and new feature

2015-07-29 Thread Dong Aisheng
On Wed, Jul 29, 2015 at 05:03:51PM +0800, Haibo Chen wrote: > Changes for v3: > -Add property describe in binding doc. > > Haibo Chen (6): > mmc: sdhci-esdhc-imx: add imx7d support and support HS400 > mmc: sdhci-esdhc-imx: add tuning-step seting support > ARM: dts: imx7d-sdb: add eMMC5.0

Re: [PATCH] memory_failure: remove redundant check for the PG_HWPoison flag of 'hpage'

2015-07-29 Thread Naoya Horiguchi
# CC:ed linux-mm Hi Xiaoqiang, On Wed, Jul 29, 2015 at 03:52:46PM +0800, Wang Xiaoqiang wrote: > Hi, > > I find a little problem in the memory_failure function in > mm/memory-failure.c . Please check it. > > memory_failure: remove redundant check for the PG_HWPoison flag of > `hpage'. > >

[PATCH v3 0/3] x86/pci/intel-mid-pci: fix to get eMMC detected

2015-07-29 Thread Andy Shevchenko
On Intel Edison we have an interesting implementation of x86 platform without legacy PIC and with specific PCI. There are devices which are not using interrupt line 0, but have it assigned in the PCI configuration. By default first come gets it, though the first eMMC host controller is the actual

[PATCH v3 1/3] x86/pci/intel_mid_pci: work around for IRQ0 assignment

2015-07-29 Thread Andy Shevchenko
On Intel Tangier the MMC host controller is wired up to irq 0. But several other devices have irq 0 associated as well due to a bogus PCI configuration. The first initialized driver will acquire irq 0 and make it unavailable for other devices. If the sdhci driver is not the first one it will fail

[PATCH v3 2/3] x86/pci/intel_mid_pci: propagate actual return code

2015-07-29 Thread Andy Shevchenko
mp_map_gsi_to_irq() returns different codes if it fails. intel_mid_pci_irq_enable() hides this under -EBUSY. The patch replaces it by what is actually returned. Signed-off-by: Andy Shevchenko --- arch/x86/pci/intel_mid_pci.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH v3 3/3] x86/pci/intel_mid_pci: fix a sparse warning

2015-07-29 Thread Andy Shevchenko
This fixes the following sparse warning. arch/x86/pci/intel_mid_pci.c:265:16: warning: symbol 'intel_mid_pci_ops' was not declared. Should it be static? Signed-off-by: Andy Shevchenko --- arch/x86/pci/intel_mid_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver

2015-07-29 Thread Marc Zyngier
On 29/07/15 09:52, Ley Foon Tan wrote: > On Wed, Jul 29, 2015 at 1:58 AM, Marc Zyngier wrote: >> Hi Ley, >> >> On 28/07/15 11:45, Ley Foon Tan wrote: >>> This patch adds Altera PCIe MSI driver. This soft IP supports configurable >>> number of vectors, which is a dts parameter. >> >> Can't you

Re: [PATCH v2] cpufreq: Avoid attempts to create duplicate symbolic links

2015-07-29 Thread Russell King - ARM Linux
On Wed, Jul 29, 2015 at 03:38:03AM +0200, Rafael J. Wysocki wrote: > On Monday, July 27, 2015 08:09:35 PM Viresh Kumar wrote: > > On 27-07-15, 15:45, Rafael J. Wysocki wrote: > > > Say the subsys add callback runs for a CPU and it doesn't have a policy. > > > If it is offline, we ignore it and the

Re: [PATCH RFC 2/3] x86: Add Intel PT logger

2015-07-29 Thread Alexander Shishkin
Takao Indoh writes: > On 2015/07/29 15:08, Alexander Shishkin wrote: >> Instead, we should be able to do use the existing perf functionality to >> enable the system-wide tracing, so that it goes through the > > "existing driver" means PMU driver (perf_event_intel_pt.c)? Yes. > The feature of

RE: Re: [V2 PATCH 1/3] x86/panic: Fix re-entrance problem due to panic on NMI

2015-07-29 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Michal Hocko [mailto:mho...@kernel.org] > On Wed 29-07-15 05:48:47, 河合英宏 / KAWAI,HIDEHIRO wrote: > > Hi, > > > > > From: linux-kernel-ow...@vger.kernel.org > > > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Hidehiro Kawai > > > (2015/07/27 23:34), Michal Hocko wrote: > > > >

Re: [rtc-linux] [PATCH] drivers/rtc/rtc-pl031.c: reset registers in init flow

2015-07-29 Thread Linus Walleij
On Wed, Jul 29, 2015 at 8:02 AM, Leo Yan wrote: > When use rtc-pl031 for suspend test on Hisilicon's SoC Hi6220, Usually > the data register (DR) will read back as value zero. So the suspend > test code will set the match register (MR) for 10 seconds' timeout; But > there have chance later will

[v3 0/5] KVM: irqfd consumer based on IRQ bypass manager

2015-07-29 Thread Feng Wu
This series is based on Eric's "https://lkml.org/lkml/2015/7/6/291;. Basically, I made the following chagnes: - Some changes based on Alex's irq bypass manager v2: https://lkml.org/lkml/2015/7/16/810 - Correct some minor erros and typo - Add something needed for posted-interrupts Since this

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Jean Delvare
Hi Lee, On Tue, 28 Jul 2015 18:32:16 +0100, Lee Jones wrote: > On Tue, 28 Jul 2015, Guenter Roeck wrote: > > On 07/28/2015 08:28 AM, Lee Jones wrote: > > >On Tue, 28 Jul 2015, Guenter Roeck wrote: > > >>Sure, we could have changed it to lowercase, but so far no one bothered. > > >>Plus, of

[PATCH v3 2/6] mmc: sdhci-esdhc-imx: add tuning-step seting support

2015-07-29 Thread Haibo Chen
tuning-step is the delay cell steps in tuning procedure. The default value of tuning-step is 1. For imx6 series usdhc, tuning procedure can be passed when the tuning-step value is 1. But imx7d usdhc need the tuning-step value as 2, otherwise it can't pass the tuning procedure. So this patch add

[PATCH v3 3/6] ARM: dts: imx7d-sdb: add eMMC5.0 support

2015-07-29 Thread Haibo Chen
imx7d-sdb board has a eMMC5.0 on usdhc3. This eMMC support HS400. This patch add usdhc3 support for HS400 Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d-sdb.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts

[PATCH v3 5/6] mmc: sdhci-esdhc-imx: config watermark level and burst length

2015-07-29 Thread Haibo Chen
i.MX7D support eMMC HS400 mode, this mode can run in 8 bit,200MHZ DDR mode. So the I/O speed improve a lot compare to SD3.0 The default burst length is 8, if we don't change this value, in HS400 mode, when we do eMMC read operation, we can find that the clock signal will stop for a period of

[v3 2/5] KVM: arm/arm64: select IRQ_BYPASS_MANAGER

2015-07-29 Thread Feng Wu
From: Eric Auger Select IRQ_BYPASS_MANAGER when CONFIG_KVM is set v2 -> v3: - Correct a typo in 'arch/arm64/kvm/Kconfig' v1 -> v2: - also set IRQ_BYPASS_MANAGER for arm64 Signed-off-by: Eric Auger Signed-off-by: Feng Wu --- arch/arm/kvm/Kconfig | 1 + arch/arm64/kvm/Kconfig | 1 + 2

[PATCH v3 6/6] mmc: sdhci-esdhc-imx: set back the burst_length_enable bit to 1

2015-07-29 Thread Haibo Chen
Currently we find that if a usdhc is choosed to boot system, then ROM code will set the burst length enable bit of this usdhc as 0. This will make performance drop a lot if this usdhc's burst length is 16. So this patch set back the burst_length_enable bit as 1, which is the default value, and

[PATCH v3 0/6] mmc: imx: a few fixes and new feature

2015-07-29 Thread Haibo Chen
Changes for v3: -Add property describe in binding doc. Haibo Chen (6): mmc: sdhci-esdhc-imx: add imx7d support and support HS400 mmc: sdhci-esdhc-imx: add tuning-step seting support ARM: dts: imx7d-sdb: add eMMC5.0 support mmc: sdhci-esdhc-imx: add compatible string in bingding doc mmc:

[PATCH v3 1/6] mmc: sdhci-esdhc-imx: add imx7d support and support HS400

2015-07-29 Thread Haibo Chen
The imx7d usdhc is derived from imx6sx, the difference is that imx7d support HS400. So introduce a new compatible string for imx7d and add HS400 support for imx7d usdhc. Signed-off-by: Haibo Chen --- drivers/mmc/host/sdhci-esdhc-imx.c | 66 ++ 1 file

[PATCH v3 4/6] mmc: sdhci-esdhc-imx: add compatible string in bingding doc

2015-07-29 Thread Haibo Chen
Add a required property "fsl,imx7d-usdhc" in binding doc. Add an optional property "fsl,tuning-step" in binding doc. Signed-off-by: Haibo Chen --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[v3 4/5] KVM: introduce kvm_arch functions for IRQ bypass

2015-07-29 Thread Feng Wu
From: Eric Auger This patch introduces - kvm_arch_irq_bypass_add_producer - kvm_arch_irq_bypass_del_producer - kvm_arch_irq_bypass_stop - kvm_arch_irq_bypass_start They make possible to specialize the KVM IRQ bypass consumer in case CONFIG_KVM_HAVE_IRQ_BYPASS is set. v2 -> v3: - use

[v3 1/5] KVM: x86: select IRQ_BYPASS_MANAGER

2015-07-29 Thread Feng Wu
Select IRQ_BYPASS_MANAGER for x86 when CONFIG_KVM is set Signed-off-by: Feng Wu --- arch/x86/kvm/Kconfig | 2 ++ arch/x86/kvm/Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index d8a1d56..c951d44 100644 --- a/arch/x86/kvm/Kconfig

[v3 5/5] KVM: eventfd: add irq bypass consumer management

2015-07-29 Thread Feng Wu
From: Eric Auger This patch adds the registration/unregistration of an irq_bypass_consumer on irqfd assignment/deassignment. v2 -> v3: - Use kvm_arch_irq_bypass_start - Remove kvm_arch_irq_bypass_update - Add member 'struct irq_bypass_producer *producer' in 'struct kvm_kernel_irqfd', it is

[v3 3/5] KVM: create kvm_irqfd.h

2015-07-29 Thread Feng Wu
From: Eric Auger Move _irqfd_resampler and _irqfd struct declarations in a new public header: kvm_irqfd.h. They are respectively renamed into kvm_kernel_irqfd_resampler and kvm_kernel_irqfd. Those datatypes will be used by architecture specific code, in the context of IRQ bypass manager

Re: [PATCH -v2 0/8] jump_label: Another (better) static_key interface

2015-07-29 Thread Peter Zijlstra
On Wed, Jul 29, 2015 at 08:46:00AM +0200, Heiko Carstens wrote: > On Tue, Jul 28, 2015 at 03:20:55PM +0200, Peter Zijlstra wrote: > > Hi all, > > > > After yet another bug because of the weirdness of the static key interface, > > here an attempt at providing a better one. > > > > This series is

Re: [PATCH 0/4] omap: Fix broken pbias device creation

2015-07-29 Thread Grygorii Strashko
On 07/27/2015 03:16 PM, Kishon Vijay Abraham I wrote: pbias device creation got broken once SCM cleanup got merged. This patch series re-enables device creation by adding "simple-bus" in the compatible property of the syscon dt node. validated this series in DRA72, OMAP4 PANDA and OMAP5 UEVM

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-07-29 Thread Grygorii Strashko
On 07/27/2015 02:24 PM, Kishon Vijay Abraham I wrote: vsel_reg and enable_reg of the pbias regulator descriptor should actually have the offset from syscon. However after the pbias device tree node is moved as a child node of syscon, vsel_reg and enable_reg has the absolute address because of

Re: [PATCH v9 0/9] Add simple NVMEM Framework via regmap.

2015-07-29 Thread Srinivas Kandagatla
On 29/07/15 09:49, Rajendra Nayak wrote: On 07/27/2015 04:42 PM, Srinivas Kandagatla wrote: Hi Greg/Kevin, This patchset adds a new simple NVMEM framework to kernel, and it is tested with various drivers like "QCOM thermal sensors", "QCOM cpr driver", "begal bone cape manager" and few more

Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver

2015-07-29 Thread Ley Foon Tan
On Wed, Jul 29, 2015 at 1:00 AM, Dinh Nguyen wrote: > On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: >> This patch adds Altera PCIe MSI driver. This soft IP supports configurable >> number of vectors, which is a dts parameter. >> >> Signed-off-by: Ley Foon Tan >> --- >>

Re: [PATCH -v2 7/8] jump_label: Add selftest

2015-07-29 Thread Peter Zijlstra
On Tue, Jul 28, 2015 at 05:46:40PM -0400, Jason Baron wrote: > On 07/28/2015 09:21 AM, Peter Zijlstra wrote: > In order to get the !CONFIG_JUMP_LABEL to work I needed, > the following: > > diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h > index c033595..27b335a 100644 > ---

Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver

2015-07-29 Thread Ley Foon Tan
On Wed, Jul 29, 2015 at 1:58 AM, Marc Zyngier wrote: > Hi Ley, > > On 28/07/15 11:45, Ley Foon Tan wrote: >> This patch adds Altera PCIe MSI driver. This soft IP supports configurable >> number of vectors, which is a dts parameter. > > Can't you read this configuration from the HW? No, we can't

Re: [PATCH 2/4] ASoc: rockchip: Add rockchip SPDIF transceiver driver

2015-07-29 Thread Paul Bolle
A nit and a question. On di, 2015-07-28 at 14:03 +0200, Sjoerd Simons wrote: > --- /dev/null > +++ b/sound/soc/rockchip/rockchip_spdif.c > +#define DRV_NAME "rockchip-spdif" > +static const struct of_device_id rockchip_spdif_match[] = { > + { .compatible = "rockchip,rk3066-spdif", }, > +

Re: [PATCH v9 0/9] Add simple NVMEM Framework via regmap.

2015-07-29 Thread Rajendra Nayak
On 07/27/2015 04:42 PM, Srinivas Kandagatla wrote: Hi Greg/Kevin, This patchset adds a new simple NVMEM framework to kernel, and it is tested with various drivers like "QCOM thermal sensors", "QCOM cpr driver", "begal bone cape manager" and few more on the way. Can you please consider this as

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-07-29 Thread Peter Zijlstra
On Wed, Jul 29, 2015 at 09:19:22AM +0200, Vlastimil Babka wrote: > How would one define a static key that's e.g. expected to be mostly false, but > with initial value of true, e.g. during boot? DEFINE_STATIC_KEY_TRUE(blah); will get you the true at boot time. You'll then want to use:

Re: [PATCH 1/2] mailbox: switch to hrtimer for tx_complete polling

2015-07-29 Thread Sudeep Holla
On 29/07/15 09:33, Jassi Brar wrote: On Mon, Jul 27, 2015 at 3:18 PM, Sudeep Holla wrote: On 27/07/15 04:26, Jassi Brar wrote: we might end-up waiting for atleast a jiffy even though the response for that message from the remote is received via interrupt and processed in relatively

[PATCH v14 3/6] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-29 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++

Re: [PATCH v7 4/6] block: loop: prepare for supporing direct IO

2015-07-29 Thread Dave Chinner
On Wed, Jul 29, 2015 at 03:33:52AM -0400, Ming Lei wrote: > On Mon, Jul 27, 2015 at 1:33 PM, Christoph Hellwig wrote: > > On Mon, Jul 27, 2015 at 05:53:33AM -0400, Ming Lei wrote: > >> Because size has to be 4k aligned too. > > > > Yes. But again I don't see any reason to limit us to a hardcoded

[PATCH v14 4/6] MAINTAINERS: add Freescale DCU DRM driver maintainer

2015-07-29 Thread Jianwei Wang
Add Alison and myself as maintainers of the Freescale DCU DRM driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c9dd5f..66746e4 100644 ---

[PATCH v14 1/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
This patch add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale SoCs. 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality of the module extremely well its name is a value that cannot be used as a token in programming languages.

[PATCH v14 2/6] devicetree: Add NEC to the vendor-prefix list

2015-07-29 Thread Jianwei Wang
NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [PATCH v5 2/8] firmware: add support for ARM System Control and Power Interface(SCPI) protocol

2015-07-29 Thread Sudeep Holla
On 29/07/15 09:05, Jassi Brar wrote: On Thu, Jul 23, 2015 at 4:40 PM, Sudeep Holla wrote: ... +static int scpi_probe(struct platform_device *pdev) +{ + int count, idx, ret; + struct resource res; + struct scpi_chan *scpi_chan; + struct device *dev = >dev; +

[PATCH v14 5/6] arm:dts:ls1021a: Add DCU dts node

2015-07-29 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi

[PATCH v14 6/6] arm:dts:ls1021a: Add a TFT LCD panel dts node

2015-07-29 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-twr.dts

[PATCH v14 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
Changed in v14 -Remove drm_modeset_lock_all before drm_mode_config_reset Changed in v13 -set regmap_config.cache_type to REGCACHE_RBTREE -add call drm_modeset_lock_all before drm_mode_config_reset -adjust patch order for creating pull request Changed in v12 -Add one patch for MAINTAINER entry

Re: [PATCH 3/6] pci:host: Add Altera PCIe host controller driver

2015-07-29 Thread Paul Bolle
On di, 2015-07-28 at 18:45 +0800, Ley Foon Tan wrote: > --- a/drivers/pci/host/Kconfig > +++ b/drivers/pci/host/Kconfig > +config PCIE_ALTERA > + bool "Altera PCIe controller" > + depends on ARCH_SOCFPGA > + depends on OF > + select PCI_MSI_IRQ_DOMAIN if PCI_MSI > + help > +

Re: [PATCH v2] mm: show proportional swap share of the mapping

2015-07-29 Thread Jerome Marchand
On 06/15/2015 03:06 PM, Minchan Kim wrote: > We want to know per-process workingset size for smart memory management > on userland and we use swap(ex, zram) heavily to maximize memory efficiency > so workingset includes swap as well as RSS. > > On such system, if there are lots of shared

Re: [PATCH 1/2] mailbox: switch to hrtimer for tx_complete polling

2015-07-29 Thread Jassi Brar
On Mon, Jul 27, 2015 at 3:18 PM, Sudeep Holla wrote: > On 27/07/15 04:26, Jassi Brar wrote: >> > we might end-up waiting > for atleast a jiffy even though the response for that message from the > remote is received via interrupt and processed in relatively smaller > time

Re: [PATCH] soc: versatile: Use devm_kzalloc

2015-07-29 Thread Linus Walleij
On Tue, Jul 28, 2015 at 4:17 PM, Vaishali Thakkar wrote: > On 28 Jul 2015 17:35, "Linus Walleij" wrote: >> Reviewed-by: Linus Walleij >> Please get this through ARM SoC or tell me if I should handle it. > > So, do you want me to send this in ARM SoC mailing list?

Re: [PATCH] x86/mm, efi: Check for valid image type

2015-07-29 Thread Sebastian Andrzej Siewior
On 07/29/2015 02:10 AM, j...@joshtriplett.org wrote: >> On Wed, 22 Jul, at 05:32:44PM, Sebastian Andrzej Siewior wrote: >>> now and then. The data behind that pointer changes on each boot because >>> nobody preserves the content across kexec. > > Right. The kernel copies this image precisely

Re: [RFC/BUG] perf tools: static build fails

2015-07-29 Thread Jiri Olsa
On Tue, Jul 28, 2015 at 06:21:38PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 29, 2015 at 12:14:41AM +0300, Adrian Hunter escreveu: > > On 28/07/2015 7:11 p.m., Arnaldo Carvalho de Melo wrote: > > >Em Tue, Jul 28, 2015 at 05:13:47PM +0200, Jiri Olsa escreveu: > > > >>it's failing on

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Support DDI lane reversal for DP

2015-07-29 Thread Sivakumar Thulasimani
why not detect reverse in intel_dp_detect/intel_hpd_pulse ? that way you can identify both lane count and reversal state without touching anything in the link training code. i am yet to upstream my changes for CHT that i can share if required that does the same in intel_dp_detect without

Re: [PATCH 3/5] Add calls to translate Always Running Timer (ART) to system time

2015-07-29 Thread Paul Bolle
On ma, 2015-07-27 at 17:46 -0700, Christopher Hall wrote: > --- /dev/null > +++ b/arch/x86/include/asm/art.h > +#ifndef CONFIG_X86_ART > + > +static inline int setup_art(void) > +{ > + return 0; > +} > + > +static inline bool has_art(void) > +{ > + return false; > +} > + > +static inline

Re: [PATCH 5/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-07-29 Thread Andrea Scian
Dear Han Xu, Il 28/07/2015 19:50, Han Xu ha scritto: i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to gf/2 and if bitflip detected, GPMI driver will correct the data to all 0xFF.

[PATCH v2 0/4] staging: rtl8188eu: clean up duplicated WLAN_* constants

2015-07-29 Thread Jakub Sitnicki
This short series was initially a patch[1] that had to be rebased and split (patches 1 & 2). Since then it has been extended to clean up other WLAN_* constants duplicated in rtl8188eu driver's headers (patches 3 & 4). [1]

[PATCH v2 2/4] staging: rtl8188eu: wrap a long if condition and remove extra parenthesis

2015-07-29 Thread Jakub Sitnicki
Signed-off-by: Jakub Sitnicki --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index 554c04d..844ed6f 100644 ---

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