RE: [EXTERNAL] Re: [PATCH] PCI: Mark AMD Raven iGPU ATS as broken

2020-12-07 Thread Merger, Edgar [AUTOSOL/MAS/AUGS]
Hi Alex, I believe in the patch file, this + (pdev->subsystem_device == 0x0c19 || +pdev->subsystem_device == 0x0c10)) Has to be changed to: + (pdev->subsystem_device == 0xce19 || +pdev->subsystem_device == 0xcc10))

[PATCH] crypto: mediatek - remove obsolete driver

2020-12-07 Thread Vic Wu
The crypto mediatek driver has been replaced by the inside-secure driver now. Remove this driver to avoid having duplicate drivers. Signed-off-by: Vic Wu Acked-by: Ryder Lee --- drivers/crypto/Kconfig | 15 - drivers/crypto/Makefile|1 -

Re: [RFC] fpga: dfl: a prototype uio driver

2020-12-07 Thread Greg KH
On Sun, Dec 06, 2020 at 01:55:54PM -0800, t...@redhat.com wrote: > From: Tom Rix > > >From [PATCH 0/2] UIO support for dfl devices > https://lore.kernel.org/linux-fpga/1602828151-24784-1-git-send-email-yilun...@intel.com/ Why is this here? > > Here is an idea to have uio support with no driver

Re: [PATCH 5.4 00/39] 5.4.82-rc1 review

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

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

2020-12-07 Thread Thomas Zimmermann
Am 07.12.20 um 01:49 schrieb 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

RE: [PATCH v2 2/3] scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1

2020-12-07 Thread Avri Altman
> > According to the JEDEC UFS 3.1 Spec, If > fWriteBoosterBufferFlushDuringHibernate > is set to one, the device flushes the WriteBooster Buffer data automatically > whenever the link enters the hibernate (HIBERN8) state. While the flushing > operation is in progress, the device should be kept

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

2020-12-07 Thread Thomas Zimmermann
Hi Am 07.12.20 um 01:49 schrieb 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 | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git

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

2020-12-07 Thread Damien Le Moal
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, SelvaKumar S wrote: This patchset tries to add support for TP4065a ("Simple Copy Command"),

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Greg Thelen
Alex Shi wrote: > 在 2020/11/11 上午3:50, Andrew Morton 写道: >> On Tue, 10 Nov 2020 08:39:24 +0530 Souptick Joarder >> wrote: >> >>> On Fri, Nov 6, 2020 at 4:55 PM Alex Shi wrote: Otherwise it cause gcc warning: ^~~ ../mm/filemap.c:830:14: warning: no

Re: [PATCH v8 3/4] phy: Add Sparx5 ethernet serdes PHY driver

