Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Sakari Ailus
Hi Jacopo, On Wed, Aug 14, 2019 at 10:28:12PM +0200, Jacopo Mondi wrote: > Add documentation for the V4L2_CID_LOCATION camera control. The newly > added read-only control reports the camera device mounting position. > > Signed-off-by: Jacopo Mondi > --- > .../media/uapi/v4l/ext-ctrls-camera.rst

Re: [PATCH 3/5] mm, notifier: Catch sleeping/blocking for !blockable

2019-08-15 Thread Daniel Vetter
On Wed, Aug 14, 2019 at 09:00:29PM -0300, Jason Gunthorpe wrote: > On Wed, Aug 14, 2019 at 10:20:25PM +0200, Daniel Vetter wrote: > > We need to make sure implementations don't cheat and don't have a > > possible schedule/blocking point deeply burried where review can't > > catch it. > > > > I'm n

Re: [RFC 4/5] media: i2c: ov5670: Report the camera location

2019-08-15 Thread Sakari Ailus
Hi Jacopo, On Wed, Aug 14, 2019 at 10:28:14PM +0200, Jacopo Mondi wrote: > The camera location is retrieved from the firmware interface parsing > the "location" device property and reported through the read-only > V4L2_CID_LOCATION control. > > Signed-off-by: Jacopo Mondi > --- > drivers/media/

Re: [PATCH 4.19 024/113] tty: serial: msm_serial: avoid system lockup condition

2019-08-15 Thread Pavel Machek
Hi! > >> [ Upstream commit ba3684f99f1b25d2a30b6956d02d339d7acb9799 ] > > Should it use something like 5000*udelay(100), instead, as that has > > chance to result in closer-to-500msec wait? > > the half a second timeout didnt mean to be accurate but a worst case > scenario...I am not sure accura

Re: [PATCH 21/22] ARM: omap1: use common clk framework

2019-08-15 Thread Arnd Bergmann
On Wed, Aug 14, 2019 at 11:10 PM Aaro Koskinen wrote: > > Hi, > > On Thu, Aug 08, 2019 at 11:43:39PM +0200, Arnd Bergmann wrote: > > The omap1 clock driver now uses types and calling conventions > > that are compatible with the common clk core. > > > > Turn on CONFIG_COMMON_CLK and remove all the

Re: [PATCH v5 01/18] xfs: compat_ioctl: use compat_ptr()

