[PATCH 3/6] drm/i915/gt: Skip TLB invalidations once wedged

2022-06-15 Thread Mauro Carvalho Chehab
asing backing store") Signed-off-by: Chris Wilson Cc: Fei Yang Cc: Andi Shyti Cc: sta...@vger.kernel.org Acked-by: Thomas Hellström Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 0/6] at: https://lore.kernel.org/all/cover.1655306128.git.mche...@kernel.org/ drivers/gpu/drm/i915/gt/inte

[PATCH 0/6] Fix TLB invalidate issues with Broadwell

2022-06-15 Thread Mauro Carvalho Chehab
i915 selftest hangcheck is causing the i915 driver timeouts, as reported by Intel CI bot: http://gfx-ci.fi.intel.com/cibuglog-ng/issuefilterassoc/24297?query_key=42a999f48fa6ecce068bc8126c069be7c31153b4 When such test runs, the only output is: [ 68.811639] i915: Performing

[PATCH 4/6] drm/i915/gt: Only invalidate TLBs exposed to user manipulation

2022-06-15 Thread Mauro Carvalho Chehab
Flush TLBs before releasing backing store") Signed-off-by: Chris Wilson Cc: Fei Yang Cc: Andi Shyti Cc: sta...@vger.kernel.org Acked-by: Thomas Hellström Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 0/6] at: https://lore.kernel.org/all/cover.1655306128.git.mche...@kernel.org/ d

[PATCH 6/6] drm/i915/gt: Serialize TLB invalidates with GT resets

2022-06-15 Thread Mauro Carvalho Chehab
ise the mmio access, thereby serialising with the GDRST. Tested on a NUC5i7RYB, BIOS RYBDWi35.86A.0380.2019.0517.1530 with i915 selftest/hangcheck. Fixes: 7938d61591d3 ("drm/i915: Flush TLBs before releasing backing store") Reported-by: Mauro Carvalho Chehab Tested-by: Mauro Carvalho Che

[PATCH 5/6] drm/i915/gt: Serialize GRDOM access between multiple engine resets

2022-06-15 Thread Mauro Carvalho Chehab
m Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 0/6] at: https://lore.kernel.org/all/cover.1655306128.git.mche...@kernel.org/ drivers/gpu/drm/i915/gt/intel_reset.c | 37 --- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/int

Re: [PATCH] drm/i915: don't flush TLB on GEN8

2022-05-27 Thread Mauro Carvalho Chehab
On Fri, 27 May 2022 11:55:42 +0100 Tvrtko Ursulin wrote: > On 27/05/2022 10:09, Mauro Carvalho Chehab wrote: > > i915 selftest hangcheck is causing the i915 driver timeouts, as > > reported by Intel CI: > > > > > > http://gfx-ci.fi.intel.com/cibuglog-ng

[PATCH] drm/i915: don't flush TLB on GEN8

2022-05-27 Thread Mauro Carvalho Chehab
Airlie Cc: Jon Bloomfield Cc: Joonas Lahtinen Cc: Jani Nikula Cc: sta...@vger.kernel.org # Kernel 5.17 and upper Fixes: 494c2c9b630e ("drm/i915: Flush TLBs before releasing backing store") Signed-off-by: Mauro Carvalho Chehab --- Patch resent, as the first version was using an

[PATCH] drm/i915: don't flush TLB on GEN8

2022-05-27 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab i915 selftest hangcheck is causing the i915 driver timeouts, as reported by Intel CI: http://gfx-ci.fi.intel.com/cibuglog-ng/issuefilterassoc/24297?query_key=42a999f48fa6ecce068bc8126c069be7c31153b4 When such test runs, the only output

Re: [Intel-gfx] [PATCH v5 1/2] module: update dependencies at try_module_get()

2022-05-09 Thread Mauro Carvalho Chehab
Em Thu, 5 May 2022 23:35:29 +0200 Andi Shyti escreveu: > Hi Mauro, > > [...] > > > +static int ref_module_dependency(struct module *mod, struct module *this) > > +{ > > + int ret; > > + > > + if (!this || !this->name) > > + return -EINVAL; > > + > > + if (mod == this) > > +

[PATCH v6 3/4] module: set holders when symbol_get() is used

2022-05-09 Thread Mauro Carvalho Chehab
the symbol before being able to unload/unbind the module that contains the needed symbol. Add a logic to document it via /proc/modules and via lsmod. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v6 0/4] at: https://lore.kernel.org/all/cover.1652113087.git.mche...@kernel.org/ drivers/mtd

[PATCH v6 4/4] ALSA: hda - identify when audio is provided by a video driver

