[PATCH 5/5] cmd640: add __init attribute

2016-04-18 Thread Julia Lawall
Add __init attribute on a function that is only called from other __init functions and that is not inlined, at least with gcc version 4.8.4 on an x86 machine with allyesconfig. Currently, the function is put in the .text.unlikely segment. Declaring it as __init will cause it to be put in the .ini

[PATCH 2/5] arcnet: com90xx: add __init attribute

2016-04-18 Thread Julia Lawall
Add __init attribute on a function that is only called from other __init functions and that is not inlined, at least with gcc version 4.8.4 on an x86 machine with allyesconfig. Currently, the function is put in the .text.unlikely segment. Declaring it as __init will cause it to be put in the .ini

[PATCH 0/5] add __init attribute

2016-04-18 Thread Julia Lawall
Add __init attribute on a function that is only called from other __init functions and that is not inlined. The complete semantic patch used to detect the need for this change is below (http://coccinelle.lip6.fr/). This semantic patch checks for local static non-init functions that are called fro

Re: SV: [PATCH] ASoC: docs: add clocking examples for DAI formats

2016-04-18 Thread Mark Brown
On Mon, Apr 18, 2016 at 01:18:47PM +, Peter Rosin wrote: > Mark Brown wrote: > > > > There aren't any (beyond the usual references to the Wolfson datasheets > > which I'd suggest should be in here) but that doesn't mean we should > > ignore this spec when we have it. > This is exactly the pr

[PATCH 1/5] clk: qoriq: add __init attribute

2016-04-18 Thread Julia Lawall
Add __init attribute on a function that is only called from other __init functions and that is not inlined, at least with gcc version 4.8.4 on an x86 machine with allyesconfig. Currently, the function is put in the .text.unlikely segment. Declaring it as __init will cause it to be put in the .ini

[PATCH 3/5] clocksource/drivers/mtk_timer: add __init attribute

2016-04-18 Thread Julia Lawall
Add __init attribute on a function that is only called from other __init functions and that is not inlined, at least with gcc version 4.8.4 on an x86 machine with allyesconfig. Currently, the function is put in the .text.unlikely segment. Declaring it as __init will cause it to be put in the .ini

Re: [PATCH 2/8] writeback: add wbc_to_write_cmd()

2016-04-18 Thread Jan Kara
On Sun 17-04-16 23:24:41, Jens Axboe wrote: > Add wbc_to_write_cmd(), which returns the write type to use, based on a > struct writeback_control. No functional changes in this patch, but it > prepares us for factoring other wbc fields for write type. > > Signed-off-by: Jens Axboe Looks good. You

[PATCH 2/8] arm64: kernel: use literal for relocated address of __secondary_switched

2016-04-18 Thread Ard Biesheuvel
We can simply use a relocated 64-bit literal to store the address of __secondary_switched(), and the relocation code will ensure that it holds the correct value at secondary entry time, as long as we make sure that the literal is not dereferenced until after we have enabled the MMU. So jump via a

[PATCH 5/8] arm64: kernel: replace early 64-bit literal loads with move-immediates

2016-04-18 Thread Ard Biesheuvel
When building a relocatable kernel, we currently rely on the fact that early 64-bit literal loads need to be deferred to after the relocation has been performed only if they involve symbol references, and not if they involve assemble time constants. While this is not an unreasonable assumption to m

[PATCH 6/8] arm64: don't map TEXT_OFFSET bytes below the kernel if we can avoid it

2016-04-18 Thread Ard Biesheuvel
For historical reasons, the kernel Image must be loaded into physical memory at a 512 KB offset above a 2 MB aligned base address. The region between the base address and the start of the kernel Image has no significance to the kernel itself, but it is currently mapped explicitly into the early ker

[PATCH 4/8] arm64: introduce mov_q macro to move a constant into a 64-bit register

2016-04-18 Thread Ard Biesheuvel
Implement a macro mov_q that can be used to move an immediate constant into a 64-bit register, using between 2 and 4 movz/movk instructions (depending on the operand) Signed-off-by: Ard Biesheuvel --- arch/arm64/include/asm/assembler.h | 20 1 file changed, 20 insertions(+)

Re: [PATCH v2 RESEND 2/4] arm64: Kconfig: select sp804 timer for ARCH_HISI

2016-04-18 Thread Xu Wei
Hi Leo, On 21/01/16 10:53, Leo Yan wrote: Select sp804 timer for ARCH_HISI, which is used as broadcast timer. Signed-off-by: Leo Yan --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 4043c35

Re: [Question] reset controlling

2016-04-18 Thread Arnd Bergmann
On Sunday 17 April 2016 17:16:58 Masahiro Yamada wrote: > 2016-04-17 4:23 GMT+09:00 Arnd Bergmann : > >> Reset signals are sometimes cascaded. > >> For example, the UART blocks on my SoCs have a reset for the whole of > >> UART blocks > >> besides per-channel reset signals. > >> > >>

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread Timur Tabi
Sinan Kaya wrote: VMAP allows you to make several pages look contiguous to the CPU. It can only be used against logical addresses returned from kmalloc or alloc_page. You cannot take several virtually mapped addresses returned by dma_alloc_coherent and try to make them virtually contiguous aga

