Re: [PATCH v3 1/2] arm64/efi: report unexpected errors when determining Secure Boot status

2016-03-03 Thread Ard Biesheuvel
On 3 March 2016 at 22:45, Linn Crosetto wrote: > Certain code in the boot path may require the ability to determine whether > UEFI Secure Boot is definitely enabled, for example printing status to the > console. Other code may need to know when UEFI Secure Boot is definitely > disabled, for exampl

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-03 Thread Roman Kagan
On Thu, Mar 03, 2016 at 05:46:15PM +, Dr. David Alan Gilbert wrote: > * Liang Li (liang.z...@intel.com) wrote: > > The current QEMU live migration implementation mark the all the > > guest's RAM pages as dirtied in the ram bulk stage, all these pages > > will be processed and that takes quit a

Re: [PATCH 3/4] leds: Add driver for the ISSI IS31FL32xx family of LED controllers

2016-03-03 Thread Jacek Anaszewski
On 03/04/2016 01:45 AM, David Rivshin (Allworx) wrote: On Thu, 03 Mar 2016 15:51:32 +0100 Jacek Anaszewski wrote: Hi David, Thanks for the update. Two remarks in the code. On 03/03/2016 04:01 AM, David Rivshin (Allworx) wrote: From: David Rivshin The IS31FL32xx family of LED controllers a

Re: [PATCH 0/3] OOM detection rework v4

