[PATCH v6 12/16] net: tip: fix a couple kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
general link level function for message sending(). Prototype was for tipc_node_xmit() instead Signed-off-by: Mauro Carvalho Chehab --- net/tipc/link.c | 2 +- net/tipc/node.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tipc/link.c b/net/tipc/link.c index a6a694b78927

[PATCH v6 00/16] Fix several bad kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
d and review tags got added; - Dropped patches that were already merged at linux-next. v4: - Patches got rebased and got some acks. Mauro Carvalho Chehab (16): parport: fix a kernel-doc markup rapidio: fix kernel-doc a markup fs: fix kernel-doc markups pstore/zone: fix a kernel-doc m

[PATCH v6 13/16] net: cfg80211: fix a kerneldoc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup: ../include/net/cfg80211.h:1766: warning: expecting prototype for struct cfg80211_sar_chan_ranges. Prototype was for struct cfg80211_sar_freq_ranges instead Signed-off-by: Mauro Carvalho Chehab

[PATCH v4 00/27]Fix several bad kernel-doc markups

2020-11-16 Thread Mauro Carvalho Chehab
. @maintainers: feel free to pick the patches and apply them directly on your trees, as all patches on this series are independent from the other ones. -- v4: - Patches got rebased and got some acks. Mauro Carvalho Chehab (27): net: phy: fix kernel-doc markups net: datagram: fix some kernel

[PATCH v4 03/27] net: core: fix some kernel-doc markups

2020-11-16 Thread Mauro Carvalho Chehab
Some identifiers have different names between their prototypes and the kernel-doc markup. In the specific case of netif_subqueue_stopped(), keep the current markup for __netif_subqueue_stopped(), adding a new one for netif_subqueue_stopped(). Signed-off-by: Mauro Carvalho Chehab --- include

[PATCH v4 02/27] net: datagram: fix some kernel-doc markups

2020-11-16 Thread Mauro Carvalho Chehab
Some identifiers have different names between their prototypes and the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- net/core/datagram.c | 2 +- net/core/dev.c| 4 ++-- net/core/skbuff.c | 2 +- net/ethernet/eth.c| 6 +++--- net/sunrpc/rpc_pipe.c | 3 ++- 5 files

[PATCH v4 01/27] net: phy: fix kernel-doc markups

2020-11-16 Thread Mauro Carvalho Chehab
Some functions have different names between their prototypes and the kernel-doc markup. Reviewed-by: Andrew Lunn Signed-off-by: Mauro Carvalho Chehab --- drivers/net/phy/mdio_bus.c | 2 +- drivers/net/phy/phy-c45.c| 2 +- drivers/net/phy/phy.c| 2 +- drivers/net/phy/phy_device.c

Duplicated ABI entries - Was: Re: [PATCH v2 20/39] docs: ABI: testing: make the files compatible with ReST output

2020-11-09 Thread Mauro Carvalho Chehab
Hi Jonathan, Em Sun, 8 Nov 2020 16:56:21 + Jonathan Cameron escreveu: > > PS.: the IIO subsystem is the one that currently has more duplicated > > ABI entries: > > $ ./scripts/get_abi.pl validate 2>&1|grep iio > > Warning: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias is defined 2

Re: [PATCH v2 20/39] docs: ABI: testing: make the files compatible with ReST output

2020-11-02 Thread Mauro Carvalho Chehab
Em Mon, 2 Nov 2020 13:46:41 +0100 Greg Kroah-Hartman escreveu: > On Mon, Nov 02, 2020 at 12:04:36PM +0100, Fabrice Gasnier wrote: > > On 10/30/20 11:09 AM, Mauro Carvalho Chehab wrote: > > > Em Fri, 30 Oct 2020 10:19:12 +0100 > > > Fabrice Gasnier escreve

Re: [PATCH v2 20/39] docs: ABI: testing: make the files compatible with ReST output

2020-10-30 Thread Mauro Carvalho Chehab
Em Fri, 30 Oct 2020 10:19:12 +0100 Fabrice Gasnier escreveu: > Hi Mauro, > > [...] > > > > > +What: > > /sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available > > +KernelVersion: 4.12 > > +Contact: benjamin.gaign...@st.com > > +Description: > > + Rea

Re: [PATCH 20/33] docs: ABI: testing: make the files compatible with ReST output