[PATCH net-next] macvlan: fix failure during registration

2016-04-18 Thread Francesco Ruggeri
If a macvlan/macvtap creation fails in register_netdevice in call_netdevice_notifiers(NETDEV_REGISTER) then while cleaning things up in rollback_registered_many it invokes macvlan_uninit. This results in port->count being decremented twice (in macvlan_uninit and in macvlan_common_newlink). A simila

Re: [PATCH] tools: Use builtin $(abspath ...) instead of $(shell cd ... && pwd)

2016-04-18 Thread Maciej W. Rozycki
On Mon, 18 Apr 2016, Thierry Reding wrote: > > > Avoid forking off a shell to resolve the absolute path of the output > > > directory when make's builtin $(abspath ...) function will do an > > > adequate job. > > > > The abspath function is not available in make 3.80. > > Do we really support ma

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread Christoph Hellwig
On Mon, Apr 18, 2016 at 02:39:36PM +, Eli Cohen wrote: > Right, I did not suggest this as a patch but just wanted to pinpoint the > problematic issue which is that virt_to_page does not give you the correct > pointer to the page. Removing both the virt_to_page + vmap calls would solve the is

Re: [RFC PATCH 0/2] s390/klp: s390 support

2016-04-18 Thread Josh Poimboeuf
On Mon, Apr 18, 2016 at 05:01:08PM +0200, Miroslav Benes wrote: > So this is something we have in kGraft for a while (though the actual > implementation in s390's entry.S differs). > > The first patch is needed because we want our TIF flag to be part of > _TIF_WORK and s390's tm instruction tests

Re: [PATCH v2 0/3] Enable configs for 96boards HiKey and general arm64

2016-04-18 Thread Wei Xu
Hi Guodong, On 11/03/2016 00:09, Guodong Xu wrote: > This patch enables a number of devices currently supported by the Hi6220 > and 96boards HiKey. These include > a) Hi655x PMIC and regulator > b) Hi6220 I2C, USB, MMC, mailbox, and reset > c) CONFIG_PINCTRL_SINGLE, and CONFIG_LEDS_GPIO > > Also

[PATCH] mm: make fault_around_bytes configurable

2016-04-18 Thread Vinayak Menon
Mapping pages around fault is found to cause performance degradation in certain use cases. The test performed here is launch of 10 apps one by one, doing something with the app each time, and then repeating the same sequence once more, on an ARM 64-bit Android device with 2GB of RAM. The time taken

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-18 Thread Srinivas Pandruvada
On Fri, 2016-04-15 at 11:01 +0300, Mika Westerberg wrote: > +Srinivas > > On Sun, Jan 31, 2016 at 04:33:00PM +0100, Jean-Michel Hautbois wrote: > > > > Some I2C devices have multiple addresses assigned, for example each > > address > > corresponding to a different internal register map page of th

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread Sinan Kaya
On 4/18/2016 11:17 AM, Christoph Hellwig wrote: > On Mon, Apr 18, 2016 at 02:39:36PM +, Eli Cohen wrote: >> Right, I did not suggest this as a patch but just wanted to pinpoint the >> problematic issue which is that virt_to_page does not give you the correct >> pointer to the page. > > Remov

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-18 Thread David Woodhouse
On Mon, 2016-04-18 at 17:23 +0300, Michael S. Tsirkin wrote: > > This patch doesn't change DMAR tables, it creates a way for virtio > device to tell guest "I obey what DMAR tables tell you, you can stop > doing hacks". > > And as PPC guys seem adamant that platform tools there are no good for > t

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread Sinan Kaya
On 4/18/2016 11:15 AM, Timur Tabi wrote: > Sinan Kaya wrote: >> >> VMAP allows you to make several pages look contiguous to the CPU. >> It can only be used against logical addresses returned from kmalloc >> or alloc_page. >> >> You cannot take several virtually mapped addresses returned by >> dma_

Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller

2016-04-18 Thread Tomasz Nowicki
On 18.04.2016 16:38, Arnd Bergmann wrote: On Monday 18 April 2016 15:33:24 Tomasz Nowicki wrote: Of course we can split discussion into the two topics: 1. ECAM based ACPI host controller - patches [1-10] 2. Quirks handling and examples. IMO, it is very helpful for reviewers to go with one unif

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-18 Thread Lars-Peter Clausen
On 04/18/2016 05:20 PM, Srinivas Pandruvada wrote: > On Fri, 2016-04-15 at 11:01 +0300, Mika Westerberg wrote: >> +Srinivas >> >> On Sun, Jan 31, 2016 at 04:33:00PM +0100, Jean-Michel Hautbois wrote: >>> >>> Some I2C devices have multiple addresses assigned, for example each >>> address >>> corresp

arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

2016-04-18 Thread kbuild test robot
Hi Piet, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c3b46c73264b03000d1e18b22f5caf63332547c9 commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9 xtensa: add Three Core HiFi-2 MX Variant. date: 5 weeks ago config

Re: [PATCH] fs: add the FIGETFROZEN ioctl call

2016-04-18 Thread Eric Sandeen
On 4/14/16 10:17 PM, Dave Chinner wrote: > On Thu, Apr 14, 2016 at 09:57:07AM +0200, Florian Margaine wrote: >> This lets userland get the filesystem freezing status, aka whether the >> filesystem is frozen or not. This is so that an application can know if >> it should freeze the filesystem or i

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-18 Thread Michael S. Tsirkin
On Mon, Apr 18, 2016 at 11:22:03AM -0400, David Woodhouse wrote: > On Mon, 2016-04-18 at 17:23 +0300, Michael S. Tsirkin wrote: > > > > This patch doesn't change DMAR tables, it creates a way for virtio > > device to tell guest "I obey what DMAR tables tell you, you can stop > > doing hacks". > >

Re: [PATCH 0/2 v6] printk, Add monotonic and real printk timestamps

2016-04-18 Thread Prarit Bhargava
On 03/10/2016 05:00 AM, Petr Mladek wrote: > On Tue 2016-03-08 06:03:24, Prarit Bhargava wrote: >> >> >> On 03/08/2016 02:59 AM, Thomas Gleixner wrote: >>> On Tue, 23 Feb 2016, Prarit Bhargava wrote: >>> This patchset adds monotonic and real printk timestamps. The first patch changes C

Re: [PATCH] tools: Use builtin $(abspath ...) instead of $(shell cd ... && pwd)

2016-04-18 Thread Thierry Reding
On Mon, Apr 18, 2016 at 04:17:26PM +0100, Maciej W. Rozycki wrote: > On Mon, 18 Apr 2016, Thierry Reding wrote: > > > > > Avoid forking off a shell to resolve the absolute path of the output > > > > directory when make's builtin $(abspath ...) function will do an > > > > adequate job. > > > > > >

Re: [PATCH] scripts/gdb: Use $(abspath ...) instead of $(shell cd ... && pwd)

2016-04-18 Thread Thierry Reding
On Sun, Apr 10, 2016 at 09:04:48PM -0700, Jan Kiszka wrote: > On 2016-04-08 02:16, Thierry Reding wrote: > > From: Thierry Reding > > > > Avoid forking off a shell to resolve the absolute path of the output > > directory when make's builtin $(abspath ...) function will do an > > adequate job. > >

Re: [PATCH 1/8] arm64: kernel: don't export local symbols from head.S

2016-04-18 Thread Mark Rutland
On Mon, Apr 18, 2016 at 05:09:41PM +0200, Ard Biesheuvel wrote: > This unexports some symbols from head.S that are only used locally. It might be worth s/some/all/, as that makes this sound less arbitrary (and AFAICS this caters for all symbols only used locally). > Signed-off-by: Ard Biesheuvel

Re: [PATCHv4 1/2] x86/vdso: add mremap hook to vm_special_mapping

2016-04-18 Thread Andy Lutomirski
On Apr 18, 2016 4:19 AM, "Dmitry Safonov" wrote: > > On 04/15/2016 07:58 PM, Andy Lutomirski wrote: >> >> A couple minor things: >> >> - You're looking at both new_vma->vm_mm and current->mm. Is there a >> reason for that? If they're different, I'd be quite surprised, but >> maybe it would mak

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread Christoph Hellwig
On Mon, Apr 18, 2016 at 11:21:12AM -0400, Sinan Kaya wrote: > I was looking at the code. I don't see how removing virt_to_page + vmap > would solve the issue. > > The code is trying to access the buffer space with direct.buf member > from the CPU side. This member would become NULL, when this cod

Re: [PATCH v2] carl9170: Clarify kconfig text

2016-04-18 Thread Kalle Valo
Lauri Kasanen writes: > The previous text was confusing, leading readers to think this > driver was a duplicate, and so didn't need to be enabled. > > After the removal of the older staging driver, this is the only > driver in mainline for these devices. > > Signed-off-by: Lauri Kasanen > --- >

[PATCH 2/2] MAINTAINERS: Add maintainer for TI LCDC DRM driver

2016-04-18 Thread Tomi Valkeinen
Add Jyri Sarha as tilcdc maintainer and Tomi Valkeinen as reviewer. Signed-off-by: Tomi Valkeinen Cc: Rob Clark Cc: Jyri Sarha --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c235d8c72a57..313cdef294ee 100644 --- a/MAINTAINERS +++ b/MA

Re: [PATCH] scripts/gdb: Use $(abspath ...) instead of $(shell cd ... && pwd)

