Re: [GIT PULL 3/5] ARM: SoC changes for v5.9

2020-08-04 Thread Joel Stanley
On Mon, 3 Aug 2020 at 21:49, Arnd Bergmann wrote: > ARM: SoC changes for v5.9 > Andy Shevchenko (1): > ARM: orion/gpio: Make use of for_each_requested_gpio() This change broke the arm build (I noticed it when building multi_v5_defconfig): ../arch/arm/plat-orion/gpio.c:457:2: error: implic

Re: [v2,5/6] reset-controller: ti: Introduce force-update method

2020-08-04 Thread Philipp Zabel
Hi Crystal, On Mon, 2020-08-03 at 14:15 +0800, Crystal Guo wrote: > Introduce force-update method for assert and deassert interface, > which force the write operation in case the read already happens > to return the correct value. > > Signed-off-by: Crystal Guo Added Suman and Andrew for confir

Re: [PATCH] ASoC: fsl_sai: Clean code for synchronize mode

2020-08-04 Thread Nicolin Chen
On Tue, Aug 04, 2020 at 12:22:53PM +0800, Shengjiu Wang wrote: > > > Btw, do we need similar change for TRIGGER_STOP? > > > > This is a good question. It is better to do change for STOP, > > but I am afraid that there is no much test to guarantee the result. > Maybe we can do this change for STOP

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

2020-08-04 Thread Guennadi Liakhovetski
Michael, looks like something went wrong with your merge? My patch https://lore.kernel.org/r/20200722150927.15587-3-guennadi.liakhovet...@linux.intel.com has the header, your merged commit https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/commit/?h=vhost&id=bba6f4f52c31af1ce4ebcc063

Re: [PATCH v2] drivers/net/wan/lapbether: Use needed_headroom instead of hard_header_len

2020-08-04 Thread Willem de Bruijn
> I don't like the idea to get rid of the 1-byte header. > This header is also used in userspace, for example when using a tun/tap > interface for an XoT (X.25 over TCP) application. A change would > therefore have very far-reaching consequences. That's no longer the plan of record. > BTW: The li

[PATCH v3 3/4] fpga: dfl: create a dfl bus type to support DFL devices

2020-08-04 Thread Xu Yilun
A new bus type "dfl" is introduced for private features which are not initialized by DFL feature drivers (dfl-fme & dfl-afu drivers). So these private features could be handled by separate driver modules. DFL feature drivers (dfl-fme, dfl-port) will create DFL devices on enumeration. DFL drivers c

[PATCH v3 2/4] fpga: dfl: map feature mmio resources in their own feature drivers

2020-08-04 Thread Xu Yilun
This patch makes preparation for modularization of DFL sub feature drivers. Currently, if we need to support a new DFL sub feature, an entry should be added to fme/port_feature_drvs[] in dfl-fme/port-main.c. And we need to re-compile the whole DFL modules. That make the DFL drivers hard to be exte

[PATCH v3 4/4] fpga: dfl: add support for N3000 nios private feature

2020-08-04 Thread Xu Yilun
This patch adds support for the nios handshake private feature on Intel N3000 FPGA Card. This private feature provides a handshake interface to FPGA NIOS firmware, which receives retimer configuration command from host and executes via an internal SPI master. When nios finished the configuration, h

[PATCH v3 1/4] fpga: dfl: change data type of feature id to u16

2020-08-04 Thread Xu Yilun
The feature id is stored in a 12 bit field in DFH. So a u16 variable is enough for feature id. This patch changes all feature id related places to fit u16. Signed-off-by: Xu Yilun Reviewed-by: Tom Rix --- v3: no change. --- drivers/fpga/dfl-fme-perf.c | 2 +- drivers/fpga/dfl.c | 29

[PATCH v3 0/4] Modularization of DFL private feature drivers

2020-08-04 Thread Xu Yilun
This patchset makes it possible to develop independent driver modules for DFL private features. It also helps to leverage existing kernel drivers to enable some IP blocks in DFL. Patch #1: An improvement of feature id definition. The feature id will be used as the key field for dfl devic

[PATCH] regulator: Avoid grabbing regulator lock during suspend/resume

2020-08-04 Thread Stephen Boyd
I see it takes about 5us per regulator to grab the lock, check that this regulator isn't going to do anything for suspend, and then release the lock. When that is combined with PMICs that have dozens of regulators we get into a state where we spend a few miliseconds doing a bunch of locking operati

Re: [PATCH] ASoC: fsl_sai: Clean code for synchronize mode

2020-08-04 Thread Nicolin Chen
On Tue, Aug 04, 2020 at 12:03:46AM -0700, Nicolin Chen wrote: > On Tue, Aug 04, 2020 at 12:22:53PM +0800, Shengjiu Wang wrote: > > > > > Btw, do we need similar change for TRIGGER_STOP? > > > > > > This is a good question. It is better to do change for STOP, > > > but I am afraid that there is no

Re: [PATCH v2] perf evsel: Don't set sample_regs_intr/sample_regs_user for dummy event

