Re: [PATCH v2] kbuild: check the minimum compiler version in Kconfig

2021-01-13 Thread Ilie Halip
Hi Masahiro, > + #elif defined(__INTEL_COMPILER) > + /* How to get the version of intel compiler? */ > + ICC 0 0 0 According to Intel documentation[1], this should do the trick: ICC __INTEL_COMPILER __INTEL_COMPILER_UPDATE

[PATCH 03/10] KVM: x86: hyper-v: add a blank line to remove building warnings

2021-01-13 Thread Mauro Carvalho Chehab
.../Documentation/virt/kvm/api.rst:4536: WARNING: Unexpected indentation. .../Documentation/virt/kvm/api.rst:4538: WARNING: Block quote ends without a blank line; unexpected unindent. Fixes: c21d54f0307f ("KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl") Signed-off-by:

[PATCH 01/10] doc/zh_CN: fix Sphinx errors

2021-01-13 Thread Mauro Carvalho Chehab
The whitespacing with some translations are weird, which causes errors like this one: devel/v4l/docs/Documentation/translations/zh_CN/mips/ingenic-tcu.rst:61: WARNING: Malformed table. Text in column margin in table line 6. === = 时钟

[PATCH 09/10] media: v4l2-subdev.rst: fix a missing whitespace

2021-01-13 Thread Mauro Carvalho Chehab
Solves this warning: .../Documentation/driver-api/media/v4l2-subdev.rst:125: WARNING: Inline interpreted text or phrase reference start-string without end-string. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/media/v4l2-subdev.rst | 2 +- 1 file changed, 1

[PATCH 08/10] doc: zh_CN/mips: fix doc cross-references

2021-01-13 Thread Mauro Carvalho Chehab
There are several wrong references there: .../Documentation/translations/zh_CN/mips/booting.rst:5: WARNING: undefined label: booting (if the link has no caption the label must precede a section header) .../Documentation/translations/zh_CN/mips/features.rst:5: WARNING: undefined label:

[PATCH 02/10] ABI: sysfs-fs-f2fs: fix a table identation

2021-01-13 Thread Mauro Carvalho Chehab
Solves this doc build error: .../Documentation/ABI/testing/sysfs-fs-f2fs:382: WARNING: Malformed table. Text in column margin in table line 15. = = = value sb status macro description 0x1SBI_IS_DIRTY dirty flag for

[PATCH 04/10] ABI: sysfs-firmware-sgi_uv

2021-01-13 Thread Mauro Carvalho Chehab
Add a missing blank line required to identify a literal block, fixing this warning: .../Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: Unexpected indentation. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/testing/sysfs-firmware-sgi_uv | 1 + 1 file changed, 1

[PATCH 06/10] drm: amd: amdgpu_dm.h: fix a wrong kernel-doc markup

2021-01-13 Thread Mauro Carvalho Chehab
There's a missing colon, causing the markup to be ignored, solving those warnings: ../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:340: warning: Incorrect use of kernel-doc format: * @active_vblank_irq_count ../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:379:

[PATCH 10/10] seqlock: kernel-doc: fix a prototype

2021-01-13 Thread Mauro Carvalho Chehab
Right now, kernel-doc produces a warning: ./include/linux/seqlock.h:829: warning: wrong kernel-doc identifier on line: * DEFINE_SEQLOCK(sl) - Define a statically allocated seqlock_t The issue is that Kernel-doc valid syntaxes for function/define declarations are either:

[PATCH 07/10] dwc3: document gadget_max_speed

2021-01-13 Thread Mauro Carvalho Chehab
This new field was added to struct dwc3_scratchpad_array, but a documentation for it was missed: ../drivers/usb/dwc3/core.h:1259: warning: Function parameter or member 'gadget_max_speed' not described in 'dwc3' Signed-off-by: Mauro Carvalho Chehab --- drivers/usb/dwc3/core.h | 1 + 1

[PATCH 00/10] Fix documentation warnings at linux-next

2021-01-13 Thread Mauro Carvalho Chehab
This series fixes the documentation warnings found at next-20210114. Most of the changes here are trivial. While those patches could be merged via the docs tree during the next merge window, It sounds better to have those patches merged directly via each maintainer's tree, where the new

[PATCH 05/10] docs: fpga: dfl.rst: Fix a couple building issues

2021-01-13 Thread Mauro Carvalho Chehab
A title markup length is smaller than required; A literal block is not marked as such. This fixes the warnings below: .../Documentation/fpga/dfl.rst:505: WARNING: Title underline too short. Location of DFLs on a PCI Device ===

Re: [PATCH v7 3/7] fixup! media: i2c: rdacm21: Break-out ov10640 initialization

2021-01-13 Thread Jacopo Mondi
Hi Laurent, On Thu, Jan 14, 2021 at 01:23:25AM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Wed, Jan 13, 2021 at 07:55:01PM +0100, Jacopo Mondi wrote: > > The embedded OV490 ISP chip provides a secondary SCCB interface and > > two GPIO lines to control the

Re: [PATCH 1/4] tracing: add error_report trace points