2016-04-18 Thread Jan Kiszka
On 2016-04-18 17:33, Thierry Reding wrote: > On Sun, Apr 10, 2016 at 09:04:48PM -0700, Jan Kiszka wrote: >> On 2016-04-08 02:16, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> Avoid forking off a shell to resolve the absolute path of the output >>> directory when make's builtin $(abspath .

Re: [PATCH 3/5] clocksource/drivers/mtk_timer: add __init attribute

2016-04-18 Thread Matthias Brugger
On 18/04/16 16:55, Julia Lawall wrote: Add __init attribute on a function that is only called from other __init functions and that is not inlined, at least with gcc version 4.8.4 on an x86 machine with allyesconfig. Currently, the function is put in the .text.unlikely segment. Declaring it as

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-18 Thread David Woodhouse
On Mon, 2016-04-18 at 18:30 +0300, Michael S. Tsirkin wrote: > > > Setting (only) VIRTIO_F_IOMMU_PASSTHROUGH indicates to the guest that > > its own operating system's IOMMU code is expected to be broken, and > > that the virtio driver should eschew the DMA API? > > No - it tells guest that e.g.

Re: [alsa-devel] [PATCH 4/4] ASoC: simple-card: Support for selecting system clocks by ID

2016-04-18 Thread Peter Ujfalusi
On 02/17/2016 09:52 PM, Peter Ujfalusi wrote: > On 02/17/2016 02:07 PM, Mark Brown wrote: >> On Wed, Feb 17, 2016 at 10:13:35AM +0200, Peter Ujfalusi wrote: >> >>> With this change we don't need to write custom machine drivers for setup not >>> using sysclk_id == 0. >>> I do think this is reasonabl

Re: arch/xtensa/include/asm/processor.h:227: Error: unknown opcode or format name 'wer'

2016-04-18 Thread Max Filippov
Hi Fengguang, On Mon, Apr 18, 2016 at 6:29 PM, kbuild test robot wrote: > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: c3b46c73264b03000d1e18b22f5caf63332547c9 > commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15

[PATCH 1/2] MAINTAINERS: Add maintainer for OMAP DRM driver

2016-04-18 Thread Tomi Valkeinen
Add Tomi Valkeinen as omapdrm maintainer. Signed-off-by: Tomi Valkeinen Cc: Rob Clark Cc: Laurent Pinchart --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1d5b4becab6f..c235d8c72a57 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3888,6

Re: [PATCH v2 4/5] iio: health: afe4404: use regmap to retrieve struct device

2016-04-18 Thread Andrew F. Davis
On 04/17/2016 11:56 PM, Alison Schofield wrote: > On Sun, Apr 17, 2016 at 01:07:52PM -0500, Andrew F. Davis wrote: >> On 04/16/2016 02:22 PM, Jonathan Cameron wrote: >>> On 10/04/16 20:07, Alison Schofield wrote: Driver includes struct regmap and struct device in its global data. Remove t

Re: {standard input}:136: Error: number (0x9000000080000000) larger than 32 bits