2020-10-30 Thread Mauro Carvalho Chehab
Em Thu, 29 Oct 2020 14:49:12 + Jonathan Cameron escreveu: > On Wed, 28 Oct 2020 15:23:18 +0100 > Mauro Carvalho Chehab wrote: > > > From: Mauro Carvalho Chehab > > > > Some files over there won't parse well by Sphinx. > > > > Fix them. &

Re: [PATCH 20/33] docs: ABI: testing: make the files compatible with ReST output

2020-10-29 Thread Mauro Carvalho Chehab
Hi Richard, Em Wed, 28 Oct 2020 10:44:27 -0700 Richard Cochran escreveu: > On Wed, Oct 28, 2020 at 03:23:18PM +0100, Mauro Carvalho Chehab wrote: > > > diff --git a/Documentation/ABI/testing/sysfs-uevent > > b/Documentation/ABI/testing/sysfs-uevent > > index aa39f8d7b

[PATCH v3 14/32] net: phy: remove kernel-doc duplication

2020-10-27 Thread Mauro Carvalho Chehab
r the same functions. Let's drop the at the header file, keeping the one closer to the code. Signed-off-by: Mauro Carvalho Chehab --- include/linux/phy.h | 40 +--- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git a/include/linux/phy.h b/includ

[PATCH v3 06/32] docs: net: statistics.rst: remove a duplicated kernel-doc

2020-10-27 Thread Mauro Carvalho Chehab
-references. Solves this warning: ../Documentation/networking/ethtool-netlink.rst: WARNING: Duplicate C declaration, also defined in 'networking/statistics'. Declaration is 'ethtool_pause_stats'. Acked-by: David S. Miller Signed-off-by: Mauro Carvalho Chehab

[PATCH v3 16/32] ice: docs fix a devlink info that broke a table

2020-10-27 Thread Mauro Carvalho Chehab
Track ID to devlink info") Reviewed-by: Jacob Keller Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/devlink/ice.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/networking/devlink/ice.rst b/Documentation/networking/devlink/ice.rst index b165181d5

Re: [PATCH v3 21/56] mac80211: fix kernel-doc markups

2020-10-27 Thread Mauro Carvalho Chehab
Em Tue, 27 Oct 2020 08:26:20 +0100 Johannes Berg escreveu: > On Fri, 2020-10-23 at 18:33 +0200, Mauro Carvalho Chehab wrote: > > Some identifiers have different names between their prototypes > > and the kernel-doc markup. > > > > Others need to be fixed, as kernel-

[PATCH RESEND 3/3] net: core: fix some kernel-doc markups

2020-10-26 Thread Mauro Carvalho Chehab
Some identifiers have different names between their prototypes and the kernel-doc markup. In the specific case of netif_subqueue_stopped(), keep the current markup for __netif_subqueue_stopped(), adding a new one for netif_subqueue_stopped(). Signed-off-by: Mauro Carvalho Chehab --- include

[PATCH RESEND 0/3] Fix wrong identifiers on kernel-doc markups

2020-10-26 Thread Mauro Carvalho Chehab
ually documenting. This should help checking them via CI automation. Regards, Mauro Mauro Carvalho Chehab (3): net: phy: fix kernel-doc markups net: datagram: fix some kernel-doc markups net: core: fix some kernel-doc markups drivers/net/phy/mdio_bus.c | 2 +- drivers/net/phy/phy-

[PATCH RESEND 2/3] net: datagram: fix some kernel-doc markups

2020-10-26 Thread Mauro Carvalho Chehab
Some identifiers have different names between their prototypes and the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- net/core/datagram.c | 2 +- net/core/dev.c| 4 ++-- net/core/skbuff.c | 2 +- net/ethernet/eth.c| 6 +++--- net/sunrpc/rpc_pipe.c | 3 ++- 5 files

[PATCH RESEND 1/3] net: phy: fix kernel-doc markups

2020-10-26 Thread Mauro Carvalho Chehab
Some functions have different names between their prototypes and the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- drivers/net/phy/mdio_bus.c | 2 +- drivers/net/phy/phy-c45.c| 2 +- drivers/net/phy/phy.c| 2 +- drivers/net/phy/phy_device.c | 2 +- drivers/net/phy

[PATCH v3 20/56] net: core: fix some kernel-doc markups

2020-10-23 Thread Mauro Carvalho Chehab
Some identifiers have different names between their prototypes and the kernel-doc markup. In the specific case of netif_subqueue_stopped(), keep the current markup for __netif_subqueue_stopped(), adding a new one for netif_subqueue_stopped(). Signed-off-by: Mauro Carvalho Chehab --- include