2019-08-15 Thread Christoph Hellwig
On Thu, Aug 15, 2019 at 07:37:53AM +1000, Dave Chinner wrote: > > @@ -576,7 +576,7 @@ xfs_file_compat_ioctl( > > case XFS_IOC_SCRUB_METADATA: > > case XFS_IOC_BULKSTAT: > > case XFS_IOC_INUMBERS: > > - return xfs_file_ioctl(filp, cmd, p); > > + return xfs_file_ioctl(

[stable] Deleting "mt7621-mmc" with "interesting" license?

2019-08-15 Thread Pavel Machek
Hi! I realize that "interesting" license is not on a list of bugs suitable for -stable, but on the other hand, this tends to scare corporate lawyers... so perhaps we should remove the driver in -stable, too? Upstream commit id is 441bf7332d55c4d34afae9ffc3bbec621093f4d1. 4.19 has the problematic

[PATCH v16 3/5] remoteproc: mt8183: add reserved memory manager API

2019-08-15 Thread Pi-Hsun Shih
From: Erin Lo Add memory table mapping API for other driver to lookup reserved physical and virtual memory Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih --- Changes from v15: - No change. Changes from v14: - Fix a typo in variable name in DEBUG section. Changes from v13: - Add one mo

[PATCH v16 0/5] Add support for mt8183 SCP.

2019-08-15 Thread Pi-Hsun Shih
Add support for controlling and communicating with mt8183's system control processor (SCP), using the remoteproc & rpmsg framework. And also add a cros_ec driver for CrOS EC host command over rpmsg. The overall structure of the series is: * remoteproc/mtk_scp.c: Control the start / stop of SCP (Pa

[PATCH v16 4/5] rpmsg: add rpmsg support for mt8183 SCP.

2019-08-15 Thread Pi-Hsun Shih
Add a simple rpmsg support for mt8183 SCP, that use IPI / IPC directly. Signed-off-by: Pi-Hsun Shih --- Changes from v15: - No change. Changes from v14: - Change year on Copyright header to 2019. Changes from v13: - No change. Changes from v12: - Use strscpy instead of strncpy. Changes fr

[PATCH v16 5/5] arm64: dts: mt8183: add scp node

2019-08-15 Thread Pi-Hsun Shih
From: Eddie Huang Add scp node to mt8183 and mt8183-evb Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Signed-off-by: Eddie Huang --- Changes from v15, v14: - No change. Changes from v13: - Change the size of the cfg register region. Changes from v12, v11, v10: - No change. Changes

[PATCH v16 2/5] remoteproc/mediatek: add SCP support for mt8183

2019-08-15 Thread Pi-Hsun Shih
From: Erin Lo Provide a basic driver to control Cortex M4 co-processor Signed-off-by: Erin Lo Signed-off-by: Nicolas Boichat Signed-off-by: Pi-Hsun Shih --- Changes from v15: - Fix a bug on incorrect usage of wait_event_timeout return value. Changes from v14: - No change. Changes from v13

[PATCH v16 1/5] dt-bindings: Add a binding for Mediatek SCP

2019-08-15 Thread Pi-Hsun Shih
From: Erin Lo Add a DT binding documentation of SCP for the MT8183 SoC from Mediatek. Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Reviewed-by: Rob Herring --- Changes from v15, v14, v13, v12, v11, v10, v9, v8, v7, v6: - No change. Changes from v5: - Remove dependency on CONFIG_RPMSG

Re: [PATCH] powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB

2019-08-15 Thread Greg Kroah-Hartman
On Thu, Aug 15, 2019 at 02:55:42PM +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > > Heads Up: This patch cannot be submitted to Linus's tree, as the affected > assembler functions have already been converted to C. > > When calling flush_(inval_)dcache_range with a size >4GB, we were m

Re: [PATCH 5.2 000/144] 5.2.9-stable review

2019-08-15 Thread Greg Kroah-Hartman
On Thu, Aug 15, 2019 at 07:04:45AM +0530, Naresh Kamboju wrote: > On Wed, 14 Aug 2019 at 22:33, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.2.9 release. > > There are 144 patches in this series, all will be posted as a response > > to this one. If an

Re: [PATCH 06/10] iommu: Remember when default domain type was set on kernel command line

2019-08-15 Thread Joerg Roedel
Hey Lu Baolu, thanks for your review! On Thu, Aug 15, 2019 at 01:01:57PM +0800, Lu Baolu wrote: > > +#define IOMMU_CMD_LINE_DMA_API (1 << 0) > > Prefer BIT() micro? Yes, I'll change that. > > + iommu_set_cmd_line_dma_api(); > > IOMMU command line is also set in other places, for

Re: [PATCH 3/6] powerpc: Convert flush_icache_range & friends to C

2019-08-15 Thread christophe leroy
Le 15/08/2019 à 06:10, Alastair D'Silva a écrit : From: Alastair D'Silva Similar to commit 22e9c88d486a ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") this patch converts flush_icache_range() to C, and reimplements the following functions as wrappers around it: __flush_dcache

Re: [PATCH 4/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-08-15 Thread christophe leroy
Le 15/08/2019 à 06:10, Alastair D'Silva a écrit : From: Alastair D'Silva When presented with large amounts of memory being hotplugged (in my test case, ~890GB), the call to flush_dcache_range takes a while (~50 seconds), triggering RCU stalls. This patch breaks up the call into 16GB chunks,

Re: [RESEND PATCH] ARM: dts: Add stmpe-adc DT node to Toradex T30 modules

2019-08-15 Thread Oleksandr Suvorov
On Wed, Aug 14, 2019 at 1:54 PM Philippe Schenker wrote: > > Add the stmpe-adc DT node as found on Toradex T30 modules > > Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov > > --- > > arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi | 22 ++ > arch/arm/boot/dts/te

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-15 Thread Thomas Gleixner
Woody, On Tue, 13 Aug 2019, Woody Suwalski wrote: > On Mon, Aug 12, 2019 at 1:24 PM Thomas Gleixner wrote: > > The ACPI handler is not the culprit. This is either an emulation bug or > > something really strange. Can you please use a WARN_ON() if the loop is > > exited via the timeout so we can s

[PATCH 1/2] KVM: x86: fix reporting of AMD speculation bug CPUID leaf

2019-08-15 Thread Paolo Bonzini
The AMD_* bits have to be set from the vendor-independent feature and bug flags, because KVM_GET_SUPPORTED_CPUID does not care about the vendor and they should be set on Intel processors as well. On top of this, SSBD, STIBP and AMD_SSB_NO bit were not set, and VIRT_SSBD does not have to be added ma

[PATCH 2/2] KVM: x86: always expose VIRT_SSBD to guests

2019-08-15 Thread Paolo Bonzini
Even though it is preferrable to use SPEC_CTRL (represented by X86_FEATURE_AMD_SSBD) instead of VIRT_SPEC, VIRT_SPEC is always supported anyway because otherwise it would be impossible to migrate from old to new CPUs. Make this apparent in the result of KVM_GET_SUPPORTED_CPUID as well. Cc: Konrad

[PATCH 0/2] KVM: x86: fixes for AMD speculation bug CPUID leaf

2019-08-15 Thread Paolo Bonzini
Patch 1 fixes the reporting of bugs and mitigations via the 0x8000_0008 CPUID leaf on Intel processors. Patch 2 fixes the reporting of VIRT_SPEC availability on AMD processors. Paolo Paolo Bonzini (2): KVM: x86: fix reporting of AMD speculation bug CPUID leaf KVM: x86: always expose VIRT_SSB

Re: [PATCH v4 17/21] ARM: dts: imx6ull: improve can templates

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:24 PM Philippe Schenker wrote: > > From: Max Krummenacher > > Add the pinmuxing and a inactive node for flexcan1 on SODIMM 55/63 > and move the inactive flexcan nodes to imx6ull-colibri-eval-v3.dtsi > where they belong. > > Note that this commit does not enable flexcan f

[PATCH][iio-next] iio: light: noa1305: fix missing break in a switch statement

2019-08-15 Thread Colin King
From: Colin Ian King There is a missing break for the NOA1305_INTEGR_TIME_400MS case, fix it by adding it in. Addresses-Coverity: ("Missing break in switch") Fixes: 741172d18e8a ("iio: light: noa1305: Add support for NOA1305") Signed-off-by: Colin Ian King --- drivers/iio/light/noa1305.c | 1 +

[PATCH linux-next] qcom: qcs404: remove COMPILE_TEST from CONFIG_INTERCONNECT_QCOM_QCS404

2019-08-15 Thread Mao Wenan
There is one compilation error when CONFIG_INTERCONNECT_QCOM_QCS404=y and CONFIG_INTERCONNECT_QCOM_SMD_RPM=y, as well as CONFIG_COMPILE_TEST=y, but CONFIG_QCOM_SMD_RPM is not set, logs as below: drivers/interconnect/qcom/smd-rpm.o: In function `qcom_icc_rpm_smd_send': smd-rpm.c:(.text+0xe4): undef

[PATCH] Revert "KVM: x86/mmu: Zap only the relevant pages when removing a memslot"

2019-08-15 Thread Paolo Bonzini
This reverts commit 4e103134b862314dc2f2f18f2fb0ab972adc3f5f. Alex Williamson reported regressions with device assignment with this patch. Even though the bug is probably elsewhere and still latent, this is needed to fix the regression. Fixes: 4e103134b862 ("KVM: x86/mmu: Zap only the relevant pa

Re: [PATCH v4 4/8] printk: Replace strncmp with str_has_prefix

2019-08-15 Thread Sergey Senozhatsky
On (08/14/19 12:49), Petr Mladek wrote: > On Fri 2019-08-09 15:10:34, Chuhong Yuan wrote: > > strncmp(str, const, len) is error-prone because len > > is easy to have typo. > > The example is the hard-coded len has counting error > > or sizeof(const) forgets - 1. > > So we prefer using newly introdu

Re: [stable] Deleting "mt7621-mmc" with "interesting" license?

2019-08-15 Thread Greg KH
On Thu, Aug 15, 2019 at 09:13:50AM +0200, Pavel Machek wrote: > Hi! > > I realize that "interesting" license is not on a list of bugs suitable > for -stable, but on the other hand, this tends to scare corporate > lawyers... so perhaps we should remove the driver in -stable, too? > > Upstream comm

Re: WARNING in is_bpf_text_address

2019-08-15 Thread Will Deacon
Hi Bart, On Sat, Aug 10, 2019 at 05:24:06PM -0700, syzbot wrote: > syzbot has found a reproducer for the following crash on: > > HEAD commit:451577f3 Merge tag 'kbuild-fixes-v5.3-3' of git://git.kern.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1208

Re: [PATCH 1/2] vsprintf: Prevent crash when dereferencing invalid pointers for %pD

2019-08-15 Thread Sergey Senozhatsky
On (08/09/19 09:24), Jia He wrote: > Commit 3e5903eb9cff ("vsprintf: Prevent crash when dereferencing invalid > pointers") prevents most crash except for %pD. > There is an additional pointer dereferencing before dentry_name. > > At least, vma->file can be NULL and be passed to printk %pD in > pr

Re: [PATCH v4 15/21] ARM: dts: imx6ull-colibri: reduce v_batt current in power off

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:24 PM Philippe Schenker wrote: > > From: Max Krummenacher > > Reduce the current drawn from VCC_BATT when the main power on the 3V3 > pins to the module are switched off. > > This switches off SoC internal pull resistors which are provided on the > module for TAMPER7 and

Re: [PATCH v5 01/18] xfs: compat_ioctl: use compat_ptr()

2019-08-15 Thread Arnd Bergmann
On Thu, Aug 15, 2019 at 9:13 AM Christoph Hellwig wrote: > > On Thu, Aug 15, 2019 at 07:37:53AM +1000, Dave Chinner wrote: > > > @@ -576,7 +576,7 @@ xfs_file_compat_ioctl( > > > case XFS_IOC_SCRUB_METADATA: > > > case XFS_IOC_BULKSTAT: > > > case XFS_IOC_INUMBERS: > > > - ret

Re: [PATCH] MAINTAINERS, x86/CPU: Tony Luck will maintain asm/intel-family.h

2019-08-15 Thread Borislav Petkov
On Wed, Aug 14, 2019 at 04:40:30PM -0700, Tony Luck wrote: > There are a few different subsystems in the kernel that depend on > model specific behaviour (perf, EDAC, power, ...). Easier for just > one person to have the task to get new model numbers included instead > of having these groups trip o

Re: [PATCH] selftests: net: tcp_fastopen_backup_key.sh: fix shellcheck issue

2019-08-15 Thread Anders Roxell
On Thu, 15 Aug 2019 at 01:35, wrote: > > > > > -Original Message- > > From: Anders Roxell > > > > When running tcp_fastopen_backup_key.sh the following issue was seen in > > a busybox environment. > > ./tcp_fastopen_backup_key.sh: line 33: [: -ne: unary operator expected > > > > Shellcheck

[PATCH v2] selftests: net: tcp_fastopen_backup_key.sh: fix shellcheck issue

2019-08-15 Thread Anders Roxell
When running tcp_fastopen_backup_key.sh the following issue was seen in a busybox environment. ./tcp_fastopen_backup_key.sh: line 33: [: -ne: unary operator expected Shellcheck showed the following issue. $ shellcheck tools/testing/selftests/net/tcp_fastopen_backup_key.sh In tools/testing/selftes

Re: [stable] Deleting "mt7621-mmc" with "interesting" license?

2019-08-15 Thread Pavel Machek
On Thu 2019-08-15 09:51:32, Greg KH wrote: > On Thu, Aug 15, 2019 at 09:13:50AM +0200, Pavel Machek wrote: > > Hi! > > > > I realize that "interesting" license is not on a list of bugs suitable > > for -stable, but on the other hand, this tends to scare corporate > > lawyers... so perhaps we shoul

[tip:x86/urgent] MAINTAINERS, x86/CPU: Tony Luck will maintain asm/intel-family.h

2019-08-15 Thread tip-bot for Tony Luck
Commit-ID: 5ed1c835ed8b522ce25071cc2d56a9a09bd5b59e Gitweb: https://git.kernel.org/tip/5ed1c835ed8b522ce25071cc2d56a9a09bd5b59e Author: Tony Luck AuthorDate: Wed, 14 Aug 2019 16:40:30 -0700 Committer: Borislav Petkov CommitDate: Thu, 15 Aug 2019 09:54:05 +0200 MAINTAINERS, x86/CPU: Ton

Re: [PATCH] clk: sunxi: Don't call clk_hw_get_name() on a hw that isn't registered

2019-08-15 Thread Maxime Ripard
On Wed, Aug 14, 2019 at 09:10:37PM -0700, Stephen Boyd wrote: > The implementation of clk_hw_get_name() relies on the clk_core > associated with the clk_hw pointer existing. If of_clk_hw_register() > fails, there isn't a clk_core created yet, so calling clk_hw_get_name() > here fails. Extract the n

Re: [PATCH v5 01/18] xfs: compat_ioctl: use compat_ptr()

2019-08-15 Thread Christoph Hellwig
In many ways I'd actually much rather have a table driven approach. Let me try something..

[PATCH v2] arm: dts: rockchip: fix vcc_host_5v regulator for usb3 host

2019-08-15 Thread Kever Yang
According to rock64 schemetic V2 and V3, the VCC_HOST_5V output is controlled by USB_20_HOST_DRV, which is the same as VCC_HOST1_5V. Signed-off-by: Kever Yang --- Changes in v2: - remove enable-active-high property arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 11 ++- 1 file changed

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Baolin Wang
Hi Uwe, On Thu, 15 Aug 2019 at 14:15, Uwe Kleine-König wrote: > > Hello Baolin, > > On Thu, Aug 15, 2019 at 11:34:27AM +0800, Baolin Wang wrote: > > On Wed, 14 Aug 2019 at 23:03, Uwe Kleine-König > > wrote: > > > > > > On Wed, Aug 14, 2019 at 08:46:11PM +0800, Baolin Wang wrote: > > > > > > + >

Re: [PATCH] mm/oom: Add killed process selection information

2019-08-15 Thread Michal Hocko
On Wed 14-08-19 23:24:51, Edward Chron wrote: > On Mon, Aug 12, 2019 at 4:42 AM Michal Hocko wrote: > > > > On Fri 09-08-19 15:15:18, Edward Chron wrote: > > [...] > > > So it is optimal if you only have to go and find the correct log and > > > search > > > or run your script(s) when you absolute

Re: [PATCH] mm/oom: Add killed process selection information

2019-08-15 Thread Michal Hocko
On Wed 14-08-19 23:06:04, Edward Chron wrote: > For an OOM event: print oom_score_adj value for the OOM Killed process > to document what the oom score adjust value was at the time the process > at the time of the OOM event. The value can be set by the user and it > effects the resulting oom_score

Re: [PATCH 05/11] drm/bridge: analogix-anx78xx: correct value of TX_P0

2019-08-15 Thread Linus Walleij
On Thu, Aug 15, 2019 at 2:49 AM Brian Masney wrote: > When attempting to configure this driver on a Nexus 5 phone (msm8974), > setting up the dummy i2c bus for TX_P0 would fail due to an -EBUSY > error. The downstream MSM kernel sources [1] shows that the proper value > for TX_P0 is 0x78, not 0x7

AW: [PATCH v2] kernel/resource.c: invalidate parent when freed resource has childs

2019-08-15 Thread Schmid, Carsten
>>When a resource is freed and has children, the childrens are > > s/childrens/children/ > oh, missed that. Too many children ... ;-) >>+ __release_child_resources(tmp, warn); > > This function will release all the children. > > Is this what Linus suggest? > > From his code snippe

Re: [PATCH v8 05/14] media: rkisp1: add Rockchip ISP1 subdev driver

2019-08-15 Thread Sakari Ailus
Hi Helen, On Wed, Aug 14, 2019 at 09:58:05PM -0300, Helen Koike wrote: ... > >> +static int rkisp1_isp_sd_set_fmt(struct v4l2_subdev *sd, > >> + struct v4l2_subdev_pad_config *cfg, > >> + struct v4l2_subdev_format *fmt) > >> +{ > >> + struct r

[PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-08-15 Thread Leo Yan
Arm and arm64 architecture reserve some memory regions prior to the symbol '_stext' and these memory regions later will be used by device module and BPF jit. The current code misses to consider these memory regions thus any address in the regions will be taken as user space mode, but perf cannot f

[PATCH] tools/power x86_energy_perf_policy: remove unneeded check

2019-08-15 Thread Dan Carpenter
The "i" variable is an int. The condition doesn't really make sense. Since we ensure that "i" is in the 0 to 0xff range on the following lines it's not required and this patch deletes it. Signed-off-by: Dan Carpenter --- tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c | 2 -- 1

[PATCH 1/2] perf cs-etm: Support sample flags 'insn' and 'insnlen'

2019-08-15 Thread Leo Yan
The synthetic branch and instruction samples are missed to set instruction related info, thus perf tool fails to display samples with flags '-F,+insn,+insnlen'. CoreSight trace decoder has provided sufficient information to decide the instruction size based on the isa type: A64/A32 instruction are

Re: [PATCH v6 1/5] dt-bindings: media: Add Allwinner A10 CSI binding

2019-08-15 Thread Chen-Yu Tsai
Hi, Sorry for chiming in so late. On Thu, Jul 11, 2019 at 8:15 PM Maxime Ripard wrote: > > The Allwinner A10 CMOS Sensor Interface is a camera capture interface also > used in later (A10s, A13, A20, R8 and GR8) SoCs. > > On some SoCs, like the A10, there's multiple instances of that controller,

[PATCH] hexagon: drop empty and unused free_initrd_mem

2019-08-15 Thread Mike Rapoport
hexagon never reserves or initializes initrd and the only mention of it is the empty free_initrd_mem() function. As we have a generic implementation of free_initrd_mem(), there is no need to define an empty stub for the hexagon implementation and it can be dropped. Signed-off-by: Mike Rapoport -

Re: [PATCH 08/11] drm/msm/hdmi: silence -EPROBE_DEFER warning

2019-08-15 Thread Linus Walleij
On Thu, Aug 15, 2019 at 2:49 AM Brian Masney wrote: > Silence a warning message due to an -EPROBE_DEFER error to help cleanup > the system boot log. > > Signed-off-by: Brian Masney Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 2/2] mm: memcontrol: flush percpu slab vmstats on kmem offlining

2019-08-15 Thread Michal Hocko
On Wed 14-08-19 21:54:12, Roman Gushchin wrote: > On Wed, Aug 14, 2019 at 01:32:42PM +0200, Michal Hocko wrote: > > On Mon 12-08-19 15:29:11, Roman Gushchin wrote: > > > I've noticed that the "slab" value in memory.stat is sometimes 0, > > > even if some children memory cgroups have a non-zero "sla

Re: [PATCH v8 03/28] x86/asm: annotate relocate_kernel

2019-08-15 Thread Borislav Petkov
On Thu, Aug 08, 2019 at 12:38:29PM +0200, Jiri Slaby wrote: > There are functions in relocate_kernel which are not annotated. This ^ _{32,64}.c > makes automatic annotations rather hard. So annotate all the functions >

[PATCH] staging: rtl8192u: fix up indentation of a statement

2019-08-15 Thread Colin King
From: Colin Ian King There is a statement that is indented one level too deeply, remove the extraneous tab. Addresses-Coverity: ("Identation does not match nesting level") Signed-off-by: Colin Ian King --- drivers/staging/rtl8192u/r8190_rtl8256.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de

Re: [stable] Deleting "mt7621-mmc" with "interesting" license?

2019-08-15 Thread Greg KH
On Thu, Aug 15, 2019 at 09:59:27AM +0200, Pavel Machek wrote: > On Thu 2019-08-15 09:51:32, Greg KH wrote: > > On Thu, Aug 15, 2019 at 09:13:50AM +0200, Pavel Machek wrote: > > > Hi! > > > > > > I realize that "interesting" license is not on a list of bugs suitable > > > for -stable, but on the ot

Re: [RESEND PATCH 1/2 -mm] mm: account lazy free pages separately

2019-08-15 Thread Michal Hocko
On Wed 14-08-19 21:51:47, Yang Shi wrote: > > > On 8/14/19 4:08 AM, Michal Hocko wrote: > > On Mon 12-08-19 10:00:17, Yang Shi wrote: > > > > > > On 8/12/19 2:34 AM, Michal Hocko wrote: > > > > On Fri 09-08-19 16:54:43, Yang Shi wrote: > > > > > On 8/9/19 11:26 AM, Yang Shi wrote: > > > > > > On

[PATCH 09/10] arm64: dts: layerscape: Add PCIe EP node for ls1088a

2019-08-15 Thread Xiaowei Bao
Add PCIe EP node for ls1088a to support EP mode. Signed-off-by: Xiaowei Bao --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 32 ++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls108

[PATCH 05/10] PCI: layerscape: Modify the way of getting capability with different PEX

2019-08-15 Thread Xiaowei Bao
The different PCIe controller in one board may be have different capability of MSI or MSIX, so change the way of getting the MSI capability, make it more flexible. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pci-layerscape-ep.c | 28 +++--- 1 file changed, 21 in

[PATCH 08/10] dt-bindings: PCI: Add the pf-offset property

2019-08-15 Thread Xiaowei Bao
Add the pf-offset property for multiple PF. Signed-off-by: Xiaowei Bao --- Documentation/devicetree/bindings/pci/designware-pcie.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-p

[PATCH 07/10] PCI: layerscape: Fix some format issue of the code

2019-08-15 Thread Xiaowei Bao
Fix some format issue of the code in EP driver. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pci-layerscape-ep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c i

[PATCH 10/10] misc: pci_endpoint_test: Add LS1088a in pci_device_id table

2019-08-15 Thread Xiaowei Bao
Add LS1088a in pci_device_id table so that pci-epf-test can be used for testing PCIe EP in LS1088a. Signed-off-by: Xiaowei Bao --- drivers/misc/pci_endpoint_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 6e208a

[PATCH 01/10] PCI: designware-ep: Add multiple PFs support for DWC

2019-08-15 Thread Xiaowei Bao
Add multiple PFs support for DWC, different PF have different config space, we use pf-offset property which get from the DTS to access the different pF config space. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pcie-designware-ep.c | 97 +- drivers/pci/controlle

[PATCH 04/10] dt-bindings: pci: layerscape-pci: add compatible strings for ls1088a and ls2088a

2019-08-15 Thread Xiaowei Bao
Add compatible strings for ls1088a and ls2088a. Signed-off-by: Xiaowei Bao --- Documentation/devicetree/bindings/pci/layerscape-pci.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bin

[PATCH 02/10] PCI: designware-ep: Add the doorbell mode of MSI-X in EP mode

2019-08-15 Thread Xiaowei Bao
Add the doorbell mode of MSI-X in EP mode. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pcie-designware-ep.c | 14 ++ drivers/pci/controller/dwc/pcie-designware.h| 14 ++ 2 files changed, 28 insertions(+) diff --git a/drivers/pci/controller/dwc/pcie-desi

[PATCH 06/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-08-15 Thread Xiaowei Bao
The layerscape platform use the doorbell way to trigger MSIX interrupt in EP mode. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pci-layerscape-ep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/con

[PATCH 03/10] PCI: designware-ep: Move the function of getting MSI capability forward

2019-08-15 Thread Xiaowei Bao
Move the function of getting MSI capability to the front of init function, because the init function of the EP platform driver will use the return value by the function of getting MSI capability. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pcie-designware-ep.c | 7 --- 1 file c

Re: WARNING in is_bpf_text_address

2019-08-15 Thread Daniel Borkmann
On 8/11/19 10:36 AM, Hillf Danton wrote: On Sun, 11 Aug 2019 08:24:09 +0800 syzbot has found a reproducer for the following crash on: HEAD commit:451577f3 Merge tag 'kbuild-fixes-v5.3-3' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=

for_each_child_of_node semantics are broken (was [PATCH] ata: libahci_platform: Add of_node_put() before loop exit)

2019-08-15 Thread Hans de Goede
Hi Nishka, On 15-08-19 08:00, Nishka Dasgupta wrote: Each iteration of for_each_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Add an of_node_put before three such goto statements. Issue found with Coccine

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Uwe Kleine-König
Hello Baolin, On Thu, Aug 15, 2019 at 04:16:32PM +0800, Baolin Wang wrote: > On Thu, 15 Aug 2019 at 14:15, Uwe Kleine-König > wrote: > > On Thu, Aug 15, 2019 at 11:34:27AM +0800, Baolin Wang wrote: > > > On Wed, 14 Aug 2019 at 23:03, Uwe Kleine-König > > > wrote: > > > > On Wed, Aug 14, 2019 at

Re: [PATCH] ata: libahci_platform: Add of_node_put() before loop exit

2019-08-15 Thread Hans de Goede
Hi, On 15-08-19 08:00, Nishka Dasgupta wrote: Each iteration of for_each_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Add an of_node_put before three such goto statements. Issue found with Coccinelle. S

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-08-15 Thread Adrian Hunter
On 15/08/19 11:25 AM, Leo Yan wrote: > Arm and arm64 architecture reserve some memory regions prior to the > symbol '_stext' and these memory regions later will be used by device > module and BPF jit. The current code misses to consider these memory > regions thus any address in the regions will b

Re: [stable] Deleting "mt7621-mmc" with "interesting" license?

2019-08-15 Thread Pavel Machek
On Thu 2019-08-15 10:44:06, Greg KH wrote: > On Thu, Aug 15, 2019 at 09:59:27AM +0200, Pavel Machek wrote: > > On Thu 2019-08-15 09:51:32, Greg KH wrote: > > > On Thu, Aug 15, 2019 at 09:13:50AM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > I realize that "interesting" license is not on a

[PATCH -next] ASoC: cs42l73: remove unused variables 'vsp_output_mux' and 'xsp_output_mux'

2019-08-15 Thread YueHaibing
sound/soc/codecs/cs42l73.c:276:38: warning: vsp_output_mux defined but not used [-Wunused-const-variable=] sound/soc/codecs/cs42l73.c:279:38: warning: xsp_output_mux defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: Y

Re: [PATCH -next] mm/kmemleak: increase the max mem pool to 1M

2019-08-15 Thread Catalin Marinas
On Wed, Aug 14, 2019 at 02:32:52PM -0400, Qian Cai wrote: > There are some machines with slow disk and fast CPUs. When they are > under memory pressure, it could take a long time to swap before the OOM > kicks in to free up some memory. As the results, it needs a large > mem pool for kmemleak or su

[PATCH -next] ASoC: cs4349: Use PM ops 'cs4349_runtime_pm'

2019-08-15 Thread YueHaibing
sound/soc/codecs/cs4349.c:358:32: warning: cs4349_runtime_pm defined but not used [-Wunused-const-variable=] cs4349_runtime_pm ops already defined, it seems we should enable it. Reported-by: Hulk Robot Fixes: e40da86 ("ASoC: cs4349: Add support for Cirrus Logic CS4349") Signed-off-by: YueHaibin

Re: /sys/devices/system/cpu/vulnerabilities/ doesn't show all known CPU vulnerabilities

2019-08-15 Thread Thomas Gleixner
On Wed, 14 Aug 2019, Kernel User wrote: > On Wed, 14 Aug 2019 09:04:57 +0200 Borislav Petkov wrote: > > > IMO, what you want does not belong in sysfs but in documentation. > > How would documentation (a fixed static text file) tell whether a > particular system is vulnerable or not? > > > I part

[PATCH -next] ASoC: max98371: remove unused variable 'max98371_noload_gain_tlv'

2019-08-15 Thread YueHaibing
sound/soc/codecs/max98371.c:157:35: warning: max98371_noload_gain_tlv defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/max98371.c | 4 1 file changed, 4 deletions(-) diff --git a/s

Re: [PATCH 12/16] arm64: prefer __section from compiler_attributes.h

2019-08-15 Thread Miguel Ojeda
On Thu, Aug 15, 2019 at 12:20 AM Nick Desaulniers wrote: > > This lone patch of the series is just cosmetic, but patch 14/16 fixes > a real boot issue: > https://github.com/ClangBuiltLinux/linux/issues/619 > Miguel, I'd like to get that one landed ASAP; the rest are just for > consistency. Ah, i

Re: [PATCH 12/16] arm64: prefer __section from compiler_attributes.h

2019-08-15 Thread Miguel Ojeda
On Thu, Aug 15, 2019 at 11:08 AM Miguel Ojeda wrote: > > On Thu, Aug 15, 2019 at 12:20 AM Nick Desaulniers > wrote: > > > > This lone patch of the series is just cosmetic, but patch 14/16 fixes > > a real boot issue: > > https://github.com/ClangBuiltLinux/linux/issues/619 > > Miguel, I'd like to

[PATCH -next] ASoC: rt1011: remove unused variable 'dac_vol_tlv' and 'adc_vol_tlv'

2019-08-15 Thread YueHaibing
sound/soc/codecs/rt1011.c:981:35: warning: dac_vol_tlv defined but not used [-Wunused-const-variable=] sound/soc/codecs/rt1011.c:982:35: warning: adc_vol_tlv defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Signed-off-by: YueHaibing --- sound/soc/codecs/

[PATCH] scsi: fcoe: remove redundant call to skb_transport_header

2019-08-15 Thread Colin King
From: Colin Ian King Pointer fh is being assigned a return value from the call to skb_transport_header however this value is never read and fh is being re-assigned immediately afterwards with a new value. Since there are side-effects from calling skb_transport_header the call is redundant and can

[PATCH -next] ASoC: tlv320aic23: remove unused variable 'tlv320aic23_rec_src'

2019-08-15 Thread YueHaibing
sound/soc/codecs/tlv320aic23.c:70:29: warning: tlv320aic23_rec_src defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/tlv320aic23.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sou

[tip:perf/core] perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 61a461fcbd62d42c29a1ea6a9cc3838ad9f49401 Gitweb: https://git.kernel.org/tip/61a461fcbd62d42c29a1ea6a9cc3838ad9f49401 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 11:20:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[tip:perf/core] perf session: Avoid infinite loop when seeing invalid header.size

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 57fc032ad643ffd018d66bd4c1bd3a91de4841e8 Gitweb: https://git.kernel.org/tip/57fc032ad643ffd018d66bd4c1bd3a91de4841e8 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 10:58:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[PATCH -next] ASoC: tlv320aic31xx: remove unused variable 'cm_m_enum'

2019-08-15 Thread YueHaibing
sound/soc/codecs/tlv320aic31xx.c:261:29: warning: cm_m_enum defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/tlv320aic31xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/

[tip:perf/core] perf config: Document the PERF_CONFIG environment variable

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5de9e5fda05b580c036e1fec6e2d8bf78eb2ac9d Gitweb: https://git.kernel.org/tip/5de9e5fda05b580c036e1fec6e2d8bf78eb2ac9d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 11:30:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[tip:perf/core] perf test vfs_getname: Disable ~/.perfconfig to get default output

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4fe94ce1c6ba678b5f12b94bb9996eea4fc99e85 Gitweb: https://git.kernel.org/tip/4fe94ce1c6ba678b5f12b94bb9996eea4fc99e85 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Jul 2019 11:37:44 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 p

[tip:perf/core] perf tools: Fix paths in include statements

2019-08-15 Thread tip-bot for Luke Mujica
Commit-ID: 2b75863b0845764529e01014a5c90664d8044cbe Gitweb: https://git.kernel.org/tip/2b75863b0845764529e01014a5c90664d8044cbe Author: Luke Mujica AuthorDate: Fri, 19 Jul 2019 13:22:53 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 perf tools: Fi

[PATCH -next] ASoC: wm8737: Fix copy-paste error in wm8737_snd_controls

2019-08-15 Thread YueHaibing
sound/soc/codecs/wm8737.c:112:29: warning: high_3d defined but not used [-Wunused-const-variable=] 'high_3d' should be used for 3D High Cut-off. Reported-by: Hulk Robot Fixes: 2a9ae13a2641 ("ASoC: Add initial WM8737 driver") Signed-off-by: YueHaibing --- sound/soc/codecs/wm8737.c | 2 +- 1 fi

[PATCH -next] ASoC: es8328: remove unused variable 'pga_tlv'

2019-08-15 Thread YueHaibing
sound/soc/codecs/es8328.c:102:35: warning: pga_tlv defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- sound/soc/codecs/es8328.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/es8328

[tip:perf/core] perf top: Set display thread COMM to help with debugging

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1205a2719e52b6b52e0f9c0011554419da0377a0 Gitweb: https://git.kernel.org/tip/1205a2719e52b6b52e0f9c0011554419da0377a0 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Aug 2019 11:20:42 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

[tip:perf/core] perf vendor events intel: Add Icelake V1.00 event file

2019-08-15 Thread tip-bot for Haiyan Song
Commit-ID: b115df076d337a727017538d11d7d46f5bcbff15 Gitweb: https://git.kernel.org/tip/b115df076d337a727017538d11d7d46f5bcbff15 Author: Haiyan Song AuthorDate: Wed, 12 Jun 2019 16:15:42 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 perf vendor ev

Re: [PATCH] virtio-net: lower min ring num_free for efficiency

2019-08-15 Thread Jason Wang
On 2019/8/15 下午4:36, 冉 jiang wrote: On 2019/8/15 11:17, Jason Wang wrote: On 2019/8/15 上午11:11, 冉 jiang wrote: On 2019/8/15 11:01, Jason Wang wrote: On 2019/8/14 上午10:06, ? jiang wrote: This change lowers ring buffer reclaim threshold from 1/2*queue to budget for better performance. Accordi

[tip:perf/core] perf hists: Do not link a pair if already linked

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7d1a5efa20dbfea97cb93b99c67ce5cd5c4a4dbc Gitweb: https://git.kernel.org/tip/7d1a5efa20dbfea97cb93b99c67ce5cd5c4a4dbc Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Aug 2019 10:45:30 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

[tip:perf/core] perf hist: Remove dummy entries when finding real ones.

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5f8b4d5d237a3e2e35509da4e63769ae5c82c085 Gitweb: https://git.kernel.org/tip/5f8b4d5d237a3e2e35509da4e63769ae5c82c085 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 9 Aug 2019 17:56:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

[tip:perf/core] perf trace: Fix segmentation fault when access syscall info on arm64

2019-08-15 Thread tip-bot for Leo Yan
Commit-ID: 3e70008a6021fffd2cd1614734603ea970773060 Gitweb: https://git.kernel.org/tip/3e70008a6021fffd2cd1614734603ea970773060 Author: Leo Yan AuthorDate: Fri, 9 Aug 2019 18:47:52 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 perf trace: Fix seg

[PATCH -next] ASoC: es8328: Fix copy-paste error in es8328_right_line_controls

2019-08-15 Thread YueHaibing
It seems 'es8328_rline_enum' should be used in es8328_right_line_controls Fixes: 567e4f98922c ("ASoC: add es8328 codec driver") Signed-off-by: YueHaibing --- sound/soc/codecs/es8328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/es8328.c b/sound/soc/codecs

[tip:perf/core] perf top: Collapse and resort all evsels in a group

2019-08-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 40d81772dac45643cecc7add0e95356072265754 Gitweb: https://git.kernel.org/tip/40d81772dac45643cecc7add0e95356072265754 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 9 Aug 2019 16:44:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 12 Aug 2019 16:26:02 -0300 pe

  1   2   3   4   5   6   7   8   9   >