2016-04-18 Thread Ralf Baechle
On Mon, Apr 18, 2016 at 03:25:56PM +0100, Maciej W. Rozycki wrote: > On Mon, 18 Apr 2016, Ralf Baechle wrote: > > > The old case btw, affects ip22 with a random_config: > > > > CC arch/mips/mm/sc-ip22.o > > {standard input}: Assembler messages: > > {standard input}:137: Error: number (0x9

Re: [PATCH] gpio: omap: fix irq triggering in smart-idle wakeup mode

2016-04-18 Thread Grygorii Strashko
On 04/15/2016 09:54 PM, Tony Lindgren wrote: > * santosh shilimkar [160415 08:22]: >> On 4/15/2016 2:26 AM, Grygorii Strashko wrote: >>> >>> Santosh, Tony, do you want me to perform any additional actions regarding >>> this patch? >>> >> This patch should be run across family of SOCs to make >> s

Re: [PATCH 2/8] arm64: kernel: use literal for relocated address of __secondary_switched

2016-04-18 Thread Mark Rutland
On Mon, Apr 18, 2016 at 05:09:42PM +0200, Ard Biesheuvel wrote: > We can simply use a relocated 64-bit literal to store the address of > __secondary_switched(), and the relocation code will ensure that it > holds the correct value at secondary entry time, as long as we make sure > that the literal

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread David Miller
From: ok...@codeaurora.org Date: Mon, 18 Apr 2016 01:06:27 -0400 > On 2016-04-18 00:00, David Miller wrote: >> From: Sinan Kaya >> Date: Sat, 16 Apr 2016 18:23:32 -0400 >> >>> Current code is assuming that the address returned by >>> dma_alloc_coherent >>> is a logical address. This is not true

Re: [PATCH] mm: SLAB freelist randomization

2016-04-18 Thread Thomas Garnier
I will send the next version today. Note that I get_random_bytes_arch is used because at that stage we have 0 bits of entropy. It seemed like a better idea to use the arch version that will fallback on get_random_bytes sub API in the worse case. On Fri, Apr 15, 2016 at 3:47 PM, Thomas Garnier wro

Re: [RESEND PATCH v2 3/5] security: Introduce security_settime64()

2016-04-18 Thread Arnd Bergmann
On Friday 08 April 2016 14:02:11 Baolin Wang wrote: > security_settime() uses a timespec, which is not year 2038 safe > on 32bit systems. Thus this patch introduces the security_settime64() > function with timespec64 type. We also convert the cap_settime() helper > function to use the 64bit types.

RE: [PATCH 1/1] perf tools: Fix format value calculation

2016-04-18 Thread Liang, Kan
Hi all, There is confusion about the usage of format for me. E.g. The event config is not continuous for uncore. cat /sys/devices/uncore_qpi_0/format/event config:0-7,21 I once thought that the user input should be uncore_qpi_0/event=0x200038,/ So I submitted this patch and previous patch

Re: [PATCH 16/42] nilfs: set bi_op to REQ_OP

2016-04-18 Thread Ryusuke Konishi
On Fri, 15 Apr 2016 14:15:51 -0500, mchri...@redhat.com wrote: > From: Mike Christie > > This patch has nilfs use bio->bi_op for REQ_OPs and rq_flag_bits > to bio->bi_rw. > > Signed-off-by: Mike Christie > Reviewed-by: Christoph Hellwig > Reviewed-by: Hannes Reinecke > --- > fs/nilfs2/segbuf

Re: [PATCH] macsec: fix crypto Kconfig dependency

2016-04-18 Thread David Miller
From: Herbert Xu Date: Mon, 18 Apr 2016 16:02:02 +0800 > In fact this strikes me as a kbuild bug because CRYPTO_GCM already > selects (indirectly) CRYPTO_ALGAPI so why is this happening at all? Selects don't trigger selects.

[PATCH resend 1/3] nios2: use correct void* return type for page_to_virt()

2016-04-18 Thread Ard Biesheuvel
To align with other architectures, the expression produced by expanding the macro page_to_virt() should be of type void*, since it returns a virtual address. Fix that, and also fix up an instance where page_to_virt was expected to return 'unsigned long', and drop another instance that was entirely

[PATCH] mtd: nand: jz4740: Remove unused local variable

2016-04-18 Thread Maarten ter Huurne
Signed-off-by: Maarten ter Huurne --- drivers/mtd/nand/jz4740_nand.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index 673ceb2..2f39ee1 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c @@ -221,7

[PATCH resend 0/3] mm: allow arch to override lowmem_page_address

2016-04-18 Thread Ard Biesheuvel
These patches allow the arch to define the page_to_virt() conversion that is used in lowmem_page_address(). This is desirable for arm64, where this conversion is trivial when CONFIG_SPARSEMEM_VMEMMAP is enabled, while breaking it up into __va(PFN_PHYS(page_to_pfn(page))), as is done currently in lo

[PATCH resend 3/3] mm: replace open coded page to virt conversion with page_to_virt()

2016-04-18 Thread Ard Biesheuvel
The open coded conversion from struct page address to virtual address in lowmem_page_address() involves an intermediate conversion step to pfn number/physical address. Since the placement of the struct page array relative to the linear mapping may be completely independent from the placement of phy

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread Sinan Kaya
On 4/18/2016 11:59 AM, David Miller wrote: > From: ok...@codeaurora.org > Date: Mon, 18 Apr 2016 01:06:27 -0400 > >> On 2016-04-18 00:00, David Miller wrote: >>> From: Sinan Kaya >>> Date: Sat, 16 Apr 2016 18:23:32 -0400 >>> Current code is assuming that the address returned by dma_allo

[PATCH resend 2/3] openrisc: drop wrongly typed definition of page_to_virt()

2016-04-18 Thread Ard Biesheuvel
To align with generic code and other architectures that expect the macro page_to_virt to produce an expression whose type is 'void*', drop the arch specific definition, which is never referenced anyway. Signed-off-by: Ard Biesheuvel --- arch/openrisc/include/asm/page.h | 2 -- 1 file changed, 2

Re: [PATCH resend 0/3] mm: allow arch to override lowmem_page_address

2016-04-18 Thread Ard Biesheuvel
On 18 April 2016 at 18:04, Ard Biesheuvel wrote: > These patches allow the arch to define the page_to_virt() conversion that > is used in lowmem_page_address(). This is desirable for arm64, where this > conversion is trivial when CONFIG_SPARSEMEM_VMEMMAP is enabled, while > breaking it up into __v

[PATCH v3] carl9170: Clarify kconfig text

2016-04-18 Thread Lauri Kasanen
The previous text was confusing, leading readers to think this driver was a duplicate, and so didn't need to be enabled. After the removal of the older staging driver, this is the only driver in mainline for these devices. Signed-off-by: Lauri Kasanen --- v3: Remove all firmware mentions. driv

Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

2016-04-18 Thread Alexander Duyck
On Sun, Apr 17, 2016 at 10:22 PM, K. Y. Srinivasan wrote: > On Hyper-V, the VF/PF communication is a via software mediated path > as opposed to the hardware mailbox. Make the necessary > adjustments to support Hyper-V. > > Signed-off-by: K. Y. Srinivasan > --- > V2: Addressed most of the

Re: [PATCH net-next 0/8] allow bpf attach to tracepoints

2016-04-18 Thread Steven Rostedt
On Mon, 4 Apr 2016 21:52:46 -0700 Alexei Starovoitov wrote: > Hi Steven, Peter, > > last time we discussed bpf+tracepoints it was a year ago [1] and the reason > we didn't proceed with that approach was that bpf would make arguments > arg1, arg2 to trace_xx(arg1, arg2) call to be exposed to bpf

Re: rtc ds3232 call trace in kernel

2016-04-18 Thread Alexandre Belloni
On 18/04/2016 at 06:15:40 +, Qianyu Gong wrote : > Hi Akinobu, > > I got an rtc call trace when booting 4.6 kernel on our board and I found it > was caused by this patch: > > commit fc1dcb0b39dbb10d3290f2fcd6e154670f699166 > Author: Akinobu Mita > Date: Mon Mar 7 00:27:53 2016 +0900 > >

Re: [PATCH -tip 3/3] locking/pvqspinlock: Robustify init_qspinlock_stat()

2016-04-18 Thread Davidlohr Bueso
On Sun, 17 Apr 2016, Davidlohr Bueso wrote: diff --git a/kernel/locking/qspinlock_stat.h b/kernel/locking/qspinlock_stat.h index 72722334237a..ddcd653c942c 100644 --- a/kernel/locking/qspinlock_stat.h +++ b/kernel/locking/qspinlock_stat.h @@ -225,12 +225,18 @@ static int __init init_qspinlock_st

Re: [PATCH v3] carl9170: Clarify kconfig text

2016-04-18 Thread Christian Lamparter
On Monday, April 18, 2016 07:07:39 PM Lauri Kasanen wrote: > The previous text was confusing, leading readers to think this > driver was a duplicate, and so didn't need to be enabled. > > After the removal of the older staging driver, this is the only > driver in mainline for these devices. > > S

Re: [PATCH v2] carl9170: Clarify kconfig text

2016-04-18 Thread Christian Lamparter
On Monday, April 18, 2016 06:45:09 PM Kalle Valo wrote: > Lauri Kasanen writes: > > > The previous text was confusing, leading readers to think this > > driver was a duplicate, and so didn't need to be enabled. > > > > After the removal of the older staging driver, this is the only > > driver in

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-18 Thread Michael S. Tsirkin
On Mon, Apr 18, 2016 at 11:51:41AM -0400, David Woodhouse wrote: > On Mon, 2016-04-18 at 18:30 +0300, Michael S. Tsirkin wrote: > > > > > Setting (only) VIRTIO_F_IOMMU_PASSTHROUGH indicates to the guest that > > > its own operating system's IOMMU code is expected to be broken, and > > > that the v

Re: [PATCH 1/3] gpio: tegra: Don't open code of_device_get_match_data()

2016-04-18 Thread Stephen Warren
On 04/18/2016 02:46 AM, Laxman Dewangan wrote: Use of_device_get_match_data() for getting matched data instead of implementing this locally. This patch, Reviewed-by: Stephen Warren

Re: [alsa-devel] [PATCH 4/4] ASoC: simple-card: Support for selecting system clocks by ID

2016-04-18 Thread Mark Brown
On Mon, Apr 18, 2016 at 06:50:52PM +0300, Peter Ujfalusi wrote: > On 02/17/2016 09:52 PM, Peter Ujfalusi wrote: > > On the other hand this ABI is backwards compatible since if it is missing it > > will default to the configuration we right now have regarding to sysclk_dir > > and sysclk_id. > > I

Re: [PATCH 2/3] gpio: tegra: Remove the need of keeping device handle for gpio driver

2016-04-18 Thread Stephen Warren
On 04/18/2016 02:46 AM, Laxman Dewangan wrote: Remove the file static device handle variable as this is just required for prints. The required handle can be stored in tegra_gpio_chip and hence it become redundancy. This seems fine as far as it goes, but if it's worth doing this, please move al

Re: [dm-devel] [PATCH 04/42] fs: have submit_bh users pass in op and flags separately

2016-04-18 Thread Ryusuke Konishi
On Fri, 15 Apr 2016 05:39:24 -0500, mchri...@redhat.com wrote: > From: Mike Christie > > This has submit_bh users pass in the operation and flags separately, > so submit_bh_wbc can setup bio->bi_op and bio-bi_rw on the bio that > is submitted. > > Signed-off-by: Mike Christie > Reviewed-by: Chr

Re: [RESEND PATCH v2 3/5] security: Introduce security_settime64()

2016-04-18 Thread Mark Brown
On Mon, Apr 18, 2016 at 06:01:33PM +0200, Arnd Bergmann wrote: > I seem to have only received patches 3 and 4, both on my personal > address and on lkml. Any idea what happened? > Unless you did not mean to send these patches at all, could you resend > the entire series and put me and the y2038 l

Re: [PATCH 3.14 00/37] 3.14.67-stable review

2016-04-18 Thread Guenter Roeck
On Mon, Apr 18, 2016 at 11:25:32AM +0900, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.67 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 3.14 00/37] 3.14.67-stable review

