[v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Richard Zhu
MSI_EN of iMX PCIe RC would be asserted when PCIEPORTBUS driver is selected. Thus, the MSI works fine on iMX PCIe before. Assert it unconditionally when MSI is supported. Otherwise, the MSI wouldn't be triggered although the EP is present and the MSIs are assigned. Signed-off-by: Richard Zhu ---

Re: [PATCH] rtlwifi: Fix non-working BSS STA mode

2018-12-13 Thread Kai Heng Feng
> On Dec 13, 2018, at 15:39, Pkshih wrote: > > On Thu, 2018-12-13 at 13:36 +0800, Kai Heng Feng wrote: >>> On Dec 13, 2018, at 08:35, Pkshih wrote: >>> >>> On Wed, 2018-12-12 at 13:13 +0800, Kai-Heng Feng wrote: Once BSS STA mode gets started, it can be scanned by other clients but

Re: [PATCH RESEND v7 4/4] clk: meson: add one based divider support for sclk divider

2018-12-13 Thread Jianxin Pan
Hi Jerome, Thanks for the fully review, we really appreciate your time. On 2018/12/12 1:16, Jerome Brunet wrote: > On Tue, 2018-12-11 at 00:04 +0800, Jianxin Pan wrote: >> When CLK_DIVIDER_ONE_BASED flag is set, the sclk divider will be: >> one based divider (div = val), and zero value gates the

Re: [PATCH 4.4 00/91] 4.4.167-stable review

2018-12-13 Thread Greg Kroah-Hartman
On Thu, Dec 13, 2018 at 12:45:00AM +0530, Harsh Shandilya wrote: > On 11 December 2018 9:10:19 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 4.4.167 release. > >There are 91 patches in this series, all will be posted as a response > >to this one. If

Re: [PATCH 4.19 000/118] 4.19.9-stable review

2018-12-13 Thread Greg Kroah-Hartman
On Wed, Dec 12, 2018 at 10:50:56AM -0800, Guenter Roeck wrote: > On Tue, Dec 11, 2018 at 04:40:19PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.9 release. > > There are 118 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH v2] sched/fair: fix 1 task per CPU

2018-12-13 Thread Vincent Guittot
Hi Peter, Ingo, On Fri, 14 Sep 2018 at 18:26, Vincent Guittot wrote: > > On Fri, 14 Sep 2018 at 05:22, Valentin Schneider > wrote: > > > > Hi, > > > > On 10/09/18 07:43, Vincent Guittot wrote: > > > When CPUs have different capacity because of RT/DL tasks or > > > micro-architecture or max

Re: [PATCH] USB: pl2303: add ids for Hewlett-Packard HP POS pole displays

2018-12-13 Thread Greg Kroah-Hartman
On Thu, Dec 13, 2018 at 01:08:08AM -0500, sc...@labau.com.tw wrote: > From: scott > > Add device ids to pl2303 for the HP POS pole displays: > LM920: 03f0:026b > TD620: 03f0:0956 > LD960TA: 03f0:4439 > LD220TA: 03f0:4349 > LM940: 03f0:5039 > > Signed-off-by: scott I doubt you sign legal

[PATCH v2] powerpc/8xx: hide itlbie and dtlbie symbols

2018-12-13 Thread Christophe Leroy
When disassembling InstructionTLBError we get the following messy code: c000138c: 7d 84 63 78 mr r4,r12 c0001390: 75 25 58 00 andis. r5,r9,22528 c0001394: 75 2a 40 00 andis. r10,r9,16384 c0001398: 41 a2 00 08 beq c00013a0 c000139c: 7c 00

Re: [PATCH] powerpc/8xx: hide itlbie and dtlbie symbols

2018-12-13 Thread Christophe Leroy
Le 12/12/2018 à 14:05, Michael Ellerman a écrit : Christophe Leroy writes: When disassembling InstructionTLBError we get the following messy code: c000138c: 7d 84 63 78 mr r4,r12 c0001390: 75 25 58 00 andis. r5,r9,22528 c0001394: 75 2a 40 00 andis.

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Baruch Siach
Hi Richard, One more comment that occurred to me only now. Richard Zhu writes: > MSI_EN of iMX PCIe RC would be asserted when > PCIEPORTBUS driver is selected. > Thus, the MSI works fine on iMX PCIe before. > Assert it unconditionally when MSI is supported. > Otherwise, the MSI wouldn't be

Re: [PATCH] ALSA: emux_hwdep: Fix potential Spectre v1 vulnerabilities

2018-12-13 Thread Takashi Iwai
On Wed, 12 Dec 2018 18:20:49 +0100, Gustavo A. R. Silva wrote: > > info.mode and info.port are indirectly controlled by user-space, > hence leading to a potential exploitation of the Spectre variant 1 > vulnerability. > > These issues were detected with the help of Smatch: > >

Re: [PATCH v6 1/7] tpm: dynamically allocate the allocated_banks array

2018-12-13 Thread Roberto Sassu
On 12/12/2018 7:32 PM, Jarkko Sakkinen wrote: On Thu, Dec 06, 2018 at 06:56:33PM +0100, Roberto Sassu wrote: 2 PCR selections hash TPM_ALG_SHA1 TPMS_PCR_SELECTION length 3 ff ff ff hash TPM_ALG_SHA256 TPMS_PCR_SELECTION length 3 00 00 00 The pcr_select fields -