2021-01-13 Thread Alexander Potapenko
On Wed, Jan 13, 2021 at 10:10 PM Steven Rostedt wrote: > > On Wed, 13 Jan 2021 10:16:54 +0100 > Alexander Potapenko wrote: > > > +DECLARE_EVENT_CLASS(error_report_template, > > + TP_PROTO(const char *error_detector, unsigned long id), > > Instead of having a random string, as

[PATCH net-next] net: bridge: use eth_type_vlan in br_dev_queue_push_xmit

2021-01-13 Thread menglong8 . dong
From: Menglong Dong Replace the check for ETH_P_8021Q and ETH_P_8021AD in br_dev_queue_push_xmit with eth_type_vlan. Signed-off-by: Menglong Dong --- net/bridge/br_forward.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/bridge/br_forward.c b/net/bridge/br_forward.c

[PATCH v2 2/2] perf tools: Add documentation for 'perf irq' command

2021-01-13 Thread Bixuan Cui
Add documentation for 'perf irq' command. Signed-off-by: Bixuan Cui --- tools/perf/Documentation/perf-irq.txt | 58 +++ tools/perf/command-list.txt | 1 + 2 files changed, 59 insertions(+) create mode 100644 tools/perf/Documentation/perf-irq.txt diff --git

[PATCH v2 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-13 Thread Bixuan Cui
Add 'perf irq' to trace/measure the hardware interrupts. Now three functions are provided: 1. 'perf irq record ' to record the irq handler events. 2. 'perf irq script' to see a detailed trace of the workload that was recorded. 3. 'perf irq report' to calculate the time consumed by each

[PATCH v2 0/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-13 Thread Bixuan Cui
When the hardware interrupt processing function is executed, the interrupt and preemption of current cpu are disabled. As a result, the task is suspended. The execution of the hardware processing function takes a long time (for example 5 ms), will affect the task scheduling performance. This

[PATCH] drm/amdgpu: Repeat assignment to max_slave_planes

2021-01-13 Thread ZhiJie.Zhang
Signed-off-by: ZhiJie.Zhang --- drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c index 3f63822b8e28..9a86d43a6233 100644

[PATCH net-next] net: core: use eth_type_vlan in tap_get_user_xdp

2021-01-13 Thread menglong8 . dong
From: Menglong Dong Replace the check for ETH_P_8021Q and ETH_P_8021AD in tap_get_user_xdp with eth_type_vlan. Signed-off-by: Menglong Dong --- drivers/net/tap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/tap.c b/drivers/net/tap.c index

Re: [PATCH v3 3/5] perf c2c: Refactor display filter

2021-01-13 Thread Leo Yan
Hi Joe, On Wed, Jan 13, 2021 at 11:35:23PM -0800, Joe Perches wrote: > On Thu, 2021-01-14 at 11:39 +0800, Leo Yan wrote: > > When sort on the respective metrics (lcl_hitm, rmt_hitm, tot_hitm), > > macro FILTER_HITM is to filter out the cache line entries if its > > overhead is less than 1%. > >

Re: [PATCH] Documentation/llvm: Add a section about supported architectures

2021-01-13 Thread Sedat Dilek
On Thu, Jan 14, 2021 at 1:35 AM Nathan Chancellor wrote: > > The most common question around building the Linux kernel with clang is > "does it work?" and the answer has always been "it depends on your > architecture, configuration, and LLVM version" with no hard answers for > users wanting to

[PATCH net-next] net: tap: use eth_type_vlan in tap_get_user

2021-01-13 Thread menglong8 . dong
From: Menglong Dong Replace the check for ETH_P_8021Q and ETH_P_8021AD in tap_get_user with eth_type_vlan. Signed-off-by: Menglong Dong --- drivers/net/tap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/tap.c b/drivers/net/tap.c index

Re: [PATCH v1 5/5] driver core: Set fw_devlink=on by default

2021-01-13 Thread Marek Szyprowski
Hi Saravana, On 13.01.2021 20:23, Saravana Kannan wrote: > On Tue, Jan 12, 2021 at 11:04 PM Marek Szyprowski > wrote: >> On 12.01.2021 21:51, Saravana Kannan wrote: >>> On Mon, Jan 11, 2021 at 11:11 PM Marek Szyprowski >>> wrote: On 11.01.2021 22:47, Saravana Kannan wrote: > On Mon,

[PATCH v3 1/2] checkpatch: fix false positive for COMMIT_LOG_LONG_LINE with URLs

2021-01-13 Thread Aditya Srivastava
Currently checkpatch warns for long line in commit messages even for URL lines. An evaluation over v5.6..v5.8 found that out of 1703 warnings reported by this class, 161 are due to the line containg URLs. Out of these 161, 53 are due to lines where URL is the first non-whitespace character of the

[PATCH v3 2/2] checkpatch: add fix option for COMMIT_LOG_LONG_LINE with URLs

2021-01-13 Thread Aditya Srivastava
Currently checkpatch warns for long line in commit messages even for URL lines. An evaluation over v5.6..v5.8 found that out of 1703 warnings reported by this class, 161 are due to the line containg URLs. Out of these 161, 53 are due to lines where URL is the first non-whitespace character of the

[PATCH v3 0/2] checkpatch: fix false positive for COMMIT_LOG_LONG_LINE and provide fix

2021-01-13 Thread Aditya Srivastava
Currently, checkpatch gives COMMIT_LOG_LONG_LINE warning even for URL lines, which should be avoided. An evaluation over v5.6..v5.8 found that out of 1703 warnings reported by this class, 161 are due to the line containg URLs. Out of these 161, 53 are due to lines where URL is the first

Re: [PATCH v3 3/5] perf c2c: Refactor display filter

2021-01-13 Thread Joe Perches
On Thu, 2021-01-14 at 11:39 +0800, Leo Yan wrote: > When sort on the respective metrics (lcl_hitm, rmt_hitm, tot_hitm), > macro FILTER_HITM is to filter out the cache line entries if its > overhead is less than 1%. > > This patch introduces static function filter_display() to replace macro; > and

Re: [PATCH] arm64: dts: mt8183: Add missing power-domain for pwm0 node

2021-01-13 Thread Hsin-Yi Wang
On Thu, Jan 14, 2021 at 5:57 AM Enric Balletbo i Serra wrote: > > The MT8183 display PWM device will not work until the associated > power-domain is enabled. Add the power-domain reference to the node > allows the display PWM driver to operate and the backlight turn on. > > Fixes: f15722c0fef0

Re: [PATCH] net: phy: micrel: reconfigure the phy on resume

2021-01-13 Thread Heiner Kallweit
On 13.01.2021 23:01, Russell King - ARM Linux admin wrote: > On Wed, Jan 13, 2021 at 10:34:53PM +0100, Heiner Kallweit wrote: >> On 13.01.2021 13:36, claudiu.bez...@microchip.com wrote: >>> On 13.01.2021 13:09, Heiner Kallweit wrote: On 13.01.2021 10:29, claudiu.bez...@microchip.com wrote:

Re: [PATCH v4 2/3] Kbuild: make DWARF version a choice

2021-01-13 Thread Sedat Dilek
On Thu, Jan 14, 2021 at 8:20 AM Sedat Dilek wrote: > > On Thu, Jan 14, 2021 at 12:27 AM Nick Desaulniers > wrote: > > > > Sedat, > > Thanks for testing, and congrats on https://lwn.net/Articles/839772/. > > I always appreciate you taking the time to help test my work, and > > other Clang+Linux

Re: [PATCH 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-13 Thread Bixuan Cui
On 2021/1/13 3:50, Alexei Budankov wrote: > Hi Bixuan, > > On 12.01.2021 15:55, Bixuan Cui wrote: >> Add 'perf irq' to trace/measure the hardware interrupts. >> >> Now three functions are provided: >> 1. 'perf irq record ' to record the irq handler events. >> 2. 'perf irq script' to see a

general protection fault in io_uring_setup

2021-01-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:65f0d241 Merge tag 'sound-5.11-rc4' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16bbcd98d0 kernel config: https://syzkaller.appspot.com/x/.config?x=ee2266946ed36986

Re: [PATCH V2] mlx5: vdpa: fix possible uninitialized var

2021-01-13 Thread Eli Cohen
On Thu, Jan 14, 2021 at 03:09:04PM +0800, Jason Wang wrote: > When compiling with -Werror=maybe-uninitialized, gcc may complains the Maybe you want to fix to: gcc may complain about possible... Other than that: Acked-by: Eli Cohen > possible uninitialized umem. Since the callers won't pass

[PATCH] rcu: better document kfree_rcu()

2021-01-13 Thread Mauro Carvalho Chehab
After changeset 5130b8fd0690 ("rcu: Introduce kfree_rcu() single-argument macro"), kernel-doc now emits two warnings: ./include/linux/rcupdate.h:884: warning: Excess function parameter 'ptr' description in 'kfree_rcu' ./include/linux/rcupdate.h:884: warning: Excess function

Re: [PATCH v4 2/3] Kbuild: make DWARF version a choice

2021-01-13 Thread Sedat Dilek
On Thu, Jan 14, 2021 at 12:27 AM Nick Desaulniers wrote: > > Sedat, > Thanks for testing, and congrats on https://lwn.net/Articles/839772/. > I always appreciate you taking the time to help test my work, and > other Clang+Linux kernel patches! > Hi Nick, cool, again in the top 15 :-). I should

[PATCH 1/1] Documentation: ACPI: EINJ: Fix error type value for PCIe error

2021-01-13 Thread Qiuxu Zhuo
Fix the error type value for PCI Express uncorrectable non-fatal error to 0x0080 and fix the error type value for PCI Express uncorrectable fatal error to 0x0100. See Advanced Configuration and Power Interface Specification, version 6.2, table "18-409 Error Type Definition".

Re: [PATCH 0/3] arm64: cpufeature: Add filter function to control

2021-01-13 Thread Srinivas Ramana
Hi Marc, On 1/11/2021 5:40 AM, Marc Zyngier wrote: Hi Srinivas, On 2021-01-09 00:29, Srinivas Ramana wrote: This patchset adds a control function for cpufeature framework so that the feature can be controlled at runtime. Defer PAC on boot core and use the filter function added to disable PAC

Re: [PATCH v5 4/4] pinctrl: qcom: Don't clear pending interrupts when enabling

2021-01-13 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-08 09:35:16) > Let's deal with the problem like this: > * When we mux away, we'll mask our interrupt. This isn't necessary in > the above case since the client already masked us, but it's a good > idea in general. > * When we mux back will clear any

Re: [PATCH v6 1/4] drm/i915: Keep track of pwm-related backlight hooks separately

2021-01-13 Thread Jani Nikula
On Wed, 13 Jan 2021, Lyude Paul wrote: > Currently, every different type of backlight hook that i915 supports is > pretty straight forward - you have a backlight, probably through PWM > (but maybe DPCD), with a single set of platform-specific hooks that are > used for controlling it. > > HDR

Re: [PATCH v4 4/5] mm: Fix page reference leak in soft_offline_page()

2021-01-13 Thread 堀口 直也
On Wed, Jan 13, 2021 at 10:18:09PM -0800, Dan Williams wrote: > On Wed, Jan 13, 2021 at 5:50 PM HORIGUCHI NAOYA(堀口 直也) > wrote: > > > > On Wed, Jan 13, 2021 at 04:43:32PM -0800, Dan Williams wrote: > > > The conversion to move pfn_to_online_page() internal to > > > soft_offline_page() missed that

[PATCH V2] mlx5: vdpa: fix possible uninitialized var

2021-01-13 Thread Jason Wang
When compiling with -Werror=maybe-uninitialized, gcc may complains the possible uninitialized umem. Since the callers won't pass value other than 1 to 3, making 3 as default to fix the compiler warning. Signed-off-by: Jason Wang --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +- 1 file changed, 1

[PATCH] mm: memblock: remove return value of memblock_free_all()

2021-01-13 Thread Daeseok Youn
No one checks the return value of memblock_free_all(). Make the return value void. memblock_free_all() is used on mem_init() for each architecture, and the total count of freed pages will be added to _totalram_pages variable by calling totalram_pages_add(). so do not need to return total count

Re: [PATCH] kbuild: check the minimum compiler version in Kconfig

2021-01-13 Thread Sedat Dilek
On Thu, Jan 14, 2021 at 5:17 AM Masahiro Yamada wrote: > > Paul Gortmaker reported a regression in the GCC version check [1]. > If you use GCC 4.8, the build breaks before showing the error message > "error Sorry, your version of GCC is too old - please use 4.9 or newer." > Hi Masahiro, This

Re: [PATCH v5 3/4] pinctrl: qcom: Properly clear "intr_ack_high" interrupts when unmasking

2021-01-13 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-08 09:35:15) > In commit 4b7618fdc7e6 ("pinctrl: qcom: Add irq_enable callback for > msm gpio") we tried to Ack interrupts during unmask. However, that > patch forgot to check "intr_ack_high" so, presumably, it only worked > for a certain subset of SoCs. > >

Re: [PATCH v5 2/4] pinctrl: qcom: No need to read-modify-write the interrupt status

2021-01-13 Thread Stephen Boyd
Quoting Douglas Anderson (2021-01-08 09:35:14) > When the Qualcomm pinctrl driver wants to Ack an interrupt, it does a > read-modify-write on the interrupt status register. On some SoCs it > makes sure that the status bit is 1 to "Ack" and on others it makes > sure that the bit is 0 to "Ack".

[PATCH v6 2/2] ASoC: cros_ec_codec: Reset I2S RX when probing

2021-01-13 Thread Yu-Hsuan Hsu
It is not guaranteed that I2S RX is disabled when the kernel booting. For example, if the kernel crashes while it is enabled, it will keep enabled until the next time EC reboots. Reset I2S RX when probing to fix this issue. Signed-off-by: Yu-Hsuan Hsu --- Returns the error code when it fails to

[PATCH v6 1/2] cros_ec_commands: Add EC_CODEC_I2S_RX_RESET

2021-01-13 Thread Yu-Hsuan Hsu
Add the new command EC_CODEC_I2S_RX_RESET in ec_codec_i2s_rx_subcmd, which is used for resetting the EC codec. Signed-off-by: Yu-Hsuan Hsu --- include/linux/platform_data/cros_ec_commands.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/platform_data/cros_ec_commands.h

Re: [PATCH] tools/bootconfig: Add tracing_on support to helper scripts

2021-01-13 Thread Masami Hiramatsu
On Wed, 13 Jan 2021 18:11:58 -0500 Steven Rostedt wrote: > > Just noticed this patch. I'm adding it into my queue for the next merge > window, as it doesn't look too urgent. Yes, it is not urgent, but it might be better to backport to 5.10. Thank you, > > -- Steve > > > On Wed, 9 Dec

Re: [PATCH] drivers: crypto: marvell: Fix a spelling s/fautly/faultly/ in comment

2021-01-13 Thread Herbert Xu
On Tue, Jan 05, 2021 at 03:31:08PM +0530, Bhaskar Chowdhury wrote: > > s/fautly/faulty/p > > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/crypto/marvell/cesa/tdma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page:

Re: [PATCH] crypto: hisilicon/qm - SVA bugfixed on Kunpeng920

2021-01-13 Thread Herbert Xu
On Tue, Jan 05, 2021 at 02:12:03PM +0800, Kai Ye wrote: > Kunpeng920 SEC/HPRE/ZIP cannot support running user space SVA and kernel > Crypto at the same time. Therefore, the algorithms should not be registered > to Crypto as user space SVA is enabled. > > Signed-off-by: Kai Ye > Reviewed-by:

Re: [PATCH 0/3] crypto: hisilicon - register device to uacce

2021-01-13 Thread Herbert Xu
On Tue, Jan 05, 2021 at 02:16:41PM +0800, Kai Ye wrote: > 1. Add parameter of UACCE mode selection for ZIP. > 2. Register SEC and HPRE devices to UACCE framework for user space drivers. > > Kai Ye (3): > crypto: hisilicon - add ZIP device using mode parameter > crypto: hisilicon/hpre -

Re: [PATCH] udf: fix the problem that the disc content is not displayed

2021-01-13 Thread changlian...@uniontech.com
On 2021-01-13 20:51, 常廉志 wrote: >> On 2021-01-11 23:53, lianzhi chang wrote: >> When the capacity of the disc is too large (assuming the 4.7G specification), the disc (UDF file system) will be burned multiple times in the windows (Multisession Usage). When the remaining

Re: [PATCH v4 4/5] mm: Fix page reference leak in soft_offline_page()

2021-01-13 Thread Oscar Salvador
On 2021-01-14 07:18, Dan Williams wrote: To be honest I dislike the entire flags based scheme for communicating the fact that page reference obtained by madvise needs to be dropped later. I'd rather pass a non-NULL 'struct page *' than redo pfn_to_page() conversions in the leaf functions, but

[PATCH 1/3] dt-bindings: usb: update snps,dwc3.yaml references

2021-01-13 Thread Mauro Carvalho Chehab
Changeset 389d77658801 ("dt-bindings: usb: Convert DWC USB3 bindings to DT schema") renamed: Documentation/devicetree/bindings/usb/dwc3.txt to: Documentation/devicetree/bindings/usb/snps,dwc3.yaml. Update its cross-references accordingly. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 0/3] Fix broken references at next-20210114 due to yaml conversion

2021-01-13 Thread Mauro Carvalho Chehab
Three new broken references were added between next-20210113 and next-20210114, due to yaml conversion. Address them. Please add those patches at the same tree as the respective conversion changesets were added. Thanks! Mauro Mauro Carvalho Chehab (3): dt-bindings: usb: update snps,dwc3

[PATCH 3/3] MAINTAINERS: update mediatek,ufs-phy.yaml reference

2021-01-13 Thread Mauro Carvalho Chehab
Changeset 67038ec1bdfb ("dt-bindings: phy: convert phy-mtk-ufs.txt to YAML schema") renamed: Documentation/devicetree/bindings/phy/phy-mtk-* to: Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml. Update its cross-reference accordingly. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 2/3] Documentation/devicetree/bindings/usb/dwc3-st.txt: update usb-drd.yaml reference