2016-04-18 Thread Shuah Khan
On 04/17/2016 08:25 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.67 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.4 000/137] 4.4.8-stable review

2016-04-18 Thread Guenter Roeck
On Mon, Apr 18, 2016 at 11:27:42AM +0900, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.8 release. > There are 137 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH 4.4 000/137] 4.4.8-stable review

2016-04-18 Thread Shuah Khan
On 04/17/2016 08:27 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.8 release. > There are 137 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.5 000/124] 4.5.2-stable review

2016-04-18 Thread Guenter Roeck
On Mon, Apr 18, 2016 at 11:27:52AM +0900, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.5.2 release. > There are 124 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH 4.5 000/124] 4.5.2-stable review

2016-04-18 Thread Shuah Khan
On 04/17/2016 08:27 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.5.2 release. > There are 124 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

[PATCH v2 0/5] arm64: Fix behavior of maxcpus=n

2016-04-18 Thread Suzuki K Poulose
This series is an attempt at fixing the maxcpus=n behavior on arm64. So far we have disabled hotplugging a CPU > n, when maxcpus=n is in effect, due to following reasons. 1) Possible cpu feature incompatibilities with the new CPU in heterogeneous systems. 2) New CPU requiring an errata work

[PATCH v2 5/5] arm64: Fix behavior of maxcpus=N

