RE: [PATCH v1 3/3] scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM

2020-12-06 Thread Avri Altman
> > > From: Bean Huo > > Transaction Specific Fields (TSF) in the UPIU package could be CDB > (SCSI/UFS Command Descriptor Block), OSF (Opcode Specific Field), and > TM I/O parameter (Task Management Input/Output Parameter). But, > currently, > we take all of these as CDB in the UPIU trace.

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

2020-12-06 Thread Miquel Raynal
Hi Guohua, Guohua Zhong wrote on Mon, 7 Dec 2020 15:07:15 +0800: > On Mon, Dec 7, 2020 at 14:56 AM Guohua Zhong wrote: > > > >> 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

Re: [f2fs-dev] [PATCH 2/2] f2fs: introduce max_io_bytes, a sysfs entry, to limit bio size

2020-12-06 Thread Chao Yu
On 2020/12/4 4:55, Jaegeuk Kim wrote: This patch adds max_io_bytes to limit bio size when f2fs tries to merge consecutive IOs. This can give a testing point to split out bios and check end_io handles those bios correctly. This is used to capture a recent bug on the decompression and fsverity

Re: [f2fs-dev] [PATCH 1/2] f2fs: don't allow any writes on readonly mount

2020-12-06 Thread Chao Yu
On 2020/12/4 4:55, Jaegeuk Kim wrote: generic_make_request: Trying to write to read-only block-device dm-5 (partno 0) WARNING: CPU: 7 PID: 546 at block/blk-core.c:2190 generic_make_request_checks+0x664/0x690 pc : generic_make_request_checks+0x664/0x690 lr :

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

2020-12-06 Thread Stephen Rothwell
Hi all, After merging the jc_docs tree, today's linux-next build (htmldocs) produced this warning: Documentation/nios2/index.rst:7: WARNING: toctree contains reference to nonexisting document 'nios2/features' Introduced by commit ed13a92d0fde ("docs: archis: add a per-architecture features

Re: [PATCH] mtd: parser: cmdline: Support MTD names containing one or more colons

2020-12-06 Thread Sven Eckelmann
On Friday, 27 November 2020 19:54:30 CET ron minnich wrote: > Thanks, Sven, for your patience, I will indeed try to test this next week. Any test results? Kind regards, Sven signature.asc Description: This is a digitally signed message part.

linux-next: build warning after merge of the hwmon-staging tree

2020-12-06 Thread Stephen Rothwell
Hi all, After merging the hwmon-staging tree, today's linux-next build (htmldocs) produced this warning: Documentation/hwmon/q54sj108a2.rst:4: WARNING: Title underline too short. Kernel driver q54sj108a2 = Introduced by commit b722d7b9e4da ("hwmon: (pmbus) Driver for

RE: [PATCH v1 2/3] scsi: ufs: Distinguish between TM request UPIU and response UPIU in TM UPIU trace

2020-12-06 Thread Avri Altman
> > > From: Bean Huo > > Distinguish between TM request UPIU and response UPIU in TM UPIU trace, > for the TM response, let TM UPIU trace print its TM response UPIU. > > Signed-off-by: Bean Huo Acked-by: Avri Altman Again - same comment: But you need to change the complete string so not to

Re: [PATCH net] net: hns3: remove a misused pragma packed

2020-12-06 Thread David Miller
From: Huazhong Tan Date: Mon, 7 Dec 2020 15:20:25 +0800 > hclge_dbg_reg_info[] is defined as an array of packed structure > accidentally. However, this array contains pointers, which are > no longer aligned naturally, and cannot be relocated on PPC64. > Hence, when compile-testing this driver on

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