2022-05-09 Thread Mauro Carvalho Chehab
driver needing such binding is shown at /proc/modules, in order to allow userspace to know about such binding. Reviewed-by: Takashi Iwai Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v6 0/4] at: https://lore.kernel.org/all/cover.1652113087.git.mche...@kernel.org/ sound/hda/hdac_component.c

[PATCH v6 2/4] module: update dependencies at try_module_get()

2022-05-09 Thread Mauro Carvalho Chehab
-by: Greg Kroah-Hartman Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v6 0/4] at: https://lore.kernel.org/all/cover.1652113087.git.mche...@kernel.org/ include/linux/module.h | 8 +++-- kernel/module/main.c | 73 ++ 2 files changed, 64 insertions

[PATCH v6 0/4] Let userspace know when snd-hda-intel needs i915

2022-05-09 Thread Mauro Carvalho Chehab
w function prototype. v2: - the dependencies are now handled directly at try_module_get(). Mauro Carvalho Chehab (4): module: drop prototype for non-existing __symbol_get_gpl() module: update dependencies at try_module_get() module: set holders when symbol_get() is used ALSA: hda - identify

[PATCH v6 1/4] module: drop prototype for non-existing __symbol_get_gpl()

2022-05-09 Thread Mauro Carvalho Chehab
There's no such function, and __symbol_get() is already declared as GPL. So, this is likely a left-over. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v6 0/4] at: https://lore.kernel.org/all/cover.1652113087.git.mche...@kernel.org/ include/linux/module.h | 1 - 1 file changed, 1

[PATCH v5 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
-by: Greg Kroah-Hartman Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v5 0/2] at: https://lore.kernel.org/all/cover.1651348913.git.mche...@kernel.org/ include/linux/module.h | 8 -- kernel/module/main.c | 65 +- 2 files changed, 56 insertions