2021-01-13 Thread Mauro Carvalho Chehab
Changeset b0864e1a4d9d ("dt-bindings: usb: Convert generic USB properties to DT schemas") renamed: Documentation/devicetree/bindings/usb/generic.txt to: Documentation/devicetree/bindings/usb/usb-drd.yaml. Update its cross-reference accordingly. Signed-off-by: Mauro Carvalho Chehab ---

hppa64-linux-ld: kernel/trace/ftrace.o(.text+0x3d4c): cannot reach ftrace_bug

2021-01-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: eff8728fe69880d3f7983bec3fb6cea4c306261f vmlinux.lds.h: Add PGO and AutoFDO input sections date: 5 months ago config: parisc-randconfig-r006-20210114

Re: [PATCH] mmc: sdhci-pci-gli: Enlarge ASPM L1 entry delay of GL9763E

2021-01-13 Thread 陳建宏
> Ulf Hansson 於 2021年1月13日 週三 下午6:53寫道: > > On Wed, 6 Jan 2021 at 10:27, Renius Chen wrote: > > > > The R/W performance of GL9763E is low with some platforms, which > > support ASPM mechanism, due to entering L1 state very frequently > > in R/W process. Enlarge its ASPM L1 entry delay to improve

[PATCH] HID: hid-input: avoid splitting keyboard, system and consumer controls

