Re: [PATCH 1/3] usb: orion-echi: Add support for the Armada 3700

2017-03-08 Thread Thomas Petazzoni
Hello, On Wed, 8 Mar 2017 17:24:21 +0100, Gregory CLEMENT wrote: > Signed-off-by: jinghua I think you need a full first name + last name for this Signed-off-by. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering

Re: [tpmdd-devel] [PATCH] vTPM: Fix missing NULL check

2017-03-08 Thread Jason Gunthorpe
On Wed, Mar 08, 2017 at 03:28:11PM -0500, Hon Ching(Vicky) Lo wrote: > On Wed, 2017-03-08 at 10:17 -0700, Jason Gunthorpe wrote: > > On Tue, Mar 07, 2017 at 11:12:43PM -0500, Hon Ching(Vicky) Lo wrote: > > > On Mon, 2017-03-06 at 16:19 -0700, Jason Gunthorpe wrote: > > > > > > Also, how does

Re: [PATCH v1 3/4] arm/syscalls: Specific usage of verify_pre_usermode_state

2017-03-08 Thread Russell King - ARM Linux
On Wed, Mar 08, 2017 at 01:38:43PM -0800, Thomas Garnier wrote: > Implement specific usage of verify_pre_usermode_state for user-mode > returns for arm. > --- > Based on next-20170308 > --- > arch/arm/Kconfig | 1 + > arch/arm/kernel/entry-common.S | 5 +

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-08 Thread Diego Viola
On Wed, Mar 8, 2017 at 3:49 PM, Diego Viola wrote: > It hangs on resume from suspend if I have USB 3.0 enabled on the BIOS, > it works fine with ehci_hcd or USB 2.0. > > The way I reproduce the problem is with this command: > > $ i3lock && systemctl suspend > > This is what

Re: [PATCH] f2fs: allocate a bio for discarding when actually issuing it

2017-03-08 Thread Jaegeuk Kim
On 03/08, Christoph Hellwig wrote: > On Tue, Mar 07, 2017 at 06:33:33PM -0800, Jaegeuk Kim wrote: > > Let's allocate a bio when issuing discard commands later. > > Does this solve the issue with your queue stalls? No, the patch just changes bio_alloc timings, but the stall happens when doing

Re: [Question] devm_kmalloc() for DMA ?

2017-03-08 Thread Lars-Peter Clausen
On 03/08/2017 07:06 PM, Masahiro Yamada wrote: > Hi Robin, > > > 2017-03-08 20:15 GMT+09:00 Robin Murphy : >> On 08/03/17 10:59, Masahiro Yamada wrote: >>> Hi experts, >>> >>> I have a question about >>> how to allocate DMA-safe buffer. >>> >>> >>> In my understanding,

[PATCH 3/5] sym53c8xx_2: Convert to use memset32()

2017-03-08 Thread Matthew Wilcox
From: Matthew Wilcox memset32() can be used to initialise these three arrays. Minor code footprint reduction. Signed-off-by: Matthew Wilcox --- drivers/scsi/sym53c8xx_2/sym_hipd.c | 11 +++ 1 file changed, 3 insertions(+), 8

[RFC 0/5] memset_l and memfill

2017-03-08 Thread Matthew Wilcox
From: Matthew Wilcox zram was recently enhanced to support compressing pages with a repeating pattern up to the size of an unsigned long. As part of the discussion, we noted it would be nice if architectures had optimised routines to fill regions of memory with patterns

[PATCH] [media] vcodec: mediatek: fix platform_no_drv_owner.cocci warnings

2017-03-08 Thread kbuild test robot
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1296:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Rick Chang Signed-off-by:

Re: [PATCH 5/7] xen/9pfs: send requests to the backend

2017-03-08 Thread Boris Ostrovsky
>> There is no extra read of prod/cons. > Yes, there are: just after this if statement we would have to read them > again to calculate masked_prod and masked_cons. Ah, of course. Thanks. -boris

Re: [PATCH v3] Input: sparse-keymap - use a managed allocation for keymap copy

2017-03-08 Thread Andy Shevchenko
On Wed, Mar 8, 2017 at 8:12 PM, Dmitry Torokhov wrote: > On Wed, Mar 08, 2017 at 09:22:17AM +0100, Michał Kępień wrote: >> Some platform drivers use devm_input_allocate_device() together with >> sparse_keymap_setup() in their .probe callbacks. While using the former >>

Re: [PATCH v3] Input: sparse-keymap - use a managed allocation for keymap copy

2017-03-08 Thread Dmitry Torokhov
On Wed, Mar 08, 2017 at 10:50:16PM +0200, Andy Shevchenko wrote: > On Wed, Mar 8, 2017 at 8:12 PM, Dmitry Torokhov > wrote: > > On Wed, Mar 08, 2017 at 09:22:17AM +0100, Michał Kępień wrote: > >> Some platform drivers use devm_input_allocate_device() together with > >>

[PATCH 2/2] MIPS: NI 169445 board support