[PATCH v3 21/56] mac80211: fix kernel-doc markups

2020-10-23 Thread Mauro Carvalho Chehab
the one used outside sta_info.c. Signed-off-by: Mauro Carvalho Chehab --- include/net/cfg80211.h | 9 + include/net/mac80211.h | 7 --- net/mac80211/sta_info.h | 9 - 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211

[PATCH v3 18/56] net: phy: fix kernel-doc markups

2020-10-23 Thread Mauro Carvalho Chehab
Some functions have different names between their prototypes and the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- drivers/net/phy/mdio_bus.c | 2 +- drivers/net/phy/phy-c45.c| 2 +- drivers/net/phy/phy.c| 2 +- drivers/net/phy/phy_device.c | 2 +- drivers/net/phy

[PATCH v3 19/56] net: datagram: fix some kernel-doc markups

2020-10-23 Thread Mauro Carvalho Chehab
Some identifiers have different names between their prototypes and the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- net/core/datagram.c | 2 +- net/core/dev.c| 4 ++-- net/core/skbuff.c | 2 +- net/ethernet/eth.c| 6 +++--- net/sunrpc/rpc_pipe.c | 3 ++- 5 files

Re: [PATCH v6 68/80] nl80211: docs: add a description for s1g_cap parameter

2020-10-13 Thread Mauro Carvalho Chehab
Em Tue, 13 Oct 2020 20:47:47 +0200 Johannes Berg escreveu: > Thanks Mauro. > > > On Tue, 2020-10-13 at 13:54 +0200, Mauro Carvalho Chehab wrote: > > Changeset df78a0c0b67d ("nl80211: S1G band and channel definitions") > > added a new parameter, but didn&

[PATCH v2 15/24] docs: net: statistics.rst: remove a duplicated kernel-doc

2020-10-13 Thread Mauro Carvalho Chehab
-references. Solves this warning: ../Documentation/networking/ethtool-netlink.rst: WARNING: Duplicate C declaration, also defined in 'networking/statistics'. Declaration is 'ethtool_pause_stats'. Acked-by: David S. Miller Signed-off-by: Mauro Carvalho Chehab

[PATCH v2 22/24] ice: docs fix a devlink info that broke a table

2020-10-13 Thread Mauro Carvalho Chehab
Track ID to devlink info") Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/devlink/ice.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/networking/devlink/ice.rst b/Documentation/networking/devlink/ice.rst index b165181d5d4d..a432dc419fa4 100644 --- a/Do

[PATCH v2 19/24] net: phy: remove kernel-doc duplication

2020-10-13 Thread Mauro Carvalho Chehab
r the same functions. Let's drop the at the header file, keeping the one closer to the code. Signed-off-by: Mauro Carvalho Chehab --- include/linux/phy.h | 40 +--- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git a/include/linux/phy.h b/includ

[PATCH v6 26/80] docs: net: ieee802154.rst: fix C expressions

2020-10-13 Thread Mauro Carvalho Chehab
hw *hw, u8 page, u8 channel): --^ Caused by some bad c:function: prototypes. Fix them. Acked-by: David S. Miller Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/ieee802154.rst | 18 ++ 1 file c

[PATCH v6 58/80] drivers: net: hamradio: fix document location

2020-10-13 Thread Mauro Carvalho Chehab
The hamradio docs were moved to a different dir. Update its location accordingly. Fixes: 14474950252c ("docs: networking: move z8530 to the hw driver section") Signed-off-by: Mauro Carvalho Chehab --- drivers/net/hamradio/scc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v6 57/80] net: appletalk: Kconfig: Fix docs location

2020-10-13 Thread Mauro Carvalho Chehab
The location of ltpc.rst changed. Update it at Kconfig. Fixes: 4daedf7abb41 ("docs: networking: move AppleTalk / LocalTalk drivers to the hw driver section") Signed-off-by: Mauro Carvalho Chehab --- drivers/net/appletalk/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH v6 68/80] nl80211: docs: add a description for s1g_cap parameter

2020-10-13 Thread Mauro Carvalho Chehab
#x27;s1g_cap' not described in 'ieee80211_supported_band' Add a documentation for it. Fixes: df78a0c0b67d ("nl80211: S1G band and channel definitions") Signed-off-by: Mauro Carvalho Chehab --- include/net/cfg80211.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net

[PATCH v5 25/52] docs: net: ieee802154.rst: fix C expressions