2021-01-13 Thread Dmitry Torokhov
A typical USB keyboard usually splits its keys into several reports: - one for the basic alphanumeric keys, modifier keys, F keys, six pack keys and keypad. This report's application is normally listed as GenericDesktop.Keyboard - a GenericDesktop.SystemControl report for the system control

[PATCH v2 2/2] f2fs: add ckpt_thread_ioprio sysfs node

2021-01-13 Thread Daeho Jeong
From: Daeho Jeong Added "ckpt_thread_ioprio" sysfs node to give a way to change checkpoint merge daemon's io priority. Its default value is "be,3", which means "BE" I/O class and I/O priority "3". We can select the class between "rt" and "be", and set the I/O priority within valid range of it.

[PATCH v2 1/2] f2fs: introduce checkpoint=merge mount option

2021-01-13 Thread Daeho Jeong
From: Daeho Jeong We've added a new mount option "checkpoint=merge", which creates a kernel daemon and makes it to merge concurrent checkpoint requests as much as possible to eliminate redundant checkpoint issues. Plus, we can eliminate the sluggish issue caused by slow checkpoint operation when

Re: [PATCH RESEND v2] drm/bridge/tc358775: Fixes bus formats read

2021-01-13 Thread Laurent Pinchart
Hi Vinay, Thank you for the patch. I'm afraid I've had close to no time for DRM bridge maintenance over the past few months, and I don't expect the situation to improve soon. I know how painful it can be to keep pinging without receiving any reply. I'm sorry about that, we have a shortage of

