Re: [PATCH v13 1/8] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2020-11-11 Thread Mike Rapoport
Hi, On Sat, Oct 31, 2020 at 03:44:30PM +0800, Chen Zhou wrote: > Move CRASH_ALIGN to header asm/kexec.h and replace the hard-coded > alignment with macro CRASH_ALIGN in function reserve_crashkernel(). > > Suggested-by: Dave Young > Signed-off-by: Chen Zhou > Tested-by: John Donnelly > --- >

[PATCH] scsi: aacraid: Correct goto target in aac_resume()

2020-11-11 Thread Jing Xiangfeng
In current code, it jumps to call pci_disable_device() when pci_enable_device() failes to initialize device. Add a label 'fail_enable' to fix it. Fixes: de665f28f788 ("aacraid: Add Power Management support") Signed-off-by: Jing Xiangfeng --- drivers/scsi/aacraid/linit.c | 5 +++-- 1 file

Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-11 Thread Laurent Pinchart
Hi Rob, On Wed, Nov 11, 2020 at 05:03:26PM -0600, Rob Herring wrote: > On Wed, Nov 11, 2020 at 8:27 AM Laurent Pinchart wrote: > > On Wed, Nov 11, 2020 at 08:25:40AM -0600, Rob Herring wrote: > > > On Wed, Nov 11, 2020 at 8:00 AM Laurent Pinchart wrote: > > > > On Mon, Nov 02, 2020 at 02:36:54PM

Re: [PATCH] ASoC: pcm512x: Add support for data formats RJ and LJ

2020-11-11 Thread Kirill Marinushkin
Hello Peter, On 11/12/2020 08:41 AM, Peter Ujfalusi wrote: > Hi Kirill, > > On 11/11/2020 9.54, Kirill Marinushkin wrote: >> Hello Peter, >> >> than you for your review! >> >>> The bus format and >>> switch (pcm512x->fmt & SND_SOC_DAIFMT_MASTER_MASK) { >>> case

[PATCH v1 1/3] dt-bindings: mmc: Add optional cqe off properties

2020-11-11 Thread Wenbin Mei
Add optional properties for cqe hosts which are used to set cqe off during suspend flow. Signed-off-by: Wenbin Mei --- Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml

[PATCH v1 0/3] Set cqe off during suspend flow

2020-11-11 Thread Wenbin Mei
Wenbin Mei (3): dt-bindings: mmc: Add optional cqe off properties arm64: dts: mt8192: Add cqe off flag mmc: core: Set cqe off during suspend flow --- This patch depends on [PATCH v7 3/4] arm64: dts: mt8192: add mmc device node Please also accept this patch together with [1] to avoid build

[PATCH v1 3/3] mmc: core: Set cqe off during suspend flow

2020-11-11 Thread Wenbin Mei
Before we got these errors on MT8192 platform: [ 59.153891] Restarting tasks ... [ 59.154540] done. [ 59.159175] PM: suspend exit [ 59.218724] mtk-msdc 11f6.mmc: phase: [map:fffe] [maxlen:31] [final:16] [ 119.776083] mmc0: cqhci: timeout for tag 9 [ 119.780196] mmc0: cqhci:

[PATCH v1 2/3] arm64: dts: mt8192: Add cqe off flag

2020-11-11 Thread Wenbin Mei
Add cqe off flag for MT8192 mmc nodes. Signed-off-by: Wenbin Mei --- arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-evb.dts b/arch/arm64/boot/dts/mediatek/mt8192-evb.dts index a4279fa87c2b..0df78e4ea0d0 100644

Re: [PATCH] ttyprintk: optimize tpk_close flush code

2020-11-11 Thread Greg KH
On Wed, Nov 04, 2020 at 02:02:24PM +0800, Junyong Sun wrote: > tpk_printk(NULL,0) do nothing but call tpk_flush to > flush buffer, so why don't use tpk_flush diretcly? > this is a small optimization. > > Signed-off-by: Junyong Sun > --- > drivers/char/ttyprintk.c | 2 +- > 1 file changed, 1

Re: [PATCH] w1: w1_therm: Rename conflicting sysfs attribute 'eeprom' to 'eeprom_cmd'

2020-11-11 Thread Greg Kroah-Hartman
On Thu, Nov 12, 2020 at 09:49:31AM +0300, Ivan Zaentsev wrote: > Duplicate attribute 'eeprom' is defined in: > 1) Documentation/ABI/testing/sysfs-driver-w1_therm > 2) Documentation/ABI/stable/sysfs-driver-w1_ds28e04 > > Both drivers define an attribute: /sys/bus/w1/devices/.../eeprom > with

Process-wide watchpoints

2020-11-11 Thread Dmitry Vyukov
Hello perf maintainers, I have a wish for a particular kernel functionality related to watchpoints, and I would appreciate it if you can say how feasible/complex to add it is (mostly glueing existing infra pieces, or redesigning and adding lots of new code), or maybe it exists already and I am

Re: [PATCH] ASoC: pcm512x: Add support for data formats RJ and LJ