2020-10-06 Thread Mauro Carvalho Chehab
hw *hw, u8 page, u8 channel): --^ Caused by some bad c:function: prototypes. Fix them. Acked-by: David S. Miller Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/ieee802154.rst | 18 ++ 1 file c

[PATCH v5 33/52] docs: net: statistics.rst: remove a duplicated kernel-doc

2020-10-06 Thread Mauro Carvalho Chehab
-references. Solves this warning: ../Documentation/networking/ethtool-netlink.rst: WARNING: Duplicate C declaration, also defined in 'networking/statistics'. Declaration is 'ethtool_pause_stats'. Acked-by: David S. Miller Signed-off-by: Mauro Carvalho Chehab

[PATCH 1/6] net: core: document two new elements of struct net_device

2020-10-01 Thread Mauro Carvalho Chehab
ning: Function parameter or member 'nested_level' not described in 'net_device' Fixes: 1fc70edb7d7b ("net: core: add nested_level variable in net_device") Signed-off-by: Mauro Carvalho Chehab --- include/linux/netdevice.h | 5 + 1 file changed, 5 insertions(+) d

[PATCH 0/6] Fix new html build warnings from next-20201001

2020-10-01 Thread Mauro Carvalho Chehab
doing html builds with version < 3. Mauro Carvalho Chehab (6): net: core: document two new elements of struct net_device docs: vcpu.rst: fix some build warnings docs: virt: user_mode_linux_howto_v2.rst: fix a literal block markup docs: i2c: index.rst: add slave-testunit-backend.rst

[PATCH v4 25/52] docs: net: ieee802154.rst: fix C expressions

2020-09-30 Thread Mauro Carvalho Chehab
hw *hw, u8 page, u8 channel): --^ Caused by some bad c:function: prototypes. Fix them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/ieee802154.rst | 18 ++ 1 file changed, 10 insertions(+), 8

[PATCH v4 33/52] docs: net: statistics.rst: remove a duplicated kernel-doc

2020-09-30 Thread Mauro Carvalho Chehab
-references. Solves this warning: ../Documentation/networking/ethtool-netlink.rst: WARNING: Duplicate C declaration, also defined in 'networking/statistics'. Declaration is 'ethtool_pause_stats'. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networkin

[PATCH 0/3] Fix Kernel-doc warnings introduced on next-20200921

2020-09-22 Thread Mauro Carvalho Chehab
A few new warnings were added at linux-next. Address them, in order for us to keep zero warnings at the docs. The entire patchset fixing all kernel-doc warnings is at: https://git.linuxtv.org/mchehab/experimental.git/log/?h=doc-fixes Mauro Carvalho Chehab (3): net: fix a new kernel-doc

[PATCH 1/3] net: fix a new kernel-doc warning at dev.c

2020-09-22 Thread Mauro Carvalho Chehab
se exponential backoff in netdev_wait_allrefs") Signed-off-by: Mauro Carvalho Chehab --- net/core/dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index a268ff35ad38..873b50ac9668 100644 --- a/net/core/dev.c +++ b/net/core/dev

[PATCH 0/3] Additional doc warning fixes for issues at next-20200915

2020-09-17 Thread Mauro Carvalho Chehab
l doc warnings upstream, hopefully in time for Kernel 5.10. Mauro Carvalho Chehab (3): docs: kasan.rst: add two missing blank lines mm: pagemap.h: fix two kernel-doc markups docs: bpf: ringbuf.rst: fix a broken cross-reference Documentation/bpf/ringbuf.rst | 2 +- Documentation/dev-

[PATCH 3/3] docs: bpf: ringbuf.rst: fix a broken cross-reference

2020-09-17 Thread Mauro Carvalho Chehab
possible to include this file as a literal include, placing it inside Documentation/bpf. For now, let's take the simplest approach: just drop the "_" markup at the end of the reference. This should solve the warning, and it sounds quite obvious that the file to see is at the Kernel t

Re: [PATCH bpf] docs/bpf: fix ringbuf documentation

2020-09-10 Thread Mauro Carvalho Chehab
doc ML, but nobody so far tested doing it or sent any patches moving toward such direction. Another possibility would be to include bench_ringbufs.c inside the documentation book, using kernel-include::, literalinclude:: or include:: tags. Se, for example: Documentation/kbuild/issues.rst

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Mauro Carvalho Chehab
c/ov6650.c| 5 ++--- > drivers/media/i2c/smiapp/smiapp-core.c| 2 +- > drivers/media/i2c/tvp5150.c | 2 +- > drivers/media/pci/ddbridge/ddbridge-core.c| 2 +- > drivers/media/usb/cpia

