[GIT PULL for v5.10-rc1] media updates

2020-10-12 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v5.10-1 For: - The usbvision driver was dropped from staging; - The Zoran driver were re-added at staging. It gained lots of improvements, and was converted to use videobuf2 API;

You should see this message

2020-10-12 Thread Warren B.
WB Foundation sent an email to you a few days ago, and we did not receive a response from you, please check your inbox folder to confirm receipt of our last email to you. Regards, WB Foundation.

[tip: perf/core] perf/core: Fix race in the perf_mmap_close() function

2020-10-12 Thread tip-bot2 for Jiri Olsa
The following commit has been merged into the perf/core branch of tip: Commit-ID: f91072ed1b7283b13ca57fcfbece5a3b92726143 Gitweb: https://git.kernel.org/tip/f91072ed1b7283b13ca57fcfbece5a3b92726143 Author:Jiri Olsa AuthorDate:Wed, 16 Sep 2020 13:53:11 +02:00 Committer:

Re: [PATCH 0/4] powercap/dtpm: Add the DTPM framework

2020-10-12 Thread Hans de Goede
Hi Daniel, On 10/12/20 12:30 PM, Daniel Lezcano wrote: Hi Hans, On 07/10/2020 12:43, Hans de Goede wrote: Hi, On 10/6/20 2:20 PM, Daniel Lezcano wrote: The density of components greatly increased the last decade bringing a numerous number of heating sources which are monitored by more than

[PATCH] drm/amd/display: remove no need return value

2020-10-12 Thread Bernard Zhao
Functions (disable_all_writeback_pipes_for_stream & dc_enable_stereo & dc_post_update_surfaces_to_stream) always return true, there is no need to keep the return value. This change is to make the code a bit more readable. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/display/dc/core/dc.c

