RE: [PATCH] arm64: dts: Remove inconsistent use of 'arm,armv8' compatible string

2019-01-10 Thread yamada.masahiro
> -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Thursday, January 10, 2019 5:30 AM > To: a...@kernel.org > Cc: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Andreas > Färber ; Manivannan Sadhasivam > ; Tsahee Zidenberg > ; Antoine Tenart ; > Maxime

Re: [GIT PULL] csky fixup for linux-5.0-rc1

2019-01-10 Thread Guo Ren
Can I take back this pull request and send a new pull request with https:// URLs ? On Wed, Jan 09, 2019 at 01:29:55PM -0500, Konstantin Ryabitsev wrote: > On Wed, Jan 09, 2019 at 06:05:01PM +, pr-tracker-...@kernel.org wrote: > > The pull request you sent on Wed, 9 Jan 2019 22:49:57 +0800: >

Re: [PATCH] usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup

2019-01-10 Thread Felipe Balbi
Hi, Jack Pham writes: > OUT endpoint requests may somtimes have this flag set when > preparing to be submitted to HW indicating that there is an > additional TRB chained to the request for alignment purposes. > If that request is removed before the controller can execute the > transfer (e.g.

Re: [PATCH 1/2] x86/mce/amd: Extend "Disable error thresholding bank 4" to more models

2019-01-10 Thread S
Hi Borislav, On 1/10/2019 3:24 AM, Borislav Petkov wrote: > On Mon, Jan 07, 2019 at 10:37:17AM +, S, Shirish wrote: >> The below patch added this quirk only for the first generation of family >> 15 processors, over time its noticed that its required for later >> generations too. >> >>

Question about qspinlock nest

2019-01-10 Thread Zhenzhong Duan
Hi Maintainer, There is a question confused me for days. Appreciate an answer. In below code, the comment says we never have more than 4 nested contexts. What happen if debug and mce exceptions nest with the four, or we ensure it never happen? /*  * Per-CPU queue node structures; we can

Re: [PATCH 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-10 Thread Paweł Chmiel
czw., 10 sty 2019 o 08:01 Viresh Kumar napisał(a): > > On 08-01-19, 21:05, Paweł Chmiel wrote: > > There is possibility, that when probing driver, regulators are not yet > > initialized. In this case we should return EPROBE_DEFER and wait till > > they're initialized, since they're required

Re: [PATCH 2/2] x86/mce/amd: Ensure quirks are applied in resume path as well

2019-01-10 Thread S
Hi Borislav, On 1/10/2019 3:38 AM, Borislav Petkov wrote: > On Mon, Jan 07, 2019 at 10:37:24AM +, S, Shirish wrote: >> This patch adds threshold quirk applicable for family 15 > Same issue with "This patch" here. Agree, have avoided the phrase in both patches that originate from this

Re: [PATCH 2/2] ARM: dts: imx6: Add support for Phytec phyBOARD i.MX6UL Segin

2019-01-10 Thread Shawn Guo
On Tue, Dec 11, 2018 at 07:42:51PM +, Martyn Welch wrote: > The Phytec phyBOARD Segin is i.MX6 based SBC, available with either an > i.MX6UL or i.MX6ULL SOM and various add-on boards. > > The following adds support for the "Full Featured" version of the Segin, > which is provided with the

Re: [BUG] v4.20 - bridge not getting DHCP responses? (works in 4.19.13)

2019-01-10 Thread Paolo Abeni
On Thu, 2019-01-10 at 01:38 +0100, Ian Kumlien wrote: > Confirmed, sending a new mail with summary etc > > On Thu, Jan 10, 2019 at 1:16 AM Ian Kumlien wrote: > > On Wed, Jan 9, 2019 at 12:17 AM Ian Kumlien wrote: > > > On Wed, Jan 9, 2019, 00:09 Florian Fainelli > > > [--8<---] > > > > > >

[PATCH 0/3] Add Oxalis board support

2019-01-10 Thread Manivannan Sadhasivam
Hello, This patchset adds Oxalis board support. This board is one of the 96Boards Enterprise Edition platform from EBS-SYSTART GmbH. Below are some of the key features of this board: * SoC: NXP Layerscape LS1012A * RAM: 1GB DDR3L * PMU: NXP VR5100 * Storage: 64MByte SPI Flash for bootloader and

[PATCH 2/3] dt-bindings: arm: fsl: Add devicetree binding for Oxalis

2019-01-10 Thread Manivannan Sadhasivam
Add devicetree binding for Oxalis SoM board from EBS-SYSTART GmbH. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt

[PATCH 3/3] arm64: dts: freescale: Add devicetree for Oxalis

2019-01-10 Thread Manivannan Sadhasivam
Add devicetree support for Oxalis SoM board from EBS-SYSTART. This board is one of the 96Boards Enterprise Edition platform. Below are some of the key features of this board: * SoC: NXP Layerscape LS1012A * RAM: 1GB DDR3L * PMU: NXP VR5100 * Storage: 64MByte SPI Flash for bootloader and RCW,

[PATCH 1/3] dt-bindings: vendor-prefixes: Add EBS-SYSTART GmbH Vendor Prefix

2019-01-10 Thread Manivannan Sadhasivam
Add vendor prefix for EBS-SYSTART GmbH. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [GIT PULL] csky fixup for linux-5.0-rc1

2019-01-10 Thread Guo Ren
Sorry Linus, This pull-request is wrong on the patch: "csky: fixup module relocation error with 807 & 860". diff --git a/arch/csky/kernel/module.c b/arch/csky/kernel/module.c - uint16_t location_tmp = (uint16_t *)location; + uint16_t *location_tmp = (uint16_t *)location; Please drop

Re: [PATCH v2] vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel

2019-01-10 Thread Steffen Klassert
On Sun, Jan 06, 2019 at 09:31:20PM -0500, Su Yanjun wrote: > Recently we run a network test over ipcomp virtual tunnel.We find that > if a ipv4 packet needs fragment, then the peer can't receive > it. > > We deep into the code and find that when packet need fragment the smaller > fragment will be

[PATCH] 8250_pci.c: Only check for communication class in serial_pci_guess_board

2019-01-10 Thread Guan Yung Tseng
Some multiport serial cards, such as the NI PXI-8430/2, NI PXI-8430/8, and NI PXI-8432/4 use PCI_CLASS_COMMUNICATION_OTHER and this fail the serial_pci_is_class_communication test added in the commit 7d8905d06405 ("serial: 8250_pci: Enable device after we check black list"). Since these devices

Re: [PATCH] mailbox: tegra-hsp: mark PM functions as __maybe_unused

2019-01-10 Thread Thierry Reding
On Tue, Jan 08, 2019 at 03:37:13PM +0100, Anders Roxell wrote: > Without CONFIG_PM_SLEEP, we get annoying warnings about unused > functions: > > drivers/mailbox/tegra-hsp.c:782:12: warning: ‘tegra_hsp_resume’ defined but > not used [-Wunused-function] > static int tegra_hsp_resume(struct device

[PATCH] drm/qxl: drop prime import/export callbacks

2019-01-10 Thread Gerd Hoffmann
Also set prime_handle_to_fd and prime_fd_to_handle to NULL, so drm will not advertive DRM_PRIME_CAP_{IMPORT,EXPORT} to userspace. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_drv.c | 4 drivers/gpu/drm/qxl/qxl_prime.c | 14 -- 2 files changed, 18 deletions(-)

Re: [PATCH 1/1] MAINTAINERS: fix bad file reference into Documentation

2019-01-10 Thread Łukasz Stelmach
It was <2019-01-09 śro 20:35>, when Joe Perches wrote: > On Wed, 2019-01-09 at 20:09 +0100, Otto Sabart wrote: >> There is no `samsung,exynos5250-trng.txt` file in the documentation and >> I do not think it ever existed. > > There was a patch for this > >

Re: [PATCH v9 1/2] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support

2019-01-10 Thread Long Cheng
On Thu, 2019-01-03 at 09:39 +0800, Nicolas Boichat wrote: > On Wed, Jan 2, 2019 at 10:13 AM Long Cheng wrote: > > . > > +/* interrupt trigger level for tx */ > > +#define VFF_TX_THRE(n) ((n) * 7 / 8) > > +/* interrupt trigger level for rx */ > > +#define VFF_RX_THRE(n) ((n)

[GIT PULL] mtd: Fixes for 5.0-rc2

2019-01-10 Thread Boris Brezillon
Hello Linus, Here is the MTD fixes PR for 5.0-rc2. Regards, Boris The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at: git://git.infradead.org/linux-mtd.git

[PATCH 1/2] pinctrl: sunxi: Increase size of regulator array

2019-01-10 Thread Chen-Yu Tsai
On the A80, the pin banks go up to PN, which translates to the 14th entry in the regulator array. The array is only 12 entries long, which causes the sunxi_pmx_{request,free} functions to access beyond the array on the A80 and the A31 (which has pin bank PM). While the accessed data is still valid

Re: [BUG] moving fq back to clock monotonic breaks my setup

2019-01-10 Thread Ian Kumlien
On Thu, Jan 10, 2019 at 6:53 AM Eric Dumazet wrote: > On Wed, Jan 9, 2019 at 4:48 PM Ian Kumlien wrote: > > > > Hi, > > > > Just been trough ~5+ hours of bisecting and eventually actually found > > the culprit =) > > > > commit fb420d5d91c1274d5966917725e71f27ed092a85 (refs/bisect/bad) > >