Re: [PATCH v4 bpf-next 5/5] docs/bpf: add BPF ring buffer design notes

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Sep 2020 15:53:05 +0200 Mauro Carvalho Chehab escreveu: > Em Fri, 29 May 2020 00:54:24 -0700 > Andrii Nakryiko escreveu: > > > Add commit description from patch #1 as a stand-alone documentation under > > Documentation/bpf, as it might be more convenient

Re: [PATCH v4 bpf-next 5/5] docs/bpf: add BPF ring buffer design notes

2020-09-09 Thread Mauro Carvalho Chehab
Em Fri, 29 May 2020 00:54:24 -0700 Andrii Nakryiko escreveu: > Add commit description from patch #1 as a stand-alone documentation under > Documentation/bpf, as it might be more convenient format, in long term > perspective. > > Suggested-by: Stanislav Fomichev > Signed-off-by: Andrii Nakryiko

[PATCH v2] net: wireless: wlcore: fix support for IGTK key

2020-09-06 Thread Mauro Carvalho Chehab
sion 8.9.0.0.83. Tested on Hikey 970. Fixes: 2b7aadd3b9e1 ("wlcore: Adding suppoprt for IGTK key in wlcore driver") Signed-off-by: Mauro Carvalho Chehab --- Hi Raz, Maybe this patch could be useful once firmware 8.9.0.0.83 is released. v2: change it to require minimal verson 8.9.0.0.

Re: [PATCH] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"

2020-08-28 Thread Mauro Carvalho Chehab
Em Thu, 27 Aug 2020 13:36:28 -0700 Steve deRosier escreveu: > Hi Mauro, > > On Thu, Aug 27, 2020 at 10:42 AM Mauro Carvalho Chehab > wrote: > > > > Em Thu, 27 Aug 2020 08:48:30 -0700 > > Steve deRosier escreveu: > > > > > On Tue, Aug 25, 2020 a

Re: [PATCH] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"

2020-08-28 Thread Mauro Carvalho Chehab
Em Thu, 27 Aug 2020 13:36:28 -0700 Steve deRosier escreveu: > > > And let's revisit the discussion of having a kernel splat because an > > > unrelated piece of code fails yet the driver does exactly what it is > > > supposed to do. We shouldn't be dumping registers and stack-trace when > > > the

Re: [PATCH] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"

2020-08-27 Thread Mauro Carvalho Chehab
Em Thu, 27 Aug 2020 08:48:30 -0700 Steve deRosier escreveu: > On Tue, Aug 25, 2020 at 10:49 PM Mauro Carvalho Chehab > wrote: > > > > This patch causes a regression betwen Kernel 5.7 and 5.8 at wlcore: > > with it applied, WiFi stops working, and the Kernel starts p

[PATCH] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"