2020-11-11 Thread Peter Ujfalusi
Hi Kirill, On 11/11/2020 9.54, Kirill Marinushkin wrote: > Hello Peter, > > than you for your review! > >> The bus format and >> >>> switch (pcm512x->fmt & SND_SOC_DAIFMT_MASTER_MASK) { >> >>> case SND_SOC_DAIFMT_CBS_CFS: >>> ret = regmap_update_bits(pcm512x->regmap, >> >>

Re: [PATCH v4 2/2] mm: prevent gup_fast from racing with COW during fork

2020-11-11 Thread Ahmed S. Darwish
On Tue, Nov 10, 2020 at 07:44:09PM -0400, Jason Gunthorpe wrote: ... > > Fixes: f3c64eda3e50 ("mm: avoid early COW write protect games during fork()") > Suggested-by: Linus Torvalds > Link: > https://lore.kernel.org/r/CAHk-=wi=icnycarbpgjkvju9eyyez13n64tzyldob8cp5q_...@mail.gmail.com >

[PATCH v2 4/5] Input: adp5589: use devm_gpiochip_add_data() for gpios

2020-11-11 Thread Alexandru Ardelean
This change makes use of the devm_gpiochip_add_data() function. With this the gpiochip_remove() function can be removed, and the adp5589_gpio_remove() function as well. The kpad->export_gpio variable is also redundant now, and has been removed. Signed-off-by: Alexandru Ardelean ---

[PATCH v2 2/5] Input: adp5589: use device-managed function in adp5589_keypad_add()

2020-11-11 Thread Alexandru Ardelean
This change makes use of the devm_input_allocate_device() function, which gets rid of the input_free_device() and input_unregister_device() calls. When a device is allocated via input_allocate_device(), the input_register_device() call will also be device-managed, so there is no longer need to

[PATCH v2 3/5] Input: adp5589: remove setup/teardown hooks for gpios

2020-11-11 Thread Alexandru Ardelean
This is currently just dead code. It's from around a time when platform-data was used, and a board could hook it's own special callback for setup/teardown, and a private object (via 'context'). This change removes it, as there are no more users in mainline for this. Signed-off-by: Alexandru

[PATCH v2 1/5] Input: adp5589: use devm_kzalloc() to allocate the kpad object

2020-11-11 Thread Alexandru Ardelean
This removes the need to manually free the kpad object and cleans up some exit/error paths. The error path cleanup should reduce the risk of any memory leaks with this object. Signed-off-by: Alexandru Ardelean --- drivers/input/keyboard/adp5589-keys.c | 13 - 1 file changed, 4

[PATCH v2 0/5] Input: adp5589: cleanup and use device-managed functions

2020-11-11 Thread Alexandru Ardelean
This change-set does a cleanup of the driver to use device-managed functions. The error & exit paths are simplified, and some potential leaks should be removed. Changelog v1 -> v2: * https://lore.kernel.org/linux-input/2020084833.40995-1-alexandru.ardel...@analog.com/T/#t * dropped patch:

[PATCH v2 5/5] Input: adp5589: use devm_add_action_or_reset() for register clear

2020-11-11 Thread Alexandru Ardelean
The driver clears the general configuration register during the remove() hook. This should also be done in case the driver exits on error. This change move the clear of that register to the devm_add_action_or_reset() hook. Signed-off-by: Alexandru Ardelean ---

drivers/net/wireless/mediatek/mt76/mt7915/init.c:339:26: sparse: sparse: cast from restricted __le16

2020-11-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3d5e28bff7ad55aea081c1af516cc1c94a5eca7d commit: 00b2e16e006390069480e90478aa8b6e924996d7 mt76: mt7915: add TxBF capabilities date: 6 months ago config: x86_64-randconfig-s022-20201112 (attached as

[PATCH v6 4/4] MAINTAINERS: Add ROHM BD9576MUF and BD9573MUF drivers

2020-11-11 Thread Matti Vaittinen
Add maintainer entries for ROHM BD9576MUF and ROHM BD9573MUF drivers. MFD, regulator and watchdog drivers were introduced for these PMICs. Signed-off-by: Matti Vaittinen --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v6 3/4] wdt: Support wdt on ROHM BD9576MUF and BD9573MUF

2020-11-11 Thread Matti Vaittinen
Add Watchdog support for ROHM BD9576MUF and BD9573MUF PMICs which are mainly used to power the R-Car series processors. The watchdog is pinged using a GPIO and enabled using another GPIO. Additionally watchdog time-out can be configured to HW prior starting the watchdog. Watchdog timeout can be

Fair Pay: I-T Step : Dance Culture for Fair Pay Unity in East and West

2020-11-11 Thread Ywe Cærlyn
I have also made this: https://www.youtube.com/channel/UCi7TCodsP4Y4UTuIigrG9GQ Dance Culture for Fair Pay Unity in East and West Make it your culture! Serenity Ywe.

[PATCH v6 2/4] mfd: Support ROHM BD9576MUF and BD9573MUF

2020-11-11 Thread Matti Vaittinen
Add core support for ROHM BD9576MUF and BD9573MUF PMICs which are mainly used to power the R-Car series processors. Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 11 drivers/mfd/Makefile | 1 + drivers/mfd/rohm-bd9576.c| 108

[PATCH v6 1/4] dt_bindings: mfd: Add ROHM BD9576MUF and BD9573MUF PMICs

2020-11-11 Thread Matti Vaittinen
Add bindings for ROHM BD9576MUF and BD9573MUF PMICs. These PMICs are primarily intended to be used to power the R-Car series processors. They provide 6 power outputs, safety features and a watchdog with two functional modes. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring ---

[PATCH v6 0/4] Support ROHM BD9576MUF and BD9573MUF PMICs

2020-11-11 Thread Matti Vaittinen
Initial support for ROHM BD9576MUF and BD9573MUF PMICs. These PMICs are primarily intended to be used to power the R-Car family processors. BD9576MUF includes some additional safety features the BD9573MUF does not have. This initial version of drivers does not utilize these features and for now

[PATCH v4 4/5] usb: dwc3: debugfs: Introduce DEFINE_SHOW_STORE_ATTRIBUTE

2020-11-11 Thread Luo Jiaxing
Seq introduce a new helper macro DEFINE_SHOW_STORE_ATTRIBUTE for Read-Write file, so we apply it at dwc3 debugfs to reduce some duplicated code. While at that, also use DEFINE_SHOW_ATTRIBUTE() where possible. Signed-off-by: Luo Jiaxing Acked-by: Felipe Balbi --- drivers/usb/dwc3/debugfs.c |

[PATCH v4 1/5] seq_file: Introduce DEFINE_SHOW_STORE_ATTRIBUTE() helper macro

2020-11-11 Thread Luo Jiaxing
We already own DEFINE_SHOW_ATTRIBUTE() helper macro for defining attribute for read-only file, but many of drivers want a helper macro for read-write file too. So we make one to decrease code duplication. Signed-off-by: Luo Jiaxing --- include/linux/seq_file.h | 15 +++ 1 file

[PATCH v4 0/5] Introduce a new helper macro DEFINE_SHOW_STORE_ATTRIBUTE at seq_file.c

2020-11-11 Thread Luo Jiaxing
We already own DEFINE_SHOW_ATTRIBUTE() helper macro for defining attribute for read-only file, but we found many of drivers also want a helper macro for read-write file too. So we add this macro to help decrease code duplication. --- v1->v2: 1.Rename DEFINE_STORE_ATTRIBUTE() to

[PATCH v4 3/5] scsi: qla2xxx: Introduce DEFINE_SHOW_STORE_ATTRIBUTE for debugfs

2020-11-11 Thread Luo Jiaxing
Seq introduce a new helper macro DEFINE_SHOW_STORE_ATTRIBUTE for Read-Write file, so we apply it at qla2xxx to reduce some duplicated code. Signed-off-by: Luo Jiaxing --- drivers/scsi/qla2xxx/qla_dfs.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git

[PATCH v4 2/5] scsi: hisi_sas: Introduce DEFINE_SHOW_STORE_ATTRIBUTE for debugfs

2020-11-11 Thread Luo Jiaxing
Seq introduce a new helper macro DEFINE_SHOW_STORE_ATTRIBUTE for Read-Write file, so we use it at our code to reduce some duplicated code. Signed-off-by: Luo Jiaxing --- drivers/scsi/hisi_sas/hisi_sas_main.c | 135 -- 1 file changed, 16 insertions(+), 119

[PATCH v4 5/5] drm/i915/display: Introduce DEFINE_SHOW_STORE_ATTRIBUTE for debugfs

2020-11-11 Thread Luo Jiaxing
Seq introduce a new helper macro DEFINE_SHOW_STORE_ATTRIBUTE for Read-Write file, so we apply it at drm/i915/display to reduce some duplicated code. Signed-off-by: Luo Jiaxing --- .../gpu/drm/i915/display/intel_display_debugfs.c | 55 ++ 1 file changed, 4 insertions(+), 51

Re: [PATCH net-next RFC] MAINTAINERS: Add Martin Schiller as a maintainer for the X.25 stack

2020-11-11 Thread Martin Schiller
On 2020-11-11 22:36, Xie He wrote: Hi Martin Schiller, would you like to be a maintainer for the X.25 stack? As we know the linux-x25 mail list has stopped working for a long time. Adding you as a maintainer may make you be Cc'd for new patches so that you can review them. About 1 year ago I

[RESEND PATCH 1/2] hwspinlock: sprd: fixed warning of unused variable 'sprd_hwspinlock_of_match'

2020-11-11 Thread Chunyan Zhang
From: Chunyan Zhang The macro function of_match_ptr() is NULL if CONFIG_OF is not set, in this case Clang compiler would complain the of_device_id variable is unused. Reported-by: kernel test robot Fixes: d8c81aba ("hwspinlock: sprd: Add hardware spinlock driver") Signed-off-by: Chunyan

Re: [f2fs-dev] [PATCH v3] f2fs: avoid race condition for shinker count

2020-11-11 Thread Chao Yu
On 2020/11/12 13:40, Jaegeuk Kim wrote: Light reported sometimes shinker gets nat_cnt < dirty_nat_cnt resulting in wrong do_shinker work. Let's avoid to get stale data by using nat_tree_lock. Reported-by: Light Hsieh Signed-off-by: Jaegeuk Kim --- v3: - fix to use NM_I(sbi)

Fair Pay: Fork Off Open Mandriva "Star X" Shortcut There.

2020-11-11 Thread Ywe Cærlyn
Which points to a fork of Open Mandriva being a shortcut there. "Star X". Serenity! Ywe Cærlyn https://ihsan-code.eu/

[PATCH v2] f2fs: compress: support chksum

2020-11-11 Thread Chao Yu
This patch supports to store chksum value with compressed data, and verify the integrality of compressed data while reading the data. The feature can be enabled through specifying mount option 'compress_chksum'. Signed-off-by: Chao Yu --- v2: - don't always return error and print error message,

Re: [PATCH] net: xfrm: fix memory leak in xfrm_user_policy()

2020-11-11 Thread Steffen Klassert
On Tue, Nov 10, 2020 at 09:14:43AM +0800, Yu Kuai wrote: > if xfrm_get_translator() failed, xfrm_user_policy() return without > freeing 'data', which is allocated in memdup_sockptr(). > > Fixes: 96392ee5a13b ("xfrm/compat: Translate 32-bit user_policy from sockptr") > Reported-by: Hulk Robot >

[rcu:rcu/next] BUILD SUCCESS e78cd85dc606c36677721c6d74bfcd8bd154e9a3

2020-11-11 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig i386 randconfig-a006-2020 i386 randconfig-a005-2020 i386 randconfig-a002-2020 i386 randconfig

RE: [PATCH 1/6] Input: adp5589: use a single variable for error in probe

2020-11-11 Thread Ardelean, Alexandru
> -Original Message- > From: Ardelean, Alexandru > Sent: Thursday, November 12, 2020 8:40 AM > To: Dmitry Torokhov > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH 1/6] Input: adp5589: use a single variable for error in > probe > > > >

Re: bootconfig length parse error in kernel

2020-11-11 Thread Chen Yu
On Thu, Nov 12, 2020 at 1:50 PM Masami Hiramatsu wrote: > > Hi Chen, > > On Thu, 12 Nov 2020 12:34:36 +0800 > Chen Yu wrote: > > > Hi Masami, > > > > On Wed, Nov 11, 2020 at 5:37 PM Masami Hiramatsu > > wrote: > > > > > > Hi Chen, > > > > > > On Tue, 10 Nov 2020 23:39:53 +0800 > > > Chen Yu

[PATCH] w1: w1_therm: Rename conflicting sysfs attribute 'eeprom' to 'eeprom_cmd'

2020-11-11 Thread Ivan Zaentsev
Duplicate attribute 'eeprom' is defined in: 1) Documentation/ABI/testing/sysfs-driver-w1_therm 2) Documentation/ABI/stable/sysfs-driver-w1_ds28e04 Both drivers define an attribute: /sys/bus/w1/devices/.../eeprom with conflicting behavior. Fix by renaming the newer one in w1_therm.c to

