Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-18 Thread Sedat Dilek
On Sat, Jul 18, 2020 at 7:45 AM Ard Biesheuvel wrote: > > On Fri, 17 Jul 2020 at 21:17, Nick Desaulniers > wrote: > > > > On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar wrote: > > > > > > On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote: > > > > The compressed kernel currently conta

[PATCH 1/2] misc: hpilo: switch from 'pci_' to 'dma_' API

2020-07-18 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'ilo_ccb_setup()' GFP_ATOMIC must be used because a

[PATCH 2/2] misc: hpilo: avoid a useless memset

2020-07-18 Thread Christophe JAILLET
Avoid a memset after a call to 'dma_alloc_coherent()'. This is useless since commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") Signed-off-by: Christophe JAILLET --- drivers/misc/hpilo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/misc/hpilo.c b/drivers/m

Re: [PATCH v5 02/17] perf ftrace: add option '-F/--funcs' to list available functions

2020-07-18 Thread Changbin Du
On Fri, Jul 17, 2020 at 11:05:04AM -0400, Steven Rostedt wrote: > On Sat, 11 Jul 2020 20:40:20 +0800 > Changbin Du wrote: > > > This adds an option '-F/--funcs' to list all available functions to trace, > > which is read from tracing file 'available_filter_functions'. > > > > $ sudo ./perf ftrac

Re: [PATCH V1] arm64: dts: qcom: SD-card GPIO pin set bias-pull up

2020-07-18 Thread Bjorn Andersson
On Fri 17 Jul 23:34 PDT 2020, Shaik Sajida Bhanu wrote: > From: Veerabhadrarao Badiganti > > On some sc7180 based platforms where external pull is not present on cd-gpio, > this gpio state is getting read as HIGH when sleep config is applied on it. > This is resulting in SDcard rescan after susp

Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

2020-07-18 Thread Markus Elfring
>>> Applied. >> >> Do you care for patch review concerns according to this SmPL script >> adjustment? >> >> * https://lore.kernel.org/cocci/5c0dae88-e172-3ba6-f86c-d1a6238bb...@web.de/ >> https://lkml.org/lkml/2020/6/9/568 > > This one it complete nonsense. I hope that different views can be cl

Re: [PATCH] memcontrol: drop duplicate word and fix spello in

2020-07-18 Thread Chris Down
Randy Dunlap writes: From: Randy Dunlap Drop the doubled word "for" in a comment. Fix spello of "incremented". Signed-off-by: Randy Dunlap Cc: Johannes Weiner Cc: Michal Hocko Cc: Vladimir Davydov Cc: cgro...@vger.kernel.org Cc: linux...@kvack.org Cc: Andrew Morton Acked-by: Chris Down

Re: [PATCH V1] arm64: dts: qcom: Add bandwidth votes for eMMC and SDcard

2020-07-18 Thread Bjorn Andersson
On Fri 17 Jul 23:33 PDT 2020, Shaik Sajida Bhanu wrote: Plase add "sc7180: " between "qcom:" and "Add" > From: Pradeep P V K > > Add the bandwidth domain supporting performance state and > the corresponding OPP tables for the sdhc device on sc7180. > You need Pradeep's signed-off-by here befo

[PATCH] copy_xstate_to_kernel: Fix typo which caused GDB regression

2020-07-18 Thread Kevin Buettner
This commit fixes a regression encountered while running the gdb.base/corefile.exp test in GDB's test suite. In my testing, the typo prevented the sw_reserved field of struct fxregs_state from being output to the kernel XSAVES area. Thus the correct mask corresponding to XCR0 was not present in t

[PATCH 2/2] arm64: dts: meson: add audio playback to khadas-vim3l

2020-07-18 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s, copying the config from the existing VIM3 device-tree. Signed-off-by: Christian Hewitt --- .../dts/amlogic/meson-sm1-khadas-vim3l.dts| 88 +++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-k

[PATCH 1/2] arm64: dts: meson: add audio playback to odroid-c4

2020-07-18 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../boot/dts/amlogic/meson-sm1-odroid-c4.dts | 88 +++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-o

[PATCH 0/2] arm64: dts: meson: add more SM1 soundcards

2020-07-18 Thread Christian Hewitt
This series adds basic support for LPCM audio over HDMI interfaces to the Khadas VIM3L (reusing the same config as the VIM3) and the HardKernel ODROID-C4 devices. I'm sure support can be extended to include other hardware but this gets the HDMI port working as a minimum capability. I have personall

[PATCH] drm/i810: switch from 'pci_' to 'dma_' API

2020-07-18 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'i810_dma_initialize()' GFP_KERNEL can be used becau