[PATCH 2/2] pinctrl: sunxi: Fix and simplify pin bank regulator handling

2019-01-10 Thread Chen-Yu Tsai
The new per-pin-bank regulator handling code in the sunxi pinctrl driver has mismatched conditions for enabling and disabling the regulator: it is enabled each time a pin is requested, but only disabled when the pin-bank's reference count reaches zero. Since we are doing reference counting

Re: [PATCH] x86/boot: drop memset from copy.S

2019-01-10 Thread Cao jin
Hello HPA, On 1/8/19 4:38 PM, h...@zytor.com wrote: > On January 7, 2019 12:52:57 AM PST, Cao jin wrote: >> Hi, >> >> On 1/7/19 3:59 PM, h...@zytor.com wrote: >>> On January 6, 2019 11:40:56 PM PST, Cao jin >> wrote: According to objdump output of setup, function memset is not used in

Re: [PATCH 2/9] drm/mediatek: move the setting of fixed divider

2019-01-10 Thread CK Hu
Hi, Chunhui: On Fri, 2019-01-04 at 15:03 +0800, chunhui dai wrote: > move the setting of fixed divider from enable/disable > to the function of setting rate. Please describe more about _WHY_ of this patch. Does it fix any bug, or enhance some thing, or a new feature? Regards, CK > >