[PATCH] staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c

2020-11-11 Thread Jing Xiangfeng
gasket_interrupt_set_eventfd() misses to call eventfd_ctx_put() in an error path. We check interrupt is valid before calling eventfd_ctx_fdget() to fix it. There is the same issue in gasket_interrupt_clear_eventfd(), Add the missed function call to fix it. Fixes: 9a69f5087ccc ("drivers/staging:

Fair Pay Main Point: Theophrastus vs La Quran

2020-11-11 Thread Ywe Cærlyn
It seems drinking customs of Oden, came back here, via Theophrastus, reflecting a Fire Salamander, and Kyphosus Fish. (That now is LSD). This is not sufficient for Fair Pay background, and a clear argument for a switch to a Quranic background. Serenity, Ywe Cærlyn https://ihsan-code.eu/

[PATCH] drm/bridge: anx7625: Add anx7625 port switching.

2020-11-11 Thread Pi-Hsun Shih
When output 2 lanes DP data, anx7625 can output to either TX1/RX1 or TX2/RX2. In typical usage, these two TX/RX pairs corresponds to two orientations of typec. On some board one anx7625 is used as DPI to DP converter for two typec ports. In this case, the TX1/RX1 and TX2/RX2 are connected to two

Re: [PATCH 1/4] drivers core: Introduce CPU type sysfs interface

2020-11-11 Thread Greg Kroah-Hartman
On Thu, Nov 12, 2020 at 07:19:48AM +0100, Brice Goglin wrote: > Le 07/10/2020 à 07:15, Greg Kroah-Hartman a écrit : > > On Tue, Oct 06, 2020 at 08:14:47PM -0700, Ricardo Neri wrote: > >> On Tue, Oct 06, 2020 at 09:37:44AM +0200, Greg Kroah-Hartman wrote: > >>> On Mon, Oct 05, 2020 at 05:57:36PM

Re: [PATCH] clk: hisilicon: Add clock driver for hi3559A SoC

2020-11-11 Thread Dongjiu Geng
On 2020/11/12 6:23, Rob Herring wrote: > On Mon, Nov 09, 2020 at 08:28:38PM +, Dongjiu Geng wrote: >> Add clock drivers for hi3559A SoC, this driver controls the SoC >> registers to supply different clocks to different IPs in the SoC. >> >> Signed-off-by: Dongjiu Geng >> --- >>

RE: [PATCH 1/6] Input: adp5589: use a single variable for error in probe

2020-11-11 Thread Ardelean, Alexandru
> -Original Message- > From: Dmitry Torokhov > Sent: Thursday, November 12, 2020 2:38 AM > To: Ardelean, Alexandru > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/6] Input: adp5589: use a single variable for error in > probe > > [External] > >