2017-03-08 Thread Nathan Sullivan
Support the National Instruments 169445 board. Signed-off-by: Nathan Sullivan --- Documentation/devicetree/bindings/mips/ni.txt | 7 ++ MAINTAINERS | 8 ++ arch/mips/boot/dts/Makefile | 1 +

Re: [Question] devm_kmalloc() for DMA ?

2017-03-08 Thread Russell King - ARM Linux
On Wed, Mar 08, 2017 at 09:44:17PM +0100, Lars-Peter Clausen wrote: > On 03/08/2017 08:59 PM, Russell King - ARM Linux wrote: > > On Wed, Mar 08, 2017 at 08:48:31PM +0100, Lars-Peter Clausen wrote: > >> When the DMA memory is mapped for reading from the device the associated > >> cachelines are

Re: [PATCH 5/7] xen/9pfs: send requests to the backend

2017-03-08 Thread Stefano Stabellini
On Wed, 8 Mar 2017, Boris Ostrovsky wrote: > On 03/08/2017 02:33 PM, Stefano Stabellini wrote: > > On Wed, 8 Mar 2017, Boris Ostrovsky wrote: > > +} > > + > > +static int p9_xen_write_todo(struct xen_9pfs_dataring *ring, RING_IDX > > size) > > +{ > > + RING_IDX cons,

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-03-08 Thread Josh Poimboeuf
[adding Steven Rostedt to CC as an FYI] On Wed, Mar 08, 2017 at 10:25:01AM -0800, Linus Torvalds wrote: > On Wed, Mar 8, 2017 at 9:37 AM, Josh Poimboeuf wrote: > > - CONFIG_FUNCTION_GRAPH_TRACER sets it on x86-32 because of a gcc bug > > where the stack gets aligned before

[PATCH v3 02/09] iommu/ipmmu-vmsa: Add optional root device feature

2017-03-08 Thread Magnus Damm
From: Magnus Damm Add root device handling to the IPMMU driver by allowing certain DT compat strings to enable has_cache_leaf_nodes that in turn will support both root devices with interrupts and leaf devices that face the actual IPMMU consumer devices.

[Question] devm_kmalloc() for DMA ?

2017-03-08 Thread Masahiro Yamada
Hi experts, I have a question about how to allocate DMA-safe buffer. In my understanding, kmalloc() returns memory with DMA safe alignment in order to avoid cache-sharing problem when used for DMA. The alignment is decided by ARCH_DMA_MINALIGN. For example, on modern ARM 32bit boards, this

Re: About boot time Tux logo with -EPROBE_DEFER

2017-03-08 Thread Kuninori Morimoto
Hi Geert Thanks. I asked this because some maintainer doesn't accept the patch which exchanges xxx_initcall. But, I will try it with your Reviewed-by. > > I want to ask you about boot time Tux logo. > > > > For some reasons, current our video driver returns -EPROBE_DEFER when > > probe timing,

[PATCH -mm -v6 1/9] mm, swap: Make swap cluster size same of THP size on x86_64

2017-03-08 Thread Huang, Ying
From: Huang Ying In this patch, the size of the swap cluster is changed to that of the THP (Transparent Huge Page) on x86_64 architecture (512). This is for the THP swap support on x86_64. Where one swap cluster will be used to hold the contents of each THP swapped out.

Re: [PATCH v5 5/5] perf: powerpc: choose local entry point with kretprobes

2017-03-08 Thread Naveen N. Rao
On 2017/03/08 11:31AM, Masami Hiramatsu wrote: > On Wed, 8 Mar 2017 13:56:10 +0530 > "Naveen N. Rao" wrote: > > > perf now uses an offset from _text/_stext for kretprobes if the kernel > > supports it, rather than the actual function name. As such, let's choose

[PATCH] driver core: add devices to deferred probe list when unbinding consumers

2017-03-08 Thread Lucas Stach
When a device is unbound due to the provider of one of the resources going away, add it to the deferred probe list. This way the consumer device driver gets a chance to rebind itself if the provider is rebound later on. Signed-off-by: Lucas Stach --- drivers/base/base.h

Re: [PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on

2017-03-08 Thread Jon Hunter
On 08/03/17 11:38, Geert Uytterhoeven wrote: > Hi Jon, > > On Wed, Mar 8, 2017 at 11:13 AM, Jon Hunter wrote: >>> I had a similar issue with SH-Mobile AG5, where the power domain containing >>> the JTAG interface is powered down. >> >> This reminds me, does your patch

[PATCH v3 05/09] iommu/ipmmu-vmsa: IPMMU device is 40-bit bus master

2017-03-08 Thread Magnus Damm
From: Magnus Damm The r8a7795 IPMMU supports 40-bit bus mastering. Both the coherent DMA mask and the streaming DMA mask are set to unlock the 40-bit address space for coherent allocations and streaming operations. Signed-off-by: Magnus Damm

Re: [f2fs-dev] [PATCH 1/2] f2fs: don't need to invalidate wrong node page

2017-03-08 Thread Chao Yu
On 2017/3/7 5:51, Jaegeuk Kim wrote: > If f2fs_new_inode() is failed, the bad inode will invalidate 0'th node page > during f2fs_evict_inode(), which doesn't need to do. Hmm...should not allow other using of inode->i_ino in following codes of f2fs_evict_inode, right? Thanks, > > Signed-off-by:

[PATCH] zswap: Zero-filled pages handling

2017-03-08 Thread Srividya Desireddy
On Sat, Mar 4, 2017 at 02:55 AM, Dan Streetman wrote: > On Sat, Feb 25, 2017 at 12:18 PM, Sarbojit Ganguly > wrote: >> On 25 February 2017 at 20:12, Srividya Desireddy >> wrote: >>> From: Srividya Desireddy

Re: net: heap out-of-bounds in fib6_clean_node/rt6_fill_node/fib6_age/fib6_prune_clone

2017-03-08 Thread Dmitry Vyukov
On Tue, Mar 7, 2017 at 9:00 PM, Dmitry Vyukov wrote: > On Tue, Mar 7, 2017 at 8:30 PM, Dmitry Vyukov wrote: On 3/7/17 11:13 AM, Dmitry Vyukov wrote: >> on this warning: >> >> /* dst.next really should not be set at this point */ >> if

Re: [PATCH] pciehp: Fix race condition handling surprise link-down

2017-03-08 Thread Raj, Ashok
On Mon, Mar 06, 2017 at 06:24:17PM -0600, Bjorn Helgaas wrote: > On Fri, Feb 03, 2017 at 10:51:04AM -0600, Bjorn Helgaas wrote: > > Hi Ashok, > > Just a ping to make sure we're not deadlocked. I'm waiting for you, > so I hope you're not also waiting for me :) I'm not trying to rush you; > I

Re: [PATCH v3 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-08 Thread Neil Armstrong
On 03/07/2017 06:35 PM, Jose Abreu wrote: > Hi Neil, > > > On 07-03-2017 16:42, Neil Armstrong wrote: >> Some display pipelines can only provide non-RBG input pixels to the HDMI TX >> Controller, this patch takes the pixel format from the plat_data if provided. >> >> Signed-off-by: Neil

Re: [PATCH -next] soc: zte: pm_domains: Remove redundant dev_err call in zx2967_pd_probe()

2017-03-08 Thread Shawn Guo
On Mon, Feb 06, 2017 at 04:23:02PM +, Wei Yongjun wrote: > From: Wei Yongjun > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Signed-off-by: Wei Yongjun

Re: [PATCH v4 2/7] perf/sdt: Directly record SDT events with 'perf record'

2017-03-08 Thread Masami Hiramatsu
Hi Ravi, On Mon, 6 Mar 2017 18:42:59 +0530 Ravi Bangoria wrote: > diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c > index bc84a37..e87b19b 100644 > --- a/tools/perf/builtin-record.c > +++ b/tools/perf/builtin-record.c > @@ -39,6 +39,7 @@

Re: [PATCH 1/2] reset: add reset-simple to unify socfpga, stm32, and sunxi

2017-03-08 Thread Philipp Zabel
On Wed, 2017-03-08 at 12:05 +0100, Alexandre Torgue wrote: > Hi Philipp, > > On 03/08/2017 11:19 AM, Andre Przywara wrote: > > Hi, > > > > On 08/03/17 09:54, Philipp Zabel wrote: > >> Reset operations for simple reset controllers with reset lines that can > >> be controlled by toggling bits in

Re: [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver

2017-03-08 Thread Shawn Guo
On Mon, Feb 06, 2017 at 04:23:18PM +, Wei Yongjun wrote: > From: Wei Yongjun > > Remove .owner field if calls are used which set it automatically. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Wei Yongjun

Re: [PATCH v5 2/5] powerpc: kretprobes: override default function entry offset

2017-03-08 Thread Michael Ellerman
"Naveen N. Rao" writes: > With ABIv2, we offset 8 bytes into a function to get at the local entry > point. > > Acked-by: Ananth N Mavinakayanahalli > Acked-by: Michael Ellerman > Signed-off-by: Naveen N. Rao

[PATCH] x86/apic: Remove the SET_APIC_ID(x) macro

2017-03-08 Thread Dou Liyang
-remove the SET_APIC_ID(x) macro -simplify the call flow -add a comment Signed-off-by: Dou Liyang --- arch/x86/include/asm/apic.h | 7 +-- arch/x86/kernel/apic/apic.c | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git

[PATCH v3 1/7] PCI: dwc: designware: Add new *ops* for cpu addr fixup

2017-03-08 Thread Kishon Vijay Abraham I
Some platforms (like dra7xx) require only the least 28 bits of the corresponding 32 bit CPU address to be programmed in the address translation unit. This modified address is stored in io_base/mem_base/ cfg0_base/cfg1_base in dra7xx_pcie_host_init. While this is okay for host mode where the

Re: [PATCH 3/3] cpufreq: schedutil: remove redundant code from sugov_next_freq_shared()

2017-03-08 Thread Viresh Kumar
On 08-03-17, 11:50, Rafael J. Wysocki wrote: > So overall, maybe you can move the flags check to > sugov_update_shared(), so that you don't need to pass flags to > sugov_next_freq_shared(), and then do what you did to util and max. Just to confirm, below is what you are suggesting ?

Re: [Question] devm_kmalloc() for DMA ?

2017-03-08 Thread Robin Murphy
On 08/03/17 10:59, Masahiro Yamada wrote: > Hi experts, > > I have a question about > how to allocate DMA-safe buffer. > > > In my understanding, kmalloc() returns > memory with DMA safe alignment > in order to avoid cache-sharing problem when used for DMA. > > The alignment is decided by

[PATCH v3 06/09] iommu/ipmmu-vmsa: Write IMCTR twice

2017-03-08 Thread Magnus Damm
From: Magnus Damm Write IMCTR both in the root device and the leaf node. Signed-off-by: Magnus Damm --- Changes since V2: - None Changes since V1: - None drivers/iommu/ipmmu-vmsa.c | 17 ++--- 1 file changed, 14

Re: [PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor numbers for board device files"

2017-03-08 Thread Ian Abbott
On 08/03/17 10:08, Cheah Kok Cheong wrote: Dear Dan, Thanks for reviewing this patch. On Wed, Mar 08, 2017 at 08:54:47AM +0300, Dan Carpenter wrote: On Sun, Mar 05, 2017 at 03:22:33AM +0800, Cheah Kok Cheong wrote: If comedi module is loaded with the following max allowed parameter

[PATCH v1 2/2] x86/platform/intel-mid: Add support power button for Merrifield

2017-03-08 Thread Andy Shevchenko
Intel Merrifield platform has Basin Cove PMIC to handle in particular power button events. Add necessary bits here to enable it. Signed-off-by: Andy Shevchenko --- - it would be nice to have it in v4.11-rc2, v4.11-rc1 has all preparatory work done

Re: [PATCH 1/2] mm: Change generic FALLBACK zonelist creation process

2017-03-08 Thread John Hubbard
On 03/08/2017 01:21 AM, Anshuman Khandual wrote: Kernel allocation to CDM node has already been prevented by putting it's entire memory in ZONE_MOVABLE. But the CDM nodes must also be isolated from implicit allocations happening on the system. Any isolation seeking CDM node requires isolation

Re: [PATCH 0/1] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread John Hubbard
On 03/08/2017 01:48 AM, Greg Kroah-Hartman wrote: On Wed, Mar 08, 2017 at 01:25:48AM -0800, john.hubb...@gmail.com wrote: From: John Hubbard Hi, Say, I'm 99% sure that this was just an oversight, so I'm sticking my neck out here and floating a patch to Put Things Back.

Re: [PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on

2017-03-08 Thread Jon Hunter
Hi Peter, On 06/03/17 15:53, Geert Uytterhoeven wrote: > Hi Peter, > > On Mon, Mar 6, 2017 at 3:28 PM, Peter De Schrijver > wrote: >> On Mon, Mar 06, 2017 at 09:58:29AM +, Jon Hunter wrote: >>> On 06/03/17 08:38, Peter De Schrijver wrote: On Thu, Mar 02, 2017

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: > Hi, > > On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: >> >> Hi Kishon, >> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? >>> >>> Yes of course, I will send you the

Re: [PATCH v4] soc/imx: Add GPCv2 power gating driver

2017-03-08 Thread Shawn Guo
On Tue, Feb 28, 2017 at 04:09:16PM -0800, Andrey Smirnov wrote: > Add code allowing for control of various power domains managed by GPCv2 GPCv2, is it the name used in i.MX7 SoC manual? > IP block found in i.MX7 series of SoCs. Power domains covered by this > patch are: > > - PCIE PHY >

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Kishon Vijay Abraham I
Hi, On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: > > Hi Kishon, > >>> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >>> PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? >> >> Yes of course, I will send you the definition soon. > > As promissed here is the definition for Inbound: > >

Re: [PATCH] mm: drop "wait" parameter from write_one_page

2017-03-08 Thread Jeff Layton
On Wed, 2017-03-08 at 00:34 -0800, John Hubbard wrote: > On 03/05/2017 05:23 AM, Jeff Layton wrote: > > The callers all have it set to 1 anyway. Also, make it clear that this > > function will not set any sort of AS_* error, and that the caller must > > do so if necessary. > > Hi Jeff, > > Silly

Re: [PATCH v2 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type

2017-03-08 Thread Ian Abbott
On 07/03/17 18:13, Cheah Kok Cheong wrote: Change to unsigned to allow removal of negative value check in init section. Use smaller data type since the max possible value currently is 48. Signed-off-by: Cheah Kok Cheong --- V2: -No changes.

Re: [tip:x86/asm] x86/asm: Optimize clear_page()

2017-03-08 Thread Ingo Molnar
* Yinghai Lu wrote: > On Mon, Mar 6, 2017 at 11:30 PM, Ingo Molnar wrote: > > > > * Yinghai Lu wrote: > > > >> On Wed, Mar 1, 2017 at 1:47 AM, tip-bot for Borislav Petkov > >> wrote: > >> > Commit-ID:

Re: counting file descriptors with a cgroup controller

2017-03-08 Thread Krzysztof Opasiak
On 03/07/2017 09:48 PM, Tejun Heo wrote: Hello, On Tue, Mar 07, 2017 at 09:06:49PM +0100, Krzysztof Opasiak wrote: Personally, I don't want to use rlimit for this as it ends up returning error code from for example open() when we hit the limit. This may lead to some unpredictable crashes in

Re: [PATCH RESEND^2] usb: gadget: udc: atmel: fix debug output

2017-03-08 Thread Felipe Balbi
Hi, Arnd Bergmann writes: > The debug output now contains the wrong variable, as seen from the compiler > warning: > > drivers/usb/gadget/udc/atmel_usba_udc.c: In function 'usba_ep_enable': > drivers/usb/gadget/udc/atmel_usba_udc.c:632:550: error: 'ept_cfg' may be used >

Re: [PATCH V3 0/4] Define coherent device memory node

2017-03-08 Thread Anshuman Khandual
On 03/01/2017 04:29 PM, Balbir Singh wrote: > On Wed, Mar 1, 2017 at 8:55 PM, Mel Gorman wrote: >> On Wed, Mar 01, 2017 at 01:42:40PM +1100, Balbir Singh wrote: >> The idea of this patchset was to introduce >> the concept of memory that is not necessarily system memory,

[PATCH] f2fs: don't allow rename unencrypted file to encrypted directory

2017-03-08 Thread Chao Yu
In commit d9cdc9033181 ("ext4 crypto: enforce context consistency") we declared that: 2) All files or directories in a directory must be protected using the same key as their containing directory. But in f2fs_cross_rename there is a vulnerability that allow to cross rename unencrypted file

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

2017-03-08 Thread Daniel Vetter
On Wed, Mar 08, 2017 at 12:16:45PM +1100, Stephen Rothwell wrote: > Hi Paul, > > After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > In file included from include/linux/resource_ext.h:19:0, > from include/linux/pci.h:32, >

[PATCH v3] f2fs: combine nat_bits and free_nid_bitmap cache

2017-03-08 Thread Chao Yu
Both nat_bits cache and free_nid_bitmap cache provide same functionality as a intermediate cache between free nid cache and disk, but with different granularity of indicating free nid range, and different persistence policy. nat_bits cache provides better persistence ability, and free_nid_bitmap

Re: [lkp-robot] [locking/ww_mutex] 857811a371: INFO:task_blocked_for_more_than#seconds

2017-03-08 Thread Chris Wilson
On Wed, Mar 08, 2017 at 09:08:54AM +0800, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: 857811a37129f5d2ba162d7be3986eff44724014 ("locking/ww_mutex: Adjust > the lock number for stress test") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git

Re: [PATCH v4 3/7] mmc: bcm2835: add sdhost controller to devicetree

2017-03-08 Thread Stefan Wahren
Am 08.03.2017 um 10:19 schrieb Gerd Hoffmann: Signed-off-by: Gerd Hoffmann Acked-by: Eric Anholt Acked-by: Stefan Wahren --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 6 ++ arch/arm/boot/dts/bcm283x.dtsi | 10 ++

Re: [PATCH 0/1] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread John Hubbard
On 03/08/2017 02:12 AM, Greg Kroah-Hartman wrote: On Wed, Mar 08, 2017 at 01:59:33AM -0800, John Hubbard wrote: On 03/08/2017 01:48 AM, Greg Kroah-Hartman wrote: On Wed, Mar 08, 2017 at 01:25:48AM -0800, john.hubb...@gmail.com wrote: From: John Hubbard Hi, Say, I'm

[RFC PATCH, -v2] sched/wait: Introduce new, more compact wait_event*() primitives

2017-03-08 Thread Ingo Molnar
* Ingo Molnar wrote: > + if (___wait_is_interruptible(0) && wes->ret) { So that line is dumb and bogus, it should be: if (___wait_is_interruptible(TASK_UNINTERRUPTIBLE) && wes->ret) { ... which in the final version will be passed in parametrically within wait.c

Re: [PATCH v3 01/09] iommu/ipmmu-vmsa: Introduce features, break out alias

2017-03-08 Thread Robin Murphy
Hi Magnus, On 08/03/17 11:01, Magnus Damm wrote: > From: Magnus Damm > > Introduce struct ipmmu_features to track various hardware > and software implementation changes inside the driver for > different kinds of IPMMU hardware. Add use_ns_alias_offset > as a first

Re: [PATCH] livepatch: make klp_mutex proper part of API

2017-03-08 Thread Miroslav Benes
On Wed, 8 Mar 2017, Jiri Kosina wrote: > From: Jiri Kosina > > klp_mutex is shared between core.c and transition.c, and as such would > rather be properly located in livepatch.h so that we don't have to play > 'extern' games from .c sources. > > This also silences sparse

[PATCH v2 1/2] net: sched: make default fifo qdiscs appear in the dump

2017-03-08 Thread Jiri Kosina
From: Jiri Kosina The original reason [1] for having hidden qdiscs (potential scalability issues in qdisc_match_from_root() with single linked list in case of large amount of qdiscs) has been invalidated by 59cc1f61f0 ("net: sched: convert qdisc linked list to hashtable"). This

Re: [PATCH v4 1/7] drm: Add DRM support for tiny LCD displays

2017-03-08 Thread Noralf Trønnes
Den 07.03.2017 23.21, skrev Daniel Vetter: On Sat, Feb 11, 2017 at 07:48:52PM +0100, Noralf Trønnes wrote: +const struct file_operations tinydrm_fops = { + .owner = THIS_MODULE, + .open = drm_open, + .release= drm_release, + .unlocked_ioctl =

[PATCH v2 2/2] iproute2: add support for invisible qdisc dumping

2017-03-08 Thread Jiri Kosina
From: Jiri Kosina Support the new TCA_DUMP_INVISIBLE netlink attribute that allows asking kernel to perform 'full qdisc dump', as for historical reasons some of the default qdiscs are being hidden by the kernel. The command syntax is being extended by voluntary 'invisible'

Re: [Xen-devel] [PATCH 4/7] xen/9pfs: connect to the backend

2017-03-08 Thread Julien Grall
Hi Stefano, On 08/03/17 00:49, Stefano Stabellini wrote: On Tue, 7 Mar 2017, Julien Grall wrote: On 03/06/2017 08:01 PM, Stefano Stabellini wrote: + if (ring->bytes == NULL) + goto error; + for (i = 0; i < (1 << XEN_9PFS_RING_ORDER); i++) +

[PATCH] phy: phy-exynos-pcie: fix the wrong error return

2017-03-08 Thread Jaehoon Chung
When it doesn't get the blk_base's resource, it was returned the error about phy_base, not blk_base. This patch is for fixing the wrong error return about blk_base. Fixes: cf0adb8e281b ("phy: phy-exynos-pcie: Add support for Exynos PCIe PHY") Signed-off-by: Jaehoon Chung

Re: [PATCH] MAINTAINERS: Remove self from Tegra maintainers

2017-03-08 Thread Thierry Reding
On Mon, Mar 06, 2017 at 03:11:34PM +0900, Alexandre Courbot wrote: > I have not been doing any Tegra maintainance work for a while, and this > is unlikely to change in the foreseeable future. Better reflect the > actual state of things by removing myself from the list. > > Signed-off-by:

[PATCH 02/26] IB/ocrdma: Use kcalloc() in ocrdma_mbx_alloc_pd_range()

2017-03-08 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 7 Mar 2017 18:23:54 +0100 * Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by

Re: [PATCH V3 0/4] megachips-stdpxxxx-ge-b850v3-fw

2017-03-08 Thread Lucas Stach
Am Mittwoch, den 08.03.2017, 10:42 +0100 schrieb Peter Senna Tschudin: > On Mon, Mar 06, 2017 at 03:27:16PM +0530, Archit Taneja wrote: > Hi Archit, > > > Hi, > > > > On 3/3/2017 9:27 PM, Peter Senna Tschudin wrote: > > > The video processing pipeline on the second output on the GE B850v3: > > >

[PATCH v3 03/09] iommu/ipmmu-vmsa: Enable multi context support

2017-03-08 Thread Magnus Damm
From: Magnus Damm Add support for up to 8 contexts. Each context is mapped to one domain. One domain is assigned one or more slave devices. Contexts are allocated dynamically and slave devices are grouped together based on which IPMMU device they are connected to.

[PATCH v3 09/09] iommu/ipmmu-vmsa: Hook up r8a7795 DT matching code

2017-03-08 Thread Magnus Damm
From: Magnus Damm Tie in r8a7795 features and update the IOMMU_OF_DECLARE compat string to include the updated compat string. TODO: - Consider making use of iommu_fwspec_add_ids() for uTLB handling Needed to coexist with non-OF R-Car Gen2 somehow... - Break

[PATCH v3 07/09] iommu/ipmmu-vmsa: Make IMBUSCTR setup optional

2017-03-08 Thread Magnus Damm
From: Magnus Damm Introduce a feature to allow opt-out of setting up IMBUSCR. The default case is unchanged. Signed-off-by: Magnus Damm --- Changes since V2: - None Changes since V1: - Updated the commit message - Reworked patch to

[PATCH v3 08/09] iommu/ipmmu-vmsa: Allow two bit SL0

2017-03-08 Thread Magnus Damm
From: Magnus Damm Introduce support for two bit SL0 bitfield in IMTTBCR by using a separate feature flag. Signed-off-by: Magnus Damm --- Changes since V2: - None Changes since V1: - None drivers/iommu/ipmmu-vmsa.c | 15

[PATCH] staging: android: ashmem: lseek failed due to no FMODE_LSEEK.

2017-03-08 Thread zhangshuxiaomi
From: zhangshuxiao vfs_llseek will check whether the file mode has FMODE_LSEEK, no return failure. But ashmem can be lseek, so add FMODE_LSEEK to ashmem file. Signed-off-by: zhangshuxiao --- drivers/staging/android/ashmem.c | 1 + 1 file

Re: [REGRESSION] Two issues that prevent process accounting (taskstats) from working correctly

2017-03-08 Thread Richard Genoud
Cc += Al Viro 2017-02-12 16:44 GMT+01:00 Dmitry Romanov : > On Mon, Dec 19, 2016 at 01:06:00PM +0100, Martin Steigerwald wrote: >> >> 1) Sometimes process accounting does not work at all. >> >> The acct() system call (to activate process accounting) return value 0, >> which

Re: [RFC PATCH 3/4] xfs: map KM_MAYFAIL to __GFP_RETRY_MAYFAIL

2017-03-08 Thread Tetsuo Handa
On 2017/03/08 0:48, Michal Hocko wrote: > From: Michal Hocko > > KM_MAYFAIL didn't have any suitable GFP_FOO counterpart until recently > so it relied on the default page allocator behavior for the given set > of flags. This means that small allocations actually never failed. >

[PATCH 3/5] fs, xfs: convert xlog_ticket.t_ref from atomic_t to refcount_t

2017-03-08 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by:

[PATCH v3 04/09] iommu/ipmmu-vmsa: Make use of IOMMU_OF_DECLARE()

2017-03-08 Thread Magnus Damm
From: Magnus Damm Hook up IOMMU_OF_DECLARE() support in case CONFIG_IOMMU_DMA is enabled. The only current supported case for 32-bit ARM is disabled, however for 64-bit ARM usage of OF is required. Signed-off-by: Magnus Damm --- Changes

Re: [PATCH v2] f2fs: combine nat_bits and free_nid_bitmap cache

2017-03-08 Thread Chao Yu
Hi Jaegeuk, On 2017/3/8 6:27, Jaegeuk Kim wrote: > Hi Chao, > > There were two reasons for slow down; one is set_bit_le and the other was > spin_lock calls. > > I think it would'b good to merge this patch in yours as well. > Let me know. I'm ready to integrate together and test them. The

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Hi Kishon, >> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >> PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? > > Yes of course, I will send you the definition soon. As promissed here is the definition for Inbound: +/* register address builder */ +#define

[PATCH 1/2] mm: Change generic FALLBACK zonelist creation process

2017-03-08 Thread Anshuman Khandual
Kernel allocation to CDM node has already been prevented by putting it's entire memory in ZONE_MOVABLE. But the CDM nodes must also be isolated from implicit allocations happening on the system. Any isolation seeking CDM node requires isolation from implicit memory allocations from user space but

Re: [PATCH -mm -v6 2/9] mm, memcg: Support to charge/uncharge multiple swap entries

2017-03-08 Thread Balbir Singh
On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: > From: Huang Ying >  > This patch make it possible to charge or uncharge a set of continuous > swap entries in the swap cgroup.  The number of swap entries is > specified via an added parameter. >  > This will be used

[PATCH v1 1/2] x86/platform/intel-mid: Use common power off sequence

2017-03-08 Thread Andy Shevchenko
Intel Medfield may use common for Intel MID devices power sequence. Remove unneded custom power off stub. While here, remove function forward declaration. Signed-off-by: Andy Shevchenko --- arch/x86/platform/intel-mid/mfld.c | 15 --- 1 file

Re: [Xen-devel] [PATCH 1/7] xen: import new ring macros in ring.h

2017-03-08 Thread Julien Grall
Hi Stefano, On 08/03/17 00:12, Stefano Stabellini wrote: On Tue, 7 Mar 2017, Julien Grall wrote: Hi Stefano, On 03/06/2017 08:01 PM, Stefano Stabellini wrote: Sync the ring.h file with upstream Xen, to introduce the new ring macros. They will be used by the Xen transport for 9pfs.

Re: [PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on

2017-03-08 Thread Geert Uytterhoeven
Hi Jon, On Wed, Mar 8, 2017 at 11:13 AM, Jon Hunter wrote: >> I had a similar issue with SH-Mobile AG5, where the power domain containing >> the JTAG interface is powered down. > > This reminds me, does your patch assume that the DFD power domain is > enabled? I am guessing

[PATCH] serial: 8250: 8250_core: Use dev_name() during request_irq()

2017-03-08 Thread Vignesh R
Passing "serial" as name during request_irq() results in all serial port irqs have same name. This does not help much to easily identify which irq belongs to which serial port instance. Therefore pass dev_name() during request_irq() so that better identifiable name is listed for serial ports in

Re: [f2fs-dev] [PATCH 2/2] f2fs: don't overwrite node block by SSR

2017-03-08 Thread Chao Yu
On 2017/3/7 5:51, Jaegeuk Kim wrote: > This patch fixes that SSR can overwrite previous warm node block consisting of > a node chain since the last checkpoint. Good catch! Need to consider the impact to other accesser, e.g. is_checkpointed_data, add_discard_addrs? Thanks, > > Fixes:

[PATCH] platform/x86: dell-laptop: Handle return error form dell_get_intensity.

2017-03-08 Thread Arvind Yadav
Here, dell_get_intensity can return an error. So we can assgine props.brightness as max_brightness. This change is done using Coccinelle. Signed-off-by: Arvind Yadav --- drivers/platform/x86/dell-laptop.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH v3 06/09] iommu/ipmmu-vmsa: Write IMCTR twice

2017-03-08 Thread Robin Murphy
On 08/03/17 11:02, Magnus Damm wrote: > From: Magnus Damm > > Write IMCTR both in the root device and the leaf node. > > Signed-off-by: Magnus Damm > --- > > Changes since V2: > - None > > Changes since V1: > - None > >

Re: [PATCH] serial: 8250: 8250_core: Use dev_name() during request_irq()

2017-03-08 Thread Greg Kroah-Hartman
On Wed, Mar 08, 2017 at 05:49:43PM +0530, Vignesh R wrote: > Passing "serial" as name during request_irq() results in all serial port > irqs have same name. This does not help much to easily identify which > irq belongs to which serial port instance. Therefore pass dev_name() > during

Re: kasan behavior when built with unsupported compiler

2017-03-08 Thread Dmitry Vyukov
On Wed, Mar 8, 2017 at 9:10 AM, Nikolay Borisov wrote: > > > On 7.03.2017 17:54, Dmitry Vyukov wrote: >> On Tue, Mar 7, 2017 at 4:35 PM, Nikolay Borisov >> wrote: >>> Hello, >>> >>> I've been chasing a particular UAF as reported by kasan >>>

Re: counting file descriptors with a cgroup controller

2017-03-08 Thread Tejun Heo
Hello, On Tue, Mar 07, 2017 at 09:06:49PM +0100, Krzysztof Opasiak wrote: > Personally, I don't want to use rlimit for this as it ends up returning > error code from for example open() when we hit the limit. This may lead to > some unpredictable crashes in services (esp. those poor proprietary

Re: [PATCH v2 1/2] net: sched: make default fifo qdiscs appear in the dump

2017-03-08 Thread Jiri Pirko
Wed, Mar 08, 2017 at 01:03:42PM CET, ji...@kernel.org wrote: >From: Jiri Kosina > >The original reason [1] for having hidden qdiscs (potential scalability >issues in qdisc_match_from_root() with single linked list in case of large >amount of qdiscs) has been invalidated by

Re: Kernel without RTC

2017-03-08 Thread Hadimani, Jagadish
Hello Alexandre, I guess the Linux kernel uses HPET timer... But can we can force Linux kernel to use Tsc or per core timer... Sent from my iPhone > On 8 Mar 2017, at 6:47 PM, Alexandre Belloni > wrote: > > Hi, > >> On 07/03/2017 at 00:48:18 +0530,

Re: [PATCH 11/26] IB/ocrdma: Delete unnecessary braces

2017-03-08 Thread Devesh Sharma
On Wed, Mar 8, 2017 at 6:34 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 7 Mar 2017 21:12:56 +0100 > > Do not use curly brackets at some source code places > where a single statement should be sufficient. > >

Re: [PATCH v2 06/21] x86/xen: split off enlighten_pv.c

2017-03-08 Thread Juergen Gross
On 02/03/17 18:53, Vitaly Kuznetsov wrote: > Basically, enlighten.c is renamed to enlighten_pv.c and some code moved > out to common enlighten.c. > > Signed-off-by: Vitaly Kuznetsov Reviewed-by: Juergen Gross Juergen

Re: [RFC PATCH v4 28/28] x86: Add support to make use of Secure Memory Encryption

2017-03-08 Thread Borislav Petkov
On Tue, Mar 07, 2017 at 10:05:00AM -0600, Tom Lendacky wrote: > > And then you need to correct the function signature in the > > !CONFIG_AMD_MEM_ENCRYPT case, at the end of this file, too: > > > > unsigned long __init sme_enable(struct boot_params *bp) { > > return 0; } > > Yup,

[PATCH v3 3/3] Input: add a PS/2 to SMBus platform module

2017-03-08 Thread Benjamin Tissoires
This driver is a glue between PS/2 devices that enumerate the RMI4 devices and Elan touchpads to the RMI4 (or Elan) SMBus driver. We use an intermediate platform device to not add a dependency between psmouse and I2C. It also handles the subtleties of going around the serio mutex lock by

Re: [PATCH 21/26] IB/ocrdma: Improve another size determination in ocrdma_create_srq()

2017-03-08 Thread Devesh Sharma
Acked-By: Devesh Sharma On Wed, Mar 8, 2017 at 6:54 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 8 Mar 2017 10:10:50 +0100 > > Replace the specification of a data type by a pointer

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