[PATCH 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-02 Thread Laxman Dewangan
NVIDIA Tegra124 and later SoCs support the multi-voltage level and low power state of some of its IO pads. The IO pads can work in the voltage of the 1.8V and 3.3V of IO power rail sources. When IO interface are not used then IO pads can be configure in low power state to reduce the power from that

Re: [PREEMPT-RT] Oops in rapl_cpu_prepare()

2016-11-02 Thread Charles (Chas) Williams
On 10/28/2016 04:03 AM, Sebastian Andrzej Siewior wrote: On 2016-10-27 15:00:32 [-0400], Charles (Chas) Williams wrote: I assume "init_rapl_pmus: maxpkg 4" is from init_rapl_pmus() returning topology_max_packages(). So it says 4 but then returns 65535 for CPU 2 and 3. That -1 comes probably from

Re: [PATCH 2/2] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2016-11-02 Thread Srinivas Kandagatla
On 02/11/16 07:26, Vivek Gautam wrote: + phy_desc->tx = base + qphy->cfg->tx_offsets[id]; >> + phy_desc->rx = base + qphy->cfg->rx_offsets[id]; >> + phy_desc->pcs = base + qphy->cfg->pcs_offsets[id]; >> + >> + /* >> +* Get

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-11-02 Thread Philipp Zabel
Hi Lothar, Am Mittwoch, den 02.11.2016, 09:51 +0100 schrieb Lothar Waßmann: > Hi, > > On Wed, 2 Nov 2016 09:06:45 +0100 Sascha Hauer wrote: > > On Wed, Nov 02, 2016 at 08:56:20AM +0100, Lothar Waßmann wrote: > > > Hi, > > > > > > On Wed, 2 Nov 2016 08:36:14 +0100 Sascha Hauer wrote: > > > > On W

Re: [PATCH 3/4] cputime/powerpc/s390: make scaled cputime arch specific

2016-11-02 Thread Stanislaw Gruszka
On Wed, Nov 02, 2016 at 10:11:22AM +0100, Christian Borntraeger wrote: > On 10/31/2016 01:36 PM, Stanislaw Gruszka wrote: > > Only s390 and powerpc have hardware facilities allowing to measure > > cputimes scaled by frequency. On all other architectures > > utimescaled/stimescaled are equal to utim

Re: [PREEMPT-RT] Oops in rapl_cpu_prepare()

2016-11-02 Thread Sebastian Andrzej Siewior
On 2016-11-02 05:16:03 [-0400], Charles (Chas) Williams wrote: > Yes, it does prevent RAPL from starting and loading. From the boot log: please send the whole bootlog. offlist if you want. Sebastian

Re: [PATCH 1/2] tpm/tpm-interface: place kdoc just above tpm_pcr_extend

2016-11-02 Thread Jarkko Sakkinen
On Tue, Nov 01, 2016 at 03:05:13AM +0200, Tomas Winkler wrote: > Place kdoc just above tpm_pcr_extend so it can be parsed > correctly. > > Signed-off-by: Tomas Winkler Reviewed-by: Jarkko Sakkinen /Jarkko > --- > drivers/char/tpm/tpm-interface.c | 16 > 1 file changed, 8 ins

Re: [PATCH v2] soc: qcom: Add SoC info driver

2016-11-02 Thread Imran Khan
On 10/28/2016 1:35 AM, Linus Walleij wrote: > On Thu, Oct 27, 2016 at 11:22 AM, Imran Khan wrote: > >> The SoC info driver provides information such as Chip ID, >> Chip family, serial number and other such details about >> Qualcomm SoCs. >> >> Signed-off-by: Imran Khan > > I like this patch. It

[PATCH v3] soc: qcom: Add SoC info driver

2016-11-02 Thread Imran Khan
The SoC info driver provides information such as Chip ID, Chip family, serial number and other such details about Qualcomm SoCs. Signed-off-by: Imran Khan --- v2 --> v3: - Add support to toss soc information data into entropy pool - Since socinfo is rolled into smem driver, compile the relev

Re: [PATCH V3 2/6] arm64: kgdb_step_brk_fn: ignore other's exception

2016-11-02 Thread Pratyush Anand
On Wednesday 02 November 2016 03:30 PM, Sandeepa Prabhu wrote: On Wed, Nov 2, 2016 at 2:40 PM, Pratyush Anand mailto:pan...@redhat.com>> wrote: ARM64 step exception does not have any syndrome information. So, it is responsibility of exception handler to take care that they handle it

Re: [RFC PATCH v2 2/5] net: phy: Add Meson GXL Internal PHY driver

2016-11-02 Thread Neil Armstrong
On 10/31/2016 08:05 PM, Andrew Lunn wrote: > On Mon, Oct 31, 2016 at 05:56:24PM +0100, Neil Armstrong wrote: >> Add driver for the Internal RMII PHY found in the Amlogic Meson GXL SoCs. >> >> This PHY seems to only implement some standard registers and need some >> workarounds to provide autoneg va

Re: [Qemu-devel] [PATCH v10 01/19] vfio: Mediated device Core driver

2016-11-02 Thread Jike Song
On 11/02/2016 03:59 PM, Kirti Wankhede wrote: > On 10/29/2016 11:41 PM, Jike Song wrote: >> On 10/29/2016 06:06 PM, Kirti Wankhede wrote: >>> >>> >>> On 10/29/2016 10:00 AM, Jike Song wrote: On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > +int mdev_register_device(struct device *dev, const

Re: [PATCH 04/12] xen: make use of xenbus_read_unsigned() in xen-tpmfront

2016-11-02 Thread Jarkko Sakkinen
On Mon, Oct 31, 2016 at 05:48:22PM +0100, Juergen Gross wrote: > Use xenbus_read_unsigned() instead of xenbus_scanf() when possible. > This requires to change the type of one read from int to unsigned, > but this case has been wrong before: negative values are not allowed > for the modified case. >

[PATCH] mfd: wm5102: Remove spurious trailing spaces

2016-11-02 Thread Richard Fitzgerald
Remove the trailing spaces on the register default lines to stop checkpatch complaining. Signed-off-by: Richard Fitzgerald --- drivers/mfd/wm5102-tables.c | 1412 +-- 1 file changed, 706 insertions(+), 706 deletions(-) diff --git a/drivers/mfd/wm5102-tabl

[PATCH v3 0/6] Add support for IR transmitters

2016-11-02 Thread Andi Shyti
Hi, The main goal is to add support in the rc framework for IR transmitters, which currently is only supported by lirc but that is not the preferred way. The last patch adds support for an IR transmitter driven by the MOSI line of an SPI controller, it's the case of the Samsung TM2(e) board which

[PATCH v3 1/6] [media] rc-main: assign driver type during allocation

2016-11-02 Thread Andi Shyti
The driver type can be assigned immediately when an RC device requests to the framework to allocate the device. This is an 'enum rc_driver_type' data type and specifies whether the device is a raw receiver or scancode receiver. The type will be given as parameter to the rc_allocate_device device.

[PATCH v3 3/6] [media] rc-core: add support for IR raw transmitters

2016-11-02 Thread Andi Shyti
IR raw transmitter driver type is specified in the enum rc_driver_type as RC_DRIVER_IR_RAW_TX which includes all those devices that transmit raw stream of bit to a receiver. The data are provided by userspace applications, therefore they don't need any input device allocation, but still they need

[PATCH v3 6/6] [media] rc: add support for IR LEDs driven through SPI

2016-11-02 Thread Andi Shyti
The ir-spi is a simple device driver which supports the connection between an IR LED and the MOSI line of an SPI device. The driver, indeed, uses the SPI framework to stream the raw data provided by userspace through an rc character device. The chardev is handled by the LIRC framework and its func

[PATCH v3 5/6] Documentation: bindings: add documentation for ir-spi device driver

2016-11-02 Thread Andi Shyti
Document the ir-spi driver's binding which is a IR led driven through the SPI line. Signed-off-by: Andi Shyti --- .../devicetree/bindings/leds/spi-ir-led.txt| 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/spi-ir-led

[PATCH v3 2/6] [media] rc-main: split setup and unregister functions

2016-11-02 Thread Andi Shyti
Move the input device allocation, map and protocol handling to different functions. Signed-off-by: Andi Shyti --- drivers/media/rc/rc-main.c | 143 + 1 file changed, 81 insertions(+), 62 deletions(-) diff --git a/drivers/media/rc/rc-main.c b/drivers/m

[PATCH v3 4/6] [media] rc-ir-raw: do not generate any receiving thread for raw transmitters

2016-11-02 Thread Andi Shyti
Raw IR transmitters do not need any thread listening for occurring events. Check the driver type before running the thread. Signed-off-by: Andi Shyti --- drivers/media/rc/rc-ir-raw.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/media/rc/rc-ir-raw

Re: [PATCH v10 02/19] vfio: VFIO based driver for Mediated devices

2016-11-02 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > vfio_mdev driver registers with mdev core driver. > mdev core driver creates mediated device and calls probe routine of > vfio_mdev driver for each device. > Probe routine of vfio_mdev driver adds mediated device to VFIO core module > > This driver f

Re: [PATCH v10 03/19] vfio: Rearrange functions to get vfio_group from dev

2016-11-02 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > This patch rearranges functions to get vfio_group from device > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo Jia > Change-Id: I1f93262bdbab75094bc24b087b29da35ba70c4c6 > --- > drivers/vfio/vfio.c | 23 --- > 1 file chan

Re: [PATCH 3/3] powerpc: emulate_step test for load/store instructions

2016-11-02 Thread Naveen N. Rao
On 2016/11/02 02:23PM, Ravi Bangoria wrote: > Add new selftest that test emulate_step for Normal, Floating Point, > Vector and Vector Scalar - load/store instructions. Test should run > at boot time if CONFIG_KPROBES_SANITY_TEST and CONFIG_PPC64 is set. > > Sample log: > > [0.762063] emulat

Re: [PATCH v3 2/9] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-11-02 Thread Cyrille Pitchen
Hi, Le 31/10/2016 à 19:51, Jagan Teki a écrit : > Hi Cyrille, > > On Mon, Oct 24, 2016 at 10:04 PM, Cyrille Pitchen > wrote: >> This patch provides an alternative mean to support memory above 16MiB >> (128Mib) by replacing 3byte address op codes by their associated 4byte >> address versions. >>

Re: [PATCH 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-02 Thread kbuild test robot
-for-IO-pad-control/20161102-173122 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg

[PATCH] gpio: tegra186: Add support for T186 GPIO

2016-11-02 Thread Suresh Mangipudi
Add GPIO driver for T186 based platforms. Adds support for MAIN and AON GPIO's from T186. Signed-off-by: Suresh Mangipudi --- drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tegra186.c | 647 +++ 3 files change

Re: [4.9-rc3] BUG: unable to handle kernel paging request at ffffc900144dfc60

2016-11-02 Thread Tetsuo Handa
Linus Torvalds wrote: > On Tue, Nov 1, 2016 at 8:36 AM, Tetsuo Handa > wrote: > > > > I got an Oops with khungtaskd. This kernel was built with > > CONFIG_THREAD_INFO_IN_TASK=y . > > Is this same reason? > > CONFIG_THREAD_INFO_IN_TASK is always set on x86, but I assume you also > did VMAP_STACK

Re: [PATCH v2] EDAC: expose per-dimm error counts in sysfs

2016-11-02 Thread Borislav Petkov
On Fri, Oct 28, 2016 at 06:13:08PM +, Aaron Miller wrote: Please do not top-post. ... > On Thu, Oct 27, 2016 at 02:33:32PM -0700, Aaron Miller wrote: > > The old 'csrowX' sysfs directories had per-csrow error counters, but the > > new 'dimmX' directories do not currently expose e

Re: [PATCH v4 1/1] clk: mvebu: migrate CP110 system controller to clk_hw API and registration

2016-11-02 Thread Marcin Wojtas
Thanks! 2016-11-02 1:37 GMT+01:00 Stephen Boyd : > On 09/25, Marcin Wojtas wrote: >> Now that we have clk_hw based provider APIs to register clks, we >> can get rid of struct clk pointers while registering clks in Armada >> CP110 system controller driver. This commit introduces new >> API and regi

Re: [PATCH 00/14] pinctrl-sx150x: Various bug-fixes and code simplifications

2016-11-02 Thread Neil Armstrong
On 11/01/2016 04:57 PM, Andrey Smirnov wrote: > Linus, Neil: > > I've had some help and got my hardware setup modified to enable IRQ > functionality testing, so ended up looking at the code of SX150x more > resulting in some code improvements (hopefully) and bugfixes. > > There are many small cha

Re: [PATCH v3 2/9] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-11-02 Thread Jagan Teki
On Wed, Nov 2, 2016 at 4:19 PM, Cyrille Pitchen wrote: > Hi, > > Le 31/10/2016 à 19:51, Jagan Teki a écrit : >> Hi Cyrille, >> >> On Mon, Oct 24, 2016 at 10:04 PM, Cyrille Pitchen >> wrote: >>> This patch provides an alternative mean to support memory above 16MiB >>> (128Mib) by replacing 3byte a

Re: [PATCH] cxl: Fix error handling

2016-11-02 Thread Michael Ellerman
Jim Davis writes: > On Sun, Oct 30, 2016 at 10:37 PM, Michael Ellerman > wrote: >> More here: >> >> https://github.com/linuxppc/linux/wiki/Building-powerpc-kernels > > Cool; the little-endian build worked fine, but Yay, thanks for trying. > jim@krebstar:~/linux-rc$ make ARCH=powerpc > CROSS_C

Re: [PATCH RFC 0/4] Fix PDF build errors

2016-11-02 Thread Jani Nikula
On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > This series address a series of errors during PDF generation from > media documentation. > > Please notice that patch 2 carries on a PDF conversion from a PNG > image, because Sphinx is not smart enough to do the convertion. > > This is a tempora

Re: [PATCH V4] mtd: nand: add Loongson1 NAND driver

2016-11-02 Thread kbuild test robot
-driver/20161102-095605 base: git://git.infradead.org/linux-mtd.git master config: mips-loongson1c_defconfig (attached as .config) compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross

Re: [PATCH v10 04/19] vfio: Common function to increment container_users

2016-11-02 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > This change rearrange functions to have common function to increment > container_users > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo Jia > Change-Id: I8bdeb352bc8439b107ffd519480fd4dc238677f2 > --- > drivers/vfio/vfio.c | 34 +

RE: [RFC PATCH] rtc/nxp: add FTM alarm driver as the wakeup source

2016-11-02 Thread Meng Yi
> + > +static int ftm_alarm_irq_enable(struct device *dev, unsigned int > +enabled) { > + if (enabled) > + ftm_irq_enable(true); > + else > + ftm_irq_enable(false); > + > + return 0; > +} > + > +static int nxp_ftm_rtc_read_time(struct device *dev, struct rtc_time

Re: [PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties

2016-11-02 Thread Eugeniy Paltsev
Hi Andy, Could you possibly tell me your ideas about these changes? Thanks. On Fri, 2016-10-28 at 18:59 +0300, Eugeniy Paltsev wrote: > This series is to address a proposal by Andy in these threads: > http://www.spinics.net/lists/dmaengine/msg11506.html > http://www.spinics.net/lists/dmaengine/msg

[PATCH] Crypto: mv_cesa: Switch to using managed resources

2016-11-02 Thread Nadim Almas
Switch to resource-managed function devm_kzalloc instead of kzalloc and remove unneeded kfree Also, remove kfree in probe function and remove function, mv_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: // @platform@ identifier p, probef

[PATCH] f2fs: update inode updating status correctly

2016-11-02 Thread Chao Yu
We should record updating status of inode only for living inode, for those unlinked inode it needs to clear ino cache, otherwise after the ino of unlinked inode was been reused, it will cause unneeded node page writing during ->fsync. Signed-off-by: Chao Yu --- fs/f2fs/inode.c | 13 +

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-11-02 Thread Adam Borowski
On Tue, Nov 01, 2016 at 04:48:48PM +0100, Michal Marek wrote: > > Adam Borowski wrote: > > > >> On Mon, Oct 17, 2016 at 02:22:34PM +0200, Mathieu OTHACEHE wrote: > +#include > +#include > >>> > >>> Included twice. > >> > >> D'oh! This appears to be the only thing to fix, right?

Re: [PATCH 01/12] extarray: define helpers for arrays defined in linker scripts

2016-11-02 Thread Markus Trippelsdorf
On 2016.10.19 at 12:25 +0200, Peter Zijlstra wrote: > On Wed, Oct 19, 2016 at 11:33:41AM +0200, Richard Biener wrote: > > On Wed, 19 Oct 2016, Peter Zijlstra wrote: > > > > This is also an entirely different class of optimizations than the whole > > > pointer arithmetic is only valid inside an obj

Re: [PATCH 01/12] extarray: define helpers for arrays defined in linker scripts

2016-11-02 Thread Richard Biener
On Wed, 2 Nov 2016, Markus Trippelsdorf wrote: > On 2016.10.19 at 12:25 +0200, Peter Zijlstra wrote: > > On Wed, Oct 19, 2016 at 11:33:41AM +0200, Richard Biener wrote: > > > On Wed, 19 Oct 2016, Peter Zijlstra wrote: > > > > > > This is also an entirely different class of optimizations than the

[PATCH] kbuild: provide include/asm/asm-prototypes.h for x86

2016-11-02 Thread Adam Borowski
Nicholas Piggin wrote: > Architectures will need to have an include/asm/asm-prototypes.h that > defines or #include<>s C-style prototypes for exported asm functions. > We can do an asm-generic version for the common ones like memset so > there's not a lot of pointless duplication there. Signed-off

[PATCH] arc: Implement arch-specific dma_map_ops.mmap

2016-11-02 Thread Alexey Brodkin
We used to use generic implementation of dma_map_ops.mmap which is dma_common_mmap() but that only worked for simpler cached mappings when vaddr = paddr. If a driver requests uncached DMA buffer kernel maps it to virtual address so that MMU gets involved and page uncached status takes into account

Re: [PATCH RFC 0/4] Fix PDF build errors

2016-11-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Nov 2016 13:14:47 +0200 Jani Nikula escreveu: > On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > > This series address a series of errors during PDF generation from > > media documentation. > > > > Please notice that patch 2 carries on a PDF conversion from a PNG > > image, because

Re: [PATCH v2] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-11-02 Thread Alexey Brodkin
Hi Daniel, David, On Mon, 2016-10-24 at 18:33 +, Alexey Brodkin wrote: > Hi Daniel, > > > > > -Original Message- > > From: linux-snps-arc [mailto:linux-snps-arc-boun...@lists.infradead.org] On > > Behalf Of Alexey Brodkin > > Sent: 19 октября 2016 г. 12:33 > > To: dri-de...@lists.fr

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-02 Thread Jike Song
On 11/02/2016 12:09 PM, Alexey Kardashevskiy wrote: > On 02/11/16 14:29, Kirti Wankhede wrote: >> >> >> On 11/2/2016 6:54 AM, Alexey Kardashevskiy wrote: >>> On 02/11/16 01:01, Kirti Wankhede wrote: On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: > On 27/10/16 23:31, Kirti Wan

[RFC PATCH] perf/x86/intel/rapl: avoid access unallocate memory

2016-11-02 Thread Sebastian Andrzej Siewior
After the hotplug rework Charles Williams reported that his vmware virtualized system no longer boots and crashes in rapl_cpu_online(). As it turns out topology_max_packages() reports four while topology_logical_package_id() for CPU two and three returns 65535. That means cpu_to_rapl_pmu() for thos

[PATCH 1/1] gpio: lib: Add gpio_is_enabled() to get pin mode

2016-11-02 Thread Laxman Dewangan
Many of devices/SoCs supports the GPIO and special IO function from their pins. On such cases, there is always configuration bits to select the mode of pin as GPIO or as the special IO mode. The functional modes are selected by pinmux option. When device booted and reach to kernel, it is not possi

Re: [PATCH v3 3/6] [media] rc-core: add support for IR raw transmitters

2016-11-02 Thread kbuild test robot
-Shyti/Add-support-for-IR-transmitters/20161102-184657 base: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next reproduce: make htmldocs All warnings (new ones prefixed by >>): make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make

Re: [PATCH V11 1/1] usb:serial: Add Fintek F81532/534 driver

2016-11-02 Thread Johan Hovold
On Fri, Oct 14, 2016 at 04:20:46PM +0800, Ji-Ze Hong (Peter Hong) wrote: > This driver is for Fintek F81532/F81534 USB to Serial Ports IC. > > F81532 spec: > https://drive.google.com/file/d/0B8vRwwYO7aMFOTRRMmhWQVNvajQ/view?usp= > sharing > > F81534 spec: > https://drive.google.com/file/d/0B8vRww

[PATCH RESEND] media: omap3isp: Use dma_request_chan() to requesting DMA channel

2016-11-02 Thread Peter Ujfalusi
With the new dma_request_chan() the client driver does not need to look for the DMA resource and it does not need to pass filter_fn anymore. By switching to the new API the driver can now support deferred probing against DMA. Signed-off-by: Peter Ujfalusi CC: Laurent Pinchart CC: Mauro Carvalho

[PATCH v2] f2fs: record inode updating status correctly

2016-11-02 Thread Chao Yu
We should record updating status of inode only for living inode, for those unlinked inode it needs to clear its ino cache, otherwise after the ino was been reused, it will cause unneeded node page writing during ->fsync. Signed-off-by: Chao Yu --- fs/f2fs/inode.c | 13 + 1 file chang

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-02 Thread Kirti Wankhede
On 11/2/2016 5:51 PM, Jike Song wrote: > On 11/02/2016 12:09 PM, Alexey Kardashevskiy wrote: >> On 02/11/16 14:29, Kirti Wankhede wrote: >>> >>> >>> On 11/2/2016 6:54 AM, Alexey Kardashevskiy wrote: On 02/11/16 01:01, Kirti Wankhede wrote: > > > On 10/28/2016 7:48 AM, Alexey Kard

[PATCH 3/3] usb: ohci-da8xx: rename driver to ohci-da8xx

2016-11-02 Thread Axel Haslam
To be consistent on the usb driver for the davinci platform follow the example of musb, and add the "-da8xx" postfix to the driver name. Signed-off-by: Axel Haslam --- drivers/usb/host/ohci-da8xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ohci-da8xx.c

[PATCH 0/3] fix ohci phy name

2016-11-02 Thread Axel Haslam
The usb ohci clock match is not working because the usb clock is registered as "ohci" instead of "ohci.0" But since there is only a single ohci instance, lets pass -1 to the platform data id parameter and avoid the extra ".0" matching. while we are fixing this, rename the driver to "ohci-da8xx" t

[PATCH 2/3] phy: da8xx-usb: rename the ohci device to ohci-da8xx

2016-11-02 Thread Axel Haslam
There is only one ohci on the da8xx series of chips, so remove the ".0" when creating the phy. Also add the "-da8xx" postfix to be consistent across davinci usb drivers. Signed-off-by: Axel Haslam --- drivers/phy/phy-da8xx-usb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --

[PATCH 1/3] ARM: davinci: da8xx: Fix ohci driver name

2016-11-02 Thread Axel Haslam
There is a single instance of the ohci driver, while the clk lookup table is making reference to "ohci" other subsystems (such as phy) are looking for "ohci.0" Since there is a single ohci instance, change the dev id to -1, and add the "-da8xx" for consitancy with the musb driver name. Signed-off

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-02 Thread Jike Song
On 11/02/2016 08:41 PM, Kirti Wankhede wrote: > On 11/2/2016 5:51 PM, Jike Song wrote: >> On 11/02/2016 12:09 PM, Alexey Kardashevskiy wrote: >>> Or you could just reference and use @mm as KVM and others do. Or there is >>> anything else you need from @current than just @mm? >>> >> >> I agree. If @

Re: [PATCH] soc: qcom: Add SoC info driver

2016-11-02 Thread Arnd Bergmann
On Wednesday 02 November 2016, Imran Khan wrote: > On 10/27/2016 7:11 PM, Arnd Bergmann wrote: > > On Thursday, October 27, 2016 6:40:27 PM CEST Imran Khan wrote: > >> On 10/26/2016 8:16 PM, Arnd Bergmann wrote: > >>> On Wednesday, October 26, 2016 7:42:08 PM CEST Imran Khan wrote: > >> > >> Yes. H

Re: [PATCH] mfd: stmpe: Fix RESET regression on STMPE2401

2016-11-02 Thread Patrice Chotard
On 11/01/2016 10:22 AM, Linus Walleij wrote: > Since commit c4dd1ba355aae2bc3d1213da6c66c53e3c31e028 > ("mfd: stmpe: Add reset support for all STMPE variant") > we're resetting the STMPE expanders before use. > > This caused a regression on the STMP2401 on the Nomadik > NHK8815: > > stmpe-i2c 0

[PATCH v3] phy: rcar-gen3-usb2: add sysfs for usb role swap

2016-11-02 Thread Yoshihiro Shimoda
This patch adds sysfs "role" for usb role swap. This parameter can be read and write. If you use this file as the following, you can swap the usb role. For example: 1) Connect a usb cable using 2 Salvator-x boards 2) On A-Device (ID pin is low), you input the following command: # echo periphe

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-02 Thread Kirti Wankhede
On 11/2/2016 6:30 PM, Jike Song wrote: > On 11/02/2016 08:41 PM, Kirti Wankhede wrote: >> On 11/2/2016 5:51 PM, Jike Song wrote: >>> On 11/02/2016 12:09 PM, Alexey Kardashevskiy wrote: Or you could just reference and use @mm as KVM and others do. Or there is anything else you need from

Re: tmpfs returns incorrect data on concurrent pread() and truncate()

2016-11-02 Thread Theodore Ts'o
On Tue, Nov 01, 2016 at 06:38:26PM -0700, Hugh Dickins wrote: > > Put simple: page locks are insufficient as a generic mechanism for > > serialising filesystem operations. The locking required for this is > > generally deeply filesystem implementation specific, so it's fine > > that the VFS doesn't

Re: [PATCH 3/5] ARM: multi_v7_defconfig: Remove CONFIG_ST_THERMAL_MEMMAP Kconfig symbol

2016-11-02 Thread Patrice Chotard
On 10/24/2016 12:14 PM, Peter Griffin wrote: > Hi Patrice, > > On Fri, 21 Oct 2016, patrice.chot...@st.com wrote: > >> From: Patrice Chotard >> >> Driver code has been already removed, see >> http://www.spinics.net/lists/devicetree/msg143322.html >> Remove the multi_v7_defconfig part >> >> Sig

Re: [PATCH RFC 0/4] Fix PDF build errors

2016-11-02 Thread Jani Nikula
On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > Em Wed, 02 Nov 2016 13:14:47 +0200 > Jani Nikula escreveu: > >> On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: >> > This series address a series of errors during PDF generation from >> > media documentation. >> > >> > Please notice that patc

Re: [PATCH V3 8/9] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-11-02 Thread Lukasz Luba
Hi Steve, Please find my comments below. Apart from these 2 comments, 10sec is not to long (waiting for the temperature change)? On 31/10/16 16:02, Steve Twiss wrote: From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs.

Re: [PATCH] kexec: Export memory sections virtual addresses to vmcoreinfo

2016-11-02 Thread Dave Anderson
- Original Message - > Hi Dave, > > On 11/01/16 at 10:13am, Dave Anderson wrote: > > > > > > > > But we have this in mainline which also introduced the VMCOREINFO > > > > numbers, can you send a patch to revert them? > > > > > > OK, will do. > > > > > > However for find_vmemmap_x86_6

Re: [PATCH 0/3] ARM: dts: sun9i: Enable SDIO-based WiFi

2016-11-02 Thread Maxime Ripard
On Fri, Oct 28, 2016 at 06:11:51PM +0800, Chen-Yu Tsai wrote: > Hi Maxime, > > Now that we have support for both PMICs, we can turn on the > regulators needed for the onboard WiFi chips. > > This is a fairly simple series. The WiFi chips themselves are > supported by the brcmfmac driver, but the

Re: [PATCH v10 09/19] vfio iommu type1: Add support for mediated devices

2016-11-02 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > VFIO IOMMU drivers are designed for the devices which are IOMMU capable. > Mediated device only uses IOMMU APIs, the underlying hardware can be > managed by an IOMMU domain. > > Aim of this change is: > - To use most of the code of TYPE1 IOMMU driver

Re: [PATCH 00/14] pinctrl-sx150x: Various bug-fixes and code simplifications

2016-11-02 Thread Neil Armstrong
On 11/02/2016 12:01 PM, Neil Armstrong wrote: > On 11/01/2016 04:57 PM, Andrey Smirnov wrote: >> Linus, Neil: >> >> I've had some help and got my hardware setup modified to enable IRQ >> functionality testing, so ended up looking at the code of SX150x more >> resulting in some code improvements (ho

Re: [PATCH v2 0/3] ARM: dts: sun8i: Support NanoPi SBCs

2016-11-02 Thread Maxime Ripard
On Fri, Oct 28, 2016 at 03:59:00PM +0900, Milo Kim wrote: > NanoPi M1 and NEO have common features, so duplicate properties can be > moved into new dtsi file. Applied all three, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com sig

Re: [PATCH v3 2/9] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-11-02 Thread Cyrille Pitchen
Le 02/11/2016 à 12:11, Jagan Teki a écrit : > On Wed, Nov 2, 2016 at 4:19 PM, Cyrille Pitchen > wrote: >> Hi, >> >> Le 31/10/2016 à 19:51, Jagan Teki a écrit : >>> Hi Cyrille, >>> >>> On Mon, Oct 24, 2016 at 10:04 PM, Cyrille Pitchen >>> wrote: This patch provides an alternative mean to supp

[PATCH 2/3] tools build: Add jvmti feature detection support

2016-11-02 Thread Jiri Olsa
Adding support to detect jvmti support. It is not plugged into the FEATURE_TESTS machinery, because it's quite rare and will be used separately from perf via feature_check call. Link: http://lkml.kernel.org/n/tip-0ijegqf46qirs2azru6gi...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/build/fe

[PATCH 0/3] perf tools: Plug jvmti compilation into perf build

2016-11-02 Thread Jiri Olsa
hi, adding jvmti compilation under perf build, so it's easy to put it under rpm. I plan on updating fedora/rhel perf rpm, to have the jvmti placed in like: $ rpm -qpl build/x86_64/perf-4.8.5-300.fc24.x86_64.rpm | grep jvmti /usr/lib64/libperf-jvmti.so Stephane, I'm keeping the jvmti/Makefile

[PATCH 3/3] perf tools: Plug jvmti compilation into perf build

2016-11-02 Thread Jiri Olsa
Compile jvmti agent as part of the perf build. The agent library is called libperf-jvmti.so and is installed in default place together with other files: $ make libperf-jvmti.so BUILD: Doing 'make -j4' parallel build ... CC jvmti/libjvmti.o CC jvmti/jvmti_agent.o

[PATCH 1/3] tools build: Add CFLAGS_REMOVE_* support

2016-11-02 Thread Jiri Olsa
Adding support to remove options from final CFLAGS for both object file and build target. It's now possible to remove CFLAGS options like: CFLAGS_REMOVE_krava.o += -Wstrict-prototypes Link: http://lkml.kernel.org/n/tip-0t59dihg30fh035xo69df...@git.kernel.org Signed-off-by: Jiri Olsa --- tools

mlx5: ifup failure due to huge allocation

2016-11-02 Thread Sebastian Ott
Hi, Ifup on an interface provided by CX4 (MLX5 driver) on s390 fails with: [ 22.318553] [ cut here ] [ 22.318564] WARNING: CPU: 1 PID: 399 at mm/page_alloc.c:3421 __alloc_pages_nodemask+0x2ee/0x1298 [ 22.318568] Modules linked in: mlx4_ib ib_core mlx5_core mlx4_en m

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-02 Thread Jike Song
On 11/02/2016 09:18 PM, Kirti Wankhede wrote: > On 11/2/2016 6:30 PM, Jike Song wrote: >> On 11/02/2016 08:41 PM, Kirti Wankhede wrote: >>> On 11/2/2016 5:51 PM, Jike Song wrote: On 11/02/2016 12:09 PM, Alexey Kardashevskiy wrote: > Or you could just reference and use @mm as KVM and others

Re: [PATCH v2 4/4] spi: sun6i: Support Allwinner H3 SPI controller

2016-11-02 Thread Maxime Ripard
On Fri, Oct 28, 2016 at 03:54:12PM +0900, Milo Kim wrote: > H3 has two SPI controllers. The size of the buffer is 64 * 8. > (8 bit transfer by 64 entry FIFO) > A31 has four controllers. The size of the buffer is 128 * 8. > (8 bit transfer by 128 entry FIFO) > > Register maps are sharable, so sun6i

Re: [PATCH] pinctrl: sunxi: make bool drivers explicitly non-modular

2016-11-02 Thread Maxime Ripard
On Sat, Oct 29, 2016 at 08:00:30PM -0400, Paul Gortmaker wrote: > None of the Kconfigs for any of these drivers are tristate, > meaning that they currently are not being built as a module by anyone. > > Lets remove the modular code that is essentially orphaned, so that > when reading the drivers t

Re: [PATCH] kexec: Export memory sections virtual addresses to vmcoreinfo

2016-11-02 Thread Baoquan He
On 11/02/16 at 09:29am, Dave Anderson wrote: > > > - Original Message - > > Hi Dave, > > > > On 11/01/16 at 10:13am, Dave Anderson wrote: > > > > > > > > > > > But we have this in mainline which also introduced the VMCOREINFO > > > > > numbers, can you send a patch to revert them? > >

[PATCH] f2fs: hide a maybe-uninitialized warning

2016-11-02 Thread Arnd Bergmann
gcc is unsure about the use of last_ofs_in_node, which might happen without a prior initialization: fs/f2fs//git/arm-soc/fs/f2fs/data.c: In function ‘f2fs_map_blocks’: fs/f2fs/data.c:799:54: warning: ‘last_ofs_in_node’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (prea

Re: [PATCH v2] f2fs: replace a build-time warning with runtime WARN_ON

2016-11-02 Thread Arnd Bergmann
On Wednesday 02 November 2016, Chao Yu wrote: > Hi Arnd, Jaegeuk, > > It is trivial, but it's better keep commit *title*, commit log and code > consistent. :) Sorry for my silly mistake, sent it again with a new subject now. Arnd

Re: [PATCH v2 1/2] net: stmmac: Add OXNAS Glue Driver

2016-11-02 Thread Neil Armstrong
On 10/31/2016 12:12 PM, Joachim Eastwood wrote: > Hi Neil, > > On 31 October 2016 at 11:54, Neil Armstrong wrote: >> Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. >> >> Acked-by: Joachim Eastwood >> Signed-off-by: Neil Armstrong >> --- >> +static int oxnas_dwmac_ini

Re: [PATCH v2] EFI loader: remove redundant code

2016-11-02 Thread Eugene Korenevsky
> > *e820ext is always NULL in 'alloc_e820ext()' (see the code of > > 'exit_boot()'). > > Without loss of generality we can replace freeing with returning > > EFI_INVALID_PARAMETER. So if the caller would ever incorrectly pass non-NULL > > *e820ext, he will obtain a returned error code. > > > > W

Re: [PATCH v2] EFI loader: remove redundant code

2016-11-02 Thread Ard Biesheuvel
On 2 November 2016 at 13:56, Eugene Korenevsky wrote: >> > *e820ext is always NULL in 'alloc_e820ext()' (see the code of >> > 'exit_boot()'). >> > Without loss of generality we can replace freeing with returning >> > EFI_INVALID_PARAMETER. So if the caller would ever incorrectly pass >> > non-NU

Re: [4.9-rc3] BUG: unable to handle kernel paging request at ffffc900144dfc60

2016-11-02 Thread Andy Lutomirski
On Wed, Nov 2, 2016 at 3:50 AM, Tetsuo Handa wrote: > Linus Torvalds wrote: >> On Tue, Nov 1, 2016 at 8:36 AM, Tetsuo Handa >> wrote: >> > >> > I got an Oops with khungtaskd. This kernel was built with >> > CONFIG_THREAD_INFO_IN_TASK=y . >> > Is this same reason? >> >> CONFIG_THREAD_INFO_IN_TASK

Re: [PATCH] scsi: mpt3sas: fix some spelling mistakes in message and comments

2016-11-02 Thread Alexander Alemayhu
On Mon, Oct 31, 2016 at 09:34:46AM -0600, Colin King wrote: > From: Colin Ian King > > Trival fixes, minor spelling mistakes in comments and in a KERN_INFO > message. It's hard to see which words changed. A summary would have been nice, something like: o "appropiately" -> "appropriately" o "bec

RE: [patch v2] i2c: add master driver for mellanox systems

2016-11-02 Thread Vadim Pasternak
Hi, Sorry for reminding regarding the patch. Should I modify it? Re-submit? Thank you very much, Vadim. > -Original Message- > From: Vadim Pasternak > Sent: Wednesday, September 28, 2016 2:51 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger

[PATCH v3 1/2] net: stmmac: Add OXNAS Glue Driver

2016-11-02 Thread Neil Armstrong
Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. Acked-by: Joachim Eastwood Signed-off-by: Neil Armstrong --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 ++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + drivers/net/ethernet/stmicro/stmmac/dwma

[PATCH v3 0/2] net: stmmac: Add OXNAS DWMAC Glue

2016-11-02 Thread Neil Armstrong
This patchset add support for the Sysnopsys DWMAC Gigabit Ethernet controller Glue layer of the Oxford Semiconductor OX820 SoC. Changes since v2 at http://lkml.kernel.org/r/20161031105345.16711-1-narmstr...@baylibre.com : - Disable/Unprepare clock if regmap read fails in oxnas_dwmac_init Change

[PATCH v3 2/2] dt-bindings: net: Add OXNAS DWMAC Bindings

2016-11-02 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- .../devicetree/bindings/net/oxnas-dwmac.txt| 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/oxnas-dwmac.txt diff --git a/Documentation/devicetree/bindings/net/oxnas-dwmac.txt b/Docum

[PATCH] igb: Workaround for igb i210 firmware issue.

2016-11-02 Thread Chris J Arges
Sometimes firmware may not properly initialize I347AT4_PAGE_SELECT causing the probe of an igb i210 NIC to fail. This patch adds an addition zeroing of this register during igb_get_phy_id to workaround this issue. Thanks for Jochen Henneberg for the idea and original patch. Signed-off-by: Chris J

Re: [PATCH v10 08/19] vfio iommu type1: Add find_iommu_group() function

2016-11-02 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > Add find_iommu_group() > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo Jia > Change-Id: I9d372f1ebe9eb01a5a21374b8a2b03f7df73601f > --- > drivers/vfio/vfio_iommu_type1.c | 58 > - > 1 file changed, 3

[PATCH v2 2/2] MAINTAINERS: oxnas: Add new files definitions

2016-11-02 Thread Neil Armstrong
Fix the dts files maintained by the OXNAS platform, add a new board. Signed-off-by: Neil Armstrong --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1cd38a7..29d8853 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1478,8 +1478,9

[PATCH v2 0/3] ARM: dts: oxnas: Update support for OX820 and use dt-bindings

2016-11-02 Thread Neil Armstrong
This patchset updates the ARM DTS for the Oxnas platform by : - Add support for the Oxford Semicondutor OX820 and the PogoPlug V3 - Fix the MAINTAINERS entry and add the PogoPlug V3 file maintainance Changes since v1 at http://lkml.kernel.org/r/20161021151037.20112-1-narmstr...@baylibre.com : -

[PATCH v2 1/2] ARM: dts: Add support for OX820 and Pogoplug V3

2016-11-02 Thread Neil Armstrong
Add device tree for the Oxford Seminconductor OX820 SoC and the Cloud Engines PogoPlug v3 board. Add the SoC and board compatible strings to oxnas bindings. Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/oxnas.txt| 5 + arch/arm/boot/dts/Make

Re: [PATCH 09/60] dm: dm.c: replace 'bio->bi_vcnt == 1' with !bio_multiple_segments

2016-11-02 Thread Mike Snitzer
On Wed, Nov 02 2016 at 3:56am -0400, Ming Lei wrote: > On Wed, Nov 2, 2016 at 11:09 AM, Kent Overstreet > wrote: > > On Mon, Oct 31, 2016 at 08:29:01AM -0700, Christoph Hellwig wrote: > >> On Sat, Oct 29, 2016 at 04:08:08PM +0800, Ming Lei wrote: > >> > Avoid to access .bi_vcnt directly, becaus

<    1   2   3   4   5   6   7   >