Re: [PATCH v3 1/3] Correct asm VMXOFF side effects

2020-07-04 Thread Randy Dunlap
On 7/4/20 1:38 PM, David P. Reed wrote: > Tell gcc that VMXOFF instruction clobbers condition codes > and memory when executed. > Also, correct original comments to remove kernel-doc syntax > per Randy Dunlap's request. Looks good. Thanks. For the comment changes: Acked-by: Randy Dunlap >

Re: [PATCH v2 0/8] selftests/harness: Switch to TAP output

2020-07-04 Thread Kees Cook
On Mon, Jun 22, 2020 at 11:16:43AM -0700, Kees Cook wrote: > Hi, > > v2: > - switch harness from XFAIL to SKIP > - pass skip reason from test into TAP output > - add acks/reviews > v1: > https://lore.kernel.org/lkml/20200611224028.3275174-1-keesc...@chromium.org/ > > > I finally got around to

Re: [PATCH 2/2] perf tools: Fix record failure when mixed with ARM SPE event

2020-07-04 Thread Leo Yan
On Fri, Jul 03, 2020 at 12:06:15PM +0800, liwei (GF) wrote: [...] Thanks for Mathieu's looping and agreed with his comments. > > Last but not least do you know where the memory allocated for array > > arm_spe_pmus > > is released? If you can't find it either then we have a memory leak and it

Re: [PATCH 1/2] perf tools: ARM SPE code cleanup

2020-07-04 Thread Leo Yan
Hi Wei, On Tue, Jun 23, 2020 at 08:31:40PM +0800, Wei Li wrote: > Remove the useless check code to make it clear. > > Signed-off-by: Wei Li > --- > tools/perf/arch/arm/util/auxtrace.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git

Re: ptrace: seccomp: Return value when the call was already invalid

2020-07-04 Thread Kees Cook
On Sat, Jul 04, 2020 at 01:33:56PM +0100, Will Deacon wrote: > On Fri, Jul 03, 2020 at 08:52:05AM -0700, Kees Cook wrote: > > On Fri, Jul 03, 2020 at 04:44:27PM +0100, Will Deacon wrote: > > > On Fri, Jul 03, 2020 at 08:17:19AM -0700, Kees Cook wrote: > > > > On Fri, Jul 03, 2020 at 09:39:14AM

