Re: [PATCH RFC/RFT] sched/fair: Improve the behavior of sync flag

2017-08-27 Thread Mike Galbraith
On Sat, 2017-08-26 at 23:39 -0700, Joel Fernandes wrote: > > > P.S. to get the most bang for your synchronous buck, you want a > > preemptive wakeup.. but that butts heads with the fair engine. > > > > By preemptive wake up I guess you mean the waker would give up its > time slice and let the wak

[GIT PULL] Staging/IIO driver fixes for 4.13-rc7

2017-08-27 Thread Greg KH
The following changes since commit ef954844c7ace62f773f4f23e28d2d915adc419f: Linux 4.13-rc5 (2017-08-13 16:01:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.13-rc7 for you to fetch changes up to 2c6f1d7

Re: [PATCH] of: do not leak console options

2017-08-27 Thread Sergey Senozhatsky
Hello, (Cc Andrew, Grant) On (08/25/17 17:37), Rob Herring wrote: > On Sat, Aug 26, 2017 at 02:36:47AM +0900, Sergey Senozhatsky wrote: > > If add_preferred_console() returns error then we must free a > > copy of `of_stdout_options' that we create right before the > > console registration. > > >

[GIT PULL] Char/Misc driver fixes for 4.13-rc7

2017-08-27 Thread Greg KH
The following changes since commit ef954844c7ace62f773f4f23e28d2d915adc419f: Linux 4.13-rc5 (2017-08-13 16:01:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.13-rc7 for you to fetch changes up to b2a6d1b

Re: [stable 4.4 0/2 V2] missing mei device ids

2017-08-27 Thread Greg Kroah-Hartman
On Sun, Aug 27, 2017 at 08:52:50AM +0300, Tomas Winkler wrote: > Device ids that are missing in 4.4 stable > > Tomas Winkler (2): > mei: me: add broxton pci device ids > mei: me: add lewisburg device ids Thanks for the update, both now applied. greg k-h

Re: [PATCH v2 1/2] power: supply: move HDQ interface for bq27xxx from w1 to power/supply

2017-08-27 Thread Evgeniy Polyakov
Hi everyone Sorry for long delay 25.07.2017, 16:48, "Sebastian Reichel" : > Here is a signed immutable branch for Andrew's patch, which moves > bq27000 w1 driver to the power-supply subsystem. I guess git will > figure everything out without this, but better safe than sorry :) > > The following c

Re: [PATCH v4 0/5] w1: ds1wm: register access patch

2017-08-27 Thread Evgeniy Polyakov
Hi everyone 25.07.2017, 14:27, "Johannes Poehlmann" : > To make the ds1wm driver work on a powerpc architecture (big endian, 32bit) > with a register offset multiplier of 4 I had to make some changes to > Version 4 of the patchset >    work on Greg Kroah-Hartmanns comments: > o added changelog to

Re: [PATCH v4 1/2] wire: export w1_touch_bit

2017-08-27 Thread Evgeniy Polyakov
Hi 19.07.2017, 23:14, "Jan Kandziora" : > The w1_ds28e17 driver from the next part of this patch needs to emit > single-bit read timeslots to the DS28E17. The w1 subsystem already > has this function but it is not exported outside drivers/w1/w1_io.c > > This subpatch exports the w1_touch_bit symbo

Re: [PATCH linux v5 0/3] Export 1-wire thermal sensors as hwmon device

2017-08-27 Thread Evgeniy Polyakov
Hi 18.07.2017, 02:09, "Jaghathiswari Rankappagounder Natarajan" : > Hi Greg, > Please pull in this patchset into the tree. Thanks! Here is a patchset, is it visible in your mailbox? If so, please pull it into your tree. > Summary of what this patchset does: > > Our board has 4 DS18B20 1-wire tem

[PATCH] nubus: remove cast to void pointer

2017-08-27 Thread Himanshu Jha
Casting void pointers to other pointer types in unnecessary. Signed-off-by: Himanshu Jha --- drivers/nubus/nubus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index df431e8..5450f1a 100644 --- a/drivers/nubus/nubus.c +++ b

[PATCH] be2net: Fix some u16 fields appropriately

2017-08-27 Thread Haishuang Yan
In be_tx_compl_process, frag_index declared as u32, so it's better to declare last_index as u32 also. CC: Ajit Khaparde Fixes: b0fd2eb28bd4 ("be2net: Declare some u16 fields as u32 to improve performance") Signed-off-by: Haishuang Yan --- drivers/net/ethernet/emulex/benet/be.h | 2 +- driv

Re: [PATCH v2] w1:fix byteorder of W1_READ_ROM id under big-endian cpu

2017-08-27 Thread Evgeniy Polyakov
Hi Chen 19.07.2017, 10:58, "Chen Lin" : > The byteorder of para rn(W1_READ_ROM id) pass to w1_slave_found must > be the same with the byterorder defined in struct w1_reg_num. > > The rn read from 'rv = w1_read_block(dev, (u8 *)&rn, 8)' is a byte > serial and not cpu endian relative, it need to cha

Re: I/O hangs after resuming from suspend-to-ram

2017-08-27 Thread Oleksandr Natalenko
Hi. Here is disk setup for QEMU VM: === [root@archmq ~]# smartctl -i /dev/sda … Device Model: QEMU HARDDISK Serial Number:QM1 Firmware Version: 2.5+ User Capacity:4,294,967,296 bytes [4.29 GB] Sector Size: 512 bytes logical/physical Device is:Not in smartctl database

Re: [Qemu-devel] kvm_intel fails to load on Conroe CPUs running Linux 4.12

2017-08-27 Thread Gerhard Wiesinger
On 17.08.2017 23:14, Gerhard Wiesinger wrote: On 17.08.2017 22:58, Gerhard Wiesinger wrote: > > On 07.08.2017 19:50, Paolo Bonzini wrote: > > >Not much to say, unfortunately. It's pretty much the same capabilities > >as a Prescott/Cedar Mill processor, except that it has MSR bitmaps. It > >also l

[PATCH 0/6] perf tools: Minor build fixes

2017-08-27 Thread David Carrillo-Cisneros
Collection of minor fixes to compile with LLVM and non-standard tool names. David Carrillo-Cisneros (6): tools build tests: Don't hardcode gcc name perf tools: Allow external definition of flex and bison binary names tools lib: Allow external definition of CC, AR and LD perf tools: Robusti

[PATCH 1/6] tools build tests: Don't hardcode gcc name

2017-08-27 Thread David Carrillo-Cisneros
Use $(CC) instead of harcoded gcc binary name. Signed-off-by: David Carrillo-Cisneros --- tools/build/tests/ex/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/tests/ex/Makefile b/tools/build/tests/ex/Makefile index c50d5782ad5a..027d6c8a58a7 100644 --- a/

[PATCH 5/6] perf tools: Remove BUG_ON char[] to bool implicit conversions

2017-08-27 Thread David Carrillo-Cisneros
When compiling with LLVM, errors like this are shown: builtin-lock.c:46:10: error: implicit conversion turns string literal into bool: 'const char [39]' to 'bool' Due to error message implicit conversion into bool. Fix it by defining a BUG macro without a boolean argument and use it instead.

[PATCH 3/6] tools lib: Allow external definition of CC, AR and LD

2017-08-27 Thread David Carrillo-Cisneros
Use already defined values for CC, AR and LD when available. Signed-off-by: David Carrillo-Cisneros --- tools/lib/api/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile index eb6e0b36bfc1..2538675731c7 100644 --- a/t

[PATCH 2/6] perf tools: Allow external definition of flex and bison binary names

2017-08-27 Thread David Carrillo-Cisneros
Allow user to define flex and bison binary names by passing FLEX and BISON variables. Signed-off-by: David Carrillo-Cisneros --- tools/perf/Makefile.perf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index a700a079a218

[PATCH 6/6] perf tools: Pass full path of FEATURES_DUMP

2017-08-27 Thread David Carrillo-Cisneros
When building with an external FEATURES_DUMP, bpf complains that features dump file is not found. Fix it by passing full file path. Signed-off-by: David Carrillo-Cisneros --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf b/t

[PATCH 4/6] perf tools: Robustify detection of clang binary

2017-08-27 Thread David Carrillo-Cisneros
Prior to this patch, make scripts tested for CLANG with ifeq ($(CC), clang), failing to detect CLANG binaries with different names. Fix it by testing for the existence of __clang__ macro in the list of compiler defined macros. Signed-off-by: David Carrillo-Cisneros --- tools/lib/api/Makefile

Re: [PATCH] of: do not leak console options

2017-08-27 Thread Sergey Senozhatsky
On (08/27/17 16:19), Sergey Senozhatsky wrote: [..] > int uart_parse_earlycon(char *p, unsigned char *iotype, resource_size_t *addr, > char **options) > { > if (strncmp(p, "mmio,", 5) == 0) { > *iotype = UPIO_MEM; > p += 5; > } else if (

Re: [PATCH] RDMA/bnxt_re: remove unnecessary call to memset

2017-08-27 Thread Yuval Shaia
On Fri, Aug 25, 2017 at 09:41:02PM +0530, Himanshu Jha wrote: > call to memset to assign 0 value immediately after allocating > memory with kzalloc is unnecesaary as kzalloc allocates the memory > filled with 0 value. > > Signed-off-by: Himanshu Jha > --- > drivers/infiniband/hw/bnxt_re/ib_verbs

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Alexandre Belloni
On 27/08/2017 at 04:30:08 +0200, Andreas Färber wrote: > Am 27.08.2017 um 04:05 schrieb Andrew Lunn: > > n Sun, Aug 27, 2017 at 02:33:27AM +0200, Andreas Färber wrote: > >> +struct rtd119x_rtc { > >> + void __iomem *base; > >> + struct clk *clk; > >> + struct rtc_device *rtcdev; > >> + unsigned

Re: Support for advanced documentation around data type definitions

2017-08-27 Thread SF Markus Elfring
Hello, Do you find it relevant to clarify the following details? Some data type definitions are provided by Linux source files. How would you like to see them represented in the documentation formats which are generated by the Sphinx software? Regards, Markus

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Alexandre Belloni
Hi, Not much to add, apart from the spinlock issue already spotted by Andrew. On 27/08/2017 at 02:33:27 +0200, Andreas Färber wrote: > +struct rtd119x_rtc { > + void __iomem *base; > + struct clk *clk; > + struct rtc_device *rtcdev; > + unsigned base_year; checkpatch complains th

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Hi Andrew, Am 27.08.2017 um 05:27 schrieb Andrew Lunn: > On Sun, Aug 27, 2017 at 04:30:08AM +0200, Andreas Färber wrote: >> Am 27.08.2017 um 04:05 schrieb Andrew Lunn: >>> n Sun, Aug 27, 2017 at 02:33:27AM +0200, Andreas Färber wrote: +struct rtd119x_rtc { + void __iomem *base; +

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Am 27.08.2017 um 10:27 schrieb Alexandre Belloni: > On 27/08/2017 at 04:30:08 +0200, Andreas Färber wrote: >> Am 27.08.2017 um 04:05 schrieb Andrew Lunn: >> By that same argument we could ask why so many drivers (and mine, too) >> are calling rtc_valid_tm() when __rtc_read_time() calls it again...

Re: [RFC 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Hi Rob, Am 23.08.2017 um 02:29 schrieb Rob Herring: > On Sun, Aug 20, 2017 at 03:36:29AM +0200, Andreas Färber wrote: >> Add a binding for the RTC on the Realtek RTD119x/RTD129x SoC families. >> >> Signed-off-by: Andreas Färber >> --- >> .../devicetree/bindings/rtc/realtek,rtd119x.txt |

Re: [PATCH 2/2] leds: gpio: Allow LED to retain state at shutdown

2017-08-27 Thread Jacek Anaszewski
Hi Andrew, On 08/25/2017 09:32 AM, Pavel Machek wrote: > On Fri 2017-08-25 16:05:03, Andrew Jeffery wrote: >> In some systems, such as BMCs, we want to retain the state of LEDs >> across a reboot of the BMC whilst the host remains up. > > I'd spell out what BMC is... I agree with Pavel. Please g

Re: [PATCH] m68knommu: remove dead code

2017-08-27 Thread Angelo Dureghello
Hi, just to inform you that i have in mind to add spi(soon, at least seems just a matter con Kconfig changes) and usdhc(later) drivers/support for stmark2 mcf5441x based board. But no problem, in case i'll re-add the this code as needed. On 24/08/2017 16:34, Alexandre Belloni wrote: As CONFIG_R

Re: [PATCHv5 06/19] x86/boot/compressed/64: Detect and handle 5-level paging at boot-time

2017-08-27 Thread Cyrill Gorcunov
On Mon, Aug 21, 2017 at 06:29:03PM +0300, Kirill A. Shutemov wrote: > This patch prepare decompression code to boot-time switching between 4- > and 5-level paging. > > Signed-off-by: Kirill A. Shutemov > --- > arch/x86/boot/compressed/head_64.S | 24 > 1 file changed, 24

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Hi Alexandre, Am 27.08.2017 um 11:13 schrieb Alexandre Belloni: > Not much to add, apart from the spinlock issue already spotted by Andrew. > > On 27/08/2017 at 02:33:27 +0200, Andreas Färber wrote: >> +struct rtd119x_rtc { >> +void __iomem *base; >> +struct clk *clk; >> +struct rtc_d

[PATCH 1/2] Extend 1W master driver DS2482 with module option to support PPM/SPU/1WS features

2017-08-27 Thread Andrew Worsley
Extend the one wire DS2482 master driver with a module option that allows support for PPM/SPU/1WS interface modes to be requested. This allows support of chips that require one or more of these features such as the DS28E05. Signed-off-by: Andrew Worsley Acked-by: Evgeniy Polyakov --- drivers/w

[no subject]

2017-08-27 Thread Andrew Worsley
Hi, this extends the one wire master DS2482 driver to support other interfacing modes and adds a slave one wire DS28E05 EEPROM driver. This allows the one wire master DS2482 driver to support the OverDrive interface mode which is required for it to talk to the DS28E05 slave chip. These patches are

[PATCH 2/2] Add 1w slave driver for DS28E05 EEPROM

2017-08-27 Thread Andrew Worsley
Add a one wire driver for the DS28E05 one wire slave chip. This chip requires OverDrive support to talk to it. Signed-off-by: Andrew Worsley Acked-by: Evgeniy Polyakov --- drivers/w1/slaves/Kconfig | 8 ++ drivers/w1/slaves/Makefile| 1 + drivers/w1/slaves/w1_ds2805.c | 313

Re: [RFC PATCH v4 3/6] i2c: add docs to clarify DMA handling

2017-08-27 Thread Mauro Carvalho Chehab
Em Thu, 17 Aug 2017 16:14:46 +0200 Wolfram Sang escreveu: > Signed-off-by: Wolfram Sang > --- > Documentation/i2c/DMA-considerations | 50 > > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/i2c/DMA-considerations > > diff --git a/Docu

[PATCH 2/2] arm64: dts: uniphier: fix size of sdctrl node

2017-08-27 Thread Masahiro Yamada
All registers are located within 0x400 size from the base address. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/soci

[PATCH 1/2] arm64: dts: uniphier: add AIDET nodes

2017-08-27 Thread Masahiro Yamada
Add UniPhier AIDET (ARM Interrupt Detector) nodes to support active low interrupts. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 7 +++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch

[PATCH 1/2] ARM: dts: uniphier: add AIDET nodes

2017-08-27 Thread Masahiro Yamada
Add UniPhier AIDET (ARM Interrupt Detector) nodes to support active low interrupts. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4.dtsi | 7 +++ arch/arm/boot/dts/uniphier-pro4.dtsi | 7 +++ arch/arm/boot/dts/uniphier-pro5.dtsi | 7 +++ arch/arm/boot/dts/uniphier

[PATCH 2/2] ARM: dts: uniphier: fix size of sdctrl nodes

2017-08-27 Thread Masahiro Yamada
All registers are located within 0x400 size from the base address. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-pro5.dtsi | 2 +- arch/arm/boot/dts/uniphier-pxs2.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/uniphier-pro5.dtsi b/

Re: [PATCH v2] ASoC: Add a sanity check before using dai driver name

2017-08-27 Thread Mark Brown
On Sat, Aug 26, 2017 at 11:09:49PM +0800, Donglin Peng wrote: > It seems that the v3 patch should be applied other than v2. Please send incremental fixes rather than new versions for things that are are already applied. signature.asc Description: PGP signature

Re: kvm splat in mmu_spte_clear_track_bits

2017-08-27 Thread Adam Borowski
On Fri, Aug 25, 2017 at 03:40:50PM +0200, Paolo Bonzini wrote: > On 25/08/2017 15:14, Adam Borowski wrote: > >>> I would also try commit 1372324b328cd5dabaef5e345e37ad48c63df2a9 to > >>> identify whether it was caused by a KVM change in 4.13 or something > >>> else. > > I've ran different guests fo

[PATCH] DSA support for Micrel KSZ8895

2017-08-27 Thread Pavel Machek
Hi! So I fought with the driver a bit more, and now I have something that kind-of-works. "great great hack" belows worries me. Yeah, disabled code needs to be removed before merge. No, tag_ksz part probably is not acceptable. Do you see solution better than just copying it into tag_ksz1 file?

Re: [PATCH 0/4] net: stmmac: revert the EMAC bindings

2017-08-27 Thread Chen-Yu Tsai
On Sat, Aug 26, 2017 at 3:12 AM, Maxime Ripard wrote: > Hi, > > The bindings of the stmmac glue for the new Allwinner EMAC controller > are still controversial and being discussed, even though they've been > merged in 4.13. > > In order not to introduce any binding we do not really want to commit

[git pull] IOMMU Fixes for Linux iommu-fixes-v4.13-rc6

2017-08-27 Thread Joerg Roedel
Hi Linus, The following changes since commit a7990c647b35415e3dd07a077480a908678947ba: iommu/arm-smmu: fix null-pointer dereference in arm_smmu_add_device (2017-08-11 16:56:51 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/

[PATCH] Revert "pinctrl: sunxi: Don't enforce bias disable (for now)"

2017-08-27 Thread Priit Laes
This reverts commit 2154d94b40ea2a5de05245521371d0461bb0d669. The original patch was intented to avoid some issues with the sunxi gpio rework and was supposed to be reverted after all the required DT bits had been merged around v4.10. Signed-off-by: Priit Laes --- drivers/pinctrl/sunxi/pinctrl-

[PATCH 3/3] arm64: dts: realtek: Add ProBox2 Ava

2017-08-27 Thread Andreas Färber
Add a Device Tree for the PROBOX2 AVA TV Box. Move common memory reservations into rtd1295.dtsi. Cc: supp...@probox2.com Signed-off-by: Andreas Färber --- I've been torn on whether this should be just rtd1295-ava.dts? The vendor is indicated in the compatible string and model property. rtd1295

[PATCH 2/3] dt-bindings: arm: realtek: Add ProBox2 AVA

2017-08-27 Thread Andreas Färber
Document a compatible string for the PROBOX2 AVA TV Box. Cc: supp...@probox2.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree/b

[PATCH 1/3] dt-bindings: Add vendor prefix for ProBox2

2017-08-27 Thread Andreas Färber
PROBOX2 is a Hong Kong based manufacturer of TV boxes. Cc: supp...@probox2.com Signed-off-by: Andreas Färber --- I did not find a fully spelled out company name for this brand. http://probox2.com/contact-us/ https://www.facebook.com/pg/probox2/about/ Documentation/devicetree/bindings/vend

[PATCH 0/3] arm64: dts: Initial ProBox2 Ava support

2017-08-27 Thread Andreas Färber
Hello, This mini-series adds a Device Tree for the PROBOX2 AVA Android TV Box. Unlike the Zidoo X9S, serial (loady) was the only working way to boot a new kernel from the vendor's U-Boot on this TV Box. PROBOX2 support has been informed about bootloader issues with Ethernet, USB and FAT on SD; th

Re: Stable apply request [was: Bluetooth: bnep: fix possible might sleep error in bnep_session]

2017-08-27 Thread Greg KH
On Wed, Aug 23, 2017 at 08:14:15PM +0200, Marcel Holtmann wrote: > Hi Jiri, > > >>> It looks like bnep_session has same pattern as the issue reported in > >>> old rfcomm: > >>> > >>> while (1) { > >>> set_current_state(TASK_INTERRUPTIBLE); > >>> if (condition) > >>>

[PATCH v4 7/7] dpaa_eth: check allocation result

2017-08-27 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index 73ca8d7..4225806 100644 --- a/drivers/net/ethernet/freescal

[PATCH v4 6/7] Documentation: networking: add RSS information

2017-08-27 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- Documentation/networking/dpaa.txt | 68 ++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/Documentation/networking/dpaa.txt b/Documentation/networking/dpaa.txt index 76e016d..f88194f 100644 --- a/Documentation/n

[PATCH v4 1/7] fsl/fman: move struct fman to header file

2017-08-27 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 80 + drivers/net/ethernet/freescale/fman/fman.h | 75 +++ drivers/net/ethernet/freescale/fman/fman_port.c | 8 +-- 3 files changed, 82 insertions(+), 81 deletions(

[PATCH v4 0/7] Add RSS to DPAA 1.x Ethernet driver

2017-08-27 Thread Madalin Bucur
This patch set introduces Receive Side Scaling for the DPAA Ethernet driver. Documentation is updated with details related to the new feature and limitations that apply. Added also a small fix. v2: removed a C++ style comment v3: move struct fman to header file to avoid exporting a function v4: ad

[PATCH v4 5/7] dpaa_eth: add NETIF_F_RXHASH

2017-08-27 Thread Madalin Bucur
Set the skb hash when then FMan Keygen hash result is available. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 23 +++--- drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 1 + drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 9 +++

[PATCH v4 2/7] fsl/fman: enable FMan Keygen

2017-08-27 Thread Madalin Bucur
From: Iordache Florinel-R70177 Add support for the FMan Keygen with a hardcoded scheme to spread incoming traffic on a FQ range based on source and destination IPs and ports. Signed-off-by: Iordache Florinel Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/Makefile |

[PATCH v4 3/7] dpaa_eth: use multiple Rx frame queues

2017-08-27 Thread Madalin Bucur
Add a block of 128 Rx frame queues per port. The FMan hardware will send traffic on one of these queues based on the FMan port Parse Classify Distribute setup. The hash computed by the FMan Keygen block will select the Rx FQ. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/d

[PATCH v4 4/7] dpaa_eth: enable Rx hashing control

2017-08-27 Thread Madalin Bucur
Allow ethtool control of the Rx flow hashing. By default RSS is enabled, this allows to turn it off by bypassing the FMan Keygen block and sending all traffic on the default Rx frame queue. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 113

[PATCH] staging: r8822be: remove unnecessary call to memset

2017-08-27 Thread Himanshu Jha
call to memset to assign 0 value immediately after allocating memory with kzalloc is unnecesaary as kzalloc allocates the memory filled with 0 value. Build and tested it. Signed-off-by: Himanshu Jha --- drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_api_88xx.c | 2 -- drivers/staging/rtlwif

Re: [PATCH v4 1/3] dt-bindings: i2c: modify information formats

2017-08-27 Thread Wolfram Sang
On Mon, Aug 21, 2017 at 11:36:52AM +0800, Jun Gao wrote: > From: Jun Gao > > Use common name MediaTek and modify the compatible information > formats of all SoCs to the same. > > Signed-off-by: Jun Gao Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH v4 2/3] dt-bindings: i2c: Add MediaTek MT7622 i2c binding

2017-08-27 Thread Wolfram Sang
On Mon, Aug 21, 2017 at 11:36:53AM +0800, Jun Gao wrote: > From: Jun Gao > > Add MT7622 i2c binding to binding file. Compare to MT8173 i2c > controller, MT7622 limits message numbers to 255, and does not > support 4GB DMA mode. > > Signed-off-by: Jun Gao Applied to for-next, thanks! signatu

Re: [PATCH v4 3/3] i2c: mediatek: Add i2c compatible for MediaTek MT7622

2017-08-27 Thread Wolfram Sang
On Mon, Aug 21, 2017 at 11:36:54AM +0800, Jun Gao wrote: > From: Jun Gao > > Add i2c compatible for MT7622. Compare to MT8173 i2c controller, > MT7622 limits message numbers to 255, and does not support 4GB > DMA mode. > > Signed-off-by: Jun Gao > Reviewed-by: Yingjoe Chen Applied to for-next

Re: [PATCH net-next v7 05/10] landlock: Add LSM hooks related to filesystem

2017-08-27 Thread Mickaël Salaün
On 26/08/2017 03:16, Alexei Starovoitov wrote: > On Fri, Aug 25, 2017 at 10:16:39AM +0200, Mickaël Salaün wrote: >>> +/* a directory inode contains only one dentry */ +HOOK_NEW_FS(inode_create, 3, + struct inode *, dir, + struct dentry *, dentry, + umode_t, mode,

Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get

2017-08-27 Thread Wolfram Sang
On Wed, Aug 16, 2017 at 05:17:13PM -0500, Franklin S Cooper Jr wrote: > The i2c driver can run into driver dependency issues if its loaded > before a clock driver it depends on. Therefore, EPROBE_DEFER may be > returned by devm_clk_get and should be returned in probe to allow the > kernel to reprob

Re: [PATCH 1/3] thunderbolt: Remove superfluous check

2017-08-27 Thread Mika Westerberg
On Tue, Aug 15, 2017 at 10:02:28AM +0300, Mika Westerberg wrote: > On Tue, Aug 15, 2017 at 08:19:01AM +0300, Bernat, Yehezkel wrote: > > The key size is tested by hex2bin() already (as '\0' isn't an hex digit) > > > > Suggested-by: Andy Shevchenko > > Signed-off-by: Yehezkel Bernat > > Acked-by

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Andrew Lunn
> >> +static inline int rtd119x_rtc_year_days(int year) > >> +{ > >> + return rtc_year_days(1, 12, year); > > > > I'm not sure it is worth wrapping rtc_year_days > [snip] > > Well, I found your rtc_year_days rather confusing and had to play with > the arguments until I got it working as expected

Applied "ASoC: davinci-mcasp: check memory allocation failure" to the asoc tree

2017-08-27 Thread Mark Brown
The patch ASoC: davinci-mcasp: check memory allocation failure has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Re: [PATCH] MAINTAINERS: drop entry for Blackfin I2C and Sonic's email

2017-08-27 Thread Wolfram Sang
On Sun, Aug 13, 2017 at 05:34:31PM +0200, Wolfram Sang wrote: > Sonic's email address bounced, so remove it from MAINTAINERS. Since > there was no I2C/TWI maintenance activity for 3 years now, drop that > whole entry. > > Signed-off-by: Wolfram Sang Applied to i2c/for-next, thanks! signature.

Applied "ASoC: Add a sanity check before using dai driver name" to the asoc tree

2017-08-27 Thread Mark Brown
The patch ASoC: Add a sanity check before using dai driver name has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Re: [PATCH RESEND] blackfin: merge the two TWI header files

2017-08-27 Thread Wolfram Sang
On Sun, Aug 13, 2017 at 04:21:17PM +0200, Wolfram Sang wrote: > There seems to be no need for separate ones since all users include both > files anyhow. Merge them because include/linux/i2c is to be deprecated. > > Signed-off-by: Wolfram Sang Applied to i2c/for-next, thanks! signature.asc Des

Re: [PATCH resend] thunderbolt: Fix reset response_type

2017-08-27 Thread Mika Westerberg
On Wed, Aug 16, 2017 at 11:54:17AM +0300, Dan Carpenter wrote: > There is a mistake here where we accidentally use sizeof(TB_CFG_PKG_RESET) > instead of just TB_CFG_PKG_RESET. The size of an int is 4 so it's the > same as TB_CFG_PKG_NOTIFY_ACK. > > Fixes: d7f781bfdbf4 ("thunderbolt: Rework contro

Re: [RFC 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-08-27 Thread Andrew Lunn
> Thanks. Did you read the RFC question in the cover letter as well and > have any comments? Downstream has an rtc-base-year = <2014>; property > that I had left out in this RFC and due to your ack not included in v2. > > Should we default to 2014 in the driver and add an optional base-year > prop

Re: [PATCH v2] ASoC: Add a sanity check before using dai driver name

2017-08-27 Thread Donglin Peng
Hi Jeffy, On Sun, Aug 27, 2017 at 8:19 PM, Mark Brown wrote: > On Sat, Aug 26, 2017 at 11:09:49PM +0800, Donglin Peng wrote: > >> It seems that the v3 patch should be applied other than v2. > > Please send incremental fixes rather than new versions for things that > are are already applied. You

[PATCH] x86/boot: provide more slack space during decompression

2017-08-27 Thread Jan H . Schönherr
The current slack space is not enough for LZ4, which has a worst case overhead of 0.4% for data that cannot be further compressed. With an LZ4 compressed kernel with an embedded initrd, the output is likely to overwrite the input. Increase the slack space to avoid that. Signed-off-by: Jan H. Schö

[PATCH RESEND] regulator: rn5t618: add RC5T619 PMIC support

2017-08-27 Thread Pierre-Hugues Husson
Extend the driver to support Ricoh RC5T619. Support the additional regulators and slightly different voltage ranges. Signed-off-by: Pierre-Hugues Husson --- drivers/regulator/Kconfig | 4 ++-- drivers/regulator/rn5t618-regulator.c | 35 +++ include/li

Re: [PATCH] DSA support for Micrel KSZ8895

2017-08-27 Thread Andrew Lunn
On Sun, Aug 27, 2017 at 02:36:58PM +0200, Pavel Machek wrote: > Hi! > > So I fought with the driver a bit more, and now I have something that > kind-of-works. Thanks for keeping on working on this. > "great great hack" belows worries me. > > Yeah, disabled code needs to be removed before merg

Re: [PATCH 1/9] ASoC: max98927: Added TDM support

2017-08-27 Thread Mark Brown
On Fri, Aug 25, 2017 at 05:41:02PM -0700, Ryan Lee wrote: > Signed-off-by: Ryan Lee This says it's adding support for TDM mode but... > + case SND_SOC_DAIFMT_DSP_A: > + format = MAX98927_PCM_FORMAT_TDM_MODE1; > + break; > + case SND_SOC_DAIFMT_DSP_B: > +

Re: [PATCH v2] ASoC: Add a sanity check before using dai driver name

2017-08-27 Thread Mark Brown
On Sun, Aug 27, 2017 at 09:54:09PM +0800, Donglin Peng wrote: > On Sun, Aug 27, 2017 at 8:19 PM, Mark Brown wrote: > > Please send incremental fixes rather than new versions for things that > > are are already applied. > You should send a incremental patch rather than v3 patch, because your > v2

Applied "regulator: rn5t618: add RC5T619 PMIC support" to the regulator tree

2017-08-27 Thread Mark Brown
The patch regulator: rn5t618: add RC5T619 PMIC support has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Re: [PATCH v2] ASoC: Add a sanity check before using dai driver name

2017-08-27 Thread Mark Brown
On Sun, Aug 27, 2017 at 10:31:52PM +0800, Jeffy Chen wrote: This is a HTML only mail and I have a text only client... signature.asc Description: PGP signature

Re: [PATCH v3 05/14] [media] cxd2880: Add tuner part of the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:37:14 +0900 escreveu: > From: Yasunari Takiguchi > > This part of the driver has the main routines to handle > the tuner and demodulator functionality. The tnrdmd_mon.* files > have monitor functions for the driver. > This is part of the Sony CXD2880 DVB-T2/T tuner + dem

Re: [PATCH v3 05/14] [media] cxd2880: Add tuner part of the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Sun, 27 Aug 2017 11:45:44 -0300 Mauro Carvalho Chehab escreveu: > Em Wed, 16 Aug 2017 13:37:14 +0900 > escreveu: > > > From: Yasunari Takiguchi > > > > This part of the driver has the main routines to handle > > the tuner and demodulator functionality. The tnrdmd_mon.* files > > have moni

Re: [PATCH] spi-nor: intel-spi: Fix Kconfig dependency to LPC_ICH

2017-08-27 Thread Mika Westerberg
On Fri, Aug 25, 2017 at 08:11:54PM +0800, Bin Meng wrote: > Other LPC_ICH users (like gpio, watchdog) use the 'select' logic, so I > would prefer to keep things consistent. Fair enough. Acked-by: Mika Westerberg

Re: [Qemu-devel] kvm_intel fails to load on Conroe CPUs running Linux 4.12

2017-08-27 Thread Gerhard Wiesinger
On 27.08.2017 14:03, Paolo Bonzini wrote: Il 27 ago 2017 9:49 AM, "Gerhard Wiesinger" ha scritto: On 17.08.2017 23:14, Gerhard Wiesinger wrote: On 17.08.2017 22:58, Gerhard Wiesinger wrote: On 07.08.2017 19:50, Paolo Bonzini wrote: Not much to say, unfortunately. It's pretty much the same

[PATCH 2/4] irda: move drivers/net/irda to drivers/staging/irda/drivers

2017-08-27 Thread Greg Kroah-Hartman
Move the irda drivers from drivers/net/irda/ to drivers/staging/irda/drivers as they will be deleted in a future kernel release. Signed-off-by: Greg Kroah-Hartman --- drivers/net/Makefile| 1 - drivers/staging/Makefile|

[PATCH 1/4] irda: move net/irda/ to drivers/staging/irda/net/

2017-08-27 Thread Greg Kroah-Hartman
It's time to get rid of IRDA. It's long been broken, and no one seems to use it anymore. So move it to staging and after a while, we can delete it from there. To start, move the network irda core from net/irda to drivers/staging/irda/net/ Signed-off-by: Greg Kroah-Hartman --- drivers/staging/

[PATCH 3/4] irda: move include/net/irda into staging subdirectory

2017-08-27 Thread Greg Kroah-Hartman
And finally, move the irda include files into drivers/staging/irda/include/net/irda. Yes, it's a long path, but it makes it easy for us to just add a Makefile directory path addition and all of the net and drivers code "just works". Signed-off-by: Greg Kroah-Hartman --- drivers/staging/irda/dri

[PATCH 0/4] irda: move it to drivers/staging so we can delete it

2017-08-27 Thread Greg Kroah-Hartman
The IRDA code has long been obsolete and broken. So, to keep people from trying to use it, and to prevent people from having to maintain it, let's move it to drivers/staging/ so that we can delete it entirely from the kernel in a few releases. Greg Kroah-Hartman (4): irda: move net/irda/ to dr

[PATCH 4/4] staging: irda: add a TODO file.

2017-08-27 Thread Greg Kroah-Hartman
The irda code will be deleted in a future kernel release, so no need to have anyone do any new work on it. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/irda/TODO | 4 1 file changed, 4 insertions(+) create mode 100644 drivers/staging/irda/TODO diff --git a/drivers/staging/irda/TO

Re: [PATCH v3 07/14] [media] cxd2880: Add top level of the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:39:45 +0900 escreveu: > From: Yasunari Takiguchi > > This provides the main dvb frontend operation functions > for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_top.c > -adju

Re: [PATCH v3 08/14] [media] cxd2880: Add DVB-T control functions the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:40:37 +0900 escreveu: > From: Yasunari Takiguchi > > Provide definitions, interfaces and functions needed for DVB-T > of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt.h >

Re: [RESEND PATCH v4 2/2] i2c: Add Spreadtrum I2C controller driver

2017-08-27 Thread Wolfram Sang
Hi, thanks for your submission. > +static void sprd_i2c_dump_reg(struct sprd_i2c *i2c_dev) > +{ > + dev_err(&i2c_dev->adap.dev, ": ==dump i2c-%d reg===\n", > + i2c_dev->adap.nr); > + dev_err(&i2c_dev->adap.dev, ": I2C_CTRL:0x%x\n", > + readl(i2c_dev->base +

Re: [PATCH v3 09/14] [media] cxd2880: Add DVB-T monitor and integration layer functions

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:41:42 +0900 escreveu: > From: Yasunari Takiguchi > > Provide monitor and integration layer functions (DVB-T) > for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_integ_dvbt.c >

Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

2017-08-27 Thread Joe Perches
On Sun, 2017-08-27 at 17:03 +0200, Greg Kroah-Hartman wrote: > The IRDA code has long been obsolete and broken. So, to keep people > from trying to use it, and to prevent people from having to maintain it, > let's move it to drivers/staging/ so that we can delete it entirely from > the kernel in a

Re: [PATCH v3 10/14] [media] cxd2880: Add DVB-T2 control functions for the driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:42:32 +0900 escreveu: > From: Yasunari Takiguchi > > Provide definitions, interfaces and functions needed for DVB-T2 > of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt2.h >

Re: [PATCH 2/2] mtd: spi-nor: Altera ASMI Parallel II IP Core

2017-08-27 Thread matthew . gerlach
Hi Cyrille, I think I figured out the confusion with regards to dummy cycles. See my comment in line. Matthew Gerlach On Tue, 15 Aug 2017, Cyrille Pitchen wrote: Le 15/08/2017 à 19:20, matthew.gerl...@linux.intel.com a écrit : Hi Cyrille, Thanks for the great feedback. See my comments

Re: [PATCH v3 11/14] [media] cxd2880: Add DVB-T2 monitor and integration layer functions

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 13:43:41 +0900 escreveu: > From: Yasunari Takiguchi > > Provide monitor and integration layer functions (DVB-T2) > for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. > > [Change list] > Changes in V3 >drivers/media/dvb-frontends/cxd2880/cxd2880_integ_dvbt2.c >

Re: [PATCH v3 14/14] [media] cxd2880 : Update MAINTAINERS file for CXD2880 driver

2017-08-27 Thread Mauro Carvalho Chehab
Em Wed, 16 Aug 2017 17:02:05 +0900 "Takiguchi, Yasunari" escreveu: > From: Yasunari Takiguchi > > I add an e-mail address and re-send this mail again. > > This is MAINTAINERS file update about the driver for > the Sony CXD2880 DVB-T2/T tuner + demodulator. Patches 12-14 look OK to me (althoug

  1   2   3   4   >