Re: [PATCH v4 4/5] mm: Fix page reference leak in soft_offline_page()

2021-01-13 Thread Dan Williams
On Wed, Jan 13, 2021 at 5:50 PM HORIGUCHI NAOYA(堀口 直也) wrote: > > On Wed, Jan 13, 2021 at 04:43:32PM -0800, Dan Williams wrote: > > The conversion to move pfn_to_online_page() internal to > > soft_offline_page() missed that the get_user_pages() reference taken by > > the madvise() path needs to

lib/llist.c:33:11: warning: converting the result of '<<' to a boolean always evaluates to true

2021-01-13 Thread kernel test robot
Hi Nathan, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: afe956c577b2d5a3d9834e4424587c1ebcf90c4c kbuild: Enable -Wtautological-compare date: 9 months ago

Re: [PATCH v6 5/5] media: i2c: max9286: Configure reverse channel amplitude

2021-01-13 Thread Laurent Pinchart
Hi Jacopo, On Tue, Jan 12, 2021 at 10:08:05AM +0100, Jacopo Mondi wrote: > On Tue, Jan 12, 2021 at 07:03:42AM +0200, Laurent Pinchart wrote: > > On Mon, Jan 11, 2021 at 12:20:23PM +0100, Jacopo Mondi wrote: > > > On Mon, Jan 11, 2021 at 12:58:59PM +0200, Laurent Pinchart wrote: > > > > On Mon,