2020-08-04 Thread Adrian Hunter
On 29/07/20 10:23 am, Jin, Yao wrote: > Hi Adrian, > > Could you help to check if following condition will break PT? > > "(opts->sample_intr_regs && !evsel->no_aux_samples && > !evsel__is_dummy_event(evsel))" Sorry for slow response - I've been away. This is fine. It will not break PT. no_aux

Re: [PATCH 4.19 09/56] btrfs: inode: Verify inode mode to avoid NULL pointer dereference

2020-08-04 Thread Pavel Machek
Hi! > @@ -6993,6 +7010,14 @@ struct extent_map *btrfs_get_extent(struct btrfs_inode > *inode, > extent_start = found_key.offset; > if (found_type == BTRFS_FILE_EXTENT_REG || > found_type == BTRFS_FILE_EXTENT_PREALLOC) { > + /* Only regular file could have regula

[PATCH RFC] sched/fair: simplfy the work when reweighting entity

2020-08-04 Thread Jiang Biao
If a se is on_rq when reweighting entity, all we need should be updating the load of cfs_rq, other dequeue/enqueue works could be redundant, such as, * account_numa_dequeue/account_numa_enqueue * list_del/list_add from/into cfs_tasks * nr_running--/nr_running++ Just simplfy the work. Could be help

Re: [v2,4/6] reset-controller: ti: introduce a new reset handler

2020-08-04 Thread Philipp Zabel
On Mon, 2020-08-03 at 14:15 +0800, Crystal Guo wrote: > Add ti_syscon_reset() to integrate assert and deassert together. > If some modules need do serialized assert and deassert operations > to reset itself, reset_control_reset can be called for convenience. > > Change-Id: I9046992b115a46f3594de57

Re: [PATCH] gve: Fix the size used in a 'dma_free_coherent()' call

2020-08-04 Thread Willem de Bruijn
On Mon, Aug 3, 2020 at 9:50 PM Christophe JAILLET wrote: > > Le 03/08/2020 à 21:35, Joe Perches a écrit : > > On Mon, 2020-08-03 at 21:19 +0200, Christophe JAILLET wrote: > >> Le 03/08/2020 à 17:41, Jakub Kicinski a écrit : > >>> On Sun, 2 Aug 2020 16:15:23 +0200 Christophe JAILLET wrote: >

Re: [PATCH 4.19 09/56] btrfs: inode: Verify inode mode to avoid NULL pointer dereference

2020-08-04 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 09:11:32AM +0200, Pavel Machek wrote: > Hi! > > > > @@ -6993,6 +7010,14 @@ struct extent_map *btrfs_get_extent(struct > > btrfs_inode *inode, > > extent_start = found_key.offset; > > if (found_type == BTRFS_FILE_EXTENT_REG || > > found_type == BTRFS_FILE_E

Re: [PATCH] eeprom: at25: allow page sizes greater than 16 bit

2020-08-04 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 08:40:52AM +0200, Christian Eggers wrote: > Ping? It's the middle of the merge window now, I can't take any patches for the next 2 weeks, sorry. It is in my queue, and will be looked at after 5.9-rc1 is out. thanks, greg k-h

RE: [EXT] Re: [PATCH v4 1/2] net: dsa: Add protocol support for 802.1AD when adding or deleting vlan for dsa switch port

2020-08-04 Thread Hongbo Wang
> You are adding a new member to the switchdev VLAN object, so you should > make sure that all call paths creating and parsing that object get updated as > well, for now, you are doing this solely within DSA which is probably > reasonable if we assume proto is uninitialized and unused elsewhere, th

[PATCH v3 4/6] mm/page_isolation: cleanup set_migratetype_isolate()

2020-08-04 Thread David Hildenbrand
Let's clean it up a bit, simplifying error handling and getting rid of the label. Reviewed-by: Baoquan He Reviewed-by: Pankaj Gupta Cc: Andrew Morton Cc: Michal Hocko Cc: Michael S. Tsirkin Cc: Mike Kravetz Signed-off-by: David Hildenbrand --- mm/page_isolation.c | 17 +++-- 1

Re: [PATCH v10 4/8] usr: add support for zstd compressed initramfs

2020-08-04 Thread Sedat Dilek
On Tue, Aug 4, 2020 at 8:52 AM Geert Uytterhoeven wrote: > > Hi Nick, > > On Thu, Jul 30, 2020 at 9:13 PM Nick Terrell wrote: > > From: Nick Terrell > > > > * Add support for a zstd compressed initramfs. > > * Add compression for compressing built-in initramfs with zstd. > > > > I have tested th

[PATCH v3 1/6] mm/page_isolation: don't dump_page(NULL) in set_migratetype_isolate()

2020-08-04 Thread David Hildenbrand
Right now, if we have two isolations racing, we might trigger the WARN_ON_ONCE() and to dump_page(NULL), dereferencing NULL. Let's just return directly. In the future, we might want to report -EAGAIN to the caller instead, as this could indicate a temporary isolation failure only. Reviewed-by: Ba

[PATCH v3 2/6] mm/page_alloc: tweak comments in has_unmovable_pages()

2020-08-04 Thread David Hildenbrand
Let's move the split comment regarding bootmem allocations and memory holes, especially in the context of ZONE_MOVABLE, to the PageReserved() check. Reviewed-by: Baoquan He Cc: Andrew Morton Cc: Michal Hocko Cc: Michael S. Tsirkin Cc: Mike Kravetz Cc: Pankaj Gupta Signed-off-by: David Hilden

[PATCH v3 5/6] virtio-mem: don't special-case ZONE_MOVABLE

2020-08-04 Thread David Hildenbrand
Let's allow to online partially plugged memory blocks to ZONE_MOVABLE and also consider memory blocks that were onlined to ZONE_MOVABLE when unplugging memory. While unplugged memory blocks are, in general, unmovable, they can be skipped when offlining memory. virtio-mem only unplugs fairly big ch

[PATCH v3 3/6] mm/page_isolation: drop WARN_ON_ONCE() in set_migratetype_isolate()

2020-08-04 Thread David Hildenbrand
Inside has_unmovable_pages(), we have a comment describing how unmovable data could end up in ZONE_MOVABLE - via "movable_core". Also, besides checking if the first page in the pageblock is reserved, we don't perform any further checks in case of ZONE_MOVABLE. In case of memory offlining, we set R

Re: [PATCH 4/5] PCI: aardvark: Implement driver 'remove' function and allow to build it as module

2020-08-04 Thread Pali Rohár
On Monday 03 August 2020 14:00:37 Rob Herring wrote: > On Mon, Aug 3, 2020 at 8:46 AM Pali Rohár wrote: > > > > On Wednesday 29 July 2020 12:48:09 Rob Herring wrote: > > > On Wed, Jul 15, 2020 at 04:25:56PM +0200, Marek Behún wrote: > > > > From: Pali Rohár > > > > > > > > Providing driver's 'rem

[PATCH v3 6/6] mm: document semantics of ZONE_MOVABLE

2020-08-04 Thread David Hildenbrand
Let's document what ZONE_MOVABLE means, how it's used, and which special cases we have regarding unmovable pages (memory offlining vs. migration / allocations). Cc: Andrew Morton Cc: Michal Hocko Cc: Michael S. Tsirkin Cc: Mike Kravetz Cc: Mike Rapoport Cc: Pankaj Gupta Cc: Baoquan He Signe

[PATCH v3 0/6] mm / virtio-mem: support ZONE_MOVABLE

2020-08-04 Thread David Hildenbrand
@Andrew can we give this a churn and consider it for v5.9 in case there are no more comments? Patch #1-#4 have RB's, patch #5 is virtio-mem stuff maintained by me, patch #6 is just a doc update. --- Currently, virtio-mem does not really support ZONE_MOVABLE. While it allows to online fully plugg

Re: [PATCH v5 03/15] iio: sx9310: Fix irq handling

2020-08-04 Thread Andy Shevchenko
On Tue, Aug 4, 2020 at 2:58 AM Daniel Campello wrote: > > Fixes enable/disable irq handling at various points. The driver needs to > only enable/disable irqs if there is an actual irq handler installed. Reviewed-by: Andy Shevchenko > Signed-off-by: Daniel Campello > Reviewed-by: Stephen Boyd

[PATCH] ALSA: hda/hdmi: Add pins with jack detection support

2020-08-04 Thread Kai-Heng Feng
HDMI on some platforms doesn't enable audio support because its Port Connectivity [31:30] is set to AC_JACK_PORT_NONE: Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0b94:

[PATCH 5.4 00/91] 5.4.56-rc2 review

2020-08-04 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.56 release. There are 91 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 Thu, 06 Aug 2020 07:23:45 +. Anything rece

[PATCH 4.14 00/52] 4.14.192-rc2 review

2020-08-04 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.192 release. There are 52 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 Thu, 06 Aug 2020 07:23:45 +. Anything re

[PATCH 4.19 00/57] 4.19.137-rc2 review

2020-08-04 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.19.137 release. There are 57 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 Thu, 06 Aug 2020 07:23:45 +. Anything re

[PATCH 5.7 000/121] 5.7.13-rc2 review

2020-08-04 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.7.13 release. There are 121 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 Thu, 06 Aug 2020 07:23:45 +. Anything rec

Re: [GIT PULL 3/5] ARM: SoC changes for v5.9

2020-08-04 Thread Andy Shevchenko
On Tue, Aug 4, 2020 at 10:02 AM Joel Stanley wrote: > > On Mon, 3 Aug 2020 at 21:49, Arnd Bergmann wrote: > > ARM: SoC changes for v5.9 > > > Andy Shevchenko (1): > > ARM: orion/gpio: Make use of for_each_requested_gpio() > > This change broke the arm build (I noticed it when building > mu

linux-next: build warnings after merge of the fsinfo tree

2020-08-04 Thread Stephen Rothwell
Hi all, After merging the fsinfo tree, today's linux-next build (powerpc allyesconfig) produced these warnings: samples/vfs/test-mntinfo.c: In function 'display_mount': samples/vfs/test-mntinfo.c:146:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has

Re: [PATCH] mm/memcg: remove useless check on page->mem_cgroup

2020-08-04 Thread Alex Shi
在 2020/8/3 下午4:18, Michal Hocko 写道: > On Sat 01-08-20 11:58:41, Alex Shi wrote: >> >> >> 在 2020/7/31 下午11:16, Johannes Weiner 写道: if (!entry.val) { memcg_memory_event(memcg, MEMCG_SWAP_FAIL); >>> Uncharged readahead pages are gone, but I'm not 100% sure uncharged >>> page

Re: [PATCH v3] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

2020-08-04 Thread Amit Pundir
On Tue, 4 Aug 2020 at 11:46, Bjorn Andersson wrote: > > On Sat 01 Aug 08:55 PDT 2020, Amit Pundir wrote: > > > Add initial dts support for Xiaomi Poco F1 (Beryllium). > > > > This initial support is based on upstream Dragonboard 845c > > (sdm845) device. With this dts, Beryllium boots AOSP up to >

Re: [PATCH] vgacon: fix out of bounds write to the scrollback buffer

2020-08-04 Thread Greg KH
On Mon, Aug 03, 2020 at 10:08:43AM +0200, Jiri Slaby wrote: > Hi, > > On 31. 07. 20, 7:22, 张云海 wrote: > > Remove whitespace at EOL > > I am fine with the patch. However it should be sent properly (inline > mail, having a PATCH subject etc. -- see > Documentation/process/submitting-patches.rst). g

Re: [PATCH 4.19 31/56] net/mlx5: Verify Hardware supports requested ptp function on a given pin

2020-08-04 Thread Pavel Machek
Hi! > [ Upstream commit 071995c877a8646209d55ff8e2b054e7424c ] > > Fix a bug where driver did not verify Hardware pin capabilities for > PTP functions. > > Fixes: ee7f12205abc ("net/mlx5e: Implement 1PPS support") > Signed-off-by: Eran Ben Elisha > Reviewed-by: Ariel Levkovich > Signed-off

Re: [GIT PULL 3/5] ARM: SoC changes for v5.9

2020-08-04 Thread Andy Shevchenko
On Tue, Aug 4, 2020 at 10:33 AM Andy Shevchenko wrote: > > On Tue, Aug 4, 2020 at 10:02 AM Joel Stanley wrote: > > > > On Mon, 3 Aug 2020 at 21:49, Arnd Bergmann wrote: > > > ARM: SoC changes for v5.9 > > > > > Andy Shevchenko (1): > > > ARM: orion/gpio: Make use of for_each_requested_gpio

[PATCH] seg6: using DSCP of inner IPv4 packets

2020-08-04 Thread Ahmed Abdelsalam
This patch allows copying the DSCP from inner IPv4 header to the outer IPv6 header, when doing SRv6 Encapsulation. This allows forwarding packet across the SRv6 fabric based on their original traffic class. Signed-off-by: Ahmed Abdelsalam --- net/ipv6/seg6_iptunnel.c | 36 ++

Re: [PATCH v5 2/2] iio: light: as73211: New driver

2020-08-04 Thread Christian Eggers
On Sunday, 2 August 2020, 20:02:35 CEST, Andy Shevchenko wrote: > Thanks for an update, my comments below. Thanks for the review. Please see below for my questions. Best regards Christian > On Sun, Aug 2, 2020 at 7:40 PM Christian Eggers wrote: > > Datasheet: > > https://ams.com/documents/20143

Re: [net-next v2] seg6: using DSCP of inner IPv4 packets

2020-08-04 Thread Ahmed Abdelsalam
The problem was the declaration of tos. Fixed and new patch is sent. On 03/08/2020 21:48, Jakub Kicinski wrote: On Mon, 3 Aug 2020 18:14:17 + Ahmed Abdelsalam wrote: This patch allows copying the DSCP from inner IPv4 header to the outer IPv6 header, when doing SRv6 Encapsulation. This all

arm64: make dtbs broken - socfpga_agilex.dtsi:313.15-16 syntax error FATAL ERROR: Unable to parse input tree

2020-08-04 Thread Naresh Kamboju
Linux mainline master build breaks on arm64 while building dtbs. make -sk KBUILD_BUILD_USER=TuxBuild -C/linux ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache aarch64-linux-gnu-gcc" O=build dtbs # ../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ran

Re: [PATCH 4.19 00/56] 4.19.137-rc1 review

2020-08-04 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.137 release. > There are 56 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 Wed, 05 Aug 2020 12:18:33 +

[PATCH -next] sysctl: fix memleak in proc_sys_call_handler()

2020-08-04 Thread Yang Yingliang
I got a memleak report when doing some fuzz test: BUG: memory leak unreferenced object 0x888103f3da00 (size 64): comm "syz-executor.0", pid 2270, jiffies 4295404698 (age 46.593s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Re: [PATCH v3] Provide USF for the portable equipment.

2020-08-04 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I includ

Re: PATCH: rtsx_pci driver - don't disable the rts5229 card reader on Intel NUC boxes

2020-08-04 Thread gre...@linuxfoundation.org
On Tue, Aug 04, 2020 at 02:44:41AM +, 吳昊澄 Ricky wrote: > Hi Chris, > > rtsx_pci_write_register(pcr, FPDTL, OC_POWER_DOWN, OC_POWER_DOWN); > This register operation saved power under 1mA, so if do not care the 1mA > power we can have a patch to remove it, make compatible with NUC6 > We tested

[PATCH] ext4: delete invalid ac_b_extent backup inside ext4_mb_use_best_found()

2020-08-04 Thread brookxu
Delete invalid ac_b_extent backup inside ext4_mb_use_best_found(), we have done this operation in ext4_mb_new_group_pa() and ext4_mb_new_inode_pa(). Signed-off-by: Chunguang Xu ---  fs/ext4/mballoc.c | 8 ++--  1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/fs/ext4/mballoc.c b/f

Re: [PATCH v3] coccinelle: api: add kvmalloc script

2020-08-04 Thread Julia Lawall
On Tue, 4 Aug 2020, Markus Elfring wrote: > > Changes in v3: > > - kvfree rules added > > I find it interesting to you found such an addition needed for this SmPL > script. > I imagine that it can be helpful to support such a source code search by > a separate script for the semantic patch lan

Re: [PATCH v4 1/4] power: supply: core: add quick charge type property

2020-08-04 Thread Greg KH
On Tue, Aug 04, 2020 at 10:11:19AM +0800, ivan wrote: > On Mon, Aug 3, 2020 at 7:57 PM Greg KH wrote: > > > > On Mon, Aug 03, 2020 at 01:49:50PM +0200, Sebastian Reichel wrote: > > > More importantely I prefer not to merge new APIs without any users > > > (i.e. a driver making use of those values)

[PATCH v4] Provide USF for the portable equipment.

2020-08-04 Thread Dongdong Yang
From: Dongdong Yang This patch provides USF(User Sensitive Feedback factor) auxiliary cpufreq governor to support high level layer sysfs inodes setting for utils adjustment purpose from the identified scenario on portable equipment. Because the power consumption and UI response are more cared for

Re: [PATCH] ASoC: fsl_sai: Clean code for synchronize mode

2020-08-04 Thread Shengjiu Wang
On Tue, Aug 4, 2020 at 3:04 PM Nicolin Chen wrote: > > On Tue, Aug 04, 2020 at 12:22:53PM +0800, Shengjiu Wang wrote: > > > > > Btw, do we need similar change for TRIGGER_STOP? > > > > > > This is a good question. It is better to do change for STOP, > > > but I am afraid that there is no much test

[PATCH v4] sched: Provide USF for the portable equipment.

2020-08-04 Thread Dongdong Yang
From: Dongdong Yang The power consumption and UI response are more cared for by the portable equipment users. USF(User Sensitive Feedback factor) auxiliary cpufreq governor is providing more utils adjustment settings to the high level by scenario identification. >From the view of portable equipm

Re: [GIT PULL 3/5] ARM: SoC changes for v5.9

2020-08-04 Thread Linus Walleij
On Tue, Aug 4, 2020 at 9:34 AM Andy Shevchenko wrote: > On Tue, Aug 4, 2020 at 10:02 AM Joel Stanley wrote: > > > > On Mon, 3 Aug 2020 at 21:49, Arnd Bergmann wrote: > > > ARM: SoC changes for v5.9 > > > > > Andy Shevchenko (1): > > > ARM: orion/gpio: Make use of for_each_requested_gpio()

Re: [f2fs-dev] [PATCH] f2fs: fix deadlock between quota writes and checkpoint

2020-08-04 Thread Chao Yu
On 2020/8/4 11:54, Jaegeuk Kim wrote: On 08/04, Chao Yu wrote: On 2020/7/29 15:02, Jaegeuk Kim wrote: f2fs_write_data_pages(quota_mapping) __f2fs_write_data_pages f2fs_write_checkpoint * blk_start_plug(&plug); * add bio in write_io[DATA]

Re: [PATCH] iio:temperature:mlx90632: Reduce number of equal calulcations

2020-08-04 Thread Crt Mori
Hi Andy, Thanks for the comments. This is indeed a cut-out section of what I wanted to submit next. On Mon, 3 Aug 2020 at 18:35, Andy Shevchenko wrote: > > On Mon, Aug 3, 2020 at 6:17 PM Crt Mori wrote: > > > > TAdut4 was calculated each iteration although it did not change. In light > > of near

Re: [PATCH v2 12/24] virtio_iommu: correct tags for config space fields

2020-08-04 Thread Jean-Philippe Brucker
On Mon, Aug 03, 2020 at 04:59:27PM -0400, Michael S. Tsirkin wrote: > Since this is a modern-only device, > tag config space fields as having little endian-ness. > > Signed-off-by: Michael S. Tsirkin Reviewed-by: Jean-Philippe Brucker And tested with the latest sparse > --- > include/uapi/li

Re: [GIT PULL] thermal for v5.9-rc1

2020-08-04 Thread Daniel Lezcano
On 04/08/2020 08:32, Zhang Rui wrote: [ ... ] > There must be something wrong here, Daniel and I are following a strict > process to make sure that we don't lose any history. > > For this PR, I'm not quite sure what happened, he probably did > something by mistake when generating it. Yes, I did

Re: [PATCH v4] sched: Provide USF for the portable equipment.

2020-08-04 Thread Greg KH
On Tue, Aug 04, 2020 at 03:50:35PM +0800, Dongdong Yang wrote: Comments on code stuff only, not if this is actually a valid thing to be doing at all: > --- /dev/null > +++ b/kernel/sched/usf.c > @@ -0,0 +1,294 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2020 XiaoMi Inc. >

Re: [PATCH v2] media: rcar-vin: Add support to select data pins for YCbCr422-8bit input

2020-08-04 Thread Lad, Prabhakar
Hi Niklas, On Mon, Aug 3, 2020 at 8:28 PM Niklas wrote: > > Hi Lad, > > On 2020-08-03 20:17:54 +0100, Lad, Prabhakar wrote: > > Hi Niklas, > > > > Thank you for the review. > > > > On Mon, Aug 3, 2020 at 7:06 PM Niklas wrote: > > > > > > Hi Lad, > > > > > > Thanks for your work. > > > > > > On 2

Re: [PATCH v2 2/2] memory: samsung: exynos5422-dmc: Add module param to control IRQ mode

2020-08-04 Thread Lukasz Luba
Hi Marek, On 8/3/20 4:35 PM, Marek Szyprowski wrote: Hi All, On 03.08.2020 17:30, Marek Szyprowski wrote: On 10.07.2020 21:11, Lukasz Luba wrote: The driver can operate in two modes relaying on devfreq monitoring mechanism which periodically checks the device status or it can use interrupts w

[PATCH v5 03/12] ASoC: qcom: lpass-platform: Replace card->dev with component->dev

2020-08-04 Thread Rohit kumar
From: Ajit Pandey We are allocating dma memory for component->dev but trying to mmap such memory for substream->pcm->card->dev. Replace device argument in mmap with component->dev to fix this. Signed-off-by: Ajit Pandey Signed-off-by: Rohit kumar Reviewed-by: Srinivas Kandagatla --- sound/so

[PATCH v5 01/12] ASoC: qcom: Add common array to initialize soc based core clocks

2020-08-04 Thread Rohit kumar
From: Ajit Pandey LPASS variants have their own soc specific clocks that needs to be enabled for MI2S audio support. Added a common variable in drvdata to initialize such clocks using bulk clk api. Such clock names is defined in variants specific data and needs to fetched during init. Signed-off

[PATCH v5 02/12] ASoC: qcom: lpass-cpu: Move ahbix clk to platform specific function

2020-08-04 Thread Rohit kumar
Ahbix clock is optional clock and not needed for all platforms. Move it to lpass-apq8016/ipq806x as it is not needed for sc7180. Signed-off-by: Rohit kumar Reviewed-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-apq8016.c | 27 ++ sound/soc/qcom/lpass-cpu.c | 40 ++

[PATCH v5 00/12] ASoC: qcom: Add support for SC7180 lpass variant

2020-08-04 Thread Rohit kumar
This patch chain add audio support for SC7180 soc by doing the required modification in existing common lpass-cpu/lpass-platform driver. This also fixes some concurrency issue. This patch series is already tested by Srinivas on Dragon Board 410c. Changes since v4: - Updated compatible stri

RE: PATCH: rtsx_pci driver - don't disable the rts5229 card reader on Intel NUC boxes

2020-08-04 Thread 吳昊澄 Ricky
> -Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, August 04, 2020 3:49 PM > To: 吳昊澄 Ricky > Cc: Chris Clayton; LKML; rdun...@infradead.org; philqua...@gmail.com; Arnd > Bergmann > Subject: Re: PATCH: rtsx_pci driver - don't disable

[PATCH v5 07/12] dt-bindings: sound: lpass-cpu: Add sc7180 lpass cpu node

2020-08-04 Thread Rohit kumar
Add dt-bindings to support "qcom,lpass-cpu-sc7180" node. Signed-off-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,lpass-cpu.txt | 55 +- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt b/Doc

[PATCH v5 04/12] ASoC: qcom: lpass-platform: fix memory leak

2020-08-04 Thread Rohit kumar
lpass_pcm_data is never freed. Free it in close ops to avoid memory leak. Fixes: 022d00ee0b55 ("ASoC: lpass-platform: Fix broken pcm data usage") Signed-off-by: Rohit kumar Reviewed-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-platform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(

[PATCH v5 05/12] ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers

2020-08-04 Thread Rohit kumar
I2SCTL and DMACTL registers has different bits alignment for newer LPASS variants of SC7180 soc. Use REG_FIELD_ID() to define the reg_fields in platform specific file and removed shifts and mask macros for such registers from header file. Signed-off-by: Rohit kumar --- sound/soc/qcom/lpass-apq80

[PATCH v5 12/12] dt-bindings: sound: lpass-cpu: Move to yaml format

2020-08-04 Thread Rohit kumar
Update lpass-cpu binding with yaml formats. Signed-off-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,lpass-cpu.txt | 130 --- .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 179 + 2 files changed, 179 insertions(+), 130 deletions(-) delete mode 1

[PATCH v5 06/12] ASoC: qcom: lpass-cpu: fix concurrency issue

2020-08-04 Thread Rohit kumar
i2sctl register value is set to 0 during hw_free(). This impacts any ongoing concurrent session on the same i2s port. As trigger() stop already resets enable bit to 0, there is no need of explicit hw_free. Removing it to fix the issue. Fixes: 80beab8e1d86 ("ASoC: qcom: Add LPASS CPU DAI driver") S

[PATCH v5 11/12] ASoC: qcom: lpass-platform: Use platform_get_irq

2020-08-04 Thread Rohit kumar
platform_get_irq_byname() is used when there is list of interrupts in the device node. As lpass-platform has only one interrupt entry, use platform_get_irq() instead. Signed-off-by: Rohit kumar --- sound/soc/qcom/lpass-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v5 10/12] ASoC: qcom: lpass-cpu: Use platform_get_resource

2020-08-04 Thread Rohit kumar
platform_get_resource_byname() is used when there is list of reg entries. As lpass-cpu node has only one reg entry, use platform_get_resource() instead. Signed-off-by: Rohit kumar Reviewed-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

[PATCH v5 09/12] ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio

2020-08-04 Thread Rohit kumar
From: Ajit Pandey Add platform driver for configuring sc7180 lpass core I2S and DMA configuration to support playback & capture to external codecs connected over primary & secondary MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Rohit kumar Reviewed-by: Srinivas Kandagatla --- so

[PATCH v5 08/12] include: dt-bindings: sound: Add sc7180-lpass bindings header

2020-08-04 Thread Rohit kumar
From: Ajit Pandey Add header defining dai-id and mclk id for SC7180 lpass soc. Signed-off-by: Ajit Pandey Signed-off-by: Rohit kumar Acked-by: Rob Herring --- include/dt-bindings/sound/sc7180-lpass.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 include/dt-bindings/so

Re: linux-next: build warnings after merge of the fsinfo tree

2020-08-04 Thread David Howells
Stephen Rothwell wrote: > After merging the fsinfo tree, today's linux-next build (powerpc > allyesconfig) produced these warnings: > > samples/vfs/test-mntinfo.c: In function 'display_mount': > samples/vfs/test-mntinfo.c:146:19: warning: format '%llx' expects argument of > type 'long long unsi

Re: [PATCH] staging: Add Mediatek High Frequency Manager Framework

2020-08-04 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 03:52:49PM +0800, hongxu.zhao wrote: > Add a new sensor framework into linux kernel which can support multi client > request sensor data. > There are the following features: > 1.Ringbuffer between manager and client; > 2.Kernel space user interface; > 3.User spa

Re: [PATCH v5 00/16] HWPOISON: soft offline rework

2020-08-04 Thread osalvador
On 2020-08-04 03:49, Qian Cai wrote: Well, each iteration will mmap/munmap, so there should be no leaking. https://gitlab.com/cailca/linux-mm/-/blob/master/random.c#L376 It also seem to me madvise(MADV_SOFT_OFFLINE) does start to fragment memory somehow, because after this "madvise: Cannot al

Re: [PATCH] ASoC: fsl_sai: Clean code for synchronize mode

2020-08-04 Thread Nicolin Chen
On Tue, Aug 04, 2020 at 03:53:51PM +0800, Shengjiu Wang wrote: > > > /* Check if the opposite FRDE is also disabled */ > > > regmap_read(sai->regmap, FSL_SAI_xCSR(!tx, ofs), &xcsr); > > > + if (sai->synchronous[tx] && !sai->synchronous[!tx] && > > > !

Re: PATCH: rtsx_pci driver - don't disable the rts5229 card reader on Intel NUC boxes

2020-08-04 Thread gre...@linuxfoundation.org
On Tue, Aug 04, 2020 at 08:08:10AM +, 吳昊澄 Ricky wrote: > > -Original Message- > > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > > Sent: Tuesday, August 04, 2020 3:49 PM > > To: 吳昊澄 Ricky > > Cc: Chris Clayton; LKML; rdun...@infradead.org; philqua...@gmail.com; A

RE: [EXT] Re: [PATCH v4 2/2] net: dsa: ocelot: Add support for QinQ Operation

2020-08-04 Thread Hongbo Wang
> > This featue can be test using network test tools > > mispelled: feature, can be used to test network test tools? or can be used to > exercise network test tool? when testing this feature, I need network tool to send packet with VLAN tag(pcp proto and vid), I will change it to avoid ambiguity

Re: [v2,3/6] dt-binding: reset-controller: ti: add generic-reset to compatible

2020-08-04 Thread Philipp Zabel
On Mon, 2020-08-03 at 14:15 +0800, Crystal Guo wrote: > The TI syscon reset controller provides a common reset management, > and should be suitable for other SOCs. Add compatible "generic-reset", > which denotes to use a common reset-controller driver. > > Signed-off-by: Crystal Guo > --- > Docu

Re: [PATCH v2 1/4] dt-bindings: media: i2c: ov5640: Document bus-type property

2020-08-04 Thread Sakari Ailus
Hi Prabhakar, Thanks for the update. On Mon, Aug 03, 2020 at 03:31:44PM +0100, Lad Prabhakar wrote: > Document the possible bus-type's supported by the OV5640 sensor driver. > > Also add the bus-type in example node. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/m

Re: [PATCH 5.7 000/121] 5.7.13-rc2 review

2020-08-04 Thread Naresh Kamboju
On Tue, 4 Aug 2020 at 13:03, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.13 release. > There are 121 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. > > Resp

Re: [PATCH v2 4/4] media: i2c: ov5640: Fallback to parallel mode

2020-08-04 Thread Sakari Ailus
Hi Prabhakar, On Mon, Aug 03, 2020 at 03:31:47PM +0100, Lad Prabhakar wrote: > Fallback to parallel mode if bus_type doesn't match the supported > interfaces by the driver. > > Signed-off-by: Lad Prabhakar > --- > drivers/media/i2c/ov5640.c | 6 ++ > 1 file changed, 6 insertions(+) > > dif

[PATCH] memory: jz4780-nemc: Fix return value check in jz4780_nemc_probe()

2020-08-04 Thread Wei Yongjun
In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: f046e4a3f0b9 ("memory: jz4780_nemc: Only request IO memory the driver will use") Reported-by: Hulk Robot Signed-off-by: Wei Yong

Re: [PATCH 5.7 000/121] 5.7.13-rc2 review

2020-08-04 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 01:46:31PM +0530, Naresh Kamboju wrote: > On Tue, 4 Aug 2020 at 13:03, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.7.13 release. > > There are 121 patches in this series, all will be posted as a response > > to this one. If an

Re: [PATCH v5 2/2] iio: light: as73211: New driver

2020-08-04 Thread Andy Shevchenko
On Tue, Aug 4, 2020 at 10:42 AM Christian Eggers wrote: > On Sunday, 2 August 2020, 20:02:35 CEST, Andy Shevchenko wrote: > > On Sun, Aug 2, 2020 at 7:40 PM Christian Eggers wrote: ... > > > Datasheet: > > > https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf/a65474c0- > > > b302-c2

[GIT pull] core/entry for v5.9

2020-08-04 Thread Thomas Gleixner
Linus, please pull the latest core/entry branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-entry-2020-08-04 up to: 3135f5b73592: entry: Correct __secure_computing() stub Generic implementation of common syscall, interrupt and exception entry/exit functionality bas

[GIT pull] irq/core for v5.9

2020-08-04 Thread Thomas Gleixner
Linus, please pull the latest irq/core branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-core-2020-08-04 up to: 3d5128c1deb5: Merge tag 'irqchip-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core The usual boring updates from the

[GIT pull] timers/core for v5.9

2020-08-04 Thread Thomas Gleixner
Linus, please pull the latest timers/core branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-2020-08-04 up to: 31cd0e119d50: timers: Recalculate next timer interrupt only when necessary Time, timers and related driver updates: - Prevent unnecessary timer

[GIT pull] x86/fsgsbase for v5.9

2020-08-04 Thread Thomas Gleixner
Linus, please pull the latest x86/fsgsbase branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-fsgsbase-2020-08-04 up to: d029bff60aa6: x86/fsgsbase: Fix Xen PV support Support for FSGSBASE. Almost 5 years after the first RFC to support it, this has been brought into

[GIT pull] x86/entry for v5.9

2020-08-04 Thread Thomas Gleixner
Linus, please pull the latest x86/entry branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-entry-2020-08-04 up to: adb334d17858: Merge branch 'WIP.x86/entry' into x86/entry, to merge the latest generic code and resolve conflicts The conversion of X86 syscall, inter

Re: [PATCH v1] tcpm: Honour pSnkStdby requirement during negotiation

2020-08-04 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Badhri-Jagan-Sridharan/tcpm-Honour-pSnkStdby-requirement-during-negotiation/20200804-145301 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-test

Re: [PATCH] memory: jz4780-nemc: Fix return value check in jz4780_nemc_probe()

2020-08-04 Thread Krzysztof Kozlowski
On Tue, Aug 04, 2020 at 08:24:03AM +, Wei Yongjun wrote: > In case of error, the function devm_ioremap() returns NULL pointer not > ERR_PTR(). The IS_ERR() test in the return value check should be > replaced with NULL test. > > Fixes: f046e4a3f0b9 ("memory: jz4780_nemc: Only request IO memory

Re: [PATCH] lz4: Fix kernel decompression speed

2020-08-04 Thread Pavel Machek
Hi! > >> I've measured the kernel decompression speed using QEMU before and after > >> this patch for the x86_64 and i386 architectures. The speed-up is about > >> 10x as shown below. > >> > >> Code ArchKernel Size TimeSpeed > >> v5.8 x86_64 11504832 B 148 ms 79 MB

Re: [PATCH v2 1/3] lib/vsprintf: Replace hidden BUILD_BUG_ON() with static_assert()

2020-08-04 Thread Petr Mladek
On Sat 2020-08-01 13:46:20, Sergey Senozhatsky wrote: > On (20/07/31 21:08), Andy Shevchenko wrote: > > First of all, there is no compile time check for the SMALL > > to be ' ' (0x20, i.e. space). Second, for ZEROPAD the check > > is hidden in the code. > > > > For better maintenance replace BUILD

  1   2   3   4   5   6   7   8   9   10   >