Re: [PATCH] ALSA: pcm: Fix potential Spectre v1 vulnerability

2018-12-13 Thread Takashi Iwai
On Wed, 12 Dec 2018 22:36:28 +0100, Gustavo A. R. Silva wrote: > > stream is indirectly controlled by user-space, hence leading to > a potential exploitation of the Spectre variant 1 vulnerability. > > This issue was detected with the help of Smatch: > > sound/core/pcm.c:140

Re: [PATCH v3 2/5] leds: Add helper for getting default pattern from Device Tree

2018-12-13 Thread Krzysztof Kozlowski
On Wed, 12 Dec 2018 at 13:22, Pavel Machek wrote: > > On Wed 2018-12-12 12:16:43, Krzysztof Kozlowski wrote: > > Multiple LED triggers might need to access default pattern so add a > > helper for that. > > > > Signed-off-by: Krzysztof Kozlowski > > Acked-by: Pavel Machek > > > > > New patch in

RE: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Richard Zhu
> -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: 2018年12月13日 16:13 > To: Richard Zhu > Cc: bhelg...@google.com; lorenzo.pieral...@arm.com; > l.st...@pengutronix.de; andrew.smir...@gmail.com; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >

Re: [PATCH v3] mm: thp: fix flags for pmd migration when split

2018-12-13 Thread William Kucharski
> diff --git a/mm/huge_memory.c b/mm/huge_memory.c > index f2d19e4fe854..aebade83cec9 100644 > --- a/mm/huge_memory.c > +++ b/mm/huge_memory.c > @@ -2145,23 +2145,25 @@ static void __split_huge_pmd_locked(struct > vm_area_struct *vma, pmd_t *pmd, >*/ > old_pmd =

Re: [PATCH v12 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-12-13 Thread Stephen Boyd
Quoting Taniya Das (2018-12-12 23:49:53) > diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > new file mode 100644 > index 000..2b82965 > --- /dev/null > +++

Re: 4.20.0-rc6-next-20181210, v4.20-rc1: list_del corruption on thinkpad x220, graphics related?

2018-12-13 Thread Joonas Lahtinen
Quoting Pavel Machek (2018-12-12 20:29:02) > Hi! > > > > > > > > > There's one similar for nouveau in Bugzilla, but it seems like > > > > > > > > a genuine > > > > > > > > memory corruption (1 bit flipped): > > > > > > > > > > > > > > > > https://bugs.freedesktop.org/show_bug.cgi?id=84880 > > >

Re: [PATCH v3] media: platform: sti: remove bdisp_dbg_declare() and hva_dbg_declare()

2018-12-13 Thread Fabien DESSENNE
Hi, Thank you for the patch. Fabien On 12/12/2018 5:27 PM, Yangtao Li wrote: > We already have the DEFINE_SHOW_ATTRIBUTE. There is no need to define > bdisp_dbg_declare and hva_dbg_declare, so remove them. Also use > DEFINE_SHOW_ATTRIBUTE to simplify some code. > > Signed-off-by: Yangtao Li

Re: [PATCH v11 0/3] Huawei laptops

2018-12-13 Thread Takashi Iwai
On Thu, 13 Dec 2018 00:07:56 +0100, Ayman Bagabas wrote: > > This patch set is based on the new audio LED triggers in topic/leds-trigger > branch from > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > > Changes in v11: > * Minor code changes > > Changes in v10: > * Use

[GIT PULL] sound fixes for 4.20-rc7

2018-12-13 Thread Takashi Iwai
Linus, please pull sound fixes for v4.20-rc7 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.20-rc7 The topmost commit is 0bea4cc8383519f78f3f74caca7bdebdfb346d3b sound fixes for 4.20-rc7

[PATCH 1/2] crypto: crypto_user_stat: remove unused dump functions

2018-12-13 Thread Corentin Labbe
This patch removes unused dump functions for crypto_user_stats. There are remains of the copy/paste of crypto_user_base to crypto_user_stat and I forgot to remove them. Signed-off-by: Corentin Labbe --- crypto/crypto_user_base.c| 4 +--- crypto/crypto_user_stat.c| 33

[PATCH 2/2] crypto: document missing stats member

2018-12-13 Thread Corentin Labbe
This patchs adds missing member of stats documentation. Signed-off-by: Corentin Labbe --- include/linux/crypto.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 9850b41e38ae..81e178fb9ed8 100644 --- a/include/linux/crypto.h +++

Re: [PATCH v3 1/5] dt-bindings: leds: Add pattern initialization from Device Tree

2018-12-13 Thread Krzysztof Kozlowski
On Wed, 12 Dec 2018 at 13:32, Pavel Machek wrote: > > On Wed 2018-12-12 12:16:42, Krzysztof Kozlowski wrote: > > Document new linux,trigger-pattern property for initialization of LED > > pattern trigger. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > >

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-13 Thread Pingfan Liu
On Wed, Dec 12, 2018 at 7:53 PM Michal Hocko wrote: > > On Wed 12-12-18 16:31:35, Pingfan Liu wrote: > > On Mon, Dec 10, 2018 at 8:37 PM Michal Hocko wrote: > > > > > [...] > > > > > > In other words. Does the following work? I am sorry to wildguess this > > > way but I am not able to recreate

[PATCH v4 1/7] phy: mvebu-cp110-comphy: fix port check in ->xlate()

2018-12-13 Thread Miquel Raynal
So far the PHY ->xlate() callback was checking if the port was "invalid" before continuing, meaning that the port has not been used yet. This check is not correct as there is no opposite call to ->xlate() once the PHY is released by the user and the port will remain "valid" after the first

[PATCH v4 0/7] Add Armada 3700 COMPHY support

2018-12-13 Thread Miquel Raynal
Hello, This series adds a new driver to support Armada 3700 COMPHY IP. The series has been tested on an ESPRESSObin with SATA, PCIe and USB3 host. For this purpose, patch 1 enumerates the SATA PHY mode. The SGMII PHY mode that is supported by the IP has been written (uses SMC calls anyway) but

[PATCH v2 2/3] spi: meson-axg: enhance output enable feature

2018-12-13 Thread Sunny Luo
The SPICC controller in Meson-AXG is capable of driving the CLK/MOSI/SS signal lines through the idle state (between two transmission operation), which avoid the signals floating in unexpected state. Signed-off-by: Sunny Luo Signed-off-by: Yixun Lan --- drivers/spi/spi-meson-spicc.c | 28

[PATCH v2 3/3] spi: meson-axg: add a linear clock divider support

2018-12-13 Thread Sunny Luo
The SPICC controller in Meson-AXG SoC is capable of using a linear clock divider to reach a much fine tuned range of clocks, while the old controller only use a power of two clock divider, result at a more coarse clock range. Also convert the clock registration into Common Clock Framework.

[PATCH v4 4/7] dt-bindings: phy: mvebu-comphy: extend the file to describe a3700 bindings

2018-12-13 Thread Miquel Raynal
Current file describe COMPHY bindings for the IP available on the CP110 of Armada 7k/8k. Bindings are very close (and serve the same purpose) as the new Armada 3700 COMPHY driver so update this file to describe both. Also add an example of how to use this second compatible (same as for the

[PATCH v2 0/3] spi: meson-axg: add few enhanced features

2018-12-13 Thread Sunny Luo
add a few enhanced features for the SPICC controller of Meson-AXG SoC. These patches are actually quite independent from each other, I send them together in case to avoid the file conflicts. Changes since v1 at [1] - Add OF and COMMON_CLK dependence for SPICC in Kconfig to avoid compiling

[PATCH v4 5/7] MAINTAINERS: phy: add entry for Armada 3700 COMPHY driver

2018-12-13 Thread Miquel Raynal
Add myself as Armada 3700 COMPHY driver/bindings maintainer. Signed-off-by: Miquel Raynal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 72e930c51fd4..2ef7a60ab24b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8865,6 +8865,12 @@ F:

[PATCH v4 3/7] phy: add A3700 COMPHY support

2018-12-13 Thread Miquel Raynal
Add a driver to support COMPHY, a hardware block providing shared serdes PHYs on Marvell Armada 3700. This driver uses SMC calls and rely on having an up-to-date firmware. SATA, PCie and USB3 host mode have been tested successfully with an ESPRESSObin. (HS)SGMII mode cannot be tested with this

[PATCH v2 1/3] spi: meson-axg: support MAX 80M clock

2018-12-13 Thread Sunny Luo
The SPICC controller in Meson-AXG is capable of running at 80M clock. The ASIC IP is improved and the clock is actually running higher than previous old SoCs. Signed-off-by: Sunny Luo Signed-off-by: Yixun Lan --- drivers/spi/spi-meson-spicc.c | 37 + 1 file

[PATCH v4 2/7] phy: enumerate SATA PHY mode

2018-12-13 Thread Miquel Raynal
From: Grzegorz Jaszczyk Add SATA mode to the PHY framework in preparation of upcoming PHYs that will handle it. For instance, SATA mode will be used by the Armada3700 COMPHY driver, which supports configuring SERDES lanes to be used by various controllers: Ethernet, USB3, SATA and PCIe.

[PATCH v4 6/7] ARM64: dts: marvell: armada-37xx: fix SATA node scope

2018-12-13 Thread Miquel Raynal
Fix the SATA IP memory area which is only 0x178 bytes long (from Marvell A3700 specification). Actually, starting from the offset 0xe0178, there is an area dedicated to the COMPHY driver. Suggested-by: Grzegorz Jaszczyk Signed-off-by: Miquel Raynal ---

[PATCH v4 7/7] ARM64: dts: marvell: armada-37xx: declare the COMPHY node

2018-12-13 Thread Miquel Raynal
Describe the A3700 COMPHY node. It has three PHYs that can be configured as follow: * PCIe or GbE * USB3 or GbE * SATA or USB3 Each of them has its own memory area. Suggested-by: Grzegorz Jaszczyk Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 29

[RESEND PATCH] Allow hwrng to initialize crng.

2018-12-13 Thread Louis Collard
Some systems, for example embedded systems, do not generate enough entropy on boot through interrupts, and boot may be blocked for several minutes waiting for a call to getrandom to complete. Currently, random data is read from a hwrng when it is registered, and is loaded into primary_crng. This

Re: use generic DMA mapping code in powerpc V4

2018-12-13 Thread Christian Zigotzky
On 12 December 2018 at 3:39PM, Christian Zigotzky wrote: Hi Christoph, Thanks a lot for your reply. I will test your patches tomorrow. Cheers, Christian Sent from my iPhone On 12. Dec 2018, at 15:15, Christoph Hellwig wrote: Thanks for bisecting. I've spent some time going over the

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Baruch Siach
Hi Richard, Richard Zhu writes: >> -Original Message- >> From: Baruch Siach [mailto:bar...@tkos.co.il] >> Sent: 2018年12月13日 16:13 >> To: Richard Zhu >> Cc: bhelg...@google.com; lorenzo.pieral...@arm.com; >> l.st...@pengutronix.de; andrew.smir...@gmail.com; >> linux-...@vger.kernel.org;

Generic kernel fails to boot on Alpha bisected to b38d08f3181c

2018-12-13 Thread Michael Cree
A kernel built for generic UP Alpha had been noted to fail to boot for quite some time (since the release of 3.18). The kernel either locks up before printing any messages to the console or just falls back into the SRM with a HALT instruction again before any messages are printed to the console.

Re: [PATCH net-next] rhashtable: further improve stability of rhashtable_walk

2018-12-13 Thread Herbert Xu
On Thu, Dec 13, 2018 at 02:48:59PM +1100, NeilBrown wrote: > > Yes, you could rcu_free the old one and allocate a new one. Then you > would have to be ready to deal with memory allocation failure which > complicates usage (I already don't like that rhashtable_insert() can > report -ENOMEM!).

Re: [PATCH v2] mm, memory_hotplug: Don't bail out in do_migrate_range prematurely

2018-12-13 Thread Michal Hocko
On Tue 11-12-18 14:53:12, Oscar Salvador wrote: > v1 -> v2: > - Keep branch to decrease refcount and print out > the failed pfn/page > - Modified changelog per Michal's feedback > - move put_page() out of the if/else branch > > --- > >From

Re: [PATCH v2 1/3] spi: meson-axg: support MAX 80M clock

2018-12-13 Thread Neil Armstrong
Hi Sunny, On 13/12/2018 09:39, Sunny Luo wrote: > The SPICC controller in Meson-AXG is capable of running at 80M clock. > The ASIC IP is improved and the clock is actually running higher than > previous old SoCs. > > Signed-off-by: Sunny Luo > Signed-off-by: Yixun Lan > --- >

[PATCH v2] f2fs: rebuild nat_bits during umount

2018-12-13 Thread Chao Yu
If all free_nat_bitmap are available, we can rebuild nat_bits from free_nat_bitmap entirely during umount, let's make another chance to reenable nat_bits for image. Signed-off-by: Chao Yu --- v2: - fix bugs in f2fs_enable_nat_bits() - add kmsg to record nat_bits {en,dis}abling operations - fix

Re: [RESEND PATCH] Allow hwrng to initialize crng.

2018-12-13 Thread Herbert Xu
On Thu, Dec 13, 2018 at 04:40:17PM +0800, Louis Collard wrote: > Some systems, for example embedded systems, do not generate > enough entropy on boot through interrupts, and boot may be blocked for > several minutes waiting for a call to getrandom to complete. > > Currently, random data is read

Re: [PATCH 3/3] pwm: imx: Implement get_state() function for hardware readout

2018-12-13 Thread Uwe Kleine-König
On Wed, Dec 12, 2018 at 11:54:32AM +0100, Thierry Reding wrote: > On Mon, Oct 01, 2018 at 04:19:48PM +0200, Michal Vokáč wrote: > > Implement the get_state() function and set the initial state to reflect > > real state of the hardware. This allows to keep the PWM running if it was > > enabled in

Re: [PATCH v2] kasan: mark file common so ftrace doesn't trace it

2018-12-13 Thread Dmitry Vyukov
On Wed, Dec 12, 2018 at 7:36 PM Anders Roxell wrote: > > When option CONFIG_KASAN is enabled toghether with ftrace, function > ftrace_graph_caller() gets in to a recursion, via functions > kasan_check_read() and kasan_check_write(). > > Breakpoint 2, ftrace_graph_caller () at >

Re: [PATCH v2 2/3] spi: meson-axg: enhance output enable feature

2018-12-13 Thread Neil Armstrong
Hi Sunny, On 13/12/2018 09:39, Sunny Luo wrote: > The SPICC controller in Meson-AXG is capable of driving the CLK/MOSI/SS > signal lines through the idle state (between two transmission operation), > which avoid the signals floating in unexpected state. This is welcome, because it's really

Re: [PATCH v4 3/7] mips: rename macros and files from '64' to 'n64'

2018-12-13 Thread Firoz Khan
Hi Paul, On Thu, 13 Dec 2018 at 03:58, Paul Burton wrote: > > Hi Firoz, > > On Wed, Dec 12, 2018 at 10:04:47AM +0530, Firoz Khan wrote: > > > > Sure, I think '64' to 'n64' conversion must be remove it from this patch > > series.I can send v5 without '64' to 'n64' conversion. > > > > If we rename

Re: [PATCH v7 11/25] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2018-12-13 Thread Julien Thierry
On 12/12/2018 18:10, Ard Biesheuvel wrote: > On Wed, 12 Dec 2018 at 18:59, Julien Thierry wrote: >> >> >> >> On 12/12/2018 17:27, Ard Biesheuvel wrote: >>> On Wed, 12 Dec 2018 at 17:48, Julien Thierry wrote: Instead disabling interrupts by setting the PSR.I bit, use a priority

Re: [PATCH v2 3/3] spi: meson-axg: add a linear clock divider support

2018-12-13 Thread Neil Armstrong
Hi Sunny, On 13/12/2018 09:39, Sunny Luo wrote: > The SPICC controller in Meson-AXG SoC is capable of using > a linear clock divider to reach a much fine tuned range of clocks, > while the old controller only use a power of two clock divider, > result at a more coarse clock range. This patch

Re: [RFC PATCH v4 2/2] pwm: imx: Configure output to GPIO in disabled state

2018-12-13 Thread Uwe Kleine-König
Hello, On Wed, Dec 12, 2018 at 12:04:51PM +, Vokáč Michal wrote: > Normally the PWM output is held LOW when PWM is disabled. This can cause > problems when inverted PWM signal polarity is needed. With this behavior > the connected circuit is fed by 100% duty cycle instead of being shut-off. >

Re: [PATCH] debugobjects: Move printk out of db lock critical sections

2018-12-13 Thread Sergey Senozhatsky
On (12/13/18 05:54), Dmitry Safonov wrote: > > I thought about it for a second, but couldn't figure out if this race > > was real. > > > > E.g. uart case - if there are two paths which concurrently free and > > access debug object, then the same race condition should exist for > > the xmit.buf

Re: [PATCH 05/12] PCI: aardvark: add suspend to RAM support

2018-12-13 Thread Stephen Boyd
Quoting Lorenzo Pieralisi (2018-12-11 06:16:27) > On Tue, Dec 04, 2018 at 10:42:19PM +0100, Rafael J. Wysocki wrote: > > On Tuesday, December 4, 2018 10:45:58 AM CET Lorenzo Pieralisi wrote: > > > On Mon, Dec 03, 2018 at 11:00:20PM +0100, Rafael J. Wysocki wrote: > > > > On Monday, December 3,

Re: [PATCH RESEND v7 3/4] clk: meson: add sub MMC clock controller driver

2018-12-13 Thread Jerome Brunet
On Thu, 2018-12-13 at 12:55 +0800, Jianxin Pan wrote: > On 2018/12/12 0:59, Jerome Brunet wrote: > > On Tue, 2018-12-11 at 00:04 +0800, Jianxin Pan wrote: > > > From: Yixun Lan > > > > [...] > > > > > > +config COMMON_CLK_MMC_MESON > > > + tristate "Meson MMC Sub Clock Controller Driver" > > >

I need an investment Partner

2018-12-13 Thread Aisha Gaddafi
-- Hello Dear , I came across your contact during my private search Mrs Aisha Al-Qaddafi is my name, the only daughter of late Libyan president, I have funds the sum of $27.5 million USD for investment, I am interested in you for investment project assistance in your country, i shall compensate

Re: [PATCH v2] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL.

2018-12-13 Thread Daniel Vetter
On Thu, Dec 13, 2018 at 04:43:57PM +0900, Tomasz Figa wrote: > Hi Helen, > > On Sat, Nov 24, 2018 at 6:54 AM Helen Koike wrote: > > > > This flag tells core to jump ahead the queued update if the conditions > > in drm_atomic_async_check() are met. That means we are only able to do an > > async

[PATCH v5 1/5] powerpc: add __NR_syscalls along with NR_syscalls

2018-12-13 Thread Firoz Khan
NR_syscalls macro holds the number of system call exist in powerpc architecture. We have to change the value of NR_syscalls, if we add or delete a system call. One of the patch in this patch series has a script which will generate a uapi header based on syscall.tbl file. The syscall.tbl file

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-13 Thread Pingfan Liu
On Thu, Dec 13, 2018 at 4:37 PM Pingfan Liu wrote: > > On Wed, Dec 12, 2018 at 7:53 PM Michal Hocko wrote: > > > > On Wed 12-12-18 16:31:35, Pingfan Liu wrote: > > > On Mon, Dec 10, 2018 at 8:37 PM Michal Hocko wrote: > > > > > > > [...] > > > > > > > > In other words. Does the following work?

[PATCH v5 0/5] powerpc: system call table generation support

2018-12-13 Thread Firoz Khan
The purpose of this patch series is, we can easily add/modify/delete system call table support by cha- nging entry in syscall.tbl file instead of manually changing many files. The other goal is to unify the system call table generation support implementation across all the architectures. The

[PATCH v5 2/5] powerpc: move macro definition from asm/systbl.h

2018-12-13 Thread Firoz Khan
Move the macro definition for compat_sys_sigsuspend from asm/systbl.h to the file which it is getting included. One of the patch in this patch series is generating uapi header and syscall table files. In order to come up with a common implimentation across all architecture, we need to do this

[PATCH v5 5/5] powerpc: generate uapi header and system call table files

2018-12-13 Thread Firoz Khan
System call table generation script must be run to gener- ate unistd_32/64.h and syscall_table_32/64/c32/spu.h files. This patch will have changes which will invokes the script. This patch will generate unistd_32/64.h and syscall_table- _32/64/c32/spu.h files by the syscall table generation

[PATCH v5 3/5] powerpc: add system call table generation support

2018-12-13 Thread Firoz Khan
The system call tables are in different format in all architecture and it will be difficult to manually add or modify the system calls in the respective files. To make it easy by keeping a script and which will generate the uapi header and syscall table file. This change will also help to unify

[PATCH v5 4/5] powerpc: split compat syscall table out from native table

2018-12-13 Thread Firoz Khan
PowerPC uses a syscall table with native and compat calls interleaved, which is a slightly simpler way to define two matching tables. As we move to having the tables generated, that advantage is no longer important, but the interleaved table gets in the way of using the same scripts as on the

Re: [PATCH v2 2/3] spi: meson-axg: enhance output enable feature

2018-12-13 Thread Jerome Brunet
On Thu, 2018-12-13 at 16:39 +0800, Sunny Luo wrote: > The SPICC controller in Meson-AXG is capable of driving the CLK/MOSI/SS > signal lines through the idle state (between two transmission operation), > which avoid the signals floating in unexpected state. > > Signed-off-by: Sunny Luo >

Re: Can we drop upstream Linux x32 support?

2018-12-13 Thread Richard Weinberger
On Thu, Dec 13, 2018 at 6:03 AM Kevin Easton wrote: > > On Tue, Dec 11, 2018 at 11:29:14AM +0100, John Paul Adrian Glaubitz wrote: > ... > > I can't say anything about the syscall interface. However, what I do know > > is that the weird combination of a 32-bit userland with a 64-bit kernel > >

[RESEND PATCH v4 1/1] dt-bindings: arm-smmu: Add binding doc for Qcom smmu-500

2018-12-13 Thread Vivek Gautam
Qcom's implementation of arm,mmu-500 works well with current arm-smmu driver implementation. Adding a soc specific compatible along with arm,mmu-500 makes the bindings future safe. Signed-off-by: Vivek Gautam Reviewed-by: Rob Herring Cc: Will Deacon --- Hi Joerg, I am picking this out

Re: [PATCHv2 01/12] acpi: Create subtable parsing infrastructure

2018-12-13 Thread kbuild test robot
Hi Keith, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.20-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v5 0/7] mips: system call table generation support

2018-12-13 Thread Firoz Khan
The purpose of this patch series is, we can easily add/modify/delete system call table support by cha- nging entry in syscall.tbl file instead of manually changing many files. The other goal is to unify the system call table generation support implementation across all the architectures. The

[PATCH v5 3/7] mips: rename macros and files from '64' to 'n64'

2018-12-13 Thread Firoz Khan
When we get nanoMIPS support we'll be introducing the p32 ABI, and there's a reasonable chance that the equivalent p64 ABI may come along in the future. Using 'n64' now would avoid confusion in that case where we may have 2 different 64-bit ABIs. Suggested-by: Paul Burton Signed-off-by: Firoz

[PATCH v5 4/7] mips: add +1 to __NR_syscalls in uapi header

2018-12-13 Thread Firoz Khan
All other architectures are hold a value for __NR_syscalls will be equal to the last system call number +1. But in mips architecture, __NR_syscalls hold the value equal to total number of system exits in the architecture. One of the patch in this patch series will genarate uapi header files. In

[PATCH v5 1/7] mips: add __NR_syscalls along with __NR_Linux_syscalls

2018-12-13 Thread Firoz Khan
__NR_Linux_syscalls macro holds the number of system call exist in mips architecture. We have to change the value of __NR_Linux_syscalls, if we add or delete a system call. One of the patch in this patch series has a script which will generate a uapi header based on syscall.tbl file. The

[PATCH v5 5/7] mips: remove syscall table entries

2018-12-13 Thread Firoz Khan
The config flag - CONFIG_MIPS_MT_FPAFF uses to check whether which syscall entries need to be used in scall32-o32.S file. One of the patch in this patch series will generate syscall table file. But CONFIG_MIPS_MT_FPAFF flag will add more complexity in the script to generate the syscall table

[PATCH v5 2/7] mips: remove unused macros

2018-12-13 Thread Firoz Khan
Remove NR_syscalls from asm/unistd.h as there is no users to use NR_syscalls macro in mips kernel. Remove __NR_Linux_syscalls from uapi/asm/unistd.h as there is no users to use NR_syscalls macro in mips kernel. MAX_SYSCALL_NO can also remove as there is commit 2957c9e61ee9 ("[MIPS] IRIX: Goodbye

[PATCH v5 6/7] mips: add system call table generation support

2018-12-13 Thread Firoz Khan
The system call tables are in different format in all architecture and it will be difficult to manually add, modify or delete the syscall table entries in the res- pective files. To make it easy by keeping a script and which will generate the uapi header and syscall table file. This change will

[PATCH v5 7/7] mips: generate uapi header and system call table files

2018-12-13 Thread Firoz Khan
System call table generation script must be run to gener- ate unistd_(nr_)n64/n32/o32.h and syscall_table_32_o32/ 64_n64/64_n32/64-o32.h files. This patch will have changes which will invokes the script. This patch will generate unistd_(nr_)n64/n32/o32.h and

Re: [PATCH 18/52] virtio-fs: Map cache using the values from the capabilities

2018-12-13 Thread David Hildenbrand
On 10.12.18 18:12, Vivek Goyal wrote: > Instead of assuming we had the fixed bar for the cache, use the > value from the capabilities. > > Signed-off-by: Dr. David Alan Gilbert > --- > fs/fuse/virtio_fs.c | 32 +--- > 1 file changed, 17 insertions(+), 15 deletions(-)

Re: use generic DMA mapping code in powerpc V4

2018-12-13 Thread Christoph Hellwig
On Thu, Dec 13, 2018 at 09:41:50AM +0100, Christian Zigotzky wrote: > Today I tried the first patch (0001-get_required_mask.patch) with the last > good commit (977706f9755d2d697aa6f45b4f9f0e07516efeda). Unfortunately this > patch is already included in the last good commit >

Re: [PATCH 1/6] arm64: kpti: move check for non-vulnerable CPUs to a function

2018-12-13 Thread Julien Thierry
Hi, On 06/12/2018 23:44, Jeremy Linton wrote: > From: Mian Yousaf Kaukab > > Add is_meltdown_safe() which is a whitelist of known safe cores. > > Signed-off-by: Mian Yousaf Kaukab > [Moved location of function] > Signed-off-by: Jeremy Linton > --- > arch/arm64/kernel/cpufeature.c | 16

Re: [PATCH 18/52] virtio-fs: Map cache using the values from the capabilities

2018-12-13 Thread Dr. David Alan Gilbert
* David Hildenbrand (da...@redhat.com) wrote: > On 10.12.18 18:12, Vivek Goyal wrote: > > Instead of assuming we had the fixed bar for the cache, use the > > value from the capabilities. > > > > Signed-off-by: Dr. David Alan Gilbert > > --- > > fs/fuse/virtio_fs.c | 32

Re: [PATCH v12 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-12-13 Thread Viresh Kumar
On 13-12-18, 13:19, Taniya Das wrote: > The CPUfreq HW present in some QCOM chipsets offloads the steps necessary > for changing the frequency of CPUs. The driver implements the cpufreq > driver interface for this hardware engine. > > Signed-off-by: Saravana Kannan > Signed-off-by: Stephen Boyd

Re: [PATCH 2/5] i2c: mediatek: remove useless code and replace definitions

2018-12-13 Thread Qii Wang
On Tue, 2018-12-11 at 21:20 +0100, Wolfram Sang wrote: > On Mon, Dec 03, 2018 at 09:32:51PM +0800, qii.w...@mediatek.com wrote: > > From: qii wang > > > > Completion_done is useless when we don't use its return value, > > so we remove it. Different speeds have been defined by macros, > > so we

Re: [PATCH AUTOSEL 4.14 01/41] mac80211_hwsim: fix module init error paths for netlink

2018-12-13 Thread Kalle Valo
Sasha Levin writes: > From: Alexey Khoroshilov > > [ Upstream commit 05cc09de4c017663a217630682041066f2f9a5cd ] > > There is no unregister netlink notifier and family on error paths > in init_mac80211_hwsim(). Also there is an error path where > hwsim_class is not destroyed. > > Found by Linux

Re: [RFC PATCH 3/3] PCI: iproc: Add dma reserve resources to host

2018-12-13 Thread Srinath Mannam
Hi Oza, Thank you for the review. Please find my comments in lined. On Thu, Dec 13, 2018 at 11:33 AM wrote: > > On 2018-12-12 11:16, Srinath Mannam wrote: > > IPROC host has the limitation that it can use > > only those address ranges given by dma-ranges > > property as inbound address. > > So

[PATCH RFC] kvm: arm64: export memory error recovery capability to user space

2018-12-13 Thread Dongjiu Geng
When user space do memory recovery, it will check whether KVM and guest support the error recovery, only when both of them support, user space will do the error recovery. This patch exports this capability of KVM to user space. Cc: Peter Maydell Signed-off-by: Dongjiu Geng --- User space needs

Re: [PATCH] tty/serial: do not free trasnmit buffer page under port lock

2018-12-13 Thread Peter Zijlstra
On Thu, Dec 13, 2018 at 01:58:39PM +0900, Sergey Senozhatsky wrote: > LKP has hit yet another circular locking dependency between uart > console drivers and debugobjects [1]: > > CPU0CPU1 > > rhltable_init() >

Re: [PATCH v8 12/26] pwm: jz4740: Allow selection of PWM channels 0 and 1

2018-12-13 Thread Uwe Kleine-König
On Wed, Dec 12, 2018 at 11:09:07PM +0100, Paul Cercueil wrote: > The TCU channels 0 and 1 were previously reserved for system tasks, and > thus unavailable for PWM. > > The driver will now only allow a PWM channel to be requested if memory > resources corresponding to the register area of the

[PATCH v2] Allow hwrng to initialize crng.

2018-12-13 Thread Louis Collard
Some systems, for example embedded systems, do not generate enough entropy on boot through interrupts, and boot may be blocked for several minutes waiting for a call to getrandom to complete. Currently, random data is read from a hwrng when it is registered, and is loaded into primary_crng. This

RE: [PATCH v3 7/9] arm64: defconfig: Enable FSL_MC_BUS and FSL_MC_DPIO

2018-12-13 Thread Ioana Ciocoi Radulescu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Olof Johansson > Sent: Thursday, December 13, 2018 8:48 AM > To: Horia Geanta > Cc: Marc Gonzalez ; arm-soc ; > Linux ARM ; LKML ker...@vger.kernel.org> > Subject: Re: [PATCH v3 7/9]

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Lucas Stach
Hi Richard, Am Donnerstag, den 13.12.2018, 08:02 + schrieb Richard Zhu: > MSI_EN of iMX PCIe RC would be asserted when > PCIEPORTBUS driver is selected. > Thus, the MSI works fine on iMX PCIe before. > Assert it unconditionally when MSI is supported. > Otherwise, the MSI wouldn't be triggered

答复: [PATCH] Export mm_update_next_owner function for vhost-net(Internet mail)

2018-12-13 Thread 陈国民
>> Under normal circumstances,When do_exit exits, mm->owner will >> be updated on exit_mm(). but when the kernel process calls >> unuse_mm() and then exits,mm->owner cannot be updated. And it >> will point to a task that has been released. >> >> Below is my issue on vhost_net: >> A,

[PATCH] Revert "iommu/io-pgtable-arm: Check for v7s-incapable systems"

2018-12-13 Thread Yong Wu
This reverts commit 82db33dc5e49fb625262d81125625d07a0d6184e. After the commit 29859aeb8a6e ("iommu/io-pgtable-arm-v7s: Abort allocation when table address overflows the PTE"), v7s will return fail if the page table allocation isn't expected. this PHYS_OFFSET check is unnecessary now. And this

Re: [RESEND PATCH] Allow hwrng to initialize crng.

2018-12-13 Thread Louis Collard
On Thu, Dec 13, 2018 at 4:51 PM Herbert Xu wrote: > > On Thu, Dec 13, 2018 at 04:40:17PM +0800, Louis Collard wrote: > > Some systems, for example embedded systems, do not generate > > enough entropy on boot through interrupts, and boot may be blocked for > > several minutes waiting for a call to

Re: [PATCH v1 1/2] dt-bindings: add binding for USBSS-DRD controller.

2018-12-13 Thread Peter Chen
On Tue, Dec 11, 2018 at 6:19 PM Roger Quadros wrote: > > Pawel, > > On 10/12/18 14:39, Pawel Laszczak wrote: > > This patch aim at documenting USB related dt-bindings for the > > Cadence USBSS-DRD controller. > > > > Signed-off-by: Pawel Laszczak > > --- > >

[PATCH] kbuild, x86: revert macros in extended asm workarounds

2018-12-13 Thread Masahiro Yamada
Revert the following commits: - 5bdcd510c2ac9efaf55c4cbd8d46421d8e2320cd ("x86/jump-labels: Macrofy inline assembly code to work around GCC inlining bugs") - d5a581d84ae6b8a4a740464b80d8d9cf1e7947b2 ("x86/cpufeature: Macrofy inline assembly code to work around GCC inlining bugs") -

Re: [PATCH] debugobjects: Move printk out of db lock critical sections

2018-12-13 Thread Peter Zijlstra
On Thu, Dec 13, 2018 at 11:59:40AM +0900, Sergey Senozhatsky wrote: > On (12/12/18 17:28), Waiman Long wrote: > > > > warning from lockdep as reported in https://lkml.org/lkml/2018/12/11/143. > > > > That link shows an empty page, lkml.org is quite unstable. Let's > use this one instead: > >

[PATCH v3] mm, memcg: fix reclaim deadlock with writeback

2018-12-13 Thread Michal Hocko
From: Michal Hocko Liu Bo has experienced a deadlock between memcg (legacy) reclaim and the ext4 writeback task1: [] wait_on_page_bit+0x82/0xa0 [] shrink_page_list+0x907/0x960 [] shrink_inactive_list+0x2c7/0x680 [] shrink_node_memcg+0x404/0x830 [] shrink_node+0xd8/0x300 []

Re: [PATCH v2] MAINTAINERS: add maintainers for ChromeOS EC sub-drivers

2018-12-13 Thread Lee Jones
On Tue, 11 Dec 2018, Enric Balletbo i Serra wrote: > There are multiple ChromeOS EC sub-drivers spread in different > subsystems, as all of them are related to the Chrome stuff add > Benson and myself as a maintainers for all these sub-drivers. > > Signed-off-by: Enric Balletbo i Serra > --- >

Re: [PATCH 2/6] arm64: add sysfs vulnerability show for meltdown

2018-12-13 Thread Julien Thierry
Hi Jeremy, On 06/12/2018 23:44, Jeremy Linton wrote: > Add a simple state machine which will track whether > all the online cores in a machine are vulnerable. > > Once that is done we have a fairly authoritative view > of the machine vulnerability, which allows us to make a > judgment about

  1   2   3   4   5   6   7   8   9   10   >