2020-08-25 Thread Mauro Carvalho Chehab
) wlcore: PHY firmware version: Rev 8.2.0.0.242 wlcore: firmware booted (Rev 8.9.0.0.79) wlcore: ERROR command execute failure 14 [ cut here ] Tested on Hikey 970. This reverts commit 2b7aadd3b9e17e8b81eeb8d9cc46756ae4658265. Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-25 Thread Mauro Carvalho Chehab
Em Tue, 25 Aug 2020 05:29:29 +1000 Dave Airlie escreveu: > On Thu, 20 Aug 2020 at 20:02, Laurent Pinchart > wrote: > > > > Hi Mauro, > > > > On Thu, Aug 20, 2020 at 09:03:26AM +0200, Mauro Carvalho Chehab wrote: > > > Em Wed, 19 Aug 2020 12:52:06 -0700

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-24 Thread Mauro Carvalho Chehab
Em Fri, 21 Aug 2020 17:56:50 +0200 Sam Ravnborg escreveu: > Hi Mauro. > > On Fri, Aug 21, 2020 at 04:41:58PM +0200, Mauro Carvalho Chehab wrote: > > Another quick question: > > > > Em Wed, 19 Aug 2020 19:35:58 +0200 > > Sam Ravnborg escreveu: > > &

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-24 Thread Mauro Carvalho Chehab
Em Mon, 24 Aug 2020 08:49:30 +0200 Mauro Carvalho Chehab escreveu: > Hi John, > > Em Wed, 19 Aug 2020 20:28:44 -0700 > John Stultz escreveu: > > > > That said even with the patches I've got on top of your series, I > > still see a few issues: > > 1)

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-23 Thread Mauro Carvalho Chehab
Hi John, Em Wed, 19 Aug 2020 20:28:44 -0700 John Stultz escreveu: > That said even with the patches I've got on top of your series, I > still see a few issues: > 1) I'm seeing red-blue swap with your driver. I need to dig a bit to > see what the difference is, I know gralloc has a config optio

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Mauro Carvalho Chehab
Another quick question: Em Wed, 19 Aug 2020 19:35:58 +0200 Sam Ravnborg escreveu: > > +#define DSS_REDUCE(x) ((x) > 0 ? ((x) - 1) : (x)) > Use generic macros for this? Do you know a generic macro similar to this? Or do you mean adding it to include/kernel.h? There are the atomic sub one

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 19:35:58 +0200 Sam Ravnborg escreveu: > Also a few high level comments: Hi Sam, Finally finished addressing the things you pointed, except by a few ones: - bridge bindings; - use drm_foo() instead of DRM_foo() when possible. A few answers to some of your com

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Mauro Carvalho Chehab
Hi Sam, Em Wed, 19 Aug 2020 19:35:58 +0200 Sam Ravnborg escreveu: > > + ret = drm_bridge_attach(encoder, bridge, NULL, 0); > The bridge should be attached with the falg that tell the bridge NOT to > create a connector. > > The display driver shall created the connector. > > Please see how

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-20 Thread Mauro Carvalho Chehab
Em Thu, 20 Aug 2020 16:48:08 +0200 Sam Ravnborg escreveu: > Hi Mauro. > > On Thu, Aug 20, 2020 at 04:06:49PM +0200, Mauro Carvalho Chehab wrote: > > Em Wed, 19 Aug 2020 19:35:58 +0200 > > Sam Ravnborg escreveu: > > > > I'm already handling the other

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-20 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 19:35:58 +0200 Sam Ravnborg escreveu: I'm already handling the other comments from your review (I'll send a more complete comment about them after finishing), but I have a doubt what you meant about this: > +static int kirin_drm_bind(struct device *dev) > > +{ > > + struct

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-20 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 14:36:52 -0700 John Stultz escreveu: > On Wed, Aug 19, 2020 at 4:46 AM Mauro Carvalho Chehab > wrote: > > So, IMO, the best is to keep it on staging for a while, until those > > remaining bugs gets solved. > > > > I added this series, together

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-20 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 20:28:44 -0700 John Stultz escreveu: > On Wed, Aug 19, 2020 at 7:01 PM John Stultz wrote: > > > > On Wed, Aug 19, 2020 at 2:36 PM John Stultz wrote: > > > > > > > > On Wed, Aug 19, 2020 at 4:46 AM Mauro Carvalho Chehab > > >

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-20 Thread Mauro Carvalho Chehab
Hi Sam, Em Wed, 19 Aug 2020 22:48:00 +0200 Sam Ravnborg escreveu: > Hi Mauro. > > It seems my review comments failed to reach dri-devel - likely due to > the size of the mail. Probably. It reached here properly. > Link: > https://lore.kernel.org/linux-devicetree/20200819173558.ga3...@ravnborg

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-20 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 12:52:06 -0700 John Stultz escreveu: > On Wed, Aug 19, 2020 at 8:31 AM Laurent Pinchart > wrote: > > On Wed, Aug 19, 2020 at 05:21:20PM +0200, Sam Ravnborg wrote: > > > On Wed, Aug 19, 2020 at 01:45:28PM +0200, Mauro Carvalho Chehab wrote: > >

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-19 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 23:25:51 +0200 Sam Ravnborg escreveu: > Hi John. > > > > So, IMO, the best is to keep it on staging for a while, until those > > > remaining bugs gets solved. > > > > I'm not sure I see all of these as compelling for pushing it in via > > staging. And I suspect in the proc

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-19 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 14:13:05 -0700 John Stultz escreveu: > On Wed, Aug 19, 2020 at 4:46 AM Mauro Carvalho Chehab > wrote: > > Yet, I'm submitting it via staging due to the following reasons: > > > > - It depends on the LDO3 power supply, which is provided by > &

[PATCH 49/49] dt: display: Add binds for the DPE and DSI controller for Kirin 960/970

2020-08-19 Thread Mauro Carvalho Chehab
Add a description of the bindings used by Kirin 960/970 Display Serial Interface (DSI) controller and by its Display Engine (DPE). Signed-off-by: Mauro Carvalho Chehab --- .../display/hisilicon,hi3660-dpe.yaml | 99 + .../display/hisilicon,hi3660-dsi.yaml | 102

[PATCH 47/49] dts: add support for Hikey 970 DRM

2020-08-19 Thread Mauro Carvalho Chehab
Add the needed bits for the DRM driver to work with the Hikey 970 board. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 52 +++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 6 + .../boot/dts/hisilicon/hikey970-drm.dtsi | 130

[PATCH 00/49] DRM driver for Hikey 970

2020-08-19 Thread Mauro Carvalho Chehab
xx/gpu: solve tearing issue of display staging: hikey9xx/gpu: resolve the performance issue by interrupt mechanism Mauro Carvalho Chehab (38): staging: hikey9xx/gpu: get rid of adv7535 fork staging: hikey9xx/gpu: rename the Kirin9xx namespace staging: hikey9xx/gpu: get rid of kirin9xx_f

Re: [PATCH] clk: clk-hi3670: Add CLK_IGNORE_UNUSED flag

2020-08-16 Thread Mauro Carvalho Chehab
Em Sat, 15 Aug 2020 19:33:31 -0700 Stephen Boyd escreveu: > Please send patches To: somebody. Sending them to nobody causes my MUA > pain. Ok. Should I send it to you or to someone else? > > Quoting Mauro Carvalho Chehab (2020-08-14 07:16:20) > > There are several clocks tha

[PATCH] clk: clk-hi3670: Add CLK_IGNORE_UNUSED flag

2020-08-14 Thread Mauro Carvalho Chehab
even there, distros use clk_ignore_unused=true as a boot option. So, instead, let's modify the driver to use CLK_IGNORE_UNUSED flags, removing the need for this boot parameter. Signed-off-by: Mauro Carvalho Chehab --- drivers/clk/hisilicon/clk-hi3670.c | 731 +-

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

2020-06-23 Thread Mauro Carvalho Chehab
ember '__ETHTOOL_DECLARE_LINK_MODE_MASK(advertising' not described in 'phylink_link_state' ./include/linux/phylink.h:54: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising' not described in 'phylink_link_state' Signed-off-b

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

2020-06-23 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 fi

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

2020-06-23 Thread Mauro Carvalho Chehab
l-doc, but we need to add a rule for it to parse such kind of prototype. Signed-off-by: Mauro Carvalho Chehab --- scripts/kernel-doc | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 43b8312363a5..e991d7f961e9 100755 --- a/scripts/kernel-doc

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

2020-06-23 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 --

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

2020-06-23 Thread Mauro Carvalho Chehab
ot;) Signed-off-by: Mauro Carvalho Chehab --- include/linux/netdevice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 39e28e11863c..027df84f0f59 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @

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

