Re: [PATCH] pinctrl: use to octal permissions for debugfs files

2021-02-12 Thread Linus Walleij
On Tue, Jan 26, 2021 at 5:55 AM Drew Fustini wrote: > Switch over pinctrl debugfs files to use octal permissions as they are > preferred over symbolic permissions. Refer to commit f90774e1fd27 > ("checkpatch: look for symbolic permissions and suggest octal instead"). > > Signed-off-by: Drew Fusti

[PATCH RESEND] regulator: bd718x7, bd71828, Fix dvs voltage levels

2021-02-12 Thread Matti Vaittinen
The ROHM BD718x7 and BD71828 drivers support setting HW state specific voltages from device-tree. This is used also by various in-tree DTS files. These drivers do incorrectly try to compose bit-map using enum values. By a chance this works for first two valid levels having values 1 and 2 - but set

Re: [RFC PATCH v4 00/17] virtio/vsock: introduce SOCK_SEQPACKET support

2021-02-12 Thread Stefano Garzarella
On Fri, Feb 12, 2021 at 09:11:50AM +0300, Arseny Krasnov wrote: On 11.02.2021 17:57, Stefano Garzarella wrote: Hi Arseny, On Mon, Feb 08, 2021 at 09:32:59AM +0300, Arseny Krasnov wrote: On 07.02.2021 19:20, Michael S. Tsirkin wrote: On Sun, Feb 07, 2021 at 06:12:56PM +0300, Arseny Krasnov wr

Re: [PATCH v2 02/14] clk: stm32mp1: merge 'ck_hse_rtc' and 'ck_rtc' into one clock

2021-02-12 Thread gabriel.fernan...@foss.st.com
On 2/9/21 9:00 AM, Stephen Boyd wrote: Quoting gabriel.fernan...@foss.st.com (2021-01-26 01:01:08) From: Gabriel Fernandez 'ck_rtc' has multiple clocks as input (ck_hsi, ck_lsi, and ck_hse). A divider is available only on the specific rtc input for ck_hse. This Merge will facilitate to have

Re: [PATCH v4 0/8] Make fw_devlink=on more forgiving