2020-12-07 Thread Steen Hegelund
On 04.12.2020 15:16, Alexandre Belloni wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe On 03/12/2020 22:52:53+0100, Andrew Lunn wrote: > + if (macro->serdestype == SPX5_SDT_6G) { > + value = sdx5_rd(priv,

Re: [PATCH] random: avoid arch_get_random_seed_long() when collecting IRQ randomness

2020-12-07 Thread Ard Biesheuvel
On Tue, 1 Dec 2020 at 13:23, Ard Biesheuvel wrote: > > (+ Jason) > > On Fri, 20 Nov 2020 at 05:11, Eric Biggers wrote: > > > > On Wed, Nov 11, 2020 at 09:19:37AM +0100, Ard Biesheuvel wrote: > > > (+ Eric) > > > > > > On Thu, 5 Nov 2020 at 16:29, Ard Biesheuvel wrote: > > > > > > > > When

[PATCH] iommu/io-pgtalbe-arm: Remove "iopte_type(pte, l)" extra parameter "l"

2020-12-07 Thread Kunkun Jiang
Knowing from the code, the macro "iopte_type(pte, l)" doesn't use the parameter "l" (level). So we'd better to remove it. Fixes: e1d3c0fd701df(iommu: add ARM LPAE page table allocator) Signed-off-by: Kunkun Jiang --- drivers/iommu/io-pgtable-arm.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Michal Kubecek
On Thu, Nov 12, 2020 at 08:18:57AM +0800, Alex Shi wrote: > > > 在 2020/11/11 上午3:50, Andrew Morton 写道: > > On Tue, 10 Nov 2020 08:39:24 +0530 Souptick Joarder > > wrote: > > > >> On Fri, Nov 6, 2020 at 4:55 PM Alex Shi wrote: > >>> > >>> Otherwise it cause gcc warning: > >>>

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

2020-12-07 Thread javier.g...@samsung.com
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, SelvaKumar S wrote: This patchset tries to add support for TP4065a

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

2020-12-07 Thread Uwe Kleine-König
On Sun, Dec 06, 2020 at 02:19:41PM +, Sean Young wrote: > Hello Uwe, > > On Sat, Dec 05, 2020 at 08:25:10PM +0100, Uwe Kleine-König wrote: > > On Sat, Dec 05, 2020 at 05:34:44PM +, Sean Young wrote: > > > What real life uses-cases are there for round down? If you want to round > > > down,

linux-next: build warning after merge of the rcu tree

2020-12-07 Thread Stephen Rothwell
Hi all, After merging the rcu tree, today's linux-next build (htmldocs) produced this warning: Documentation/core-api/mm-api:49: mm/slab_common.c:569: WARNING: Inline literal start-string without end-string. Documentation/core-api/mm-api:49: mm/slab_common.c:595: WARNING: Inline literal

Re: Why the auxiliary cipher in gss_krb5_crypto.c?

2020-12-07 Thread David Howells
Herbert Xu wrote: > > Herbert recently made some changes for MSG_MORE support in the AF_ALG > > code, which permits a skcipher encryption to be split into several > > invocations of the skcipher layer without the need for this complexity > > on the side of the caller. Maybe there is a way to

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

2020-12-07 Thread Pavel Machek
Hi! > 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. > > Responses should be made by Tue, 08 Dec 2020 11:15:42

[PATCH] net: tipc: prevent possible null deref of link

2020-12-07 Thread Cengiz Can
`tipc_node_apply_property` does a null check on a `tipc_link_entry` pointer but also accesses the same pointer out of the null check block. This triggers a warning on Coverity Static Analyzer because we're implying that `e->link` can BE null. Move "Update MTU for node link entry" line into if

[PATCH 0/4] scsi: ufs-pci: Fixes for Intel controllers

2020-12-07 Thread Adrian Hunter
Hi Here are some small fixes / amendments. Adrian Hunter (4): scsi: ufs-pci: Fix restore from S4 for Intel controllers scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff() scsi: ufs-pci: Fix recovery from hibernate exit errors for Intel

[PATCH 1/4] scsi: ufs-pci: Fix restore from S4 for Intel controllers

2020-12-07 Thread Adrian Hunter
Currently, ufshcd-pci is the only UFS driver with support for suspend-to-disk PM callbacks (i.e. freeze/thaw/restore/poweroff). These callbacks are set by the macro SET_SYSTEM_SLEEP_PM_OPS to the same functions as system suspend/resume. That will work with spm_lvl 5 because spm_lvl 5 will result

[PATCH 3/4] scsi: ufs-pci: Fix recovery from hibernate exit errors for Intel controllers

2020-12-07 Thread Adrian Hunter
Intel controllers can end up in an unrecoverable state after a hibernate exit error unless a full reset and restore is done before anything else. Force that to happen. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufshcd-pci.c | 17 + 1 file changed, 17 insertions(+) diff

[PATCH 4/4] scsi: ufs-pci: Enable UFSHCD_CAP_RPM_AUTOSUSPEND for Intel controllers

2020-12-07 Thread Adrian Hunter
Enable runtime PM auto-suspend by default for Intel host controllers. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufshcd-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/ufs/ufshcd-pci.c b/drivers/scsi/ufs/ufshcd-pci.c index 888d8c9ca3a5..fadd566025b8 100644 ---

[PATCH 2/4] scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff()

2020-12-07 Thread Adrian Hunter
The expectation for suspend-to-disk is that devices will be powered-off, so the UFS device should be put in PowerDown mode. If spm_lvl is not 5, then that will not happen. Change the pm callbacks to force spm_lvl 5 for suspend-to-disk poweroff. Signed-off-by: Adrian Hunter ---

Re: [PATCH] ALSA: hda/realtek - Enable headset mic of ASUS X430UN with ALC256

2020-12-07 Thread Takashi Iwai
On Mon, 07 Dec 2020 08:27:55 +0100, Chris Chiu wrote: > > The ASUS laptop X430UN with ALC256 can't detect the headset microphone > until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied. > > Signed-off-by: Chris Chiu > Signed-off-by: Jian-Hong Pan Applied now. Thanks. Takashi

Re: [RFC][PATCH] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu online

2020-12-07 Thread Peter Zijlstra
On Thu, Dec 03, 2020 at 05:14:31PM +, Alexey Klimov wrote: > When a CPU offlined and onlined via device_offline() and device_online() > the userspace gets uevent notification. If, after receiving uevent, > userspace executes sched_setaffinity() on some task trying to move it > to a recently

Re: [PATCH] ALSA: hda/realtek - Add support for Memeza EDL03 headset mic

2020-12-07 Thread Takashi Iwai
On Mon, 07 Dec 2020 08:33:46 +0100, Chris Chiu wrote: > > The Memeza laptop EDL03 with codec ALC256 can't detect the headset > microphone. The headphone jack sensing works after we add a pin > definition for it by ALC256_FIXUP_ASUS_MIC_NO_PRESENCE. > > Signed-off-by: Chris Chiu > Signed-off-by:

[PATCH V2] kernfs: replace the mutex in kernfs_iop_permission with a rwlock

2020-12-07 Thread Fox Chen
A big global mutex in kernfs_iop_permission will significanly drag system performance when processes concurrently open files on kernfs in Big machines(with >= 16 cpu cores). This patch replace the big mutex with a global rwsem lock. So that kernfs_iop_permission can perform concurrently. In a

[PATCH v4 1/1] kasan: fix object remain in offline per-cpu quarantine

2020-12-07 Thread Kuan-Ying Lee
We hit this issue in our internal test. When enabling generic kasan, a kfree()'d object is put into per-cpu quarantine first. If the cpu goes offline, object still remains in the per-cpu quarantine. If we call kmem_cache_destroy() now, slub will report "Objects remaining" error. [ 74.982625]

[PATCH v4 0/1] Fix object remain in offline per-cpu quarantine

2020-12-07 Thread Kuan-Ying Lee
This patch fixes object remain in the offline per-cpu quarantine as describe below. Free objects will get into per-cpu quarantine if enable generic KASAN. If a cpu is offline and users use kmem_cache_destroy, kernel will detect objects still remain in the offline per-cpu quarantine and report

[PATCH 3/3] ALSA: hda/ca0132 - Unmute surround when speaker output is selected.

2020-12-07 Thread Connor McAdams
Make sure GPIO pin for surround channel mute is set to 0 when speaker output is selected. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index

[PATCH 2/3] ALSA: hda/ca0132 - Change Input Source enum strings.

2020-12-07 Thread Connor McAdams
Change the Input Source enumerated control's strings to make it play nice with pulseaudio. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index

[PATCH 0/3] Separate out earlycon

2020-12-07 Thread Akash Asthana
Patch 3/3 depends on patch 1/3, Greg would it be possible to ack patch 3/3. So it could land via QCOM tree. Akash Asthana (3): soc: qcom-geni-se: Cleanup the code to remove proxy votes arm64: dts: qcom: sc7180: Remove QUP-CORE ICC path Serial: Separate out earlycon support

[PATCH 1/3] soc: qcom-geni-se: Cleanup the code to remove proxy votes

2020-12-07 Thread Akash Asthana
ICC core and platforms drivers supports sync_state feature, which ensures that the default ICC BW votes from the bootloader is not removed until all it's consumers are probes. The proxy votes were needed in case other QUP child drivers I2C, SPI probes before UART, they can turn off the QUP-CORE

[PATCH 2/3] arm64: dts: qcom: sc7180: Remove QUP-CORE ICC path

2020-12-07 Thread Akash Asthana
We had introduced the QUP-CORE ICC path to put proxy votes from QUP wrapper on behalf of earlycon, if other users of QUP-CORE turn off this clock before the real console is probed, unclocked access to HW was seen from earlycon. With ICC sync state support proxy votes are no longer need as ICC

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

2020-12-07 Thread Connor McAdams
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 headphone. Signed-off-by: Connor McAdams ---

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

2020-12-07 Thread Zhen Lei
The check_spi_bus_bridge() in scripts/dtc/checks.c requires that the node have "spi-slave" property must with "#address-cells = <0>" and "#size-cells = <0>". But currently both "#address-cells" and "#size-cells" properties are deleted, the corresponding default values are 2 and 1. As a result, the

Re: [PATCH 2/5] crypto: hisilicon/sec - add new type of sqe for Kunpeng930

2020-12-07 Thread liulongfang
On 2020/12/7 15:47, Herbert Xu Wrote: > On Mon, Dec 07, 2020 at 03:46:28PM +0800, liulongfang wrote: >> >> I need to use "__packed __aligned(n)" to make sure the structure length is >> normal. >> Is it possible to use "__packed __aligned(n)" in the kernel? > > I don't see why not. > > Cheers,

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

2020-12-07 Thread Akash Asthana
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 uses downstream version of QUP drivers. Signed-off-by: Akash Asthana

[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

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

[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

[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

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

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 > >

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

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

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-queue.git dev

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,

[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

[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

[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

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

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,

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

[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

[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

[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 ---

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:

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?

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

[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

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

[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

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

[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

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: [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

[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

[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

[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

[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

[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.

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. > > > >

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:

[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

[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

[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

[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 +++

[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

[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 +++

[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

[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

[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

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 ->

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

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

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': >

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

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

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

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

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 > >

  1   2   3   4   5   6   7   8   9   10   >