[PATCH 2/2] atomisp: remove non-used 32-bits consts at system_local

2020-07-18 Thread Mauro Carvalho Chehab
There is an abstraction at the code in order to support 32 or 64 bits address/data length. However, for all Atom chipsets supported by this version, the size is fixed. So, cleanup the mess, removing the uused code and placing the data sizes on a single place. The end goal is to completely remove

[PATCH 1/2] media: atomisp: get rid of some unused static vars

2020-07-18 Thread Mauro Carvalho Chehab
There are several static vars declared inside the system local headers. This causes lots of warnings when W=1. Remove the unused ones. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/pci/isp2400_system_local.h | 38 --- .../media/atomisp/pci/isp2401_system_local.h |

Re: [PATCH] powerpc/boot: Use address-of operator on section symbols

2020-07-18 Thread Geert Uytterhoeven
Hi Nathan, On Wed, Jun 24, 2020 at 6:02 AM Nathan Chancellor wrote: > arch/powerpc/boot/main.c:107:18: warning: array comparison always > evaluates to a constant [-Wtautological-compare] > if (_initrd_end > _initrd_start) { > ^ > arch/powerpc/boot/main.c:155:20: wa

Re: [PATCH] net: cxgb3: add missed destroy_workqueue in cxgb3 probe failure

2020-07-18 Thread wanghai (M)
在 2020/7/18 9:39, David Miller 写道: From: Wang Hai Date: Fri, 17 Jul 2020 14:21:17 +0800 The driver forgets to call destroy_workqueue when cxgb3 probe fails. Add the missed calls to fix it. Fixes: 4d22de3e6cc4 ("Add support for the latest 1G/10G Chelsio adapter, T3.") Reported-by: Hulk Robot

[PATCH] ACPI/PCI: fix array_size.cocci warnings

2020-07-18 Thread kernel test robot
://github.com/0day-ci/linux/commits/sathyanarayanan-kuppuswamy-linux-intel-com/Simplify-PCIe-native-ownership-detection-logic/20200718-012614 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next pci_root.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/acpi

Re: [PATCH v7 2/5] ACPI/PCI: Ignore _OSC negotiation result if pcie_ports_native is set.

2020-07-18 Thread kernel test robot
-base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/sathyanarayanan-kuppuswamy-linux-intel-com/Simplify-PCIe-native-ownership-detection-logic/20200718-012614 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git n

Re: [PATCH] m68k: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Am 18.07.20 um 06:25 schrieb Finn Thain: On Fri, 17 Jul 2020, Alexander A. Klimov wrote: Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Has that actually happened? I hope no. And with my patch it won't happen.

Re: [RFC PATCH 4/7] crypto: remove ARC4 support from the skcipher API

2020-07-18 Thread Ard Biesheuvel
On Fri, 3 Jul 2020 at 02:04, Ard Biesheuvel wrote: > > On Thu, 2 Jul 2020 at 20:21, Ard Biesheuvel wrote: > > > > On Thu, 2 Jul 2020 at 19:50, Eric Biggers wrote: > > > > > > [+linux-wireless, Marcel Holtmann, and Denis Kenzior] > > > > > > On Thu, Jul 02, 2020 at 12:19:44PM +0200, Ard Biesheuve

Re: [PATCH net-next v1 1/2] hinic: add support to handle hw abnormal event

2020-07-18 Thread luobin (L)
On 2020/7/18 3:11, Jakub Kicinski wrote: > On Fri, 17 Jul 2020 16:34:47 +0800 Luo bin wrote: >> add support to handle hw abnormal event such as hardware failure, >> cable unplugged,link error >> >> Signed-off-by: Luo bin >> Reported-by: kernel test robot > >> +static void hinic_comm_recv_mgmt_se

Re: [TEGRA194_CPUFREQ PATCH v6 2/3] arm64: tegra: Add t194 ccplex compatible and bpmp property

2020-07-18 Thread Viresh Kumar
On 16-07-20, 14:37, Thierry Reding wrote: > On Wed, Jul 15, 2020 at 07:01:24PM +0530, Sumit Gupta wrote: > > On Tegra194, data on valid operating points for the CPUs needs to be > > queried from BPMP. In T194, there is no node representing CPU complex. > > So, add compatible string to the 'cpus' no

[RESEND] net: decnet: TODO Items

2020-07-18 Thread Suraj Upadhyay
Hi Maintainers and Developers, I am interested in the DECnet TODO list. I just need a quick response whether they are worth doing or not for the amount of development happening in this subsystem is extremely low and I can't help but question whether I should indulge in any of the listed wor

[PATCH 0/2] task_put batching

2020-07-18 Thread Pavel Begunkov
For my a bit exaggerated test case perf continues to show high CPU cosumption by io_dismantle(), and so calling it io_iopoll_complete(). Even though the patch doesn't yield throughput increase for my setup, probably because the effect is hidden behind polling, but it definitely improves relative pe

[PATCH 2/2] io_uring: batch put_task_struct()

2020-07-18 Thread Pavel Begunkov
As every iopoll request have a task ref, it becomes expensive to put them one by one, instead we can put several at once integrating that into io_req_free_batch(). Signed-off-by: Pavel Begunkov --- fs/io_uring.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-)

