Re: [fuse] 6b2fb79963: WARNING:at_fs/fuse/file.c:#tree_insert[fuse]

2020-06-15 Thread Vasily Averin
On 6/15/20 3:50 AM, kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-9): > > commit: 6b2fb79963fbed7db3ef850926d913518fd5c62f ("fuse: optimize writepages > search") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > [ 1030.995703]

RE: [PATCH v2 02/15] iommu: Report domain nesting info

2020-06-15 Thread Liu, Yi L
Hi Kevin, > From: Tian, Kevin > Sent: Monday, June 15, 2020 9:23 AM > > > From: Liu, Yi L > > Sent: Friday, June 12, 2020 5:05 PM > > > > Hi Alex, > > > > > From: Alex Williamson > > > Sent: Friday, June 12, 2020 3:30 AM > > > > > > On Thu, 11 Jun 2020 05:15:21 -0700 > > > Liu Yi L wrote: >

Re: [PATCH 1/3] cpufreq: brcmstb-avs-cpufreq: more flexible interface for __issue_avs_command()

2020-06-15 Thread Viresh Kumar
On 28-05-20, 11:20, Markus Mayer wrote: > We are changing how parameters are passed to __issue_avs_command(), so we > can pass input *and* output arguments with the same command, rather than > just one or the other. > > Signed-off-by: Markus Mayer > --- > drivers/cpufreq/brcmstb-avs-cpufreq.c |

[PATCH v2] ASoC: fsl_ssi: Fix bclk calculation for mono channel

2020-06-15 Thread Shengjiu Wang
For mono channel, SSI will switch to Normal mode. In Normal mode and Network mode, the Word Length Control bits control the word length divider in clock generator, which is different with I2S Master mode (the word length is fixed to 32bit), it should be the value of params_width(hw_params). The

Re: [PATCH 1/3] mm/slub: Fix slabs_node return value when CONFIG_SLUB_DEBUG disabled

2020-06-15 Thread Joonsoo Kim
2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성: > > The slabs_node() always return zero when CONFIG_SLUB_DEBUG is disabled. > But some codes determine whether slab is empty by checking the return > value of slabs_node(). As you know, the result is not correct. This > problem can be reproduce by the

[PATCH v2] drm/etnaviv: fix ref count leak via pm_runtime_get_sync

2020-06-15 Thread Navid Emamdoost
in etnaviv_gpu_submit, etnaviv_gpu_recover_hang, etnaviv_gpu_debugfs, and etnaviv_gpu_init the call to pm_runtime_get_sync increments the counter even in case of failure, leading to incorrect ref count. In case of failure, decrement the ref count before returning. Signed-off-by: Navid Emamdoost