2020-06-15 Thread Mauro Carvalho Chehab
Hi Mark, Em Mon, 15 Jun 2020 12:19:27 +0100 Mark Brown escreveu: > On Mon, Jun 15, 2020 at 08:46:52AM +0200, Mauro Carvalho Chehab wrote: > > There are some new broken doc links due to yaml renames > > at DT. Developers should really run: > > I also previou

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

2020-06-14 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 fi

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

2020-06-14 Thread Mauro Carvalho Chehab
ember '__ETHTOOL_DECLARE_LINK_MODE_MASK(advertising' not described in 'phylink_link_state' ./include/linux/phylink.h:54: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising' not described in 'phylink_link_state' Signed-off-b

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

2020-06-14 Thread Mauro Carvalho Chehab
ot;) Signed-off-by: Mauro Carvalho Chehab --- include/linux/netdevice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 6fc613ed8eae..f3ca52958a17 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @

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

2020-06-14 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 --

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

2020-06-14 Thread Mauro Carvalho Chehab
l-doc, but we need to add a rule for it to parse such kind of prototype. Signed-off-by: Mauro Carvalho Chehab --- scripts/kernel-doc | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 43b8312363a5..e991d7f961e9 100755 --- a/scripts/kernel-doc

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

2020-06-14 Thread Mauro Carvalho Chehab
--fix Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/display/bridge/sii902x.txt | 2 +- .../devicetree/bindings/display/rockchip/rockchip-drm.yaml| 2 +- Documentation/devicetree/bindings/net/mediatek-bluetooth.txt | 2 +- Documentation/devicetree/bindings/sound

[PATCH] docs: dt: fix broken links due to txt->yaml renames