[PATCH 1/2] tasks: add put_task_struct_many()

2020-07-18 Thread Pavel Begunkov
put_task_struct_many() is as put_task_struct() but puts several references at once. Useful to batching it. Signed-off-by: Pavel Begunkov --- include/linux/sched/task.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h index 38359071

linux-next: Signed-off-by missing for commit in the thermal tree

2020-07-18 Thread Stephen Rothwell
Hi all, Commit 130b31498517 ("thermal: core: remove redundant initialization of variable ret") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgp1wy8Yu7GuU.pgp Description: OpenPGP digital signature

[PATCH v4] PCI: loongson: Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk()

2020-07-18 Thread Tiezhu Yang
According to the datasheet of Loongson LS7A bridge chip, the old version of Loongson LS7A PCIE port has a wrong value about PCI class which is 0x06, the correct value should be 0x060400, this bug can be fixed by "dev->class = PCI_CLASS_BRIDGE_PCI << 8;" at the software level. As far as I know,

linux-next: Signed-off-by missing for commit in the net-next tree

2020-07-18 Thread Stephen Rothwell
Hi all, Commit 1315971fea66 ("net/mlx5e: Fix missing switch_id for representors") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpjpTuMGtYOK.pgp Description: OpenPGP digital signature

From Michelle

2020-07-18 Thread MICHELLE GOODMAN
Hallo, ich hoffe du hast meine Nachricht erhalten. Ich brauche schnelle Reaktionen Danke Michelle

Re: [PATCH v7 3/5] MIPS: Ingenic: Let the Kconfig of platform enable the clocksource driver.

2020-07-18 Thread Sergei Shtylyov
Hello! On 17.07.2020 19:59, 周琰杰 (Zhou Yanjie) wrote: The previous clocksource patch in this series ([2/3]) has remove Removed. "default MACH_INGENIC" and make option silent, so we need to Made? enable the corresponding driver in the platform's Kconfig. Suggested-by: Daniel Lezcano

Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

2020-07-18 Thread Julia Lawall
On Sat, 18 Jul 2020, Markus Elfring wrote: > >>> Applied. > >> > >> Do you care for patch review concerns according to this SmPL script > >> adjustment? > >> > >> * > >> https://lore.kernel.org/cocci/5c0dae88-e172-3ba6-f86c-d1a6238bb...@web.de/ > >> https://lkml.org/lkml/2020/6/9/568 > > > >

Re: [PATCH v4] PCI: loongson: Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk()

2020-07-18 Thread Sergei Shtylyov
On 18.07.2020 11:37, Tiezhu Yang wrote: According to the datasheet of Loongson LS7A bridge chip, the old version of Loongson LS7A PCIE port has a wrong value about PCI class which is 0x06, the correct value should be 0x060400, this bug can be fixed by "dev->class = PCI_CLASS_BRIDGE_PCI << 8;

Re: [PATCH] arm64: dts: meson: update spifc node name on Khadas VIM3/VIM3L

2020-07-18 Thread Neil Armstrong
Le 18/07/2020 à 07:45, Christian Hewitt a écrit : > The VIM3/VIM3L Boards use w25q128 not w25q32 - this is a cosmetic change > only - the device probes fine with the current device-tree. > > Fixes: 0e1610e726d3 ("arm64: dts: khadas-vim3: add SPIFC controller node") > Signed-off-by: Christian Hew

Re: [PATCH 2/2] arm64: dts: meson: add support for the WeTek Core 2

2020-07-18 Thread Neil Armstrong
Le 18/07/2020 à 07:00, Christian Hewitt a écrit : > The WeTek Core2 is a commercial device based on the Amlogic Q200 reference > design but with the following differences: > > - 3GB RAM, 32GB eMMC > - Blue and Red LEDs used to signal on/off status > - uart_AO can be accessed after opening the c

[PATCH net-next v2 0/2] hinic: add some error messages for debug

