[PATCH v4 1/4] dt-bindings: vendor-prefixes: Add Lontium vendor prefix

2020-07-08 Thread Vinod Koul
Add prefix for Lontium Semiconductor Corporation Acked-by: Rob Herring Tested-by: John Stultz Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Doc

[PATCH v4 2/4] dt-bindings: display: bridge: Add documentation for LT9611

2020-07-08 Thread Vinod Koul
Lontium LT9611 is a DSI to HDMI bridge which supports 2 DSI ports and I2S port as input and one HDMI port as output Reviewed-by: Rob Herring Tested-by: John Stultz Signed-off-by: Vinod Koul --- .../display/bridge/lontium,lt9611.yaml| 176 ++ 1 file changed, 176 insertio

[PATCH v4 3/4] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-07-08 Thread Vinod Koul
Lontium Lt9611 is a DSI to HDMI bridge which supports two DSI ports and I2S port as an input and HDMI port as output Co-developed-by: Bjorn Andersson Signed-off-by: Bjorn Andersson Co-developed-by: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla Tested-by: John Stultz Signed-off-by: Vi

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-08 Thread David Hildenbrand
On 08.07.20 08:56, Justin He wrote: > Hi Dan > >> -Original Message- >> From: Dan Williams >> Sent: Wednesday, July 8, 2020 1:48 PM >> To: Mike Rapoport >> Cc: Justin He ; Michal Hocko ; David >> Hildenbrand ; Catalin Marinas ; >> Will Deacon ; Vishal Verma ; >> Dave Jiang ; Andrew Morto

[PATCH v4 4/4] drm/msm/dsi: attach external bridge with DRM_BRIDGE_ATTACH_NO_CONNECTOR

2020-07-08 Thread Vinod Koul
Modern bridges do not create the connector and expect the display driver to do so. Hence, create the drm connector in msm display driver and add use flag DRM_BRIDGE_ATTACH_NO_CONNECTOR to attach bridges Tested-by: John Stultz Signed-off-by: Vinod Koul --- drivers/gpu/drm/msm/dsi/dsi.c |

Re: [PATCH 4.4 00/19] 4.4.230-rc1 review

2020-07-08 Thread Naresh Kamboju
On Tue, 7 Jul 2020 at 20:41, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.230 release. > There are 19 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCHv3 2/6] irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interrupts

2020-07-08 Thread Grzegorz Jaszczyk
On Sun, 5 Jul 2020 at 22:45, Marc Zyngier wrote: > > On 2020-07-05 14:26, Grzegorz Jaszczyk wrote: > > On Sat, 4 Jul 2020 at 11:39, Marc Zyngier wrote: > >> > >> On 2020-07-03 15:28, Grzegorz Jaszczyk wrote: > > [...] > > >> It still begs the question: if the HW can support both edge and level >

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-08 Thread Dan Williams
On Tue, Jul 7, 2020 at 11:59 PM David Hildenbrand wrote: > > On 08.07.20 08:22, Mike Rapoport wrote: > > On Tue, Jul 07, 2020 at 09:27:43PM -0700, Dan Williams wrote: > >> On Tue, Jul 7, 2020 at 9:08 PM Justin He wrote: > >> [..] > Especially for architectures that use memblock info for numa

Re: [PATCH v19 07/12] landlock: Support filesystem access-control

2020-07-08 Thread Mickaël Salaün
On 07/07/2020 22:11, Randy Dunlap wrote: > Hi-- > > On 7/7/20 11:09 AM, Mickaël Salaün wrote: >> --- >> arch/Kconfig | 7 + >> arch/um/Kconfig | 1 + >> include/uapi/linux/landlock.h | 78 + >> security/landlock/Kconfig | 2 +- >> security/landlock/

[PATCH] fs: ceph: Remove unnecessary cast in kfree()

2020-07-08 Thread Xu Wang
Remove unnecassary casts in the argument to kfree. Signed-off-by: Xu Wang --- fs/ceph/xattr.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index 71ee34d160c3..3a733ac33d9b 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@

Re: [PATCH v12 07/11] KVM: vmx/pmu: Unmask LBR fields in the MSR_IA32_DEBUGCTLMSR emualtion

2020-07-08 Thread Xu, Like
Hi Sean, First of all, are you going to queue the LBR patch series in your tree considering the host perf patches have already queued in Peter's tree ? On 2020/7/8 4:21, Sean Christopherson wrote: On Sat, Jun 13, 2020 at 05:42:50PM +0800, Xu, Like wrote: On 2020/6/13 17:14, Xiaoyao Li wrote:

[PATCH] mfd: axp20x: Use #ifdef for checking CONFIG_ACPI

2020-07-08 Thread Krzysztof Kozlowski
Use #ifdef directive to check whether config symbol is defined and to fix warning: drivers/mfd/axp20x-i2c.c:82:5: warning: "CONFIG_ACPI" is not defined [-Wundef] Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/axp20x-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

Re: Bug Report High CPU Usage events_power_efficient