[PATCH v3 04/15] drm/bochs: atomic: add mode_set_nofb callback.

2019-01-10 Thread Gerd Hoffmann
Conversion to atomic modesetting, step two. Add mode_set_nofb crtc helper callback. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_kms.c | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v3 06/15] drm/bochs: atomic: use atomic set_config helper

2019-01-10 Thread Gerd Hoffmann
Conversion to atomic modesetting, step four. Use atomic set_config helper for crtc. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 11/15] drm/bochs: move ttm_bo_(un)reserve calls into bochs_bo_{pin,unpin}

2019-01-10 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_fbdev.c | 8 drivers/gpu/drm/bochs/bochs_kms.c | 14 +- drivers/gpu/drm/bochs/bochs_mm.c| 8 3 files changed, 9 insertions(+), 21 deletions(-) diff --git

[PATCH v3 03/15] drm/bochs: atomic: add atomic_flush+atomic_enable callbacks.

2019-01-10 Thread Gerd Hoffmann
Conversion to atomic modesetting, step one. Add atomic crtc helper callbacks. Signed-off-by: Gerd Hoffmann Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_kms.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c

[PATCH v3 07/15] drm/bochs: atomic: use atomic page_flip helper

2019-01-10 Thread Gerd Hoffmann
Conversion to atomic modesetting, step five. Use atomic page_flip helper for crtc. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_kms.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-)

[PATCH v3 08/15] drm/bochs: atomic: set DRIVER_ATOMIC

2019-01-10 Thread Gerd Hoffmann
Conversion to atomic modesetting, final step. Set the DRIVER_ATOMIC flag. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 10/15] drm/bochs: drop unused gpu_addr arg from bochs_bo_pin()

2019-01-10 Thread Gerd Hoffmann
It's always NULL, so just remove it. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs.h | 2 +- drivers/gpu/drm/bochs/bochs_fbdev.c | 2 +- drivers/gpu/drm/bochs/bochs_kms.c | 2 +-

[PATCH v3 12/15] drm/bochs: add basic prime support

2019-01-10 Thread Gerd Hoffmann
Just enough to make the generic framebuffer emulation happy. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs.h | 7 ++ drivers/gpu/drm/bochs/bochs_drv.c | 11 - drivers/gpu/drm/bochs/bochs_mm.c | 49

[PATCH v3 14/15] drm/bochs: drop old fbdev emulation code

2019-01-10 Thread Gerd Hoffmann
Not needed any more, bochs uses the generic emulation now. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs.h | 9 --- drivers/gpu/drm/bochs/bochs_drv.c | 6 -- drivers/gpu/drm/bochs/bochs_fbdev.c | 129

[PATCH v3 05/15] drm/bochs: atomic: switch planes to atomic, wire up helpers.

2019-01-10 Thread Gerd Hoffmann
Conversion to atomic modesetting, step three. Wire up atomic helpers. Switch planes to atomic. We are late to the party, the transitional helpers are gone, so this can't be splitted into smaller steps any more. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel

[PATCH v3 13/15] drm/bochs: switch to generic drm fbdev emulation

2019-01-10 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_drv.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c index 379111f5a0..1d86c0fb5f 100644 ---

[PATCH v3 15/15] drm/bochs: move remaining fb bits to kms

2019-01-10 Thread Gerd Hoffmann
bochs_fbdev.c is almost empty now. Move the remaining framebuffer bits over to bochs_kms.c. Pure code motion. No functional change. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_fbdev.c | 29

[PATCH v3 09/15] drm/bochs: remove old bochs_crtc_* functions

2019-01-10 Thread Gerd Hoffmann
Remove the old, now unused crtc callbacks. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_kms.c | 81 --- 1 file changed, 81 deletions(-) diff --git

[PATCH v3 02/15] drm/bochs: split bochs_hw_setmode

2019-01-10 Thread Gerd Hoffmann
Create a separate bochs_hw_setformat function to configure the framebuffer format (actually just the byteorder). Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs.h | 5 +++-- drivers/gpu/drm/bochs/bochs_hw.c | 19

[PATCH v3 01/15] drm/bochs: encoder cleanup

2019-01-10 Thread Gerd Hoffmann
Most unused callbacks can be NULL pointers these days. Drop a bunch of empty encoder callbacks. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_kms.c | 26 -- 1 file changed, 26 deletions(-)

Re: [RFC PATCH] drm/ttm: force cached mappings for system RAM on ARM

2019-01-10 Thread Zhang, Jerry(Junwei)
On 1/10/19 3:28 PM, Ard Biesheuvel wrote: ARM systems do not permit the use of anything other than cached mappings for system memory, since that memory may be mapped in the linear region as well, and the architecture does not permit aliases with mismatched attributes. So short-circuit the

Re: [PATCH] kernel: release ptraced tasks before zap_pid_ns_processes