2021-02-12 Thread Geert Uytterhoeven
Hi Saravana, On Fri, Feb 12, 2021 at 4:00 AM Saravana Kannan wrote: > On Thu, Feb 11, 2021 at 5:00 AM Geert Uytterhoeven > wrote: > > 1. R-Car Gen2 (Koelsch), R-Car Gen3 (Salvator-X(S), Ebisu). > > > > - Commit 2dfc564bda4a31bc ("soc: renesas: rcar-sysc: Mark device > > node OF_

[PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Pritthijit Nath
This change fixes a checkpatch CHECK style issue for "Alignment should match open parenthesis". Signed-off-by: Pritthijit Nath --- drivers/staging/greybus/hid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c i

Re: [PATCH V4] mtd: rawnand: qcom: update last code word register

2021-02-12 Thread Miquel Raynal
Hello, mda...@codeaurora.org wrote on Fri, 12 Feb 2021 01:00:47 +0530: > On 2021-02-11 19:37, Miquel Raynal wrote: > > Hello, > > > > Manivannan Sadhasivam wrote on Wed, > > 10 Feb 2021 14:31:44 +0530: > > > >> On Fri, Jan 29, 2021 at 03:09:19AM +0530, Md Sadre Alam wrote: > >> > From QPIC

[PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c

2021-02-12 Thread Pritthijit Nath
Fixed the spelling of 'transfered' to 'transferred'. Signed-off-by: Pritthijit Nath --- drivers/staging/greybus/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c index a56c3fb5d35a..6b19ff4743a9 100644 --- a/dr

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Nicolas Boichat
On Fri, Feb 12, 2021 at 3:46 PM Greg KH wrote: > > On Fri, Feb 12, 2021 at 12:44:00PM +0800, Nicolas Boichat wrote: > > Filesystems such as procfs and sysfs generate their content at > > runtime. This implies the file sizes do not usually match the > > amount of data that can be read from the file

Re: [PATCH v2 0/3] pinctrl: at91-pio4: add support for slew-rate

2021-02-12 Thread Linus Walleij
On Wed, Jan 27, 2021 at 12:45 PM Claudiu Beznea wrote: > This series adds support for slew rate on SAMA7G5. Along with this > patch 3/3 fixes some checkpatch.pl warnings. Patches applied! Yours, Linus Walleij

Re: [PATCH] docs: kernel-hacking: Remove the word fuck,trying to be civil :)

2021-02-12 Thread Bhaskar Chowdhury
On 09:10 Thu 11 Feb 2021, Randy Dunlap wrote: On 2/11/21 9:04 AM, Jonathan Corbet wrote: Bhaskar Chowdhury writes: s/fuck// Signed-off-by: Bhaskar Chowdhury --- Documentation/kernel-hacking/locking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kerne

Re: [PATCH] pinctrl: nuvoton: npcm7xx: Fix alignment of table header comment

2021-02-12 Thread Linus Walleij
On Sat, Jan 30, 2021 at 5:30 PM Jonathan Neuschäfer wrote: > Make it so that each column label is in the column that it is supposed > to refer to. > > Signed-off-by: Jonathan Neuschäfer Patch applied, sorry for delay. Yours, Linus Walleij

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Amir Goldstein
On Fri, Feb 12, 2021 at 9:49 AM Greg KH wrote: > > On Fri, Feb 12, 2021 at 12:44:00PM +0800, Nicolas Boichat wrote: > > Filesystems such as procfs and sysfs generate their content at > > runtime. This implies the file sizes do not usually match the > > amount of data that can be read from the file

Re: [PATCH 4/5] keys: define build time generated ephemeral kernel CA key

2021-02-12 Thread kernel test robot
note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Nayna-Jain/ima-kernel-build-support-for-loading-the-kernel-module-signing-key/20210212-040003 base: https://git.kern

Re: [PATCH] pinctrl: Support pin that does not support configuration option

2021-02-12 Thread Linus Walleij
On Mon, Feb 1, 2021 at 12:54 PM Michael Nazzareno Trimarchi wrote: > On Mon, Feb 1, 2021 at 12:47 PM Fabio Estevam wrote: > > > > Hi Michael, > > > > On Sat, Jan 30, 2021 at 5:21 AM Michael Trimarchi > > wrote: > > > > > > Some of the iMX25 pins have not an associated configuration register so >

Re: [PATCH] pinctrl: Support pin that does not support configuration option

2021-02-12 Thread Michael Nazzareno Trimarchi
Hi On Fri, Feb 12, 2021 at 9:26 AM Linus Walleij wrote: > > On Mon, Feb 1, 2021 at 12:54 PM Michael Nazzareno Trimarchi > wrote: > > On Mon, Feb 1, 2021 at 12:47 PM Fabio Estevam wrote: > > > > > > Hi Michael, > > > > > > On Sat, Jan 30, 2021 at 5:21 AM Michael Trimarchi > > > wrote: > > > > >

Re: [PATCH 1/2] ARM: dts: am335x-pocketbeagle: unique gpio-line-names

2021-02-12 Thread Linus Walleij
On Thu, Feb 4, 2021 at 8:47 AM Drew Fustini wrote: > On Thu, Feb 04, 2021 at 08:58:20AM +0200, Tony Lindgren wrote: > > * Drew Fustini [210127 02:04]: > > > Based on linux-gpio discussion [1], it is best practice to make the > > > gpio-line-names unique. Generic names like "[ethernet]" are replac

arch/alpha/lib/csum_partial_copy.c:328:1: error: no previous prototype for 'csum_and_copy_from_user'

2021-02-12 Thread kernel test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcc0b49040c70ad827a7f3d58a21b01fdb14e749 commit: 808b49da54e640cba5c5c92dee658018a529226b alpha: turn csum_partial_copy_from_user() into csum_and_copy_from_user

Re: [PATCH] perf libperf: Remove unused xyarray.c

2021-02-12 Thread Jiri Olsa
On Thu, Feb 11, 2021 at 08:38:03PM -0800, Ian Rogers wrote: > Migrated to libperf in: > commit 4b247fa7314c ("libperf: Adopt xyarray class from perf") Acked-by: Jiri Olsa thanks, jirka > > Signed-off-by: Ian Rogers > --- > tools/perf/util/xyarray.c | 33 - > 1

Re: [PATCH v4 net-next 6/9] net: dsa: act as ass passthrough for bridge port flags

2021-02-12 Thread Vladimir Oltean
On Fri, Feb 12, 2021 at 03:05:28AM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > There are multiple ways in which a PORT_BRIDGE_FLAGS attribute can be > expressed by the bridge through switchdev, and not all of them can be > emulated by DSA mid-layer API at the same time. Oops, odd t

Re: [PATCH 1/3] cfg80211: Add wiphy flag to trigger STA disconnect after hardware restart

2021-02-12 Thread Johannes Berg
On Tue, 2020-12-15 at 23:00 +0530, Youghandhar Chintala wrote: > > * @WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK: The device supports bigger kek and kck > keys > + * @WIPHY_FLAG_STA_DISCONNECT_ON_HW_RESTART: The device needs a trigger to > + * disconnect STA after target hardware restart. This flag shou

Re: [PATCH] perf env: Remove unneeded internal/cpumap inclusions

2021-02-12 Thread Jiri Olsa
On Thu, Feb 11, 2021 at 10:39:14AM -0800, Ian Rogers wrote: > Minor cleanup. > > Signed-off-by: Ian Rogers Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/bench/epoll-ctl.c | 1 - > tools/perf/bench/epoll-wait.c | 1 - > tools/perf/bench/futex-hash.c

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 04:20:17PM +0800, Nicolas Boichat wrote: > On Fri, Feb 12, 2021 at 3:46 PM Greg KH wrote: > > > > On Fri, Feb 12, 2021 at 12:44:00PM +0800, Nicolas Boichat wrote: > > > Filesystems such as procfs and sysfs generate their content at > > > runtime. This implies the file sizes

Re: [PATCH 1/2] quota: Add mountpath based quota support

2021-02-12 Thread Sascha Hauer
On Thu, Feb 11, 2021 at 03:38:13PM +, Christoph Hellwig wrote: > > + if (!mountpoint) > > + return -ENODEV; > > + > > + ret = user_path_at(AT_FDCWD, mountpoint, > > +LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT, &mountpath); > > user_path_at handles an empty path, alt

Re: [PATCH 2/3] mac80211: Add support to trigger sta disconnect on hardware restart

2021-02-12 Thread Johannes Berg
On Fri, 2021-02-05 at 13:51 -0800, Abhishek Kumar wrote: > Since using DELBA frame to APs to re-establish BA session has a > dependency on APs and also some APs may not honour the DELBA frame. That's completely out of spec ... Can you say which AP this was? You could also try sending a BAR that

RE: kernel BUG at mm/zswap.c:1275! (rc6 - git 61556703b610)

2021-02-12 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Oleksandr Natalenko [mailto:oleksa...@natalenko.name] > Sent: Friday, February 12, 2021 8:43 PM > To: Song Bao Hua (Barry Song) > Cc: Mikhail Gavrilov ; > sjenn...@linux.vnet.ibm.com; Linux List Kernel Mailing > ; Linux Memory Management List > > Subject: R

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 10:22:16AM +0200, Amir Goldstein wrote: > On Fri, Feb 12, 2021 at 9:49 AM Greg KH wrote: > > > > On Fri, Feb 12, 2021 at 12:44:00PM +0800, Nicolas Boichat wrote: > > > Filesystems such as procfs and sysfs generate their content at > > > runtime. This implies the file sizes

Re: [PATCH 2/3] mac80211: Add support to trigger sta disconnect on hardware restart

2021-02-12 Thread Johannes Berg
On Tue, 2020-12-15 at 22:53 +0530, Youghandhar Chintala wrote: > The right fix would be to pull the entire data path into the host > +++ b/net/mac80211/ieee80211_i.h > @@ -748,6 +748,8 @@ struct ieee80211_if_mesh { > * back to wireless media and to the local net stack. > * @IEEE80211_SDATA_D

Re: [PATCH 2/3] mac80211: Add support to trigger sta disconnect on hardware restart

2021-02-12 Thread Johannes Berg
On Fri, 2021-02-12 at 09:42 +0100, Johannes Berg wrote: > On Tue, 2020-12-15 at 22:53 +0530, Youghandhar Chintala wrote: > > The right fix would be to pull the entire data path into the host > > +++ b/net/mac80211/ieee80211_i.h > > @@ -748,6 +748,8 @@ struct ieee80211_if_mesh { > > * back to wire

Re: [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c

2021-02-12 Thread Johan Hovold
On Fri, Feb 12, 2021 at 01:48:35PM +0530, Pritthijit Nath wrote: > Fixed the spelling of 'transfered' to 'transferred'. > > Signed-off-by: Pritthijit Nath > --- > drivers/staging/greybus/hid.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/greybus/hid.c

[PATCH] crypto: sun8i-ss: fix result memory leak on error path

2021-02-12 Thread Corentin Labbe
This patch fixes a memory leak on an error path. Fixes: d9b45418a917 ("crypto: sun8i-ss - support hash algorithms") Reported-by: kernel test robot Reported-by: Dan Carpenter Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 2 +- 1 file changed, 1 insertion(

[RFC][PATCH v2 8/7] objtool,x86: More ModRM sugar

2021-02-12 Thread Peter Zijlstra
I promise, I'll stop poking at it more :-) --- Subject: objtool,x86: More ModRM sugar From: Peter Zijlstra Date: Fri Feb 12 09:13:00 CET 2021 Better helpers to decode ModRM. Signed-off-by: Peter Zijlstra (Intel) --- tools/objtool/arch/x86/decode.c | 28 +--- 1 fil

RE: [EXT] Re: [PATCH v13 net-next 00/15] net: mvpp2: Add TX Flow Control support

2021-02-12 Thread Stefan Chulski
> -- > Hello: > > This series was applied to netdev/net-next.git (refs/heads/master): > > On Thu, 11 Feb 2021 12:48:47 +0200 you wrote: > > From: Stefan Chulski > > > > Armada hardware has a pause generation mechanism in GOP (MA

Re: [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 09:44:04AM +0100, Johan Hovold wrote: > On Fri, Feb 12, 2021 at 01:48:35PM +0530, Pritthijit Nath wrote: > > Fixed the spelling of 'transfered' to 'transferred'. > > > > Signed-off-by: Pritthijit Nath > > --- > > drivers/staging/greybus/hid.c | 2 +- > > 1 file changed, 1

Re: [PATCH v13 02/15] iommu: Introduce bind/unbind_guest_msi

2021-02-12 Thread Auger Eric
Hi Keqian, On 2/1/21 12:52 PM, Keqian Zhu wrote: > Hi Eric, > > On 2020/11/18 19:21, Eric Auger wrote: >> On ARM, MSI are translated by the SMMU. An IOVA is allocated >> for each MSI doorbell. If both the host and the guest are exposed >> with SMMUs, we end up with 2 different IOVAs allocated by

[PATCH for 5.10] powerpc/32: Preserve cr1 in exception prolog stack check to fix build error

2021-02-12 Thread Christophe Leroy
This is backport of 3642eb21256a ("powerpc/32: Preserve cr1 in exception prolog stack check to fix build error") for kernel 5.10 It fixes the build failure on v5.10 reported by kernel test robot and by David Michael. This fix is not in Linux tree yet, it is in next branch in powerpc tree. (cherr

Re: [PATCH] gpiolib: cdev: convert stream-like files from

2021-02-12 Thread Linus Walleij
On Sun, Feb 7, 2021 at 10:00 AM Yang Li wrote: > Eliminate the following coccicheck warning: > ./drivers/gpio/gpiolib-cdev.c:2307:7-23: WARNING: gpio_fileops: .read() > has stream semantic; safe to change nonseekable_open -> stream_open. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Th

Re: [PATCH v17 07/10] mm: introduce memfd_secret system call to create "secret" memory areas

2021-02-12 Thread Michal Hocko
On Fri 12-02-21 00:59:29, Mike Rapoport wrote: > On Thu, Feb 11, 2021 at 01:30:42PM +0100, Michal Hocko wrote: [...] > > Have a look how hugetlb proliferates through our MM APIs. I strongly > > suspect this is strong signal that this won't be any different. > > > > > And even if yes, adding SECRET

Re: [PATCH] tpm: ibmvtpm: Avoid -EINTR error when IMA talks to TPM

2021-02-12 Thread Jarkko Sakkinen
On Tue, Feb 09, 2021 at 05:13:39PM -0500, Stefan Berger wrote: > When IMA is taking measurements during compilation for example and a > user presses ctrl-c to abort the compilation, lots of these types of > messages will appear in the kernel log: > > [ 7406.275163] tpm tpm0: tpm_transmit: tpm_recv

Re: [PATCH] drm/dsi: Add _NO_ to MIPI_DSI_* flags disabling features

2021-02-12 Thread Robert Foss
Hey Nicolas, Thanks for submitting this, making these flags more intuitive is really nice. This looks good to me, feel free to add my r-b. Reviewed-by: Robert Foss On Thu, 11 Feb 2021 at 04:34, Nicolas Boichat wrote: > > Many of the DSI flags have names opposite to their actual effects, > e.g.

Re: [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c

2021-02-12 Thread Viresh Kumar
On 12-02-21, 09:54, Greg KH wrote: > On Fri, Feb 12, 2021 at 09:44:04AM +0100, Johan Hovold wrote: > > On Fri, Feb 12, 2021 at 01:48:35PM +0530, Pritthijit Nath wrote: > > > Fixed the spelling of 'transfered' to 'transferred'. > > > > > > Signed-off-by: Pritthijit Nath > > > --- > > > drivers/st

Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Viresh Kumar
On 12-02-21, 13:48, Pritthijit Nath wrote: > This change fixes a checkpatch CHECK style issue for "Alignment should match > open parenthesis". > > Signed-off-by: Pritthijit Nath > --- > drivers/staging/greybus/hid.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/dr

[PATCH v6 0/3] perf vendor events: Support PMU events for A64FX

2021-02-12 Thread Shunsuke Nakamura
This patch series supports A64FX PMU event v1.2. The first patch add more common and microarchitecture events. This patch is based on john's patch [1]. The second patch fixes the lexical definition of event name so that perf can recognize event name that start with a number. The third patch adds

[PATCH v6 1/3] perf vendor events arm64: Add more common and uarch events

2021-02-12 Thread Shunsuke Nakamura
Add the following events.[1] Common architectural events: - L2I_TLB_REFILL - L2I_TLB - SIMD_INST_RETIRED - SVE_INST_RETIRED Common microarchitectural events: - UOP_SPEC - SVE_MATH_SPEC - FP_SPEC - FP_FMA_SPEC - FP_RECPE_SPEC - FP_CVT_SPEC - ASE_SVE_INT_SPEC - SVE_PRED_SPEC

[PATCH v6 3/3] perf vendor events arm64: Add Fujitsu A64FX pmu event

2021-02-12 Thread Shunsuke Nakamura
Add pmu events for A64FX. Documentation source: https://github.com/fujitsu/A64FX/blob/master/doc/A64FX_PMU_Events_v1.2.pdf Signed-off-by: Shunsuke Nakamura --- .../arch/arm64/fujitsu/a64fx/branch.json | 8 + .../arch/arm64/fujitsu/a64fx/bus.json | 62 ++ .../arch/arm64/fujit

[PATCH v6 2/3] perf tools: Add lexical definition of event name

2021-02-12 Thread Shunsuke Nakamura
Add the lexical definition of event name so that the numbers are recognizable. A64FX defines an event name that starts with a number. - 0inst_commit - 1inst_commit - 2inst_commit - 3inst_commit - 4inst_commit Signed-off-by: Shunsuke Nakamura --- tools/perf/util/parse-events.l | 2 +- 1 fil

Re: [PATCH RESEND] regulator: bd718x7, bd71828, Fix dvs voltage levels

2021-02-12 Thread Lee Jones
On Fri, 12 Feb 2021, Matti Vaittinen wrote: > The ROHM BD718x7 and BD71828 drivers support setting HW state > specific voltages from device-tree. This is used also by various > in-tree DTS files. > > These drivers do incorrectly try to compose bit-map using enum > values. By a chance this works f

Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 02:39:26PM +0530, Viresh Kumar wrote: > On 12-02-21, 13:48, Pritthijit Nath wrote: > > This change fixes a checkpatch CHECK style issue for "Alignment should match > > open parenthesis". > > > > Signed-off-by: Pritthijit Nath > > --- > > drivers/staging/greybus/hid.c | 4

Re: [PATCH v17 07/10] mm: introduce memfd_secret system call to create "secret" memory areas

2021-02-12 Thread David Hildenbrand
On 12.02.21 00:09, Mike Rapoport wrote: On Thu, Feb 11, 2021 at 01:07:10PM +0100, David Hildenbrand wrote: On 11.02.21 12:27, Mike Rapoport wrote: On Thu, Feb 11, 2021 at 10:01:32AM +0100, David Hildenbrand wrote: So let's talk about the main user-visible differences to other memfd files (esp

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-12 Thread Lee Jones
On Thu, 11 Feb 2021, Stephen Boyd wrote: > Quoting Lee Jones (2021-02-11 13:10:54) > > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > > > Quoting Lee Jones (2021-01-26 04:45:19) > > > > This set is part of a larger effort attempting to clean-up W=1 > > > > kernel builds, which are currently overw

Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Viresh Kumar
On 12-02-21, 10:17, Greg KH wrote: > On Fri, Feb 12, 2021 at 02:39:26PM +0530, Viresh Kumar wrote: > > On 12-02-21, 13:48, Pritthijit Nath wrote: > > > This change fixes a checkpatch CHECK style issue for "Alignment should > > > match > > > open parenthesis". > > > > > > Signed-off-by: Pritthijit

Re: [PATCH 3/3] i2c: i2c-qcom-geni: Add support for 'assigned-performance-states'

2021-02-12 Thread rojay
On 2021-01-20 19:01, Ulf Hansson wrote: On Tue, 19 Jan 2021 at 12:05, Viresh Kumar wrote: On 19-01-21, 12:02, Ulf Hansson wrote: > As a matter of fact this was quite recently discussed [1], which also > pointed out some issues when using the "required-opps" in combination, > but perhaps that g

Re: [PATCH v5 1/2] dt-bindings: counter: add event-counter binding

2021-02-12 Thread Linus Walleij
On Wed, Feb 10, 2021 at 7:41 PM Rob Herring wrote: > On Mon, Feb 08, 2021 at 02:53:46PM +0100, Oleksij Rempel wrote: > > + interrupts: > > +maxItems: 1 > > + > > + gpios: > > +description: Optional diagnostic interface to measure signal level > > This description seems wrong in the case

Re: [PATCH net-next] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 2:40 AM Min Li wrote: > > There should probably be a description of the purpose of the hardware both > > here and in the patch description. > > > > In particular, please explain how it relates to the existing clockmatrix > > driver. > > I just uploaded v2 patch to provide

Re: [PATCH v3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-12 Thread Amit Pundir
Hi, On Thu, 11 Feb 2021 at 00:25, AngeloGioacchino Del Regno wrote: > > Il 10/02/21 09:18, Amit Pundir ha scritto: > > From: Sumit Semwal > > > > Enabling the Display panel for beryllium requires DSI > > labibb regulators and panel dts nodes to be added. > > It is also required to keep some of t

Re: [PATCH v5 2/2] counter: add IRQ or GPIO based event counter

2021-02-12 Thread Linus Walleij
On Mon, Feb 8, 2021 at 2:53 PM Oleksij Rempel wrote: > Add simple IRQ or GPIO base event counter. This device is used to measure > rotation speed of some agricultural devices, so no high frequency on the > counter pin is expected. > > The maximal measurement frequency depends on the CPU and syste

[PATCH] nvme/hwmon: Return error code when registration fails

2021-02-12 Thread Daniel Wagner
The hwmon pointer wont be NULL if the registration fails. Though the exit code path will assign it to ctrl->hwmon_device. Later nvme_hwmon_exit() will try to free the invalid pointer. Avoid this by returning the error code from hwmon_device_register_with_info(). Fixes: ec420cdcfab4 ("nvme/hwmon: r

Re: [PATCH v5 1/2] dt-bindings: counter: add event-counter binding

2021-02-12 Thread Linus Walleij
On Mon, Feb 8, 2021 at 2:53 PM Oleksij Rempel wrote: > Add binding for the event counter node > > Signed-off-by: Oleksij Rempel Works for me: Reviewed-by: Linus Walleij > +required: > + - compatible Ideally it should be "interrupts OR gpios required" (at least one of them must be present) b

Re: [PATCH v2 4/4] arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 4:03 AM Nobuhiro Iwamatsu wrote: > @@ -384,6 +398,16 @@ spi6: spi@28146000 { > #size-cells = <0>; > status = "disabled"; > }; > + > + piether: ethernet@2800 { > + compati

Re: [RFC PATCH 3/7] regulator: IRQ based event/error notification helpers

2021-02-12 Thread Vaittinen, Matti
On Thu, 2021-02-11 at 14:35 +0200, Matti Vaittinen wrote: > Provide helper function for IC's implementing regulator notifications > when an IRQ fires. The helper also works for IRQs which can not be > acked. > Helper can be set to disable the IRQ at handler and then re-enabling > it > on delayed wo

Re: [PATCH 08/21] clk: clkdev: Ignore suggestion to use gnu_printf() as it's not appropriate here

2021-02-12 Thread Lee Jones
On Thu, 11 Feb 2021, Stephen Boyd wrote: > Quoting Lee Jones (2021-01-26 04:45:27) > > Fixes the following W=1 kernel build warning(s): > > > > drivers/clk/clkdev.c: In function ‘vclkdev_alloc’: > > drivers/clk/clkdev.c:173:3: warning: function ‘vclkdev_alloc’ might be a > > candidate for ‘gnu

Re: linux-next: Tree for Feb 11

2021-02-12 Thread Vlad Buslov
On Thu 11 Feb 2021 at 22:30, Heiko Carstens wrote: > On Thu, Feb 11, 2021 at 10:26:04PM +1100, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20210210: >> >> The powerpc tree still had its build failure in the allyesconfig for >> which I applied a supplied patch. >> >> The v4l-dvb tree

Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 02:51:30PM +0530, Viresh Kumar wrote: > On 12-02-21, 10:17, Greg KH wrote: > > On Fri, Feb 12, 2021 at 02:39:26PM +0530, Viresh Kumar wrote: > > > On 12-02-21, 13:48, Pritthijit Nath wrote: > > > > This change fixes a checkpatch CHECK style issue for "Alignment should > > >

Re: [PATCH v1] gpiolib: Don't probe gpio_device if it's not the primary device

2021-02-12 Thread Linus Walleij
On Fri, Feb 5, 2021 at 3:07 AM Saravana Kannan wrote: > Dmitry reported[1] boot error messages caused by > commit 4731210c09f5 ("gpiolib: Bind gpio_device to a driver to enable > fw_devlink=on by default"). > > gpio-1022 (cpu-pwr-req-hog): hogged as input > max77620-pinctrl max77620-pinctrl: pin

Re: [PATCH v3 3/7] mfd: max8997: Add of_compatible to extcon and charger mfd_cell

2021-02-12 Thread Lee Jones
On Thu, 11 Feb 2021, Timon Baetz wrote: > On Tue, 22 Dec 2020 09:55:22 +, Lee Jones wrote: > > On Tue, 22 Dec 2020, Timon Baetz wrote: > > > > > Add of_compatible ("maxim,max8997-muic") to the mfd_cell to have a > > > of_node set in the extcon driver. > > > > > > Add of_compatible ("maxim,max

Re: [PATCH 0/3] mm/page_alloc: Fix pageblock_order with HUGETLB_PAGE_SIZE_VARIABLE

2021-02-12 Thread David Hildenbrand
On 12.02.21 08:02, Anshuman Khandual wrote: On 2/11/21 2:07 PM, David Hildenbrand wrote: On 11.02.21 07:22, Anshuman Khandual wrote: The following warning gets triggered while trying to boot a 64K page size without THP config kernel on arm64 platform. WARNING: CPU: 5 PID: 124 at mm/vmstat.c:1

Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols

2021-02-12 Thread Xi Ruoyao
Hi Greg and Nick, On 2021-02-11 10:46 -0800, Nick Desaulniers wrote: > On Thu, Feb 11, 2021 at 5:55 AM Greg Kroah-Hartman > wrote: > > > > On Thu, Feb 11, 2021 at 09:32:03PM +0800, Xi Ruoyao wrote: > > > Hi all, > > > > > > The latest GNU assembler (binutils-2.36.1) is removing unused section >

Re: [PATCH] drm/msm/dp: Add a missing semi-colon

2021-02-12 Thread Joe Perches
On Mon, 2021-02-08 at 10:57 -0800, Stephen Boyd wrote: > Quoting Joe Perches (2021-02-06 21:06:54) > > Wow, that's really unfortunate that dp_panel_update_tu_timings > > is also void. > > > > Perhaps this as YA checkpatch warning: > > > > --- > > Acked-by: Stephen Boyd Are you acking the propo

Re: [Linuxarm] Re: [PATCH for next v1 1/2] gpio: omap: Replace raw_spin_lock_irqsave with raw_spin_lock in omap_gpio_irq_handler()

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 6:05 AM Song Bao Hua (Barry Song) wrote: > > -Original Message- > > > > Note. there is also generic_handle_irq() call inside. > > So generic_handle_irq() is not safe to run in thread thus requires > an interrupt-disabled environment to run? If so, I'd rather this >

Re: [PATCH RESEND] regulator: bd718x7, bd71828, Fix dvs voltage levels

2021-02-12 Thread Matti Vaittinen
Hello Lee, On Fri, 2021-02-12 at 09:16 +, Lee Jones wrote: > On Fri, 12 Feb 2021, Matti Vaittinen wrote: > > > The ROHM BD718x7 and BD71828 drivers support setting HW state > > specific voltages from device-tree. This is used also by various > > in-tree DTS files. > > > > These drivers do in

Re: [PATCH] dt-bindings: pinctrl: Group tuples in pin control properties

2021-02-12 Thread Linus Walleij
On Thu, Feb 4, 2021 at 7:02 PM Geert Uytterhoeven wrote: > To improve human readability and enable automatic validation, the tuples > in "pinctrl-*" properties should be grouped using angle brackets. > > Signed-off-by: Geert Uytterhoeven Patch applied. Yours, Linus Walleij

Re: [PATCH v4 2/2] staging: rtl8723bs: remove obsolete commented out code

2021-02-12 Thread Dan Carpenter
On Thu, Feb 11, 2021 at 06:36:04PM +0530, karthik alapati wrote: > There is a bunch of messy, commented out code. Just delete it. > > Suggested-by: Dan Carpenter > Signed-off-by: karthik alapati Perfect, thanks. Greg already merged this as well so good job. regards, dan carepnter

Re: [PATCH v2] printk: avoid prb_first_valid_seq() where possible

2021-02-12 Thread Petr Mladek
On Thu 2021-02-11 18:37:52, John Ogness wrote: > If message sizes average larger than expected (more than 32 > characters), the data_ring will wrap before the desc_ring. Once the > data_ring wraps, it will start invalidating descriptors. These > invalid descriptors hang around until they are eventu

Re: [PATCH v2] mm/hugetlb: use helper huge_page_size() to get hugepage size

2021-02-12 Thread David Hildenbrand
On 09.02.21 03:18, Miaohe Lin wrote: We can use helper huge_page_size() to get the hugepage size directly to simplify the code slightly. Reviewed-by: Mike Kravetz Signed-off-by: Miaohe Lin --- v1 -> v2 change huge_page_size(h) >> 10 to huge_page_size(h) / SZ_1K collect Reviewed

Re: [PATCH] hugetlbfs: Remove unneeded return value of hugetlb_vmtruncate()

2021-02-12 Thread David Hildenbrand
On 08.02.21 09:46, Miaohe Lin wrote: The function hugetlb_vmtruncate() is guaranteed to always success since commit 7aa91e104028 ("hugetlb: allow extending ftruncate on hugetlbfs"). So we should remove the unneeded return value which is always 0. Signed-off-by: Miaohe Lin --- fs/hugetlbfs/ino

Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Johan Hovold
On Fri, Feb 12, 2021 at 02:51:30PM +0530, Viresh Kumar wrote: > On 12-02-21, 10:17, Greg KH wrote: > > On Fri, Feb 12, 2021 at 02:39:26PM +0530, Viresh Kumar wrote: > > > On 12-02-21, 13:48, Pritthijit Nath wrote: > > > > This change fixes a checkpatch CHECK style issue for "Alignment should > > >

[PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c

2021-02-12 Thread Pritthijit Nath
Fixed the spelling of 'transfered' to 'transferred'. Signed-off-by: Pritthijit Nath --- Fixed the typo in the patch which was meant to fix that very typo. Really sorry for last time. Hope this does not have any other typo. drivers/staging/greybus/hid.c | 2 +- 1 file changed, 1 insertion(+),

linux-next: manual merge of the akpm-current tree with the fscache tree

2021-02-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/pagemap.h between commit: 13aecd8259dc ("mm: Implement readahead_control pageset expansion") from the fscache tree and commit: 3ad6bba07ad0 ("mm/filemap: add mapping_seek_hole_data") from the akp

Re: [PATCH v6 3/3] perf vendor events arm64: Add Fujitsu A64FX pmu event

2021-02-12 Thread John Garry
On 12/02/2021 09:03, Shunsuke Nakamura wrote: Add pmu events for A64FX. Documentation source: https://github.com/fujitsu/A64FX/blob/master/doc/A64FX_PMU_Events_v1.2.pdf Signed-off-by: Shunsuke Nakamura Reviewed-by: John Garry

Re: [PATCH v6 2/3] perf tools: Add lexical definition of event name

2021-02-12 Thread John Garry
On 12/02/2021 09:03, Shunsuke Nakamura wrote: Add the lexical definition of event name so that the numbers are recognizable. A64FX defines an event name that starts with a number. - 0inst_commit - 1inst_commit - 2inst_commit - 3inst_commit - 4inst_commit Signed-off-by: Shunsuke Nakamu

Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Viresh Kumar
On 12-02-21, 10:52, Johan Hovold wrote: > But what will the checkpatch crew then work on? Lol.. > Better staging than the rest of the kernel. [ /me wondering on who stops them from sending patches for rest of the kernel ? ] -- viresh

Re: [PATCH v5 1/1] mm: refactor initialization of struct page for holes in memory layout

2021-02-12 Thread David Hildenbrand
On 08.02.21 12:08, Mike Rapoport wrote: From: Mike Rapoport There could be struct pages that are not backed by actual physical memory. This can happen when the actual memory bank is not a multiple of SECTION_SIZE or when an architecture does not register memory holes reserved by the firmware as

Re: [PATCH v5 1/1] mm: refactor initialization of struct page for holes in memory layout

2021-02-12 Thread David Hildenbrand
On 12.02.21 10:55, David Hildenbrand wrote: On 08.02.21 12:08, Mike Rapoport wrote: From: Mike Rapoport There could be struct pages that are not backed by actual physical memory. This can happen when the actual memory bank is not a multiple of SECTION_SIZE or when an architecture does not regi

Re: [RFC PATCH 11/12] platform/x86: skeleton for oftree based board device initialization

2021-02-12 Thread Linus Walleij
On Mon, Feb 8, 2021 at 11:22 PM Enrico Weigelt, metux IT consult wrote: > Lots of boards have extra devices that can't be fully probed via bus'es > (like PCI) or generic firmware mechanisms like ACPI. Often those capabilities > are just partial or even highly depend on firmware version. I think

Re: [PATCH RESEND] regulator: bd718x7, bd71828, Fix dvs voltage levels

2021-02-12 Thread Lee Jones
On Fri, 12 Feb 2021, Matti Vaittinen wrote: > The ROHM BD718x7 and BD71828 drivers support setting HW state > specific voltages from device-tree. This is used also by various > in-tree DTS files. > > These drivers do incorrectly try to compose bit-map using enum > values. By a chance this works f

Re: [PATCH] ACPI: property: Fix fwnode string properties matching

2021-02-12 Thread Sakari Ailus
Hi Rafael, On Thu, Feb 11, 2021 at 07:30:01PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Property matching does not work for ACPI fwnodes if the value of the > given property is not represented as a package in the _DSD package > containing it. For example, the "compatible" pr

Re: [PATCH v6 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-12 Thread Sakari Ailus
Hi Petr, On Thu, Feb 11, 2021 at 05:31:46PM +0100, Petr Mladek wrote: > On Mon 2021-02-08 22:09:02, Sakari Ailus wrote: > > Now that we can print FourCC codes directly using printk, make use of the > > feature in V4L2 core. > > > > Signed-off-by: Sakari Ailus > > --- > > drivers/media/v4l2-core

Re: [PATCH 3/3] [v3] lib/vsprintf: debug_never_hash_pointers prints all addresses as unhashed

2021-02-12 Thread Petr Mladek
On Thu 2021-02-11 17:20:26, Matthew Wilcox wrote: > On Thu, Feb 11, 2021 at 11:08:12AM -0600, Timur Tabi wrote: > > > > > > On 2/11/21 6:31 AM, Pavel Machek wrote: > > > Can we make this something shorter? Clearly you don't want people > > > placing this in their grub config, so they'll be most l

Re: [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 03:20:08PM +0530, Pritthijit Nath wrote: > Fixed the spelling of 'transfered' to 'transferred'. > > Signed-off-by: Pritthijit Nath > --- > Fixed the typo in the patch which was meant to fix that very typo. > Really sorry for last time. > Hope this does not have any othe

Re: [PATCH] video: use getter/setter functions

2021-02-12 Thread Lee Jones
On Tue, 09 Feb 2021, Julia Lawall wrote: > Use getter and setter functions, for platform_device structures and a > spi_device structure. > > Signed-off-by: Julia Lawall > > --- > drivers/video/backlight/qcom-wled.c |2 > +- > drivers/video/fbdev/amifb.c

[PATCH v2 2/3] misc/pvpanic: add PCI driver

2021-02-12 Thread Mihai Carabas
Add support for pvpanic PCI device added in qemu [1]. At probe time, obtain the address where to read/write pvpanic events and pass it to the generic handling code. Will follow the same logic as pvpanic MMIO device driver. At remove time, unmap base address and disable PCI device. [1] https://gith

[PATCH v2 3/3] misc/pvpanic: add license

2021-02-12 Thread Mihai Carabas
Add license to the newly created files in adding support for pvpanic PCI device driver. Signed-off-by: Mihai Carabas --- drivers/misc/pvpanic/Kconfig | 7 +++ drivers/misc/pvpanic/Makefile | 7 +++ drivers/misc/pvpanic/pci.c | 7 +++ drivers/misc/pvpanic/pvpanic.h | 7 +++

[PATCH v2] add support for pci in the pvpanic driver

2021-02-12 Thread Mihai Carabas
This patchset adds support for PCI in the pvpanic driver. The device already got in qemu [1]. v2: - mmio -> MMIO, pci -> PCI suggested by Randy Dunlap. - group pvpanic-common.c and mmio.c in the same module. The intention was to have only one module and the common code splitted up to be re-used

[PATCH v2 1/3] misc/pvpanic: split-up generic and platform dependent code

2021-02-12 Thread Mihai Carabas
Split-up generic and platform dependent code in order to be able to re-use generic event handling code in pvpanic PCI device driver in the next patch. The code from pvpanic.c was split in two new files: - pvpanic-common.c: generic code that handles pvpanic events - mmio.c: platform/bus dependent c

Re: arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 6:48 AM kernel test robot wrote: > > FYI, the error/warning still remains. > | ^~~~ >arch/m68k/68000/dragen2.c: In function 'init_dragen2': > >> arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared (first > >> use in this funct

Re: [PATCH v2] mm: page-writeback: simplify memcg handling in test_clear_page_writeback()

2021-02-12 Thread Michal Hocko
On Wed 10-02-21 12:44:00, Johannes Weiner wrote: [...] > >From 5bcc0f468460aa2670c40318bb657e8b08ef96d5 Mon Sep 17 00:00:00 2001 > From: Johannes Weiner > Date: Tue, 9 Feb 2021 16:22:42 -0500 > Subject: [PATCH] mm: page-writeback: simplify memcg handling in > test_clear_page_writeback() > > Page

Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c

2021-02-12 Thread Johan Hovold
On Fri, Feb 12, 2021 at 03:25:29PM +0530, Viresh Kumar wrote: > On 12-02-21, 10:52, Johan Hovold wrote: > > But what will the checkpatch crew then work on? > > Lol.. > > > Better staging than the rest of the kernel. > > [ /me wondering on who stops them from sending patches for rest of the > ker

[PATCH] PCI : check if type 0 devices have all BARs of size zero

2021-02-12 Thread Wasim Khan
From: Wasim Khan Log a message if all BARs of type 0 devices are of size zero. This can help detecting type 0 devices not reporting BAR size correctly. Signed-off-by: Wasim Khan --- drivers/pci/probe.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/pci/probe.c b/drivers/pci/p

[PATCH v2 0/3] iio: core,buffer-dma: add mmap support

2021-02-12 Thread Alexandru Ardelean
Changelog v1 -> v2: * https://lore.kernel.org/linux-iio/20210211123353.78963-1-alexandru.ardel...@analog.com/T/#t * removed IIO_BUFFER_BLOCK_FLAG_CYCLIC flag; will be added in a later patch * removed extra line in tools/iio/iio_generic_buffer.c * patch 'iio: core: Add mmap interface infrastructu

[PATCH v2 1/3] iio: core: Add mmap interface infrastructure

2021-02-12 Thread Alexandru Ardelean
From: Lars-Peter Clausen Add the necessary infrastructure to the IIO core to support an mmap based interface to access the capture data. The advantage of the mmap based interface compared to the read() based interface is that it avoids an extra copy of the data between kernel and userspace. This

  1   2   3   4   5   6   7   8   9   10   >