Re: [PATCH] mm: larger stack guard gap, between vmas

2017-06-22 Thread Willy Tarreau
On Thu, Jun 22, 2017 at 01:58:11PM +0100, Ben Hutchings wrote: > On Thu, 2017-06-22 at 14:46 +0200, Willy Tarreau wrote: > > On Thu, Jun 22, 2017 at 01:30:45PM +0100, Ben Hutchings wrote: > > > Here's my attempt at a backport to 3.2.  This is only tested on > > > x86_64 and I think I should

Re: [PATCH 0/2] x86/idle: add halt poll support

2017-06-22 Thread Yang Zhang
On 2017/6/22 19:22, root wrote: From: Yang Zhang Sorry to use wrong username to send patch because i am using a new machine which don't setup the git config well. Some latency-intensive workload will see obviously performance drop when running inside VM. The main

Re: [tpmdd-devel] [PATCH v3 1/6] tpm: use tpm_buf functions to perform a PCR read

2017-06-22 Thread Roberto Sassu
On 6/22/2017 12:14 PM, Jarkko Sakkinen wrote: On Wed, Jun 21, 2017 at 04:29:36PM +0200, Roberto Sassu wrote: tpm2_pcr_read() now uses tpm_buf functions to build the TPM command to read a PCR. Those functions are preferred to passing a tpm2_cmd structure, as they provide protection against

Re: [PATCH v2 2/5] dt-bindings: scsi: ufs: add document for hi3660-ufs

2017-06-22 Thread Bu Tao
在 2017/6/22 19:51, Arnd Bergmann 写道: On Thu, Jun 22, 2017 at 1:44 PM, Bu Tao wrote: 在 2017/6/17 5:51, Arnd Bergmann 写道: On Fri, Jun 16, 2017 at 8:51 AM, Bu Tao wrote: +Optional properties for board device: +- ufs-hi3660-use-rate-B:

[PATCH v6 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-06-22 Thread Ding Tianhong
The PCIe Device Control Register use the bit 4 to indicate that whether the device is permitted to enable relaxed ordering or not. But relaxed ordering is not safe for some platform which could only use strong write ordering, so devices are allowed (but not required) to enable relaxed ordering bit

Re: [PATCH v2 2/5] dt-bindings: scsi: ufs: add document for hi3660-ufs

2017-06-22 Thread Arnd Bergmann
On Thu, Jun 22, 2017 at 1:58 PM, Bu Tao wrote: > 在 2017/6/22 19:51, Arnd Bergmann 写道: >> On Thu, Jun 22, 2017 at 1:44 PM, Bu Tao wrote: >>> 在 2017/6/17 5:51, Arnd Bergmann 写道: On Fri, Jun 16, 2017 at 8:51 AM, Bu Tao wrote: >>> >>> I

Re: [PATCH v3 11/11] x86/mm: Try to preserve old TLB entries using PCID

2017-06-22 Thread Thomas Gleixner
On Wed, 21 Jun 2017, Andy Lutomirski wrote: > On Wed, Jun 21, 2017 at 6:38 AM, Thomas Gleixner wrote: > > That requires a conditional branch > > > > if (asid >= NR_DYNAMIC_ASIDS) { > > asid = 0; > > > > } > > > > The

Re: [PATCH] block: rbd: constify rbd_attr_group and rbd_opts_tokens

2017-06-22 Thread Joe Perches
On Thu, 2017-06-22 at 17:34 +0530, Arvind Yadav wrote: > File size before: >text data bss dec hex filename > 43100 2161 64 45325b10d drivers/block/rbd.o > > File size After adding 'const': >text data bss dec hex filename >

[PATCH 3/5] x86/mpx: Do not allow MPX if we have mappings above 47-bit

2017-06-22 Thread Kirill A. Shutemov
MPX (without MAWA extension) cannot handle addresses above 47-bit, so we need to make sure that MPX cannot be enabled if we already have VMA above the boundary and forbid creating such VMAs once MPX is enabled. The patch implements mpx_unmapped_area_check() which is called from all variants of

[PATCH v9 2/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74

2017-06-22 Thread Geetha sowjanya
From: Linu Cherian Cavium ThunderX2 SMMU implementation doesn't support page 1 register space and PAGE0_REGS_ONLY option is enabled as an errata workaround. This option when turned on, replaces all page 1 offsets used for EVTQ_PROD/CONS, PRIQ_PROD/CONS register access

[PATCH 4/5] x86/mm: Prepare to expose larger address space to userspace

2017-06-22 Thread Kirill A. Shutemov
On x86, 5-level paging enables 56-bit userspace virtual address space. Not all user space is ready to handle wide addresses. It's known that at least some JIT compilers use higher bits in pointers to encode their information. It collides with valid pointers with 5-level paging and leads to

Re: [PATCH 2/2] ARM: cpuidle: Support asymmetric idle definition

2017-06-22 Thread Daniel Lezcano
On 12/06/2017 20:49, Rafael J. Wysocki wrote: > On Monday, June 12, 2017 05:55:10 PM Daniel Lezcano wrote: >> Some hardware have clusters with different idle states. The current code does >> not support this and fails as it expects all the idle states to be identical. >> >> Because of this, the

[PATCH v9 1/3] ACPI/IORT: Fixup SMMUv3 resource size for Cavium ThunderX2 SMMUv3 model

2017-06-22 Thread Geetha sowjanya
From: Linu Cherian Cavium ThunderX2 implementation doesn't support second page in SMMU register space. Hence, resource size is set as 64k for this model. Signed-off-by: Linu Cherian Signed-off-by: Geetha Sowjanya

[PATCH v9 3/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126

2017-06-22 Thread Geetha sowjanya
From: Geetha Sowjanya Cavium ThunderX2 SMMU doesn't support MSI and also doesn't have unique irq lines for gerror, eventq and cmdq-sync. New named irq "combined" is set as a errata workaround, which allows to share the irq line by register single irq handler for

[PATCH 2/5] x86/mm: Rename tasksize_32bit/64bit to task_size_32bit/64bit

2017-06-22 Thread Kirill A. Shutemov
Rename these helpers to be consistent with spelling of TASK_SIZE and related constants. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/elf.h | 4 ++-- arch/x86/kernel/sys_x86_64.c | 2 +- arch/x86/mm/hugetlbpage.c| 2 +- arch/x86/mm/mmap.c

[PATCH 1/5] x86: Enable 5-level paging support

2017-06-22 Thread Kirill A. Shutemov
Most of things are in place and we can enable support of 5-level paging. The patch makes XEN_PV dependent on !X86_5LEVEL. XEN_PV is not ready to work with 5-level paging. Signed-off-by: Kirill A. Shutemov Reviewed-by: Juergen Gross ---

Re: [PATCH 1/7] drm/bridge: Support hotplugging panel-bridge.

2017-06-22 Thread Boris Brezillon
On Thu, 22 Jun 2017 14:29:07 +0200 Andrzej Hajda wrote: > On 22.06.2017 11:23, Boris Brezillon wrote: > > On Thu, 22 Jun 2017 13:47:43 +0530 > > Archit Taneja wrote: > > > >> On 06/22/2017 01:20 PM, Benjamin Gaignard wrote: > >>> 2017-06-20 19:31

Re: [PATCH v5 1/7] dma: Take into account dma_pfn_offset

2017-06-22 Thread Vladimir Murzin
On 20/06/17 14:24, Christoph Hellwig wrote: >> -sg_dma_address(sg) = (dma_addr_t)virt_to_phys(va); >> +sg_dma_address(sg) = (dma_addr_t)(virt_to_phys(va) - >> PFN_PHYS(dev->dma_pfn_offset)); > > Needs a line break instead of the overly long line. Will do. > > Otherwise

Re: [PATCH v5] HID: Add driver for Retrode2 joypad adapter

2017-06-22 Thread Jiri Kosina
On Tue, 20 Jun 2017, Bastien Nocera wrote: > This driver does 2 things: > - Apply the MULTI_INPUT quirk to create separate joypad device nodes >for each one of the 4 connectors. > - Rename the input devices so that their names are different, and allow >users to recognise which device

Re: [PATCH v5 2/7] dma: Add simple dma_noop_mmap

2017-06-22 Thread Vladimir Murzin
On 20/06/17 14:23, Christoph Hellwig wrote: > On Wed, May 24, 2017 at 11:24:27AM +0100, Vladimir Murzin wrote: >> This patch adds a simple implementation of mmap to dma_noop_ops. > > Currently we use dma_common_mmap as the generic fallback if a dma_ops > instance doesn't implement a mmap method.

[PATCH] scripts/dtc: dtx_diff - Show real file names in diff header

2017-06-22 Thread Geert Uytterhoeven
As the comparison uses process substitution to pass files after conversion to DTS format, the diff header doesn't show the real filenames, but the names of the file descriptors used: --- /dev/fd/63 2017-06-22 11:21:47.531637188 +0200 +++ /dev/fd/62 2017-06-22 11:21:47.531637188 +0200

Re: [PATCH] ASoC: es8316: add I2C dependency

2017-06-22 Thread Daniel Drake
On Wed, Jun 21, 2017 at 4:09 PM, Arnd Bergmann wrote: > Without CONFIG_I2C, we get a build failure: > > sound/soc/codecs/es8316.c:633:1: error: data definition has no type or > storage class [-Werror] > sound/soc/codecs/es8316.c:633:1: error: type defaults to 'int' in declaration

Re: [PATCH v5 4/7] drivers: dma-coherent: Introduce default DMA pool

2017-06-22 Thread Vladimir Murzin
On 20/06/17 14:49, Christoph Hellwig wrote: > On Wed, May 24, 2017 at 11:24:29AM +0100, Vladimir Murzin wrote: >> This patch introduces default coherent DMA pool similar to default CMA >> area concept. To keep other users safe code kept under CONFIG_ARM. > > I don't see a CONFIG_ARM in the code,

[PATCH 1/5 v2] Extend the request_region() infrastructure

2017-06-22 Thread Zoltán Böszörményi
Add a new IORESOURCE_ALLOCATED flag that is automatically used when alloc_resource() is used internally in kernel/resource.c and free_resource() now takes this flag into account. The core of __request_region() was factored out into a new function called __request_declared_region() that needs

[PATCH 2/5 v2] Modify behaviour of request_*muxed_region()

2017-06-22 Thread Zoltán Böszörményi
In order to make request_*muxed_region() behave more like mutex_lock(), a possible failure case needs to be eliminated. When drivers do not properly share the same I/O region, e.g. one is using request_region() and the other is using request_muxed_region(), the kernel didn't warn the user about

[PATCH 4/5 v4] i2c: i2c-piix4: Use request_declared_muxed_region()

2017-06-22 Thread Zoltán Böszörményi
Use the new request_declared_muxed_region() macro to synchronize access to the I/O port pair 0xcd6 / 0xcd7. At the same time, remove the long lifetime request_region() call to reserve these I/O ports, so the sp5100_tco watchdog driver can also load. This fixes an old regression in Linux 4.4-rc4,

[PATCH 3/5 v4] usb: pci-quirks: Protect the I/O port pair of SB800

2017-06-22 Thread Zoltán Böszörményi
This patch uses the previously introduced macro called request_declared_muxed_region() to synchronize access to the I/O port pair 0xcd6 / 0xcd7 on SB800. These I/O ports are also used by i2c-piix4 and sp5100_tco, so synchronization is necessary. The other drivers will also be modified to use the

[PATCH 0/5 v4] Fix sp5100_tco watchdog driver regression

2017-06-22 Thread Zoltán Böszörményi
This patch series fixes a regression introduced by: commit 2fee61d22e606fc99ade9079fda15fdee83ec33e Author: Christian Fetzer Date: Thu Nov 19 20:13:48 2015 +0100 i2c: piix4: Add support for multiplexed main adapter in SB800 The regression caused sp5100_tco fail to

[PATCH 5/5 v4] watchdog: sp5100_tco: Use request_declared_muxed_region()

2017-06-22 Thread Zoltán Böszörményi
Use the new request_declared_muxed_region() macro to synchronize accesses to the SB800 I/O port pair (0xcd6 / 0xcd7) with the PCI quirk for isochronous USB transfers and with the i2c-piix4 driver. At the same time, remove the long lifetime request_region() call to reserve these I/O ports,

[PATCH] PM / CPU: constify *_attribute_group.

2017-06-22 Thread Arvind Yadav
File size before: textdata bss dec hex filename 2280 776 43060 bf4 drivers/base/cpu.o File size After adding 'const': textdata bss dec hex filename 2384 648 43036 bdc drivers/base/cpu.o Signed-off-by: Arvind Yadav

Re: [PATCH 0/2] x86/idle: add halt poll support

2017-06-22 Thread Wanpeng Li
2017-06-22 19:22 GMT+08:00 root : > From: Yang Zhang > > Some latency-intensive workload will see obviously performance > drop when running inside VM. The main reason is that the overhead > is amplified when running inside VM. The most cost i have

[PATCH] block: rbd: constify rbd_attr_group and rbd_opts_tokens

2017-06-22 Thread Arvind Yadav
File size before: textdata bss dec hex filename 431002161 64 45325b10d drivers/block/rbd.o File size After adding 'const': textdata bss dec hex filename 432921969 64 45325b10d drivers/block/rbd.o Signed-off-by: Arvind Yadav

[PATCH v6 4/4] remoteproc: qcom: Add support for mss remoteproc on msm8996

2017-06-22 Thread Avaneesh Kumar Dwivedi
This patch add support for mss boot on msm8996. Major changes include initializing mss rproc for msm8996, making appropriate change for executing mss reset sequence etc. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 +

[PATCH v6 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-06-22 Thread Avaneesh Kumar Dwivedi
This patch refactor code to first load all firmware blobs and then update modem proc to authenticate and boot fw. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-)

[PATCH v6 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-22 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi

Re: rtc: ds3232: add temperature support

2017-06-22 Thread Kirill Esipov
2017-06-22 1:24 GMT+03:00 Guenter Roeck : > On Wed, Jun 21, 2017 at 05:49:43PM +0300, Kirill Esipov wrote: >> DS3232/DS3234 has the temperature registers with a resolution of >> 0.25 degree celsius. This enables to get the value through hwmon. >> >> # cat

[PATCH] block: cciss: constify cciss_host_attr_group and cciss_dev_attr_group

2017-06-22 Thread Arvind Yadav
File size before: textdata bss dec hex filename 409111432 304 42647a697 drivers/block/cciss.o File size After adding 'const': textdata bss dec hex filename 410391304 304 42647a697 drivers/block/cciss.o Signed-off-by: Arvind

Re: [PATCH] powerpc: Only obtain cpu_hotplug_lock if called by rtasd

2017-06-22 Thread Thomas Gleixner
On Wed, 21 Jun 2017, Thiago Jung Bauermann wrote: > Michael Ellerman writes: > >> Notes: > >> This patch applies on tip/smp/hotplug, it should probably be carried > >> there. > > > > stop_machine_cpuslocked() doesn't exist in mainline so I think it has to > > be carried

Re: [PATCH] mm: larger stack guard gap, between vmas

2017-06-22 Thread Ben Hutchings
Here's my attempt at a backport to 3.2. This is only tested on x86_64 and I think I should introduce local variables for vma_start_gap() in a few places. I had to cherry-pick commit 09884964335e "mm: do not grow the stack vma just because of an overrun on preceding vma" before this one (which

[PATCH] crypto: qat - avoid an uninitialized variable warning

2017-06-22 Thread Arnd Bergmann
After commit 9e442aa6a753 ("x86: remove DMA_ERROR_CODE"), the inlining decisions in the qat driver changed slightly, introducing a new false-positive warning: drivers/crypto/qat/qat_common/qat_algs.c: In function 'qat_alg_sgl_to_bufl.isra.6': include/linux/dma-mapping.h:228:2: error: 'sz_out'

[PATCH] mtd: spi-nor: Add support for Spansion S25FL064L

2017-06-22 Thread Harry Chou
It's an 8 MiB flash with 4 KiB erase sectors. Signed-off-by: Harry Chou --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index dea8c9c..1f84765 100644 ---

Re: [PATCH 05/14] mwifiex: re-register wiphy across reset

2017-06-22 Thread Johannes Berg
On Wed, 2017-06-21 at 11:27 -0700, Brian Norris wrote: > > > I'm not sure what you mean by "we need to atually stop all the > > virtual interfaces ([...]) first". > > Judging by your following comments, I may have been completely > mistaken. > (But that's why I asked you folks!) :) > > There

Re: [PATCH 1/2] sched/debug: Inform the number of rt/dl task that can migrate

2017-06-22 Thread Daniel Bristot de Oliveira
On 06/22/2017 11:29 AM, Ingo Molnar wrote: > Note that this patch breaks in various cross-builds - here's the Alpha > defconfig > build: > > /home/mingo/tip/kernel/sched/debug.c: In function 'print_rt_rq': > /home/mingo/tip/kernel/sched/debug.c:556:60: error: 'struct rt_rq' has no > member >

[PATCH] Added SIOCSMIIREG (mii write) support to intel igb driver

2017-06-22 Thread Michael Moese
From: Andreas Werner Signed-off-by: Andreas Werner --- drivers/net/ethernet/intel/igb/igb_main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index

Re: [PATCH 2/2] rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration

2017-06-22 Thread Daniel Bristot de Oliveira
On 06/22/2017 10:38 AM, Ingo Molnar wrote: > > * Daniel Bristot de Oliveira wrote: > >> void migrate_disable(void) >> { >> struct task_struct *p = current; >> +struct rq *rq; >> +struct rq_flags rf; >> + >> >> if (in_atomic() || irqs_disabled()) { >>

Re: [PATCH 1/7] drm/bridge: Support hotplugging panel-bridge.

2017-06-22 Thread Boris Brezillon
On Thu, 22 Jun 2017 15:16:47 +0200 Andrzej Hajda wrote: > On 22.06.2017 14:41, Boris Brezillon wrote: > > On Thu, 22 Jun 2017 14:29:07 +0200 > > Andrzej Hajda wrote: > > > >> On 22.06.2017 11:23, Boris Brezillon wrote: > >>> On Thu, 22 Jun 2017

[PATCH v2 2/7] staging: ccree: register setkey for none hash macs

2017-06-22 Thread Gilad Ben-Yossef
Fix a bug where the transformation init code did not register a setkey method for none hash based MACs. Fixes commit 50cfbbb7e627 ("staging: ccree: add ahash support"). Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 83

[PATCH v2 6/7] staging: ccree: add DT bus coherency detection

2017-06-22 Thread Gilad Ben-Yossef
The ccree driver has build time configurable support to work on top of coherent (e.g. ACP) vs. none coherent bus connections. Turn it to run-time configurable option based on device tree. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 37

[PATCH 02/14] staging: fsl-mc: drop useless #includes

2017-06-22 Thread laurentiu.tudor
From: Laurentiu Tudor These couple of header files are not needed in the source so remove them. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 05/14] staging: fsl-mc: delete prototype of unimplemented function

2017-06-22 Thread laurentiu.tudor
From: Laurentiu Tudor The function fsl_mc_bus_exists() has a prototype but is never implemented so delete it from the header file. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/include/mc-bus.h | 2 -- 1 file changed, 2

Re: [PATCH V2] staging: ccree: - style fix, spaces and tabs

2017-06-22 Thread Gilad Ben-Yossef
On Sat, Jun 17, 2017 at 5:44 AM, Derek Robson wrote: > Changed code indent to be tabs across whole driver > Found using checkpatch > > Signed-off-by: Derek Robson > > V1 had vague subject. Acked-by: Gilad Ben-Yossef Thanks you,

[PATCH 04/14] staging: fsl-mc: delete duplicated function prototypes

2017-06-22 Thread laurentiu.tudor
From: Laurentiu Tudor These functions already have their prototypes in fsl-mc-private.h header file so delete them from mc-bus.h. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/include/mc-bus.h | 8 1 file changed, 8

[PATCH] qla2xxx: Protect access to qpair members with qpair->qp_lock

2017-06-22 Thread Johannes Thumshirn
In qla2xx_start_scsi_mq() and qla2xx_dif_start_scsi_mq() we grab the qpair->qp_lock but do access members of the qpair before having the lock. Re-order the locking sequence to have all read and write access to qpair members under the qpair->qp_lock. Signed-off-by: Johannes Thumshirn

Re: [PATCH] qla2xxx: Protect access to qpair members with qpair->qp_lock

2017-06-22 Thread Hannes Reinecke
On 06/22/2017 03:43 PM, Johannes Thumshirn wrote: > In qla2xx_start_scsi_mq() and qla2xx_dif_start_scsi_mq() we grab the > qpair->qp_lock but do access members of the qpair before having the lock. > Re-order the locking sequence to have all read and write access to qpair > members under the

Re: [vs-plain] Re: [PATCH] mm: larger stack guard gap, between vmas

2017-06-22 Thread Levente Polyak
binnqgCLRXfKN.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

Re: [PATCH RESEND] Calling check_system_tsc_reliable() before unsynchronized_tsc()

2017-06-22 Thread Thomas Gleixner
Zhenzhong, On Wed, 21 Jun 2017, Zhenzhong Duan wrote: So the patch format is now correct, but the subject line is missing a proper subsystem prefix. Please use 'git log 'path/to/patched/file' next time to see what the usually used prefix for a file is. In this case it's: x86/tsc Also please

Re: [PATCH 0/3] some scheduler code movements

2017-06-22 Thread Ingo Molnar
* Nicolas Pitre wrote: > On Thu, 22 Jun 2017, Ingo Molnar wrote: > > > > > * Nicolas Pitre wrote: > > > > > On Wed, 21 Jun 2017, Ingo Molnar wrote: > > > > > > > I've applied the first patch to the scheduler tree yesterday, but the > > >

Re: [PATCH v3 06/11] x86/mm: Rework lazy TLB mode and TLB freshness tracking

2017-06-22 Thread Borislav Petkov
On Tue, Jun 20, 2017 at 10:22:12PM -0700, Andy Lutomirski wrote: > x86's lazy TLB mode used to be fairly weak -- it would switch to > init_mm the first time it tried to flush a lazy TLB. This meant an > unnecessary CR3 write and, if the flush was remote, an unnecessary > IPI. > > Rewrite it

Re: [PATCH 2/3] irq: Track the interrupt timings

2017-06-22 Thread Daniel Lezcano
Hi Thomas, thanks for the review. On 22/06/2017 16:47, Thomas Gleixner wrote: > On Tue, 20 Jun 2017, Daniel Lezcano wrote: >> + >> +struct irq_timings { >> +u64 values[IRQ_TIMINGS_SIZE]; /* our circular buffer */ >> +unsigned int count; /* Number of interruptions since last inspection

[PATCH v6 2/8] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-06-22 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin controller. Signed-off-by: Jacopo Mondi --- .../bindings/pinctrl/renesas,rza1-pinctrl.txt | 221 + 1 file changed, 221 insertions(+) create mode 100644

[PATCH v6 7/8] arm: dts: genmai: Add user led device nodes

2017-06-22 Thread Jacopo Mondi
Add device nodes for user leds on Genmai board. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH v6 1/8] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-06-22 Thread Jacopo Mondi
Add combined gpio and pin controller driver for Renesas RZ/A1 r7s72100 SoC. Signed-off-by: Jacopo Mondi --- drivers/pinctrl/Kconfig| 11 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl-rza1.c | 1309

[PATCH v6 00/8] Renesas RZ/A1 pin and gpio controller

2017-06-22 Thread Jacopo Mondi
Hello, this is 6th round of RZ/A1 pin controller patch series. Where did we stop: discussion from pin controller driver shifted toward two new generic pin configuration properties I added to the previous series (bi-directional and output-enable). After a really long discussion, we decided to

[PATCH v6 8/8] arm: dts: genmai: Add ethernet pin group

2017-06-22 Thread Jacopo Mondi
Add pin configuration subnode for ETHER ethernet controller. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100-genmai.dts | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts

[PATCH v6 4/8] arm: dts: r7s72100: Add pin controller node

2017-06-22 Thread Jacopo Mondi
Add pin controller node with 12 gpio controller sub-nodes to r7s72100 dtsi. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100.dtsi | 78 + 1 file changed, 78

Re: linux-next: build failure after merge of most trees

2017-06-22 Thread David Miller
From: Nicholas Piggin Date: Fri, 23 Jun 2017 00:33:39 +1000 > On Thu, 22 Jun 2017 10:13:06 -0400 (EDT) > David Miller wrote: > >> From: Nicholas Piggin >> Date: Thu, 22 Jun 2017 18:41:16 +1000 >> >> > Is there any way for the linker

[PATCH v6 6/8] arm: dts: genmai: Add RIIC2 pin group

2017-06-22 Thread Jacopo Mondi
Add pin configuration subnode for RIIC2 interface. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100-genmai.dts | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v6 5/8] arm: dts: genmai: Add SCIF2 pin group

2017-06-22 Thread Jacopo Mondi
Add pin configuration subnode for SCIF2 serial debug interface. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100-genmai.dts | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH] x86/uaccess: use unrolled string copy for short strings

2017-06-22 Thread Alan Cox
> > diff --git a/arch/x86/include/asm/uaccess_64.h > > b/arch/x86/include/asm/uaccess_64.h > > index c5504b9..16a8871 100644 > > --- a/arch/x86/include/asm/uaccess_64.h > > +++ b/arch/x86/include/asm/uaccess_64.h > > @@ -28,6 +28,9 @@ copy_user_generic(void *to, const void *from, unsigned > >

[PATCH v6 3/8] arm: dts: dt-bindings: Add Renesas RZ/A1 pinctrl header

2017-06-22 Thread Jacopo Mondi
Add dt-bindings for Renesas r7s72100 pin controller header file. Signed-off-by: Jacopo Mondi --- include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 16 1 file changed, 16 insertions(+) create mode 100644 include/dt-bindings/pinctrl/r7s72100-pinctrl.h

Re: [PATCH] rcu: remove unused variable in boot_cpu_state_init

2017-06-22 Thread Paul E. McKenney
On Thu, Jun 22, 2017 at 09:26:44AM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Wed, Jun 21, 2017 at 11:57:28PM +0200, Arnd Bergmann wrote: > > > Without CONFIG_SMP, we get a harmless warning about > > > an unused variable: > > > > > >

Re: [PATCH] modpost: abort if a module name is too long

2017-06-22 Thread Wanlong Gao
On 2017/6/22 22:25, Jessica Yu wrote: > +++ Wanlong Gao [22/06/17 09:11 +0800]: >> >> >> On 2017/6/22 0:09, Jessica Yu wrote: >>> +++ Jessica Yu [06/06/17 20:41 -0700]: +++ Wanlong Gao [06/06/17 09:07 +0800]: > > > On 2017/6/5 10:09, Jessica Yu wrote: >> +++ Wanlong Gao

Re: [PATCH V3 20/37] perf script: Add 'synth' event type for synthesized events

2017-06-22 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 21, 2017 at 11:20:03PM +0300, Adrian Hunter escreveu: > On 06/21/2017 08:29 PM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Jun 21, 2017 at 07:41:04PM +0300, Adrian Hunter escreveu: > >> PERF_TYPE_ is dynamically allocated above PERF_TYPE_MAX for PMUs. > >> Presently > >>

Re: [PATCH v3 05/11] x86/mm: Track the TLB's tlb_gen and update the flushing algorithm

2017-06-22 Thread Borislav Petkov
On Thu, Jun 22, 2017 at 07:48:21AM -0700, Andy Lutomirski wrote: > On Thu, Jun 22, 2017 at 12:24 AM, Borislav Petkov wrote: > > On Wed, Jun 21, 2017 at 07:46:05PM -0700, Andy Lutomirski wrote: > >> > I'm certainly still missing something here: > >> > > >> > We have f->new_tlb_gen

Re: [PATCH] liquidio: stop using huge static buffer, save 4096k in .data

2017-06-22 Thread David Miller
From: Denys Vlasenko Date: Mon, 19 Jun 2017 21:50:52 +0200 > Only compile-tested - I don't have the hardware. > > From code inspection, octeon_pci_write_core_mem() appears to be safe wrt > unaligned source. In any case, u8 fbuf[] was not guaranteed to be aligned > anyway. >

Re: [PATCH v2] net/mlx5e: Use device ID defines

2017-06-22 Thread David Miller
From: Myron Stowe Date: Tue, 20 Jun 2017 11:21:26 -0600 > Use Mellanox device ID definitions in the driver's mlx5 ID table so tools > such as 'grep' and 'cscope' can be used to help find correlated material > (such as INTx Masking quirks: d76d2fe05fd PCI: Convert Mellanox

Re: [criu] 1M guard page ruined restore

2017-06-22 Thread Cyrill Gorcunov
On Thu, Jun 22, 2017 at 04:23:00PM +0200, Oleg Nesterov wrote: > Cyrill, > > I am replying to my own email because I got lost in numerous threads/emails > connected to stack guard/gap problems. IIRC you confirmed that the 1st load > doesn't fail and the patch fixes the problem. So everything is

[PATCH v1 4/6] [media] ov9650: use write_array() for resolution sequences

2017-06-22 Thread Hugues Fruchet
Align resolution sequences on initialization sequence using i2c_rv structure NULL terminated .This add flexibility on resolution sequence size. Document resolution related registers by using corresponding define instead of hexa address/value. Signed-off-by: Hugues Fruchet

[PATCH v1 0/6] Add support of OV9655 camera

2017-06-22 Thread Hugues Fruchet
This patchset enables OV9655 camera support. OV9655 support has been tested using STM32F4DIS-CAM extension board plugged on connector P1 of STM32F746G-DISCO board. Due to lack of OV9650/52 hardware support, the modified related code could not have been checked for non-regression. First patches

[PATCH v1 1/6] DT bindings: add bindings for ov965x camera module

2017-06-22 Thread Hugues Fruchet
From: "H. Nikolaus Schaller" This adds documentation of device tree bindings for the OV965X family camera sensor module. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Hugues Fruchet ---

Re: [PATCH v2] net/phy: micrel: configure intterupts after autoneg workaround

2017-06-22 Thread David Miller
From: Zach Brown Date: Tue, 20 Jun 2017 12:48:11 -0500 > The commit ("net/phy: micrel: Add workaround for bad autoneg") fixes an > autoneg failure case by resetting the hardware. This turns off > intterupts. Things will work themselves out if the phy polls, as it will > figure

[PATCH v1 5/6] [media] ov9650: add multiple variant support

2017-06-22 Thread Hugues Fruchet
Ops support and registers set can now be different from a variant to another. Signed-off-by: Hugues Fruchet --- drivers/media/i2c/ov9650.c | 141 + 1 file changed, 91 insertions(+), 50 deletions(-) diff --git

[PATCH v1 6/6] [media] ov9650: add support of OV9655 variant

2017-06-22 Thread Hugues Fruchet
Add a first support of OV9655 variant. Because of register set slightly different from OV9650/9652, not all of the driver features are supported (controls). Supported resolutions are limited to VGA, QVGA, QQVGA. Supported format is limited to RGB565. Controls are limited to color bar test pattern

[PATCH v1 3/6] [media] ov9650: select the nearest higher resolution

2017-06-22 Thread Hugues Fruchet
Refine the resolution selection algorithm by selecting only the nearest higher resolution (instead of lower and higher). Signed-off-by: Hugues Fruchet --- drivers/media/i2c/ov9650.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[PATCH v1 2/6] [media] ov9650: add device tree support

2017-06-22 Thread Hugues Fruchet
Allows use of device tree configuration data. If no device tree data is there, configuration is taken from platform data. In order to keep GPIOs configuration compatible between both way of doing, GPIOs are switched to descriptor-based interface. Signed-off-by: H. Nikolaus Schaller

Re: [RFC PATCH 0/4] Support for metadata specific accounting

2017-06-22 Thread Josef Bacik
On Thu, Jun 22, 2017 at 05:23:20PM +0300, Nikolay Borisov wrote: > Hello, > > This series is a report of Josef's original posting [1]. I've included > fine-grained changelog in each patch with my changes. Basically, I've forward > ported it to 4.12-rc6 and tried incorporating the feedback which

EMAIL ALERT

2017-06-22 Thread IT Department
Please be advised that we will be performing a scheduled email maintenance within the next 24hrs, during this maintenance you will be require to update your email account via link http://www.beam.to/9687 --- This email has been checked for viruses by Avast antivirus software.

Re: [PATCH] net: phy: smsc: fix buffer overflow in memcpy

2017-06-22 Thread David Miller
From: Arnd Bergmann Date: Tue, 20 Jun 2017 22:40:46 +0200 > The memcpy annotation triggers for a fixed-length buffer copy: > > In file included from /git/arm-soc/arch/arm64/include/asm/processor.h:30:0, > from /git/arm-soc/arch/arm64/include/asm/spinlock.h:21, >

[PATCH v1 3/5] [media] stm32-dcmi: crop sensor image to match user resolution

2017-06-22 Thread Hugues Fruchet
Add flexibility on supported resolutions by cropping sensor image to fit user resolution format request. Signed-off-by: Hugues Fruchet --- drivers/media/platform/stm32/stm32-dcmi.c | 54 ++- 1 file changed, 53 insertions(+), 1 deletion(-) diff

[PATCH v1 0/5] Camera support on STM32F746G-DISCO board

2017-06-22 Thread Hugues Fruchet
This patchset enables OV9655 camera support of STM32F4DIS-CAM extension board plugged on connector P1 of STM32F746G-DISCO board. Tested by doing a fullscreen preview with a modified version of yavta [1] which redirects captured frames to framebuffer: yavta -s 480x272 -n 1 --capture=-1

[PATCH v1 2/5] [media] stm32-dcmi: revisit control register handling

2017-06-22 Thread Hugues Fruchet
Simplify bits handling of DCMI_CR register. Signed-off-by: Hugues Fruchet --- drivers/media/platform/stm32/stm32-dcmi.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/media/platform/stm32/stm32-dcmi.c

[PATCH v1 1/5] [media] stm32-dcmi: catch dma submission error

2017-06-22 Thread Hugues Fruchet
Test cookie return by dmaengine_submit() and return error if any. Signed-off-by: Hugues Fruchet --- drivers/media/platform/stm32/stm32-dcmi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/platform/stm32/stm32-dcmi.c

[PATCH v1 4/5] ARM: dts: stm32: Enable DCMI support on STM32F746 MCU

2017-06-22 Thread Hugues Fruchet
Enable DCMI camera interface on STM32F746 MCU. Signed-off-by: Hugues Fruchet --- arch/arm/boot/dts/stm32f746.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index

[PATCH v1 5/5] ARM: configs: stm32: DCMI + OV9655 camera support

2017-06-22 Thread Hugues Fruchet
Enable DCMI camera interface and OV9655 camera sensor drivers. Signed-off-by: Hugues Fruchet --- arch/arm/configs/stm32_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index

Re: [lkp-robot] [mm] 1be7107fbe: kernel_BUG_at_mm/mmap.c

2017-06-22 Thread Oleg Nesterov
On 06/21, Hugh Dickins wrote: > > On Wed, 21 Jun 2017, Linus Torvalds wrote: > > On Wed, Jun 21, 2017 at 1:56 PM, Oleg Nesterov wrote: > > > > > > I understand. My point is that this check was invalidated by > > > stack-guard-page > > > a long ago, and this means that we add the

Re: [PATCH] of: update ePAPR references to point to Devicetree Specification

2017-06-22 Thread Rob Herring
On Mon, Jun 19, 2017 at 03:23:41AM -0700, Frank Rowand wrote: > On 06/18/17 07:05, Rob Herring wrote: > > On Tue, Jun 13, 2017 at 07:49:04PM -0700, frowand.l...@gmail.com wrote: > >> From: Frank Rowand > >> > >> The Devicetree Specification has superseded the ePAPR as the >

[GIT PULL] KVM fixes for v4.12-rc7

2017-06-22 Thread Radim Krčmář
Linus, The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52: Linux 4.12-rc6 (2017-06-19 22:19:37 +0800) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm tags/for-linus for you to fetch changes up to

patchwork: on whose behalf is it working? was Re: [linux-media] Patch notification: 3 patches updated

2017-06-22 Thread Pavel Machek
Hi! > The following patches (submitted by you) have been updated in patchwork: > > * linux-media: [RFC,07/13] v4l2: device_register_subdev_nodes: allow calling > multiple times > - http://patchwork.linuxtv.org/patch/39403/ > - for: Linux Media kernel patches > was: New >

Re: [PATCH 01/14] staging: fsl-mc: drop macros with possible side effects

2017-06-22 Thread Joe Perches
On Thu, 2017-06-22 at 16:35 +0300, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Several macros were triggering this checkpatch.pl warning: > "Macro argument reuse '$arg' - possible side-effects?" > Fix the warning by turning them into real functions.

Re: [PATCH] of: be consistent in form of file mode

2017-06-22 Thread Rob Herring
On Wed, Jun 21, 2017 at 12:20:03PM -0700, frowand.l...@gmail.com wrote: > From: Frank Rowand > > checkpatch whined about using S_IRUGO instead of octal equivalent > when adding phandle sysfs code, so used octal in that pending patch. > Change other instances of the S_*

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