2016-04-18 Thread Suzuki K Poulose
maxcpu=n sets the number of CPUs activated at boot time to a max of n, but allowing the remaining CPUs to be brought up later if the user decides to do so. However, on arm64 due to various reasons, we disallowed hotplugging CPUs beyond n, by marking them not present. Now that we have checks in plac

[PATCH v2 4/5] arm64: Verify CPU errata work arounds on hotplugged CPU

2016-04-18 Thread Suzuki K Poulose
CPU Errata work arounds are detected and applied to the kernel code at boot time and the data is then freed up. If a new hotplugged CPU requires a work around which was not applied at boot time, there is nothing we can do but simply fail the booting. Cc: Will Deacon Cc: Mark Rutland Cc: Andre Pr

[PATCH v2 3/5] irqchip/gic: Restore CPU interface checking

2016-04-18 Thread Suzuki K Poulose
From: Marc Zyngier When introducing the whole CPU feature detection framework, we lost the capability to detect a mismatched GIC configuration (using the GICv2 MMIO interface, but having the system register interface enabled). In order to solve this, use the new this_cpu_has_cap() helper. Also m

[PATCH v2 2/5] arm64: Allow a capability to be checked on a single CPU

2016-04-18 Thread Suzuki K Poulose
From: Marc Zyngier Now that the capabilities are only available once all the CPUs have booted, we're unable to check for a particular feature in any subsystem that gets initialized before then. In order to support this, introduce a local_cpu_has_cap() function that tests for the presence of a gi

[PATCH v2 1/5] arm64: cpufeature: Add scope for capability check

2016-04-18 Thread Suzuki K Poulose
Add scope parameter to the arm64_cpu_capabilities::matches(), so that this can be reused for checking the capability on a given CPU vs the system wide. The system uses the default scope associated with the capability for initialising the CPU_HWCAPs and ELF_HWCAPs. Cc: James Morse Cc: Marc Zyngier

Re: [PATCH 3.4 00/92] 3.4.112-rc1 review

2016-04-18 Thread Guenter Roeck
On Mon, Apr 18, 2016 at 06:45:38PM +0800, l...@kernel.org wrote: > From: Zefan Li > > This is the start of the stable review cycle for the 3.4.112 release. > There are 92 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, pl

Re: [PATCH 3/3] gpio: tegra: Add support for gpio debounce

2016-04-18 Thread Stephen Warren
On 04/18/2016 02:46 AM, Laxman Dewangan wrote: NVIDIA's Tegra210 support the HW debounce in the GPIO controller for all its GPIO pins. Add support for setting debounce timing by implementing the set_debounce callback of gpiochip. diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegr

Re: [PATCH v2] watchdog: add driver for StreamLabs USB watchdog device

2016-04-18 Thread Guenter Roeck
On Mon, Apr 18, 2016 at 04:08:38PM +0200, Oliver Neukum wrote: > On Mon, 2016-04-18 at 06:57 -0700, Guenter Roeck wrote: > > On 04/18/2016 01:32 AM, Oliver Neukum wrote: > > > On Mon, 2016-04-18 at 03:53 +0100, Alexey Klimov wrote: > > >> This patch creates new driver that supports StreamLabs usb w