2020-07-18 Thread Luo bin
patch #1: support to handle hw abnormal event patch #2: improve the error messages when functions return failure and dump relevant registers in some exception handling processes Luo bin (2): hinic: add support to handle hw abnormal event hinic: add log in exception handling processes

[PATCH net-next v2 2/2] hinic: add log in exception handling processes

2020-07-18 Thread Luo bin
improve the error message when functions return failure and dump relevant registers in some exception handling processes Signed-off-by: Luo bin --- V0~V1: fix some warning reported by sparse .../ethernet/huawei/hinic/hinic_hw_api_cmd.c | 27 +++- .../ethernet/huawei/hinic/hinic_hw_api_cmd.

[PATCH net-next v2 1/2] hinic: add support to handle hw abnormal event

2020-07-18 Thread Luo bin
add support to handle hw abnormal event such as hardware failure, cable unplugged,link error Signed-off-by: Luo bin --- V1~V2: add link extended state V0~V1: fix auto build test WARNING drivers/net/ethernet/huawei/hinic/hinic_dev.h | 2 + .../net/ethernet/huawei/hinic/hinic_ethtool.c | 20 ++

[PATCH] mmc: sdhci_am654: Replace HTTP links with HTTPS ones

2020-07-18 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 2/2] arm64: dts: meson: add support for the WeTek Core 2

2020-07-18 Thread Christian Hewitt
> On 18 Jul 2020, at 12:52 pm, Neil Armstrong wrote: > > Le 18/07/2020 à 07:00, Christian Hewitt a écrit : >> The WeTek Core2 is a commercial device based on the Amlogic Q200 reference >> design but with the following differences: >> >> - 3GB RAM, 32GB eMMC >> - Blue and Red LEDs used to signa

From Michelle

2020-07-18 Thread michelle goodman
Hallo, ich hoffe du hast meine Nachricht erhalten. Ich brauche schnelle Reaktionen Danke Michelle

Re: [PATCH] powerpc/boot: Use address-of operator on section symbols

2020-07-18 Thread Arnd Bergmann
On Thu, Jun 25, 2020 at 6:32 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Wed, Jun 24, 2020 at 6:19 PM Geoff Levand wrote: > > > > Hi Nathan, > > > > On 6/23/20 8:59 PM, Nathan Chancellor wrote: > > > These are not true arrays, they are linker defined symbols, which are > > > just ad

[PATCH 1/4] staging: rtl8188eu: include: fixed multiple blank space coding style issues

2020-07-18 Thread B K Karthik
fixed multiple blank space coding style issues reported by checkpatch Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/hal_com.h | 2 +- drivers/staging/rtl8188eu/include/osdep_service.h | 2 +- drivers/staging/rtl8188eu/include/rtl8188e_hal.h | 2 +- drivers/staging/rt

[PATCH 2/4] staging: rtl8188eu: include: fixed multiple parentheses coding style issues

2020-07-18 Thread B K Karthik
fixed multiple parentheses coding style issues reported by checkpatch. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/ieee80211.h | 4 +-- .../staging/rtl8188eu/include/osdep_service.h | 4 +-- drivers/staging/rtl8188eu/include/wifi.h | 34 +-- 3 files ch

Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

2020-07-18 Thread Markus Elfring
* https://lore.kernel.org/cocci/5c0dae88-e172-3ba6-f86c-d1a6238bb...@web.de/ https://lkml.org/lkml/2020/6/9/568 >>> >>> This one it complete nonsense. >> >> I hope that different views can be clarified for such a software situation >> in more constructive ways. > > You proposed es

[PATCH 3/4] staging: rtl8188eu: include: enclosed macros in do-while loops

2020-07-18 Thread B K Karthik
enclosed macros starting with if inside do-while loops to avoid possible if-else logic defects Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/odm_debug.h | 28 +++ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/

[PATCH 4/4] staging: rtl8188eu: include: placed constant on the right side of the test in comparisons

2020-07-18 Thread B K Karthik
placed constant on the right side of the test to fix warnings issued by checkpatch Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_mlme.h | 4 ++-- drivers/staging/rtl8188eu/include/wifi.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/sta

[PATCH v6 02/10] dmaengine: Actions: get rid of bit fields from dma descriptor

2020-07-18 Thread Amit Singh Tomar
At the moment, Driver uses bit fields to describe registers of the DMA descriptor structure that makes it less portable and maintainable, and Andre suugested(and even sketched important bits for it) to make use of array to describe this DMA descriptors instead. It gives the flexibility while extend

[PATCH v6 04/10] clk: actions: Add MMC clock-register reset bits

2020-07-18 Thread Amit Singh Tomar
This commit adds reset bits needed for MMC clock registers present on Actions S700 SoC. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added Mani's Reviewed-by: tag. Changes from v4: * Reordered it from 03/10 to 04/10. Changes from v3:

[PATCH v6 07/10] dt-bindings: reset: s700: Add binding constants for mmc

2020-07-18 Thread Amit Singh Tomar
This commit adds device tree binding reset constants for mmc controller present on Actions S700 Soc. Reviewed-by: Manivannan Sadhasivam Acked-by: Rob Herring Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added Mani's Reviewed-by: tag. Changes since v4: * No change. Cha

[PATCH v6 03/10] dmaengine: Actions: Add support for S700 DMA engine

2020-07-18 Thread Amit Singh Tomar
DMA controller present on S700 SoC is compatible with the one on S900 (as most of registers are same), but it has different DMA descriptor structure where registers "fcnt" and "ctrlb" uses different encoding. For instance, on S900 "fcnt" starts at offset 0x0c and uses upper 12 bits whereas on S700

[PATCH v6 06/10] arm64: dts: actions: Add DMA Controller for S700

2020-07-18 Thread Amit Singh Tomar
This commit adds DMA controller present on Actions S700, it differs from S900 in terms of number of dma channels and requests. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added Mani's Reviewed-by: tag. Changes since v4: * No change.

[PATCH v6 01/10] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml

2020-07-18 Thread Amit Singh Tomar
Converts the device tree bindings for the Actions Semi Owl SoCs DMA Controller over to YAML schemas. It also adds new compatible string "actions,s700-dma". Signed-off-by: Amit Singh Tomar --- Changes since v5: * Removed Rob's Reviewed-by tag as his bot found errors running 'mak

[PATCH v6 08/10] dt-bindings: mmc: owl: add compatible string actions,s700-mmc

2020-07-18 Thread Amit Singh Tomar
The commit adds a new SoC specific compatible string "actions,s700-mmc" in combination with more generic string "actions,owl-mmc". Placement order of these strings should abide by the principle of "from most specific to most general". Reviewed-by: Manivannan Sadhasivam Reviewed-by: Rob Herring

[PATCH v6 00/10] Add MMC and DMA support for Actions S700

2020-07-18 Thread Amit Singh Tomar
This Series(v6) addressed the review comments from Rob and Mani, changes are made in patch 01/10 and 10/10. Rob's bot reported an error for patch 01/10, and now it has been fixed by adjusting the reg property in example section. For patch 10/10 unnecessary regulators are removed as suggested by M

[PATCH v6 10/10] arm64: dts: actions: Add uSD support for Cubieboard7

2020-07-18 Thread Amit Singh Tomar
This commit adds uSD support for Cubieboard7 board based on Actions Semi S700 SoC. SD0 is connected to uSD slot. Since there is no PMIC support added yet, fixed regulator has been used as a regulator node. Signed-off-by: Amit Singh Tomar --- Changes since v5: * Removed the Fixed regulator

[PATCH v6 05/10] arm64: dts: actions: limit address range for pinctrl node

2020-07-18 Thread Amit Singh Tomar
After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions Semi S700") following error has been observed while booting Linux on Cubieboard7-lite(based on S700 SoC). [0.257415] pinctrl-s700 e01b.pinctrl: can't request region for resource [mem 0xe01b-0xe01b0fff] [0

[PATCH v6 09/10] arm64: dts: actions: Add MMC controller support for S700

2020-07-18 Thread Amit Singh Tomar
This commits adds support for MMC controllers present on Actions S700 SoC, there are 3 MMC controllers in this SoC which can be used for accessing SD/EMMC/SDIO cards. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added Mani's Reviewed-by: tag.

[PATCH v2] AF_PACKET doesnt strip VLAN information

2020-07-18 Thread Sriram Krishnan
When an application sends with AF_PACKET and places a vlan header on the raw packet; then the AF_PACKET needs to move the tag into the skb so that it gets processed normally through the rest of the transmit path. This is particularly a problem on Hyper-V where the host only allows vlan in the offl

Re: [RFT PATCH v3 1/9] RISC-V: Move DT mapping outof fixmap

2020-07-18 Thread Arnd Bergmann
On Sat, Jul 18, 2020 at 3:05 AM Atish Patra wrote: > On Thu, Jul 16, 2020 at 11:32 PM Arnd Bergmann wrote: > > On Fri, Jul 17, 2020 at 1:41 AM Atish Patra wrote: > > > +#define DTB_EARLY_SIZE SZ_1M > > > +static char early_dtb[DTB_EARLY_SIZE] __initdata; > > > > Hardcoding the size in .b

Re: [PATCH 15/30] iio: dummy: iio_dummy_evgen: Demote file header and supply description for 'irq_sim_domain'