Re: [RFC PATCH 00/12] Topdown parser

2020-11-11 Thread Andi Kleen
On Wed, Nov 11, 2020 at 08:09:49PM -0800, Ian Rogers wrote: > >    to the optimization manual the group Topdown_Group_TopDownL1 > provides the > >    > metrics Topdown_Metric_Frontend_Bound, Topdown_Metric_Backend_Bound,  > Topdown_Metric_Bad_Speculation > >    and 

[PATCH] usb: dwc3: qcom: Add shutdown callback for dwc3

2020-11-11 Thread Sandeep Maheswaram
This patch adds a shutdown callback to USB DWC QCOM driver to ensure that it is properly shutdown in reboot/shutdown path. This is required where SMMU address translation is enabled like on SC7180 SoC and few others. If the hardware is still accessing memory after SMMU translation is disabled as

Re: [PATCH 1/4] drivers core: Introduce CPU type sysfs interface

2020-11-11 Thread Brice Goglin
Le 07/10/2020 à 07:15, Greg Kroah-Hartman a écrit : > On Tue, Oct 06, 2020 at 08:14:47PM -0700, Ricardo Neri wrote: >> On Tue, Oct 06, 2020 at 09:37:44AM +0200, Greg Kroah-Hartman wrote: >>> On Mon, Oct 05, 2020 at 05:57:36PM -0700, Ricardo Neri wrote: On Sat, Oct 03, 2020 at 10:53:45AM