[PATCH v5 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
(). Mauro Carvalho Chehab (2): module: update dependencies at try_module_get() ALSA: hda - identify when audio is provided by a video driver include/linux/module.h | 8 +++-- kernel/module/main.c | 65 ++ sound/hda/hdac_component.c | 2 +- 3 fil

[PATCH v5 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
driver needing such binding is shown at /proc/modules, in order to allow userspace to know about such binding. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v5 0/2] at: https://lore.kernel.org/all/cover.1651348913.git.mche...@kernel.org/ sound/hda/hdac_component.c | 2 +- 1 file changed, 1

[PATCH v4 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
module_get(). Mauro Carvalho Chehab (2): module: update dependencies at try_module_get() ALSA: hda - identify when audio is provided by a video driver include/linux/module.h | 8 +--- kernel/module/main.c | 33 +++-- sound/hda/hdac_component.c | 2 +- 3 fil

[PATCH v4 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
driver needing such binding is shown at /proc/modules, in order to allow userspace to know about such binding. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v4 0/2] at: https://lore.kernel.org/all/cover.1651338466.git.mche...@kernel.org/ sound/hda/hdac_component.c | 2 +- 1 file changed, 1

[PATCH v4 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
-by: Greg Kroah-Hartman Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v4 0/2] at: https://lore.kernel.org/all/cover.1651338466.git.mche...@kernel.org/ include/linux/module.h | 8 +--- kernel/module/main.c | 33 +++-- 2 files changed, 36 insertions(+), 5

[PATCH v3 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
driver needing such binding is shown at /proc/modules, in order to allow userspace to know about such binding. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v3 0/2] at: https://lore.kernel.org/all/cover.1651326000.git.mche...@kernel.org/ sound/hda/hdac_component.c | 2 +- 1 file changed, 1

[PATCH v3 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
-by: Mauro Carvalho Chehab --- See [PATCH v3 0/2] at: https://lore.kernel.org/all/cover.1651326000.git.mche...@kernel.org/ include/linux/module.h | 4 +++- kernel/module/main.c | 33 +++-- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/include

[PATCH v3 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
t-20220428. --- v3: minor fixes: - fixed a checkpatch warning; - use a single line for the new function prototype. v2: - the dependencies are now handled directly at try_module_get(). Mauro Carvalho Chehab (2): module: update dependencies at try_module_get() ALSA: hda - identify

Re: [PATCH v2 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
Em Sat, 30 Apr 2022 14:04:59 +0200 Greg KH escreveu: > On Sat, Apr 30, 2022 at 11:30:58AM +0100, Mauro Carvalho Chehab wrote: > Did you run checkpatch on this? Please do :) > > > + > > + if (mod == this) > > + return 0; > > How can this happ

[PATCH v2 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-30 Thread Mauro Carvalho Chehab
driver needing such binding is shown at /proc/modules, in order to allow userspace to know about such binding. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v2 0/2] at: https://lore.kernel.org/all/cover.1651314499.git.mche...@kernel.org/ sound/hda/hdac_component.c | 2 +- 1 file changed, 1

[PATCH v2 1/2] module: update dependencies at try_module_get()

2022-04-30 Thread Mauro Carvalho Chehab
-by: Mauro Carvalho Chehab --- See [PATCH v2 0/2] at: https://lore.kernel.org/all/cover.1651314499.git.mche...@kernel.org/ include/linux/module.h | 4 +++- kernel/module/main.c | 35 +-- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/include

[PATCH v2 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-30 Thread Mauro Carvalho Chehab
t-20220428. --- v2: the dependencies are now handled directly at try_module_get(). Mauro Carvalho Chehab (2): module: update dependencies at try_module_get() ALSA: hda - identify when audio is provided by a video driver include/linux/module.h | 4 +++- kernel/module/main.c

Re: [PATCH 1/2] module: add a function to add module references

2022-04-29 Thread Mauro Carvalho Chehab
Em Fri, 29 Apr 2022 12:10:07 +0200 Greg KH escreveu: > On Fri, Apr 29, 2022 at 10:15:03AM +0100, Mauro Carvalho Chehab wrote: > > HI Greg, > > > > Em Fri, 29 Apr 2022 10:30:33 +0200 > > Greg KH escreveu: > > > > > On Fri, Apr 29, 2022 at 09:

Re: [PATCH 1/2] module: add a function to add module references

2022-04-29 Thread Mauro Carvalho Chehab
HI Greg, Em Fri, 29 Apr 2022 10:30:33 +0200 Greg KH escreveu: > On Fri, Apr 29, 2022 at 09:07:57AM +0100, Mauro Carvalho Chehab wrote: > > Hi Daniel, > > > > Em Fri, 29 Apr 2022 09:54:10 +0200 > > Daniel Vetter escreveu: > > > > > On Fri, Apr 29

Re: [PATCH 1/2] module: add a function to add module references

2022-04-29 Thread Mauro Carvalho Chehab
Hi Daniel, Em Fri, 29 Apr 2022 09:54:10 +0200 Daniel Vetter escreveu: > On Fri, Apr 29, 2022 at 07:31:15AM +0100, Mauro Carvalho Chehab wrote: > > Sometimes, device drivers are bound using indirect references, > > which is not visible when looking at /proc/modules or lsmo

[PATCH 2/2] ALSA: hda - identify when audio is provided by a video driver

2022-04-29 Thread Mauro Carvalho Chehab
and from lsmod, making harder to identify the need to unbind the audio driver before being able to unbind the i915 driver. Add a reference for it at the module dependency, in order to allow userspace to identify it, and print a message on such cases. Signed-off-by: Mauro Carvalho Chehab --- See

[PATCH 1/2] module: add a function to add module references

2022-04-29 Thread Mauro Carvalho Chehab
Sometimes, device drivers are bound using indirect references, which is not visible when looking at /proc/modules or lsmod. Add a function to allow setting up module references for such cases. Reviewed-by: Dan Williams Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 0/2] at: https

[PATCH 0/2] Let userspace know when snd-hda-intel needs i915

2022-04-29 Thread Mauro Carvalho Chehab
t-20220428. Luis/Takashi/Daniel/David, If OK for you, I would prefer to have such patches applied via the drm-tip tree once reviewed, in order to make easier to use them by some patches I'm preparing to improve the CI tests that use i915 unbind logic. Mauro Carvalho Chehab (2): module: add

Re: [PATCH v2 02/18] iosys-map: Add a few more helpers

2022-02-08 Thread Mauro Carvalho Chehab
n > - Add offset to both iosys_map_rd_field() and iosys_map_wr_field() to > allow the struct itself to be at an offset from the mapping > - Add documentation to iosys_map_rd_field() with example and expected > memory layout > > Cc: Sumit Semwal > Cc: Christian König

Re: [PATCH v10 02/13] iommu/mediatek-v1: Free the existed fwspec if the master dev already has

2022-01-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Jan 2022 13:40:55 +0100 Mauro Carvalho Chehab escreveu: > Hi Matthias/Yong, > > Are you ok if this patch gets merged via the media tree together with the > remaining series, or do you prefer to apply it via SoC tree instead? Same questions for other patches touching f

Re: [PATCH v10 02/13] iommu/mediatek-v1: Free the existed fwspec if the master dev already has

2022-01-28 Thread Mauro Carvalho Chehab
Hi Matthias/Yong, Are you ok if this patch gets merged via the media tree together with the remaining series, or do you prefer to apply it via SoC tree instead? Regards, Mauro Em Mon, 17 Jan 2022 15:04:59 +0800 Yong Wu escreveu: > When the iommu master device enters of_iommu_xlate, the ops

Re: [RFC 01/32] Kconfig: introduce and depend on LEGACY_PCI

2021-12-29 Thread Mauro Carvalho Chehab
Em Wed, 29 Dec 2021 12:45:38 +0100 Niklas Schnelle escreveu: > On Tue, 2021-12-28 at 18:12 +0100, Mauro Carvalho Chehab wrote: > > Em Tue, 28 Dec 2021 16:06:44 +0100 > > Niklas Schnelle escreveu: > > > > (on a side note: the c/c list of this patch is too long. I w

Re: [RFC 01/32] Kconfig: introduce and depend on LEGACY_PCI

2021-12-28 Thread Mauro Carvalho Chehab
Em Tue, 28 Dec 2021 16:06:44 +0100 Niklas Schnelle escreveu: (on a side note: the c/c list of this patch is too long. I would try to avoid using a too long list, as otherwise this e-mail may end being rejected by mail servers) > On Tue, 2021-12-28 at 13:54 +0100, Mauro Carvalho Chehab wr

Re: [RFC 01/32] Kconfig: introduce and depend on LEGACY_PCI

2021-12-28 Thread Mauro Carvalho Chehab
Em Tue, 28 Dec 2021 11:58:55 +0100 Niklas Schnelle escreveu: > On Tue, 2021-12-28 at 10:15 +0100, Mauro Carvalho Chehab wrote: > > Em Tue, 28 Dec 2021 09:21:23 +0100 > > Greg Kroah-Hartman escreveu: > > > > > On Mon, Dec 27, 2021 at 05:42:46P

Re: [RFC 01/32] Kconfig: introduce and depend on LEGACY_PCI

2021-12-28 Thread Mauro Carvalho Chehab
Em Tue, 28 Dec 2021 09:21:23 +0100 Greg Kroah-Hartman escreveu: > On Mon, Dec 27, 2021 at 05:42:46PM +0100, Niklas Schnelle wrote: > > --- a/drivers/pci/Kconfig > > +++ b/drivers/pci/Kconfig > > @@ -23,6 +23,17 @@ menuconfig PCI > > > > if PCI > > > > +config LEGACY_PCI > > + bool "Enable

Re: [RFC 01/32] Kconfig: introduce and depend on LEGACY_PCI

2021-12-27 Thread Mauro Carvalho Chehab
Em Mon, 27 Dec 2021 17:42:46 +0100 Niklas Schnelle escreveu: > Introduce a new LEGACY_PCI Kconfig option which gates support for legacy > PCI devices including those attached to a PCI-to-PCI Express bridge and > PCI Express devices using legacy I/O spaces. Note that this is different > from non

[PATCH v2 03/23] dt-bindings: arm: mediatek: mmsys: update mediatek, mmsys.yaml reference

2021-09-16 Thread Mauro Carvalho Chehab
a3c40d1f97 ("dt-bindings: arm: mediatek: mmsys: convert to YAML format") Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/displ

[PATCH v2 00/23] Fix some issues at documentation

2021-09-16 Thread Mauro Carvalho Chehab
) received after v1. v1: https://lore.kernel.org/all/cover.1626947923.git.mchehab+hua...@kernel.org/ Mauro Carvalho Chehab (23): visorbus: fix a copyright symbol that was bad encoded dt-bindings: net: dsa: sja1105: update nxp,sja1105.yaml reference dt-bindings: arm: mediatek: mmsys: updat

[PATCH 03/24] dt-bindings: arm: mediatek: mmsys: update mediatek, mmsys.yaml reference

2021-09-16 Thread Mauro Carvalho Chehab
a3c40d1f97 ("dt-bindings: arm: mediatek: mmsys: convert to YAML format") Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/displ

[PATCH 00/24] Fix some issues at documentation

2021-09-16 Thread Mauro Carvalho Chehab
Hi John, The first patch in this series fix a bad character used instead of a "(c)" UTF-8 symbol. The remaining ones fix several broken references to files under Documentation/, several due to DT schema conversions from .txt to .yaml. Mauro Carvalho Chehab (24): visorbus: fix a

Re: [PATCH] dt-bindings: Remove "status" from schema examples

2021-07-20 Thread Mauro Carvalho Chehab
; Cc: Sam Ravnborg > Cc: Rui Miguel Silva > Cc: Laurent Pinchart > Cc: Mauro Carvalho Chehab > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Mark Brown > Cc: Robert Marko > Cc: Philipp Zabel > Cc: Alessandro Zummo > Cc: Alexandre Belloni > C

[PATCH 00/10] Documentation build warning fixes

2021-05-19 Thread Mauro Carvalho Chehab
having everything merged, the ABI warnings will be solved. Mauro Carvalho Chehab (10): docs: update sysfs-platform_profile.rst reference docs: vcpu-requests.rst: fix reference for atomic ops docs: translations/zh_CN: fix a typo at 8.Conclusion.rst docs: sched-bwc.rst: fix a typo on a doc name

[PATCH 08/10] docs: ABI: sysfs-class-backlight: unify ambient light zone nodes

2021-05-19 Thread Mauro Carvalho Chehab
common. So, unify them at: Documentation/ABI/testing/sysfs-class-backlight and use as the contact point, the e-mail reported by get_maintainers.pl for the subsystem. Signed-off-by: Mauro Carvalho Chehab --- .../ABI/testing/sysfs-class-backlight | 100 ++ .../ABI

[PATCH 1/3] gpu: drm: replace occurrences of invalid character

2021-05-19 Thread Mauro Carvalho Chehab
There are some places at drm that ended receiving a REPLACEMENT CHARACTER U+fffd ('�'), probably because of some bad charset conversion. Fix them by using what it seems to be the proper character. Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/amd/include/atombios.h | 10

Re: [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-14 Thread Mauro Carvalho Chehab
Em Fri, 14 May 2021 12:08:36 +0100 Edward Cree escreveu: > For anyone who doesn't know about it: X has this wonderful thing called > the Compose key[1]. For instance, type ⎄--- to get —, or ⎄<" for “. > Much more mnemonic than Unicode codepoints; and you can extend it with > user-defined

Re: [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-14 Thread Mauro Carvalho Chehab
Em Wed, 12 May 2021 18:07:04 +0100 David Woodhouse escreveu: > On Wed, 2021-05-12 at 14:50 +0200, Mauro Carvalho Chehab wrote: > > Such conversion tools - plus some text editor like LibreOffice or similar > > - have > > a set of rules that turns some typed ASCII

Re: [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-12 Thread Mauro Carvalho Chehab
Em Wed, 12 May 2021 10:14:44 -0400 "Theodore Ts'o" escreveu: > On Wed, May 12, 2021 at 02:50:04PM +0200, Mauro Carvalho Chehab wrote: > > v2: > > - removed EM/EN DASH conversion from this patchset; > > Are you still thinking about doing the

[PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-12 Thread Mauro Carvalho Chehab
. Mauro Carvalho Chehab (40): docs: hwmon: Use ASCII subset instead of UTF-8 alternate symbols docs: admin-guide: Use ASCII subset instead of UTF-8 alternate symbols docs: admin-guide: media: ipu3.rst: Use ASCII subset instead of UTF-8 alternate symbols docs: admin-guide: perf: imx

[PATCH v2 32/40] docs: gpu: Use ASCII subset instead of UTF-8 alternate symbols

2021-05-12 Thread Mauro Carvalho Chehab
tps://docutils.sourceforge.io/docs/user/smartquotes.html So, replace the occurences of the following UTF-8 characters: - U+2019 ('’'): RIGHT SINGLE QUOTATION MARK Acked-by: Jani Nikula Acked-by: Liviu Dudau Signed-off-by: Mauro Carvalho Chehab --- Documentation/gpu/i915.rst

Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-11 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 15:22:02 -0400 "Theodore Ts'o" escreveu: > On Mon, May 10, 2021 at 02:49:44PM +0100, David Woodhouse wrote: > > On Mon, 2021-05-10 at 13:55 +0200, Mauro Carvalho Chehab wrote: > > > This patch series is doing conversion only when using ASCII

Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-11 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 14:49:44 +0100 David Woodhouse escreveu: > On Mon, 2021-05-10 at 13:55 +0200, Mauro Carvalho Chehab wrote: > > This patch series is doing conversion only when using ASCII makes > > more sense than using UTF-8. > > > > See, a number of converted

Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-11 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 15:33:47 +0100 Edward Cree escreveu: > On 10/05/2021 14:59, Matthew Wilcox wrote: > > Most of these > > UTF-8 characters come from latex conversions and really aren't > > necessary (and are being used incorrectly). > I fully agree with fixing those. > The cover-letter,

Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 14:16:16 +0100 Edward Cree escreveu: > On 10/05/2021 12:55, Mauro Carvalho Chehab wrote: > > The main point on this series is to replace just the occurrences > > where ASCII represents the symbol equally well > > > - U+2014 ('—'): EM DASH &

Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 13:19:50 +0200 Mauro Carvalho Chehab escreveu: > Em Mon, 10 May 2021 12:52:44 +0200 > Thorsten Leemhuis escreveu: > > > On 10.05.21 12:26, Mauro Carvalho Chehab wrote: > > > > > > As Linux developers are all around the g

Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Hi David, Em Mon, 10 May 2021 11:54:02 +0100 David Woodhouse escreveu: > On Mon, 2021-05-10 at 12:26 +0200, Mauro Carvalho Chehab wrote: > > There are several UTF-8 characters at the Kernel's documentation. > > > > Several of them were due to the process of converting f

Re: [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 12:52:44 +0200 Thorsten Leemhuis escreveu: > On 10.05.21 12:26, Mauro Carvalho Chehab wrote: > > > > As Linux developers are all around the globe, and not everybody has UTF-8 > > as their default charset, better to use UTF-8 only on cases where it is

[PATCH 44/53] docs: gpu: avoid using UTF-8 chars

2021-05-10 Thread Mauro Carvalho Chehab
While UTF-8 characters can be used at the Linux documentation, the best is to use them only when ASCII doesn't offer a good replacement. So, replace the occurences of the following UTF-8 characters: - U+2019 ('’'): RIGHT SINGLE QUOTATION MARK Signed-off-by: Mauro Carvalho Chehab

[PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
ocumentation/scheduler/sched-deadline.rst There, it is used on a math expressions. So, better to keep. - Documentation/devicetree/bindings/media/video-interface-devices.yaml There, it part of an ASCII artwork. - translations/zh_CN I prefer not touching it, as it might have some special

[PATCH v2 08/19] dt-bindings: iommu: mediatek: update mediatek, iommu.yaml references

2021-04-07 Thread Mauro Carvalho Chehab
uot;dt-bindings: iommu: mediatek: Convert IOMMU to DT schema") Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- .../devicetree/bindings/media/mediatek-jpeg-decoder.txt | 2 +- .../devicetree/bindings/media/mediatek-jpeg-enc

[PATCH v2 00/19] Fix broken documentation file references

2021-04-07 Thread Mauro Carvalho Chehab
them and re-submit any missing ones after -rc1. Mauro Carvalho Chehab (19): MAINTAINERS: update ste,mcde.yaml reference MAINTAINERS: update brcm,bcm-v3d.yaml reference MAINTAINERS: update fsl,dpaa2-console.yaml reference MAINTAINERS: update mtk-sd.yaml reference MAINTAINERS: update snps

[PATCH 00/32] Fix broken documentation file references

2021-04-01 Thread Mauro Carvalho Chehab
Each patch on this series can be applied independently. They fix broken file references. Most of them are due to DT binding renames, but there are also other unrelated changes. This series is based on next-20210401. Mauro Carvalho Chehab (32): MAINTAINERS: update adi,ad5758.yaml reference

[PATCH 26/32] dt-bindings: iommu: mediatek: update mediatek, iommu.yaml references

2021-04-01 Thread Mauro Carvalho Chehab
uot;dt-bindings: iommu: mediatek: Convert IOMMU to DT schema") Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- .../devicetree/bindings/media/mediatek-jpeg-decoder.txt | 2 +- .../devicetree/bindings/media/mediatek-jpeg-enc

Re: [PATCH v7 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-15 Thread Mauro Carvalho Chehab
viewed-by: Petr Mladek > > I am curious whether I could take this via printk tree or if Mauro > would prefer to take this via his tree. IMO, the best would be if the entire series gets merged via a single tree. Feel free to merge via the printk one. Acked-by: Mauro Carvalho Chehab >

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

2021-01-14 Thread Mauro Carvalho Chehab
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 markup

[PATCH v6 15/16] drm: drm_crc: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup: ../include/drm/drm_crtc.h:1257: warning: expecting prototype for drm_crtc_alloc_with_planes(). Prototype was for drmm_crtc_alloc_with_planes() instead Signed-off-by: Mauro Carvalho Chehab --- include

[PATCH 00/10] Fix documentation warnings at linux-next

2021-01-13 Thread Mauro Carvalho Chehab
warnings were introduced. Regards, Mauro Mauro Carvalho Chehab (10): doc/zh_CN: fix Sphinx errors ABI: sysfs-fs-f2fs: fix a table identation KVM: x86: hyper-v: add a blank line to remove building warnings ABI: sysfs-firmware-sgi_uv docs: fpga: dfl.rst: Fix a couple building issues drm: amd

[PATCH 06/10] drm: amd: amdgpu_dm.h: fix a wrong kernel-doc markup

2021-01-13 Thread Mauro Carvalho Chehab
: warning: Function parameter or member 'active_vblank_irq_count' not described in 'amdgpu_display_manager' Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display

[PATCH 22/24] dt-bindings: memory: mediatek: update mediatek, smi-larb.yaml references

2021-01-13 Thread Mauro Carvalho Chehab
ccordingly. Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- .../devicetree/bindings/media/mediatek-jpeg-decoder.txt | 2 +- .../devicetree/bindings/media/mediatek-jpeg-encoder.txt | 2 +- Documentation/devicetree/bind

[PATCH 21/24] dt-bindings: display: mediatek: update mediatek, dpi.yaml reference

2021-01-13 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt b/Documentation/devicetree/bindings/display/mediate

[PATCH 20/24] ASoC: audio-graph-card: update audio-graph-card.yaml reference

2021-01-13 Thread Mauro Carvalho Chehab
Changeset 97198614f6c3 ("ASoC: audio-graph-card: switch to yaml base Documentation") renamed: Documentation/devicetree/bindings/sound/audio-graph-card.txt to: Documentation/devicetree/bindings/sound/audio-graph-card.yaml. Update its cross-reference accordingly. Signed-off-by: Maur

[PATCH 00/24] Fix broken file docs cross-references

2021-01-13 Thread Mauro Carvalho Chehab
at the same tree that received the patch renaming the filename. Regards, Mauro Mauro Carvalho Chehab (24): MAINTAINERS: update adi,ad5758.yaml reference MAINTAINERS: update fsl,dpaa2-console.yaml reference MAINTAINERS: update st,hts221.yaml reference MAINTAINERS: update dpot-dac.yaml reference

[PATCH 2/2] drm: amdgpu: fix a kernel-doc markup

2020-12-02 Thread Mauro Carvalho Chehab
The function name at kernel-doc markup doesn't match the name of the function: drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:1534: warning: expecting prototype for amdgpu_debugfs_print_bo_info(). Prototype was for amdgpu_bo_print_info() instead Fix it. Signed-off-by: Mauro Carvalho

[PATCH 0/2] Fix some kernel-doc markups with wrong identifiers

2020-12-02 Thread Mauro Carvalho Chehab
address them. Mauro Carvalho Chehab (2): asm: sgx.h: fix a typo on a kernel-doc markup drm: amdgpu: fix a kernel-doc markup arch/x86/include/uapi/asm/sgx.h| 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.28.0

Re: [PATCH v4 10/27] video: fix some kernel-doc markups

2020-11-16 Thread Mauro Carvalho Chehab
Em Mon, 16 Nov 2020 18:24:04 +0100 Daniel Vetter escreveu: > On Mon, Nov 16, 2020 at 05:38:04PM +0100, Mauro Carvalho Chehab wrote: > > Em Mon, 16 Nov 2020 16:36:06 +0100 > > Daniel Vetter escreveu: > > > > > On Mon, Nov 16, 2020 at 11:18:06AM +010

Re: [PATCH v4 10/27] video: fix some kernel-doc markups

2020-11-16 Thread Mauro Carvalho Chehab
Em Mon, 16 Nov 2020 16:36:06 +0100 Daniel Vetter escreveu: > On Mon, Nov 16, 2020 at 11:18:06AM +0100, Mauro Carvalho Chehab wrote: > > Some identifiers have different names between their prototypes > > and the kernel-doc markup. > > > > Signed-off-by: Mauro Ca

[PATCH v4 10/27] video: 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 --- drivers/video/fbdev/core/fbcmap.c | 2 +- drivers/video/hdmi.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video

[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 05/27] drm: 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. Others need to be fixed, as kernel-doc markups should use this format: identifier - description Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/drm_atomic_state_helper.c | 2

[PATCH v2 19/39] docs: ABI: stable: make files ReST compatible

2020-10-30 Thread Mauro Carvalho Chehab
Several entries at the stable ABI files won't parse if we pass them directly to the ReST output. Adjust them, in order to allow adding their contents as-is at the stable ABI book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/stable/firewire-cdev| 4 + Documentation/ABI

[PATCH v2 37/39] docs: ABI: sysfs-class-backlight: unify ABI documentation

2020-10-30 Thread Mauro Carvalho Chehab
.pdf in order to properly document the differences between those two drivers. Signed-off-by: Mauro Carvalho Chehab --- .../ABI/testing/sysfs-class-backlight | 60 +++ .../ABI/testing/sysfs-class-backlight-adp8860 | 21 +-- .../sysfs-class-backlight-driver-adp8870

[PATCH 19/33] docs: ABI: stable: make files ReST compatible

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab Several entries at the stable ABI files won't parse if we pass them directly to the ReST output. Adjust them, in order to allow adding their contents as-is at the stable ABI book. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab

[PATCH v3 27/32] drm: kernel-doc: drm_dp_helper.h: fix a typo

2020-10-27 Thread Mauro Carvalho Chehab
Right now, kernel-doc generates a warning: ./include/drm/drm_dp_helper.h:1786: warning: Function parameter or member 'hbr2_reset' not described in 'drm_dp_phy_test_params' This is due to a typo: @hb2_reset -> @hbr2_reset Signed-off-by: Mauro Carvalho Chehab --- include/

[PATCH v3 22/32] drm: amdgpu: kernel-doc: update some adev parameters

2020-10-27 Thread Mauro Carvalho Chehab
meter for it to be the same on all functions using a pointer to struct amdgpu_device. Update the kernel-doc documentation accordingly. Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 28 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c

[PATCH v3 28/32] drm: amdgpu_dm: fix a typo

2020-10-27 Thread Mauro Carvalho Chehab
dm_comressor_info -> dm_compressor_info The kernel-doc markup is right, but the struct itself and their references contain a typo. Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

[PATCH v3 26/32] gpu: docs: amdgpu.rst: get rid of wrong kernel-doc markups

2020-10-27 Thread Mauro Carvalho Chehab
altogether. For amdgpu_ras.c, however, we need to remove the kernel-doc with just internal. This should be re-introduced if this file ever gets new non-DOC markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/gpu/amdgpu.rst | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH v3 11/32] drm/dp: fix kernel-doc warnings at drm_dp_helper.c

2020-10-27 Thread Mauro Carvalho Chehab
' Some function parameters weren't documented. Fixes: 38784f6f8805 ("drm/dp: Add helpers to identify downstream facing port types") Reviewed-by: Lyude Paul Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/drm_dp_helper.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v3 30/32] amdgpu: fix a few kernel-doc markup issues

2020-10-27 Thread Mauro Carvalho Chehab
A kernel-doc markup can't be mixed with a random comment, as it causes parsing problems. While here, change an invalid kernel-doc markup into a common comment. Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 +--- 1 file changed, 5 insertions(+), 3

[PATCH v3 10/32] drm: kernel-doc: document drm_dp_set_subconnector_property() params

2020-10-27 Thread Mauro Carvalho Chehab
a subconnector property") Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/drm_dp_helper.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index 90807a6b415c..b1c71af88579 100644 --- a/drivers/gpu

[PATCH v3 12/32] drm/dp: fix a kernel-doc issue at drm_edid.c

2020-10-27 Thread Mauro Carvalho Chehab
' description in 'drm_display_mode_from_cea_vic' Fixes: 7af655bce275 ("drm/dp: Add drm_dp_downstream_mode()") Reviewed-by: Lyude Paul Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/drm_edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/dr

[PATCH v3 24/32] drm: drm_edid: remove a duplicated kernel-doc declaration

2020-10-27 Thread Mauro Carvalho Chehab
-kms-helpers'. Declaration is 'bool drm_edid_are_equal (const struct edid *edid1, const struct edid *edid2)'. So, get rid of the duplicated kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- include/drm/drm_edid.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include

[PATCH v3 31/32] drm: drm_print.h: fix kernel-doc markups

2020-10-27 Thread Mauro Carvalho Chehab
A kernel-doc markup should start with the identifier on its first line. Signed-off-by: Mauro Carvalho Chehab --- include/drm/drm_print.h | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index 1c9417430d08

[PATCH v3 25/32] drm: kernel-doc: add description for a new function parameter

2020-10-27 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/drm_prime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index d6808f678db5..9f955f2010c2 100644 --- a/drivers/gpu/drm/drm_prime.c +++ b/drivers/gpu/drm/drm_prime.c @@ -794,6 +7

[PATCH v3 02/56] drm: amdgpu_dm: fix a typo

2020-10-23 Thread Mauro Carvalho Chehab
dm_comressor_info -> dm_compressor_info The kernel-doc markup is right, but the struct itself and their references contain a typo. Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

[PATCH v3 12/56] drm: 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. Others need to be fixed, as kernel-doc markups should use this format: identifier - description Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/drm_atomic_state_helper.c | 2

[PATCH v3 04/56] drm: drm_print.h: fix kernel-doc markups

2020-10-23 Thread Mauro Carvalho Chehab
A kernel-doc markup should start with the identifier on its first line. Signed-off-by: Mauro Carvalho Chehab --- include/drm/drm_print.h | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index 1c9417430d08

<    1   2   3   4   5   6   7   8   >