2020-07-18 Thread Bartosz Golaszewski
On Thu, Jul 16, 2020 at 3:59 PM Lee Jones wrote: > > File headers are not good candidates for kerneldoc. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/dummy/iio_dummy_evgen.c:30: warning: Cannot understand * @regs: > irq regs we are faking > on line 30 - I thought it was

[PATCH v2 3/4] media: atomisp: move global stuff into a common header

2020-07-18 Thread Mauro Carvalho Chehab
Right now, there are two versions of system_global.h headers. Both share a lot of common code. There are some ISP2401 specific types on one of the headers, but it doesn't conflict with the ISP2400 ones. Also, the common code is identical. So, remove code duplication by moving such code into a co

[PATCH v2 2/4] media: atomisp: remove non-used 32-bits consts at system_local

2020-07-18 Thread Mauro Carvalho Chehab
There is an abstraction at the code in order to support 32 or 64 bits address/data length. However, for all Atom chipsets supported by this version, the size is fixed. So, cleanup the mess, removing the uused code and placing the data sizes on a single place. The end goal is to completely remove

[PATCH v2 4/4] media: atomisp: get rid of version-specific system_local.h

2020-07-18 Thread Mauro Carvalho Chehab
After removing the unused 32-bits data, the isp2401_system_local.h now contains everything that it is needed, either by isp2401 or by isp2400. So, remove code duplication. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/pci/isp2400_system_local.h | 149 - .../media/atomi

[PATCH v2 1/4] media: atomisp: get rid of some unused static vars

2020-07-18 Thread Mauro Carvalho Chehab
There are several static vars declared inside the system local headers. This causes lots of warnings when W=1. Remove the unused ones. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/pci/isp2400_system_local.h | 38 --- .../media/atomisp/pci/isp2401_system_local.h |

[PATCH] scsi: aacraid: Remove pci-dma-compat wrapper APIs.

2020-07-18 Thread Suraj Upadhyay
The legacy API wrappers in include/linux/pci-dma-compat.h should go away as it creates unnecessary midlayering for include/linux/dma-mapping.h APIs, instead use dma-mapping.h APIs directly. The patch has been generated with the coccinelle script below and compile-tested. - PCI_DMA_BIDIRECTIO

[PATCH] net: dsa: qca8k: implement the port MTU callbacks

2020-07-18 Thread Jonathan McDowell
This switch has a single max frame size configuration register, so we track the requested MTU for each port and apply the largest. Signed-off-by: Jonathan McDowell --- drivers/net/dsa/qca8k.c | 38 ++ drivers/net/dsa/qca8k.h | 3 +++ 2 files changed, 41 inser

[PATCH] scsi: aic7xxx: Remove pci-dma-compat wrapper APIs.

2020-07-18 Thread Suraj Upadhyay
The legacy API wrappers in include/linux/pci-dma-compat.h should go away as it creates unnecessary midlayering for include/linux/dma-mapping.h APIs, instead use dma-mapping.h APIs directly. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ wit

[PATCH v5] PCI: loongson: Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk()

2020-07-18 Thread Tiezhu Yang
According to the datasheet of Loongson LS7A bridge chip, the old version of Loongson LS7A PCIE port has a wrong value about PCI class which is 0x06, the correct value should be 0x060400, this bug can be fixed by "dev->class = PCI_CLASS_BRIDGE_PCI << 8;" at the software level. As far as I know,

[PATCH] scsi: hpsa and dc395x: Remove pci_dma_compat wrapper APIs.

2020-07-18 Thread Suraj Upadhyay
The legacy API wrappers in include/linux/pci-dma-compat.h should go away as it creates unnecessary midlayering for include/linux/dma-mapping.h APIs, instead use dma-mapping.h APIs directly. The patch has been generated with the coccinelle script below and compile-tested. - PCI_DMA_BIDIRECTIO

[PATCH] power: reset: keystone-reset: Replace HTTP links with HTTPS ones

