[PATCH v2 0/1] ARM: dts: mmp2-olpc-xo-1-75: clear the warnings when make dtbs

2020-12-07 Thread Zhen Lei
v1 --> v2: Update the patch description and subject. I'm going to describe the detailed analysis here, because I don't want the patch description to be too long. 0) make ARCH=arm CROSS_COMPILE=arm-linux-gnu- dtbs -j24 2>err.txt vim err.txt arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi

Re: [PATCH v2 0/9] Add support for Microsoft Surface System Aggregator Module

2020-12-07 Thread Hans de Goede
Hi, On 12/6/20 4:58 PM, Maximilian Luz wrote: > On 12/6/20 8:07 AM, Leon Romanovsky wrote: >> On Thu, Dec 03, 2020 at 10:26:31PM +0100, Maximilian Luz wrote: >>> Hello, >>> >>> Here is version two of the Surface System Aggregator Module (SAM/SSAM) >>> driver series, adding initial support for the

[PATCH 2/2] Input: elantech - Some module tp of tracpoint report has a smbus protocol error.

2020-12-07 Thread jingle.wu
1. Add the conditional expression to distinguish different patterns regarding 0, 1, 2. 2. Add the function to get or set more bytes from register 3. Get and correct the device informations including ic_type, module id from different pattern. 4. Add the function to change the report id 0x5F of tra

[PATCH 1/2] Input: elan_i2c - Add new trackpoint report type 0x5F.

2020-12-07 Thread jingle.wu
The 0x5F is new trackpoint report type of some module. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c_core.c | 2 ++ drivers/input/mouse/elan_i2c_smbus.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/

[PATCH v3] phram: Allow the user to set the erase page size.

2020-12-07 Thread Guohua Zhong
From: Patrick O'Grady Permit the user to specify the erase page size as a parameter. This solves two problems: - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't create images with erase sizes less than 8KiB; many architectures define PAGE_SIZE as 4KiB. - Allows more effective use

[PATCH] docs: nios2: add missing ReST file

2020-12-07 Thread Mauro Carvalho Chehab
changeset ed13a92d0fde ("docs: archis: add a per-architecture features list") besides having a typo on its title, it was missing the feature file. Add it. Reported-by: Stephen Rothwell Fixes: ed13a92d0fde ("docs: archis: add a per-architecture features list") Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH v3] phram: Allow the user to set the erase page size.

2020-12-07 Thread Miquel Raynal
Hi Guohua, Guohua Zhong wrote on Mon, 7 Dec 2020 16:53:42 +0800: > From: Patrick O'Grady > > Permit the user to specify the erase page size as a parameter. > This solves two problems: > > - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't > create images with erase sizes less tha

Re: [PATCH] kbuild: avoid static_assert for genksyms

2020-12-07 Thread Ard Biesheuvel
On Sun, 6 Dec 2020 at 03:49, Masahiro Yamada wrote: > > On Fri, Dec 4, 2020 at 8:10 AM Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > genksyms does not know or care about the _Static_assert() built-in, > > and sometimes falls back to ignoring the later symbols, which causes > > undefin

Re: [PATCH 3/3] edac: Supporting AST2400 and AST2600 edac driver

2020-12-07 Thread Stefan Schaeckeler (sschaeck)
Hello Troy, > Hi Stefan, > > The driver was ported from latest ASPEED BSP, so I only test with ECC-on/off > from u-boot and check if driver runs correctly. I noticed now most changes are these "exports". As you removed them a later revision, the patch looks now lean and clean. I'll give you my

Re: [PATCH 1/3] ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg.

2020-12-07 Thread Takashi Iwai
On Mon, 07 Dec 2020 09:46:13 +0100, Connor McAdams wrote: > > The Windows driver sets the pincfg for the AE-5's rear-headphone to > report as a microphone. This causes issues with Pulseaudio mistakenly > believing there is no headphone plugged in. In Linux, we should instead > set it to be a headp

Re: linux-next: build failure after merge of the rcu tree