2020-05-04 Thread Mauro Carvalho Chehab
--fix Signed-off-by: Mauro Carvalho Chehab --- PS.: This patch is against today's linux-next. .../devicetree/bindings/display/bridge/sii902x.txt | 2 +- .../devicetree/bindings/display/rockchip/rockchip-drm.yaml | 2 +- .../devicetree/bindings/net/mediatek-bluetooth.txt

Re: [PATCH 07/14] docs: add IRQ documentation at the core-api book

2020-05-02 Thread Mauro Carvalho Chehab
Em Sat, 2 May 2020 10:41:33 +0300 Mike Rapoport escreveu: > Hello Mauro, > > On Fri, May 01, 2020 at 05:37:51PM +0200, Mauro Carvalho Chehab wrote: > > There are 4 IRQ documentation files under Documentation/*.txt. > > > > Move them into a new directory (core-api/i

[PATCH 07/14] docs: add IRQ documentation at the core-api book

2020-05-01 Thread Mauro Carvalho Chehab
There are 4 IRQ documentation files under Documentation/*.txt. Move them into a new directory (core-api/irq) and add a new index file for it. While here, use a title markup for the Debugging section of the irq-domain.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide

[PATCH 22/37] docs: networking: device drivers: convert freescale/dpaa.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - adjust titles and chapters, adding proper markups; - mark code blocks and literals as such; - use :field: markup; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- .../freescale/{dpaa.txt => dpaa.rst} | 139 ++ .../network

[PATCH 19/37] docs: networking: device drivers: convert dec/de4x5.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - add a document title; - mark code blocks and literals as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- .../dec/{de4x5.txt => de4x5.rst} |

[PATCH 05/37] docs: networking: convert x25-iface.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
Not much to be done here: - add SPDX header; - adjust title markup; - remove a tail whitespace; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/index.rst | 1 + .../networking/{x25-iface.txt => x25-iface.rst}|

[PATCH 10/37] docs: networking: convert xfrm_sysctl.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
Not much to be done here: - add SPDX header; - add a document title; - add a chapter's markup; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/index.rst | 1 + .../networking/{xfrm_sysctl.txt => xfrm_sy

[PATCH 23/37] docs: networking: device drivers: convert freescale/gianfar.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - adjust titles and chapters, adding proper markups; - use :field: markup; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- .../freescale/{gianfar.txt => gianfar.rst}| 21 +-- .../networking/device_drivers/index.rst | 1 +

[PATCH 01/37] docs: networking: convert tuntap.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - use copyright symbol; - adjust titles and chapters, adding proper markups; - mark code blocks and literals as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation

[PATCH 14/37] docs: networking: device drivers: convert amazon/ena.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - adjust titles and chapters, adding proper markups; - mark code blocks and literals as such; - mark tables as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- .../amazon/{ena.txt

[PATCH 18/37] docs: networking: device drivers: convert davicom/dm9000.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - add a document title; - mark lists as such; - mark tables as such; - mark code blocks and literals as such; - use the right horizontal tag markup; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho

[PATCH 21/37] docs: networking: device drivers: convert dlink/dl2k.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - mark code blocks and literals as such; - mark lists as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- .../dlink/{dl2k.txt => dl2k.rst} |

[PATCH 00/37]net: manually convert files to ReST format - part 3 (final)

2020-05-01 Thread Mauro Carvalho Chehab
utput documents, on html format is at: https://www.infradead.org/~mchehab/kernel_docs/networking/ Mauro Carvalho Chehab (37): docs: networking: convert tuntap.txt to ReST docs: networking: convert udplite.txt to ReST docs: networking: convert vrf.txt to ReST docs: networking: convert vxla

[PATCH 08/37] docs: networking: convert xfrm_proc.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - adjust title markup; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/index.rst| 1 + .../{xfrm_proc.txt => xfrm_proc.rst} |

[PATCH 02/37] docs: networking: convert udplite.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - adjust titles and chapters, adding proper markups; - mark lists as such; - mark tables as such; - mark code blocks and literals as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab

[PATCH 04/37] docs: networking: convert vxlan.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - adjust title markup; - mark code blocks and literals as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/index.rst| 1 + .../networking

[PATCH 11/37] docs: networking: convert z8530drv.txt to ReST

2020-05-01 Thread Mauro Carvalho Chehab
- add SPDX header; - use copyright symbol; - adjust titles and chapters, adding proper markups; - mark tables as such; - mark code blocks and literals as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab

  1   2   >