Re: [PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist

2020-06-15 Thread Pavel Machek
On Mon 2020-06-15 06:21:43, Jiri Slaby wrote: > On 14. 06. 20, 23:29, Pavel Machek wrote: > >> It's not like blacklist / whitelist are even good to begin with, it's > >> not obvious which is which, you have to learn that black is bad and > >> white is good. > >> > >> Blocklist (or denylist?) and

Re: [PATCH] drm/etnaviv: fix ref count leak via pm_runtime_get_sync

2020-06-15 Thread Navid Emamdoost
On Sun, Jun 14, 2020 at 4:48 AM Andy Shevchenko wrote: > > On Sun, Jun 14, 2020 at 9:48 AM Navid Emamdoost > wrote: > > ... > > > + if (ret < 0) { > > > + pm_runtime_put(gpu->dev); > > Please, in all your patches fix this to be _put_noidle(). We wouldn't >

Re: [PATCH 2/3] mm/slub: Use node_nr_slabs() instead of slabs_node()

2020-06-15 Thread Joonsoo Kim
2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성: > > In the some code, we already get the kmem_cache_node, so we can > use node_nr_slabs() directly instead of slabs_node(). Check the > condition of n->nr_partial can also be removed because we can get > the correct result via node_nr_slabs(). > >

elfcore.c:undefined reference to `dump_emit'

2020-06-15 Thread kernel test robot
Hi Christoph, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df2fbf5bfa0e7fff8b4784507e4d68f200454318 commit: df41017eafd267c08acbfff99d34e4f96bbfbc92 ia64: remove support for machvecs date: 10

[PATCH v2] usb: replace hardcode maximum usb string length by definition

2020-06-15 Thread Macpaul Lin
Replace hardcode maximum usb string length (126 bytes) by definition "MAX_USB_STRING_LEN". Signed-off-by: Macpaul Lin --- Changes for v2: - Add definition "MAX_USB_STRING_LEN" in ch9.h instead of in usb.h. Thanks for Alan's suggestion. drivers/usb/gadget/composite.c |4 ++--

Re: [PATCH] SUNRPC: Add missing asm/cacheflush.h

2020-06-15 Thread Christophe Leroy
Le 14/06/2020 à 20:57, Chuck Lever a écrit : Hi Christophe - On Jun 14, 2020, at 1:07 PM, Christophe Leroy wrote: Even if that's only a warning, not including asm/cacheflush.h leads to svc_flush_bvec() being empty allthough powerpc defines ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE. CC

RE: [RFC/RFT][PATCH] cpufreq: intel_pstate: Work in passive mode with HWP enabled

2020-06-15 Thread Doug Smythies
On 2020.05.21 10:16 Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Allow intel_pstate to work in the passive mode with HWP enabled and > make it translate the target frequency supplied by the cpufreq > governor in use into an EPP value to be written to the HWP request > MSR (high

Re: [RFC PATCH v2 00/16] Hwpoison rework {hard,soft}-offline

2020-06-15 Thread 堀口 直也
Hi Dmitry, On Thu, Jun 11, 2020 at 07:43:19PM +0300, Dmitry Yakunin wrote: > Hello! > > We are faced with similar problems with hwpoisoned pages > on one of our production clusters after kernel update to stable 4.19. > Application that does a lot of memory allocations sometimes caught SIGBUS >

riscv64-linux-objcopy: 'arch/riscv/kernel/vdso/vdso.so.dbg': No such file

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df2fbf5bfa0e7fff8b4784507e4d68f200454318 commit: ad5d1122b82fbd6a816d1b9d26ee01a6dbc2d757 riscv: use vDSO common flow to reduce the latency of the time-related functions date: 2 days ago :: branch

Re: [External] Re: [PATCH 2/3] mm/slub: Use node_nr_slabs() instead of slabs_node()

2020-06-15 Thread Muchun Song
On Mon, Jun 15, 2020 at 2:15 PM Joonsoo Kim wrote: > > 2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성: > > > > In the some code, we already get the kmem_cache_node, so we can > > use node_nr_slabs() directly instead of slabs_node(). Check the > > condition of n->nr_partial can also be removed

arch/mips/kvm/mips.c:70:25: error: 'struct kvm_vcpu_stat' has no member named 'vz_cpucfg_exits'; did you mean

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df2fbf5bfa0e7fff8b4784507e4d68f200454318 commit: 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333 KVM: MIPS: Add CPUCFG emulation for Loongson-3 date: 9 days ago :: branch date: 16 hours ago :: commit

Re: [PATCH 04/21] mm: free_area_init: use maximal zone PFNs rather than zone sizes

2020-06-15 Thread Mike Rapoport
Hi Greg, On Mon, Jun 15, 2020 at 01:53:42PM +1000, Greg Ungerer wrote: > Hi Mike, > > From: Mike Rapoport > > Currently, architectures that use free_area_init() to initialize memory map > > and node and zone structures need to calculate zone and hole sizes. We can > > use free_area_init_nodes()

Re: [PATCH v3 0/6] Add support for GPU DDR BW scaling

2020-06-15 Thread Viresh Kumar
On 06-06-20, 09:55, Sharat Masetty wrote: > This is a respin of [1]. Incorported review feedback and fixed issues observed > during testing. Picked up the Georgi's series from opp/linux-next [2], and > this > series is also dependent on a helper function needed to set and clear ddr > bandwidth

Re: [PATCH 3/3] mm/slub: Fix release all resources used by a slab cache

2020-06-15 Thread Joonsoo Kim
2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성: > > The function of __kmem_cache_shutdown() is that release all resources > used by the slab cache, while currently it stop release resources when > the preceding node is not empty. > > Signed-off-by: Muchun Song > --- > mm/slub.c | 7 --- > 1

dpaa2-eth-debugfs.c:undefined reference to `__aeabi_uldivmod'

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df2fbf5bfa0e7fff8b4784507e4d68f200454318 commit: 460fd830dd9d68e07c4d15363fd764944090e1f8 dpaa2-eth: add channel stat to debugfs date: 7 weeks ago :: branch date: 20 hours ago :: commit date: 7

arch/arm/mach-dove/pcie.c:59: undefined reference to `pci_ioremap_io'

2020-06-15 Thread kernel test robot
Hi Peter, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 08bf1a27c4c354b853fd81a79e953525bbcc8506 commit: 7a7a8f549ddd18126dfa3dedbe42d877614c7995 arm/patch: Fix !MMU compile date: 4 months ago

drivers/tty/vt/vt.c:1210:22: warning: comparison is always false due to limited range of data type

2020-06-15 Thread kernel test robot
Hi Nicolas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f82e7b57b5fc48199e2f26ffafe2f96f7338ad3d commit: 2717769e204e83e65b8819c5e2ef3e5b6639b270 vt: don't hardcode the mem allocation upper bound date: 7

net/sched/sch_fq.c:966:12: warning: stack frame size of 1400 bytes in function 'fq_dump'

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 96144c58abe7ff767e754b5b80995f7b8846d49b commit: 39d010504e6b4485d7ceee167743620dd33f4417 net_sched: sch_fq: add horizon attribute date: 6 weeks ago :: branch date: 3 hours ago :: commit date: 6

[PATCH v2] SUNRPC: Add missing definition of ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE

2020-06-15 Thread Christophe Leroy
Even if that's only a warning, not including asm/cacheflush.h leads to svc_flush_bvec() being empty allthough powerpc defines ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE. CC net/sunrpc/svcsock.o net/sunrpc/svcsock.c:227:5: warning: "ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE" is not defined [-Wundef] #if

Re: [External] Re: [PATCH 1/3] mm/slub: Fix slabs_node return value when CONFIG_SLUB_DEBUG disabled

2020-06-15 Thread Muchun Song
On Mon, Jun 15, 2020 at 2:11 PM Joonsoo Kim wrote: > > 2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성: > > > > The slabs_node() always return zero when CONFIG_SLUB_DEBUG is disabled. > > But some codes determine whether slab is empty by checking the return > > value of slabs_node(). As you know, the

drivers/video/fbdev/controlfb.c:326:23: error: incompatible types when assigning to type 'pgprot_t' {aka 'struct '} from type 'int'

2020-06-15 Thread kernel test robot
Hi Bartlomiej, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df2fbf5bfa0e7fff8b4784507e4d68f200454318 commit: a07a63b0e24dd1316d11427601a9f83dc955bb40 video: fbdev: controlfb: add COMPILE_TEST support date: 8

drivers/soc/imx/soc-imx8m.c:150:34: warning: unused variable 'imx8_soc_match'

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 08bf1a27c4c354b853fd81a79e953525bbcc8506 commit: fc40200ebf82fae3e40c4e88246496644edafe66 soc: imx: increase build coverage for imx8m soc driver date: 3 months ago :: branch date: 42 minutes ago

drivers/iommu/sun50i-iommu.c:561:13: warning: variable 'pte_dma' set but not used

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4a87b197c1da6b16608d5110709e0b3308e25dcd commit: 4100b8c229b328358cc4a82f5042dbf22f1c1ccb iommu: Add Allwinner H6 IOMMU driver date: 4 weeks ago :: branch date: 60 minutes ago :: commit date: 4

RE: [PATCH] i2c: busses: Fix a reference count leak.

2020-06-15 Thread Aisheng Dong
> From: Andy Duan > Sent: Monday, June 15, 2020 10:49 AM > > From: wu000...@umn.edu Sent: Sunday, June 14, > 2020 6:12 AM > > From: Qiushi Wu > > > > pm_runtime_get_sync() increments the runtime PM usage counter even > > when it returns an error code. Thus call pm_runtime_put_noidle() if > >

arch/powerpc/mm/ptdump/hashpagetable.c:262:18: error: 'H_SUCCESS' undeclared

2020-06-15 Thread kernel test robot
Hi Christophe, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4a87b197c1da6b16608d5110709e0b3308e25dcd commit: 65e701b2d2a8593c44c8855aee2e087be7e11e75 powerpc/ptdump: drop non vital #ifdefs date: 10 months ago

RE: [PATCH] [v3] i2c: imx-lpi2c: Fix runtime PM imbalance on error

2020-06-15 Thread Aisheng Dong
> From: Wolfram Sang > Sent: Sunday, June 14, 2020 5:12 PM > > On Mon, Jun 01, 2020 at 02:16:40PM +0800, Dinghao Liu wrote: > > pm_runtime_get_sync() increments the runtime PM usage counter even the > > call returns an error code. Thus a corresponding decrement is needed > > on the error

[PATCH v2] Input: bma150: fix ref count leak in bma150_open

2020-06-15 Thread Navid Emamdoost
in bma150_open, pm_runtime_get_sync is called which increments the counter even in case of failure, leading to incorrect ref count. In case of failure, decrement the ref count before returning. Signed-off-by: Navid Emamdoost --- Changes in v2: -- repplace pm_runtime_put with

arch/powerpc/mm/pgtable_32.c:38:34: error: array is too large (34359672832 elements)

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 08bf1a27c4c354b853fd81a79e953525bbcc8506 commit: 925ac141d106b55acbe112a9272f970631a3c082 powerpc/mm: Allocate static page tables for fixmap date: 3 weeks ago :: branch date: 49 minutes ago ::

drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request'

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b791d1bdf9212d944d749a5c7ff6febdba241771 commit: c50ed99cd56ee725d9e14dffec8e8f1641b8ca30 scsi: mpt3sas: Remove usage of device_busy counter date: 5 months ago :: branch date: 14 hours ago ::

Re: [PATCH] Input: bma150: fix ref count leak in bma150_open

2020-06-15 Thread Navid Emamdoost
On Sun, Jun 14, 2020 at 4:27 AM Andy Shevchenko wrote: > > On Sun, Jun 14, 2020 at 8:58 AM Navid Emamdoost > wrote: > > > > in bma150_open, pm_runtime_get_sync is called which > > increments the counter even in case of failure, leading to incorrect > > ref count. In case of failure, decrement

Re: [patch for-5.8] dma-pool: decouple DMA_REMAP from DMA_COHERENT_POOL

2020-06-15 Thread Christoph Hellwig
Thanks, applied, and will be pushed to Linus soon.

drivers/gpu/drm/bridge/sil-sii8620.c:2355: undefined reference to `extcon_unregister_notifier'

2020-06-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b3a9e3b9622ae10064826dccb4f7a52bd88c7407 commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied by y to become m date: 3 months ago :: branch date: 4 hours ago :: commit

[PATCH -v2.1] x86/msr: Filter MSR writes

2020-06-15 Thread Borislav Petkov
Here's an improved v2 with sparse warnings fixed: --- Disable writing to MSRs from userspace by default. Writes can still be allowed by supplying the allow_writes=1 module parameter and the kernel will be tainted so that it shows in oopses. Having unfettered access to all MSRs on a system is and

arch/mips/include/asm/mach-ip27/topology.h:19:7: error: implicit declaration of function 'hub_data'

2020-06-15 Thread kernel test robot
Hi Mike, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df2fbf5bfa0e7fff8b4784507e4d68f200454318 commit: 397dc00e249ec64e106374565575dd0eb7e25998 mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM date: 8

Re: [External] Re: [PATCH 3/3] mm/slub: Fix release all resources used by a slab cache

2020-06-15 Thread Muchun Song
On Mon, Jun 15, 2020 at 2:23 PM Joonsoo Kim wrote: > > 2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성: > > > > The function of __kmem_cache_shutdown() is that release all resources > > used by the slab cache, while currently it stop release resources when > > the preceding node is not empty. > > > >

Re: [PATCH] mm, memcg: prevent missed memory.low load tears

2020-06-15 Thread Michal Hocko
On Fri 12-06-20 18:44:37, Chris Down wrote: > Looks like one of these got missed when massaging in f86b810c2610 ("mm, > memcg: prevent memory.low load/store tearing") with other linux-mm > changes. > > Reported-by: Michal Koutný > Signed-off-by: Chris Down Acked-by: Michal Hocko > --- >

Re: Re: [PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist

2020-06-15 Thread SeongJae Park
On Mon, 15 Jun 2020 08:12:08 +0200 Pavel Machek wrote: > > [-- Attachment #1: Type: text/plain, Size: 1115 bytes --] > > On Mon 2020-06-15 06:21:43, Jiri Slaby wrote: > > On 14. 06. 20, 23:29, Pavel Machek wrote: > > > >> It's not like blacklist / whitelist are even good to begin with, it's >

[PATCH 13/29] dt: fix broken links due to txt->yaml renames

2020-06-15 Thread Mauro Carvalho Chehab
There are some new broken doc links due to yaml renames at DT. Developers should really run: ./scripts/documentation-file-ref-check in order to solve those issues while submitting patches. This tool can even fix most of the issues with: ./scripts/documentation-file-ref-check

[PATCH 10/29] rcu: fix some kernel-doc warnings

2020-06-15 Thread Mauro Carvalho Chehab
There are some kernel-doc warnings: ./kernel/rcu/tree.c:2915: warning: Function parameter or member 'count' not described in 'kfree_rcu_cpu' ./include/linux/rculist.h:517: warning: bad line: [@right ][node2 ... ] ./include/linux/rculist.h:2:

[PATCH 14/29] dt: Fix broken references to renamed docs

2020-06-15 Thread Mauro Carvalho Chehab
Some files got renamed. Those were all fixed automatically by ./scripts/documentation-file-ref-check --fix Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 2 +- Documentation/devicetree/bindings/display/imx/fsl-imx-drm.txt | 4

[PATCH 06/29] scripts/kernel-doc: handle function pointer prototypes

2020-06-15 Thread Mauro Carvalho Chehab
There are some function pointer prototypes inside the net includes, like this one: int (*pcs_config)(struct phylink_config *config, unsigned int mode, phy_interface_t interface, const unsigned long *advertising); There's nothing wrong using it with kernel-doc,

[PATCH 01/29] mm: vmalloc.c: remove a kernel-doc annotation from a removed parameter

2020-06-15 Thread Mauro Carvalho Chehab
The prot argument was removed. Drop it als from the kernel-doc markup. Fixes: 3c8ce1be43d3 ("mm: remove the prot argument from vm_map_ram") Signed-off-by: Mauro Carvalho Chehab --- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index

[PATCH 28/29] docs: fs: proc.rst: fix a warning due to a merge conflict

2020-06-15 Thread Mauro Carvalho Chehab
Changeset 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") added a new parameter to a table. This causes Sphinx warnings, because there's now an extra "-" at the wrong place: /devel/v4l/docs/Documentation/filesystems/proc.rst:548: WARNING: Malformed table. Text in

[PATCH 29/29] docs: fs: proc.rst: convert a new chapter to ReST

2020-06-15 Thread Mauro Carvalho Chehab
A new chapter was added to proc.rst. Adjust the markups to avoid this warning: Documentation/filesystems/proc.rst:2194: WARNING: Inconsistent literal block quoting. And to properly mark the code-blocks there. Fixes: 37e7647a7212 ("docs: proc: add documentation for "hidepid=4" and

[PATCH 02/29] net: dev: add a missing kernel-doc annotation

2020-06-15 Thread Mauro Carvalho Chehab
The dev argument was not listed at kernel-doc markup: ./net/core/dev.c:7878: warning: Function parameter or member 'dev' not described in 'netdev_get_xmit_slave' Signed-off-by: Mauro Carvalho Chehab --- net/core/dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/core/dev.c

[PATCH 26/29] docs: fix references for DMA*.txt files

2020-06-15 Thread Mauro Carvalho Chehab
As we moved those files to core-api, fix references to point to their newer locations. Signed-off-by: Mauro Carvalho Chehab --- Documentation/PCI/pci.rst | 6 +++--- Documentation/block/biodoc.rst | 2 +-

[PATCH 21/29] docs: device-mapper: add dm-ebs.rst to an index file

2020-06-15 Thread Mauro Carvalho Chehab
Solves this Sphinx warning: Documentation/admin-guide/device-mapper/dm-ebs.rst: WARNING: document isn't included in any toctree Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/device-mapper/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 24/29] docs: fs: locking.rst: fix a broken table

2020-06-15 Thread Mauro Carvalho Chehab
As reported by Sphinx: Documentation/filesystems/locking.rst:443: WARNING: Malformed table. Text in column margin in table line 8. == = = = ops inode->i_lock blocked_lock_lock may block ==

[PATCH 18/29] docs: powerpc: fix some issues at vas-api.rst

2020-06-15 Thread Mauro Carvalho Chehab
There are a few issues on this document, when built via the building with ``make htmldocs``: Documentation/powerpc/vas-api.rst:116: WARNING: Unexpected indentation. Documentation/powerpc/vas-api.rst:116: WARNING: Inline emphasis start-string without end-string.

[PATCH v2 2/2] scsi: ufs: Add trace event for UIC commands

2020-06-15 Thread Stanley Chu
Use the ftrace infrastructure to conditionally trace UFS UIC command events. New trace event "ufshcd_uic_command" is created, which samples the following UFS UIC command data: - Device name - Optional identification string - UIC command opcode - UIC command argument1 - UIC command argument2 - UIC

[PATCH v2 0/2] scsi: ufs: Add trace event for UIC commands and cleanup UIC struct

2020-06-15 Thread Stanley Chu
Hi, This series adds trace event for UIC commands and do a small cleanup in struct uic_command. v1 -> v2: - Rename "uic_send" to "send" and "uic_complete" to "complete" - Move "send" trace before UIC command is sent otherwise "send" trace may log incorrect arguments - Move "complete"

[PATCH 20/29] docs: watch_queue.rst: supress some Sphinx warnings and move to core-api

2020-06-15 Thread Mauro Carvalho Chehab
Sphinx doesn't like multi-line literal blocks with ``foobar``: Documentation/watch_queue.rst:109: WARNING: Inline literal start-string without end-string. Documentation/watch_queue.rst:109: WARNING: Inline emphasis start-string without end-string. Documentation/watch_queue.rst:109:

[PATCH 27/29] docs: dt: minor adjustments at writing-schema.rst

2020-06-15 Thread Mauro Carvalho Chehab
There are two literal blocks that aren't mark as such. Mark them, in order to make the document to produce a better html output. While here, also add a SPDX header to it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/writing-schema.rst | 9 ++--- 1 file changed, 6

[PATCH 17/29] docs: hugetlbpage.rst: fix some warnings

2020-06-15 Thread Mauro Carvalho Chehab
Some new command line parameters were added at hugetlbpage.rst. Adjust them in order to properly parse that part of the file, avoiding those warnings: Documentation/admin-guide/mm/hugetlbpage.rst:105: WARNING: Unexpected indentation. Documentation/admin-guide/mm/hugetlbpage.rst:108:

[PATCH v2 1/2] scsi: ufs: Remove unused field in struct uic_command

2020-06-15 Thread Stanley Chu
Remove unused field "cmd_active" and "result" in struct ufs_command. Signed-off-by: Stanley Chu Reviewed-by: Alim Akhtar --- drivers/scsi/ufs/ufshcd.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index bf97d616e597..7fa35c78342b

[PATCH 23/29] docs: ABI: fix a typo when pointing to w1-generic.rst

2020-06-15 Thread Mauro Carvalho Chehab
There's a typo there: w1_generic.rst -> w1-generic.rst Causing the document reference to point to the wrong place. Fixes: e2c94d6f5720 ("w1_therm: adding alarm sysfs entry") Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/testing/sysfs-driver-w1_therm | 2 +- 1 file

[PATCH 25/29] docs: add bus-virt-phys-mapping.txt to core-api

2020-06-15 Thread Mauro Carvalho Chehab
This describes an old interface used prior the new DMA-API interfaces. Add it to the core-api guide, just after the DMA stuff. Signed-off-by: Mauro Carvalho Chehab --- .../bus-virt-phys-mapping.rst} | 0 Documentation/core-api/index.rst

[PATCH 22/29] docs: it_IT: add two missing references

2020-06-15 Thread Mauro Carvalho Chehab
there are missing references causing Sphinx warnings: Documentation/translations/it_IT/process/submitting-patches.rst:384: WARNING: undefined label: it_email_clients (if the link has no caption the label must precede a section header)

[PATCH 11/29] fs: docs: f2fs.rst: fix a broken table

2020-06-15 Thread Mauro Carvalho Chehab
As reported by Sphinx: Documentation/filesystems/f2fs.rst:229: WARNING: Malformed table. Text in column margin in table line 126. == background_gc=%s Turn on/off cleaning

[PATCH 04/29] scripts/kernel-doc: parse __ETHTOOL_DECLARE_LINK_MODE_MASK

2020-06-15 Thread Mauro Carvalho Chehab
The __ETHTOOL_DECLARE_LINK_MODE_MASK macro is a variant of DECLARE_BITMAP(), used by phylink.h. As we have already a parser for DECLARE_BITMAP(), let's add one for this macro, in order to avoid such warnings: ./include/linux/phylink.h:54: warning: Function parameter or member

[PATCH 07/29] fs: fs.h: fix a kernel-doc parameter description

2020-06-15 Thread Mauro Carvalho Chehab
Changeset 3b0311e7ca71 ("vfs: track per-sb writeback errors and report them to syncfs") added a variant of filemap_sample_wb_err(), but it forgot to rename the arguments at the kernel-doc markup. Fix it. Fix those warnings: ./include/linux/fs.h:2845: warning: Function parameter or member

[PATCH 03/29] net: netdevice.h: add a description for napi_defer_hard_irqs

2020-06-15 Thread Mauro Carvalho Chehab
Changeset 6f8b12d661d0 ("net: napi: add hard irqs deferral feature") added a new element at struct net_device. Add a description for it, based on what's described at the changeset which added such feature. Fixes: 6f8b12d661d0 ("net: napi: add hard irqs deferral feature") Signed-off-by: Mauro

[PATCH 19/29] docs: driver-model: remove a duplicated markup at driver.rst

2020-06-15 Thread Mauro Carvalho Chehab
The "::" markup is there twice, causing a warning: Documentation/driver-api/driver-model/driver.rst:233: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/driver-model/driver.rst | 2 -- 1 file changed, 2

[PATCH 15/29] dt: fix reference to olpc,xo1.75-ec.txt

2020-06-15 Thread Mauro Carvalho Chehab
This file was converted and renamed. Fixes: 7882d822b3f9 ("dt-bindings: spi: Convert spi-pxa2xx to json-schema") Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 16/29] selftests/vm/keys: fix a broken reference at protection_keys.c

2020-06-15 Thread Mauro Carvalho Chehab
Changeset 1eecbcdca2bd ("docs: move protection-keys.rst to the core-api book") from Jun 7, 2019 converted protection-keys.txt file to ReST. A recent change at protection_keys.c partially reverted such changeset, causing it to point to a non-existing file: - * Tests x86 Memory Protection

[PATCH 09/29] kcsan: fix a kernel-doc warning

2020-06-15 Thread Mauro Carvalho Chehab
One of the kernel-doc markups there have two "note" sections: ./include/linux/kcsan-checks.h:346: warning: duplicate section name 'Note' While this is not the case here, duplicated sections can cause build issues on Sphinx. So, let's change the notes section to use, instead, a list for

[PATCH 05/29] net: pylink.h: add kernel-doc descriptions for new fields at phylink_config

2020-06-15 Thread Mauro Carvalho Chehab
Some fields were moved from struct phylink into phylink_config. Update the kernel-doc markups for the config struct accordingly Fixes: 5c05c1dbb177 ("net: phylink, dsa: eliminate phylink_fixed_state_cb()") Signed-off-by: Mauro Carvalho Chehab --- include/linux/phylink.h | 4 1 file

[PATCH 12/29] dt: update a reference for reneases pcar file renamed to yaml

2020-06-15 Thread Mauro Carvalho Chehab
This file was renamed, but its reference at pfc-pinctl.txt is still pointing to the old file. Fixes: 7f7d408e5a00 ("dt-bindings: gpio: rcar: Convert to json-schema") Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt | 2 +- 1 file changed,

[PATCH 08/29] gpio: driver.h: fix kernel-doc markup

2020-06-15 Thread Mauro Carvalho Chehab
There is one parameter with a wrong name at kernel-doc macro: ./include/linux/gpio/driver.h:499: warning: Function parameter or member 'gc' not described in 'gpiochip_add_data' ./include/linux/gpio/driver.h:499: warning: Excess function parameter 'chip' description in 'gpiochip_add_data' Fix

Re: [PATCH v2 1/2] i2c: imx: Fix PM runtime inbalance in probe error path

2020-06-15 Thread Krzysztof Kozlowski
On Sun, Jun 14, 2020 at 12:29:03PM +0200, Krzysztof Kozlowski wrote: > When pm_runtime_get_sync() fails in probe(), the error path should not > call pm_runtime_put_noidle(). This would lead to inbalance in > usage_count. > > Fixes: 588eb93ea49f ("i2c: imx: add runtime pm support to improve the

[PATCH 01/22] docs: dt: convert booting-without-of.txt to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
- Add a SPDX header; - Use copyright symbol; - Adjust document title; - Adjust document and section titles; - Some whitespace fixes and new line breaks; - Mark literal blocks as such; - Add table markups; - Add it to devicetree/index.rst. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 12/22] docs: misc-devices/apds990x.txt: convert to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
- Adjust title markup; - Adjust identation. Signed-off-by: Mauro Carvalho Chehab --- .../{apds990x.txt => apds990x.rst}| 31 ++- Documentation/misc-devices/index.rst | 1 + 2 files changed, 25 insertions(+), 7 deletions(-) rename

[PATCH 22/22] docs: staging: use small font for literal includes

2020-06-15 Thread Mauro Carvalho Chehab
The normal font is too big to display 80 columns, causing extra breaks to be added at weird places. change to the footnotesize, as this would fit a little bit better. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 24 1 file changed, 24

[PATCH 10/22] docs: misc-devices/c2port.txt: convert to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
- Use copyright symbol; - use title markups; - adjust indentation; - mark literal blocks as such. Signed-off-by: Mauro Carvalho Chehab --- .../misc-devices/{c2port.txt => c2port.rst} | 58 ++- Documentation/misc-devices/index.rst | 1 + 2 files changed, 32

[PATCH 14/22] docs: arm64: convert perf.txt to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
This file is almost in ReST. All it needs is a rename and adding a :field: for the two fields at the beginning (author and date). While here, add a proper SPDX header, and use the standard markup for document titles, just for consistency. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 11/22] docs: misc-devices/bh1770glc.txt: convert to ReST

2020-06-15 Thread Mauro Carvalho Chehab
- Adjust document title markup; - use list markups; - Adjust identations to display properly at ReST output. Signed-off-by: Mauro Carvalho Chehab --- .../{bh1770glc.txt => bh1770glc.rst} | 45 +-- Documentation/misc-devices/index.rst | 1 + 2 files changed, 33

[PATCH 18/22] docs: trace: ring-buffer-design.txt: convert to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
- Just like some media documents, this file is dual licensed with GPL and GFDL. As right now the GFDL SPDX definition is bogus (as it doesn't tell anything about invariant parts), let's not use SPDX here. Let's use, instead, the same test as we have on media. - Convert title to ReST

[PATCH 16/22] docs: sh: convert new-machine.txt to ReST

2020-06-15 Thread Mauro Carvalho Chehab
- Add a SPDX header; - Adjust document title to follow ReST style; - Mark literal blocks as such; - Mark a table as such; - Add it to sh/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sh/index.rst| 5 + .../sh/{new-machine.txt => new-machine.rst} | 195

[PATCH 19/22] docs: move other kAPI documents to core-api

2020-06-15 Thread Mauro Carvalho Chehab
There are a number of random documents that seem to be describing some aspects of the core-api. Move them to such directory, adding them at the core-api/index.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/sysctl/vm.rst | 2 +-

[PATCH 15/22] docs: powerpc: convert vcpudispatch_stats.txt to ReST

2020-06-15 Thread Mauro Carvalho Chehab
- Add a SPDX header; - Use standard markup for document title; - Adjust identation on lists and add blank lines where needed; - Add it to the powerpc index.rst file. Acked-by: Michael Ellerman # powerpc Signed-off-by: Mauro Carvalho Chehab --- Documentation/powerpc/index.rst

[PATCH 06/22] docs: crypto: descore-readme.txt: convert to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
Convert this readme file to ReST file format, preserving its contents as-is as much as possible. The only changes are: - Added chapter and title markups; - Added blank lines where needed; - Added list markups where needed; - Use a table markup; - replace markups like `foo' to ``foo``; - add one

[PATCH 05/22] docs: crypto: convert async-tx-api.txt to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
- Place the txt index inside a comment; - Use title and chapter markups; - Adjust markups for numbered list; - Mark literal blocks as such; - Use tables markup. - Adjust indentation when needed. Acked-By: Vinod Koul # dmaengine Signed-off-by: Mauro Carvalho Chehab --- .../{async-tx-api.txt =>

[PATCH 13/22] docs: pci: endpoint/function/binding/pci-test.txt convert to ReST

2020-06-15 Thread Mauro Carvalho Chehab
Convert this file to ReST by adding a proper title to it and use the right markups for a table. While here, add a SPDX header. Signed-off-by: Mauro Carvalho Chehab --- .../endpoint/function/binding/pci-test.rst| 26 +++ .../endpoint/function/binding/pci-test.txt| 19

[PATCH 17/22] docs: sh: convert register-banks.txt to ReST

2020-06-15 Thread Mauro Carvalho Chehab
- Add a SPDX header; - Adjust document title to follow ReST style; - Add blank lines to make ReST markup happy - Add it to sh/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sh/index.rst | 1 + .../sh/{register-banks.txt => register-banks.rst} | 13

[PATCH 20/22] docs: move remaining stuff under Documentation/*.txt to Documentation/staging

2020-06-15 Thread Mauro Carvalho Chehab
There are several files that I was unable to find a proper place for them, and 3 ones that are still in plain old text format. Let's place those stuff behind the carpet, as we'd like to keep the root directory clean. We can later discuss and move those into better places. Signed-off-by: Mauro

[PATCH 08/22] docs: misc-devices/pci-endpoint-test.txt: convert to ReST

2020-06-15 Thread Mauro Carvalho Chehab
- use title markups; - mark literal blocks. Signed-off-by: Mauro Carvalho Chehab --- .../{ad525x_dpot.txt => ad525x_dpot.rst} | 24 +-- Documentation/misc-devices/index.rst | 1 + drivers/misc/Kconfig | 2 +- drivers/misc/ad525x_dpot.c

[PATCH 21/22] docs: staging: don't use literalinclude

2020-06-15 Thread Mauro Carvalho Chehab
Such directive cause troubles with PDF output. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/staging/index.rst b/Documentation/staging/index.rst index 8e98517675ca..8cc9d94b0a13

Re: [PATCH] Documentation: fix sysctl/kernel.rst heading format warnings

2020-06-15 Thread Mauro Carvalho Chehab
Em Sun, 14 Jun 2020 21:11:00 -0700 Randy Dunlap escreveu: > From: Randy Dunlap > > Fix heading format warnings in admin-guide/sysctl/kernel.rst: > > Documentation/admin-guide/sysctl/kernel.rst:339: WARNING: Title underline too > short. > hung_task_all_cpu_backtrace: > > >

[PATCH 02/22] docs: thermal: convert cpu-idle-cooling.rst to ReST

2020-06-15 Thread Mauro Carvalho Chehab
Despite being named with .rst extension, this file doesn't match the ReST standard. It actually causes a crash at Sphinx: Sphinx parallel build error: docutils.utils.SystemMessage: /devel/v4l/docs/Documentation/driver-api/thermal/cpu-idle-cooling.rst:69: (SEVERE/4) Unexpected

[PATCH 07/22] docs: misc-devices/spear-pcie-gadget.txt: convert to ReST

2020-06-15 Thread Mauro Carvalho Chehab
- Use title/chapter markups; - Use table markups; - Mark literal blocks as such; - Adjust indentation. Signed-off-by: Mauro Carvalho Chehab --- Documentation/misc-devices/index.rst | 1 + .../misc-devices/spear-pcie-gadget.rst| 170 ++

[PATCH 09/22] docs: misc-devices/pci-endpoint-test.txt: convert to ReST

2020-06-15 Thread Mauro Carvalho Chehab
- Use titles markups; - Adjust identation; - use literal markup; - Use the proper notation for footnotes. Signed-off-by: Mauro Carvalho Chehab --- Documentation/misc-devices/index.rst | 1 + .../misc-devices/pci-endpoint-test.rst| 56 +++

[PATCH 03/22] docs: crypto: convert asymmetric-keys.txt to ReST

2020-06-15 Thread Mauro Carvalho Chehab
This file is almost compatible with ReST. Just minor changes were needed: - Adjust document and titles markups; - Adjust numbered list markups; - Add a comments markup for the Contents section; - Add markups for literal blocks. Acked-by: Jarkko Sakkinen Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 04/22] docs: crypto: convert api-intro.txt to ReST format

2020-06-15 Thread Mauro Carvalho Chehab
- Change title markups; - Mark literal blocks; - Use list markups at authors/credits; - Add blank lines when needed; - Remove trailing whitespaces. Signed-off-by: Mauro Carvalho Chehab --- .../crypto/{api-intro.txt => api-intro.rst} | 186 ++ Documentation/crypto/index.rst

Re: [PATCH] Documentation: fix malformed table in filesystems/proc.rst

2020-06-15 Thread Mauro Carvalho Chehab
Em Sun, 14 Jun 2020 20:33:22 -0700 Randy Dunlap escreveu: > From: Randy Dunlap > > Fix malformed table in "proc.rst" by dropping a needless hyphen ('-'). > > Documentation/filesystems/proc.rst:548: WARNING: Malformed table. > Text in column margin in table line 29. > > Fixes: 424037b77519

  1   2   3   4   5   6   7   8   9   10   >