2019-01-10 Thread Andrei Vagin
On Wed, Jan 09, 2019 at 06:08:30PM +0100, Oleg Nesterov wrote: > On 01/08, Andrei Vagin wrote: > > > > No, you don't. The patch looks really nice. Thanks! > > > > BTW: We probably need to add the "Fixes:" tag, but I am not sure to which > > commit, it looks like the issue is here for years. > > I

Re: [RFC PATCH] drm/ttm: force cached mappings for system RAM on ARM

2019-01-10 Thread Koenig, Christian
Hi Ard, thanks a lot for this! At least somebody who can explain why this doesn't work as expected. The problem is that the hardware actually needs a few pages as uncached in a couple of cases to work correctly. So we could still run into issues with that solution. For now we have blocked

Re: [PATCH v2 0/5] fuse: Interrupt-related optimizations and improvements

2019-01-10 Thread Miklos Szeredi
On Wed, Dec 26, 2018 at 2:25 PM Kirill Tkhai wrote: > > ping > > On 08.11.2018 12:05, Kirill Tkhai wrote: > > v2: Changes in [1-2,5] patches. The biggest change is in [5], > > where repeater FR_INTERRUPTED assignment is removed. > > > > This patchset consists of several parts. Patches [1-2]

Re: [PATCH RFC memory-model 0/6] LKMM updates

2019-01-10 Thread Andrea Parri
> > > > It seems that > > > > > > > > 1b52d0186177 ("tools/memory-model: Model smp_mb__after_unlock_lock()") > > > > > > > > from linux-rcu/dev got lost; this also needs an ack (probably yours! ;D, > > > > considered that, IIRC, you introduced the primitive and RCU is currently > > > > its

[PATCH] f2fs: fix to set sbi dirty correctly

2019-01-10 Thread Chao Yu
In order to record direct IO count, we add two additional type in enum count_type: F2FS_DIO_{WRITE,READ}, but those IO won't dirty filesystem metadata, so we don't need to set filesystem dirty in inc_page_count(), fix it. Fixes: 02b16d0a34a1 ("f2fs: add to account direct IO") Signed-off-by: Chao

Re: [PATCH] arm64: dts: Remove inconsistent use of 'arm,armv8' compatible string

2019-01-10 Thread Heiko Stübner
Am Mittwoch, 9. Januar 2019, 21:29:34 CET schrieb Rob Herring: > The 'arm,armv8' compatible string is only for software models. It adds > little value otherwise and is inconsistently used as a fallback on some > platforms. Remove it from those platforms. > > This fixes warnings generated by the

Re: seqcount usage in xt_replace_table()

2019-01-10 Thread Dmitry Vyukov
On Wed, Jan 9, 2019 at 6:11 PM Paul E. McKenney wrote: > > On Wed, Jan 09, 2019 at 01:29:02PM +0100, Dmitry Vyukov wrote: > > On Wed, Jan 9, 2019 at 1:11 PM Andrea Parri > > wrote: > > > > > > On Wed, Jan 09, 2019 at 12:55:27PM +0100, Dmitry Vyukov wrote: > > > > On Wed, Jan 9, 2019 at 12:24 PM

Re: [PATCH v9 1/2] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support

2019-01-10 Thread Long Cheng
On Wed, 2019-01-02 at 18:03 -0800, Randy Dunlap wrote: > Hi, > > While you are making changes, here are a few more: > hi OK, thanks for your comments. > > On 1/2/19 5:39 PM, Nicolas Boichat wrote: > > diff --git a/drivers/dma/mediatek/Kconfig b/drivers/dma/mediatek/Kconfig > > index

Re: [PATCH] ipset: fix a missing check of nla_parse

2019-01-10 Thread Kirill Tkhai
On 10.01.2019 01:43, Pablo Neira Ayuso wrote: > On Wed, Dec 26, 2018 at 12:16:25PM +0300, Kirill Tkhai wrote: >> On 26.12.2018 06:50, Kangjie Lu wrote: >>> When nla_parse fails, we should not use the results (the first >>> argument). The fix checks if it fails, and if so, returns its error code

Re: [BUG] moving fq back to clock monotonic breaks my setup

2019-01-10 Thread Paolo Abeni
On Thu, 2019-01-10 at 09:25 +0100, Ian Kumlien wrote: > On Thu, Jan 10, 2019 at 6:53 AM Eric Dumazet wrote: > > On Wed, Jan 9, 2019 at 4:48 PM Ian Kumlien wrote: > > > Hi, > > > > > > Just been trough ~5+ hours of bisecting and eventually actually found > > > the culprit =) > > > > > > commit

Re: [PATCH v3 14/15] drm/bochs: drop old fbdev emulation code

2019-01-10 Thread Noralf Trønnes
Den 10.01.2019 09.28, skrev Gerd Hoffmann: > Not needed any more, bochs uses the generic emulation now. > > Signed-off-by: Gerd Hoffmann > Reviewed-by: Oleksandr Andrushchenko > Acked-by: Daniel Vetter > --- > drivers/gpu/drm/bochs/bochs.h | 9 --- >

[PATCH v2] PM/runtime: Fix autosuspend_delay on 32bits arch