2020-12-06 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (htmldocs) produced this warning: kernel/trace/blktrace.c:1039: warning: Excess function parameter 'q' description in 'blk_add_trace_rq_remap' Introduced by commit a54895fa057c ("block: remove the request_queue to argument

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

2020-12-06 Thread Herbert Xu
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, -- Email: Herbert Xu Home Page:

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

2020-12-06 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Anshuman Khandual [mailto:anshuman.khand...@arm.com] > Sent: Monday, December 7, 2020 8:31 PM > To: Song Bao Hua (Barry Song) ; Mike Rapoport > ; Will Deacon > Cc: steve.cap...@arm.com; catalin.mari...@arm.com; > linux-kernel@vger.kernel.org;

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

2020-12-06 Thread liulongfang
On 2020/12/7 11:45, Herbert Xu Wrote: > On Mon, Dec 07, 2020 at 11:43:38AM +0800, liulongfang wrote: >> >> Can I use __attribute__((aligned(n))) instead of #pragma pack(n)? > > We normally just use __aligned(n) in the kernel. > > Cheers, > I need to use "__packed __aligned(n)" to make sure

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

2020-12-06 Thread javier.g...@samsung.com
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"), > v2020.05.04 ("Ratified") > > The Specification can be found in following

Re: [RFC][PATCH 1/2] cpufreq: Add special-purpose fast-switching callback for drivers

2020-12-06 Thread Viresh Kumar
On 30-11-20, 19:37, Rafael J. Wysocki wrote: > Index: linux-pm/include/linux/cpufreq.h > === > --- linux-pm.orig/include/linux/cpufreq.h > +++ linux-pm/include/linux/cpufreq.h > @@ -320,6 +320,15 @@ struct cpufreq_driver { >

RE: [PATCH v1 1/3] scsi: ufs: Distinguish between query REQ and query RSP in query trace

2020-12-06 Thread Avri Altman
> > From: Bean Huo > > Currently, in the query completion trace print, since we use > hba->lrb[tag].ucd_req_ptr and didn't differentiate UPIU between > request and response, thus header and transaction-specific field > in UPIU printed by query trace are identical. This is not very > practical.

Re: [f2fs-dev] [PATCH v3] f2fs: fix race of pending_pages in decompression

2020-12-06 Thread Chao Yu
On 2020/12/7 15:28, Daeho Jeong wrote: It looks like it will be better to move this into merge condition? if (bio && (!page_is_mergeable(sbi, bio, *last_block_in_bio, blkaddr) || !f2fs_crypt_mergeable_bio(bio, inode,

Re: BUG: Invalid wait context with KMEMLEAK and KASAN enabled

2020-12-06 Thread Richard Weinberger
Boqun, - Ursprüngliche Mail - >> Does this ring a bell? >> >> [2.298447] = >> [2.298971] [ BUG: Invalid wait context ] >> [2.298971] 5.10.0-rc6+ #388 Not tainted >> [2.298971] - >> [2.298971] ksoftirqd/1/15 is

Re: [PATCH v5 02/19] dt-bindings: usb: Convert generic USB properties to DT schemas

2020-12-06 Thread Chunfeng Yun
On Sat, 2020-12-05 at 18:24 +0300, Serge Semin wrote: > The generic USB properties have been described in the legacy bindings > text file: Documentation/devicetree/bindings/usb/generic.txt . Let's > convert its content into the generic USB, USB HCD and USB DRD DT > schemas. So the Generic USB

Re: [PATCH] MAINTAINERS: Update 68k Mac entry

2020-12-06 Thread Geert Uytterhoeven
Hi Finn, On Sat, Dec 5, 2020 at 4:49 AM Finn Thain wrote: > Two files under drivers/macintosh are actually m68k-only. I think that > patches for these files should be reviewed in the appropriate forum and > merged via the appropriate tree, rather than falling to the powerpc > maintainers to deal

Re: [v2] i2c: mediatek: Move suspend and resume handling to NOIRQ phase

2020-12-06 Thread Qii Wang
Hi: Thank you very much for your patience review. There are two main purposes of this patch: 1.i2c_mark_adapter_suspended_mark_adapter_resumed Avoid accessing the adapter while it is suspended by marking it suspended during suspend. This allows the I2C core to catch this, and print a warning.

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

2020-12-06 Thread Chris Chiu
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: Jian-Hong Pan --- sound/pci/hda/patch_realtek.c | 1 + 1 file

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

2020-12-06 Thread Anshuman Khandual
On 12/7/20 7:10 AM, Song Bao Hua (Barry Song) wrote: > > >> -Original Message- >> From: Mike Rapoport [mailto:r...@linux.ibm.com] >> Sent: Saturday, December 5, 2020 12:44 AM >> To: Will Deacon >> Cc: liwei (CM) ; catalin.mari...@arm.com; fengbaopeng >> ; nsaenzjulie...@suse.de;

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

2020-12-06 Thread Chris Chiu
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 --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2 00/19] dmaengine/soc: k3-udma: Add support for BCDMA and PKTDMA

2020-12-06 Thread Peter Ujfalusi
Hi Santosh, On 24/11/2020 19.08, Vinod Koul wrote: > On 17-11-20, 12:56, Peter Ujfalusi wrote: >> Hi, >> >> The series have build dependency on ti_sci/soc series (v2): >> https://lore.kernel.org/lkml/20201008115224.1591-1-peter.ujfal...@ti.com/ >> >> Santosh kindly created immutable branch

Re: [f2fs-dev] [PATCH v3] f2fs: fix race of pending_pages in decompression

2020-12-06 Thread Daeho Jeong
> It looks like it will be better to move this into merge condition? > > if (bio && (!page_is_mergeable(sbi, bio, > *last_block_in_bio, blkaddr) || > !f2fs_crypt_mergeable_bio(bio, inode, page->index, NULL) > || >

Re: [PATCH 3/7] mm,madvise: call soft_offline_page() without MF_COUNT_INCREASED

2020-12-06 Thread Oscar Salvador
On 2020-12-07 03:34, HORIGUCHI NAOYA wrote: diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 869ece2a1de2..ba861169c9ae 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -1269,6 +1269,12 @@ static int memory_failure_dev_pagemap(unsigned long pfn, int flags, if

Re: [PATCH 1/3] iio: dummy: convert all simple allocation devm_ variants

2020-12-06 Thread Alexandru Ardelean
On Sat, Dec 5, 2020 at 8:46 PM Jonathan Cameron wrote: > > On Thu, 3 Dec 2020 11:50:03 +0200 > Alexandru Ardelean wrote: > > > Since a main requirement for an IIO device is to have a parent device > > object, it makes sense to attach more of the IIO device's objects to the > > lifetime of the

[PATCH net] net: hns3: remove a misused pragma packed

2020-12-06 Thread Huazhong Tan
hclge_dbg_reg_info[] is defined as an array of packed structure accidentally. However, this array contains pointers, which are no longer aligned naturally, and cannot be relocated on PPC64. Hence, when compile-testing this driver on PPC64 with CONFIG_RELOCATABLE=y (e.g. PowerPC allyesconfig),

Re: [PATCH 2/3] thermal: mediatek: Add LVTS drivers for SoC theraml zones

2020-12-06 Thread Hsin-Yi Wang
> > Add a LVTS (Low voltage thermal sensor) driver to report junction > temperatures in Mediatek SoC and register the maximum temperature > of sensors and each sensor as a thermal zone. > > Signed-off-by: Yu-Chia Chang > Signed-off-by: Michael Kao > --- > drivers/thermal/mediatek/Kconfig

Re: [PATCH v2 0/5] Some cleanups and improvements for blk-iocost

2020-12-06 Thread Baolin Wang
Hi Jens, Hi, This patch set did some cleanups and improvements for blk-iocost, and no big functional changes. Please help to review. Thanks. Changes from v1: - Add acked-by tag from Tejun. - Drop 2 unnecessary patches. - Move the related variable declarations inside the block together

Re: [PATCH 5.9 00/46] 5.9.13-rc1 review

2020-12-06 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.9.13 release. > There are 46 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] watchdog: qcom: Avoid context switch in restart handler

2020-12-06 Thread Guenter Roeck
On 12/6/20 10:00 PM, Manivannan Sadhasivam wrote: > The use of msleep() in the restart handler will cause scheduler to > induce a context switch which is not desirable. This generates below > warning on SDX55 when WDT is the only available restart source: > > [ 39.800188] reboot: Restarting

[PATCH] Input: i8042 - add Acer laptops to the i8042 reset list

2020-12-06 Thread Chris Chiu
The touchpad operates in Basic Mode by default in the Acer BIOS setup, but some Aspire/TravelMate models require the i8042 to be reset in order to be correctly detected. Signed-off-by: Chris Chiu --- drivers/input/serio/i8042-x86ia64io.h | 42 +++ 1 file changed, 42

Re: [PATCH 6/6] mm/gup: migrate pinned pages out of movable zone

2020-12-06 Thread Joonsoo Kim
On Fri, Dec 04, 2020 at 12:43:29PM -0500, Pavel Tatashin wrote: > On Thu, Dec 3, 2020 at 11:14 PM Joonsoo Kim wrote: > > > > On Wed, Dec 02, 2020 at 12:23:30AM -0500, Pavel Tatashin wrote: > > > We do not allocate pin pages in ZONE_MOVABLE, but if pages were already > > > allocated before pinning

Re: [PATCH 0/2] SCMI performance protocol power scale interface

2020-12-06 Thread Viresh Kumar
On 24-11-20, 10:43, Lukasz Luba wrote: > Hi all, > > The Energy Model (EM) supports power values expressed in an abstract scale > via new API. The SCMI performance protocol provides the information about > power scale. This patch set implements the needed interface and updates > cpufreq driver to

Re: [PATCH 0/6] prohibit pinning pages in ZONE_MOVABLE

2020-12-06 Thread Joonsoo Kim
On Fri, Dec 04, 2020 at 12:50:56PM -0500, Pavel Tatashin wrote: > > > Yes, this indeed could be a problem for some configurations. I will > > > add your comment to the commit log of one of the patches. > > > > It sounds like there is some inherent tension here, breaking THP's > > when doing

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

2020-12-06 Thread Guohua Zhong
On Mon, Dec 7, 2020 at 14:56 AM Guohua Zhong wrote: > >> 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

Re: [f2fs-dev] [PATCH v3] f2fs: fix race of pending_pages in decompression

2020-12-06 Thread Chao Yu
On 2020/12/5 12:26, Daeho Jeong wrote: From: Daeho Jeong I found out f2fs_free_dic() is invoked in a wrong timing, but f2fs_verify_bio() still needed the dic info and it triggered the below kernel panic. It has been caused by the race condition of pending_pages value between decompression and

[PATCH] arm64: dts: imx8mn: Fix duplicate node name

2020-12-06 Thread Shengjiu Wang
Error log: sysfs: cannot create duplicate filename '/bus/platform/devices/3000.bus' The spba bus name is duplicate with aips bus name. Refine spba bus name to fix this issue. Fixes: 970406eaef3a ("arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter") Signed-off-by: Shengjiu Wang

Re: [PATCH] staging:hantro: Fixed "replace comma with semicolon" Warning:

2020-12-06 Thread Philipp Zabel
Hi Travis, On Fri, 2020-12-04 at 17:51 -0600, Travis Carter wrote: > Corrected the following Warning: > drivers/staging/media/hantro/hantro_v4l2.c:319: WARNING: Possible comma where > semicolon could be used > > Signed-off-by: Travis Carter > --- > drivers/staging/media/hantro/hantro_v4l2.c |

Re: [PATCH] kasan: fix slab double free when cpu-hotplug

2020-12-06 Thread Kuan-Ying Lee
On Mon, 2020-12-07 at 10:06 +0800, Kuan-Ying Lee wrote: > On Sat, 2020-12-05 at 17:09 -0800, Andrew Morton wrote: > > On Sun, 6 Dec 2020 00:17:15 +0800 Kuan-Ying Lee > > wrote: > > > > > On Fri, 2020-12-04 at 17:25 -0800, Andrew Morton wrote: > > > > On Fri, 4 Dec 2020 20:01:35 +0800 Kuan-Ying

Re: [PATCH v2 1/3] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

2020-12-06 Thread Stanley Chu
On Sun, 2020-12-06 at 11:13 +0100, Bean Huo wrote: > From: Bean Huo > > Currently UFS WriteBooster driver uses clock scaling up/down to set > WB on/off, for the platform which doesn't support UFSHCD_CAP_CLK_SCALING, > WB will be always on. Provide a sysfs attribute to enable/disable WB > during

RE: [PATCH v2 1/3] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

2020-12-06 Thread Avri Altman
> > From: Bean Huo > > Currently UFS WriteBooster driver uses clock scaling up/down to set > WB on/off, for the platform which doesn't support > UFSHCD_CAP_CLK_SCALING, > WB will be always on. Provide a sysfs attribute to enable/disable WB > during runtime. Write 1/0 to "wb_on" sysfs node to

Re: [PATCH 03/17] drivers/gpu: Convert to mem*_page()

2020-12-06 Thread Ira Weiny
On Fri, Dec 04, 2020 at 11:33:08PM +0100, Thomas Gleixner wrote: > On Fri, Dec 04 2020 at 08:05, Ira Weiny wrote: > > So I think I'm going to submit the base patch to Andrew today (with some > > cleanups per the comments in this thread). > > Could you please base that on tip core/mm where the

[PATCH v2 2/3] f2fs-tools:sload.f2fs compression support

2020-12-06 Thread Robin Hsu
From: Robin Hsu Add F2FS compression support for sload * Support file extension filter, either default-accept or default-deny policy * Support choice of compression algorithm, LZO (version 2) or LZ4 (default) * Support custom log of cluster size * Support minimum number of compressed blocks

[PATCH] acer-wireless: send an EV_SYN/SYN_REPORT between state changes

2020-12-06 Thread Chris Chiu
From: Daniel Drake Sending the switch state change twice within the same frame is invalid evdev protocol and only works if the client handles keys immediately as well. Processing events immediately is incorrect, it forces a fake order of events that does not exist on the device. Recent versions

[PATCH v2 3/3] f2fs-tools:sload.f2fs compress: Fixed automake

2020-12-06 Thread Robin Hsu
From: Robin Hsu Fixed automake for sload.f2fs compression support ./configure now will by default depends on liblzo2 and liblz4. To compile without liblzo2 (and thus not support liblzo2 compression), run ./configure with '--without-lzo2' option. To compile without liblz4 (and thus not support

[PATCH v2 1/3] f2fs-tools: Added #ifdef WITH_func

2020-12-06 Thread Robin Hsu
From: Robin Hsu Add proprocessor defines (options) 'WITH_func', where func = DUMP, DEFRAG, RESIZE, or SLOAD Bug: 161486536 Test: n/a (trivial) Signed-off-by: Robin Hsu Change-Id: I813755548cc71dd8b026abd06893ed0fcf1d8b26 --- fsck/main.c | 16 1 file changed, 16 insertions(+)

[PATCH v2 0/3] f2fs-tools: sload compression support

2020-12-06 Thread Robin Hsu
From: Robin Hsu * 3 patch set: #1: added some #ifdef for easier support #2: main code change #3: automake changes v2 fix (from v1): fixed a bug and a more elegant error handling flow. Robin Hsu (3): f2fs-tools: Added #ifdef WITH_func f2fs-tools:sload.f2fs compression support

Re: [PATCH v9 2/3] Input: Add Novatek NT36xxx touchscreen driver

2020-12-06 Thread Dmitry Torokhov
Hi AngeloGioacchino, On Wed, Oct 28, 2020 at 11:13:01PM +0100, khol...@gmail.com wrote: > +/** > + * nt36xxx_set_page - Set page number for read/write > + * @ts: Main driver structure > + * > + * Return: Always zero for success, negative number for error > + */ > +static int

Re: [PATCH v2 1/2] Input: i8042 - Prevent intermixing i8042 commands

2020-12-06 Thread Dmitry Torokhov
Hi Raul, On Thu, Aug 27, 2020 at 02:41:53PM -0600, Raul E Rangel wrote: > The i8042_mutex must be held by writers of the AUX and KBD ports, as > well as users of i8042_command. There were a lot of users of > i8042_command that were not calling i8042_lock_chip/i8042_unlock_chip. > This resulted in

[PATCH] dmaengine: bam_dma: fix return of bam_dma_irq()

2020-12-06 Thread Parth Y Shah
While performing suspend/resume, we were getting below kernel crash. [ 54.541672] [FTS][Info]gesture suspend... [ 54.605256] [FTS][Error][GESTURE]Enter into gesture(suspend) failed! [ 54.605256] [ 58.345850] irq event 10: bogus return value fff3 .. [ 58.345966] []

[PATCH v2 2/2] pinctrl: qcom: Add SM8350 pinctrl driver

2020-12-06 Thread Vinod Koul
From: Raghavendra Rao Ananta This adds pincontrol driver for tlmm block found in SM8350 SoC Signed-off-by: Raghavendra Rao Ananta Signed-off-by: Jeevan Shriram [vkoul: rebase and tidy up for upstream] Signed-off-by: Vinod Koul --- drivers/pinctrl/qcom/Kconfig |8 +

[PATCH v2 1/2] dt-bindings: pinctrl: qcom: Add SM8350 pinctrl bindings

2020-12-06 Thread Vinod Koul
Add device tree binding Documentation details for Qualcomm SM8350 pinctrl driver. Signed-off-by: Vinod Koul --- .../bindings/pinctrl/qcom,sm8350-pinctrl.yaml | 151 ++ 1 file changed, 151 insertions(+) create mode 100644

Re: [PATCH] cpufreq: scmi: add COMMON_CLK dependency

2020-12-06 Thread Viresh Kumar
On 03-12-20, 23:55, Arnd Bergmann wrote: > From: Arnd Bergmann > > Wtihout CONFIG_COMMON_CLK, the scmi driver fails to link: > > arm-linux-gnueabi-ld: drivers/cpufreq/scmi-cpufreq.o: in function > `scmi_cpufreq_probe': > scmi-cpufreq.c:(.text+0x20c): undefined reference to >

Re: [PATCH] cpufreq: imx: fix NVMEM_IMX_OCOTP dependency

2020-12-06 Thread Viresh Kumar
On 03-12-20, 23:53, Arnd Bergmann wrote: > From: Arnd Bergmann > > A driver should not 'select' drivers from another subsystem. > If NVMEM is disabled, this one results in a warning: > > WARNING: unmet direct dependencies detected for NVMEM_IMX_OCOTP > Depends on [n]: NVMEM [=n] && (ARCH_MXC

[PATCH 1/3] thermal: mediatek: Relocate driver to mediatek folder

2020-12-06 Thread Michael Kao
Add Mediatek proprietary folder to upstream more thermal zone and cooler drivers. Relocate the original thermal controller driver to it and rename as soc_temp.c to show its purpose more clearly. Signed-off-by: Michael Kao --- drivers/thermal/Kconfig | 14 ---

[PATCH 3/3] dt-bindings: thermal: Add binding document for mt6873 thermal controller

2020-12-06 Thread Michael Kao
This patch adds binding document for mt6873 thermal controller. Signed-off-by: Michael Kao --- .../thermal/mediatek-thermal-lvts.yaml| 80 +++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml diff

[PATCH 2/3] thermal: mediatek: Add LVTS drivers for SoC theraml zones

2020-12-06 Thread Michael Kao
Add a LVTS (Low voltage thermal sensor) driver to report junction temperatures in Mediatek SoC and register the maximum temperature of sensors and each sensor as a thermal zone. Signed-off-by: Yu-Chia Chang Signed-off-by: Michael Kao --- drivers/thermal/mediatek/Kconfig | 10 +

[PATCH 0/3] Add LVTS architecture thermal controller

2020-12-06 Thread Michael Kao
This patch move thermal files related to Mediatek to the mediatek folder. And introduce the new architecture LVTS (low pressure thermal sensor) driver to report the highest temperature in the SoC and record the highest temperature sensor, each sensor as a hot zone. The LVTS body is divided into

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

2020-12-06 Thread Wu, Hao
> Subject: Re: [RFC] fpga: dfl: a prototype uio driver > > 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/ > >

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

2020-12-06 Thread Sungjong Seo
> > I have not yet received a report of the same issue. > > But I agree that this problem is likely to occur even if it is low > > probability. > > Perhaps I should clarify my setup a little bit more. > The issue can be reliably reproduced on my laptop. It has 8 GBs of RAM > (pretty common amount

Re: [PATCH v2] input: raydium_ts_i2c: Do not split tx transactions

2020-12-06 Thread Dmitry Torokhov
On Fri, Dec 04, 2020 at 04:59:41PM -0800, Furquan Shaikh wrote: > Raydium device does not like splitting of tx transactions into > multiple messages - one for the register address and one for the > actual data. This results in incorrect behavior on the device side. > > This change updates

Re: [PATCH v2 07/22] drm/msm: Do rpm get sooner in the submit path

2020-12-06 Thread Viresh Kumar
On 19-11-20, 11:35, Viresh Kumar wrote: > On 18-11-20, 08:53, Rob Clark wrote: > > On Tue, Nov 17, 2020 at 9:28 PM Viresh Kumar > > wrote: > > > > > > On 17-11-20, 09:02, Rob Clark wrote: > > > > With that on top of the previous patch, > > > > > > Don't you still have this ? Which fixed the

[PATCH] media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()

2020-12-06 Thread Anant Thazhemadam
In dibusb_read_eeprom_byte(), if dibusb_i2c_msg() fails, val gets assigned an value that's not properly initialized. Using kzalloc() in place of kmalloc() for the buffer fixes this issue, as the val can now be set to 0 in the event dibusb_i2c_msg() fails. Reported-by:

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

2020-12-06 Thread Leon Romanovsky
On Sun, Dec 06, 2020 at 04:58:52PM +0100, 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,

[PATCH] x86/mtrr: Correct the returned MTRR type of mtrr_type_lookup.

2020-12-06 Thread Ying-Tsun Huang
In mtrr_type_lookup, if the input memory address region is not in the MTRR, over 4GB, and not over the top of memory, write-back attribute is returned. These condition checks are for ensuring the input memory address region is mapped to the physical memory actually. However, if the end address is

[PATCH v3] venus: core: add support to dump FW region

2020-12-06 Thread dikshita
From: Dikshita Agarwal Add support to dump video FW region during FW crash using devcoredump helpers. Signed-off-by: Dikshita Agarwal --- drivers/media/platform/qcom/venus/core.c | 31 drivers/media/platform/qcom/venus/core.h | 2 ++

Re: [RFC PATCH 5/9] cxl/mem: Find device capabilities

2020-12-06 Thread Ben Widawsky
On 20-12-03 23:41:16, Dan Williams wrote: > On Tue, Nov 10, 2020 at 9:44 PM Ben Widawsky wrote: > > > > CXL devices contain an array of capabilities that describe the > > interactions software can interact with the device, or firmware running > > on the device. A CXL compliant device must

Re: WARNING: bad unlock balance detected! - mkfs.ext4/426 is trying to release lock (rcu_read_lock)

2020-12-06 Thread Matthew Wilcox
On Mon, Dec 07, 2020 at 11:17:29AM +0530, Naresh Kamboju wrote: > While running "mkfs -t ext4" on arm64 juno-r2 device connected with SSD drive > the following kernel warning reported on stable rc 5.9.13-rc1 kernel. > > Steps to reproduce: > -- > # boot arm64 Juno-r2 device with

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

2020-12-06 Thread Xiaohui Zhang
From: Zhang Xiaohui If the hardware receives an oversized packet with too many rx fragments, skb_shinfo(skb)->frags can overflow and corrupt memory of adjacent pages. This becomes especially visible if it corrupts the freelist pointer of a slab page. Signed-off-by: Zhang Xiaohui ---

Re: [V9fs-developer] [RFC PATCH] 9p: create writeback fid on shared mmap

2020-12-06 Thread Chengguang Xu
在 星期一, 2020-12-07 04:53:18 Dominique Martinet 撰写 > Dominique Martinet wrote on Sun, Dec 06, 2020: > > Chengguang Xu wrote on Sat, Dec 05, 2020: > > > If vma is shared and the file was opened for writing, > > > we should also create writeback fid because vma may be > > >

[PATCH] watchdog: qcom: Avoid context switch in restart handler

2020-12-06 Thread Manivannan Sadhasivam
The use of msleep() in the restart handler will cause scheduler to induce a context switch which is not desirable. This generates below warning on SDX55 when WDT is the only available restart source: [ 39.800188] reboot: Restarting system [ 39.804115] [ cut here ] [

Re: sched: core.c:7270 Illegal context switch in RCU-bh read-side critical section! __alloc_pages_nodemask

2020-12-06 Thread Matthew Wilcox
On Mon, Dec 07, 2020 at 11:06:10AM +0530, Naresh Kamboju wrote: > While booting arm64 hikey board with stable-rc 5.9.13-rc1 the following > warning > noticed. This is hard to reproduce. Ugh. You've got two warnings interleaved here. This is impossible to read. Do you have any examples where

[PATCH v1 2/2] scsi: ufs-mediatek: Keep VCC always-on for specific devices

2020-12-06 Thread Stanley Chu
For some devices which needs extra delay after VCC power down, VCC shall be kept always-on in some MediaTek UFS platforms to ensure the stability of such devices because the extra delay may not be enough in those platforms. Reviewed-by: Andy Teng Signed-off-by: Stanley Chu ---

[PATCH] scsi: ufs: Enable WB flush during suspend only if WB is enabled

2020-12-06 Thread Stanley Chu
WriteBootser flush during suspend is not necessary to be enabled if WriteBooster feature is disabled. Simply adding a check to prevent unexpected power drain. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1 0/2] scsi: ufs: Allow regulators being always on

2020-12-06 Thread Stanley Chu
Hi, This series allow vendors to keep the regulator always-on, and provide an implementation on MediaTek UFS platforms. Stanley Chu (2): scsi: ufs: Allow regulators being always-on scsi: ufs-mediatek: Keep VCC always-on for specific devices drivers/scsi/ufs/ufs-mediatek.c | 21

[PATCH v1 1/2] scsi: ufs: Allow regulators being always-on

2020-12-06 Thread Stanley Chu
Introduce a flag "always_on" in struct ufs_vreg to allow vendors to keep the regulator always-on. Reviewed-by: Andy Teng Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs.h| 1 + drivers/scsi/ufs/ufshcd.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

WARNING: bad unlock balance detected! - mkfs.ext4/426 is trying to release lock (rcu_read_lock)

2020-12-06 Thread Naresh Kamboju
While running "mkfs -t ext4" on arm64 juno-r2 device connected with SSD drive the following kernel warning reported on stable rc 5.9.13-rc1 kernel. Steps to reproduce: -- # boot arm64 Juno-r2 device with stable-rc 5.9.13-rc1. # Connect SSD drive # Format the file system ext4 type

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

2020-12-06 Thread Stephen Rothwell
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.c:164:21: error: 'struct irq_work' has no member named 'flags' 164 |

Re: [PATCH 1/3] thermal: core: Add indication for userspace usage

2020-12-06 Thread Kai-Heng Feng
> On Dec 1, 2020, at 02:39, Srinivas Pandruvada > wrote: > > On Tue, 2020-12-01 at 02:22 +0800, Kai-Heng Feng wrote: >>> On Dec 1, 2020, at 02:13, Srinivas Pandruvada < >>> srinivas.pandruv...@linux.intel.com> wrote: >> >> [snipped] >> > What about creating an new callback >

sched: core.c:7270 Illegal context switch in RCU-bh read-side critical section! __alloc_pages_nodemask

2020-12-06 Thread Naresh Kamboju
While booting arm64 hikey board with stable-rc 5.9.13-rc1 the following warning noticed. This is hard to reproduce. Step to reproduce: # Boot arm64 hikey device with stable-rc 5.9.13-rc1 # Since it is hard to reproduce you may notice this warning Crash log :

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

2020-12-06 Thread Stanley Chu
On Sun, 2020-12-06 at 11:13 +0100, Bean Huo wrote: > From: Bean Huo > > 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.

Re: [PATCH] Revert "xen: add helpers to allocate unpopulated memory"

2020-12-06 Thread Jürgen Groß
On 06.12.20 18:22, Marek Marczykowski-Górecki wrote: This reverts commit 9e2369c06c8a181478039258a4598c1ddd2cadfa. On a Xen PV dom0, with NVME disk, this makes the dom0 crash when starting a domain. This looks like some bad interaction between xen-blkback and xen-scsiback has the same use

Re: [PATCH v3 19/19] vdpa: split vdpasim to core and net modules

2020-12-06 Thread Jason Wang
On 2020/12/4 上午1:05, Stefano Garzarella wrote: From: Max Gurtovoy Introduce new vdpa_sim_net and vdpa_sim (core) drivers. This is a preparation for adding a vdpa simulator module for block devices. Signed-off-by: Max Gurtovoy [sgarzare: various cleanups/fixes] Signed-off-by: Stefano

Re: [PATCH v3 15/19] vdpa_sim: set vringh notify callback

2020-12-06 Thread Jason Wang
On 2020/12/4 上午1:05, Stefano Garzarella wrote: Instead of calling the vq callback directly, we can leverage the vringh_notify() function, adding vdpasim_vq_notify() and setting it in the vringh notify callback. Suggested-by: Jason Wang Signed-off-by: Stefano Garzarella Acked-by: Jason

Re: [PATCH v3 14/19] vdpa_sim: add set_config callback in vdpasim_dev_attr

2020-12-06 Thread Jason Wang
On 2020/12/4 上午1:05, Stefano Garzarella wrote: The set_config callback can be used by the device to parse the config structure modified by the driver. The callback will be invoked, if set, in vdpasim_set_config() after copying bytes from caller buffer into vdpasim->config buffer.

Re: [PATCH v3 13/19] vdpa_sim: add get_config callback in vdpasim_dev_attr

2020-12-06 Thread Jason Wang
On 2020/12/4 上午1:05, Stefano Garzarella wrote: The get_config callback can be used by the device to fill the config structure. The callback will be invoked in vdpasim_get_config() before copying bytes into caller buffer. Move vDPA-net config updates from vdpasim_set_features() in the new

Re: [PATCH] clk: imx: Fix reparenting of UARTs not associated with sdout

2020-12-06 Thread Sascha Hauer
Hi Adam, On Fri, Dec 04, 2020 at 12:31:54PM -0600, Adam Ford wrote: > The default clock source on i.MX8M Mini and Nano boards use a 24MHz clock, > but users who need to re-parent the clock source run into issues because > all the UART clocks are enabled whether or not they're needed by sdout. >

Re: [PATCH v3 12/19] vdpa_sim: make 'config' generic and usable for any device type

2020-12-06 Thread Jason Wang
On 2020/12/4 上午1:05, Stefano Garzarella wrote: Add new 'config_size' attribute in 'vdpasim_dev_attr' and allocates 'config' dynamically to support any device types. Signed-off-by: Stefano Garzarella --- drivers/vdpa/vdpa_sim/vdpa_sim.c | 17 + 1 file changed, 13

Re: [PATCH] Fixes kernel crash generating from bam_dma_irq()

2020-12-06 Thread Vinod Koul
Hi Parth, On 06-12-20, 15:51, Parth Y Shah wrote: > While performing suspend/resume, we were getting below kernel crash. > > [ 54.541672] [FTS][Info]gesture suspend... > [ 54.605256] [FTS][Error][GESTURE]Enter into gesture(suspend) failed! > [ 54.605256] > [ 58.345850] irq event 10:

Re: [PATCH v2 3/3] scsi: ufs: Changes comment in the function ufshcd_wb_probe()

2020-12-06 Thread Stanley Chu
On Sun, 2020-12-06 at 11:13 +0100, Bean Huo wrote: > From: Bean Huo > > USFHCD supports WriteBooster "LU dedicated buffer” mode and > “shared buffer” mode both, so changes the comment in the > function ufshcd_wb_probe(). > > Signed-off-by: Bean Huo > Reviewed-by: Can Guo Reviewed-by: Stanley

Re: [PATCH] vhost scsi: fix error return code in vhost_scsi_set_endpoint()

2020-12-06 Thread Jason Wang
On 2020/12/4 下午4:43, Zhang Changzhong wrote: Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 25b98b64e284 ("vhost scsi: alloc cmds per vq instead of session") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong

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

2020-12-06 Thread Vinod Koul
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 Git repository at:

[PATCH 0/1] dt-bindings: clock: imx8qxp-lpcg: eliminate yamllint warnings

2020-12-06 Thread Zhen Lei
This patch is based on the latest linux-next code. Zhen Lei (1): dt-bindings: clock: imx8qxp-lpcg: eliminate yamllint warnings .../devicetree/bindings/clock/imx8qxp-lpcg.yaml | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) -- 1.8.3

[PATCH 1/1] dt-bindings: clock: imx8qxp-lpcg: eliminate yamllint warnings

2020-12-06 Thread Zhen Lei
Eliminate the following yamllint warnings: ./Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml :32:13:[warning] wrong indentation: expected 14 but found 12 (indentation) :35:9: [warning] wrong indentation: expected 10 but found 8 (indentation) Signed-off-by: Zhen Lei ---

Re: [PATCH v6 0/6] Tegra210 audio graph card

2020-12-06 Thread Sameer Pujar
Hi Mark, This series adds audio graph based sound card support for Tegra210 platforms like Jetson-TX1 an Jetson-Nano. The following preparatory audio graph enhancement series is already merged. * https://patchwork.kernel.org/project/alsa-devel/list/?series=375629=* Following are the summary

[PATCH v2 1/1] dt-bindings: display: eliminate yamllint warnings

2020-12-06 Thread Zhen Lei
Eliminate the following yamllint warnings: ./Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml :52:9: [warning] wrong indentation: expected 6 but found 8 (indentation) ./Documentation/devicetree/bindings/display/bridge/intel,keembay-dsi.yaml :42:8: [warning] wrong

[PATCH v2 0/1] dt-bindings: display: eliminate yamllint warnings

2020-12-06 Thread Zhen Lei
This patch is based on the latest linux-next code. v1 --> v2: Extract the modification of the Documentation/devicetree/bindings/display/ parts and send the patch separately. https://www.spinics.net/lists/arm-kernel/msg860713.html v1: There're too many people, I just send to the maintainer,

  1   2   3   4   5   6   7   >