[PATCH] module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols

2021-01-13 Thread Fangrui Song
clang-12 -fno-pic (since https://github.com/llvm/llvm-project/commit/a084c0388e2a59b9556f2de008232da3f1d6) can emit `call __stack_chk_fail@PLT` instead of `call __stack_chk_fail` on x86. The two forms should have identical behaviors on x86-64 but the former causes GNU as<2.37 to produce an

Re: [PATCH v4 2/2] Input: cros-ec-keyb - Expose function row physical map to userspace

2021-01-13 Thread Philip Chen
On Wed, Jan 13, 2021 at 5:39 PM Stephen Boyd wrote: > > Quoting Philip Chen (2021-01-13 17:29:05) > > On Wed, Jan 13, 2021 at 3:14 PM Stephen Boyd wrote: > > > > > > Quoting Philip Chen (2021-01-13 14:47:18) > > > > On Tue, Jan 12, 2021 at 10:49 PM Stephen Boyd > > > > wrote: > > > > > > > > >

Re: [PATCH v5 1/2] dt-bindings: input: cros-ec-keyb: Add a new property

2021-01-13 Thread Philip Chen
On Wed, Jan 13, 2021 at 5:30 PM Stephen Boyd wrote: > > Quoting Philip Chen (2021-01-13 17:25:12) > > This patch adds a new property `function-row-physmap` to the > > :) Sorry, I'll make it imperative tense. > > > device tree for the custom keyboard top row design. > > > > The property describes

linux-next: Tree for Jan 14

2021-01-13 Thread Stephen Rothwell
Hi all, Changes since 20210113: The drm tree still had its build failure so I used the version from next-20210107. The drm-intel tree still had its build failure from merging the drm tree, so I have used the version from next-20210108. The drm-misc tree lost its build failure, but gained

Re: madvise(MADV_REMOVE) deadlocks on shmem THP

2021-01-13 Thread Sergey Senozhatsky
On (21/01/13 20:31), Hugh Dickins wrote: > > We are running into lockups during the memory pressure tests on our > > boards, which essentially NMI panic them. In short the test case is > > > > - THP shmem > > echo advise > /sys/kernel/mm/transparent_hugepage/shmem_enabled > > > > - And a

powerpc64-linux-ld: warning: orphan section `.stubs' from `drivers/net/ethernet/cavium/liquidio/lio_ethtool.o' being placed in section `.stubs'