2016-03-03 Thread Joonsoo Kim
On Thu, Mar 03, 2016 at 01:54:43AM -0800, Hugh Dickins wrote: > On Tue, 1 Mar 2016, Michal Hocko wrote: > > [Adding Vlastimil and Joonsoo for compaction related things - this was a > > large thread but the more interesting part starts with > > http://lkml.kernel.org/r/alpine.LSU.2.11.1602241832160.

linux-next: manual merge of the akpm-current tree with the powerpc tree

2016-03-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: mm/huge_memory.c between commit: ff20c2e0acc5 ("mm: Some arch may want to use HPAGE_PMD related values as variables") from the powerpc tree and commit: 82fdbe051e29 ("mm: make optimistic check for swapin reada

4.4.3: OOPS when running "stress-ng --sock 5"

2016-03-03 Thread Holger Schurig
Hi, on my system I can reproduce reliably a kernel OOPS when I run stress-ng ("apt-get install stress-ng"). Any help on how to track this down would be appreciated, networking code is outside of my comfort zone (I'm just a dilettante at device drivers ...). It takes only a minute or two to get th

Re: Kernel docs: muddying the waters a bit

2016-03-03 Thread Jani Nikula
On Fri, 04 Mar 2016, Russel Winder wrote: > On Thu, 2016-03-03 at 15:23 -0800, Keith Packard wrote: >>   1) the python version (asciidoc) appears to have been abandoned in >>  favor of the ruby version.  > > This is I think true, however the Java-based tool chain Asciidoctor is > I believe the

Re: [PATCH 0/3] OOM detection rework v4

2016-03-03 Thread Vlastimil Babka
On 03/03/2016 09:57 PM, Hugh Dickins wrote: > >> >> I do not have an explanation why it would cause oom sooner but this >> turned out to be incomplete. There is another wmaark check deeper in the >> compaction path. Could you try the one from >> http://lkml.kernel.org/r/20160302130022.gg26...@dhcp

[PATCH v5 2/3] gpio: designware: add acpi binding

2016-03-03 Thread qiujiang
This patch adds acpi binding for designware gpio driver, because it is used to support power button on hisilicon d02 board. These two bindings, DT and acpi, are compatible in this driver. Reviewed-by: Andy Shevchenko Acked-by: Mika Westerberg Signed-off-by: qiujiang --- drivers/gpio/gpio-dwap

[PATCH v5 3/3] gpio: designware: add gpio-signaled acpi event support

2016-03-03 Thread qiujiang
This patch adds the support for the gpio-signaled acpi event. This is used for power button on hisilicon D02 board, which is an arm64 platform. To support this function, _AEI and _Exx objects must be defined in the corresponding GPIO device as follows: Name (_AEI, ResourceTemplate () {

[PATCH v5 0/3] "gpio: designware: add gpio-signaled acpi event support for power button"

2016-03-03 Thread qiujiang
This patchset adds gpio-signaled acpi events support for power button on hisilicon D02 board. The three patches respectively: - convert device node to fwnode - add acpi binding - add gpio-signaled acpi event support This patchset is based on https://git.kern

[PATCH v5 1/3] gpio: designware: convert device node to fwnode

2016-03-03 Thread qiujiang
This patch converts device node to fwnode in dwapb_port_property for designware gpio driver, so as to provide a unified data structure for DT and ACPI bindings. Acked-by: Andy Shevchenko Signed-off-by: qiujiang --- drivers/gpio/gpio-dwapb.c| 43 +++-

Re: Suspicious error for CMA stress test

2016-03-03 Thread Hanjun Guo
On 2016/3/4 14:38, Joonsoo Kim wrote: > On Fri, Mar 04, 2016 at 02:05:09PM +0800, Hanjun Guo wrote: >> On 2016/3/4 12:32, Joonsoo Kim wrote: >>> On Fri, Mar 04, 2016 at 11:02:33AM +0900, Joonsoo Kim wrote: On Thu, Mar 03, 2016 at 08:49:01PM +0800, Hanjun Guo wrote: > On 2016/3/3 15:42, Joo

Re: Kernel docs: muddying the waters a bit

2016-03-03 Thread Russel Winder
On Thu, 2016-03-03 at 15:23 -0800, Keith Packard wrote: > […] > However, I think asciidoc has two serious problems: > >   1) the python version (asciidoc) appears to have been abandoned in >  favor of the ruby version.  This is I think true, however the Java-based tool chain Asciidoctor is I

Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()

2016-03-03 Thread Lan Tianyu
On 2016年03月04日 15:21, Thomas Gleixner wrote: > On Fri, 4 Mar 2016, Lan Tianyu wrote: > >> The following kvm_flush_remote_tlbs() will call smp_mb() inside and so >> remove smp_mb() here. >> >> Signed-off-by: Lan Tianyu >> --- >> arch/x86/kvm/mmu.c | 6 -- >> 1 file changed, 6 deletions(-) >>

Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()

2016-03-03 Thread Thomas Gleixner
On Fri, 4 Mar 2016, Lan Tianyu wrote: > The following kvm_flush_remote_tlbs() will call smp_mb() inside and so > remove smp_mb() here. > > Signed-off-by: Lan Tianyu > --- > arch/x86/kvm/mmu.c | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c

Re: [PATCH 2/5] usb: gadget: f_midi: added spinlock on transmit function

2016-03-03 Thread Felipe Balbi
Hi, "Felipe F. Tonello" writes: > [ text/plain ] > Since f_midi_transmit is called by both ALSA and USB frameworks, it can > potentially cause a race condition between both calls. This is bad because the > way f_midi_transmit is implemented can't handle concurrent calls. This is due > to the fac

[PATCH] stmmac: Fix type of local variable in stmmac_xmit

2016-03-03 Thread Andrzej Hajda
Variable entry holds result of jumbo_frm callback. It can be negative, so the variable should be signed. The patch changes also type of related first_entry variable to make code compact and coherent. The problem has been detected using patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-03 Thread Felipe Balbi
Hi, "Felipe F. Tonello" writes: > [ text/plain ] > This gadget uses a bmAttributes and MaxPower that requires the USB bus to be > powered from the host, which is not correct because this configuration is > device > specific, not a USB-MIDI requirement. > > This patch adds two modules parameters

Re: [PATCH 4/5] usb: gadget: f_midi: cleanups and typos fixes

2016-03-03 Thread Felipe Balbi
"Felipe F. Tonello" writes: > [ text/plain ] > Signed-off-by: Felipe F. Tonello no commit log == no commit -- balbi signature.asc Description: PGP signature

Re: [PATCH 5/5] usb: gadget: f_midi: updated copyright

2016-03-03 Thread Felipe Balbi
"Felipe F. Tonello" writes: > [ text/plain ] > Signed-off-by: Felipe F. Tonello no commit log == no commit > --- > drivers/usb/gadget/function/f_midi.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/gadget/function/f_midi.c > b/drivers/usb/gadget/function/f_midi.c > i

Re: [PATCH 0/5] MIDI USB Gadget improvements

2016-03-03 Thread Felipe Balbi
Hi, "Felipe F. Tonello" writes: > [ text/plain ] > Patches are pretty much self-described. > > Patch 1 is revised from comments. you really need to describe what you changed. This also should have v2 on subject line. I guess it's too late to get this in v4.6 merge window as I'm already applyin

Re: [PATCH v4 18/18] i2c-mux: relax locking of the top i2c adapter during i2c controlled muxing

2016-03-03 Thread Peter Rosin
Hi! Here's a fixup for a problem found by the test robot. Sorry for the inconvenience. Cheers, Peter diff --git a/drivers/i2c/i2c-mux.c b/drivers/i2c/i2c-mux.c index 40a4e0397826..b73c42eddca3 100644 --- a/drivers/i2c/i2c-mux.c +++ b/drivers/i2c/i2c-mux.c @@ -226,6 +226,7 @@ struct i2c_adapter *

Re: [PATCH 0/3] OOM detection rework v4

2016-03-03 Thread Joonsoo Kim
On Thu, Mar 03, 2016 at 04:50:16PM +0100, Vlastimil Babka wrote: > On 03/03/2016 03:10 PM, Joonsoo Kim wrote: > > > >> [...] > > At least, reset no_progress_loops when did_some_progress. High > > order allocation up to PAGE_ALLOC_COSTLY_ORDER is as important > > as order 0. And, reclai

Re: [PATCH v2] media: platform: Add missing MFD_SYSCON dependency on HAS_IOMEM

2016-03-03 Thread Krzysztof Kozlowski
On 04.03.2016 16:03, Holger Schurig wrote: > Krzysztof Kozlowski writes: > >> +depends on HAS_IOMEM# For MFD_SYSCON > > > I think this comment is not necessary, it's also highly unusual. On > other words: other patches like this don't add such

Re: [PATCH v2] media: platform: Add missing MFD_SYSCON dependency on HAS_IOMEM

2016-03-03 Thread Holger Schurig
Krzysztof Kozlowski writes: > + depends on HAS_IOMEM# For MFD_SYSCON I think this comment is not necessary, it's also highly unusual. On other words: other patches like this don't add such comments. You can always use "git blame" to find out

Re: Suspicious error for CMA stress test

2016-03-03 Thread Hanjun Guo
On 2016/3/4 10:02, Joonsoo Kim wrote: > On Thu, Mar 03, 2016 at 08:49:01PM +0800, Hanjun Guo wrote: >> On 2016/3/3 15:42, Joonsoo Kim wrote: >>> 2016-03-03 10:25 GMT+09:00 Laura Abbott : (cc -mm and Joonsoo Kim) On 03/02/2016 05:52 AM, Hanjun Guo wrote: > Hi, > > I c

[PATCH] ASoC: rt5616: allow to build with CONFIG_SND_SOC_RT5616

2016-03-03 Thread Caesar Wang
This patch fixes that hasn't built the rt5616 driver with 'CONFIG_SND_SOC_RT5616=y' in .config. The tristate is the prompt on the 'make menuconfig', in other words, that can't show the prompt and select it if we don't say what's the tristate. Signed-off-by: Caesar Wang --- sound/soc/codecs/Kco

Re: [PATCH 1/4] scatterlist: Introduce some helper functions

2016-03-03 Thread Baolin Wang
>>> + **/ >>> +static inline bool sg_is_contiguous(struct scatterlist *sga, >>> + struct scatterlist *sgb) >>> +{ >>> + return ((sga->page_link & ~0x3UL) + sga->offset + sga->length == >>> + (sgb->page_link & ~0x3UL)); >>> +} >> I don't understand tha

Re: [PATCH v2 2/2] mmc: sdhci-tegra: Specify valid DMA mask

2016-03-03 Thread Alexandre Courbot
On Fri, Mar 4, 2016 at 3:08 PM, Alexandre Courbot wrote: > On Wed, Mar 2, 2016 at 8:25 PM, Arnd Bergmann wrote: >> On Wednesday 02 March 2016 19:36:23 Alexandre Courbot wrote: >>> On Wed, Mar 2, 2016 at 6:34 AM, Arnd Bergmann wrote: >>> > On Tuesday 01 March 2016 13:32:44 Alexandre Courbot wrote

[PATCH v5 03/17] Xen: xlate: Use page_to_xen_pfn instead of page_to_pfn

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Make xen_xlate_map_ballooned_pages work with 64K pages. In that case Kernel pages are 64K in size but Xen pages remain 4K in size. Xen pfns refer to 4K pages. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- drivers/xen/xlate_mmu.c | 26 --

[PATCH v5 10/17] arm/xen: Get event-channel irq through HVM_PARAM when booting with ACPI

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao When booting with ACPI, it could get the event-channel irq through HVM_PARAM_CALLBACK_IRQ. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/arm/xen/enlighten.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) di

[PATCH v5 06/17] Xen: ARM: Add support for mapping platform device mmio

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Add a bus_notifier for platform bus device in order to map the device mmio regions when DOM0 booting with ACPI. Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- drivers/xen/Makefile | 1 + drivers/xen/arm-device.c | 141

[PATCH v5 17/17] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Add a new function to parse DT parameters for Xen specific UEFI just like the way for normal UEFI. Then it could reuse the existing codes. If Xen supports EFI, initialize runtime services. Signed-off-by: Shannon Zhao Reviewed-by: Matt Fleming Reviewed-by: Stefano Stabellini

[PATCH v5 11/17] ARM: XEN: Move xen_early_init() before efi_init()

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Move xen_early_init() before efi_init(), then when calling efi_init() could initialize Xen specific UEFI. Check if it runs on Xen hypervisor through the flat dts. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/arm/xen/enlighten.c | 56 +++

[PATCH v5 07/17] Xen: ARM: Add support for mapping AMBA device mmio

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Add a bus_notifier for AMBA bus device in order to map the device mmio regions when DOM0 booting with ACPI. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- drivers/xen/arm-device.c | 43 +++ 1 file changed, 43 insertio

[PATCH v5 08/17] Xen: public/hvm: sync changes of HVM_PARAM_CALLBACK_VIA ABI from Xen

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Sync the changes of HVM_PARAM_CALLBACK_VIA ABI introduced by Xen commit (public/hvm: export the HVM_PARAM_CALLBACK_VIA ABI in the API). Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- include/xen/interface/hvm/params.h | 27 +-- 1 file

Re: [PATCH] sound/usb: Use meaninful names for goto labels

2016-03-03 Thread Dan Carpenter
Thanks! regards, dan carpenter

[PATCH v5 14/17] XEN: EFI: Move x86 specific codes to architecture directory

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Move x86 specific codes to architecture directory and export those EFI runtime service functions. This will be useful for initializing runtime service on ARM later. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/x86/xen/efi.c| 112 +

[PATCH v5 16/17] FDT: Add a helper to get the subnode by given name

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Sometimes it needs to check if there is a subnode of given node in FDT by given name. Introduce this helper to get the subnode if it exists. CC: Rob Herring Signed-off-by: Shannon Zhao --- drivers/of/fdt.c | 13 + include/linux/of_fdt.h | 2 ++ 2 files ch

[PATCH v5 15/17] ARM64: XEN: Add a function to initialize Xen specific UEFI runtime services

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao When running on Xen hypervisor, runtime services are supported through hypercall. Add a Xen specific function to initialize runtime services. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/arm/include/asm/xen/xen-ops.h | 6 ++ arch/arm/xen/Makef

[PATCH v5 00/17] Add ACPI support for Xen Dom0 on ARM64

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen ACPI on ARM64 design document could be found from [1]. This patch set adds a new FDT node "uefi" under /hypervisor to pass UEFI information. Introduce a bus notifier of AMBA and Platform bus to map the ne

[PATCH v5 13/17] ARM: Xen: Document UEFI support on Xen ARM virtual platforms

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could scan this to get the UEFI information. Signed-off-by: Shannon Zhao Acked-by: Rob Herring Reviewed-by: Stefano Stabellini --- CC: Rob Herring --- Documentation/devicetree/bindings/arm/xen.txt | 33 +++

[PATCH v5 05/17] xen: memory : Add new XENMAPSPACE type XENMAPSPACE_dev_mmio

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Add a new type of Xen map space for Dom0 to map device's MMIO region. Signed-off-by: Shannon Zhao --- include/xen/interface/memory.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h index 2ecfe4f..9aa8988 100

[PATCH v5 02/17] xen/grant-table: Move xlated_setup_gnttab_pages to common place

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Move xlated_setup_gnttab_pages to common place, so it can be reused by ARM to setup grant table. Rename it to xen_xlate_map_ballooned_pages. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/x86/xen/grant-table.c | 57 +---

[PATCH v5 12/17] ARM64: ACPI: Check if it runs on Xen to enable or disable ACPI

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao When it's a Xen domain0 booting with ACPI, it will supply a /chosen and a /hypervisor node in DT. So check if it needs to enable ACPI. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini Acked-by: Hanjun Guo --- arch/arm64/kernel/acpi.c | 12 1 file ch

[PATCH v5 01/17] Xen: ACPI: Hide UART used by Xen

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao ACPI 6.0 introduces a new table STAO to list the devices which are used by Xen and can't be used by Dom0. On Xen virtual platforms, the physical UART is used by Xen. So here it hides UART from Dom0. Signed-off-by: Shannon Zhao --- CC: "Rafael J. Wysocki" (supporter:ACPI) CC:

[PATCH v5 09/17] xen/hvm/params: Add a new delivery type for event-channel in HVM_PARAM_CALLBACK_IRQ

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Add a new delivery type: val[63:56] == 3: val[15:8] is flag: val[7:0] is a PPI. To the flag, bit 0 stands the interrupt mode is edge(1) or level(0) and bit 1 stands the interrupt polarity is active low(1) or high(0). Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini -

[PATCH v5 04/17] arm/xen: Use xen_xlate_map_ballooned_pages to setup grant table

2016-03-03 Thread Shannon Zhao
From: Shannon Zhao Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't rely on DT or ACPI to pass the start address and size of grant table. Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- arch/arm/xen/enlighten.c | 13 - 1 file changed, 4 insertio

Re: Suspicious error for CMA stress test

2016-03-03 Thread Joonsoo Kim
On Fri, Mar 04, 2016 at 02:05:09PM +0800, Hanjun Guo wrote: > On 2016/3/4 12:32, Joonsoo Kim wrote: > > On Fri, Mar 04, 2016 at 11:02:33AM +0900, Joonsoo Kim wrote: > >> On Thu, Mar 03, 2016 at 08:49:01PM +0800, Hanjun Guo wrote: > >>> On 2016/3/3 15:42, Joonsoo Kim wrote: > 2016-03-03 10:25 G

Re: [PATCH 1/4] scatterlist: Introduce some helper functions

2016-03-03 Thread Baolin Wang
Hi Robert, On 4 March 2016 at 03:15, Robert Jarzmik wrote: > Baolin Wang writes: > >> @@ -212,6 +212,37 @@ static inline void sg_unmark_end(struct scatterlist *sg) >> } >> >> /** >> + * sg_is_contiguous - Check if the scatterlists are contiguous >> + * @sga: SG entry >> + * @sgb: SG entry >> +

Re: [PATCH v3 2/5] ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS

2016-03-03 Thread Paul Walmsley
On Thu, 3 Mar 2016, Franklin S Cooper Jr. wrote: > So I looked into this more and verified that the eCAP and > ePWM doesn't have their own unique clock. The PWMSS receives > a clock L4PER2_L3_GICLK/2 which is passed through to its > sub-devices (ePWM, eCAP and eQEP). The PWMSS is responsible > for

Re: [PATCH] Fix NULL ptr dereference in pci_bus_assign_domain_nr() on ARM

2016-03-03 Thread Krzysztof Hałasa
Hi Bjorn, Bjorn Helgaas writes: > On Tue, Mar 01, 2016 at 07:07:18AM +0100, Krzysztof Hałasa wrote: >> Many ARM platforms use a wrapper: >> /* >> * Compatibility wrapper for older platforms that do not care about >> * passing the parent device. >> */ >> static inline void pci_common_init(stru

Re: Suspicious error for CMA stress test

2016-03-03 Thread Hanjun Guo
On 2016/3/4 10:09, Joonsoo Kim wrote: > On Thu, Mar 03, 2016 at 10:52:17AM -0800, Laura Abbott wrote: >> On 03/03/2016 04:49 AM, Hanjun Guo wrote: >>> On 2016/3/3 15:42, Joonsoo Kim wrote: 2016-03-03 10:25 GMT+09:00 Laura Abbott : > (cc -mm and Joonsoo Kim) > > > On 03/02/2016

Re: [PATCH v2 1/2] mmc: sdhci: Set DMA mask

2016-03-03 Thread Alexandre Courbot
On Wed, Mar 2, 2016 at 6:30 AM, Arnd Bergmann wrote: > On Tuesday 01 March 2016 13:32:43 Alexandre Courbot wrote: >> */ >> - if (!(host->flags & (SDHCI_USE_SDMA | SDHCI_USE_ADMA))) { >> + if (!(host->flags & (SDHCI_USE_SDMA | SDHCI_USE_ADMA))) >> host->dma_mask

Re: [PATCH][v4] livepatch/ppc: Enable livepatching on powerpc

2016-03-03 Thread Kamalesh Babulal
* Petr Mladek [2016-03-03 17:52:01]: > From: Balbir Singh > > Changelog v4: > 1. Renamed klp_matchaddr() to klp_get_ftrace_location() > and used it just to convert the function address. > 2. Synced klp_write_module_reloc() with s390(); made it > inline, no error me

Re: [PATCH v2 2/2] mmc: sdhci-tegra: Specify valid DMA mask

2016-03-03 Thread Alexandre Courbot
On Wed, Mar 2, 2016 at 8:25 PM, Arnd Bergmann wrote: > On Wednesday 02 March 2016 19:36:23 Alexandre Courbot wrote: >> On Wed, Mar 2, 2016 at 6:34 AM, Arnd Bergmann wrote: >> > On Tuesday 01 March 2016 13:32:44 Alexandre Courbot wrote: >> >> On T210, the sdhci controller can address more than 32

Re: Suspicious error for CMA stress test

2016-03-03 Thread Hanjun Guo
On 2016/3/4 12:32, Joonsoo Kim wrote: > On Fri, Mar 04, 2016 at 11:02:33AM +0900, Joonsoo Kim wrote: >> On Thu, Mar 03, 2016 at 08:49:01PM +0800, Hanjun Guo wrote: >>> On 2016/3/3 15:42, Joonsoo Kim wrote: 2016-03-03 10:25 GMT+09:00 Laura Abbott : > (cc -mm and Joonsoo Kim) > > >>>

RE: [PATCH] net: fec: Rename "phy-reset-active-low" property

2016-03-03 Thread Fugang Duan
From: Bernhard Walle Sent: Thursday, March 03, 2016 5:16 PM > To: da...@davemloft.net > Cc: a...@arndb.de; net...@vger.kernel.org; linux-kernel@vger.kernel.org; > Bernhard Walle > Subject: [PATCH] net: fec: Rename "phy-reset-active-low" property > > From the perspective of RESET, the meaning of

Re: [PATCH v4 16/18] i2c: allow adapter drivers to override the adapter locking

2016-03-03 Thread kbuild test robot
Hi Peter, [auto build test WARNING on v4.5-rc6] [cannot apply to wsa/i2c/for-next sailus-media/master next-20160303] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup

[PATCH v5 4/8] kbuild: de-duplicate fixdep usage

2016-03-03 Thread Nicolas Pitre
The generation and postprocessing of automatic dependency rules is duplicated in rule_cc_o_c and if_changed_dep. Since this is not a trivial one-liner action, it is now abstracted under cmd_and_fixdep to simplify things and make future changes easier. In the rule_cc_o_c case that means the order o

[PATCH v5 0/8] Trim unused exported kernel symbols

2016-03-03 Thread Nicolas Pitre
This patch series provides the option to omit exported symbols from the kernel and modules that are never referenced by any of the selected modules in the current kernel configuration. this allows for optimizing the compiled code and reducing final binaries' size. When using LTO the binary size red

[PATCH v5 2/8] allow for per-symbol configurable EXPORT_SYMBOL()

2016-03-03 Thread Nicolas Pitre
Similar to include/generated/autoconf.h, include/generated/autoksyms.h will contain a list of defines for each EXPORT_SYMBOL() that we want active. The format is: #define __KSYM_ 1 This list will be auto-generated with another patch. For now we only include the preprocessor magic to automatica

[PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-03 Thread Nicolas Pitre
Like with kconfig options, we now have the ability to compile in and out individual EXPORT_SYMBOL() declarations based on the content of include/generated/autoksyms.h. However we don't want the entire world to be rebuilt whenever that file is touched. Let's apply the same build dependency trick u

[PATCH v5 7/8] kbuild: build sample modules along with the rest of the kernel

2016-03-03 Thread Nicolas Pitre
Make sample modules in parallel with the rest of the kernel rather than having them built from the vmlinux target. This makes the build slightly faster, and those modules are properly considered when adjust_autoksyms.sh is executed. Signed-off-by: Nicolas Pitre --- Makefile | 8 +--- 1 file

[PATCH v5 6/8] create/adjust generated/autoksyms.h

2016-03-03 Thread Nicolas Pitre
Given the list of exported symbols needed by all modules, we can create a header file containing preprocessor defines for each of those symbols. Also, when some symbols are added and/or removed from the list, we can update the time on the corresponding files used as build dependencies for those sym

[PATCH v5 8/8] kconfig option for TRIM_UNUSED_KSYMS

2016-03-03 Thread Nicolas Pitre
The config option to enable it all. Signed-off-by: Nicolas Pitre Acked-by: Rusty Russell --- init/Kconfig | 16 1 file changed, 16 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index 22320804fb..e6f666331b 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1990,6 +1990,

[PATCH v5 1/8] kbuild: record needed exported symbols for modules

2016-03-03 Thread Nicolas Pitre
Kernel modules are partially linked object files with some undefined symbols that are expected to be matched with EXPORT_SYMBOL() entries from elsewhere. Each .tmp_versions/*.mod file currently contains two line of text separated by a newline character. The first line has the actual module file na

[PATCH v5 3/8] fixdep: accept extra dependencies on stdin

2016-03-03 Thread Nicolas Pitre
... and merge them in the list of parsed dependencies. Signed-off-by: Nicolas Pitre --- scripts/basic/fixdep.c | 60 +- 1 file changed, 45 insertions(+), 15 deletions(-) diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 5b327c67a8

Re: [PATCH v2 5/10] cpufreq: Move governor attribute set headers to cpufreq.h

2016-03-03 Thread Viresh Kumar
On 04-03-16, 04:05, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move definitions and function headers related to struct gov_attr_set > to include/linux/cpufreq.h so they can be used by (future) goverernors > located outside of drivers/cpufreq/. > > No functional changes. > > Signed-o

Re: [PATCH v2 3/10] cpufreq: governor: New data type for management part of dbs_data

2016-03-03 Thread Viresh Kumar
On 04-03-16, 04:01, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In addition to fields representing governor tunables, struct dbs_data > contains some fields needed for the management of objects of that > type. As it turns out, that part of struct dbs_data may be shared > with (future)

Re: [PATCH v2 4/10] cpufreq: governor: Move abstract gov_attr_set code to seperate file

2016-03-03 Thread Viresh Kumar
On 04-03-16, 04:03, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move abstract code related to struct gov_attr_set to a separate (new) > file so it can be shared with (future) goverernors that won't share > more code with "ondemand" and "conservative". > > No intentional functional cha

Re: [PATCH 3/6] cpufreq: governor: New data type for management part of dbs_data

2016-03-03 Thread Viresh Kumar
On 03-03-16, 20:26, Rafael J. Wysocki wrote: > So this is a totally bicycle shed discussion argument which makes it > seriously irritating. > > Does it really matter so much how this structure is called? > Essentially, it is something to build your tunables structure around > and you can treat it

Re: [PATCH RFC 1/2] mm: meminit: initialise more memory for inode/dentry hash tables in early boot

2016-03-03 Thread Li Zhang
On Thu, Mar 3, 2016 at 5:41 PM, Anshuman Khandual wrote: > On 03/03/2016 12:31 PM, Li Zhang wrote: >> From: Li Zhang >> >> This patch is based on Mel Gorman's old patch in the mailing list, >> https://lkml.org/lkml/2015/5/5/280 which is dicussed but it is > > Typo here ...

Re: Suspicious error for CMA stress test

2016-03-03 Thread Hanjun Guo
Hi Joonsoo, On 2016/3/4 10:02, Joonsoo Kim wrote: > On Thu, Mar 03, 2016 at 08:49:01PM +0800, Hanjun Guo wrote: >> On 2016/3/3 15:42, Joonsoo Kim wrote: >>> 2016-03-03 10:25 GMT+09:00 Laura Abbott : (cc -mm and Joonsoo Kim) On 03/02/2016 05:52 AM, Hanjun Guo wrote: > Hi, >>

Re: [RFC PATCH] watchdog: s3c2410_wdt: Add max and min timeout values

2016-03-03 Thread Guenter Roeck
On 03/03/2016 04:26 AM, Krzysztof Kozlowski wrote: 2016-03-03 20:55 GMT+09:00 Javier Martinez Canillas : Hello Guenter, On 03/03/2016 01:50 AM, Guenter Roeck wrote: A watchdog driver using a non-static clock must register a clock change notifier to handle the clock rate change and update its

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-03 Thread Ross Green
On Fri, Feb 26, 2016 at 12:35 PM, Paul E. McKenney wrote: > This time actually attaching Daniel's patches... > > Thanx, Paul > > On Thu, Feb 25, 2016 at 04:56:38PM -0800, Paul E. McKenney wrote: >> On Thu, Feb 25, 2016 at 04:13:11PM +

Re: [PATCH] hwmon: ina2xx: Add per-sensor label

2016-03-03 Thread Guenter Roeck
On 03/03/2016 01:02 PM, Anatol Pomozov wrote: From: Anatol Pomazau Some systems have a lot of power sensors and having an way to label sensor makes easier to use sensor information. Add dts property 'label' that is readable via device sysfs file 'label'. Signed-off-by: Anatol Pomozov Label

linux-next: manual merge of the staging tree with the v4l-dvb tree

2016-03-03 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/media/dvb-frontends/mn88473.c between commit: 7908fad99a6c ("[media] mn88473: finalize driver") from the v4l-dvb tree and commit: 3a35be2a1443 ("staging: media: Remove unneeded parentheses") from the stagi

Re: [PATCH v1] watchdog: sama5d4_wdt: Reset delay on start

2016-03-03 Thread Guenter Roeck
On 03/03/2016 05:35 PM, Yang, Wenyou wrote: Hi Romain, On 2016/3/3 18:29, Romain Izard wrote: If the internal counter is not refreshed when the watchdog is started for the first time, the watchdog will trigger very rapidly. For example, opening /dev/watchdog without writing in it will immediate

Re: [PATCH 0/3] OOM detection rework v4

2016-03-03 Thread Joonsoo Kim
On Thu, Mar 03, 2016 at 04:25:15PM +0100, Michal Hocko wrote: > On Thu 03-03-16 23:10:09, Joonsoo Kim wrote: > > 2016-03-03 18:26 GMT+09:00 Michal Hocko : > > > On Wed 02-03-16 23:34:21, Joonsoo Kim wrote: > > >> 2016-03-02 23:06 GMT+09:00 Michal Hocko : > > >> > On Wed 02-03-16 22:32:09, Joonsoo K

Re: [PATCH v4 18/18] i2c-mux: relax locking of the top i2c adapter during i2c controlled muxing

2016-03-03 Thread kbuild test robot
Hi Peter, [auto build test ERROR on v4.5-rc6] [cannot apply to wsa/i2c/for-next sailus-media/master next-20160303] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup

Re: [PATCH V14 8/9] vfio, platform: add support for ACPI while detecting the reset driver

2016-03-03 Thread Sinan Kaya
On 3/3/2016 6:14 PM, Eric Auger wrote: > Hi Sinan, > On 03/02/2016 07:34 PM, Sinan Kaya wrote: >> On 2/26/2016 12:15 PM, Eric Auger wrote: -module_init(reset ## _module_init); \ > +#define module_vfio_reset_handler(compat, acpihid, reset) >

Re: [PATCH] bus: simple-pm-bus: Use ARCH_RENESAS

2016-03-03 Thread Simon Horman
On Thu, Mar 03, 2016 at 09:31:49AM +0100, Geert Uytterhoeven wrote: > On Thu, Mar 3, 2016 at 2:39 AM, Simon Horman > wrote: > > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. > > > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > > ARCH_RENESAS the motivation for which

Re: [PATCH V2 2/2] mailbox: Introduce TI message manager driver

2016-03-03 Thread Jassi Brar
On Sat, Feb 27, 2016 at 3:54 AM, Nishanth Menon wrote: > Support for TI Message Manager Module. This hardware block manages a > bunch of hardware queues meant for communication between processor > entities. > > Clients sitting on top of this would manage the required protocol > for communicating w

Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode

2016-03-03 Thread Miklos Szeredi
On Thu, Mar 3, 2016 at 7:58 PM, Sedat Dilek wrote: > On 3/3/16, Miklos Szeredi wrote: >> On Sun, Jan 31, 2016 at 2:21 PM, Konstantin Khlebnikov >> wrote: >>> Overlayfs must update uid/gid after chown, otherwise functions >>> like inode_owner_or_capable() will check user against stale uid. >>> Ca

[PATCH net 0/2] net: hns: fixed the pause ctl bug

2016-03-03 Thread Lisheng
The change is for supporting pause in V2 chip: service ports can close pause-rx; debug ports can open pause-rx/tx. Lisheng (2): net: hns: fixed the pause ctl bug net: hns: update pause regs to dump function drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 20 +- drive

[PATCH net 2/2] net: hns: update pause regs to dump function

2016-03-03 Thread Lisheng
Add two new regs to dump and stats function: DSAF_PAUSE_CFG_REG DSAFV2_INODE_FINAL_IN_PAUSE_NUM_0_REG. Signed-off-by: Lisheng --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH net 1/2] net: hns: fixed the pause ctl bug

2016-03-03 Thread Lisheng
The patch is support pause in V2 chip, that are forbidden in V1 chip: 1) service ports can disable rx pause frame. 2) debug ports can open tx/rx pause frame. Signed-off-by: Lisheng --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 20 +++-- drivers/net/ethernet/hisilicon

[PATCH] s390: Use pr_warn instead of pr_warning

2016-03-03 Thread Joe Perches
Convert the uses of pr_warning to pr_warn so there are fewer uses of the old pr_warning. Miscellanea: o Align arguments o Coalesce formats Signed-off-by: Joe Perches --- arch/s390/kernel/cpcmd.c | 3 +-- arch/s390/kernel/debug.c | 6 ++ arch/s390/kernel/time.c |

[PATCH net 0/3] net: hns: fixed the setting overtime bug

2016-03-03 Thread Lisheng
In V2 chip,we can set overtime reg is for each port, that is differents from for all port in V1. This patch will modify some functions: set/get the reg. Lisheng (3): net: hns: fixed the setting overtime bug net: hns: modified dump overtime regs net: hns: fixed set-coalesce-usecs return void

Re: [PATCH] media: fix null pointer dereference in v4l_vb2q_enable_media_source()

2016-03-03 Thread Olli Salonen
Hi Shuah, Thanks for your quick reaction. This patch seems to fix the oops I got earlier. Tested-by: Olli Salonen Cheers, -olli On 4 March 2016 at 04:24, Shuah Khan wrote: > Fix the null pointer dereference in v4l_vb2q_enable_media_source(). > DVB only drivers don't have valid struct v4l2_fh

[PATCH net 2/3] net: hns: modified dump overtime regs

2016-03-03 Thread Lisheng
In V2 chip, the timeover reg_addr is different from V1; And there are 6 regs for service ports,that is different from V1. In dump regs function, should also fix this change. Signed-off-by: Lisheng --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 16 1 file changed, 12 ins

[PATCH net 3/3] net: hns: fixed set-coalesce-usecs return void bug

2016-03-03 Thread Lisheng
Seting coalesce time maybe return err, and ethtool should process the err. Signed-off-by: Lisheng --- drivers/net/ethernet/hisilicon/hns/hnae.h | 2 +- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +++--- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 6 -- 3 files chan

[PATCH net 1/3] net: hns: fixed the setting overtime bug

2016-03-03 Thread Lisheng
In V2 chip,we can set overtime reg is for each port, that is differents from for all port in V1. This patch will modify some functions: set/get the reg. Signed-off-by: Lisheng --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 60 +++- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c

Re: [PATCH v3] net: jme: fix suspend/resume on JMC260

2016-03-03 Thread Diego Viola
On Thu, Mar 3, 2016 at 6:19 PM, Diego Viola wrote: > On Thu, Mar 3, 2016 at 6:14 PM, Diego Viola wrote: >> On Thu, Mar 3, 2016 at 2:55 AM, Diego Viola wrote: >>> On Thu, Mar 3, 2016 at 12:19 AM, Diego Viola wrote: On Wed, Mar 2, 2016 at 2:14 AM, Guo-Fu Tseng wrote: > On Wed, 24

[GIT PULL] drm-vc4-fixes-2016-03-03

2016-03-03 Thread Eric Anholt
This is pretty late, and since it's not regressions, I won't be at all surprised if you want to pull this into -next instead. I could rebase it back to -rc3 if you want it for -next. The following changes since commit 81f70ba233d5f660e1ea5fe23260ee323af5d53a: Linux 4.5-rc5 (2016-02-20 13:39:35

Re: Suspicious error for CMA stress test

2016-03-03 Thread Joonsoo Kim
On Fri, Mar 04, 2016 at 11:02:33AM +0900, Joonsoo Kim wrote: > On Thu, Mar 03, 2016 at 08:49:01PM +0800, Hanjun Guo wrote: > > On 2016/3/3 15:42, Joonsoo Kim wrote: > > > 2016-03-03 10:25 GMT+09:00 Laura Abbott : > > >> (cc -mm and Joonsoo Kim) > > >> > > >> > > >> On 03/02/2016 05:52 AM, Hanjun Gu

linux-next: manual merge of the kvm tree with the powerpc tree

2016-03-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/powerpc/kvm/book3s_64_vio_hv.c between commit: f64e8084c94b ("powerpc/mm: Move hash related mmu-*.h headers to book3s/") from the powerpc tree and commit: d3695aa4f452 ("KVM: PPC: Add support for multiple-TCE hcall

Re: [PATCHv3 00/29] huge tmpfs implementation using compound pages

2016-03-03 Thread Sasha Levin
On 03/03/2016 11:51 AM, Kirill A. Shutemov wrote: > I consider it feature complete for initial step into upstream. I'll focus > on validation now. I work with Sasha on that. Hey Kirill, I see the following two (separate) issues. I haven't hit them ever before, so I suspect that while they seem un

  1   2   3   4   5   6   7   8   9   10   >