Re: [PATCH v3 1/7] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-10-12 Thread Lee Jones
On Mon, 12 Oct 2020, Uwe Kleine-König wrote: > On Thu, Sep 24, 2020 at 09:24:49PM +0200, Jonathan Neuschäfer wrote: > > Netronix, Inc. (http://www.netronixinc.com/) makes ebook reader board > > designs, which are for example used in Kobo and Tolino devices. > > > > An alternative prefix for Netro

[PATCH v3 06/11] firmware: ti_sci: rm: Remove ring_get_config support

2020-10-12 Thread Peter Ujfalusi
The ring_get_cfg (0x message) is not used and it is not supported by sysfw for a long time. Signed-off-by: Peter Ujfalusi Reviewed-by: Grygorii Strashko --- drivers/firmware/ti_sci.c | 80 -- drivers/firmware/ti_sci.h | 44 -- in

[PATCH v3 02/11] firmware: ti_sci: Use struct ti_sci_resource_desc in get_range ops

2020-10-12 Thread Peter Ujfalusi
Use the ti_sci_resource_desc directly and update it's start and num members directly instead of requiring individual parameters for them. This will allow easy extension of the RM parameters without changing API. Signed-off-by: Peter Ujfalusi --- drivers/firmware/ti_sci.c | 32 +

[PATCH v3 01/11] firmware: ti_sci: rm: Add support for tx_tdtype parameter for tx channel

2020-10-12 Thread Peter Ujfalusi
The system controller's resource manager have support for configuring the TDTYPE of TCHAN_CFG register on j721e. With this parameter the teardown completion can be controlled: TDTYPE == 0: Return without waiting for peer to complete the teardown TDTYPE == 1: Wait for peer to complete the teardown

[PATCH v3 03/11] firmware: ti_sci: rm: Add support for second resource range

2020-10-12 Thread Peter Ujfalusi
Sysfw added support for a second range in the resource range API to be able to describe complex allocations mainly for DMA channels. Update the ti_sci part to consider the second range as well. Signed-off-by: Peter Ujfalusi --- drivers/firmware/ti_sci.c | 48 +--

[PATCH v3 07/11] firmware: ti_sci: rm: Add new ops for ring configuration

2020-10-12 Thread Peter Ujfalusi
The sysfw ring configuration message has been extended to include virtid and asel value for the ring. Add the ASEL_VALID to TI_SCI_MSG_VALUE_RM_ALL_NO_ORDER as it is required for DMA rings. Instead of extending the current .config() ops - which would need same patch change in the ringacc driver -

[PATCH v3 00/11] firmware/soc: ti_sci, ringacc/inta: Preparation for AM64 DMA support

2020-10-12 Thread Peter Ujfalusi
Hi, Changes since v2: - silence checkpatch CHECK for alignment by going over 80 chars in patch 10 Changes since v1: - Use AM64X as family name in patch 11 - Added Reviewed-by tag from Grygorii for patch 6-10 The series prepares the ti_sci, ringacc, inta to support the new DMAs introduced with AM

[PATCH v3 05/11] firmware: ti_sci: rm: Add support for extended_ch_type for tx channel

2020-10-12 Thread Peter Ujfalusi
Sysfw added 'extended_ch_type' to the tx_ch_cfg_req message which should be used when BCDMA block copy channels are configured: extended_ch_type = 0 : the channel is split tx channel (tchan) extended_ch_type = 1 : the channel is block copy channel (bchan) Signed-off-by: Peter Ujfalusi --- driver

[PATCH v3 04/11] soc: ti: ti_sci_inta_msi: Add support for second range in resource ranges

2020-10-12 Thread Peter Ujfalusi
Allocate MSI entries for both first and second range if they are valid Signed-off-by: Peter Ujfalusi --- drivers/soc/ti/ti_sci_inta_msi.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/soc/ti/ti_sci_inta_msi.c b/drivers/soc/ti/ti_sci_inta_msi.c index 0eb9462f609e..a1d9

[PATCH v3 11/11] soc: ti: k3-socinfo: Add entry for AM64X SoC family

2020-10-12 Thread Peter Ujfalusi
It's JTAG PARTNO is 0xBB38. Signed-off-by: Peter Ujfalusi --- drivers/soc/ti/k3-socinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/ti/k3-socinfo.c b/drivers/soc/ti/k3-socinfo.c index bbbc2d2b7091..fd91129de6e5 100644 --- a/drivers/soc/ti/k3-socinfo.c +++ b/drivers/soc/ti/k

[PATCH v3 10/11] soc: ti: k3-ringacc: Use correct device for allocation in RING mode

2020-10-12 Thread Peter Ujfalusi
In RING mode the ringacc does not access the ring memory. In this access mode the ringacc coherency does not have meaning. If the ring is configured in RING mode, then the ringacc itself will not access to the ring memory. Only the requester (user) of the ring is going to read/write to the memory.

Re: [PATCH v2 2/2] irqchip/ti-sci-inta: Add support for unmapped event handling

2020-10-12 Thread Peter Ujfalusi
On 12/10/2020 10.31, Marc Zyngier wrote: > On 2020-10-09 09:58, Peter Ujfalusi wrote: >> Marc, >> > > [...] > >> The design of irqchip/irq-ti-sci-inta.c, soc/ti/ti_sci_inta_msi.c and >> irqchip/irq-ti-sci-intr.c created to handle the interrupt needs present >> in K3 devices with NAVSS. >> DMSS

[PATCH v3 08/11] soc: ti: k3-ringacc: Use the ti_sci set_cfg callback for ring configuration

2020-10-12 Thread Peter Ujfalusi
Switch to the new set_cfg to configure the ring. Signed-off-by: Peter Ujfalusi Reviewed-by: Grygorii Strashko --- drivers/soc/ti/k3-ringacc.c | 79 +++-- 1 file changed, 32 insertions(+), 47 deletions(-) diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/

[PATCH v3 09/11] firmware: ti_sci: rm: Remove unused config() from ti_sci_rm_ringacc_ops

2020-10-12 Thread Peter Ujfalusi
The ringacc driver has been converted to use the new set_cfg function to configure the ring, the old config ops can be removed. Signed-off-by: Peter Ujfalusi Reviewed-by: Grygorii Strashko --- drivers/firmware/ti_sci.c | 72 -- include/linux/soc/ti/ti_sci_pr

Re: [PATCH v1 2/6] staging: qlge: coredump via devlink health reporter

2020-10-12 Thread Coiby Xu
On Sat, Oct 10, 2020 at 10:22:30PM +0900, Benjamin Poirier wrote: On 2020-10-10 18:02 +0800, Coiby Xu wrote: [...] > > + do { \ > > + err = fill_seg_(fmsg, &dump->seg_hdr, dump->seg_regs); \ > > + if (err) {

[PATCH] gpu/drm/armada: fix unused parameter warning

2020-10-12 Thread Bernard Zhao
Functions armada_drm_crtc_atomic_flush & armada_drm_crtc_atomic_enable don`t use the second parameter. So we may get warning like : warning: unused parameter ‘***’ [-Wunused-parameter]. This change is to fix the compile warning with -Wunused-parameter. Signed-off-by: Bernard Zhao --- drivers/gpu

RE: [PATCH 00/35] Enhance memory utilization with DMEMFS

2020-10-12 Thread Zengtao (B)
> -Original Message- > From: yulei.ker...@gmail.com [mailto:yulei.ker...@gmail.com] > Sent: Thursday, October 08, 2020 3:54 PM > To: a...@linux-foundation.org; naoya.horigu...@nec.com; > v...@zeniv.linux.org.uk; pbonz...@redhat.com > Cc: linux-fsde...@vger.kernel.org; k...@vger.kernel.org

[PATCH] gpu/drm/mediatek: fix unused parameter warning

2020-10-12 Thread Bernard Zhao
Functions mtk_drm_crtc_atomic_flush & mtk_drm_crtc_atomic_enable & mtk_drm_crtc_atomic_disable don`t use the second parameter. So we may get warning like : warning: unused parameter '***' [-Wunused-parameter]. This change is to fix the compile warning with -Wunused-parameter. Signed-off-by: Bernar

Re: [PATCH net-next v4 01/10] net: bridge: extend the process of special frames

2020-10-12 Thread henrik.bjoernl...@microchip.com
Thanks for the review. Comments below. The 10/12/2020 09:12, Nikolay Aleksandrov wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Fri, 2020-10-09 at 14:35 +, Henrik Bjoernlund wrote: > > This patch extends the processing of frames i

Re: [PATCH v3 02/24] dt-bindings: memory: mediatek: Convert SMI to DT schema

2020-10-12 Thread Yong Wu
On Mon, 2020-10-12 at 09:18 +0200, Krzysztof Kozlowski wrote: > On Sat, Oct 10, 2020 at 02:18:11PM +0800, Yong Wu wrote: > > On Tue, 2020-10-06 at 09:15 +0200, Krzysztof Kozlowski wrote: > > > On Tue, 6 Oct 2020 at 06:27, Yong Wu wrote: > > > > > > > > On Fri, 2020-10-02 at 13:08 +0200, Krzysztof

Re: [PATCH v2 3/4 RESEND] MIPS: Loongson64: Add /proc/boardinfo

2020-10-12 Thread Tiezhu Yang
On 10/12/2020 06:38 PM, Thomas Bogendoerfer wrote: On Sun, Oct 11, 2020 at 07:47:53AM +0800, Tiezhu Yang wrote: Add /proc/boardinfo to get mainboard and BIOS info easily on the Loongson platform, this is useful to point out the current used mainboard type and BIOS version when there exists probl

Re: [PATCH v2 3/4] powercap: Add AMD Fam17h RAPL support

2020-10-12 Thread Victor Ding
On Fri, Oct 9, 2020 at 2:47 PM Zhang Rui wrote: > > On Wed, 2020-10-07 at 11:14 -0500, Kim Phillips wrote: > > From: Victor Ding > > > > This patch enables AMD Fam17h RAPL support for the power capping > > framework. The support is as per AMD Fam17h Model31h (Zen2) and > > model 00-ffh (Zen1) PPR

Re: [PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-12 Thread Peter Ujfalusi
On 12/10/2020 9.09, Vinod Koul wrote: > On 09-10-20, 14:29, Peter Ujfalusi wrote: >> >> >> On 09/10/2020 14.15, Vinod Koul wrote: > If for any any reason subsequent txn is for different direction, I would > expect that parameters are set again before prep_ calls But in DEV_TO_D

Re: [PATCH v4 1/2] Revert "drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp"

2020-10-12 Thread Bilal Wasim
Hi Jitao, On Sat, 10 Oct 2020 15:09:09 +0800 Jitao Shi wrote: > This reverts commit 35bf948f1edbf507f6e57e0879fa6ea36d2d2930. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_dsi.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/

Re: [PATCH v3 2/3] media: atmel: introduce microchip csi2dc driver

2020-10-12 Thread Eugen.Hristev
On 12.10.2020 10:15, Eugen Hristev - M18282 wrote: > On 09.10.2020 17:58, Sakari Ailus wrote: > >> Hi Eugen, >> >> My apologies for the late reply. >> > > Hi, > > Thank you for replying, > >> On Mon, Sep 07, 2020 at 09:16:57AM +, eugen.hris...@microchip.com wrote: >>> On 31.08.2020 11:50, S

[GIT PULL] m68k updates for 5.10

2020-10-12 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git tags/m68k-for-v5.10-tag1 for you to fetch cha

Re: [PATCH] gpu/drm/armada: fix unused parameter warning

2020-10-12 Thread Russell King - ARM Linux admin
On Mon, Oct 12, 2020 at 04:57:24AM -0700, Bernard Zhao wrote: > Functions armada_drm_crtc_atomic_flush & > armada_drm_crtc_atomic_enable don`t use the second parameter. > So we may get warning like : > warning: unused parameter ‘***’ [-Wunused-parameter]. > This change is to fix the compile warning

Re: [PATCH v6 02/14] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-10-12 Thread Maxime Ripard
Hi, On Mon, Oct 05, 2020 at 03:23:12PM +0200, Clément Péron wrote: > On Mon, 5 Oct 2020 at 14:13, Maxime Ripard wrote: > > > > On Sat, Oct 03, 2020 at 04:19:38PM +0200, Clément Péron wrote: > > > As slots and slot_width can be set manually using set_tdm(). > > > These values are then kept in sun4

Re: [PATCH 2/2] mm: introduce vma_set_file function v4

2020-10-12 Thread kernel test robot
us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Christian-K-nig/mm-mmap-fix-fput-in-error-path-v2/20201012-165336 base: git://anongit.freedesktop.org/drm-intel

Re: [PATCH v2] usb: cdns3: Rids of duplicate error message

2020-10-12 Thread Peter Chen
On 20-10-12 14:38:16, Roger Quadros wrote: > Pawel, > > On 12/10/2020 14:12, Pawel Laszczak wrote: > > Hi Roger, > > > > On 12/10/2020 09:42, Pawel Laszczak wrote: > > > On failure, the platform_get_irq_byname prints an error message > > > so, patch removes error message related to this function

Re: [PATCH v4 1/5] arm64: Add framework to turn IPI as NMI

2020-10-12 Thread Sumit Garg
Hi Masa, On Sat, 10 Oct 2020 at 20:43, Masayoshi Mizuma wrote: > > On Sat, Oct 10, 2020 at 10:34:04AM +0100, Marc Zyngier wrote: > > On Sat, 10 Oct 2020 02:58:55 +0100, > > Masayoshi Mizuma wrote: > > > > [...] > > > > > > +void ipi_nmi_setup(int cpu) > > > > +{ > > > > + if (!ipi_desc) > > > >

Re: [PATCH] net: ethernet: ixgbe: don't propagate -ENODEV from ixgbe_mii_bus_init()

2020-10-12 Thread Bartosz Golaszewski
On Mon, Sep 28, 2020 at 9:17 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > It's a valid use-case for ixgbe_mii_bus_init() to return -ENODEV - we > still want to finalize the registration of the ixgbe device. Check the > error code and don't bail out if err == -ENODEV. > > This f

Re: [PATCH v6 02/14] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-10-12 Thread Maxime Ripard
On Tue, Oct 06, 2020 at 12:03:14AM -0500, Samuel Holland wrote: > On 10/5/20 7:13 AM, Maxime Ripard wrote: > > On Sat, Oct 03, 2020 at 04:19:38PM +0200, Clément Péron wrote: > >> As slots and slot_width can be set manually using set_tdm(). > >> These values are then kept in sun4i_i2s struct. > >> S

Re: [PATCH v4 1/5] arm64: Add framework to turn IPI as NMI

2020-10-12 Thread Sumit Garg
On Sat, 10 Oct 2020 at 07:28, Masayoshi Mizuma wrote: > > Hi Sumit, > > On Fri, Sep 11, 2020 at 06:58:40PM +0530, Sumit Garg wrote: > > Introduce framework to turn an IPI as NMI using pseudo NMIs. In case a > > particular platform doesn't support pseudo NMIs, then request IPI as a > > regular IRQ.

Re: [PATCH -v2 15/17] sched: Fix migrate_disable() vs rt/dl balancing

2020-10-12 Thread Dietmar Eggemann
On 12/10/2020 13:28, Peter Zijlstra wrote: > On Mon, Oct 12, 2020 at 11:56:09AM +0200, Dietmar Eggemann wrote: >> On 05/10/2020 16:57, Peter Zijlstra wrote: >> >> [...] >> >>> --- a/kernel/sched/rt.c >>> +++ b/kernel/sched/rt.c >>> @@ -1859,7 +1859,7 @@ static struct task_struct *pick_next_pus >>>

RE: [PATCH v2] usb: cdns3: Rids of duplicate error message

2020-10-12 Thread Pawel Laszczak
> >On 20-10-12 14:38:16, Roger Quadros wrote: >> Pawel, >> >> On 12/10/2020 14:12, Pawel Laszczak wrote: >> > Hi Roger, >> > >> > On 12/10/2020 09:42, Pawel Laszczak wrote: >> > > On failure, the platform_get_irq_byname prints an error message >> > > so, patch removes error message related to thi

Re: [PATCH] scripts: kernel-doc: allow passing desired Sphinx C domain dialect

2020-10-12 Thread Mauro Carvalho Chehab
Em Tue, 6 Oct 2020 08:01:34 -0600 Jonathan Corbet escreveu: > On Tue, 6 Oct 2020 08:42:07 +0200 > Mauro Carvalho Chehab wrote: > > > As right now we don't support Sphinx version 3.0[1], we're actually using > > just > > $sphinx_major. So, I'm wonder if it would make sense to also make > > opt

[PATCH next] iommu: intel: make DMAR_TABLE select IOMMU_API

2020-10-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Since commit c40c1018 ("iommu/vt-d: Gracefully handle DMAR units with no supported address widths") dmar.c needs struct iommu_device to be defined. We need to unconditionally select IOMMU_API when DMAR_TABLE is selected. This fixes the following build error when IOMM

[PATCH v8 0/3] leds: trigger: implement a tty trigger

2020-10-12 Thread Uwe Kleine-König
this is v8 of a series adding support for tty triggers. See patch 3 for how to use it. The first two patches provide the necessary infrastructure in the tty subsystem to make the trigger possible. Changes compared to v7 sent with Message-Id 20200707165958.16522-1-u.kleine-koe...@pengutronix.de on

[PATCH v8 3/3] leds: trigger: implement a tty trigger

2020-10-12 Thread Uwe Kleine-König
Usage is as follows: myled=ledname tty=ttyS0 echo tty > /sys/class/leds/$myled/trigger echo $tty > /sys/class/leds/$myled/ttyname . When this new trigger is active it periodically checks the tty's statistics and when it changed since the last check the led is flas

[PATCH v8 2/3] tty: new helper function tty_get_icount()

2020-10-12 Thread Uwe Kleine-König
For a given struct tty_struct this yields the corresponding statistics about sent and received characters (and some more) which is needed to implement an LED trigger for tty devices. The new function is then used to simplify tty_tiocgicount(). Signed-off-by: Uwe Kleine-König --- drivers/tty/tty

[PATCH v8 1/3] tty: rename tty_kopen() and add new function tty_kopen_shared()

2020-10-12 Thread Uwe Kleine-König
Introduce a new function tty_kopen_shared() that yields a struct tty_struct. The semantic difference to tty_kopen() is that the tty is expected to be used already. So rename tty_kopen() to tty_kopen_exclusive() for clearness, adapt the single user and put the common code in a new static helper func

[PATCH v5.1 10/52] scripts: kernel-doc: allow passing desired Sphinx C domain dialect

2020-10-12 Thread Mauro Carvalho Chehab
When kernel-doc is called via kerneldoc.py, there's no need to auto-detect the Sphinx version, as the Sphinx module already knows it. So, add an optional parameter to allow changing the Sphinx dialect. As kernel-doc can also be manually called, keep the auto-detection logic if the parameter was no

Re: [PATCH] IB/hfi1: Avoid allocing memory on memoryless numa node

2020-10-12 Thread Dennis Dalessandro
On 10/10/2020 4:57 AM, Xianting Tian wrote: In architecture like powerpc, we can have cpus without any local memory attached to it. In such cases the node does not have real memory. Use local_memory_node(), which is guaranteed to have memory. local_memory_node is a noop in other architectures th

RE: [PATCH 1/3] arm64: dts: imx8mm: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
Hi, Krzysztof > Subject: Re: [PATCH 1/3] arm64: dts: imx8mm: Correct WDOG_B pin > configuration > > On Fri, 9 Oct 2020 at 09:52, Anson Huang wrote: > > > > Different revision of i.MX8MM EVK boards may have different external > > pull up registor design, some are enabled while some are NOT, to ma

[PATCH] PM / EM: consult something about cpumask in em_dev_register_perf_domain

2020-10-12 Thread zhuguangqing83
From: zhuguangqing Hi, Lukasz, Quentin I have three questions to consult about cpumask in energy_model.c. 1, The first one is about the meanings of the following two parameters, [1] and [2]. [1]: "cpumask_t *cpus" in function em_dev_register_perf_domain(): Pointer to cpumask_t, which in case o

[PATCH v6 0/4] Add mmc support for MT8192 SoC

2020-10-12 Thread Wenbin Mei
Change in v6: 1)use devm_clk_get function for required clocks Change in v5: 1)remove Reviewed-by tag 2)use devm_clk_bulk_get_optional instead of devm_clk_get_optional for bulk clks Change in v4: 1)drop "vmmc" and "vqmmc" desciption in mtk-sd.yaml 2)add vmmq/vqmmc supplies and the pinctrls to re

[PATCH v6 2/4] mmc: dt-bindings: add support for MT8192 SoC

2020-10-12 Thread Wenbin Mei
MT8192 mmc host ip is compatible with MT8183. Add support for this. Signed-off-by: Wenbin Mei --- Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentat

[PATCH v6 4/4] mmc: mediatek: Add subsys clock control for MT8192 msdc

2020-10-12 Thread Wenbin Mei
MT8192 msdc is an independent sub system, we need control more bus clocks for it. Add support for the additional subsys clocks to allow it to be configured appropriately. Signed-off-by: Wenbin Mei --- drivers/mmc/host/mtk-sd.c | 74 +-- 1 file changed, 56 inse

[PATCH v6 1/4] dt-bindings: mmc: Convert mtk-sd to json-schema

2020-10-12 Thread Wenbin Mei
Convert the mtk-sd binding to DT schema format using json-schema. Signed-off-by: Wenbin Mei --- .../devicetree/bindings/mmc/mtk-sd.txt| 75 .../devicetree/bindings/mmc/mtk-sd.yaml | 163 ++ 2 files changed, 163 insertions(+), 75 deletions(-) delete mode 1

[PATCH v6 3/4] arm64: dts: mt8192: add mmc device node

2020-10-12 Thread Wenbin Mei
This commit adds mmc device node for mt8192 Signed-off-by: Wenbin Mei --- arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 89 + arch/arm64/boot/dts/mediatek/mt8192.dtsi| 34 2 files changed, 123 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-evb.dt

[PATCH V2 2/3] arm64: dts: imx8mn: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
Different revision of i.MX8MN EVK boards may have different external pull up registor design, some are enabled while some are NOT, to make sure the WDOG_B pin works properly, better to enable internal pull up resistor. Since enabling internal pull up resistor is NOT harmful and having benefit of fl

[PATCH V2 1/3] arm64: dts: imx8mm: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
Different revision of i.MX8MM EVK boards may have different external pull up registor design, some are enabled while some are NOT, to make sure the WDOG_B pin works properly, better to enable internal pull up resistor. Since enabling internal pull up resistor is NOT harmful and having benefit of fl

[PATCH V2 3/3] arm64: dts: imx8mp-evk: Correct WDOG_B pin configuration

2020-10-12 Thread Anson Huang
Different revision of i.MX8MP EVK boards may have different external pull up registor design, some are enabled while some are NOT, to make sure the WDOG_B pin works properly, better to enable internal pull up resistor. Since enabling internal pull up resistor is NOT harmful and having benefit of fl

Low Rate Loan./n.,

2020-10-12 Thread Mr. Hashim Bin
Hello Dear, We are Investment Company offering Corporate and Personal Loan at 3% Interest Rate for a duration of 10Years. We also pay 1% commission to brokers, who introduce project owners for finance or other opportunities. Please get back to me if you are interested for more details. Yours fa

[PATCH v2] intel_idle: mention assumption that wbinvd is not needed

2020-10-12 Thread Alexander Monakov
Intel SDM does not explicitly say that entering a C-state via MWAIT will implicitly flush CPU caches as appropriate for that C-state. However, documentation for individual Intel CPU generations does mention this behavior. Since intel_idle binds to any Intel CPU with MWAIT, list this assumption of

Re: [PATCH -v2 07/17] sched: Fix hotplug vs CPU bandwidth control

2020-10-12 Thread Peter Zijlstra
On Fri, Oct 09, 2020 at 10:41:11PM +0200, Dietmar Eggemann wrote: > On 05/10/2020 16:57, Peter Zijlstra wrote: > > Since we now migrate tasks away before DYING, we should also move > > bandwidth unthrottle, otherwise we can gain tasks from unthrottle > > after we expect all tasks to be gone already

Re: [PATCH] usbip, kcov: collect coverage from usbip client

2020-10-12 Thread Andrey Konovalov
On Sat, Oct 10, 2020 at 8:55 AM Greg Kroah-Hartman wrote: > > On Fri, Oct 09, 2020 at 03:22:55PM +, > nazimehandeharputluogluhandehar...@gmail.com wrote: > > From: Nazime Hande Harputluoglu > > > > Add kcov_remote_start()/kcov_remote_stop() annotations to the > > vhci_rx_loop() function, whi

[PATCH v1 04/29] virtio-mem: drop rc2 in virtio_mem_mb_plug_and_add()

2020-10-12 Thread David Hildenbrand
We can drop rc2, we don't actually need the value. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/vi

[PATCH v1 02/29] virtio-mem: simplify calculation in virtio_mem_mb_state_prepare_next_mb()

2020-10-12 Thread David Hildenbrand
We actually need one byte less (next_mb_id is exclusive, first_mb_id is inclusive). Simplify. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH v1 05/29] virtio-mem: generalize check for added memory

2020-10-12 Thread David Hildenbrand
Let's check by traversing busy system RAM resources instead, to avoid relying on memory block states. Don't use walk_system_ram_range(), as that works on pages and we want to use the bare addresses we have easily at hand. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by:

[PATCH v1 03/29] virtio-mem: simplify MAX_ORDER - 1 / pageblock_order handling

2020-10-12 Thread David Hildenbrand
Let's use pageblock_nr_pages and MAX_ORDER_NR_PAGES instead where possible, so we don't have do deal with allocation orders. Add a comment why we have that restriction for now. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio

[PATCH v1 07/29] virtio-mem: generalize virtio_mem_overlaps_range()

2020-10-12 Thread David Hildenbrand
Avoid using memory block ids. While at it, use uint64_t for address/size. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/virtio/vir

[PATCH v1 06/29] virtio-mem: generalize virtio_mem_owned_mb()

2020-10-12 Thread David Hildenbrand
Avoid using memory block ids. Rename it to virtio_mem_contains_range(). Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/virtio/virtio_

[PATCH v1 00/29] virtio-mem: Big Block Mode (BBM)

2020-10-12 Thread David Hildenbrand
virtio-mem currently only supports device block sizes that span at most a single Linux memory block. For example, gigantic pages in the hypervisor result on x86-64 in a device block size of 1 GiB - when the Linux memory block size is 128 MiB, we cannot support such devices (we fail loading the driv

[PATCH v1 01/29] virtio-mem: determine nid only once using memory_add_physaddr_to_nid()

2020-10-12 Thread David Hildenbrand
Let's determine the target nid only once in case we have none specified - usually, we'll end up with node 0 either way. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 28 +++- 1 file changed,

[PATCH v1 10/29] virtio-mem: generalize handling when memory is getting onlined deferred

2020-10-12 Thread David Hildenbrand
We don't want to add too much memory when it's not getting onlined immediately, to avoid running OOM. Generalize the handling, to avoid making use of memory block states. Use a threshold of 1 GiB for now. Properly adjust the offline size when adding/removing memory. As we are not always protected

[PATCH v1 15/29] virito-mem: document Sub Block Mode (SBM)

2020-10-12 Thread David Hildenbrand
Let's add some documentation for the current mode - Sub Block Mode (SBM) - to prepare for a new mode - Big Block Mode (BBM). Follow-up patches will properly factor out the existing Sub Block Mode (SBM) and implement Device Block Mode (DBM). Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gup

[PATCH v1 11/29] virtio-mem: use "unsigned long" for nr_pages when fake onlining/offlining

2020-10-12 Thread David Hildenbrand
No harm done, but let's be consistent. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.

[PATCH v1 14/29] virtio-mem: retry fake-offlining via alloc_contig_range() on ZONE_MOVABLE

2020-10-12 Thread David Hildenbrand
ZONE_MOVABLE is supposed to give some guarantees, yet, alloc_contig_range() isn't prepared to properly deal with some racy cases properly (e.g., temporary page pinning when exiting processed, PCP). Retry 5 times for now. There is certainly room for improvement in the future. Cc: "Michael S. Tsirk

[PATCH v1 13/29] virtio-mem: factor out handling of fake-offline pages in memory notifier

2020-10-12 Thread David Hildenbrand
Let's factor out the core pieces and place the implementation next to virtio_mem_fake_offline(). We'll reuse this functionality soon. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 73 +---

[PATCH v1 08/29] virtio-mem: drop last_mb_id

2020-10-12 Thread David Hildenbrand
No longer used, let's drop it. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.c index 37a0e338ae4a..5c93f8a

[PATCH v1 12/29] virtio-mem: factor out fake-offlining into virtio_mem_fake_offline()

2020-10-12 Thread David Hildenbrand
... which now matches virtio_mem_fake_online(). We'll reuse this functionality soon. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 34 -- 1 file changed, 24 insertions(+), 10 deletion

[PATCH v1 09/29] virtio-mem: don't always trigger the workqueue when offlining memory

2020-10-12 Thread David Hildenbrand
Let's trigger from offlining code when we're not allowed to touch online memory. Handle the other case (memmap possibly freeing up another memory block) when actually removing memory. When removing via virtio_mem_remove(), virtio_mem_retry() is a NOP and safe to use. While at it, move retry handl

[PATCH v1 22/29] virtio-mem: memory block ids are specific to Sub Block Mode (SBM)

2020-10-12 Thread David Hildenbrand
Let's move first_mb_id/next_mb_id/last_usable_mb_id accordingly. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 44 ++--- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git

[PATCH v1 18/29] virtio-mem: factor out calculation of the bit number within the sb_states bitmap

2020-10-12 Thread David Hildenbrand
The calculation is already complicated enough, let's limit it to one location. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/dr

[PATCH v1 17/29] virito-mem: subblock states are specific to Sub Block Mode (SBM)

2020-10-12 Thread David Hildenbrand
Let's rename and move accordingly. While at it, rename sb_bitmap to "sb_states". Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 118 +++- 1 file changed, 62 insertions(+), 56 deletions

[PATCH v1 16/29] virtio-mem: memory block states are specific to Sub Block Mode (SBM)

2020-10-12 Thread David Hildenbrand
let's use a new "sbm" sub-struct to hold SBM-specific state and rename + move applicable definitions, frunctions, and variables (related to memory block states). While at it: - Drop the "_STATE" part from memory block states - Rename "nb_mb_state" to "mb_count" - "set_mb_state" / "get_mb_state" vs

[PATCH v1 20/29] virtio-mem: nb_sb_per_mb and subblock_size are specific to Sub Block Mode (SBM)

2020-10-12 Thread David Hildenbrand
Let's rename to "sbs_per_mb" and "sb_size" and move accordingly. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 96 ++--- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git

[PATCH v1 21/29] virtio-mem: memory notifier callbacks are specific to Sub Block Mode (SBM)

2020-10-12 Thread David Hildenbrand
Let's rename accordingly. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/

[PATCH v1 19/29] virito-mem: existing (un)plug functions are specific to Sub Block Mode (SBM)

2020-10-12 Thread David Hildenbrand
Let's rename them accordingly. virtio_mem_plug_request() and virtio_mem_unplug_request() will be handled separately. Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 90 ++--- 1 file cha

[PATCH v1 24/29] virtio-mem: print debug messages from virtio_mem_send_*_request()

2020-10-12 Thread David Hildenbrand
Let's move the existing dev_dbg() into the functions, print if something went wrong, and also print for virtio_mem_send_unplug_all_request(). Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Signed-off-by: David Hildenbrand --- drivers/virtio/virtio_mem.c | 50

[PATCH v1 25/29] virtio-mem: Big Block Mode (BBM) memory hotplug

2020-10-12 Thread David Hildenbrand
Currently, we do not support device block sizes that exceed the Linux memory block size. For example, having a device block size of 1 GiB (e.g., gigantic pages in the hypervisor) won't work with 128 MiB Linux memory blocks. Let's implement Big Block Mode (BBM), whereby we add/remove at least one L

[PATCH v1 26/29] virtio-mem: allow to force Big Block Mode (BBM) and set the big block size

2020-10-12 Thread David Hildenbrand
Let's allow to force BBM, even if subblocks would be possible. Take care of properly calculating the first big block id, because the start address might no longer be aligned to the big block size. Also, allow to manually configure the size of Big Blocks. Cc: "Michael S. Tsirkin" Cc: Jason Wang

[PATCH v1 28/29] virtio-mem: Big Block Mode (BBM) - basic memory hotunplug

2020-10-12 Thread David Hildenbrand
Let's try to unplug completely offline big blocks first. Then, (if enabled via unplug_offline) try to offline and remove whole big blocks. No locking necessary - we can deal with concurrent onlining/offlining just fine. Note1: This is sub-optimal and might be dangerous in some environments: we co

[PATCH v1 23/29] virtio-mem: factor out adding/removing memory from Linux

2020-10-12 Thread David Hildenbrand
Let's use wrappers for the low-level functions that dev_dbg/dev_warn and work on addr + size, such that we can reuse them for adding/removing in other granularity. We only warn when adding memory failed, because that's something to pay attention to. We won't warn when removing failed, we'll reuse

[PATCH v1 27/29] mm/memory_hotplug: extend offline_and_remove_memory() to handle more than one memory block

2020-10-12 Thread David Hildenbrand
virtio-mem soon wants to use offline_and_remove_memory() memory that exceeds a single Linux memory block (memory_block_size_bytes()). Let's remove that restriction. Let's remember the old state and try to restore that if anything goes wrong. While re-onlining can, in general, fail, it's highly unl

Re: [RFC PATCH 0/3] l3mdev icmp error route lookup fixes

2020-10-12 Thread Mathieu Desnoyers
- On Oct 11, 2020, at 7:56 PM, David Ahern dsah...@gmail.com wrote: > On 10/5/20 9:30 AM, David Ahern wrote: >> On 9/25/20 1:04 PM, Mathieu Desnoyers wrote: >>> Hi, >>> >>> Here is an updated series of fixes for ipv4 and ipv6 which which ensure >>> the route lookup is performed on the right ro

[PATCH v1 29/29] virtio-mem: Big Block Mode (BBM) - safe memory hotunplug

2020-10-12 Thread David Hildenbrand
Let's add a safe mechanism to unplug memory, avoiding long/endless loops when trying to offline memory - similar to in SBM. Fake-offline all memory (via alloc_contig_range()) before trying to offline+remove it. Use this mode as default, but allow to enable the other mode explicitly (which could gi

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-12 Thread Andrey Konovalov
On Fri, Oct 9, 2020 at 8:55 PM Alan Stern wrote: > > To the ath9k_htc maintainers: > > This is an attempt to fix a bug detected by the syzbot fuzzer. The bug > arises when a USB device claims to be an ATH9K but doesn't have the > expected endpoints. (In this case there was a bulk endpoint where

[GIT pull] x86/irq for 5.10-rc1

2020-10-12 Thread Thomas Gleixner
Linus, please pull the latest x86/irq branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-irq-2020-10-12 up to: 981aa1d366bf: PCI: MSI: Fix Kconfig dependencies for PCI_MSI_ARCH_FALLBACKS Surgery of the MSI interrupt handling to prepare the support of upcoming device

[GIT pull] timers/core for 5.10-rc1

2020-10-12 Thread Thomas Gleixner
Linus, please pull the latest timers/core branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-2020-10-12 up to: 1b80043ed218: clocksource/drivers/armada-370-xp: Use semicolons rather than commas to separate statements Updates for timekeeping, timers and rela

[GIT pull] core/debugobjects for 5.10-rc1

2020-10-12 Thread Thomas Gleixner
Linus, please pull the latest core/debugobjects branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debugobjects-2020-10-12 up to: 88451f2cd3ce: debugobjects: Free per CPU pool after CPU unplug A small set of updates for debug objects: - Make all debug object desc

Re: [PATCH V2 1/3] arm64: dts: imx8mm: Correct WDOG_B pin configuration

2020-10-12 Thread Krzysztof Kozlowski
On Mon, Oct 12, 2020 at 08:44:00PM +0800, Anson Huang wrote: > Different revision of i.MX8MM EVK boards may have different external > pull up registor design, some are enabled while some are NOT, to make > sure the WDOG_B pin works properly, better to enable internal pull up > resistor. Since enabl

Re: [PATCH] PM / EM: consult something about cpumask in em_dev_register_perf_domain

2020-10-12 Thread Quentin Perret
Hi, On Monday 12 Oct 2020 at 20:41:36 (+0800), zhuguangqin...@gmail.com wrote: > From: zhuguangqing > > Hi, Lukasz, Quentin > I have three questions to consult about cpumask in energy_model.c. OK, let's see if we can help :) > 1, The first one is about the meanings of the following two param

<    1   2   3   4   5   6   7   8   9   10   >