2020-07-18 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|/)`:

[PATCH v2 1/2] dt-bindings: arm: amlogic: add support for the WeTek Core 2

2020-07-18 Thread Christian Hewitt
The WeTek Core 2 is a commercial Android device based on the Amlogic Q200 reference design using the S912-H chipset. Specs: 3GB DDR3 RAM 32GB eMMC storage 10/100 Ethernet using Realtek RTL8152 (internal USB) 802.11 a/b/g/n/ac + BT 4.1 sdio wireless module (AP6356S) 2x single colour LEDs to indicat

Re: [PATCH] misc: rtsx: Add support new chip rts5228 mmc: rtsx: Add support MMC_CAP2_NO_MMC

2020-07-18 Thread Ulf Hansson
On Mon, 6 Jul 2020 at 09:03, wrote: > > From: Ricky Wu > > In order to support new chip rts5228, the definitions of some internal > registers and workflow have to be modified. > Added rts5228.c rts5228.h for independent functions of the new chip rts5228 > > Signed-off-by: Ricky Wu > --- > drive

[PATCH v2 2/2] arm64: dts: meson: add support for the WeTek Core 2

2020-07-18 Thread Christian Hewitt
The WeTek Core2 is a commercial device based on the Amlogic Q200 reference design but with the following differences: - 3GB RAM, 32GB eMMC - Blue and Red LEDs used to signal on/off status - uart_AO can be accessed after opening the case; soldering required - USB OTG is not accessible (inside the c

Re: [PATCH 1/6] syscalls: use uaccess_kernel in addr_limit_user_check

2020-07-18 Thread Christoph Hellwig
On Fri, Jul 17, 2020 at 06:38:50PM -0700, Guenter Roeck wrote: > Hi, > > On Tue, Jul 14, 2020 at 12:55:00PM +0200, Christoph Hellwig wrote: > > Use the uaccess_kernel helper instead of duplicating it. > > > > Signed-off-by: Christoph Hellwig > > This patch causes a severe hiccup with my mps2-an

[PATCH] scsi: mpt3sas: Remove pci-dma-compat wrapper APIs.

2020-07-18 Thread Suraj Upadhyay
The legacy API wrappers in include/linux/pci-dma-compat.h should go away as it creates unnecessary midlayering for include/linux/dma-mapping.h APIs, instead use dma-mapping.h APIs directly. The patch has been generated with the coccinelle script below and compile-tested. - PCI_DMA_BIDIRECTIO

[PATCH] scsi: qla2xxx: Remove pci-dma-compat wrapper APIs.

2020-07-18 Thread Suraj Upadhyay
The legacy API wrappers in include/linux/pci-dma-compat.h should go away as it creates unnecessary midlayering for include/linux/dma-mapping.h APIs, instead use dma-mapping.h APIs directly. The patch has been generated with the coccinelle script below and compile-tested. - PCI_DMA_BIDIRECTIO

[PATCH 1/2] scsi: megaraid: Remove pci-dma-compat wrapper APIs.

2020-07-18 Thread Suraj Upadhyay
The legacy API wrappers in include/linux/pci-dma-compat.h should go away as it creates unnecessary midlayering for include/linux/dma-mapping.h APIs, instead use dma-mapping.h APIs directly. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ wit

[PATCH 2/2] scsi: megaraid: Remove remaining pci-dma-compat wrapper APIs.

2020-07-18 Thread Suraj Upadhyay
The legacy API wrappers in include/linux/pci-dma-compat.h should go away as it creates unnecessary midlayering for include/linux/dma-mapping.h APIs, instead use dma-mapping.h APIs directly. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ wit

Re: [PATCH 16/23] initramfs: simplify clean_rootfs

2020-07-18 Thread Christoph Hellwig
On Fri, Jul 17, 2020 at 10:55:48PM +0200, Marek Szyprowski wrote: > Hi Christoph, > > On 14.07.2020 21:04, Christoph Hellwig wrote: > > Just use d_genocide instead of iterating through the root directory with > > cumbersome userspace-like APIs. This also ensures we actually remove files > > that

[PATCH] ipw2x00: Replace HTTP links with HTTPS ones

2020-07-18 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|/)`:

[PATCH] net: dsa: felix: Make some symbols static

2020-07-18 Thread Wang Hai
Fix sparse build warning: drivers/net/dsa/ocelot/felix_vsc9959.c:560:19: warning: symbol 'vsc9959_vcap_is2_keys' was not declared. Should it be static? drivers/net/dsa/ocelot/felix_vsc9959.c:640:19: warning: symbol 'vsc9959_vcap_is2_actions' was not declared. Should it be static? Reported-by: H

[PATCH] tty: serial: uartlite: Replace HTTP links with HTTPS ones

2020-07-18 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 v7 3/5] MIPS: Ingenic: Let the Kconfig of platform enable the clocksource driver.

2020-07-18 Thread Zhou Yanjie
Hi Sergei, 在 2020/7/18 下午4:39, Sergei Shtylyov 写道: Hello! On 17.07.2020 19:59, 周琰杰 (Zhou Yanjie) wrote: The previous clocksource patch in this series ([2/3]) has remove   Removed. "default MACH_INGENIC" and make option silent, so we need to   Made? enable the corresponding driver in t

