Re: [PATCH V4 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-27 Thread Chunyan Zhang
On Thu, 27 Dec 2018 at 15:44, Adrian Hunter wrote: > > On 11/12/18 11:12 AM, Chunyan Zhang wrote: > > Some standard SD host controllers can support both external dma > > controllers as well as ADMA/SDMA in which the SD host controller > > acts as DMA master. TI's omap controller is the case as an

Re: [PATCH] xfs: add a check for xfs_trans_commit

2018-12-27 Thread Christoph Hellwig
On Wed, Dec 26, 2018 at 12:05:16AM -0600, Kangjie Lu wrote: > xfs_trans_commit could fails. The checks issues an error message upon > its failure. > > Signed-off-by: Kangjie Lu Please take a close look at what could fail in xfs_trans_commit, and how those failures are logged inside the implement

Re: [PATCH] perf python: Do not force closing original perf descriptor in evlist.get_pollfd

2018-12-27 Thread Jiri Olsa
On Wed, Dec 26, 2018 at 12:21:21PM +0100, Jiri Olsa wrote: > Ondřej reported that when compiled with python3, the python > extension regress in evlist.get_pollfd function behaviour. > > The evlist.get_pollfd creates file objects from evlist's fds > and returns them in the list. The python3 version

Re: [PATCH 15/18] drm/mediatek: add RDMA1 fifo size into RDMA private data

2018-12-27 Thread CK Hu
Hi, Yongqiang: On Mon, 2018-12-24 at 16:08 +0800, Yongqiang Niu wrote: > This patch add RDMA1 fifo size into RDMA private data > > Signed-off-by: Yongqiang Niu > --- > drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 16 +++- > 1 file changed, 15 insertions(+), 1 deletion(-) > > diff --g

Re: [PATCH 1/5] perf session: Get rid of file_size variable

2018-12-27 Thread Jiri Olsa
On Wed, Dec 26, 2018 at 04:43:42PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 26, 2018 at 02:51:28PM +0100, Jiri Olsa escreveu: > > It's not needed and removing it makes the code little > > more simple for upcoming changes. > > > > It's safe to replace file_size with data_size, because >

Re: [PATCH V5 1/3] mmc: sdhci: Fix sdhci_do_enable_v4_mode

2018-12-27 Thread Adrian Hunter
On 21/12/18 3:25 AM, Sowjanya Komatineni wrote: > V4_MODE is Bit-15 of SDHCI_HOST_CONTROL2 register. > Need to perform word access to this register. > > Signed-off-by: Sowjanya Komatineni This patch has already been applied. > --- > drivers/mmc/host/sdhci.c | 4 ++-- > 1 file changed, 2 insert

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

2018-12-27 Thread Pavel Machek
Hi! > > > > If you think it is useful, I can try to update my machine to > > > > linux-next. > > > > > > linux-next is closer to drm-tip, so it's better. Do you have some > > > specific reason for not wanting to run drm-tip (but linux-next is still > > > ok)? > > > > I already have build/update

[PATCH] regmap: regmap-irq: silently ignore unsupported type settings

2018-12-27 Thread Matti Vaittinen
Do not return error if irq-type setting is requested for controlloer which does not support this. This is how regmap-irq has previously handled the undupported type settings and existing drivers seem to be upset if failure is now reported. Fixes: 1c2928e3e321 ("regmap: regmap-irq/gpio-max77620: ad

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

2018-12-27 Thread Krzysztof Kozlowski
On Tue, 18 Dec 2018 at 16:27, Krzysztof Kozlowski wrote: > > Multiple LED triggers might need to access default pattern so add a > helper for that. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/leds/led-class.c | 42 ++ As pointed out by 0day-ci t

[PATCH] ALSA: hda/realtek: Enable the headset mic auto detection for ASUS laptops

2018-12-27 Thread Jian-Hong Pan
The headset mic of ASUS laptops like UX533FD, UX433FN and UX333FA, whose CODEC is Realtek ALC294 has jack auto detection feature. This patch enables the feature. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3] Optimize C3 entry on Centaur CPUs

2018-12-27 Thread David Wang
For new Centaur CPUs the ucode will take care of the preservation of cache coherence between CPU cores in C-states regardless of how deep the C-states are. So, it is not necessary to flush the caches in software befor entering C3. And this useless operation will cause performance drop for the co

Re: [PATCH] drivers: base: swnode: check if pointer p is null before dereferencing it

2018-12-27 Thread Rafael J. Wysocki
On Sat, Dec 22, 2018 at 1:49 PM Colin King wrote: > > From: Colin Ian King > > The pointer p can be potentially null macro to_software_node can return > null. Add null check on p before dereferencing it to avoid any null > pointer dereferences. > > Detected by CoverityScan, CID#1476039 ("Explici

Re: [PATCH][next] drivers: base: swnode: check if swnode is null before dereferencing it

2018-12-27 Thread Rafael J. Wysocki
On Sat, Dec 22, 2018 at 1:43 PM Colin King wrote: > > From: Colin Ian King > > The macro to_software_mode can potentially return NULL, so also add > a null check on the swnode before dereferencing it to avoid any null > pointer dereferences. > > Detected by CoverityScan, CID#1476052 ("Explicit nu

Re: [PATCH V5 3/3] mmc: tegra: HW Command Queue Support for Tegra SDMMC

2018-12-27 Thread Adrian Hunter
On 21/12/18 3:25 AM, Sowjanya Komatineni wrote: > This patch adds HW Command Queue for supported Tegra SDMMC > controllers. > > Tegra SDHCI with Quirk SDHCI_QUIRK2_BROKEN_64_BIT_DMA disables the > use of 64_BIT DMA to disable 64-bit addressing mode access to the > system memory and sdhci_cqe_enabl

4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384"

2018-12-27 Thread Christian Borntraeger
Martin, Right now you get a message "BUG: non-zero pgtables_bytes on freeing mm: -16384" for EVERY process that exits in 4.19.5 and later. bisect points to commit 4136161d676a93fc8df6bdb80d720c15522d6c24 Author: Martin Schwidefsky Date: Mon Oct 15 11:09:16 2018 +0200 s390/mm: fix mis-ac

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-27 Thread Vincent Guittot
Hi Xie, On Thu, 27 Dec 2018 at 03:57, Xie XiuQi wrote: > > Zhepeng Xie report a bug, there is a infinity loop in > update_blocked_averages(). > > PID: 14233 TASK: 800b2de08fc0 CPU: 1 COMMAND: "docker" > #0 [2213b9d0] update_blocked_averages at 0811e4a8 > #1 [2213

[GIT PULL] GPIO bulk changes for the v4.21 kernel

2018-12-27 Thread Linus Walleij
Hi Linus, this is the main part of the v4.21 GPIO changes. Details are in the signed tag. Some interesting changes have already trickled in through the Regulator and MMC/SD trees but get mentioned in the signed tag nevertheless. Please pull it in! Yours, Linus Walleij The following changes si

答复: [PATCH] gpu: drm: fix an improper check of amdgpu_bo_create_kernel

2018-12-27 Thread Qu, Jim
Comments in line. Thanks JimQu 发件人: amd-gfx 代表 Kangjie Lu 发送时间: 2018年12月26日 14:23 收件人: k...@umn.edu 抄送: Zhou, David(ChunMing); David Airlie; Xu, Feifei; Francis, David; linux-kernel@vger.kernel.org; amd-...@lists.freedesktop.org; Huang, Ray; dri-de...

Re: 4.19.5 and later has tons of false messages "BUG: non-zero pgtables_bytes on freeing mm: -16384"

2018-12-27 Thread Christian Borntraeger
On 27.12.2018 10:13, Christian Borntraeger wrote: > Martin, > > Right now you get a message > "BUG: non-zero pgtables_bytes on freeing mm: -16384" > for EVERY process that exits in 4.19.5 and later. > > bisect points to > commit 4136161d676a93fc8df6bdb80d720c15522d6c24 > Author: Martin Schwi

Re: [PATCH net V2 4/4] vhost: log dirty page correctly

2018-12-27 Thread Jason Wang
On 2018/12/26 下午9:46, Michael S. Tsirkin wrote: On Wed, Dec 26, 2018 at 01:43:26PM +0800, Jason Wang wrote: On 2018/12/26 上午12:25, Michael S. Tsirkin wrote: On Tue, Dec 25, 2018 at 05:43:25PM +0800, Jason Wang wrote: On 2018/12/25 上午1:41, Michael S. Tsirkin wrote: On Mon, Dec 24, 2018 at 11

Re: CPUs blocking in update_blocked_averages -- 4.19.12

2018-12-27 Thread Sargun Dhillon
> > We're seeing an issue introduced in 4.18, and that still persists in > 4.19.12 (we upgraded from 4.9), where update_blocked_averages is > blocking. We're running a workload where a majority of our workloads > are confined by cgroups. This exhibits itself due to a softlockup on > a CPU which is

RE: [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-27 Thread Pawel Laszczak
Hi, >> > + >> > + if (ret) >> > + return ret; >> > + >> > + state = readl(&cdns->otg_regs->sts); >> > + if (OTGSTS_OTG_NRDY(state) != 0) { >> > + dev_err(cdns->dev, "Cadence USB3 OTG device not ready\n"); >> > + return -ENODEV; >> > +

Re: [PATCH] backlight: (adp8870) fix a missing check for adp8870_write

2018-12-27 Thread Sam Ravnborg
Hi Kangjie > adp8870_write() may fail. This fix checks if adp8870_write fails, and if > so, returns its error code. > > Signed-off-by: Kangjie Lu > --- > drivers/video/backlight/adp8870_bl.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/drivers/video/back

Re: [PATCH] pinctrl: freescale: Break dependency on SOC_IMX8MQ for i.MX8MQ

2018-12-27 Thread Linus Walleij
On Sun, Dec 23, 2018 at 8:08 AM Abel Vesa wrote: > The CONFIG_SOC_IMX8MQ will go away, so the dependency can be based on > ARCH_MXC && ARM64. > > Signed-off-by: Abel Vesa Patch applied with Dong's and Fabio's ACKs. Yours, Linus Walleij

Re: [PATCH net-next 3/3] vhost: access vq metadata through kernel virtual address

2018-12-27 Thread Jason Wang
On 2018/12/26 下午11:02, Michael S. Tsirkin wrote: On Wed, Dec 26, 2018 at 11:57:32AM +0800, Jason Wang wrote: On 2018/12/25 下午8:50, Michael S. Tsirkin wrote: On Tue, Dec 25, 2018 at 06:05:25PM +0800, Jason Wang wrote: On 2018/12/25 上午2:10, Michael S. Tsirkin wrote: On Mon, Dec 24, 2018 at 03

Re: [PATCH] rtc: fix a missing check of clk_prepare

2018-12-27 Thread Linus Walleij
On Wed, Dec 26, 2018 at 3:44 AM Kangjie Lu wrote: > clk_prepare() could fail, so let's check its status and if it fails > return its error code upstream. > > Signed-off-by: Kangjie Lu Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH RFC 1/2] virtio-net: bql support

2018-12-27 Thread Jason Wang
On 2018/12/26 下午11:15, Michael S. Tsirkin wrote: On Thu, Dec 06, 2018 at 04:17:36PM +0800, Jason Wang wrote: On 2018/12/6 上午6:54, Michael S. Tsirkin wrote: When use_napi is set, let's enable BQLs. Note: some of the issues are similar to wifi. It's worth considering whether something similar

Re: CPUs blocking in update_blocked_averages -- 4.19.12

2018-12-27 Thread Vincent Guittot
Hi Sargun, On Thu, 27 Dec 2018 at 10:36, Sargun Dhillon wrote: > > > > > We're seeing an issue introduced in 4.18, and that still persists in > > 4.19.12 (we upgraded from 4.9), where update_blocked_averages is > > blocking. We're running a workload where a majority of our workloads > > are conf

Re: [PATCH RFC 1/2] virtio-net: bql support

2018-12-27 Thread Jason Wang
On 2018/12/26 下午11:19, Michael S. Tsirkin wrote: On Thu, Dec 06, 2018 at 04:17:36PM +0800, Jason Wang wrote: On 2018/12/6 上午6:54, Michael S. Tsirkin wrote: When use_napi is set, let's enable BQLs. Note: some of the issues are similar to wifi. It's worth considering whether something similar

Re: [PATCH v1 4/7] drm: remove include of drmP.h from bridge/dw_hdmi.h

2018-12-27 Thread Laurent Pinchart
Hi Sam, Thank you for the patch. On Wednesday, 26 December 2018 23:03:50 EET Sam Ravnborg wrote: > Add missing includes in dw_hdmi.h and > fix fallout in drivers. > > Signed-off-by: Sam Ravnborg > Cc: Archit Taneja > Cc: Andrzej Hajda > Cc: Laurent Pinchart > Cc: David Airlie > Cc: Daniel V

Re: [PATCH v1 6/7] drm: remove include of drmP.h from drm_modeset_helper.h

2018-12-27 Thread Laurent Pinchart
Hi Sam, Thank you for the patch. On Wednesday, 26 December 2018 23:03:52 EET Sam Ravnborg wrote: > Fix fallout in various files/drivers by adding missing include files. > > Signed-off-by: Sam Ravnborg > Cc: Alexey Brodkin > Cc: David Airlie > Cc: Daniel Vetter > Cc: Archit Taneja > Cc: Andr

Re: [PATCH RFC 1/2] virtio-net: bql support

2018-12-27 Thread Jason Wang
On 2018/12/26 下午11:22, Michael S. Tsirkin wrote: On Thu, Dec 06, 2018 at 04:17:36PM +0800, Jason Wang wrote: On 2018/12/6 上午6:54, Michael S. Tsirkin wrote: When use_napi is set, let's enable BQLs. Note: some of the issues are similar to wifi. It's worth considering whether something similar

Re: WIP Droid 4 voice calls, GNSS & PM with a TS 27.010 serdev driver

2018-12-27 Thread Pavel Machek
Hi! > So the little elves have been slowly working to get voice calls > working on droid 4 with the mainline kernel. And just in time for the > upcoming holidays, it might be possible to call friends and > relatives. Thanks a lot for the Christmas present :-). > 2. Test a voice call > > $ minic

ath10_pci: WARN(() on resume from S3

2018-12-27 Thread Gabriel C
Hello , on a QCA9377 card I hit WARN() on each resume from S3. This is on kernel 4.19.X and now on 4.20.0 too. On kernel 4.19.x I see just the first WARN() while on 4.20.0 I see now two. Also I see Unknown eventid: xxx and on 4.20.0 a unsupported HTC service id: xxx message(s). ... [ 45.740

Re: KASAN: use-after-free Write in __xfrm_policy_unlink

2018-12-27 Thread Dmitry Vyukov
On Wed, Dec 26, 2018 at 11:42 AM Florian Westphal wrote: > > syzbot wrote: > > syzbot has found a reproducer for the following crash on: > > > > HEAD commit:ce28bb445388 Merge git://git.kernel.org/pub/scm/linux/kern.. > > git tree: net-next > > console output: https://syzkaller.appspot.

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-27 Thread Vincent Guittot
Le Thursday 27 Dec 2018 à 10:21:53 (+0100), Vincent Guittot a écrit : > Hi Xie, > > On Thu, 27 Dec 2018 at 03:57, Xie XiuQi wrote: > > > > Zhepeng Xie report a bug, there is a infinity loop in > > update_blocked_averages(). > > > > PID: 14233 TASK: 800b2de08fc0 CPU: 1 COMMAND: "docker" >

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-27 Thread Vincent Guittot
Adding Sargun and Dimitry who faced similar problem Adding Tejun On Thu, 27 Dec 2018 at 11:21, Vincent Guittot wrote: > > Le Thursday 27 Dec 2018 à 10:21:53 (+0100), Vincent Guittot a écrit : > > Hi Xie, > > > > On Thu, 27 Dec 2018 at 03:57, Xie XiuQi wrote: > > > > > > Zhepeng Xie report a bug,

Re: [PATCH v3 0/2] perf tests: Check for ARM [vectors] page

2018-12-27 Thread Namhyung Kim
Hello, On Thu, Dec 20, 2018 at 07:43:35PM -0800, Florian Fainelli wrote: > Hi all, > > I just painfully learned that perf would segfault when > CONFIG_KUSER_HELPERS is disabled because it unconditionally makes use of Could you please elaborate? Thanks, Namhyung > it. This patch series adds an

[PATCH v4 4/5] irqchip: sifive-plic: Differentiate between PLIC handler and context

2018-12-27 Thread Anup Patel
We explicitly differentiate between PLIC handler and context because PLIC context is for given mode of HART whereas PLIC handler is per-CPU software construct meant for handling interrupts from a particular PLIC context. To achieve this differentiation, we rename "nr_handlers" to "nr_contexts" and

[PATCH v4 2/5] irqchip: sifive-plic: Don't inline plic_toggle() and plic_irq_toggle()

2018-12-27 Thread Anup Patel
The plic_toggle() uses raw_spin_lock() and plic_irq_toggle has a for loop so both these functions are not suitable for being inline hence this patch removes the inline keyword. Signed-off-by: Anup Patel --- drivers/irqchip/irq-sifive-plic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

[PATCH v4 5/5] irqchip: sifive-plic: Implement irq_set_affinity() for SMP host

2018-12-27 Thread Anup Patel
Currently on SMP host, all CPUs take external interrupts routed via PLIC. All CPUs will try to claim a given external interrupt but only one of them will succeed while other CPUs would simply resume whatever they were doing before. This means if we have N CPUs then for every external interrupt N-1

[PATCH v4 3/5] irqchip: sifive-plic: Add warning in plic_init() if handler already present

2018-12-27 Thread Anup Patel
We have two enteries (one for M-mode and another for S-mode) in the interrupts-extended DT property of PLIC DT node for each HART. It is expected that firmware/bootloader will set M-mode HWIRQ line of each HART to 0x (i.e. -1) in interrupts-extended DT property because Linux runs in S-mode

[PATCH v4 1/5] irqchip: sifive-plic: Pre-compute context hart base and enable base

2018-12-27 Thread Anup Patel
This patch does following optimizations: 1. Pre-compute hart base for each context handler 2. Pre-compute enable base for each context handler 3. Have enable lock for each context handler instead of global plic_toggle_lock Signed-off-by: Anup Patel --- drivers/irqchip/irq-sifive-plic.c | 47

[PATCH v4 0/5] IRQ affinity support in PLIC driver

2018-12-27 Thread Anup Patel
This patchset primarily adds IRQ affinity support in PLIC driver and other improvements. It gives mechanism for explicitly route external interrupts to particular CPUs using smp_affinity attribute of each Linux IRQs. Also, we can now use IRQ balancer from kernel-space or user-space. The patchset

[PATCH 1/2] test_sysctl: add tests for >32-bit values written to 32-bit integers

2018-12-27 Thread Zev Weiss
At present this exposes a bug in do_proc_dointvec_minmax_conv() (it fails to check for values that are too wide to fit in an int). Signed-off-by: Zev Weiss --- tools/testing/selftests/sysctl/sysctl.sh | 37 1 file changed, 37 insertions(+) diff --git a/tools/testing/sel

[PATCH 2/2] kernel/sysctl.c: define minmax conv functions in terms of non-minmax versions

2018-12-27 Thread Zev Weiss
do_proc_do[u]intvec_minmax_conv() had included open-coded versions of do_proc_do[u]intvec_conv(), though the signed one omitted the check that the value is in [INT_MIN, INT_MAX]. Rather than increase the duplication further by copying the additional check, we can instead refactor both to be define

Re: ath10_pci: WARN(() on resume from S3

2018-12-27 Thread DeX77
Hi, 4.20.0 I see now two. Also I see Unknown eventid: xxx and on 4.20.0 a unsupported HTC service id: xxx message(s). I have a similar trace on my Dell XPS 13: [31530.551292] ath10k_pci :3a:00.0: unsupported HTC service id: 1536 [31530.566621] ath10k_pci :3a:00.0: Unknown eventid: 1

[PATCH 0/2] sysctl: fix range-checking in do_proc_dointvec_minmax_conv()

2018-12-27 Thread Zev Weiss
Hello, After being left with an unusable system after a typo executing something like 'echo $((1<<24)) > /proc/sys/vm/max_map_count', I found that do_proc_dointvec_minmax_conv() was missing a check to ensure that the converted value actually fits in an int. The first of the following patches enha

Re: [PATCH v37 0/3] Virtio-balloon: support free page reporting

2018-12-27 Thread Christian Borntraeger
This patch triggers random crashes in the guest kernel on s390 early during boot. No migration and no setting of the balloon is involved. On 27.08.2018 03:32, Wei Wang wrote: > The new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT, implemented by this > series enables the virtio-balloon driver to r

bug report: hugetlbfs: use i_mmap_rwsem for more pmd sharing, synchronization

2018-12-27 Thread Colin Ian King
Hi, Static analysis with CoverityScan on linux-next detected a potential null pointer dereference with the following commit: >From d8a1051ed4ba55679ef24e838a1942c9c40f0a14 Mon Sep 17 00:00:00 2001 From: Mike Kravetz Date: Sat, 22 Dec 2018 10:55:57 +1100 Subject: [PATCH] hugetlbfs: use i_mmap_rws

Re: [PATCH] drm/drm_drv.c: Remove duplicate header

2018-12-27 Thread Daniel Vetter
On Mon, Dec 24, 2018 at 08:06:36PM +0530, Brajeswar Ghosh wrote: > Remove drm_crtc_internal.h which is included more than once > > Signed-off-by: Brajeswar Ghosh Applied, thanks for your patch. -Daniel > --- > drivers/gpu/drm/drm_drv.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/d

iommu_intel or i915 regression in 4.18, 4.19.12 and drm-tip

2018-12-27 Thread Eric Wong
I just got a used Thinkpad X201 (Core i5 M 520, Intel QM57 chipset) and hit some kernel panics while trying to view image/animation-intensive stuff in Firefox (X11) unless I use "iommu_intel=igfx_off". With Debian stable backport kernels, "linux-image-4.17.0-0.bpo.3-amd64" (4.17.17-1~bpo9+1) has n

Re: [PATCH 2/3] drm/amd: validate user pitch alignment

2018-12-27 Thread Michel Dänzer
On 2018-12-23 10:44 p.m., Yu Zhao wrote: > On Fri, Dec 21, 2018 at 10:07:26AM +0100, Michel Dänzer wrote: >> On 2018-12-21 4:10 a.m., Yu Zhao wrote: >>> Userspace may request pitch alignment that is not supported by GPU. >>> Some requests 32, but GPU ignores it and uses default 64 when cpp is >>> 4

Re: [PATCH 2/3] dt-bindings: gpu: samsung-rotator: Document s5pv210 support

2018-12-27 Thread Paweł Chmiel
Dnia środa, 19 grudnia 2018 17:22:51 CET Krzysztof Kozlowski pisze: > On Wed, 19 Dec 2018 at 17:04, Paweł Chmiel > wrote: > > > > This commit documents new compatible for s5pv210 soc, > > which will be also supported by this driver. > > > > Signed-off-by: Paweł Chmiel > > --- > > Documentation/d

[GIT PULL] Please pull powerpc/linux.git powerpc-4.21-1 tag

2018-12-27 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Linus, Please pull powerpc updates for 4.21: The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the git repository at: https://git.kernel.org/pub/scm/linu

Re: [PATCH v37 0/3] Virtio-balloon: support free page reporting

2018-12-27 Thread Christian Borntraeger
On 27.12.2018 12:31, Christian Borntraeger wrote: > This patch triggers random crashes in the guest kernel on s390 early during > boot. > No migration and no setting of the balloon is involved. > Adding Conny and Halil, As the QEMU provides no PAGE_HINT feature yet, this quick hack makes the gu

Re: [RFC PATCH 1/2] drm/fb-helper: Bring back workaround for bugs of SDL 1.2

2018-12-27 Thread Daniel Vetter
On Wed, Dec 26, 2018 at 05:11:23PM +0500, Ivan Mironov wrote: > SDL 1.2 sets all fields related to the pixel format to zero in some > cases[1]. Prior to commit db05c48197759 ("drm: fb-helper: Reject all > pixel format changing requests"), there was an unintentional workaround > for this that existe

Re: [PATCH v37 1/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-12-27 Thread Christian Borntraeger
On 27.08.2018 03:32, Wei Wang wrote: > static int init_vqs(struct virtio_balloon *vb) > { > - struct virtqueue *vqs[3]; > - vq_callback_t *callbacks[] = { balloon_ack, balloon_ack, stats_request > }; > - static const char * const names[] = { "inflate", "deflate", "stats" }; > - i

Re: [PATCH v1 1/7] drm: move DRM_IF_VERSION to drm_internal.h

2018-12-27 Thread Daniel Vetter
On Wed, Dec 26, 2018 at 10:03:47PM +0100, Sam Ravnborg wrote: > Move DRM_IF_VERSION out of drmP.h to allow users > to get rid of the drmP include. > > Signed-off-by: Sam Ravnborg > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Sean Paul > Cc: David Airlie > Cc: Daniel Vetter Applied to dr

Re: [PATCH v1 2/7] drm: move DRM_SWITCH_POWER defines to drm_device.h

2018-12-27 Thread Daniel Vetter
On Wed, Dec 26, 2018 at 10:03:48PM +0100, Sam Ravnborg wrote: > Move DRM_SWITCH_POWER out of drmP.h to allow users > to get rid of the drmP include. > > DRM_SWITCH_POWER defines are used in combination > with drm_device.switch_power_state. > > Move the DRM_SWITCH_POWER defines to the file where >

Re: [PATCH v1 3/7] drm: move drm_can_sleep() to drm_util.h

2018-12-27 Thread Daniel Vetter
On Wed, Dec 26, 2018 at 10:03:49PM +0100, Sam Ravnborg wrote: > Move drm_can_sleep() out of drmP.h to allow users > to get rid of the drmP.h include. > > There was no header file that was a good match for this helper function. > So add this to drm_util with the relevant includes. > > Add include

Re: [PATCH v37 0/3] Virtio-balloon: support free page reporting

2018-12-27 Thread Christian Borntraeger
On 27.12.2018 12:59, Christian Borntraeger wrote: > On 27.12.2018 12:31, Christian Borntraeger wrote: >> This patch triggers random crashes in the guest kernel on s390 early during >> boot. >> No migration and no setting of the balloon is involved. >> > > Adding Conny and Halil, > > As the QE

Re: [PATCH] perf python: Do not force closing original perf descriptor in evlist.get_pollfd

2018-12-27 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 27, 2018 at 09:06:38AM +0100, Jiri Olsa escreveu: > On Wed, Dec 26, 2018 at 12:21:21PM +0100, Jiri Olsa wrote: > > Ondřej reported that when compiled with python3, the python > > extension regress in evlist.get_pollfd function behaviour. > > > > The evlist.get_pollfd creates file objec

Re: [PATCH] drm/i915_request.h: Remove duplicate header

2018-12-27 Thread Chris Wilson
Quoting Brajeswar Ghosh (2018-12-25 13:23:40) > Remove i915_scheduler.h which is included more than once > > Signed-off-by: Brajeswar Ghosh Thanks for the patch, pushed to dinq. -Chris

[PATCH] media: secocec: fix ir address shift

2018-12-27 Thread Ettore Chimenti
The actual value of the RC5 System Number (address) is stored in the IR_READ_DATA common register masked with 0x1F00 so it have to be shifted by 8 bits. Signed-off-by: Ettore Chimenti --- drivers/media/platform/seco-cec/seco-cec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/2] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2018-12-27 Thread shun-chih.yu
From: Shun-Chih Yu Document the devicetree bindings for MediaTek Command-Queue DMA controller which could be found on MT6765 SoC or other similar Mediatek SoCs. Change-Id: I9736c8cac9be160358feeab935fabaffc5730519 Signed-off-by: Shun-Chih Yu Reviewed-by: Rob Herring --- .../devicetree/binding

[PATCH 2/2] dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC

2018-12-27 Thread shun-chih.yu
From: Shun-Chih Yu MediaTek Command-Queue DMA controller (CQDMA) on MT6765 SoC is dedicated to memory-to-memory transfer through queue based descriptor management. There are only 3 physical channels inside CQDMA, while the driver is extended to support 32 virtual channels for multiple dma users

[PATCH v4] add support for Mediatek Command-Queue DMA controller on MT6765 SoC

2018-12-27 Thread shun-chih.yu
Changes since v3: - simplify the ISR and management on descriptors by removing tasklet and ASYNC_TX_ENABLE_CHANNEL_SWITCH - remove useless field in mtk_cqdma_vdesc structure - change dev_info to dev_dbg - fix typos Changes since v2: - fix build warning for kernel with DMA address in 32-bit Chang

RE: [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-27 Thread Pawel Laszczak
HI, >> >> The host side of USBSS-DRD controller is compliance >> with XHCI specification, so it works with >> standard XHCI linux driver. >> > >After adding my glue layer change (with my phy part) and make one >change for this code, >the xHCI can work at my platform. I list the comments from today

Re: [PATCH 00/20] drop useless LIST_HEAD

2018-12-27 Thread Dan Carpenter
On Tue, Dec 25, 2018 at 11:12:20PM +0100, Tom Psyborg wrote: > there was discussion about this just some days ago. CC 4-5 lists is > more than enough > I don't know who you were discussing this with... You should CC the 0th patch to all the mailinglists. That much is a clear rule. For the rest

Re: [PATCH] i2c: bcm2835: Clear current message and count after a transaction

2018-12-27 Thread Stefan Wahren
Hi Paul, > Paul Kocialkowski hat am 24. Dezember 2018 um > 10:10 geschrieben: > > > Hi, > > On Sat, 2018-12-22 at 13:19 +0100, Stefan Wahren wrote: > > Hi Paul, > > > > > Paul Kocialkowski hat am 21. Dezember > > > 2018 um 13:11 geschrieben: > > > > > > > > > The driver's interrupt handl

iMX6 FEC driver Linux-fslc 4.17 - IPV6 Multicast not working when unplugging/plugging ethernet cable

2018-12-27 Thread Stefano Cappa
Hi everyone, I already posted this in NXP forum as a comment (https://community.nxp.com/thread/359397), in yocto mailing list (https://lists.yoctoproject.org/pipermail/yocto/2018-December/043664.html) and in meta-freescale mailing list (https://lists.yoctoproject.org/pipermail/meta-freescale/2018-D

Re: [PATCH v3 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-27 Thread Liviu Dudau
On Thu, Dec 27, 2018 at 07:09:07AM +, james qian wang (Arm Technology China) wrote: > On Mon, Dec 24, 2018 at 08:32:14PM +0800, Liviu Dudau wrote: > > On Fri, Dec 21, 2018 at 10:00:33AM +, james qian wang (Arm Technology > > China) wrote: > > > Add komeda_kms abstracton to attach komeda_d

Re: [PATCH] KVM: X86: Fix scan ioapic use-before-initialization

2018-12-27 Thread Dmitry Vyukov
On Sun, Nov 25, 2018 at 6:31 PM Paolo Bonzini wrote: > > On 20/11/18 09:34, Wanpeng Li wrote: > > From: Wanpeng Li > > ... > > This patch fixes it by bailing out scan ioapic if ioapic is not initialized > > in > > kernel. > > Reported-by: Wei Wu +Linus, Greg I want to point out that this was

Re: [PATCH v3 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-27 Thread Liviu Dudau
On Thu, Dec 27, 2018 at 07:09:07AM +, james qian wang (Arm Technology China) wrote: > On Mon, Dec 24, 2018 at 08:32:14PM +0800, Liviu Dudau wrote: > > On Fri, Dec 21, 2018 at 10:00:33AM +, james qian wang (Arm Technology > > China) wrote: > > > Add komeda_kms abstracton to attach komeda_d

[GIT PULL] MMC updates for v4.21

2018-12-27 Thread Ulf Hansson
Hi Linus, Here's the PR with MMC updates for v4.21. Details about the highlights are as usual found in the signed tag. Please pull this in! This time, the PR contains changes crossing subsystems/archs/platforms, which is mainly because of a bigger modernization of moving from legacy GPIO to GPIO

[PATCH 1/2] USB: storage: don't insert sane sense for SPC3+ when bad sense specified

2018-12-27 Thread Icenowy Zheng
Currently the code will set US_FL_SANE_SENSE flag unconditionally if device claims SPC3+, however we should allow US_FL_BAD_SENSE flag to prevent this behavior, because SMI SM3350 UFS-USB bridge controller, which claims SPC4, will show strange behavior with 96-byte sense (put the chip into a wrong

[PATCH 2/2] USB: storage: add quirk for SMI SM3350

2018-12-27 Thread Icenowy Zheng
The SMI SM3350 USB-UFS bridge controller cannot handle long sense request correctly and will make the chip refuse to do read/write when requested long sense. Add a bad sense quirk for it. Signed-off-by: Icenowy Zheng --- drivers/usb/storage/unusual_devs.h | 12 1 file changed, 12 i

[PATCH 0/2] USB Storage quirk for SMI SM3350

2018-12-27 Thread Icenowy Zheng
SMI SM3350 UFS-USB bridge controller cannot handle REQUEST SENSE command with long sense (96-bytes) well, and will even trap the controller into a state that refuses to do read/write command. Currently Linux uncondintionally set US_FL_SANE_SENSE for devices claiming SPC3+, which makes simply add U

Re: [PATCH 1/2] USB: storage: don't insert sane sense for SPC3+ when bad sense specified

2018-12-27 Thread Icenowy Zheng
在 2018-12-27四的 22:34 +0800,Icenowy Zheng写道: > Currently the code will set US_FL_SANE_SENSE flag unconditionally if > device claims SPC3+, however we should allow US_FL_BAD_SENSE flag to > prevent this behavior, because SMI SM3350 UFS-USB bridge controller, > which claims SPC4, will show strange beh

Re: [PATCH 2/2] USB: storage: add quirk for SMI SM3350

2018-12-27 Thread Icenowy Zheng
在 2018-12-27四的 22:34 +0800,Icenowy Zheng写道: > The SMI SM3350 USB-UFS bridge controller cannot handle long sense > request > correctly and will make the chip refuse to do read/write when > requested > long sense. > > Add a bad sense quirk for it. > > Signed-off-by: Icenowy Zheng > --- I forgot t

Re: + proc-commit-to-genradix.patch added to -mm tree

2018-12-27 Thread Alexey Dobriyan
On Mon, Dec 17, 2018 at 12:54:58PM -0800, a...@linux-foundation.org wrote: > http://ozlabs.org/~akpm/mmots/broken-out/proc-commit-to-genradix.patch > Subject: proc: commit to genradix > > The new generic radix trees have a simpler API and implementation, and no > limitations on number of eleme

Re: [PATCH 1/2] ARM: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro

2018-12-27 Thread Donglin Peng
On Wed, Jun 13, 2018 at 9:15 AM Peng Donglin wrote: > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Peng Donglin > --- > arch/arm/mm/ptdump_debugfs.c | 13 + > 1 file changed, 1 insertion(+), 12 deletions(-) > > diff --git a/arch/arm/mm/ptdump_debugfs.c b

Re: [PATCH] i2c: bcm2835: Clear current message and count after a transaction

2018-12-27 Thread Paul Kocialkowski
Hi Stefan, On Thu, 2018-12-27 at 15:05 +0100, Stefan Wahren wrote: > Hi Paul, > > > Paul Kocialkowski hat am 24. Dezember 2018 > > um 10:10 geschrieben: > > > > > > Hi, > > > > On Sat, 2018-12-22 at 13:19 +0100, Stefan Wahren wrote: > > > Hi Paul, > > > > > > > Paul Kocialkowski hat am 21.

[PATCH v4 1/3] i2c: at91: segregate master mode specific code from probe and init func

2018-12-27 Thread Ludovic Desroches
From: Juergen Fitschen In order to implement slave mode support for the at91 hardware we have to segregate all master mode specific function parts from the general parts. The upcoming slave mode patch will call its sepcific probe resp. init function instead of the master mode functions after the

[PATCH v4 0/3] i2c: at91: slave mode support

2018-12-27 Thread Ludovic Desroches
[Ludovic Desroches: see Changes section] Based on the discussion we had on the i2c-linux list [1], I wrote a patch for AT91 hardware and tried to fulfill the Linux I2C slave interface description [2] as good as possible. This enables aforementioned hardware to act as an I2C slave that can be acces

[PATCH v4 2/3] i2c: at91: split driver into core and master file

2018-12-27 Thread Ludovic Desroches
From: Juergen Fitschen The single file i2c-at91.c has been split into core code (i2c-at91-core.c) and master mode specific code (i2c-at91-master.c). This should enhance maintainability and reduce ifdeffery for slave mode related code. The code itself hasn't been touched. Shared functions only ha

[PATCH v4 3/3] i2c: at91: added slave mode support

2018-12-27 Thread Ludovic Desroches
From: Juergen Fitschen Slave mode driver is based on the concept of i2c-designware driver. Signed-off-by: Juergen Fitschen [ludovic.desroc...@microchip.com: rework Kconfig] Signed-off-by: Ludovic Desroches --- drivers/i2c/busses/Kconfig | 13 +++ drivers/i2c/busses/Makefile

[PATCH 1/2] hwmon: (hih6130) add dtb compatibility tables

2018-12-27 Thread Andreas Kemnade
This allows the hih6130 to be used in devicetree files and auto-probed that way. Signed-off-by: Andreas Kemnade --- drivers/hwmon/hih6130.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/hih6130.c b/drivers/hwmon/hih6130.c index 0ae1ee1dbf76..de1b50

[PATCH 2/2] devicetree: hwmon: Add bindings documentation for HIH6130

2018-12-27 Thread Andreas Kemnade
Add bindings documentation for HIH6130 driver. Signed-off-by: Andreas Kemnade --- Documentation/devicetree/bindings/hwmon/hih6130.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/hih6130.txt diff --git a/Documentation/devicetree

[PATCH 0/2] hwmon: devicetree support for hih6130

2018-12-27 Thread Andreas Kemnade
This patch set adds devicetree support for hih6130, so it can be properly auto-probed using devicetree files Andreas Kemnade (2): hwmon: (hih6130) add dtb compatibility tables devicetree: hwmon: Add bindings documentation for HIH6130 Documentation/devicetree/bindings/hwmon/hih6130.txt | 12 +

Re: [RFC PATCH 0/1] mm: add a warning about high order allocations

2018-12-27 Thread Konstantin Khorenko
Hi Michal, thank you very much for your questions, please see my notes below. On 12/26/2018 11:35 AM, Michal Hocko wrote: > On Tue 25-12-18 18:39:26, Konstantin Khorenko wrote: >> Q: Why do we need to bother at all? >> A: If a node is highly loaded and its memory is significantly fragmented >> (u

Re: [PATCH -mmotm] arm64: skip kmemleak for KASAN again

2018-12-27 Thread Andrey Konovalov
On Wed, Dec 26, 2018 at 3:06 AM Qian Cai wrote: > > Due to 871ac3d540f (kasan: initialize shadow to 0xff for tag-based > mode), kmemleak is broken again with KASAN. It needs a similar fix > from e55058c2983 (mm/memblock.c: skip kmemleak for kasan_init()). > > Signed-off-by: Qian Cai Hi Qian, So

Re: [PATCH ghak90 (was ghak32) V4 09/10] audit: NETFILTER_PKT: record each container ID associated with a netNS

2018-12-27 Thread Richard Guy Briggs
On 2018-10-31 15:30, Richard Guy Briggs wrote: > On 2018-10-19 19:18, Paul Moore wrote: > > On Sun, Aug 5, 2018 at 4:33 AM Richard Guy Briggs wrote: > > > Add audit container identifier auxiliary record(s) to NETFILTER_PKT > > > event standalone records. Iterate through all potential audit contai

[PATCH v2] i2c: bcm2835: Clear current buffer pointers and counts after a transfer

2018-12-27 Thread Paul Kocialkowski
The driver's interrupt handler checks whether a message is currently being handled with the curr_msg pointer. When it is NULL, the interrupt is considered to be unexpected. Similarly, the i2c_start_transfer routine checks for the remaining number of messages to handle in num_msgs. However, these v

Re: [PATCH 1/1] mm/page_alloc: add a warning about high order allocations

2018-12-27 Thread Konstantin Khorenko
On 12/26/2018 11:40 AM, Michal Hocko wrote: > Appart from general comments as a reply to the cover (btw. this all > should be in the changelog because this is the _why_ part of the > justification which should be _always_ part of the changelog). Thank you, will add in the next version of the patch

Re: [PATCH v4 05/13] firmware: ti_sci: Add helper apis to manage resources

2018-12-27 Thread Nishanth Menon
On 11:43-20181227, Lokesh Vutla wrote: > Each resource with in the device can be uniquely identified > by a type and subtype as defined by TISCI. Since this is generic > across the devices, resource allocation also can be made generic > instead of each client driver handling the reso

[PATCH] bitmap: Add bitmap_valloc(), bitmap_vzalloc() and bitmap_vfree()

2018-12-27 Thread Peng Wang
Introduce bitmap alloc/free helpers when contiguous memory is not necessary. Signed-off-by: Peng Wang --- include/linux/bitmap.h | 3 +++ lib/bitmap.c | 19 +++ 2 files changed, 22 insertions(+) diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index f58e97

[PATCH] csky: fix refcount leak in setup_smp()

2018-12-27 Thread Yangtao Li
The of_find_node_by_type() returns a node pointer with refcount incremented, but there is the lack of use of the of_node_put() when done. Add the missing of_node_put() to release the refcount. Signed-off-by: Yangtao Li --- arch/csky/kernel/smp.c | 10 -- 1 file changed, 8 insertions(+),

Re: [PATCH v1 7/7] drm: remove include of drmP.h from drm_gem_cma_helper.h

2018-12-27 Thread David Lechner
On 12/26/18 3:03 PM, Sam Ravnborg wrote: Fix fallout in various files/drivers. What fallout is being fixed? It would be helpful if we received the full patch series for context. It would also be nice to have a more detailed description in this commit message.

  1   2   3   4   >