2020-07-08 Thread Greg KH
On Wed, Jul 08, 2020 at 09:50:49AM +0300, Martin Zaharinov wrote: > Add Greg , Florian, Eric to this bug > > > On 7 Jul 2020, at 22:54, Martin Zaharinov wrote: > > > > And this is log from /sys/kernel/debug/tracing/trace > > > > > > # entries-in-buffer/entries-written: 32410/32410 #P:64 > >

[PATCH] spi: use kthread_create_worker() helper

2020-07-08 Thread Marek Szyprowski
Since commit 4977caef05aa ("kthread: work could not be queued when worker being destroyed") there is a warning when kworker is used without the internal 'task' entry properly initialized. Fix this by using a kthread_create_worker() helper instead of open-coding a kworker initialization. This fixes

[PATCH] ASoC: cros_ec_codec: Reset I2S RX when probing

2020-07-08 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 --- include/linux/platform_data/cros_ec_comm

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

2020-07-08 Thread Dan Williams
On Mon, Jul 6, 2020 at 11:56 PM SeongJae Park wrote: > > Hello, > > On Sat, 04 Jul 2020 13:02:51 -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 termi

Re: [PATCH v4 04/11] mm/hugetlb: make hugetlb migration callback CMA aware

2020-07-08 Thread Joonsoo Kim
On Tue, Jul 07, 2020 at 01:31:16PM +0200, Michal Hocko wrote: > On Tue 07-07-20 16:44:42, Joonsoo Kim wrote: > > From: Joonsoo Kim > > > > new_non_cma_page() in gup.c which try to allocate migration target page > > requires to allocate the new page that is not on the CMA area. > > new_non_cma_pag

Re: [PATCH] ALSA: Use fallthrough pseudo-keyword