2021-01-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: 85d33df357b634649ddbe0a20fd2d0fc5732c3cb bpf: Introduce BPF_MAP_TYPE_STRUCT_OPS date: 1 year ago config: powerpc64-randconfig-r001-20210113 (attached

Re: [PATCH] crypto: keembay - CRYPTO_DEV_KEEMBAY_OCS_HCU should depend on ARCH_KEEMBAY

2021-01-13 Thread Herbert Xu
On Tue, Jan 12, 2021 at 05:15:40PM +0100, Geert Uytterhoeven wrote: > The Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit > (HCU) is only present on Intel Keem Bay SoCs. Hence add a dependency on > ARCH_KEEMBAY, to prevent asking the user about this driver when > configuring a

i2c-sprd.c:(.text.sprd_i2c_probe+0x258): undefined reference to `clk_set_parent'

2021-01-13 Thread kernel test robot
ago config: mips-randconfig-r015-20210113 (attached as .config) compiler: mipsel-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

Re: [PATCH v5 0/5] Unify NUMA implementation between ARM64 & RISC-V

2021-01-13 Thread Palmer Dabbelt
On Mon, 11 Jan 2021 11:31:11 PST (-0800), ati...@atishpatra.org wrote: On Sat, Jan 9, 2021 at 12:51 PM Palmer Dabbelt wrote: On Sun, 13 Dec 2020 17:02:19 PST (-0800), ati...@atishpatra.org wrote: > On Wed, Nov 18, 2020 at 4:39 PM Atish Patra wrote: >> >> This series attempts to move the

Re: [PATCH] nvme: reject the ns when the block size is smaller than a sector

2021-01-13 Thread Feng Li
Sagi Grimberg 于2021年1月14日周四 上午6:13写道: > > > >> The nvme spec(1.4a, figure 248) says: > >> "A value smaller than 9 (i.e., 512 bytes) is not supported." > >> > >> Signed-off-by: Li Feng > >> --- > >> drivers/nvme/host/core.c | 6 ++ > >> 1 file changed, 6 insertions(+) > >> > >> diff --git

Re: [PATCH 0/4] Assorted fixes for RV32

2021-01-13 Thread Palmer Dabbelt
On Wed, 13 Jan 2021 21:09:36 PST (-0800), Palmer Dabbelt wrote: On Thu, 07 Jan 2021 01:26:48 PST (-0800), Atish Patra wrote: This series fixes various issues observed in latest kernel on RV32. The first two patches fixes an resource tree introduced in 5.11-rc1 while the last two fixes the case

Re: [PATCH 0/4] Assorted fixes for RV32

2021-01-13 Thread Palmer Dabbelt
On Thu, 07 Jan 2021 01:26:48 PST (-0800), Atish Patra wrote: This series fixes various issues observed in latest kernel on RV32. The first two patches fixes an resource tree introduced in 5.11-rc1 while the last two fixes the case where 2GB physical memory is used on RV32. There are may be

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-13 Thread Palmer Dabbelt
On Thu, 07 Jan 2021 01:26:51 PST (-0800), Atish Patra wrote: SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock allocation if it is requested to be aligned with SMP_CACHE_BYTES. Signed-off-by: Atish Patra

Re: [PATCH v6 2/4] scmi-cpufreq: Move CPU initialisation to probe

2021-01-13 Thread Viresh Kumar
On 13-01-21, 11:55, Nicola Mazzucato wrote: > On 1/12/21 11:17 AM, Viresh Kumar wrote: > > This could have been done with a per-cpu variable instead. > > sure, I can do a DEFINE_PER_CPU() for it if it makes it better. If we don't go with the linked list approach, then yes. > >> +

Re: [PATCH 2/2] bdi: Use might_alloc()

2021-01-13 Thread kernel test robot
Hi Daniel, I love your patch! Yet something to improve: [auto build test ERROR on mmotm/master] url: https://github.com/0day-ci/linux/commits/Daniel-Vetter/mm-dmapool-Use-might_alloc/20210113-215207 base: git://git.cmpxchg.org/linux-mmotm.git master config: openrisc-randconfig-r011

[PATCH v2] perf test: Fix shadow stat test for non-bash shells

2021-01-13 Thread Namhyung Kim
It was using some bash-specific features and failed to parse when running with a different shell like below: root@kbl-ppc:~/kbl-ws/perf-dev/lck-9077/acme.tmp/tools/perf# ./perf test 83 -vv 83: perf stat metrics (shadow stat) test: --- start --- test child

Re: [PATCH 1/1] usb: xhci: setup packets don't need DMA mapping

2021-01-13 Thread Peter Chen
On 21-01-14 11:59:07, Daewoong Kim wrote: > DMA mapping of urb->setup_packet is not necessary for xHCI host > controllers. The xHCI specification says that Setup Stage TRB includes > whole Setup Data; therefore, urb->setup_dma will not be used in the xhci > HCD code. > How about bypass map/unmap

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-13 Thread Viresh Kumar
On 11-01-21, 09:46, Rob Herring wrote: > On Fri, Jan 8, 2021 at 2:41 AM Viresh Kumar wrote: > > > > Now that fdtoverlay is part of the kernel build, start using it to test > > the unitest overlays we have by applying them statically. > > Nice idea. > > > The file overlay_base.dtb have symbols

Re: [PATCH v2 1/1] v4l: ioctl: Fix memory leak in video_usercopy

2021-01-13 Thread Bingbu Cao
On 1/14/21 12:50 PM, Bingbu Cao wrote: > Sakari, > > On 12/21/20 4:11 AM, Sakari Ailus wrote: >> When an IOCTL with argument size larger than 128 that also used array >> arguments were handled, two memory allocations were made but alas, only >> the latter one of them was released. This

Re: [PATCH v2 0/3] fix macb phy probe failure if phy-reset is not handled

2021-01-13 Thread Palmer Dabbelt
On Tue, 10 Nov 2020 07:22:09 PST (-0800), sagar.ka...@sifive.com wrote: HiFive Unleashed is having VSC8541-01 ethernet phy device and requires a specific reset sequence of 0-1-0-1 in order to use it in unmanaged mode. This series addresses a corner case where phy reset is not handled by boot

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-13 Thread Viresh Kumar
Frank/Rob. On 08-01-21, 14:11, Viresh Kumar wrote: > diff --git a/drivers/of/unittest-data/Makefile > b/drivers/of/unittest-data/Makefile > index 009f4045c8e4..f17bce85f65f 100644 > --- a/drivers/of/unittest-data/Makefile > +++ b/drivers/of/unittest-data/Makefile > @@ -38,3 +38,26 @@

arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous prototype for 'handle_trap'

2021-01-13 Thread kernel test robot
ago config: arm64-randconfig-r005-20210113 (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

Re: riscv+KASAN does not boot

2021-01-13 Thread Palmer Dabbelt
On Fri, 25 Dec 2020 09:13:23 PST (-0800), dvyu...@google.com wrote: On Fri, Dec 25, 2020 at 5:58 PM Andreas Schwab wrote: On Dez 25 2020, Dmitry Vyukov wrote: > qemu-system-riscv64 \ > -machine virt -bios default -smp 1 -m 2G \ > -device virtio-blk-device,drive=hd0 \ > -drive

Re: [PATCH 1/1] riscv: Fix KASAN memory mapping.

2021-01-13 Thread Palmer Dabbelt
On Tue, 12 Jan 2021 18:24:10 PST (-0800), nyl...@andestech.com wrote: From: Nick Hu Use virtual address instead of physical address when translating the address to shadow memory by kasan_mem_to_shadow(). Signed-off-by: Nick Hu Signed-off-by: Nylon Chen --- arch/riscv/mm/kasan_init.c | 4

Re: Toolchain-dependent config options

2021-01-13 Thread Masahiro Yamada
On Thu, Jan 14, 2021 at 7:21 AM Josh Poimboeuf wrote: > > Hi Masahiro, > > If I copy a config with CONFIG_GCC_PLUGINS to another system which > doesn't have the gcc-plugin-devel package, it gets silently disabled by > "make olddefconfig". > > I've seen multiple cases lately where this is causing

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2021-01-13 Thread Dongdong Tao
[Share the google doc here to avoid SPAM detection] Here is the new testing result with multiple threads fio testing: https://docs.google.com/document/d/1AmbIEa_2MhB9bqhC3rfga9tp7n9YX9PLn0jSUxscVW0/edit?usp=sharing On Fri, Jan 8, 2021 at 4:47 PM Dongdong Tao wrote: > > Yeap, I will scale the

Re: [PATCH v2] pinctrl: sprd: Simplify bool comparison

2021-01-13 Thread Baolin Wang
On Wed, Jan 13, 2021 at 11:43 AM Yang Li wrote: > > Fix the following coccicheck warning: > ./drivers/pinctrl/sprd/pinctrl-sprd.c:690:8-23: WARNING: Comparison to > bool > > Reported-by: Abaci Robot > Signed-off-by: Yang Li You should keep other guy's reviewed-by or acked-by tag for the

Re: [PATCH] perf tools: Resolve symbols against debug file first

2021-01-13 Thread Namhyung Kim
Hi both of Jiri, On Wed, Jan 13, 2021 at 8:43 PM Jiri Slaby wrote: > > On 13. 01. 21, 11:46, Jiri Olsa wrote: > > On Wed, Jan 13, 2021 at 09:01:28AM +0100, Jiri Slaby wrote: > >> With LTO, there are symbols like these: > >> /usr/lib/debug/usr/lib64/libantlr4-runtime.so.4.8-4.8-1.4.x86_64.debug >

Re: [PATCH v2 1/1] v4l: ioctl: Fix memory leak in video_usercopy

2021-01-13 Thread Bingbu Cao
Sakari, On 12/21/20 4:11 AM, Sakari Ailus wrote: > When an IOCTL with argument size larger than 128 that also used array > arguments were handled, two memory allocations were made but alas, only > the latter one of them was released. This happened because there was only > a single local variable

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Changheun Lee
>On 2021/01/14 12:53, Ming Lei wrote: >> On Wed, Jan 13, 2021 at 12:02:44PM +, Damien Le Moal wrote: >>> On 2021/01/13 20:48, Ming Lei wrote: On Wed, Jan 13, 2021 at 11:16:11AM +, Damien Le Moal wrote: > On 2021/01/13 19:25, Ming Lei wrote: >> On Wed, Jan 13, 2021 at

Re: [PATCH v3] x86/sgx: Synchronize encl->srcu in sgx_encl_release().

2021-01-13 Thread Haitao Huang
On Mon, 11 Jan 2021 18:08:10 -0600, Jarkko Sakkinen wrote: On Tue, Jan 05, 2021 at 03:57:49PM +0100, Borislav Petkov wrote: On Wed, Dec 16, 2020 at 03:49:20PM +0200, Jarkko Sakkinen wrote: > Add synchronize_srcu_expedited() to sgx_encl_release() to catch a grace > period initiated by

Re: madvise(MADV_REMOVE) deadlocks on shmem THP

2021-01-13 Thread Hugh Dickins
On Thu, 14 Jan 2021, Sergey Senozhatsky wrote: > Hi, > > We are running into lockups during the memory pressure tests on our > boards, which essentially NMI panic them. In short the test case is > > - THP shmem > echo advise > /sys/kernel/mm/transparent_hugepage/shmem_enabled > > - And a

Re: [rcu:rcu/next] BUILD SUCCESS WITH WARNING f81f6edb74f27c5c8917d20a2bc128aca39aae11

2021-01-13 Thread Paul E. McKenney
defconfig > > > m68k allyesconfig > > > nios2 defconfig > > > arc allyesconfig > > > nds32 allnoconfig > > > c6x

  1   2   3   4   5   6   7   8   9   10   >