Re: [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Willy Tarreau
On Sat, Jul 04, 2020 at 01:02:51PM -0700, Dan Williams wrote: > +Non-inclusive terminology has that same distracting effect which is why > +it is a style issue for Linux, it injures developer efficiency. I'm personally thinking that for a non-native speaker it's already difficult to find the best

高卒採用オンライン講座 〜高校訪問の重要性〜

2020-07-04 Thread ジョブドラフトセミナー運営室
いつもお世話になります。 この度は、高卒採用において効果の高い “高校訪問”についてのセミナーをご案内申し上げます。 〜オンライン開催のためご自宅や職場で視聴可能です〜 21年高卒採用に向けて、求人票の作成が終わり これからの時期に大切なのが“高校訪問”です。 進路指導の先生の手元には、膨大な求人票が届きます。 自社の求人票は、その中から生徒に紹介してもらえているでしょうか。 せっかく作った求人票も、見てもらえなければ意味もありません。 そうならないためにも“高校訪問”が大きな効果を発揮します。 しかしいざ訪問となると、タイミングや準備、

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-04 Thread Feng Tang
On Thu, Jul 02, 2020 at 03:12:30PM +0800, Feng Tang wrote: > > <<>> > > tag=overcommit_memory01 stime=1593425044 > > cmdline="overcommit_memory" > > contacts="" > > analysis=exit > > <<>> > > tst_test.c:1247: INFO: Timeout per run is 0h 05m 00s > > overcommit_memory.c:116: INFO: MemTotal is

drivers/net/ethernet/intel/ice/ice_flex_pipe.c:2826:44: sparse: sparse: non size-preserving pointer to integer cast

2020-07-04 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 148beb612031255156d68b342170140524afb36e ice: Initialize Flow Director resources date: 6 weeks ago config: i386-randconfig-s001-20200705 (attached as

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Jan Ziak
On Sun, Jul 5, 2020 at 5:27 AM Matthew Wilcox wrote: > > On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > > On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox wrote: > > > > > > You should probably take a look at io_uring. That has the level of > > > complexity of this proposal and

[PATCH v2 0/2] shtc1: add support for device tree bindings

2020-07-04 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 2 remove the

[PATCH v2 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-04 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl --- drivers/hwmon/shtc1.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c index a0078ccede03..61e9275eb666

[PATCH v2 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-04 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 53

Re: [PATCH 1/1] iommu/arm-smmu: Implement qcom,skip-init

2020-07-04 Thread Bjorn Andersson
On Sat 04 Jul 06:09 PDT 2020, Will Deacon wrote: > [Adding Bjorn, Jordan and John because I really don't want a bunch of > different ways to tell the driver that the firmware is screwing things up] > Thanks Will. > On Sat, Jul 04, 2020 at 02:28:09PM +0200, Konrad Dybcio wrote: > > This adds

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Matthew Wilcox
On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox wrote: > > > > You should probably take a look at io_uring. That has the level of > > complexity of this proposal and supports open/read/close along with many > > other opcodes. > > Then

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Stephen Rothwell
Hi Dave, On Sun, 5 Jul 2020 12:56:23 +1000 Dave Airlie wrote: > > Sorry I misdirected what you said a bit, and I did misinterpret as > Australia also has it's own indigenous slavery issues, (and non-indigenous :-() > I was trying to stop the "white slavery" is a thing crew from turning > up on

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread James Bottomley
On Sun, 2020-07-05 at 12:56 +1000, Dave Airlie wrote: > On Sun, 5 Jul 2020 at 12:12, Stephen Rothwell > wrote: [...] > > > As for the non-black slavery, others have never pointed this out > > > > (I did not say "non-black") > > > > Sorry I misdirected what you said a bit, and I did

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-04 Thread Qian Cai
On Thu, Jul 02, 2020 at 03:12:30PM +0800, Feng Tang wrote: > Hi, > > On Thu, Jul 02, 2020 at 02:32:01PM +0800, kernel test robot wrote: > > Greeting, > > > > FYI, we noticed the following commit (built with gcc-9): > > > > commit: 4e2c82a40911c19419349918e675aa202b113b4d ("[PATCH v5 3/3] mm: >

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Jan Ziak
On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox wrote: > > You should probably take a look at io_uring. That has the level of > complexity of this proposal and supports open/read/close along with many > other opcodes. Then glibc can implement readfile using io_uring and there is no need for a new

[PATCH] ARM: dts: vf610-zii-ssmb-dtu: Pass "no-sdio"/"no-sd" properties

2020-07-04 Thread Chris Healy
esdhc0 is connected to an eMMC, so it is safe to pass the "no-sdio"/"no-sd" properties. esdhc1 is wired to a standard SD socket, so pass the "no-sdio" property. Signed-off-by: Chris Healy --- arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git

drivers/soc/qcom/smd-rpm.c:177:47: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-07-04 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 2 weeks ago config: ia64-randconfig-s031-20200705 (attached

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Matthew Wilcox
On Sun, Jul 05, 2020 at 04:46:04AM +0200, Jan Ziak wrote: > On Sun, Jul 5, 2020 at 4:16 AM Matthew Wilcox wrote: > > > > On Sun, Jul 05, 2020 at 04:06:22AM +0200, Jan Ziak wrote: > > > Hello > > > > > > At first, I thought that the proposed system call is capable of > > > reading *multiple* small

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Dave Airlie
On Sun, 5 Jul 2020 at 12:12, Stephen Rothwell wrote: > > Hi Dave, > > On Sun, 5 Jul 2020 09:34:57 +1000 Dave Airlie wrote: > > > > On Sun, 5 Jul 2020 at 06:45, Stephen Rothwell wrote: > > > > > > On Sat, 04 Jul 2020 13:02:51 -0700 Dan Williams > > > wrote: > > > > > > > > +The Linux kernel is

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Dave Airlie
On Sun, 5 Jul 2020 at 10:10, Matthew Wilcox wrote: > > Erm, red-black trees don't have a derivation from gambling terminology > either. The wikipedia article says: > > In a 1978 paper, "A Dichromatic Framework for Balanced Trees",[6] Leonidas J. > Guibas and Robert Sedgewick derived the

Re: [PATCH] readfile.2: new page describing readfile(2)

2020-07-04 Thread Heinrich Schuchardt
On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote: > readfile(2) is a new syscall to remove the need to do the > open/read/close dance for small virtual files in places like procfs or > sysfs. > > Signed-off-by: Greg Kroah-Hartman > --- > > This patch is for the man-pages project, not the kernel source

[PATCH] HID: logitech: Use HIDPP_RECEIVER_INDEX instead of 0xff

2020-07-04 Thread Mazin Rezk
Some parts of hid-logitech-dj explicitly referred to 0xff for the receiver index. This patch changes those references to the HIDPP_RECEIVER_INDEX definition. Signed-off-by: Mazin Rezk --- drivers/hid/hid-logitech-dj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Jan Ziak
On Sun, Jul 5, 2020 at 4:16 AM Matthew Wilcox wrote: > > On Sun, Jul 05, 2020 at 04:06:22AM +0200, Jan Ziak wrote: > > Hello > > > > At first, I thought that the proposed system call is capable of > > reading *multiple* small files using a single system call - which > > would help increase

Re: [Tech-board-discuss] [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Randy Dunlap
On 7/4/20 6:10 PM, Kees Cook wrote: > On Sat, Jul 04, 2020 at 08:10:33PM -0400, Matthew Wilcox wrote: >> Left-right tree makes no sense. It doesn't distinguish the rbtree from its >> predecessor the avl tree. I don't think it's helpful to rename a standard >> piece of computing terminology unless

Re: [PATCH] kbuild: Allow Clang global merging if !MODULES

2020-07-04 Thread Nathan Chancellor
Hi Danny, On Thu, Jul 02, 2020 at 04:39:29PM -0700, Danny Lin wrote: > The old reasoning for disabling Clang's global merging optimization is > that it breaks modpost by coalescing many symbols into _MergedGlobals. > However, modpost is only used in builds with dynamic modules; > vmlinux.symvers

Re: [PATCH 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-04 Thread Guenter Roeck
On 7/4/20 5:30 PM, Chris Ruehl wrote: > Hi Guenter, > > On 3/7/2020 1:49 pm, Guenter Roeck wrote: >> On 7/2/20 8:48 PM, Chris Ruehl wrote: >>> Add documentation for the newly added DTS support in the shtc1 driver. >>> >>> Signed-off-by: Chris Ruehl >>> --- >>>  

drivers/mtd/nand/raw/xway_nand.c:227:30: error: 'mtd' undeclared

2020-07-04 Thread kernel test robot
Hi Miquel, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 9fdd78f7bcda3e6a9f53c355529b3bf037c0e24f mtd: rawnand: xway: Stop using nand_release() date: 5 weeks ago

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Matthew Wilcox
On Sun, Jul 05, 2020 at 04:06:22AM +0200, Jan Ziak wrote: > Hello > > At first, I thought that the proposed system call is capable of > reading *multiple* small files using a single system call - which > would help increase HDD/SSD queue utilization and increase IOPS (I/O > operations per second)

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Stephen Rothwell
Hi Dave, On Sun, 5 Jul 2020 09:34:57 +1000 Dave Airlie wrote: > > On Sun, 5 Jul 2020 at 06:45, Stephen Rothwell wrote: > > > > On Sat, 04 Jul 2020 13:02:51 -0700 Dan Williams > > wrote: > > > > > > +The Linux kernel is a global software project, and in 2020 there was a > > > +global

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-04 Thread Jan Ziak
Hello At first, I thought that the proposed system call is capable of reading *multiple* small files using a single system call - which would help increase HDD/SSD queue utilization and increase IOPS (I/O operations per second) - but that isn't the case and the proposed system call can read just

Re: [PATCH 4.19 114/131] ocfs2: avoid inode removal while nfsd is accessing it

2020-07-04 Thread Junxiao Bi
On 7/2/20 3:24 PM, Linus Torvalds wrote: On Thu, Jul 2, 2020 at 2:17 PM Pavel Machek wrote: commit 4cd9973f9ff69e37dd0ba2bd6e6423f8179c329a upstream. Patch series "ocfs2: fix nfsd over ocfs2 issues", v2. This causes locking imbalance: This sems to be true upstream too. When

Re: Are there some potentially serious problems that I should be aware of if I totally disable the CONFIG_ACPI option on the X86_64 platform?

2020-07-04 Thread 孙世龙 sunshilong
I see. Thank you . Pavel Machek 于2020年7月5日周日 上午4:09写道: > > On Sat 2020-07-04 21:34:36, 孙世龙 sunshilong wrote: > > Thank you for taking the time to respond to me. > > > > >These machines are still mostly IBM-PC compatible, so it is likely to > > >somehow work. You'll likely get worse power and

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-04 Thread Heinrich Schuchardt
On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote: > Test the functionality of readfile(2) in various ways. Hello Greg, I expect readfile() to generate fanotify events FAN_OPEN_PERM, FAN_OPEN, FAN_ACCESS_PERM, FAN_ACCESS, FAN_CLOSE_NOWRITE in this sequence. Looking at patch 1/3 you took care of

[PATCH] ARM: dts: vfxxx: Add node for CAAM

2020-07-04 Thread Chris Healy
Add node for CAAM device in NXP Vybrid SoC. Signed-off-by: Andrey Smirnov Signed-off-by: Chris Healy --- arch/arm/boot/dts/vfxxx.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index

RE: [PATCH] arm64: dts: exynos: Add minimal bootargs

2020-07-04 Thread Alim Akhtar
Hi Krzysztof, > > > @@ -24,6 +24,7 @@ > > > > > > chosen { > > > stdout-path = _2; > > > + bootargs = "earlycon=exynos4210,0x14c3 > > > console=ttySAC0,115200n8"; > > Hi, > > The console is already chosen by stdout-path and earlycon would use it as > well, > so no need

Re: [Ksummit-discuss] [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Kees Cook
On Sun, Jul 05, 2020 at 09:39:29AM +1000, Dave Airlie wrote: > I don't totally agree on that, because like the CoC discussion, people > need concrete examples. People need reasons, saying simply "be > inclusive" doesn't work. > > You say "be inclusive" people don't think about it, they just go

drivers/bluetooth/hci_qca.c:1692:35: warning: unused variable 'qca_soc_data_wcn3990'

2020-07-04 Thread kernel test robot
Hi Rocky, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: e5d6468fe9d8dced9af0c548a359a7dbeb31c931 Bluetooth: hci_qca: Add support for Qualcomm Bluetooth SoC QCA6390

[PATCH] ARM64: dts: update MDIO speed and preamble for zii-ultra device

2020-07-04 Thread Chris Healy
Update MDIO configuration with zii-ultra device to fully utilize MDIO endpoint capabilities. Device supports 12.5MHz clock and doesn't require MDIO preamble. Signed-off-by: Chris Healy --- arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [Tech-board-discuss] [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Kees Cook
On Sat, Jul 04, 2020 at 08:10:33PM -0400, Matthew Wilcox wrote: > Left-right tree makes no sense. It doesn't distinguish the rbtree from its > predecessor the avl tree. I don't think it's helpful to rename a standard > piece of computing terminology unless it's actually hurting us to have it. >

Re: [PATCH v2 0/2] qlogic: use generic power management

2020-07-04 Thread David Miller
From: Vaibhav Gupta Date: Thu, 2 Jul 2020 22:31:41 +0530 > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management > callbacks > from qlogic ethernet drivers. > > The callbacks performing suspend() and resume() operations

[PATCH] ARM: dts: update MDIO speed and preamble for zii devices

2020-07-04 Thread Chris Healy
Update MDIO configuration with zii devices to fully utilize MDIO endpoint capabilities. All devices support 12.5MHz clock and don't require MDIO preamble. Signed-off-by: Chris Healy --- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 2 ++ arch/arm/boot/dts/vf610-zii-cfu1.dts | 2 ++

Re: [PATCH net-next v2 1/2] net: dsa: microchip: split adjust_link() in phylink_mac_link_{up|down}()

2020-07-04 Thread David Miller
From: Codrin Ciubotariu Date: Thu, 2 Jul 2020 18:17:23 +0300 > The DSA subsystem moved to phylink and adjust_link() became deprecated in > the process. This patch removes adjust_link from the KSZ DSA switches and > adds phylink_mac_link_up() and phylink_mac_link_down(). > > Signed-off-by:

Re: [PATCH net-next v2 2/2] net: dsa: microchip: remove unused private members

2020-07-04 Thread David Miller
From: Codrin Ciubotariu Date: Thu, 2 Jul 2020 18:17:24 +0300 > Private structure members live_ports, on_ports, rx_ports, tx_ports are > initialized but not used anywhere. Let's remove them. > > Suggested-by: Russell King > Signed-off-by: Codrin Ciubotariu Applied.

Re: [PATCH net] hinic: fix sending mailbox timeout in aeq event work

2020-07-04 Thread David Miller
From: Luo bin Date: Sat, 4 Jul 2020 15:32:43 +0800 > When sending mailbox in the work of aeq event, another aeq event > will be triggered. because the last aeq work is not exited and only > one work can be excuted simultaneously in the same workqueue, mailbox > sending function will return

Re: [PATCH] drivers/net/wan/lapbether: Fixed the value of hard_header_len

2020-07-04 Thread David Miller
From: Xie He Date: Fri, 3 Jul 2020 22:12:46 -0700 > When transmitting data from upper layers or from AF_PACKET sockets, > this driver will first remove a pseudo header of 1 byte, > then the lapb module will prepend the LAPB header of 2 or 3 bytes, > then this driver will prepend a length

drivers/mtd/nand/raw/sh_flctl.c:510:24: sparse: sparse: incorrect type in argument 1 (different base types)

2020-07-04 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 05933aac7b11911955de307a329dc2a7a14b7bd0 ia64: remove now unused machvec indirections date: 11 months ago config: ia64-randconfig-s031-20200705 (attached

Re: [PATCH 0/7] Documentation: networking: eliminate doubled words

2020-07-04 Thread David Miller
From: Randy Dunlap Date: Fri, 3 Jul 2020 15:41:08 -0700 > Drop all duplicated words in Documentation/networking/ files. Series applied, thanks Randy.

Re: [PATCH 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-04 Thread Chris Ruehl
Hi Guenter, On 3/7/2020 1:48 pm, Guenter Roeck wrote: On 7/2/20 8:48 PM, Chris Ruehl wrote: Add support for DTS bindings to the shtc driver, use CONFIG_OF to compile in the code if needed. Ah, here it is. The introducing patch should say something like "[PATCH 0/2]". Signed-off-by: Chris

Re: [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Kees Cook
On Sat, Jul 04, 2020 at 01:02:51PM -0700, Dan Williams wrote: > Recent events have prompted a Linux position statement on inclusive > terminology. Given that Linux maintains a coding-style and its own > idiomatic set of terminology here is a proposal to answer the call to > replace non-inclusive

Re: [PATCH 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-04 Thread Chris Ruehl
Hi Guenter, On 3/7/2020 1:49 pm, Guenter Roeck wrote: On 7/2/20 8:48 PM, Chris Ruehl wrote: Add documentation for the newly added DTS support in the shtc1 driver. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 53 +++ 1 file changed, 53

fast binary calculator

2020-07-04 Thread Andre Coelho
ey Ive made a program, that uses bit flips to quickly represent binary numbers for instance, if i use a 128bit number than the algorithm uses 128+128+128 (and not 128*128) for each bit. Basically, it assigns slots to bits, so for instance pos 1    pos 2 pos 3 0        0   0 1   

Re: [PATCH] sched: Better document ttwu()

2020-07-04 Thread Valentin Schneider
On 03/07/20 14:32, Peter Zijlstra wrote: > Dave hit the problem fixed by commit: > > b6e13e85829f ("sched/core: Fix ttwu() race") > > and failed to understand much of the code involved. Per his request a > few comments to (hopefully) clarify things. > > Requested-by: Dave Chinner >

Re: [RESEND PATCH v4 7/7] drm/mediatek: mtk_dsi: Create connector for bridges

2020-07-04 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo i Serra 於 2020年6月16日 週二 上午4:31寫道: > > Use the drm_bridge_connector helper to create a connector for pipelines > that use drm_bridge. This allows splitting connector operations across > multiple bridges when necessary, instead of having the last bridge in > the chain

Re: [Ksummit-discuss] [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Joe Perches
On Sun, 2020-07-05 at 09:39 +1000, Dave Airlie wrote: > Why haven't they submitted patches > removing slavery terminology from the kernel before? Because inhuman devices in a master/slave hierarchy isn't anything like chattel slavery? Blacklist/whitelist has nothing to do with skin color? Are

Re: [RESEND PATCH v4 6/7] drm/mediatek: mtk_dsi: Use the drm_panel_bridge API

2020-07-04 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo i Serra 於 2020年6月16日 週二 上午4:31寫道: > > Replace the manual panel handling code by a drm_panel_bridge. This > simplifies the driver and allows all components in the display pipeline > to be treated as bridges, paving the way to generic connector handling. > Applied to

Re: [PATCH 0/2] genirq: Kill preflow handlers

2020-07-04 Thread Valentin Schneider
Hi Marc, On 04/07/20 10:48, Marc Zyngier wrote: > Hi Valentin, > > On 2020-07-03 16:56, Valentin Schneider wrote: >> Hi, >> >> while strolling around the different flow handlers, I tried to make >> sense of >> what preflow_handler() was about. Turns out no one uses those anymore, >> but the >>

Re: [RESEND PATCH v4 5/7] drm/mediatek: mtk_dsi: Use simple encoder

2020-07-04 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo i Serra 於 2020年6月16日 週二 上午4:31寫道: > > The mtk_dsi driver uses an empty implementation for its encoder. Replace > the code with the generic simple encoder. Applied to mediatek-drm-next [1], thanks. [1]

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Dave Airlie
On Sun, 5 Jul 2020 at 06:19, Dan Williams wrote: > > Recent events have prompted a Linux position statement on inclusive > terminology. Given that Linux maintains a coding-style and its own > idiomatic set of terminology here is a proposal to answer the call to > replace non-inclusive

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Dave Airlie
'. Colors to represent a policy requires an indirection. The > > how about: > Using colors to represent a policy requires an indirection. I'd totally submit that red/black trees while in no way racist, are a horrible indirection, as it means nothing if you've never interacted with

Re: [Ksummit-discuss] [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Dave Airlie
On Sun, 5 Jul 2020 at 07:25, James Bottomley wrote: > > On Sat, 2020-07-04 at 13:02 -0700, Dan Williams wrote: > [...] > > diff --git a/Documentation/process/inclusive-terminology.rst > > b/Documentation/process/inclusive-terminology.rst > > new file mode 100644 > > index

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Dave Airlie
On Sun, 5 Jul 2020 at 06:45, Stephen Rothwell wrote: > > Hi Dan, > > On Sat, 04 Jul 2020 13:02:51 -0700 Dan Williams > wrote: > > > > +Linux kernel inclusive terminology > > +== > > + > > +The Linux kernel is a global software project, and in 2020 there was a > >

Re: [RESEND PATCH v4 4/7] drm/mediatek: mtk_dsi: Convert to bridge driver

2020-07-04 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo i Serra 於 2020年6月16日 週二 上午4:31寫道: > > Convert mtk_dsi to a bridge driver with built-in encoder support for > compatibility with existing component drivers. Applied to mediatek-drm-next [1], thanks. [1]

INFO: task hung in lru_add_drain_all

2020-07-04 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c28e58ee Add linux-next specific files for 20200629 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1400ab3710 kernel config: https://syzkaller.appspot.com/x/.config?x=dcd26bbca17dd1db dashboard

Re: [RESEND PATCH v4 3/7] drm/mediatek: mtk_dsi: Rename bridge to next_bridge

2020-07-04 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo i Serra 於 2020年6月16日 週二 上午4:31寫道: > > This is really a cosmetic change just to make a bit more readable the > code after convert the driver to drm_bridge. The bridge variable name > will be used by the encoder drm_bridge, and the chained bridge will be > named

Re: [PATCH v2] Replace HTTP links with HTTPS ones: Documentation/devicetree/bindings/iio

2020-07-04 Thread Matt Ranostay
On Sat, Jul 4, 2020 at 12:34 PM Alexander A. Klimov wrote: > > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > With regards to the drivers that I've authored the changes look good to me. Reviewed-by: Matt Ranostay

Re: [PATCH] drm/mediatek: mtk_hdmi: Remove debug messages for function calls

2020-07-04 Thread Chun-Kuang Hu
Hi, Enric: Chun-Kuang Hu 於 2020年5月19日 週二 下午11:13寫道: > > Hi, Enric: > > Enric Balletbo i Serra 於 2020年5月19日 週二 > 下午5:41寫道: > > > > Equivalent information can be nowadays obtained using function tracer > > > > Reviewed-by: Chun-Kuang Hu Applied to mediatek-drm-fixes [1], thanks. [1]

Re: [PATCH] drm/mediatek: mtk_mt8173_hdmi_phy: Remove unnused const variables

2020-07-04 Thread Chun-Kuang Hu
Hi, Enric: Chun-Kuang Hu 於 2020年5月19日 週二 下午11:12寫道: > > Hi, Enric: > > Enric Balletbo i Serra 於 2020年5月19日 週二 > 下午5:40寫道: > > > > There are some `static const u8` variables that are not used, this > > triggers a warning building with `make W=1`, it is safe to remove them, > > so do it and make

drivers/staging/wfx/./traces.h:154:1: sparse: sparse: incorrect type in argument 1 (different base types)

2020-07-04 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 1cc298c9152352b36a7b0019b40e1863689727b2 staging: wfx: add tracepoints for HIF date: 9 months ago config: x86_64-randconfig-s021-20200705 (attached as

Re: [PATCH] drm/mediatek: Delete not used of_device_get_match_data

2020-07-04 Thread Chun-Kuang Hu
Hi, Matthias: 於 2020年5月18日 週一 下午7:23寫道: > > From: Matthias Brugger > > The driver will be loaded by via a platform device. So we > will need to get the device_node from the parent device. > Depending on this we will set the driver data. > As all this is done later already, just delete the call

Re: [PATCH] net: fm10k: check size from dma region

2020-07-04 Thread Zekun Shen
On Sat, Jul 04, 2020 at 12:41:07PM -0700, Alexander Duyck wrote: > On Sat, Jul 4, 2020 at 9:37 AM Zekun Shen wrote: > > > > On Sat, Jul 04, 2020 at 09:05:48AM -0700, Alexander Duyck wrote: > > > The upper limitation for the size should be 2K or FM10K_RX_BUFSZ, not > > > PAGE_SIZE. Otherwise you

iwlwifi: TX on unused queue 5

2020-07-04 Thread Paul Menzel
Dear Linux folks, Since at least Linux 5.2.9 a warning is thrown by *iwlwifi*. [ 21.211815] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 22.685490] rfkill: input handler disabled [ 26.529753] iwlwifi :02:00.0: RF_KILL bit toggled to disable radio. [ 26.529754]

Re: [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Joe Perches
On 2020-07-04 14:25, James Bottomley wrote: On Sat, 2020-07-04 at 13:02 -0700, Dan Williams wrote: [...] diff --git a/Documentation/process/inclusive-terminology.rst [] Could we just lose this entire document? Yes please.

Re: [PATCH] habanalbas: rephrase error message

2020-07-04 Thread Oded Gabbay
On Sat, Jul 4, 2020 at 10:51 PM Omer Shpigelman wrote: > > Rephrase F/W error message to make it more understandable to ordinary > users. > > Signed-off-by: Omer Shpigelman > --- > drivers/misc/habanalabs/firmware_if.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

[PATCH 2/2] habanalabs: set clock gating per engine

2020-07-04 Thread Oded Gabbay
For debugging purposes, we need to allow the root user better control of the clock gating feature of the DMA and compute engines. Therefore, change the clock gating debugfs interface to be bitmask instead of true/false. Each bit represents a different engine, according to gaudi_engine_id enum.

[PATCH 1/2] habanalabs: block WREG_BULK packet on PDMA

2020-07-04 Thread Oded Gabbay
WREG_BULK is a special packet that has a variable length. Therefore, we can't parse it when validating CBs that go to the PCI DMA queue. In case the user needs to use it, it can put multiple WREG32 packets instead. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 7 ++-

Re: [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread James Bottomley
On Sat, 2020-07-04 at 13:02 -0700, Dan Williams wrote: [...] > diff --git a/Documentation/process/inclusive-terminology.rst > b/Documentation/process/inclusive-terminology.rst > new file mode 100644 > index ..a8eb26690eb4 > --- /dev/null > +++

Re: [PATCH 1/3] readfile: implement readfile syscall

2020-07-04 Thread Miklos Szeredi
On Sat, Jul 4, 2020 at 10:50 PM Alexey Dobriyan wrote: > > Al wrote: > > > > On Sat, Jul 04, 2020 at 09:41:09PM +0200, Miklos Szeredi wrote: > > > 1) just leave the first explanation (it's an open + read + close > > > equivalent) and leave out the rest > > > > > > 2) add a loop around the

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Olof Johansson
On Sat, Jul 4, 2020 at 1:19 PM Dan Williams wrote: > > Recent events have prompted a Linux position statement on inclusive > terminology. Given that Linux maintains a coding-style and its own > idiomatic set of terminology here is a proposal to answer the call to > replace non-inclusive

[PATCH] openrisc: Add support for external initrd images

2020-07-04 Thread Stafford Horne
In OpenRISC we set the initrd_start and initrd_end based on the symbols we setup in vmlinux.lds.S. However, this is not needed if we use the generic linker description in INIT_DATA_SECTION. Removing our own initrd setup reduces code, but also the generic code supports loading external initrd

arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available

2020-07-04 Thread kernel test robot
Hi Jason, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 07b586fe06625b0b610dc3d3a969c51913d143d4 crypto: x86/curve25519 - replace with formally verified

Re: [RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-07-04 Thread Jonathan Neuschäfer
On Tue, Jun 30, 2020 at 10:14:47PM +0200, Andreas Kemnade wrote: > On Tue, 30 Jun 2020 09:15:23 +0200 > Jonathan Neuschäfer wrote: > > > On Tue, Jun 30, 2020 at 08:40:51AM +0200, Andreas Kemnade wrote: > > [...] > > > got a chance to test it on a Tolino Shine 2 HD. > > > It uses the RTC from the

[PATCH] [RFC] kernfs: Allow vm_ops->close() if VMA is never split

2020-07-04 Thread Richard Weinberger
10 years ago commit a6849fa1f7d7 ("sysfs: Fail bin file mmap if vma close is implemented.") removed support for vm_ops->close() for mmap on sysfs. As far I understand the reason is that due to the wrapping in kernfs every VMA split operation needs to be tracked to call vm_ops->close() for all

Re: Writing to a const pointer: is this supposed to happen?

2020-07-04 Thread Andy Shevchenko
On Sat, Jul 4, 2020 at 11:32 PM Kars Mulder wrote: > On Saturday, July 04, 2020 16:39 CEST, Andy Shevchenko wrote: > > > I've searched for a function that parses an int from a string and > > > stores a pointer to the end; I can find some function simple_strtoul > > > that matches this criterion,

Re: [PATCH 1/3] readfile: implement readfile syscall

2020-07-04 Thread Alexey Dobriyan
Al wrote: > > On Sat, Jul 04, 2020 at 09:41:09PM +0200, Miklos Szeredi wrote: > > 1) just leave the first explanation (it's an open + read + close > > equivalent) and leave out the rest > > > > 2) add a loop around the vfs_read() in the code. > > 3) don't bother with the entire thing, until

reset-brcmstb-rescal.c:undefined reference to `devm_ioremap_resource'

2020-07-04 Thread kernel test robot
Hi Jim, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 4cf176e52397853e4a4dd37e917c5eafb47ba8d1 reset: Add Broadcom STB RESCAL reset controller date: 6 months ago

[PATCH v3 2/3] Fix undefined operation fault that can hang a cpu on crash or panic

2020-07-04 Thread David P. Reed
Fix: Mask undefined operation fault during emergency VMXOFF that must be attempted to force cpu exit from VMX root operation. Explanation: When a cpu may be in VMX root operation (only possible when CR4.VMXE is set), crash or panic reboot tries to exit VMX root operation using VMXOFF. This is

[PATCH v3 0/3] Fix undefined operation VMXOFF during reboot and crash

2020-07-04 Thread David P. Reed
At the request of Sean Christopherson, the original patch was split into three patches, each fixing a distinct issue related to the original bug, of a hang due to VMXOFF causing an undefined operation fault when the kernel reboots with CR4.VMXE set. The combination of the patches is the complete

[PATCH v3 3/3] Force all cpus to exit VMX root operation on crash/panic reliably

2020-07-04 Thread David P. Reed
Fix the logic during crash/panic reboot on Intel processors that can support VMX operation to ensure that all processors are not in VMX root operation. Prior code made optimistic assumptions about other cpus that would leave other cpus in VMX root operation depending on timing of crash/panic

[PATCH v3 1/3] Correct asm VMXOFF side effects

2020-07-04 Thread David P. Reed
Tell gcc that VMXOFF instruction clobbers condition codes and memory when executed. Also, correct original comments to remove kernel-doc syntax per Randy Dunlap's request. Suggested-by: Randy Dunlap Signed-off-by: David P. Reed --- arch/x86/include/asm/virtext.h | 8 1 file changed, 4

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Stephen Rothwell
Hi Dan, On Sat, 04 Jul 2020 13:02:51 -0700 Dan Williams wrote: > > +Linux kernel inclusive terminology > +== > + > +The Linux kernel is a global software project, and in 2020 there was a > +global reckoning on race relations that caused many organizations to >

Re: Writing to a const pointer: is this supposed to happen?

2020-07-04 Thread Kars Mulder
On Saturday, July 04, 2020 16:39 CEST, Andy Shevchenko wrote: > > I've searched for a function that parses an int from a string and > > stores a pointer to the end; I can find some function simple_strtoul > > that matches this criterion, but it's documented as > > > > "This function has

Re: [PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Randy Dunlap
On 7/4/20 1:02 PM, Dan Williams wrote: > Recent events have prompted a Linux position statement on inclusive > terminology. Given that Linux maintains a coding-style and its own > idiomatic set of terminology here is a proposal to answer the call to > replace non-inclusive terminology. > > Cc:

5.8-rc1 and later breaks chrome browser

2020-07-04 Thread Steve French
I noticed that chrome crashes immediately on startup on my desktop booting to 5.8-rc2 or later kernels (whether I build the kernel or using the prebuilt weekly Ubuntu mainline kernel downloads). Works fine with default kernels or 5.7 or 5.7.7 stable kernel etc. - just breaks if I boot 5.8-rc2 or

[PATCH] CodingStyle: Inclusive Terminology

2020-07-04 Thread Dan Williams
Recent events have prompted a Linux position statement on inclusive terminology. Given that Linux maintains a coding-style and its own idiomatic set of terminology here is a proposal to answer the call to replace non-inclusive terminology. Cc: Jonathan Corbet Cc: Kees Cook Signed-off-by: Chris

[PATCH v3 4/4] ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support

2020-07-04 Thread Jagan Teki
Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VAMRC RK3288 SOM need to mount on top of radxa dalang carrier board for making Rock Pi N8 SBC. So, add initial support for Rock Pi N8 by including

[PATCH v3 3/4] ARM: dts: rockchip: Add VMARC RK3288 SOM initial support

2020-07-04 Thread Jagan Teki
VMARC RK3288 SOM is a standard SMARC SOM design with Rockchip RK3288 SoC, which is designed by Vamrs. Specification: - Rockchip RK3288 - PMIC: RK808 - eMMC: 16GB/32GB/64GB - SD slot - 2xUSB-2.0, 1xUSB3.0 - USB-C for power supply - Ethernet - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC

  1   2   3   4   >