Re: /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does not evaluate to a constant

2016-04-18 Thread Oleg Nesterov
On 04/17, kbuild test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: b9f5dba225aede4518ab0a7374c2dc38c7c049ce > commit: 5eeb50de42fd3251845d03c556db012267c72b3f uprobes: Change > handle_trampoline() to flush the frames invalidated by

Re: [PATCH 1/3] ASoC: jack: Add a jack detect callback via codec

2016-04-18 Thread Dylan Reid
On Mon, Apr 18, 2016 at 4:46 AM, Mark Brown wrote: > On Mon, Apr 18, 2016 at 06:20:00PM +0800, Xing Zheng wrote: >> On 2016年04月18日 18:03, Xing Zheng wrote: > >> sound { >> .. >> simple-audio-card,dai-link@0 { >> format = "i2s"; >> cpu { >>

[PATCH 2/6] x86, KASLR: Remove unneeded boot_params argument

2016-04-18 Thread Kees Cook
From: Yinghai Lu Since the boot_params can be found using the real_mode global variable, there is no need to pass around a pointer to it. This slightly simplifies the choose_kernel_location function and its callers. Signed-off-by: Yinghai Lu [kees: rewrote changelog, tracked file rename] Signed

[PATCH 5/6] x86, KASLR: Clarify purpose of kaslr.c

2016-04-18 Thread Kees Cook
The name "choose_kernel_location" isn't specific enough, and doesn't describe the primary thing it does: choosing a random location. This patch renames it to "choose_random_location", and clarifies the what routines are contained in the kaslr.c source file. Suggested-by: Ingo Molnar Signed-off-by

Re: [PATCH v2] carl9170: Clarify kconfig text

2016-04-18 Thread Kalle Valo
Christian Lamparter writes: > On Monday, April 18, 2016 06:45:09 PM Kalle Valo wrote: >> Lauri Kasanen writes: >> >> > --- a/drivers/net/wireless/ath/carl9170/Kconfig >> > +++ b/drivers/net/wireless/ath/carl9170/Kconfig >> > @@ -5,12 +5,10 @@ config CARL9170 >> >select FW_LOADER >> >sel

[PATCH 6/6] x86, KASLR: Rename "random" to "random_addr"

2016-04-18 Thread Kees Cook
The variable "random" is also the name of a libc function. It's better coding style to avoid overloading such things, so rename it to the more accurate "random_addr". Suggested-by: Ingo Molnar Signed-off-by: Kees Cook --- arch/x86/boot/compressed/kaslr.c | 10 +- 1 file changed, 5 inser

[PATCH 4/6] x86, boot: Clarify purpose of functions in misc.c

2016-04-18 Thread Kees Cook
The function "decompress_kernel" now performs many more duties, so this patch renames it to "extract_kernel" and updates callers and comments. Additionally the file header comment for misc.c is improved to actually describe what is contained. Suggested-by: Ingo Molnar Signed-off-by: Kees Cook --

[PATCH 3/6] x86, boot: Rename "real_mode" to "boot_params"

2016-04-18 Thread Kees Cook
The non-compressed boot code uses the (much more obvious) name "boot_params" for the global pointer to the x86 boot parameters. The compressed kernel loader code, though, was using the legacy name "real_mode". There is no need to have a different name, and changing it improves readability. Suggest

Re: [PATCH] macsec: fix crypto Kconfig dependency

2016-04-18 Thread David Miller
From: Herbert Xu Date: Mon, 18 Apr 2016 18:43:36 +0800 > Right, the problem is that nothing within crypto ever selects > CRYPTO since it's also used as a way of hiding the crypto menu > options. As far as I understand it, this won't help. Because selects do not trigger other selects and depende

[PATCH 0/6] x86, boot: clean up KASLR code

2016-04-18 Thread Kees Cook
In order to make improvements to KASLR behavior, it has been suggested that the code should be cleaned up a bit first. This is the start of those changes. Since there are no stand-alone bug fixes in the later patches, I will begin here. First with a rename followed by variable name changes and comm

[PATCH 1/6] x86, KASLR: rename aslr.c to kaslr.c

2016-04-18 Thread Kees Cook
In order to avoid confusion over what this file provides, rename it to kaslr.c since it is used exclusively for the kernel ASLR, not userspace ASLR. Suggested-by: Ingo Molnar Signed-off-by: Kees Cook --- arch/x86/boot/compressed/Makefile | 2 +- arch/x86/boot/compressed/aslr.c | 339 ---

Re: [PATCH 3/5] clocksource/drivers/mtk_timer: add __init attribute

2016-04-18 Thread Daniel Lezcano
On Mon, Apr 18, 2016 at 04:55:36PM +0200, Julia Lawall wrote: > Add __init attribute on a function that is only called from other __init > functions and that is not inlined, at least with gcc version 4.8.4 on an > x86 machine with allyesconfig. Currently, the function is put in the > .text.unlikel

<    1   2   3   4   5   6   7   8   9   10   >