[PATCH v1 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-11-11 Thread Bhaskara Budiredla
This patch introduces to mmcpstore. The functioning of mmcpstore is is similar to mtdpstore. mmcpstore works on FTL based flash devices whereas mtdpstore works on raw flash devices. When the system crashes, mmcpstore stores the kmsg panic and oops logs to a user specified MMC device. It collects

[PATCH 0/1] Fix objects remain in the offline per-cpu quarantine

2020-11-11 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 v1 2/2] mmc:cavium: Add MMC polling method to support kmsg panic/oops write

2020-11-11 Thread Bhaskara Budiredla
To enable the writing of panic and oops logs, a Cavium specific MMC polling method is defined and thereby ensure the functioning of mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67

[PATCH v1 0/2] mmc: support crash logging to MMC block devices

2020-11-11 Thread Bhaskara Budiredla
This patch introduces to mmcpstore. Bhaskara Budiredla (2): mmc: Support kmsg dumper based on pstore/blk mmc:cavium: Add MMC polling method to support kmsg panic/oops write drivers/mmc/core/Kconfig | 7 + drivers/mmc/core/Makefile | 1 + drivers/mmc/core/block.c

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

2020-11-11 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]

Re: [RFC] Are you good with Lockdep?

2020-11-11 Thread Byungchul Park
On Wed, Nov 11, 2020 at 11:54:41AM +0100, Ingo Molnar wrote: > > We cannot get reported other than the first one. > > Correct. Experience has shown that the overwhelming majority of > lockdep reports are single-cause and single-report. > > This is an optimal approach, because after a decade of

Re: Scheduler wakeup path tuning surface: Interface discussion

2020-11-11 Thread Parth Shah
I was analyzing LPC 2020 discussion regarding Latency-nice interface and have below points to initiate further discussion: 1. There was consensus that having interface like "Latency-nice" to provide scheduler hints about task latency requirement can be very useful. 2. There are two use-case

Re: bootconfig length parse error in kernel

2020-11-11 Thread Masami Hiramatsu
Hi Chen, On Thu, 12 Nov 2020 12:34:36 +0800 Chen Yu wrote: > Hi Masami, > > On Wed, Nov 11, 2020 at 5:37 PM Masami Hiramatsu wrote: > > > > Hi Chen, > > > > On Tue, 10 Nov 2020 23:39:53 +0800 > > Chen Yu wrote: > > > > > Hi Masami, > > > Thanks for writing bootconfig and it is useful for

Re: [PATCH 0/4] ARM: dts: aspeed: Add Facebook Galaxy100 BMC

2020-11-11 Thread Joel Stanley
On Thu, 12 Nov 2020 at 03:18, Patrick Williams wrote: > > On Wed, Nov 11, 2020 at 11:34:10PM +, Joel Stanley wrote: > > On Wed, 11 Nov 2020 at 23:23, wrote: > > > > > > From: Tao Ren > > > > > > The patch series adds the initial version of device tree for Facebook > > > Galaxy100 (AST2400)

[PATCH v13 4/6] fpga: dfl: move dfl bus related APIs to include/linux/dfl.h