[PATCH] mISDN: switch from 'pci_' to 'dma_' API

2020-07-18 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'setup_hw()' (hfcpci.c) GFP_KERNEL can be used becau

[tip:timers/core] BUILD SUCCESS 36cd28a4cdd05d47ccb62a2d86e8f37839cc879a

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core branch HEAD: 36cd28a4cdd05d47ccb62a2d86e8f37839cc879a timers: Lower base clock forwarding threshold i386-tinyconfig vmlinux size: ==

[tip:core/debugobjects] BUILD SUCCESS 0f85c4805184765ff35e0079b3241ee8f25d1b2b

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/debugobjects branch HEAD: 0f85c4805184765ff35e0079b3241ee8f25d1b2b debugobjects: Convert to DEFINE_SHOW_ATTRIBUTE elapsed time: 726m configs tested: 115 configs skipped: 2 The following configs have been built succ

[tip:timers/urgent] BUILD SUCCESS e2a71bdea81690b6ef11f4368261ec6f5b6891aa

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent branch HEAD: e2a71bdea81690b6ef11f4368261ec6f5b6891aa timer: Fix wheel index calculation on last level elapsed time: 726m configs tested: 84 configs skipped: 1 The following configs have been built success

[tip:irq/urgent] BUILD SUCCESS baedb87d1b53532f81b4bd0387f83b05d4f7eb9a

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/urgent branch HEAD: baedb87d1b53532f81b4bd0387f83b05d4f7eb9a genirq/affinity: Handle affinity setting on inactive interrupts correctly elapsed time: 726m configs tested: 112 configs skipped: 1 The following configs

[PATCH] serial: altera_jtaguart: Replace HTTP links with HTTPS ones

2020-07-18 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|/)`:

[PATCH] HID: udraw-ps3: Replace HTTP links with HTTPS ones

2020-07-18 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|/)`:

[tip: x86/urgent] x86/ioperm: Fix io bitmap invalidation on Xen PV

2020-07-18 Thread tip-bot2 for Andy Lutomirski
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: cadfad870154e14f745ec845708bc17d166065f2 Gitweb: https://git.kernel.org/tip/cadfad870154e14f745ec845708bc17d166065f2 Author:Andy Lutomirski AuthorDate:Fri, 17 Jul 2020 16:53:55 -07:00 Commit

Re: [PATCH] net: dsa: qca8k: implement the port MTU callbacks

2020-07-18 Thread Vladimir Oltean
On Sat, Jul 18, 2020 at 10:35:55AM +0100, Jonathan McDowell wrote: > This switch has a single max frame size configuration register, so we > track the requested MTU for each port and apply the largest. > > Signed-off-by: Jonathan McDowell > --- > drivers/net/dsa/qca8k.c | 38

Re: [PATCH] HID: udraw-ps3: Replace HTTP links with HTTPS ones

2020-07-18 Thread Bastien Nocera
On Sat, 2020-07-18 at 12:33 +0200, Alexander A. Klimov wrote: > 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 cont

[PATCH] powerpc: Replace HTTP links with HTTPS ones

2020-07-18 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] net: dsa: felix: Make some symbols static

2020-07-18 Thread Vladimir Oltean
On Sat, Jul 18, 2020 at 06:01:58PM +0800, Wang Hai wrote: > Fix sparse build warning: > > drivers/net/dsa/ocelot/felix_vsc9959.c:560:19: warning: > symbol 'vsc9959_vcap_is2_keys' was not declared. Should it be static? > drivers/net/dsa/ocelot/felix_vsc9959.c:640:19: warning: > symbol 'vsc9959_vc

[PATCH] pinctrl: samsung: Replace HTTP links with HTTPS ones

2020-07-18 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] net: dsa: felix: Make some symbols static

2020-07-18 Thread wanghai (M)
Thanks for reminding me, I'll do it. 在 2020/7/18 18:40, Vladimir Oltean 写道: On Sat, Jul 18, 2020 at 06:01:58PM +0800, Wang Hai wrote: Fix sparse build warning: drivers/net/dsa/ocelot/felix_vsc9959.c:560:19: warning: symbol 'vsc9959_vcap_is2_keys' was not declared. Should it be static? driver

[PATCH v2 0/3] rk3318 A95X Z2 board

2020-07-18 Thread Johan Jonker
Add rk3318 A95X Z2 board. What works: adc key emmc ethernet hdmi gpu ir mmc sd card vop usb2 uart2 Not tested: av uart0 / bt spdif wifi No support in mainline: usb3 (works with manufacturer driver) front display (works with custom gpio driver AD1628/HT1628) Problems: U-boot on

  1   2   3   4   5   >