2020-07-08 Thread Takashi Iwai
On Tue, 07 Jul 2020 19:28:47 +0200, Gustavo A. R. Silva wrote: > --- a/sound/isa/msnd/msnd_pinnacle_mixer.c > +++ b/sound/isa/msnd/msnd_pinnacle_mixer.c > @@ -219,8 +219,7 @@ static int snd_msndmix_set(struct snd_msnd *dev, int d, > int left, int right) > case MSND_MIXER_VOLUME: /* m

Re: [PATCH 01/10] gpio: gpiolib-of: Provide documentation for of_gpio_spi_cs_get_count()

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > Descriptions for of_gpio_spi_cs_get_count()'s 2 arguments are > missing. Document both 'dev' and 'con_id'. > > Fixes the following W=1 kernel build warnings: > > drivers/gpio/gpiolib-of.c:36: warning: Function parameter or member 'dev' > not d

[PATCH] Replace HTTP links with HTTPS ones: KMOD KERNEL MODULE LOADER - USERMODE HELPER

2020-07-08 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH RESEND v9 18/18] media: platform: Add jpeg enc feature

2020-07-08 Thread Xia Jiang
On Tue, 2020-07-07 at 15:35 +0200, Tomasz Figa wrote: > On Tue, Jul 7, 2020 at 8:47 AM Xia Jiang wrote: > > > > On Tue, 2020-06-30 at 16:53 +, Tomasz Figa wrote: > > > Hi Xia, > > > > > > On Tue, Jun 30, 2020 at 10:56:21AM +0800, Xia Jiang wrote: > > > > On Thu, 2020-06-11 at 18:46 +, Toma

Re: [PATCH] regmap: add missing dependency on SoundWire

2020-07-08 Thread Greg Kroah-Hartman
On Tue, Jul 07, 2020 at 03:26:28PM -0500, Pierre-Louis Bossart wrote: > CONFIG_REGMAP is not selected when no other serial bus is supported. > It's largely academic since CONFIG_I2C is usually selected e.g. by > DRM, but still this can break randconfig so let's be explicit. > > Signed-off-by: Pier

Re: [PATCH 02/10] gpio: gpio-altera: Add missing kerneldoc entry and demote comment

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > 'struct altera_gpio_chip's 'irq_chip' property is undocumented. So > add property description to the struct's kerneldoc header. Also > demote comment block which is clearly not in kerneldoc format. > > Fixes the following W=1 warnings: > > dri

Re: [PATCH 18/18] arm64: lto: Strengthen READ_ONCE() to acquire when CLANG_LTO=y

2020-07-08 Thread Marco Elver
On Wed, 8 Jul 2020 at 01:01, Nick Desaulniers wrote: > > I'm trying to put together a Micro Conference for Linux Plumbers > conference focused on "make LLVM slightly less shitty." Do you all > plan on attending the conference? Would it be worthwhile to hold a > session focused on discussing this

Re: [PATCH v4 04/11] mm/hugetlb: make hugetlb migration callback CMA aware

2020-07-08 Thread Joonsoo Kim
On Tue, Jul 07, 2020 at 01:22:31PM +0200, Vlastimil Babka wrote: > On 7/7/20 9:44 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > new_non_cma_page() in gup.c which try to allocate migration target page > > requires to allocate the new page that is not on the CMA area. > > new_non_cma_pa

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-08 Thread David Hildenbrand
On 08.07.20 09:04, Dan Williams wrote: > On Tue, Jul 7, 2020 at 11:59 PM David Hildenbrand wrote: >> >> On 08.07.20 08:22, Mike Rapoport wrote: >>> On Tue, Jul 07, 2020 at 09:27:43PM -0700, Dan Williams wrote: On Tue, Jul 7, 2020 at 9:08 PM Justin He wrote: [..] >> Especially for ar

Re: [PATCH 04/10] gpio: gpio-pmic-eic-sprd: Fix incorrectly named property 'map'

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > A good attempt has been made to properly document 'struct > sprd_pmic_eic', but 'map' has been incorrectly described as > 'regmap' since the driver's inception in 2018. > > Fixes the following W=1 kernel build warning: > > drivers/gpio/gpio-pmic

Re: [PATCH V3] mm/vmstat: Add events for THP migration without split

2020-07-08 Thread Anshuman Khandual
On 07/08/2020 05:31 AM, John Hubbard wrote: > On 2020-07-06 17:06, Anshuman Khandual wrote: >> Add following new vmstat events which will help in validating THP migration >> without split. Statistics reported through these new VM events will help in >> performance debugging. >> >> 1. THP_MIGRATIO

Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-08 Thread Martin K. Petersen
Lee, > Out of interest, do you know of any other efforts to fix W=1 warnings > in SCSI? I am not. I try to encourage that all new patches get compiled with C=1/W=1. If I could, I would strictly enforce this. However, there is just too much vintage code around at this point. And even some of th

Re: [PATCH v4 05/11] mm/migrate: clear __GFP_RECLAIM for THP allocation for migration

2020-07-08 Thread Joonsoo Kim
On Tue, Jul 07, 2020 at 02:17:55PM +0200, Vlastimil Babka wrote: > On 7/7/20 9:44 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > In mm/migrate.c, THP allocation for migration is called with the provided > > gfp_mask | GFP_TRANSHUGE. This gfp_mask contains __GFP_RECLAIM and it > > would

Re: [PATCH RESENT] ia64: configs: Remove useless UEVENT_HELPER_PATH

2020-07-08 Thread Greg Kroah-Hartman
On Tue, Jul 07, 2020 at 10:50:30PM +0200, Krzysztof Kozlowski wrote: > Remove the CONFIG_UEVENT_HELPER_PATH because: > 1. It is disabled since commit 1be01d4a5714 ("driver: base: Disable >CONFIG_UEVENT_HELPER by default") as its dependency (UEVENT_HELPER) was >made default to 'n', > 2. It i

Re: [PATCH 06/10] gpio: gpio-syscon: Fix formatting issues which confuse kerneldoc

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > Kerneldoc expects struct properties to be documented using the syntax > '@.*: ', but no '@' has been provided in 'struct syscon_gpio_data's > header. Add them to stop confusing kerneldoc. > > Fixes the following W=1 warnings: > > drivers/gpio/g

Re: memory leak in inotify_update_watch

2020-07-08 Thread Dmitry Vyukov
On Tue, Jul 7, 2020 at 8:17 PM Catalin Marinas wrote: > > On Tue, Jul 07, 2020 at 05:24:11PM +0200, Jan Kara wrote: > > On Mon 06-07-20 08:42:24, syzbot wrote: > > > syzbot found the following crash on: > > > > > > HEAD commit:7cc2a8ea Merge tag 'block-5.8-2020-07-01' of > > > git://git.ker..

Re: [PATCH 05/10] gpio: gpio-sama5d2-piobu: Demote all kerneldoc headers to basic comment blocks

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > No attempt has been made to provide proper descriptions for each of > the function arguments throughout the file. Simply demote all > kerneldoc headers to basic function headers. (...) > > Cc: Ludovic Desroches > Cc: Andrei Stefanescu > Signed

Re: [PATCH v4 05/11] mm/migrate: clear __GFP_RECLAIM for THP allocation for migration

2020-07-08 Thread Joonsoo Kim
On Tue, Jul 07, 2020 at 01:40:19PM +0200, Michal Hocko wrote: > On Tue 07-07-20 16:44:43, Joonsoo Kim wrote: > > From: Joonsoo Kim > > > > In mm/migrate.c, THP allocation for migration is called with the provided > > gfp_mask | GFP_TRANSHUGE. This gfp_mask contains __GFP_RECLAIM and it > > would

RE: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

2020-07-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: liwei (CM) > Sent: Wednesday, July 8, 2020 1:56 PM > To: catalin.mari...@arm.com; w...@kernel.org > Cc: liwei (CM) ; fengbaopeng > ; nsaenzjulie...@suse.de; > steve.cap...@arm.com; r...@linux.ibm.com; Song Bao Hua (Barry Song) > ; linux-arm-ker...@lists.infra

[PATCH v3 00/16] Allwinner A100 Initial support

2020-07-08 Thread Frank Lee
This patch set adds initial support for allwinner a100 soc, which is a 64-bit tablet chip. v3: -Add pmu and nmi support -Add read data mask for calibration -Code style -Some trivial things in yaml files v2: -Some naming consistency -Repair email address -Fix mmc clock -Don't export system clock -

Re: [PATCH v1] riscv: Add jump-label implementation

2020-07-08 Thread Björn Töpel
On Tue, 7 Jul 2020 at 17:08, Emil Renner Berthing wrote: > > Add jump-label implementation based on the ARM64 version. > > Tested on the HiFive Unleashed board. > > Signed-off-by: Emil Renner Berthing > --- > > Changes since RFC: > - Use RISCV_PTR and RISCV_LGPTR macros to match struct jump_table

Re: [PATCH 07/10] gpio: gpio-it87: Fix formatting issues which confuse kerneldoc

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > Kerneldoc expects struct properties to be documented using the syntax > '@.*: ', but no ':' has been provided in 'struct it87_gpio's > header. Add them to stop confusing kerneldoc. > > Fixes the following W=1 warnings: > > drivers/gpio/gpio-it8

[PATCH v3 10/16] mfd: axp20x: Allow the AXP803 to be probed by I2C

2020-07-08 Thread Frank Lee
The AXP803 can be used both using the RSB proprietary bus, or a more traditional I2C bus. Let's add that possibility. Signed-off-by: Frank Lee --- drivers/mfd/axp20x-i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/axp20x-i2c.c b/drivers/mfd/axp20x-i2c.c index 14f9df7..44

[PATCH v3 01/16] dt-bindings: clk: sunxi-ccu: add compatible string for A100 CCU and R-CCU

2020-07-08 Thread Frank Lee
This patch adds binding to a100's ccu clock and r-ccu clock. Signed-off-by: Frank Lee --- .../devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.

[PATCH v3 03/16] dt-bindings: pinctrl: sunxi: Add A100 pinctrl bindings

2020-07-08 Thread Frank Lee
Add device tree binding Documentation details for A100 pinctrl driver, whic has an r pin controller and a pin controller with more irq lines. Signed-off-by: Frank Lee --- .../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 74 +- 1 file changed, 44 insertions(+), 30 deletion

Re: [PATCH 08/10] gpio: gpio-mlxbf: Tell the compiler that ACPI functions may not be used

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > ... as is the case when !CONFIG_ACPI. > > Fixes the following W=1 kernel build warning: > > drivers/gpio/gpio-mlxbf.c:130:36: warning: ‘mlxbf_gpio_acpi_match’ defined > but not used [-Wunused-const-variable=] > 130 | static const struct acpi_d

[PATCH v3 06/16] dt-bindings: nvmem: SID: add binding for A100's SID controller

2020-07-08 Thread Frank Lee
Add a binding for A100's SID controller. Signed-off-by: Frank Lee --- Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml b/Documentation/devicetree/bind

[PATCH v3 09/16] thermal: sun8i: Add A100's THS controller support

2020-07-08 Thread Frank Lee
This patch add thermal sensor controller support for A100, which is similar to the previous ones. Signed-off-by: Frank Lee Reviewed-by: Yangtao Li --- drivers/thermal/sun8i_thermal.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/th

[PATCH v3 04/16] dt-bindings: pinctrl: sunxi: make gpio banks supplies required

2020-07-08 Thread Frank Lee
Since we don't really have to care about the existing DT for boards, it would be great to make the gpio banks supplies required. Signed-off-by: Frank Lee --- .../devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentatio

[PATCH v3 05/16] pinctrl: sunxi: add support for the Allwinner A100 pin controller

2020-07-08 Thread Frank Lee
This commit introduces support for the pin controller on A100. Signed-off-by: Frank Lee --- drivers/pinctrl/sunxi/Kconfig | 10 + drivers/pinctrl/sunxi/Makefile| 2 + drivers/pinctrl/sunxi/pinctrl-sun50i-a100-r.c | 105 drivers/pinctrl/sunxi/pinctrl-sun50i

[PATCH v3 02/16] clk: sunxi-ng: add support for the Allwinner A100 CCU

2020-07-08 Thread Frank Lee
Add support for a100 in the sunxi-ng CCU framework. Signed-off-by: Frank Lee --- drivers/clk/sunxi-ng/Kconfig | 10 + drivers/clk/sunxi-ng/Makefile |2 + drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c | 214 + drivers/clk/sunxi-ng/ccu-sun50i-a100-r.h

[PATCH v3 08/16] thermal: sun8i: add TEMP_CALIB_MASK for calibration data in sun50i_h6_ths_calibrate

2020-07-08 Thread Frank Lee
For sun50i_h6_ths_calibrate(), the data read from nvmem needs a round of calculation. On the other hand, the newer SOC may store other data in the space other than 12bit sensor data. Add mask operation to read data to avoid conversion error. Signed-off-by: Frank Lee Reviewed-by: Yangtao Li ---

[PATCH v3 07/16] dt-bindings: thermal: sun8i: Add binding for A100's THS controller

2020-07-08 Thread Frank Lee
Add a binding for A100's ths controller. Signed-off-by: Frank Lee Reviewed-by: Yangtao Li --- .../devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a

Re: [PATCH v4 07/11] mm/gup: use a standard migration target allocation callback

2020-07-08 Thread Joonsoo Kim
On Tue, Jul 07, 2020 at 01:46:14PM +0200, Michal Hocko wrote: > On Tue 07-07-20 16:44:45, Joonsoo Kim wrote: > [...] > > @@ -1551,9 +1552,12 @@ struct page *alloc_migration_target(struct page > > *page, unsigned long private) > > > > gfp_mask |= htlb_alloc_mask(h); > > re

Re: [PATCH 09/10] gpio: gpio-mlxbf2: Tell the compiler that ACPI functions may not be use

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:33 PM Lee Jones wrote: > ... as is the case when !CONFIG_ACPI. > > Fixes the following W=1 kernel build warning: > > drivers/gpio/gpio-mlxbf2.c:312:36: warning: ‘mlxbf2_gpio_acpi_match’ defined > but not used [-Wunused-const-variable=] > 312 | static const struct acpi

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-08 Thread David Hildenbrand
On 08.07.20 07:27, Mike Rapoport wrote: > On Tue, Jul 07, 2020 at 03:05:48PM -0700, Dan Williams wrote: >> On Tue, Jul 7, 2020 at 11:01 AM Mike Rapoport wrote: >>> >>> On Tue, Jul 07, 2020 at 02:26:08PM +0200, David Hildenbrand wrote: On 07.07.20 14:13, Mike Rapoport wrote: > On Tue, Jul

Re: [PATCH v19 09/12] arch: Wire up landlock() syscall

2020-07-08 Thread Arnd Bergmann
On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün wrote: > index f4a01305d9a6..a63a411a74d5 100644 > --- a/include/uapi/asm-generic/unistd.h > +++ b/include/uapi/asm-generic/unistd.h > @@ -857,9 +857,11 @@ __SYSCALL(__NR_openat2, sys_openat2) > __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd) > #define

[PATCH] arch: powerpc: Remove unnecessary cast in kfree()

2020-07-08 Thread Xu Wang
Remove unnecassary casts in the argument to kfree. Signed-off-by: Xu Wang --- arch/powerpc/platforms/pseries/dlpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c index 16e86ba8aa20..1f3d268062

Re: [PATCH 10/10] gpio: gpio-mlxbf2.c: Provide __releases() annotation to stop confusing Sparse

2020-07-08 Thread Linus Walleij
On Tue, Jun 30, 2020 at 3:34 PM Lee Jones wrote: > Sparse cannot peer into other functions to see when and if locks are > acquired and released, thus it simply warns that a 'context imbalance' > is detected instead. Let's be kind to Sparse and let it know that > this behaviour is intentional. >

[PATCH v4 00/10] net: eth: altera: tse: Add PTP and mSGDMA prefetcher

2020-07-08 Thread Ooi, Joyce
From: Joyce Ooi This patch series cleans up the Altera TSE driver and adds support for the newer msgdma prefetcher as well as ptp support when using the msgdma prefetcher. v2: Rename altera_ptp to intel_fpga_tod, modify msgdma and sgdma tx_buffer functions to be of type netdev_tx_t, and mino

[PATCH v4 03/10] net: eth: altera: fix altera_dmaops declaration

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen The declaration of struct altera_dmaops does not have identifier names. Add identifier names to confrom with required coding styles. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change v3: no change v4: no change --- drivers/net/ethernet/altera

[PATCH v4 04/10] net: eth: altera: add optional function to start tx dma

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen Allow for optional start up of tx dma if the start_txdma function is defined in altera_dmaops. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change v3: no change v4: no change --- drivers/net/ethernet/altera/altera_tse.h | 1 + drivers/net/e

[PATCH v4 01/10] net: eth: altera: tse_start_xmit ignores tx_buffer call response

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen The return from tx_buffer call in tse_start_xmit is inapropriately ignored. tse_buffer calls should return 0 for success or NETDEV_TX_BUSY. tse_start_xmit should return not report a successful transmit when the tse_buffer call returns an error condition. In addition to

[PATCH v4 02/10] net: eth: altera: set rx and tx ring size before init_dma call

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen It is more appropriate to set the rx and tx ring size before calling the init function for the dma. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change v3: no change v4: no change --- drivers/net/ethernet/altera/altera_tse_main.c | 6 -- 1 f

[PATCH v4 08/10] net: eth: altera: add support for ptp and timestamping

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen Add support for the ptp clock used with the tse, and update the driver to support timestamping when enabled. We also enable debugfs entries for the ptp clock to allow some user control and interaction with the ptp clock. Cc: Richard Cochran Signed-off-by: Dalon Westergr

[PATCH v4 06/10] net: eth: altera: Add missing identifier names to function declarations

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen The sgdma and msgdma header files included function declarations without identifier names for pointers. Add appropriate identifier names. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: this patch is added in patch version 2 v3: no change v4: no chang

[PATCH v4 05/10] net: eth: altera: Move common functions to altera_utils

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen Move request_and_map and other shared functions to altera_utils. This is the first step to moving common code out of tse specific code so that it can be shared with future altera ethernet ip. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change v3

[PATCH v4 10/10] net: eth: altera: update devicetree bindings documentation

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen Update devicetree bindings documentation to include msgdma prefetcher and ptp bindings. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi Reviewed-by: Rob Herring --- v2: no change v3: no change v4: no change ---

Re: [PATCH] kernel: perf_event: use for_each_set_bit() to simplify the code

2020-07-08 Thread Max Filippov
On Tue, Jul 7, 2020 at 11:59 PM Xu Wang wrote: > > Using for_each_set_bit() to simplify the code. > > Signed-off-by: Xu Wang > --- > arch/xtensa/kernel/perf_event.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Thanks! Applied to my xtensa tree with a slightly edited commit message

[PATCH v4 07/10] net: eth: altera: change tx functions to type netdev_tx_t

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen Modify all msgdma and sgdma tx_buffer functions to be of type netdev_tx_t, and also modify main tx function to be of netdev_tx_t type. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: this patch is added in patch version 2 v3: no change v4: no change --

Re: [PATCH v3 1/9] soc: mediatek: cmdq: add address shift in jump

2020-07-08 Thread Bibby Hsieh
Reviewed-by: Bibby Hsieh On Tue, 2020-07-07 at 23:45 +0800, Dennis YC Hsieh wrote: > Add address shift when compose jump instruction > to compatible with 35bit format. > > Change since v1: > - Rename cmdq_mbox_shift() to cmdq_get_shift_pa(). > > Signed-off-by: Dennis YC Hsieh > --- > drivers

Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-08 Thread Lee Jones
On Wed, 08 Jul 2020, Martin K. Petersen wrote: > > Lee, > > > Out of interest, do you know of any other efforts to fix W=1 warnings > > in SCSI? > > I am not. > > I try to encourage that all new patches get compiled with C=1/W=1. If I > could, I would strictly enforce this. However, there is j

Re: [PATCH] mfd: axp20x: Use #ifdef for checking CONFIG_ACPI

2020-07-08 Thread Lee Jones
On Wed, 08 Jul 2020, Krzysztof Kozlowski wrote: > Use #ifdef directive to check whether config symbol is defined and to > fix warning: > > drivers/mfd/axp20x-i2c.c:82:5: warning: "CONFIG_ACPI" is not defined > [-Wundef] > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/axp20x-i2c

Re: [PATCH 09/10] scsi: libfc: fc_disc: Fix-up some incorrectly referenced function parameters

2020-07-08 Thread Johannes Thumshirn
On 07/07/2020 16:01, Lee Jones wrote: > + * @disc: The descovery context s/descovery/discovery

[PATCH] Replace HTTP links with HTTPS ones: YAMA SECURITY MODULE

2020-07-08 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v5 08/13] gpio: add support for the sl28cpld GPIO controller

2020-07-08 Thread Linus Walleij
On Mon, Jul 6, 2020 at 7:57 PM Michael Walle wrote: > Add support for the GPIO controller of the sl28 board management > controller. This driver is part of a multi-function device. > > A controller has 8 lines. There are three different flavors: > full-featured GPIO with interrupt support, input-

Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-08 Thread Damien Le Moal
On 2020/07/08 15:51, Lee Jones wrote: > On Wed, 08 Jul 2020, Damien Le Moal wrote: > >> On 2020/07/07 23:01, Lee Jones wrote: >>> This set is part of a larger effort attempting to clean-up W=1 >>> kernel builds, which are currently overwhelmingly riddled with >>> niggly little warnings. >>> >>> Th

[PATCH 3/3] firmware: imx-dsp: Export functions to request/free channels

2020-07-08 Thread Daniel Baluta
From: Daniel Baluta In order to save power, we only need to request a channel when the communication with the DSP active. For this we export the following functions: - imx_dsp_request_channel, gets a channel with a given index - imx_dsp_free_channel, frees a channel with a given

[PATCH 1/3] firmware: imx: Introduce imx_dsp_setup_channels

2020-07-08 Thread Daniel Baluta
From: Daniel Baluta Create a separate function that sets up DSP mailbox channels so that imx_dsp_probe function will be easier to read. Signed-off-by: Daniel Baluta --- drivers/firmware/imx/imx-dsp.c | 41 +- 1 file changed, 26 insertions(+), 15 deletions(-) di

[PATCH 2/3] firmware: imx: Save channel name for further use

2020-07-08 Thread Daniel Baluta
From: Daniel Baluta We want to request / free channels on demand later in order to save power. For this for each channel we save the name and use it to reference the channel later. Signed-off-by: Daniel Baluta --- drivers/firmware/imx/imx-dsp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 d

[PATCH 0/3] Allow on demand channel request / free

2020-07-08 Thread Daniel Baluta
From: Daniel Baluta Requesting an mailbox channel will call mailbox's startup function. startup function calls pm_runtime_get_sync which increments device usage count and will keep the device active. Specifically, mailbox clock will be always ON when a mailbox channel is requested. For this, re

[PATCH v10 00/15] perf: support enable and disable commands in stat and record modes

2020-07-08 Thread Alexey Budankov
Changes in v10: - reused struct priv, renamed props into flags and used unsigned int type as a storage - implemented and adopted usage of evlist__ctlfd_initialized() function - updated while condition with checking !(done || stop) - implemented compute_tts() to calculate the remainder of timeout

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-08 Thread Mike Rapoport
On Wed, Jul 08, 2020 at 09:21:25AM +0200, David Hildenbrand wrote: > On 08.07.20 07:27, Mike Rapoport wrote: > > On Tue, Jul 07, 2020 at 03:05:48PM -0700, Dan Williams wrote: > >> On Tue, Jul 7, 2020 at 11:01 AM Mike Rapoport wrote: > >>> > >>> On Tue, Jul 07, 2020 at 02:26:08PM +0200, David Hilde

Re: [PATCH] mfd/axp20x-i2c: Fix "CONFIG_ACPI" is not defined warning

2020-07-08 Thread Lee Jones
On Tue, 07 Jul 2020, Axel Lin wrote: > Fix below build warning: > > drivers/mfd/axp20x-i2c.c:82:5: warning: "CONFIG_ACPI" is not defined, > evaluates to 0 [-Wundef] >82 | #if CONFIG_ACPI > | ^~~ > > Fixes: 20f359cb236b ("mfd: axp20x-i2c: Do not define 'struct acpi_device_i

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-08 Thread David Hildenbrand
On 08.07.20 09:38, Mike Rapoport wrote: > On Wed, Jul 08, 2020 at 09:21:25AM +0200, David Hildenbrand wrote: >> On 08.07.20 07:27, Mike Rapoport wrote: >>> On Tue, Jul 07, 2020 at 03:05:48PM -0700, Dan Williams wrote: On Tue, Jul 7, 2020 at 11:01 AM Mike Rapoport wrote: > > On Tue, Ju

Re: UART/TTY console deadlock

2020-07-08 Thread Kurt Kanzenbach
On Mon Jul 06 2020, Sergey Senozhatsky wrote: > On (20/07/06 13:31), Kurt Kanzenbach wrote: >> >> @@ -2275,6 +2275,7 @@ int serial8250_do_startup(struct uart_port *port) >> >> >> >> if (port->irq && !(up->port.flags & UPF_NO_THRE_TEST)) { >> >> unsigned char iir1; >> >> + >>

Re: [PATCH v5 13/13] arm64: dts: freescale: sl28: enable fan support

2020-07-08 Thread Linus Walleij
Hi Michael, just a drive-by-comment: On Mon, Jul 6, 2020 at 7:57 PM Michael Walle wrote: > Add a pwm-fan mapped to the PWM channel 0 which is connected to the > fan connector of the carrier. > > Signed-off-by: Michael Walle If you have a cooling device like this, do you also have a temperatur

[PATCH v2] CodingStyle: Inclusive Terminology

2020-07-08 Thread Dan Williams
Linux maintains a coding-style and its own idiomatic set of terminology. Update the style guidelines to recommend replacements for the terms master/slave and blacklist/whitelist. Link: http://lore.kernel.org/r/159389297140.2210796.13590142254668787525.st...@dwillia2-desk3.amr.corp.intel.com Cc: J

[PATCH v2 1/4] dt-bindings: clk: versaclock5: fix 'idt' prefix typos

2020-07-08 Thread Luca Ceresoli
'idt' is misspelled 'itd' in a few places, fix it. Fixes: 34662f6e3084 ("dt: Add additional option bindings for IDT VersaClock") Signed-off-by: Luca Ceresoli --- Documentation/devicetree/bindings/clock/idt,versaclock5.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Do

[PATCH v2 2/4] MAINTAINERS: take over IDT VersaClock 5 clock driver

2020-07-08 Thread Luca Ceresoli
Marek has been the primary developer of this driver (thanks!). Now as he is not working on it anymore he suggested I take over maintainership. Cc: Marek Vasut Signed-off-by: Luca Ceresoli --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINE

[PATCH v2 3/4] clk: vc5: use a dedicated struct to describe the output drivers

2020-07-08 Thread Luca Ceresoli
Reusing the generic struct vc5_hw_data for all blocks is handy. However it implies we allocate space the div_int and div_frc fields even for the output drivers where they are unused, and the clk_output_cfg0 and clk_output_cfg0_mask fields that are used only for the output drivers. Use a dedicated

Re: [PATCH v4 04/11] mm/hugetlb: make hugetlb migration callback CMA aware

2020-07-08 Thread Michal Hocko
On Wed 08-07-20 16:16:02, Joonsoo Kim wrote: > On Tue, Jul 07, 2020 at 01:22:31PM +0200, Vlastimil Babka wrote: > > On 7/7/20 9:44 AM, js1...@gmail.com wrote: > > > From: Joonsoo Kim > > > > > > new_non_cma_page() in gup.c which try to allocate migration target page > > > requires to allocate the

[PATCH v2 4/4] dt-bindings: clk: versaclock5: convert to yaml

2020-07-08 Thread Luca Ceresoli
Convert to yaml the VersaClock bindings document. The mapping between clock specifier and physical pins cannot be described formally in yaml schema, then keep it verbatim in the description field. Signed-off-by: Luca Ceresoli --- .../bindings/clock/idt,versaclock5.txt| 125 --

Re: [PATCH v19 09/12] arch: Wire up landlock() syscall

2020-07-08 Thread Mickaël Salaün
On 08/07/2020 09:22, Arnd Bergmann wrote: > On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün wrote: > >> index f4a01305d9a6..a63a411a74d5 100644 >> --- a/include/uapi/asm-generic/unistd.h >> +++ b/include/uapi/asm-generic/unistd.h >> @@ -857,9 +857,11 @@ __SYSCALL(__NR_openat2, sys_openat2) >> __

Re: [PATCH v1] riscv: Add jump-label implementation

2020-07-08 Thread Björn Töpel
On Tue, 7 Jul 2020 at 17:08, Emil Renner Berthing wrote: > > Add jump-label implementation based on the ARM64 version. > > Tested on the HiFive Unleashed board. > I took your patch for a spin on qemu. The boot selftest (CONFIG_STATIC_KEYS_SELFTEST=y) passes, but the module test (CONFIG_TEST_STATI

[PATCH v4 09/10] net: eth: altera: add msgdma prefetcher

2020-07-08 Thread Ooi, Joyce
From: Dalon Westergreen Add support for the mSGDMA prefetcher. The prefetcher adds support for a linked list of descriptors in system memory. The prefetcher feeds these to the mSGDMA dispatcher. The prefetcher is configured to poll for the next descriptor in the list to be owned by hardware, t

Re: [PATCH v2 0/9] Summit SMB3xx driver & device-tree

2020-07-08 Thread Dmitry Osipenko
07.06.2020 17:41, Dmitry Osipenko пишет: > We gathered existing patches, fixed and improved what we could and > final result is an working charging driver with device-tree support > for Nexus 7. > > At this moment charging works with: > - Nexus 7 2012 (grouper and tilapia) > - Nexus 7 2013 (flo

Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-08 Thread Lee Jones
On Wed, 08 Jul 2020, Damien Le Moal wrote: > On 2020/07/08 15:51, Lee Jones wrote: > > On Wed, 08 Jul 2020, Damien Le Moal wrote: > > > >> On 2020/07/07 23:01, Lee Jones wrote: > >>> This set is part of a larger effort attempting to clean-up W=1 > >>> kernel builds, which are currently overwhelmi

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-08 Thread Mike Rapoport
On Wed, Jul 08, 2020 at 09:16:01AM +0200, David Hildenbrand wrote: > On 08.07.20 09:04, Dan Williams wrote: > > On Tue, Jul 7, 2020 at 11:59 PM David Hildenbrand wrote: > >> > >> On 08.07.20 08:22, Mike Rapoport wrote: > >>> On Tue, Jul 07, 2020 at 09:27:43PM -0700, Dan Williams wrote: > On T

Re: add an API to check if a streamming mapping needs sync calls

2020-07-08 Thread Christoph Hellwig
On Mon, Jun 29, 2020 at 03:39:01PM +0200, Björn Töpel wrote: > On 2020-06-29 15:03, Christoph Hellwig wrote: >> Hi all, >> >> this series lifts the somewhat hacky checks in the XSK code if a DMA >> streaming mapping needs dma_sync_single_for_{device,cpu} calls to the >> DMA API. >> > > Thanks a lot

Re: [PATCH v3 1/9] powerpc/watchpoint: Fix 512 byte boundary limit

2020-07-08 Thread Jordan Niethe
On Wed, Jul 8, 2020 at 2:53 PM Ravi Bangoria wrote: > > Milton Miller reported that we are aligning start and end address to > wrong size SZ_512M. It should be SZ_512. Fix that. > > While doing this change I also found a case where ALIGN() comparison > fails. Within a given aligned range, ALIGN()

linux-next: manual merge of the set_fs tree with the pm tree

2020-07-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the set_fs tree got a conflict in: drivers/acpi/battery.c between commit: 8830280a69dd ("ACPI: procfs: Remove last dirs after being marked deprecated for a decade") from the pm tree and commit: 598d0996ea31 ("proc: switch over direct seq_read method

Re: [PATCH v3 12/16] dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller

2020-07-08 Thread Lee Jones
On Wed, 08 Jul 2020, Frank Lee wrote: > Add a binding for A100's nmi controller. > > Signed-off-by: Frank Lee > --- > .../bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml | 3 > +++ > 1 file changed, 3 insertions(+) I'm sure 3/4 of the people in your recipients list have lit

  1   2   3   4   5   6   7   8   9   10   >