2020-11-11 Thread Xu Yilun
Now the dfl drivers could be made as independent modules and put in different folders according to their functionalities. In order for scattered dfl device drivers to include dfl bus APIs, move the dfl bus APIs to a new header file in the public folder. [m...@kernel.org: Fixed up header guards to

[PATCH v13 1/6] fpga: dfl: fix the definitions of type & feature_id for dfl devices

2020-11-11 Thread Xu Yilun
The value of the field dfl_device.type comes from the 12 bits register field DFH_ID according to DFL spec. So this patch changes the definition of the type field to u16. Also it is not necessary to illustrate the valid bits of the type field in comments. Instead we should explicitly define the

[PATCH v13 6/6] memory: dfl-emif: add the DFL EMIF private feature driver

2020-11-11 Thread Xu Yilun
This driver is for the EMIF private feature implemented under FPGA Device Feature List (DFL) framework. It is used to expose memory interface status information as well as memory clearing control. The purpose of memory clearing block is to zero out all private memory when FPGA is to be

[PATCH v13 2/6] fpga: dfl: move dfl_device_id to mod_devicetable.h

2020-11-11 Thread Xu Yilun
In order to support MODULE_DEVICE_TABLE() for dfl device driver, this patch moves struct dfl_device_id to mod_devicetable.h Some brief description for DFL (Device Feature List) is added to make the DFL known to the whole kernel. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Signed-off-by:

[PATCH v13 0/6] add DFL bus support to MODULE_DEVICE_TABLE()

2020-11-11 Thread Xu Yilun
Main changes from v1: - A new patch (Patch #3) to fix the description. - Rename the dfl-bus.h to dfl.h - Updated the MAINTAINERS under FPGA DFL DRIVERS. - Improve comments and minor fixes. Main changes from v2: - Change the bus name from "dfl" to "fpga-dfl", also rename related variables,

[PATCH v13 3/6] fpga: dfl: add dfl bus support to MODULE_DEVICE_TABLE()

2020-11-11 Thread Xu Yilun
Device Feature List (DFL) is a linked list of feature headers within the device MMIO space. It is used by FPGA to enumerate multiple sub features within it. Each feature can be uniquely identified by DFL type and feature id, which can be read out from feature headers. A dfl bus helps DFL

[PATCH v13 5/6] fpga: dfl: add support for N3000 Nios private feature

2020-11-11 Thread Xu Yilun
This patch adds support for the Nios handshake private feature on Intel PAC (Programmable Acceleration Card) N3000. The Nios is the embedded processor on the FPGA card. This private feature provides a handshake interface to FPGA Nios firmware, which receives retimer configuration command from

[PATCH v2 2/2] ASoC: qcom: sc7180: Modify machine driver for sound card

2020-11-11 Thread xuyuqing
Bypass set jack because there is no jack on coachz. Create route for dmic. Signed-off-by: xuyuqing --- sound/soc/qcom/Kconfig | 1 + sound/soc/qcom/sc7180.c | 86 ++--- 2 files changed, 74 insertions(+), 13 deletions(-) diff --git a/sound/soc/qcom/Kconfig

Re: [PATCH 0/7] MIPS: ralink: add CPU clock detection and clock gate driver for MT7621

2020-11-11 Thread Chuanhong Guo
On Thu, Nov 12, 2020 at 9:26 AM Chuanhong Guo wrote: > > I've already said in previous threads that clock assignment in > current linux kernel is not trustworthy. > I've got the clock plan for mt7621 now. (Can't share it, sorry.) > Most of your clock assumptions above are incorrect. > I've made a

Re: [PATCH v5 1/1] sched/uclamp: add SCHED_FLAG_UTIL_CLAMP_RESET flag to reset uclamp

2020-11-11 Thread Yun Hsiang
On Wed, Nov 11, 2020 at 07:04:41PM +0100, Peter Zijlstra wrote: > On Wed, Nov 11, 2020 at 06:41:07PM +0100, Dietmar Eggemann wrote: > > diff --git a/include/uapi/linux/sched/types.h > > b/include/uapi/linux/sched/types.h > > index c852153ddb0d..b9165f17dddc 100644 > > ---

[PATCH] scsi: ufs: Add retry flow for failed hba enabling

2020-11-11 Thread Stanley Chu
Once hba enabling is failed, add retry mechanism and in the meanwhile allow vendors to apply specific handlings before the next retry. For example, vendors can do vendor-specific host reset flow in variant function "ufshcd_vops_hce_enable_notify()". Signed-off-by: Stanley Chu ---

[PATCH v2 0/2] Support SC7180 sound card variation without headset

2020-11-11 Thread xuyuqing
Use compatible string to let machine driver handle the case where ALC5682 headset codec is replaced with ADAU7002 dmic codec xuyuqing (2): ASoC: google: dt-bindings: add new compatible for sc7180-coachz ASoC: qcom: sc7180: Add machine driver for sound card

[PATCH v2 1/2] ASoC: google: dt-bindings: add new compatible for sc7180-coachz

2020-11-11 Thread xuyuqing
Add devicetree bindings for coachz in documentation file Signed-off-by: xuyuqing --- .../devicetree/bindings/sound/google,sc7180-trogdor.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml

Re: [PATCH 1/2] init/console: Use ttynull as a fallback when there is no console

2020-11-11 Thread Sergey Senozhatsky
On (20/11/12 09:17), Sergey Senozhatsky wrote: > On (20/11/11 14:54), Petr Mladek wrote: > [..] > > diff --git a/init/main.c b/init/main.c > > index 130376ec10ba..24413c055a85 100644 > > --- a/init/main.c > > +++ b/init/main.c > > @@ -1470,8 +1470,14 @@ void __init console_on_rootfs(void) > >

Re: [PATCH v3 07/11] input: raspberrypi-ts: Release firmware handle when not needed

2020-11-11 Thread Dmitry Torokhov
Hi Nicolas, On Wed, Nov 04, 2020 at 11:39:33AM +0100, Nicolas Saenz Julienne wrote: > Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware > interface when unbinding the device. Unless I am mistaken this driver does not really need the firmware structure past rpi_ts_probe(),

Re: [PATCH] Input: elan_i2c - Modify the correct input of the iap page type command.

2020-11-11 Thread Dmitry Torokhov
Hi Jingle, On Wed, Nov 04, 2020 at 03:08:04PM +0800, jingle.wu wrote: > The iap page type command of the parameter is page_size. You need to supply your "Signed-off-by: " for me to apply this patch. Thanks! > --- > drivers/input/mouse/elan_i2c.h | 2 +- >

Re: [PATCH v7 0/3] Add support for AMD PTDMA controller driver

2020-11-11 Thread Sanjay R Mehta
On 10/16/2020 1:09 PM, Sanjay R Mehta wrote: > From: Sanjay R Mehta > > This patch series adds support for AMD PTDMA controller which > performs high bandwidth memory-to-memory and IO copy operation, > performs DMA transfer through queue based descriptor management. > > AMD Processor has

[PATCH V2 2/5] arm64: dts: ti: k3-j721e*: Cleanup disabled nodes at SoC dtsi level

2020-11-11 Thread Nishanth Menon
The device tree standard states that when the status property is not present under a node, the okay value is assumed. There are many reasons for doing the same, the number of strings in the device tree, default power management functionality, etc. are a few of the reasons. In general, after a few

[PATCH V2 4/5] arm64: dts: ti: k3-am654-base-board: Fix up un-necessary status set to "okay" for USB

2020-11-11 Thread Nishanth Menon
The default state of a device tree node is "okay". There is no specific use of explicitly adding status = "okay" in the board dts. Fixes: 7e7e7dd51d06 ("arm64: dts: ti: k3-am654-base-board: enable USB1") Signed-off-by: Nishanth Menon Cc: Roger Quadros --- Changes since v1: - no change. v1:

[PATCH V2 1/5] arm64: dts: ti: k3-am65*: Cleanup disabled nodes at SoC dtsi level

2020-11-11 Thread Nishanth Menon
The device tree standard states that when the status property is not present under a node, the okay value is assumed. There are many reasons for doing the same, the number of strings in the device tree, default power management functionality, etc. are a few of the reasons. In general, after a few

Re: [PATCH v21 15/19] mm/compaction: do page isolation first in compaction

2020-11-11 Thread Hugh Dickins
On Wed, 11 Nov 2020, Vlastimil Babka wrote: > On 11/5/20 9:55 AM, Alex Shi wrote: > > > @@ -979,10 +995,6 @@ static bool too_many_isolated(pg_data_t *pgdat) > > goto isolate_abort; > > } > > - /* Recheck PageLRU and

Re:Re: [PATCH V4 net-bugfixs] net/ethernet: Update ret when ptp_clock is ERROR

2020-11-11 Thread 王擎
>On Thu, 12 Nov 2020 09:15:05 +0800 (GMT+08:00) 王擎 wrote: >> >Grygorii, would you mind sending a correct patch in so Wang Qing can >> >see how it's done? I've been asking for a fixes tag multiple times >> >already :( >> >> I still don't quite understand what a fixes tag means, >> can you tell

Re: [MPTCP][PATCH net 1/2] mptcp: fix static checker warnings in mptcp_pm_add_timer

2020-11-11 Thread Geliang Tang
Hi Jakub, Matt, Jakub Kicinski 于2020年11月10日周二 上午6:20写道: > > On Mon, 9 Nov 2020 21:23:33 + (UTC) Matthieu Baerts wrote: > > 09 Nov 2020 21:57:05 Jakub Kicinski : > > > On Mon, 9 Nov 2020 17:28:54 +0100 Matthieu Baerts wrote: > > >> A small detail (I think): the Signed-off-by of the sender

Re: [PATCH v2] f2fs: avoid race condition for shinker count

2020-11-11 Thread Jaegeuk Kim
Light reported sometimes shinker gets nat_cnt < dirty_nat_cnt resulting in wrong do_shinker work. Let's avoid to get stale data by using nat_tree_lock. Reported-by: Light Hsieh Signed-off-by: Jaegeuk Kim --- fs/f2fs/shrinker.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH v5 02/10] firmware: imx: scu-pd: Add power domains for imx-jpeg

2020-11-11 Thread Mirela Rabulea (OSS)
From: Mirela Rabulea The power domains are for imx8qxp/imx8qm JPEG encoder & decoder. Each has 4 slots and a wrapper. Signed-off-by: Mirela Rabulea Acked-by: Daniel Baluta --- Changes in v5: Added Acked-by drivers/firmware/imx/scu-pd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [f2fs-dev] [PATCH v3] f2fs: avoid race condition for shinker count

2020-11-11 Thread Jaegeuk Kim
Light reported sometimes shinker gets nat_cnt < dirty_nat_cnt resulting in wrong do_shinker work. Let's avoid to get stale data by using nat_tree_lock. Reported-by: Light Hsieh Signed-off-by: Jaegeuk Kim --- v3: - fix to use NM_I(sbi) fs/f2fs/shrinker.c | 6 +- 1 file changed, 5

Re: [RFC] fs: Avoid to use lockdep information if it's turned off

2020-11-11 Thread Boqun Feng
Hi David, On Wed, Nov 11, 2020 at 03:01:21PM +0100, David Sterba wrote: > On Tue, Nov 10, 2020 at 04:33:27PM +0100, David Sterba wrote: > > On Tue, Nov 10, 2020 at 09:37:37AM +0800, Boqun Feng wrote: > > > > I'll run another test on top of the development branch in case there are > > unrelated

[PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap()

2020-11-11 Thread Chris Packham
make coccicheck complains: ./drivers/bus/mvebu-mbus.c:1113:2-8: ERROR: missing iounmap; ioremap on line 1106 and execution via conditional on line It took some staring but I don't think there is a problem because the file global `mbus_state` is passed mvebu_mbus_common_init() as the

Re: [PATCH v21 14/19] mm/lru: introduce TestClearPageLRU

2020-11-11 Thread Hugh Dickins
On Wed, 11 Nov 2020, Vlastimil Babka wrote: > On 11/5/20 9:55 AM, Alex Shi wrote: > > > --- a/mm/vmscan.c > > +++ b/mm/vmscan.c > > @@ -1542,7 +1542,7 @@ unsigned int reclaim_clean_pages_from_list(struct > > zone *zone, > >*/ > > int __isolate_lru_page(struct page *page, isolate_mode_t

[PATCH V3 net-next 10/10] net: hns3: add ethtool priv-flag for EQ/CQ

2020-11-11 Thread Huazhong Tan
Add a control private flag in ethtool for switching EQ/CQ mode. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hnae3.h| 2 ++ drivers/net/ethernet/hisilicon/hns3/hns3_enet.c| 19 +++-- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h| 2 ++

[PATCH v9 1/2] dt-bindings: dma: Add bindings for Intel LGM SoC

2020-11-11 Thread Amireddy Mallikarjuna reddy
Add DT bindings YAML schema for DMA controller driver of Lightning Mountain (LGM) SoC. Signed-off-by: Amireddy Mallikarjuna reddy --- v1: - Initial version. v2: - Fix bot errors. v3: - No change. v4: - Address Thomas langer comments - use node name pattern as dma-controller as in common

Re: [PATCH v5 0/7] dma-buf: Performance improvements for system heap & a system-uncached implementation

2020-11-11 Thread Sumit Semwal
Hi John, On Tue, 10 Nov 2020 at 09:19, John Stultz wrote: > > Hey All, > So just wanted to send my last revision of my patch series > of performance optimizations to the dma-buf system heap. Thanks very much for your patches - I think the first 5 patches look good to me. I know there was a

[PATCH v10 4/5] Bluetooth: Refactor read default sys config for various types

2020-11-11 Thread Howard Chung
Refactor read default system configuration function so that it's capable of returning different types than u16 Signed-off-by: Howard Chung --- (no changes since v8) Changes in v8: - Update the commit title and message net/bluetooth/mgmt_config.c | 140 +--- 1

linux-next: Tree for Nov 12

2020-11-11 Thread Stephen Rothwell
Hi all, Changes since 2020: The drivers-memory tree still had its build failure. The mac80211-next tree lost its build failure. Non-merge commits (relative to Linus' tree): 4823 5042 files changed, 519831 insertions(+), 79842 deletions

[PATCH v9 2/2] Add Intel LGM SoC DMA support.

2020-11-11 Thread Amireddy Mallikarjuna reddy
Add DMA controller driver for Lightning Mountain (LGM) family of SoCs. The main function of the DMA controller is the transfer of data from/to any peripheral to/from the memory. A memory to memory copy capability can also be configured. This ldma driver is used for configure the device and

[PATCH V3 net-next 06/10] net: hns3: add ethtool priv-flag for DIM

2020-11-11 Thread Huazhong Tan
Add a control private flag in ethtool for enable/disable DIM feature. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hnae3.h| 7 +++ drivers/net/ethernet/hisilicon/hns3/hns3_enet.c| 1 + drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 71

[PATCH V3 net-next 09/10] net: hns3: add support for EQ/CQ mode configuration

2020-11-11 Thread Huazhong Tan
For device whose version is above V3(include V3), the GL can select EQ or CQ mode, so adds support for it. In CQ mode, the coalesced timer will restart when the first new completion occurs, while in EQ mode, the timer will not restart. Signed-off-by: Huazhong Tan ---

[PATCH v9 0/2] Add Intel LGM SoC DMA support

2020-11-11 Thread Amireddy Mallikarjuna reddy
Add DMA controller driver for Lightning Mountain (LGM) family of SoCs. The main function of the DMA controller is the transfer of data from/to any peripheral to/from the memory. A memory to memory copy capability can also be configured. This ldma driver is used for configure the device and

[PATCH V3 net-next 01/10] net: hns3: add support for configuring interrupt quantity limiting

2020-11-11 Thread Huazhong Tan
QL(quantity limiting) means that hardware supports the interrupt coalesce based on the frame quantity. QL can be configured when int_ql_max in device's specification is non-zero, so add support to configure it. Also, rename two coalesce init function to fit their purpose. Signed-off-by: Huazhong

[PATCH v2 05/10] ARM: dts: BCM5301X: Provide defaults ports container node

2020-11-11 Thread Florian Fainelli
Provide an empty 'ports' container node with the correct #address-cells and #size-cells properties. This silences the following warning: arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dt.yaml: ethernet-switch@18007000: 'oneOf' conditional failed, one must be fixed: 'ports' is a required property

  1   2   3   4   5   6   7   8   9   10   >