2020-12-07 Thread Stephen Rothwell
Hi Paul, On Sun, 6 Dec 2020 20:48:41 -0800 "Paul E. McKenney" wrote: > > On Mon, Dec 07, 2020 at 08:39:20AM +1100, Stephen Rothwell wrote: > > Hi Paul, > > > > On Fri, 4 Dec 2020 11:20:32 -0800 "Paul E. McKenney" > > wrote: > > > > > > Does the following patch fix things? (Sigh. It won't a

Re: [PATCH 1/1] ice: fix array overflow on receiving too many fragments for a packet

2020-12-07 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Xiaohui-Zhang/ice-fix-array-overflow-on-receiving-too-many-fragments-for-a-packet/20201207-141033 base: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queu

Re: [RFC PATCH v2 0/2] add simple copy support

2020-12-07 Thread Damien Le Moal
On 2020/12/07 17:16, javier.g...@samsung.com wrote: > On 07.12.2020 08:06, Damien Le Moal wrote: >> On 2020/12/07 16:46, javier.g...@samsung.com wrote: >>> On 04.12.2020 23:40, Keith Busch wrote: On Fri, Dec 04, 2020 at 11:25:12AM +, Damien Le Moal wrote: > On 2020/12/04 20:02, SelvaKu

[PATCH v4 2/3] ARM: dts: aspeed: Add AST2600 edac into common devicetree

2020-12-07 Thread Troy Lee
Adding Aspeed AST2600 edac node into common devicetree. Signed-off-by: Troy Lee Reviewed-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g6.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index b58220a49cbd..74367e

[PATCH v4 1/3] dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support

2020-12-07 Thread Troy Lee
Adding Aspeed AST2400 and AST2600 binding for edac driver. Signed-off-by: Troy Lee Acked-by: Joel Stanley --- .../devicetree/bindings/edac/aspeed-sdram-edac.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/edac/aspeed-sdram

[PATCH v4 3/3] edac: Supporting AST2400 and AST2600 edac driver

2020-12-07 Thread Troy Lee
Adding AST2400 and AST2600 edac driver support. Signed-off-by: Troy Lee --- drivers/edac/Kconfig | 6 +++--- drivers/edac/aspeed_edac.c | 7 +-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 7a47680d6f07..c410331e8ee8 1

Re: [PATCH sl-b 1/6] mm: Add kmem_last_alloc() to return last allocation for memory block

2020-12-07 Thread Joonsoo Kim
Hello, Paul. On Fri, Dec 04, 2020 at 04:40:52PM -0800, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > There are kernel facilities such as per-CPU reference counts that give > error messages in generic handlers or callbacks, whose messages are > unenlightening. In the case of per-CPU r

Re: [PATCH 2/3] rwsem: Implement down_read_interruptible

2020-12-07 Thread Peter Zijlstra
On Thu, Dec 03, 2020 at 08:59:13PM -0500, Waiman Long wrote: > On 12/3/20 3:11 PM, Eric W. Biederman wrote: > > +static inline int __down_read_interruptible(struct rw_semaphore *sem) > > +{ > > + if (!rwsem_read_trylock(sem)) { > > + if (IS_ERR(rwsem_down_read_slowpath(sem, TASK_INTERR

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-07 Thread David Hildenbrand
On 07.12.20 05:38, Anshuman Khandual wrote: > > > On 12/3/20 5:31 PM, David Hildenbrand wrote: >> On 03.12.20 12:51, Heiko Carstens wrote: >>> On Thu, Dec 03, 2020 at 06:03:00AM +0530, Anshuman Khandual wrote: >> diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c >> index 5060956b

[PATCH drm/hisilicon v2 0/2] Code refactoring

2020-12-07 Thread Tian Tao
patch #1 is used drmm_mode_config_init() to do code refactoring. patch #2 is deleted unused variable ‘priv’ to avoid warning. Changes since v1: Remove the unused structure member variable mode_config_initialized. Tian Tao (2): drm/hisilicon: Use managed mode-config init drm/hisilicon: Delete

[PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init

2020-12-07 Thread Tian Tao
Using drmm_mode_config_init() sets up managed release of modesetting resources. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 14 +++--- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 1 - 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a

[PATCH drm/hisilicon v2 2/2] drm/hisilicon: Delete unused local parameters

2020-12-07 Thread Tian Tao
delete unused variable ‘priv’ to avoid warning. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/h

[PATCH] NFSv4.1: use BITS_PER_LONG macro in nfs4session.h

2020-12-07 Thread Geliang Tang
Use the existing BITS_PER_LONG macro instead of calculating the value. Signed-off-by: Geliang Tang --- fs/nfs/nfs4session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h index b996ee23f1ba..3de425f59b3a 100644 --- a/fs/nfs/nfs4ses

Re: [PATCH v2 1/3] v4l: Add HDR10 static metadata controls

2020-12-07 Thread Stanimir Varbanov
On 12/2/20 1:12 PM, Hans Verkuil wrote: > On 24/11/2020 00:02, Stanimir Varbanov wrote: >> Add Content light level and Mastering display colour volume v4l2 >> compounf controls, relevant payload structures and validation. > > compounf -> compound > >> >> Signed-off-by: Stanimir Varbanov >> --

Re: [PATCH 0/4] dt-bindings: media: eliminate yamllint warnings

2020-12-07 Thread Jacopo Mondi
Hi Zhen, On Mon, Dec 07, 2020 at 12:23:56PM +0800, Zhen Lei wrote: > These patches are based on the latest linux-next code. > > Zhen Lei (4): > dt-bindings: media: adv7604: eliminate yamllint warnings > dt-bindings: media: nokia,smia: eliminate yamllint warnings > dt-bindings: media: ov772x:

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Ard Biesheuvel
(+ Marc) On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: > > On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > > do not free the reserved memory for the page map, decrease the section > > size can reduce the waste

Re: [PATCH 3/3] exec: Transform exec_update_mutex into a rw_semaphore

2020-12-07 Thread Peter Zijlstra
On Fri, Dec 04, 2020 at 12:48:18PM -0800, Linus Torvalds wrote: > On Fri, Dec 4, 2020 at 12:30 PM Bernd Edlinger > wrote: > >> > > >perf_event_open (exec_update_mutex -> ovl_i_mutex) > > Side note: this one looks like it should be easy to fix. > PeterZ, is there something I'm missing? Like

Re: [PATCH 3/3] Serial: Separate out earlycon support

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 02:17:27PM +0530, Akash Asthana wrote: > Separate out earlycon support from serial driver and remove it's > dependency on QUP wrapper driver. > > This enable us to manage earlycon independently and we can re-use the > same earlycon driver for android project which currently

[PATCH 1/2] Input: elan_i2c - Add new trackpoint report type 0x5F.

2020-12-07 Thread jingle.wu
The 0x5F is new trackpoint report type of some module. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c_core.c | 2 ++ drivers/input/mouse/elan_i2c_smbus.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/

Re: [PATCH v4 3/3] edac: Supporting AST2400 and AST2600 edac driver

2020-12-07 Thread Stefan Schaeckeler (sschaeck)
> Adding AST2400 and AST2600 edac driver support. > > Signed-off-by: Troy Lee Reviewed-by: Stefan Schaeckeler > --- drivers/edac/Kconfig | 6 +++--- > drivers/edac/aspeed_edac.c | 7 +-- > 2 files changed, 8 insertions(+), 5 deletions(-) > diff --git a/drivers/edac/Kconfig b/dr

[PATCH 2/2] Input: elantech - Some module tp of tracpoint report has a smbus protocol error.

2020-12-07 Thread jingle.wu
1. Add the conditional expression to distinguish different patterns regarding 0, 1, 2. 2. Add the function to get or set more bytes from register 3. Get and correct the device informations including ic_type, module id from different pattern. 4. Add the function to change the report id 0x5F of tra

Re: [PATCH v2 0/9] Add support for Microsoft Surface System Aggregator Module

2020-12-07 Thread Greg Kroah-Hartman
On Mon, Dec 07, 2020 at 09:49:03AM +0100, Hans de Goede wrote: > Note if in the future you do see benefit in switching the auxiliary bus > I have no problems with that. But atm I don't really see any benefits of > doing so, so then we would just be switching over for the sake of switching > over wh

[PATCH] module: drop semicolon from version macro

2020-12-07 Thread Johan Hovold
Drop the trailing semicolon from the MODULE_VERSION() macro definition which was left when removing the array-of-pointer indirection. Signed-off-by: Johan Hovold --- include/linux/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/module.h b/include/linux/

Re: [PATCH V3 2/2] thermal: cpufreq_cooling: Reuse sched_cpu_util() for SMP platforms

2020-12-07 Thread Viresh Kumar
Hi Valentin, On 01-12-20, 17:25, Valentin Schneider wrote: > PELT time-scaling can make the util signals behave strangely from an > external PoV. For instance, on a big.LITTLE system, the rq util of a LITTLE > CPU may suddenly drop if it was stuck on a too-low OPP for some time and > eventually re

Re: [PATCH 3/3] exec: Transform exec_update_mutex into a rw_semaphore

2020-12-07 Thread Peter Zijlstra
On Sat, Dec 05, 2020 at 12:05:32PM -0600, Eric W. Biederman wrote: > I am trying to understand why the permission check is there. It's about observability, is task A allowed to observe state of task B? By installing a perf event on another task, we can very accurately tell what it's doing, and is

[RFC PATCH 0/4] Reduce worst-case scanning of runqueues in select_idle_sibling

2020-12-07 Thread Mel Gorman
This is a minimal series to reduce the amount of runqueue scanning in select_idle_sibling in the worst case. Patch 1 removes SIS_AVG_CPU because it's unused. Patch 2 improves the hit rate of p->recent_used_cpu to reduce the amount of scanning. It should be relatively uncontroversial Patc

[PATCH 2/4] sched/fair: Do not replace recent_used_cpu with the new target

2020-12-07 Thread Mel Gorman
After select_idle_sibling, p->recent_used_cpu is set to the new target. However on the next wakeup, prev will be the same as recent_used_cpu unless the load balancer has moved the task since the last wakeup. It still works, but is less efficient than it can be after all the changes that went in sin

[PATCH] earlycon: drop semicolon from earlycon macro

2020-12-07 Thread Johan Hovold
Drop the trailing semicolon from the OF_EARLYCON_DECLARE() macro definition which was left when removing the array-of-pointer indirection. Signed-off-by: Johan Hovold --- include/linux/serial_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/serial_core.h b

[PATCH 1/4] sched/fair: Remove SIS_AVG_CPU

2020-12-07 Thread Mel Gorman
SIS_AVG_CPU was introduced as a means of avoiding a search when the average search cost indicated that the search would likely fail. It was a blunt instrument and disabled by 4c77b18cf8b7 ("sched/fair: Make select_idle_cpu() more aggressive") and later replaced with a proportional search depth by 1

[PATCH 4/4] sched/fair: Avoid revisiting CPUs multiple times during select_idle_sibling

2020-12-07 Thread Mel Gorman
select_idle_core() potentially searches a number of CPUs for idle candidates before select_idle_cpu() clears the mask and revisits the same CPUs. This patch moves the initialisation of select_idle_mask to the top-level and reuses the same mask across both select_idle_core and select_idle_cpu. selec

Re: [PATCH v3 3/3] iio:Documentation: Add documentation for hinge sensor channels

2020-12-07 Thread Ye, Xiang
Hi Jonathan Thanks for review and comments. On Sat, Dec 05, 2020 at 04:05:40PM +, Jonathan Cameron wrote: > On Thu, 3 Dec 2020 11:53:52 +0800 > Ye Xiang wrote: > > > Add channel description for hinge sensor, including channel label > > attribute and raw data description. > > > > Signed-of

Re: [PATCH 0/4] dt-bindings: media: eliminate yamllint warnings

2020-12-07 Thread Leizhen (ThunderTown)
On 2020/12/7 17:08, Jacopo Mondi wrote: > Hi Zhen, > > On Mon, Dec 07, 2020 at 12:23:56PM +0800, Zhen Lei wrote: >> These patches are based on the latest linux-next code. >> >> Zhen Lei (4): >> dt-bindings: media: adv7604: eliminate yamllint warnings >> dt-bindings: media: nokia,smia: elimi

[PATCH V2 1/3] cpufreq: sun50i: add efuse_xlate to get efuse version.

2020-12-07 Thread Shuosheng Huang
It's better to use efuse_xlate to extract the differentiated part regarding different SoC. Signed-off-by: Shuosheng Huang --- drivers/cpufreq/sun50i-cpufreq-nvmem.c | 72 +- 1 file changed, 48 insertions(+), 24 deletions(-) diff --git a/drivers/cpufreq/sun50i-cpufreq-nvm

[PATCH 3/4] sched/fair: Return an idle cpu if one is found after a failed search for an idle core

2020-12-07 Thread Mel Gorman
select_idle_core is called when SMT is active and there is likely a free core available. It may find idle CPUs but this information is simply discarded and the scan starts over again with select_idle_cpu. This patch caches information on idle CPUs found during the search for a core and uses one if

[PATCH] iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs

2020-12-07 Thread Suravee Suthikulpanit
According to the AMD IOMMU spec, the commit 73db2fc595f3 ("iommu/amd: Increase interrupt remapping table limit to 512 entries") also requires the interrupt table length (IntTabLen) to be set to 9 (power of 2) in the device table mapping entry (DTE). Fixes: 73db2fc595f3 ("iommu/amd: Increase interr

[PATCH V2 3/3] arm64: dts: allwinner: a100: Add CPU Operating Performance Points table

2020-12-07 Thread Shuosheng Huang
Add an Operating Performance Points table for the CPU cores to enable Dynamic Voltage & Frequency Scaling on the A100. Signed-off-by: Shuosheng Huang --- .../allwinner/sun50i-a100-allwinner-perf1.dts | 5 ++ .../dts/allwinner/sun50i-a100-cpu-opp.dtsi| 90 +++ .../arm64/boot/

[PATCH V2 2/3] cpufreq: sun50i: add a100 cpufreq support

2020-12-07 Thread Shuosheng Huang
Add cpufreq nvmem based for allwinner a100 SoC, it's similar to h6. Signed-off-by: Shuosheng Huang --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + drivers/cpufreq/sun50i-cpufreq-nvmem.c | 32 ++ 2 files changed, 33 insertions(+) diff --git a/drivers/cpufreq/cpufreq-dt

[PATCH 0/3] Add sound card support for imx8mn-evk board

2020-12-07 Thread Shengjiu Wang
Support wm8524 and spdif sound card. Shengjiu Wang (3): arm64: dts: imx8mn: Configure clock rate for audio plls arm64: dts: imx8mn-evk: Add sound-wm8524 card nodes arm64: dts: imx8mn-evk: Add sound-spdif card nodes arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 75 +++ arc

[PATCH 2/3] arm64: dts: imx8mn-evk: Add sound-wm8524 card nodes

2020-12-07 Thread Shengjiu Wang
Add sound-wm8524 card nodes which are supported on imx8mn-evk board. Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 51 +++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freesc

[PATCH 1/3] arm64: dts: imx8mn: Configure clock rate for audio plls

2020-12-07 Thread Shengjiu Wang
Configure clock rate for audio plls. audio pll1 is used as parent clock for clocks that is multiple of 8kHz. audio pll2 is used as parent clock for clocks that is multiple of 11kHz. Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 8 ++-- 1 file changed, 6 inserti

[PATCH 3/3] arm64: dts: imx8mn-evk: Add sound-spdif card nodes

2020-12-07 Thread Shengjiu Wang
Add sound-spdif card nodes which are supported on imx8mn-evk board. Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 24 +++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freesca

Re: Fair Pay: Some interesting observations of symboldevelopment, Uni / I-T

2020-12-07 Thread Ywe Cærlyn
I'm sorry, SINU it may be. Having disassociated the christian god, we can clearly see it is mad, and in the way of correct commerciality. It is a parasite, who is never pleased, who never stops craving perfection, yet is never happy. I-T Clan X, answers this, and takes the logical conclusion

Re: [PATCH v2 1/3] v4l: Add HDR10 static metadata controls

2020-12-07 Thread Hans Verkuil
On 07/12/2020 10:06, Stanimir Varbanov wrote: > > > On 12/2/20 1:12 PM, Hans Verkuil wrote: >> On 24/11/2020 00:02, Stanimir Varbanov wrote: >>> Add Content light level and Mastering display colour volume v4l2 >>> compounf controls, relevant payload structures and validation. >> >> compounf -> co

Re: [GIT PULL]: soundwire updates for v5.11-rc1

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 10:32:47AM +0530, Vinod Koul wrote: > Hello Greg, > > Please pull to receive updates for v5.11 as detailed below: > > The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: > > Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) > > are available in the Gi

Re: [PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init

2020-12-07 Thread Thomas Zimmermann
Hi Am 07.12.20 um 10:05 schrieb Tian Tao: Using drmm_mode_config_init() sets up managed release of modesetting resources. Individual patches usually contain a changelog to highlight the difference to previous versions. Please add one before committing the patch. Your cover letter for the s

Re: linux-next: build failure after merge of the staging tree

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 04:46:01PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the staging tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/iio/trigger/iio-trig-sysfs.c: In function 'iio_sysfs_trigger_probe': > drivers/iio/trigger/iio-trig-sysfs.

linux-next: Tree for Dec 7

2020-12-07 Thread Stephen Rothwell
Hi all, Changes since 20201204: The nfs-anna tree gained a conflict against the nfs tree. The block tree gained a conflict against the btrfs tree and a semantic conflict against the bpf-next tree. The rcu tree lost its build failure. The kvm-arm tree gained a difficult conflict against the arm

Re: [PATCH 3/7] net: macb: unprepare clocks in case of failure

2020-12-07 Thread Claudiu.Beznea
Hi Andrew, On 05.12.2020 16:30, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Fri, Dec 04, 2020 at 02:34:17PM +0200, Claudiu Beznea wrote: >> Unprepare clocks in case of any failure in fu540_c000_clk_init(). > > Hi Claud

Re: [PATCH v2 2/2] hwspinlock: add sunxi hardware spinlock support

2020-12-07 Thread Maxime Ripard
On Fri, Dec 04, 2020 at 06:07:25PM +0100, Wilken Gottwalt wrote: > On Fri, 4 Dec 2020 17:21:17 +0100 > Maxime Ripard wrote: > > > On Fri, Dec 04, 2020 at 04:35:12PM +0100, Wilken Gottwalt wrote: > > > Adds the sunxi_hwspinlock driver for the hardware spinlock unit found in > > > most of the sun8i

Re: [PATCH] iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs

2020-12-07 Thread Jerry Snitselaar
Suravee Suthikulpanit @ 2020-12-07 02:19 MST: > According to the AMD IOMMU spec, the commit 73db2fc595f3 > ("iommu/amd: Increase interrupt remapping table limit to 512 entries") > also requires the interrupt table length (IntTabLen) to be set to 9 > (power of 2) in the device table mapping entry

Re: [PATCH] ARM: dts: sun6i-a31s-sinovoip-bpi-m2: add gpio-line-names

2020-12-07 Thread Maxime Ripard
On Wed, Dec 02, 2020 at 08:51:47PM +0100, Michael Klein wrote: > Add gpio-line-names as documented on gitbooks [1] and in the > schematics [2]. > > [1]: https://bananapi.gitbook.io/bpi-m2/en/bpi-m2_gpio_pin_define > [2]: https://drive.google.com/file/d/0B4PAo2nW2KfnRERWNnJGSGxJbmM/view > > Signed

Re: 5.10 RC 7: grub2 out of memory

2020-12-07 Thread Elias Carter
Resending grub config since that appeared to be mangled by my mail client: On Mon, Dec 7, 2020 at 1:16 AM Elias Carter wrote: > > I just compiled and installed 5.10 RC 7 and got a message from grub2: > "out of memory, press any key to continue" shortly followed by a > kernel panic (see attached

Re: [PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init

2020-12-07 Thread tiantao (H)
在 2020/12/7 17:22, Thomas Zimmermann 写道: Hi Am 07.12.20 um 10:05 schrieb Tian Tao: Using drmm_mode_config_init() sets up managed release of modesetting resources. Individual patches usually contain a changelog to highlight the difference to previous versions. Please add one before commit

Re: [PATCH 04/12] arm64: dts: zynqmp: Enable and wire reset controller

2020-12-07 Thread Michal Simek
On 06. 12. 20 23:38, Laurent Pinchart wrote: > Hi Michal, > > Thank you for the patch. > > On Wed, Dec 02, 2020 at 03:06:03PM +0100, Michal Simek wrote: >> Enable reset controller for several IPs. >> >> Signed-off-by: Michal Simek >> --- >> >> arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 29

Re: [PATCH] net: stmmac: dwmac-meson8b: fix mask definition of the m250_sel mux

2020-12-07 Thread Jerome Brunet
On Sat 05 Dec 2020 at 22:32, Martin Blumenstingl wrote: > The m250_sel mux clock uses bit 4 in the PRG_ETH0 register. Fix this by > shifting the PRG_ETH0_CLK_M250_SEL_MASK accordingly as the "mask" in > struct clk_mux expects the mask relative to the "shift" field in the > same struct. > > Whi

KASAN: use-after-free Read in reiserfs_fill_super

2020-12-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b3298500 Merge tag 'for-5.10/dm-fixes' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11e6434550 kernel config: https://syzkaller.appspot.com/x/.config?x=e49433cfed49b7d9 das

Re: [PATCH v4 0/3] improve get_feat.pl output when all features are displayed

2020-12-07 Thread Mauro Carvalho Chehab
Em Sat, 5 Dec 2020 17:03:50 +0100 Mauro Carvalho Chehab escreveu: > Em Fri, 4 Dec 2020 14:48:43 -0700 > Jonathan Corbet escreveu: > > > On Fri, 4 Dec 2020 16:32:27 +0100 > > Mauro Carvalho Chehab wrote: > > > > > As requested, those patches improve the output of the script, when all > > >

Re: [PATCH next v2 2/3] printk: change @clear_seq to atomic64_t

2020-12-07 Thread Peter Zijlstra
On Sun, Dec 06, 2020 at 09:29:59PM +0106, John Ogness wrote: > Yes, and it is read-only access. Perhaps atomic64_t is the wrong thing > to use here. We could use a seqcount_latch and a shadow variable so that > if a writer has been preempted, we can use the previous value. (Only > kmsg_dump would n

Re: KASAN: slab-out-of-bounds Read in btrfs_scan_one_device

2020-12-07 Thread syzbot
syzbot suspects this issue was fixed by commit: commit 0697d9a610998b8bdee6b2390836cb2391d8fd1a Author: Johannes Thumshirn Date: Wed Nov 18 09:03:26 2020 + btrfs: don't access possibly stale fs_info data for printing duplicate device bisection log: https://syzkaller.appspot.com/x/bi

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Marc Zyngier
On 2020-12-07 09:09, Ard Biesheuvel wrote: (+ Marc) On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > do not free the reserved memory for the page map, decrease the

Re: [PATCH v5 10/19] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-12-07 Thread Chunfeng Yun
On Sat, 2020-12-05 at 18:24 +0300, Serge Semin wrote: > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > Controller schema, but with additional vendor-specific properties, the > controller-specific reference clocks and PHYs. So let's convert the > currently available legacy text

Re: [PATCH 1/2] regulator: ab8500: Remove unused platform data

2020-12-07 Thread Lee Jones
On Fri, 04 Dec 2020, Linus Walleij wrote: > The struct ab8500_regulator_platform_data was a leftover > since the days before we probed all regulators from the > device tree. The ab8500-ext regulator was the only used, > defining platform data and register intialization that > was never used for an

[PATCH v2] iommu: Improve the performance for direct_mapping

2020-12-07 Thread Yong Wu
Currently direct_mapping always use the smallest pgsize which is SZ_4K normally to mapping. This is unnecessary. we could gather the size, and call iommu_map then, iommu_map could decide how to map better with the just right pgsize. >From the original comment, we should take care overlap, otherwis

Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-07 Thread Enrico Weigelt, metux IT consult
On 07.12.20 04:48, Jason Wang wrote: Hi, >>> Not a native speaker but event sounds like something driver read from >>> device. Looking at the below lists, most of them except for >>> VIRTIO_GPIO_EV_HOST_LEVEL looks more like a command. >> okay, shall I name it "message" ? > > > It might be bett

[PATCH v3] exfat: Avoid allocating upcase table using kcalloc()

2020-12-07 Thread Artem Labazov
The table for Unicode upcase conversion requires an order-5 allocation, which may fail on a highly-fragmented system: pool-udisksd: page allocation failure: order:5, mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 4 PID: 3756880 Comm: pool-udisksd T

Re: [RESEND PATCH v6 2/2] pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver

2020-12-07 Thread Srinivas Kandagatla
On 05/12/2020 22:36, Linus Walleij wrote: On Wed, Dec 2, 2020 at 5:35 PM Srinivas Kandagatla wrote: Add initial pinctrl driver to support pin configuration for LPASS (Low Power Audio SubSystem) LPI (Low Power Island) pinctrl on SM8250. Patch applied! +config PINCTRL_LPASS_LPI + tr

Re: 5.10 RC 7: grub2 out of memory

2020-12-07 Thread David Hildenbrand
On 07.12.20 10:16, Elias Carter wrote: > I just compiled and installed 5.10 RC 7 and got a message from grub2: > "out of memory, press any key to continue" shortly followed by a > kernel panic (see attached screenshot). > > The 5.4.0-56-generic kernel from Ubuntu works on my machine fine. > > Thi

[PATCH] dt-bindings: vendor-prefixes: correct the spelling of TQ-Systems GmbH

2020-12-07 Thread Matthias Schiffer
From: Max Merchel "TQ-Systems" is written with a dash, as can be seen on https://www.tq-group.com/en/imprint/ Signed-off-by: Max Merchel Signed-off-by: Matthias Schiffer --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

Re: [PATCH 06/12] arm64: dts: zynqmp: Add label for zynqmp_ipi

2020-12-07 Thread Michal Simek
Hi, On 06. 12. 20 23:46, Laurent Pinchart wrote: > Hi Michal, > > Thank you for the patch. > > On Wed, Dec 02, 2020 at 03:06:05PM +0100, Michal Simek wrote: >> Add label which is used by bootloader for adding bootloader specific flag. >> >> Signed-off-by: Michal Simek >> --- >> >> U-Boot needs

Re: [PATCH 3/3] Serial: Separate out earlycon support

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 02:17:27PM +0530, Akash Asthana wrote: > Separate out earlycon support from serial driver and remove it's > dependency on QUP wrapper driver. > > This enable us to manage earlycon independently and we can re-use the > same earlycon driver for android project which currently

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Mike Rapoport
On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: > On 2020-12-07 09:09, Ard Biesheuvel wrote: > > (+ Marc) > > > > On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: > > > > > > On Fri, Dec 04, 2020 at 09:44:43AM +0800, Wei Li wrote: > > > > For the memory hole, sparse memory model tha

Re: [PATCH V2 3/3] arm64: dts: allwinner: a100: Add CPU Operating Performance Points table

2020-12-07 Thread Chen-Yu Tsai
On Mon, Dec 7, 2020 at 5:20 PM Shuosheng Huang wrote: > > Add an Operating Performance Points table for the CPU cores to > enable Dynamic Voltage & Frequency Scaling on the A100. > > Signed-off-by: Shuosheng Huang > --- > .../allwinner/sun50i-a100-allwinner-perf1.dts | 5 ++ > .../dts/allwinner

Re: [PATCH 06/12] arm64: dts: zynqmp: Add label for zynqmp_ipi

2020-12-07 Thread Michal Simek
On 06. 12. 20 23:48, Laurent Pinchart wrote: > On Mon, Dec 07, 2020 at 12:46:56AM +0200, Laurent Pinchart wrote: >> Hi Michal, >> >> Thank you for the patch. >> >> On Wed, Dec 02, 2020 at 03:06:05PM +0100, Michal Simek wrote: >>> Add label which is used by bootloader for adding bootloader specif

Re: [PATCH v2] pwm: bcm2835: Support apply function for atomic configuration

2020-12-07 Thread Sean Young
Hello Uwe, Thank you for taking the time to explain your thinking. On Mon, Dec 07, 2020 at 09:16:28AM +0100, Uwe Kleine-König wrote: > On Sun, Dec 06, 2020 at 02:19:41PM +, Sean Young wrote: > > On Sat, Dec 05, 2020 at 08:25:10PM +0100, Uwe Kleine-König wrote: > > > On Sat, Dec 05, 2020 at

Re: linux-next: build failure after merge of the staging tree

2020-12-07 Thread Stephen Rothwell
Hi Greg, On Mon, 7 Dec 2020 10:26:06 +0100 Greg KH wrote: > > > diff --git a/drivers/iio/trigger/iio-trig-sysfs.c > > b/drivers/iio/trigger/iio-trig-sysfs.c > > index 10a3fd29362b..0f6b512a5c37 100644 > > --- a/drivers/iio/trigger/iio-trig-sysfs.c > > +++ b/drivers/iio/trigger/iio-trig-sysfs.c >

Re: [PATCH v3] mm/page_alloc: speeding up the iteration of max_order

2020-12-07 Thread David Hildenbrand
On 04.12.20 16:51, Muchun Song wrote: > When we free a page whose order is very close to MAX_ORDER and greater > than pageblock_order, it wastes some CPU cycles to increase max_order > to MAX_ORDER one by one and check the pageblock migratetype of that page > repeatedly especially when MAX_ORDER is

Re: 5.10 RC 7: grub2 out of memory

2020-12-07 Thread Elias Carter
>What's the size difference between old vs. new kernel and old vs. new initrd? The new initrd is over twice as large as the old one, the kernels appear to be similar sizes: elias@elias-5600X:~$ ll -h /boot/ total 435M drwxr-xr-x 4 root root 4.0K Dec 7 01:31 ./ drwxr-xr-x 23 root root 4.0K Dec 6

Re: [PATCH v2 3/5] thermal: devfreq_cooling: add new registration functions with Energy Model

2020-12-07 Thread Lukasz Luba
On 12/3/20 3:40 PM, Daniel Lezcano wrote: On 18/11/2020 13:03, Lukasz Luba wrote: The Energy Model (EM) framework supports devices such as Devfreq. Create new registration functions which automatically register EM for the thermal devfreq_cooling devices. This patch prepares the code for comin

Re: [PATCH 4.19 00/32] 4.19.162-rc1 review

2020-12-07 Thread Naresh Kamboju
On Sun, 6 Dec 2020 at 17:10, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.162 release. > There are 32 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. > > Res

[PATCH] mm,memory_failure: Always pin the page in madvise_inject_error

2020-12-07 Thread Oscar Salvador
madvise_inject_error() uses get_user_pages_fast to translate the address we specified to a page. After [1], we drop the extra reference count for memory_failure() path. That commit says that memory_failure wanted to keep the pin in order to take the page out of circulation. The truth is that we ne

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Ard Biesheuvel
On Mon, 7 Dec 2020 at 10:42, Mike Rapoport wrote: > > On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: > > On 2020-12-07 09:09, Ard Biesheuvel wrote: > > > (+ Marc) > > > > > > On Fri, 4 Dec 2020 at 12:14, Will Deacon wrote: > > > > > > > > On Fri, Dec 04, 2020 at 09:44:43AM +0800, W

Re: consoles: was: [PATCH next v2 3/3] printk: remove logbuf_lock, add syslog_lock

2020-12-07 Thread Petr Mladek
On Sat 2020-12-05 13:39:53, Sergey Senozhatsky wrote: > On (20/12/04 17:19), Petr Mladek wrote: > [..] > > > --- a/kernel/printk/printk.c > > > +++ b/kernel/printk/printk.c > > > @@ -2432,7 +2490,6 @@ void console_unlock(void) > > > size_t len; > > > > > > printk_safe_enter_ir

Re: [PATCH 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings

2020-12-07 Thread Neil Armstrong
Hi, On 05/12/2020 09:04, Vinod Koul wrote: > On 23-11-20, 15:51, Neil Armstrong wrote: >> The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI >> panels, this adds the bindings. >> >> This Analog D-PHY works with a separate Digital MIPI D-PHY. > > Pls cc Rob on dt binding pat

Re: KASAN: slab-out-of-bounds Read in btrfs_scan_one_device

2020-12-07 Thread Dmitry Vyukov
On Mon, Dec 7, 2020 at 10:34 AM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 0697d9a610998b8bdee6b2390836cb2391d8fd1a > Author: Johannes Thumshirn > Date: Wed Nov 18 09:03:26 2020 + > > btrfs: don't access possibly stale fs_info data for printing duplicat

Re: [PATCH] rtc: fix RTC removal

2020-12-07 Thread Bartosz Golaszewski
On Sun, Dec 6, 2020 at 12:14 AM Alexandre Belloni wrote: > > Since the rtc_register_device, removing an RTC device will end with a > refcount_t: underflow; use-after-free warning since put_device is called > twice in the device tear down path. > > Fixes: fdcfd854333b ("rtc: rework rtc_register_dev

[PATCH v8] f2fs: compress: support compress level

2020-12-07 Thread Chao Yu
Expand 'compress_algorithm' mount option to accept parameter as format of :, by this way, it gives a way to allow user to do more specified config on lz4 and zstd compression level, then f2fs compression can provide higher compress ratio. In order to set compress level for lz4 algorithm, it needs

Re: Re: [PATCH v2] PCI: Fix Oops caused by uninitialized slot->list in pci_slot_release()

2020-12-07 Thread zhongjubin
>On Wed, Dec 02, 2020 at 10:33:42AM +0800, Jubin Zhong wrote: >> Once kobject_init_and_add() failed, pci_slot_release() is called to >> delete slot->list from parent->slots. But slot->list is intialized >> afterwards, so we ran into the following crash: >> >> Unable to handle kernel NULL point

[PATCH 1/2] arm64: dts: meson: vim3: whitespace fixups

2020-12-07 Thread Jerome Brunet
Spaces have been used to indent 2 nodes. Replace those with tabs and remove one extra newline Signed-off-by: Jerome Brunet --- .../boot/dts/amlogic/meson-khadas-vim3.dtsi | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-

[PATCH 0/2] arm64: dts: meson: vim3: enable hdmi audio loopback

2020-12-07 Thread Jerome Brunet
This patchset enable the hdmi audio loopback on the vim3 and vim3l. I found a few whitespace errors while doing it. This is sent along to avoid annoying conflicts. Jerome Brunet (2): arm64: dts: meson: vim3: whitespace fixups arm64: dts: meson: vim3: enable hdmi audio loopback .../boot/dts/a

[PATCH v5 RESEND] f2fs: compress: add compress_inode to cache compressed blocks

2020-12-07 Thread Chao Yu
Support to use address space of inner inode to cache compressed block, in order to improve cache hit ratio of random read. Signed-off-by: Chao Yu --- v5: - rebase to dev branch. Documentation/filesystems/f2fs.rst | 3 + fs/f2fs/compress.c | 198 +++-- fs

  1   2   3   4   5   6   7   8   9   10   >