2019-01-10 Thread Vincent Guittot
Cast autosuspend_delay in u64 to make sure that the full computation of expires or slack will be done in u64, even on 32bits arch. Otherwise, any delay greater than 2^31 nsec can overflow if signed 32bits is used when moving delay from msec to nsec Fixes: 8234f6734c5d ("PM-runtime: Switch

[PATCH] ASoC: soc-core: Hold client_mutex around soc_init_dai_link()

2019-01-10 Thread Rohit kumar
soc_init_dai_link() calls soc_find_component() which needs to be within client_mutex lock. Add client_mutex lock around soc_init_dai_link() in snd_soc_register_card() to avoid lockdep warning. Fixes: 8780cf1142a5 ("ASoC: soc-core: defer card probe until all component is added to list")

Re: [PATCH v1 5/7] cpufreq: qcom-hw: Register as a cpufreq cooling device

2019-01-10 Thread Amit Kucheria
On Thu, Jan 10, 2019 at 11:42 AM Viresh Kumar wrote: > > On 10-01-19, 05:30, Amit Kucheria wrote: > > Signed-off-by: Amit Kucheria > > --- > > drivers/cpufreq/qcom-cpufreq-hw.c | 5 + > > 1 file changed, 5 insertions(+) > > > > diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c > >

Re: [PATCH 9/11] KVM/MMU: Flush tlb in the kvm_mmu_write_protect_pt_masked()

2019-01-10 Thread Tianyu Lan
On Tue, Jan 8, 2019 at 12:26 AM Paolo Bonzini wrote: > > On 04/01/19 09:54, lantianyu1...@gmail.com wrote: > > rmap_head = __gfn_to_rmap(slot->base_gfn + gfn_offset + > > __ffs(mask), > > PT_PAGE_TABLE_LEVEL, slot); > > -

Re: [PATCH 4/4] dt-bindings: phy-rockchip-inno-usb2: add new rockchip,force-bvalid property.

2019-01-10 Thread Enric Balletbo Serra
Hi Rob, Missatge de Rob Herring del dia dj., 16 d’ag. 2018 a les 0:26: > > On Wed, Aug 15, 2018 at 11:59:34AM +0200, Enric Balletbo i Serra wrote: > > This property is used when the otg-id pin is not connected. When this > > property is set it forces to set the B-Device Session Valid bit when

Re: [PATCH v10 15/15] OPTIONAL: cpufreq: dt: Register an Energy Model

2019-01-10 Thread Quentin Perret
On Wednesday 09 Jan 2019 at 10:14:51 (-0800), Matthias Kaehlcke wrote: > I think registering the perf domain only once is fine, since the info > isn't supposed to change and will likely be used again after > _exit(). However since we have em_cpu_get() I'd suggest to use it and > only call

Re: [PATCH] edac: unregister the mci device before free the mci memory

2019-01-10 Thread Borislav Petkov
On Tue, Dec 25, 2018 at 02:13:04AM -0500, Liwei Song wrote: > this patch can fix the following kmemleak: > > unreferenced object 0x881022b60ee0 (size 32): > comm "udevd", pid 262, jiffies 4294709066 (age 1410.265s) > hex dump (first 32 bytes): > 00 7c e8 18 10 88 ff ff 00 74 e8 18 10

Re: [PATCH] scsi: isci: initialize shost fully before calling scsi_add_host()

2019-01-10 Thread John Garry
On 09/01/2019 18:41, Christoph Hellwig wrote: This looks good. I wonder if there is any good way to prevent other drivers from picking up this bug byt using a better interface, but that should not delay your fix. . I noticed that hisi_sas has this same problem but I forgot to fix it. So

Re: [PATCH] mm/mmu_notifier: mm/rmap.c: Fix a mmu_notifier range bug in try_to_unmap_one

2019-01-10 Thread Adam Borowski
On Wed, Jan 09, 2019 at 04:51:17PM -0800, Sean Christopherson wrote: > Manifests as KVM use-after-free WARNINGs and subsequent "BUG: Bad page > state in process X" errors when reclaiming from a KVM guest due to KVM > removing the wrong pages from its own mappings. With your patch, no badness

Re: [linux-sunxi] [PATCH v3 02/28] clk: sunxi-ng: Adjust MP clock parent rate when allowed

2019-01-10 Thread Priit Laes
On Sun, Nov 04, 2018 at 07:26:39PM +0100, Jernej Skrabec wrote: > Currently MP clocks don't consider adjusting parent rate even if they > are allowed to do so. Such behaviour considerably lowers amount of > possible rates, which is very inconvenient when such clock is used for > pixel clock, for

Re: [PATCH] gpio: pcf857x: Fix interrupts on multiple instances

2019-01-10 Thread Bartosz Golaszewski
śr., 9 sty 2019 o 10:11 Roger Quadros napisał(a): > > When multiple instances of pcf857x chips are present, a fix up > message [1] is printed during the probe of the 2nd and later > instances. > > The issue is that the driver is using the same irq_chip data > structure between multiple instances.

Re: [PATCH] clocksource: sun5i: fail gracefully when clock rate is unavailable

2019-01-10 Thread Daniel Lezcano
On 10/01/2019 07:22, Chen-Yu Tsai wrote: > If the clock tree is not fully populated when the timer-sun5i init code > is called, attempts to get the clock rate for the timer would fail and > return 0. > > Make the init code for both clock events and clocksource check the > returned clock rate and

Re: [PATCH v2] netfilter: account ebt_table_info to kmemcg

2019-01-10 Thread Kirill Tkhai
On 06.01.2019 14:00, Kirill Tkhai wrote: > On 03.01.2019 06:14, Shakeel Butt wrote: >> The [ip,ip6,arp]_tables use x_tables_info internally and the underlying >> memory is already accounted to kmemcg. Do the same for ebtables. The >> syzbot, by using setsockopt(EBT_SO_SET_ENTRIES), was able to OOM

Re: [PATCH v3 4/7] arm64: add sysfs vulnerability show for meltdown

2019-01-10 Thread Julien Thierry
Hi Jeremy, On 09/01/2019 23:55, Jeremy Linton wrote: > Display the mitigation status if active, otherwise > assume the cpu is safe unless it doesn't have CSV3 > and isn't in our whitelist. > > Signed-off-by: Jeremy Linton > --- > arch/arm64/kernel/cpufeature.c | 32

[PATCH] regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting

2019-01-10 Thread Axel Lin
The act8600_sudcdc_voltage_ranges setting does not match the datasheet. The problems in below entry: REGULATOR_LINEAR_RANGE(1900, 191, 255, 40), 1. The off-by-one min_sel causes wrong volatage calculation. The min_sel should be 192. 2. According to the datasheet[1] Table 7. (on page

Re: [PATCHi v2] mm: put_and_wait_on_page_locked() while page is migrated

2019-01-10 Thread Vlastimil Babka
On 11/26/18 8:27 PM, Hugh Dickins wrote: > Waiting on a page migration entry has used wait_on_page_locked() all > along since 2006: but you cannot safely wait_on_page_locked() without > holding a reference to the page, and that extra reference is enough to > make migrate_page_move_mapping() fail

RE: [PATCH V5 2/4] thermal: imx_sc: add i.MX system controller thermal support

2019-01-10 Thread Anson Huang
Hi, Eduardo Best Regards! Anson Huang > -Original Message- > From: Anson Huang > Sent: 2018年12月26日 11:36 > To: 'Eduardo Valentin' > Cc: robh...@kernel.org; mark.rutl...@arm.com; catalin.mari...@arm.com; > will.dea...@arm.com; rui.zh...@intel.com; daniel.lezc...@linaro.org; > Aisheng

Re: [PATCH v3 5/6] x86/alternative: Use a single access in text_poke() where possible

2019-01-10 Thread Nadav Amit
> On Jan 9, 2019, at 2:59 PM, Josh Poimboeuf wrote: > > Static call inline patching will need to use single 32-bit writes. > Change text_poke() to do so where possible. > > Signed-off-by: Josh Poimboeuf > --- > arch/x86/kernel/alternative.c | 31 --- > 1 file

Re: [PATCH v1 5/7] cpufreq: qcom-hw: Register as a cpufreq cooling device

2019-01-10 Thread Rafael J. Wysocki
On Thu, Jan 10, 2019 at 7:12 AM Viresh Kumar wrote: > > On 10-01-19, 05:30, Amit Kucheria wrote: > > Signed-off-by: Amit Kucheria > > --- > > drivers/cpufreq/qcom-cpufreq-hw.c | 5 + > > 1 file changed, 5 insertions(+) > > > > diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c > >

Attention:

2019-01-10 Thread Mr Oscar William
-- Your long awaited part payment of $4,500,000.00 Usd is ready for immediate release to you, and it was electronically credited into an ATM Visa Card for easy delivery. Your new Payment Reference No.- 6363836, Password No: 006786, Pin Code No: 1787, Your Certificate of Merit Payment No:

Re: [PATCH 1/1] doc: pinctrl: fix bad reference to pinctrl.txt file

2019-01-10 Thread Richard Fitzgerald
On 09/01/19 19:06, Otto Sabart wrote: The pinctrl.txt file was converted into reStructuredText and moved into driver-api folder. This patch updates the broken reference. Fixes: 5a9b73832e9e ("pinctrl.txt: move it to the driver-api book") Signed-off-by: Otto Sabart ---

Re: [RFC PATCH] drm/ttm: force cached mappings for system RAM on ARM

2019-01-10 Thread Michel Dänzer
On 2019-01-10 8:28 a.m., Ard Biesheuvel wrote: > ARM systems do not permit the use of anything other than cached > mappings for system memory, since that memory may be mapped in the > linear region as well, and the architecture does not permit aliases > with mismatched attributes. > > So

Re: [PATCH] 8250_pci.c: Only check for communication class in serial_pci_guess_board

2019-01-10 Thread Greg KH
On Thu, Jan 10, 2019 at 04:12:12PM +0800, Guan Yung Tseng wrote: > Some multiport serial cards, such as the NI PXI-8430/2, NI PXI-8430/8, > and NI PXI-8432/4 use PCI_CLASS_COMMUNICATION_OTHER and this fail the > serial_pci_is_class_communication test added in the commit 7d8905d06405 > ("serial:

Re: [RFC RESEND PATCH 0/7] Add driver for dvfsrc and add support for active state of scpsys on mt8183

2019-01-10 Thread Georgi Djakov
Hi, On 1/9/19 05:08, Henry Chen wrote: > On Mon, 2019-01-07 at 18:34 +0200, Georgi Djakov wrote: >> Hi Henry, >> >> On 1/7/19 13:04, Henry Chen wrote: >>> On Thu, 2019-01-03 at 14:53 -0800, Stephen Boyd wrote: Quoting Henry Chen (2019-01-02 06:09:51) > The patchsets add support for

Re: [PATCH RFC LKMM 7/7] tools/memory-model: Dynamically check SRCU lock-to-unlock matching

2019-01-10 Thread Andrea Parri
On Wed, Jan 09, 2019 at 01:07:48PM -0800, Paul E. McKenney wrote: > From: Luc Maranget > > This commit checks that the return value of srcu_read_lock() is passed > to the matching srcu_read_unlock(), where "matching" is determined by > nesting. This check operates as follows: > >1.

Re: [PATCH v2] netfilter: account ebt_table_info to kmemcg

2019-01-10 Thread Michal Hocko
On Thu 10-01-19 12:22:09, Kirill Tkhai wrote: [...] > >> diff --git a/net/bridge/netfilter/ebtables.c > >> b/net/bridge/netfilter/ebtables.c > >> index 491828713e0b..5e55cef0cec3 100644 > >> --- a/net/bridge/netfilter/ebtables.c > >> +++ b/net/bridge/netfilter/ebtables.c > >> @@ -1137,14 +1137,16

Re: [PATCH v3 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-10 Thread Alexey Budankov
On 09.01.2019 19:53, Jiri Olsa wrote: > On Wed, Jan 09, 2019 at 12:38:23PM +0300, Alexey Budankov wrote: > > SNIP > >> diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c >> index e5220790f1fb..ee0230eed635 100644 >> --- a/tools/perf/util/mmap.c >> +++ b/tools/perf/util/mmap.c >> @@

Re: [PATCH RFC 0/3] mm: Reduce IO by improving algorithm of memcg pagecache pages eviction

2019-01-10 Thread Kirill Tkhai
On 09.01.2019 20:10, Michal Hocko wrote: > On Wed 09-01-19 18:43:05, Kirill Tkhai wrote: >> Hi, Michal, >> >> On 09.01.2019 17:11, Michal Hocko wrote: >>> On Wed 09-01-19 15:20:18, Kirill Tkhai wrote: On nodes without memory overcommit, it's common a situation, when memcg exceeds its

RE: [RESEND 1/1] gic: its: Make sure a LPI is discarded before free.

2019-01-10 Thread Zhao, Yuanyuan
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: 2019年1月9日 17:52 > To: Zhao, Yuanyuan > Cc: t...@linutronix.de; ja...@lakedaemon.net; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Zheng, Joey > ; Wang, Dongsheng semitech.com> >

Re: [PATCH RFC 0/3] mm: Reduce IO by improving algorithm of memcg pagecache pages eviction

2019-01-10 Thread Kirill Tkhai
Hi, Shakeel, On 09.01.2019 20:37, Shakeel Butt wrote: > Hi Kirill, > > On Wed, Jan 9, 2019 at 4:20 AM Kirill Tkhai wrote: >> >> On nodes without memory overcommit, it's common a situation, >> when memcg exceeds its limit and pages from pagecache are >> shrinked on reclaim, while node has a lot

Re: [PATCH v2] netfilter: account ebt_table_info to kmemcg

2019-01-10 Thread Kirill Tkhai
On 10.01.2019 12:41, Michal Hocko wrote: > On Thu 10-01-19 12:22:09, Kirill Tkhai wrote: > [...] diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index 491828713e0b..5e55cef0cec3 100644 --- a/net/bridge/netfilter/ebtables.c +++

[PATCH 1/2] perf powerpc: Rework syscall table generation

2019-01-10 Thread Ravi Bangoria
Commit aff850393200 ("powerpc: add system call table generation support") changed how systemcall table is generated for powerpc. Incorporate these changes into perf as well. Signed-off-by: Ravi Bangoria --- tools/perf/arch/powerpc/Makefile | 15 +-

[PATCH 2/2] perf powerpc: Remove unistd.h

2019-01-10 Thread Ravi Bangoria
We use syscall.tbl to generate system call table on powerpc. unistd.h is no longer required now. Remove it. Signed-off-by: Ravi Bangoria --- tools/arch/powerpc/include/uapi/asm/unistd.h | 404 --- tools/perf/check-headers.sh | 1 - 2 files changed, 405

Re: [PATCH v6 1/8] dt-bindings: stmpe: reformatting parameter list and use tabs only

2019-01-10 Thread Linus Walleij
On Wed, Jan 9, 2019 at 2:43 PM Philippe Schenker wrote: > From: Philippe Schenker > > This patch reformats the parameter list for stmpe device in a > table-style so it is more clear to read. > > Signed-off-by: Philippe Schenker > Acked-for-MFD-by: Lee Jones > Reviewed-by: Rob Herring

[PATCH] PM/runtime: Do not needlessly call ktime_get

2019-01-10 Thread Ladislav Michl
pm_runtime_autosuspend_expiration calls ktime_get even when its returned value may be unused. Therefore get current time later and remove gotos while there. Signed-off-by: Ladislav Michl --- NOTE: Depends on Vincent's "[PATCH v2] PM/runtime: Fix autosuspend_delay on 32bits arch"!

Re: [PATCH v9] mm/page_alloc.c: memory_hotplug: free pages as higher order

2019-01-10 Thread Michal Hocko
On Thu 10-01-19 11:05:43, Arun KS wrote: > When freeing pages are done with higher order, time spent on coalescing > pages by buddy allocator can be reduced. With section size of 256MB, hot > add latency of a single section shows improvement from 50-60 ms to less > than 1 ms, hence improving the

Re: [PATCH 1/2] EDAC: Add Aspeed AST2500 EDAC driver

2019-01-10 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 10:01:56PM -0800, Stefan Schaeckeler wrote: > From: Stefan M Schaeckeler > > Add support for the Aspeed AST2500 SoC EDAC driver. > > Signed-off-by: Stefan M Schaeckeler > --- > MAINTAINERS | 6 + > arch/arm/boot/dts/aspeed-g5.dtsi | 7 + >

Re: [PATCH v2] cpuidle: Add 'above' and 'below' idle state metrics

2019-01-10 Thread Daniel Lezcano
On 10/12/2018 12:30, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Add two new metrics for CPU idle states, "above" and "below", to count > the number of times the given state had been asked for (or entered > from the kernel's perspective), but the observed idle duration turned > out to

Re: [PATCH 0/6] perf thread-stack: x86 retpolines

2019-01-10 Thread Jiri Olsa
On Wed, Jan 09, 2019 at 11:18:29AM +0200, Adrian Hunter wrote: > Hi > > Here are some patches to improve the exported call graph, primarily to deal > with x86 retpolines. > > > Adrian Hunter (6): > perf tools: Fix split_kallsyms_for_kcore for trampoline symbols > perf thread-stack:

Re: [PATCH v3 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-10 Thread Jiri Olsa
On Thu, Jan 10, 2019 at 12:41:55PM +0300, Alexey Budankov wrote: > On 09.01.2019 19:53, Jiri Olsa wrote: > > On Wed, Jan 09, 2019 at 12:38:23PM +0300, Alexey Budankov wrote: > > > > SNIP > > > >> diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c > >> index e5220790f1fb..ee0230eed635

Re: [PATCH RFC 0/3] mm: Reduce IO by improving algorithm of memcg pagecache pages eviction

2019-01-10 Thread Michal Hocko
On Thu 10-01-19 12:42:02, Kirill Tkhai wrote: [...] > In general, I think a some time useful design is not a Bible, that nobody > is allowed to change. We should not limit us in something, in case of this > has a sense and may be useful. This is just a note in general. But any semantic exported

Re: [PATCH] media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL

2019-01-10 Thread Sylwester Nawrocki
On 1/9/19 19:00, Paweł Chmiel wrote: > This commit corrects max and step values for v4l2 control for > V4L2_CID_JPEG_RESTART_INTERVAL. Max should be 0x and step should be 1. > It was found by using v4l2-compliance tool and checking result of > VIDIOC_QUERY_EXT_CTRL/QUERYMENU test. > Previously

Re: [RFC PATCH 09/15] epoll: introduce stand-alone helpers for polling from userspace

2019-01-10 Thread Roman Penyaev
On 2019-01-09 18:29, Linus Torvalds wrote: On Wed, Jan 9, 2019 at 8:40 AM Roman Penyaev wrote: ep_vrealloc*() realloc user header, user index or bitmap memory What? No. This is wrong, it's much too complicated. And because your 'vrealloc()' doesn't follow the normal realloc rules, it

Free Will Offer

2019-01-10 Thread M.M. Fridman
I, Mikhail Fridman have selected you specifically as one of my beneficiaries for my Charitable Donation of $5 Million Dollars, Check the link below for confirmation: https://www.rt.com/business/343781-mikhail-fridman-will-charity/ I await your earliest response for further directives. Best

Re: [PATCH RFC 0/3] mm: Reduce IO by improving algorithm of memcg pagecache pages eviction

2019-01-10 Thread Kirill Tkhai
On 09.01.2019 19:33, Josef Bacik wrote: > On Wed, Jan 09, 2019 at 07:08:09PM +0300, Kirill Tkhai wrote: >> Hi, Josef, >> >> On 09.01.2019 18:49, Josef Bacik wrote: >>> On Wed, Jan 09, 2019 at 03:20:18PM +0300, Kirill Tkhai wrote: On nodes without memory overcommit, it's common a situation,

[PATCH] xen: Fix x86 sched_clock() interface for xen

2019-01-10 Thread Juergen Gross
Commit f94c8d11699759 ("sched/clock, x86/tsc: Rework the x86 'unstable' sched_clock() interface") broke Xen guest time handling across migration: [ 187.249951] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 187.251137] OOM killer disabled. [ 187.251137] Freezing remaining

Re: [PATCH v4 00/15] Add support for OLPC XO 1.75 Embedded Controller

2019-01-10 Thread Andy Shevchenko
On Wed, Jan 9, 2019 at 6:37 PM Lubomir Rintel wrote: > On Wed, 2019-01-09 at 13:15 +0200, Andy Shevchenko wrote: > > On Tue, Jan 8, 2019 at 7:58 PM Lubomir Rintel wrote: > > > Also, the 01/15 patch has been added to allow the module to provide > > > a > > > reboot handler. Patch 15/15 depends

  1   2   3   4   5   6   7   8   9   10   >