31 Mar, 2020

2 commits

  • Pull media updates from Mauro Carvalho Chehab:

    - New sensor driver: imx219

    - Support for some new pixelformats

    - Support for Sun8i SoC

    - Added more codecs to meson vdec driver

    - Prepare for removing the legacy usbvision driver by moving it to
    staging. This driver has issues and use legacy core APIs. If nobody
    steps up to address those, it is time for its retirement.

    - Several cleanups and improvements on drivers, with the addition of
    new supported boards

    * tag 'media/v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (236 commits)
    media: venus: firmware: Ignore secure call error on first resume
    media: mtk-vpu: load vpu firmware from the new location
    media: i2c: video-i2c: fix build errors due to 'imply hwmon'
    media: MAINTAINERS: add myself to co-maintain Hantro G1/G2 for i.MX8MQ
    media: hantro: add initial i.MX8MQ support
    media: dt-bindings: Document i.MX8MQ VPU bindings
    media: vivid: fix incorrect PA assignment to HDMI outputs
    media: hantro: Add linux-rockchip mailing list to MAINTAINERS
    media: cedrus: h264: Fix 4K decoding on H6
    media: siano: Use scnprintf() for avoiding potential buffer overflow
    media: rc: Use scnprintf() for avoiding potential buffer overflow
    media: allegro: create new struct for channel parameters
    media: allegro: move mail definitions to separate file
    media: allegro: pass buffers through firmware
    media: allegro: verify source and destination buffer in VCU response
    media: allegro: handle dependency of bitrate and bitrate_peak
    media: allegro: read bitrate mode directly from control
    media: allegro: make QP configurable
    media: allegro: make frame rate configurable
    media: allegro: skip filler data if possible
    ...

    Linus Torvalds
     
  • Pull documentation updates from Jonathan Corbet:
    "This has been a busy cycle for documentation work.

    Highlights include:

    - Lots of RST conversion work by Mauro, Daniel ALmeida, and others.
    Maybe someday we'll get to the end of this stuff...maybe...

    - Some organizational work to bring some order to the core-api
    manual.

    - Various new docs and additions to the existing documentation.

    - Typo fixes, warning fixes, ..."

    * tag 'docs-5.7' of git://git.lwn.net/linux: (123 commits)
    Documentation: x86: exception-tables: document CONFIG_BUILDTIME_TABLE_SORT
    MAINTAINERS: adjust to filesystem doc ReST conversion
    docs: deprecated.rst: Add BUG()-family
    doc: zh_CN: add translation for virtiofs
    doc: zh_CN: index files in filesystems subdirectory
    docs: locking: Drop :c:func: throughout
    docs: locking: Add 'need' to hardirq section
    docs: conf.py: avoid thousands of duplicate label warning on Sphinx
    docs: prevent warnings due to autosectionlabel
    docs: fix reference to core-api/namespaces.rst
    docs: fix pointers to io-mapping.rst and io_ordering.rst files
    Documentation: Better document the softlockup_panic sysctl
    docs: hw-vuln: tsx_async_abort.rst: get rid of an unused ref
    docs: perf: imx-ddr.rst: get rid of a warning
    docs: filesystems: fuse.rst: supress a Sphinx warning
    docs: translations: it: avoid duplicate refs at programming-language.rst
    docs: driver.rst: supress two ReSt warnings
    docs: trace: events.rst: convert some new stuff to ReST format
    Documentation: Add io_ordering.rst to driver-api manual
    Documentation: Add io-mapping.rst to driver-api manual
    ...

    Linus Torvalds
     

21 Mar, 2020

3 commits

  • Translate virtiofs.rst in Documentation/filesystems/ into Chinese.

    Reviewed-by: Alex Shi
    Reviewed-by: Mauro Carvalho Chehab
    Acked-by: Stefan Hajnoczi
    Signed-off-by: Wang Wenhu
    Link: https://lore.kernel.org/r/20200316110143.97848-2-wenhu.wang@vivo.com
    Signed-off-by: Jonathan Corbet

    Wang Wenhu
     
  • Add filesystems subdirectory into the table of Contents for zh_CN,
    all translations residing on it would be indexed conveniently.

    Reviewed-by: Alex Shi
    Reviewed-by: Mauro Carvalho Chehab
    Signed-off-by: Wang Wenhu
    Link: https://lore.kernel.org/r/20200316110143.97848-1-wenhu.wang@vivo.com
    Signed-off-by: Jonathan Corbet

    Wang Wenhu
     
  • Changeset 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    enabled a new feature at Sphinx: it will now generate index for each
    document title, plus to each chapter inside it.

    There's a drawback, though: one document cannot have two sections
    with the same name anymore.

    A followup patch will change the logic of autosectionlabel to
    avoid most creating references for every single section title,
    but still we need to be able to reference the chapters inside
    a document.

    There are a few places where there are two chapters with the
    same name. This patch renames one of the chapters, in order to
    avoid symbol conflict within the same document.

    PS.: as I don't speach Chinese, I had some help from a friend
    (Wen Liu) at the Chinese translation for "publishing patches"
    for this document:

    Documentation/translations/zh_CN/process/5.Posting.rst

    Fixes: 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/2bffb91e4a63d41bf5fae1c23e1e8b3bba0b8806.1584716446.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

12 Mar, 2020

1 commit

  • Those files got moved, but cross-references still point to the
    wrong places.

    Fixes: fcd680727157 ("Documentation: Add io-mapping.rst to driver-api manual")
    Fixes: d1ce350015d8 ("Documentation: Add io_ordering.rst to driver-api manual")
    Signed-off-by: Mauro Carvalho Chehab
    Reviewed-by: Alex Shi
    Reviewed-by: Andy Shevchenko
    Link: https://lore.kernel.org/r/c0205119db4fef536272cb0a183b6c14c2c8bf4c.1583927470.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

11 Mar, 2020

2 commits


24 Feb, 2020

1 commit

  • We currently have the following devnode types:

    enum vfl_devnode_type {
    VFL_TYPE_GRABBER = 0,
    VFL_TYPE_VBI,
    VFL_TYPE_RADIO,
    VFL_TYPE_SUBDEV,
    VFL_TYPE_SDR,
    VFL_TYPE_TOUCH,
    VFL_TYPE_MAX /* Shall be the last one */
    };

    They all make sense, except for the first: GRABBER really refers to /dev/videoX
    devices, which can be capture, output or m2m, so 'grabber' doesn't even refer to
    their function anymore.

    Let's call a spade a spade and rename this to VFL_TYPE_VIDEO.

    Signed-off-by: Hans Verkuil
    Acked-by: Sakari Ailus
    Reviewed-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

14 Feb, 2020

1 commit

  • John Johansen will take over as the process ambassador for Canonical
    when dealing with embargoed hardware issues.

    Cc: John Johansen
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-doc@vger.kernel.org
    Cc: Alex Shi
    Cc: Harry Wei
    Cc: Thomas Gleixner
    Cc: Greg Kroah-Hartman
    Cc: Jonathan Corbet
    Acked-by: John Johansen
    Signed-off-by: Tyler Hicks
    Link: https://lore.kernel.org/r/20200213214842.21312-1-tyhicks@canonical.com
    Signed-off-by: Greg Kroah-Hartman

    Tyler Hicks
     

06 Feb, 2020

3 commits


31 Dec, 2019

3 commits

  • kernel enforcement statement is a important statement to show a kind of
    attitude in kernel community. This patch translate it into Chinese and
    add it into toctree.

    Signed-off-by: Alex Shi
    Cc: Fengguang Wu
    Cc: Li Zefan
    Cc: Harry Wei
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Link: https://lore.kernel.org/r/1576811085-30544-3-git-send-email-alex.shi@linux.alibaba.com
    Signed-off-by: Jonathan Corbet

    Alex Shi
     
  • kernel driver statement is a great statement in kernel community. This
    patch translate the statement into Chinese and add it into toctree.

    Signed-off-by: Alex Shi
    Cc: Harry Wei
    Cc: lizefan@huawei.com
    Cc: Fengguang Wu
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Link: https://lore.kernel.org/r/1576811085-30544-2-git-send-email-alex.shi@linux.alibaba.com
    Signed-off-by: Jonathan Corbet

    Alex Shi
     
  • Embargoed hardware issues is a necessary process guide, but leak of
    Chinese version, since there is more Chinese hardware vendors in market.
    We'd better have a Chinese version of this guide.

    This patch translate the guide, add it into toctree. and also add a link
    stub for the original doc.

    Signed-off-by: Alex Shi
    Cc: Fengguang Wu
    Cc: lizefan@huawei.com
    Cc: Jonathan Corbet
    Cc: Harry Wei
    Cc: Greg Kroah-Hartman
    Cc: Sasha Levin
    Cc: Dave Hansen
    Cc: Thomas Gleixner
    Cc: Ben Hutchings
    Cc: Tom Lendacky
    Cc: Tony Luck
    Cc: Kees Cook
    Cc: linux-doc@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Link: https://lore.kernel.org/r/1576811085-30544-1-git-send-email-alex.shi@linux.alibaba.com
    Signed-off-by: Jonathan Corbet

    Alex Shi
     

20 Dec, 2019

1 commit

  • As suggested by Paul, I got a review from another Korean hacker Yunjae.
     From the review, I got not only 'Reviewed-by:' tags, but also found a
    few minor nits.  So I made a second version of the patchset but just
    realized that the first version has already sent to Linus.  I therefore
    send only the nit fixes as another patch.

    ----------------------------- >8 ----------------------------------------
    docs/memory-barriers.txt.kokr: Minor wordsmith

    This commit fixes a couple of minor nits in the Korean translation of
    'memory-barriers.txt'.

    Signed-off-by: SeongJae Park
    Reviewed-by: Yunjae Lee
    Link: https://lore.kernel.org/r/20191129182823.8710-1-sjpark@amazon.de
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     

10 Dec, 2019

1 commit

  • Replace all the occurrences of FIELD_SIZEOF() with sizeof_field() except
    at places where these are defined. Later patches will remove the unused
    definition of FIELD_SIZEOF().

    This patch is generated using following script:

    EXCLUDE_FILES="include/linux/stddef.h|include/linux/kernel.h"

    git grep -l -e "\bFIELD_SIZEOF\b" | while read file;
    do

    if [[ "$file" =~ $EXCLUDE_FILES ]]; then
    continue
    fi
    sed -i -e 's/\bFIELD_SIZEOF\b/sizeof_field/g' $file;
    done

    Signed-off-by: Pankaj Bharadiya
    Link: https://lore.kernel.org/r/20190924105839.110713-3-pankaj.laxminarayan.bharadiya@intel.com
    Co-developed-by: Kees Cook
    Signed-off-by: Kees Cook
    Acked-by: David Miller # for net

    Pankaj Bharadiya
     

04 Dec, 2019

1 commit

  • Pull tty/serial updates from Greg KH:
    "Here is the "big" tty and serial driver patches for 5.5-rc1.

    It's a bit later in the merge window than normal as I wanted to make
    sure some last-minute patches applied to it were all sane. They seem
    to be :)

    There's a lot of little stuff in here, for the tty core, and for lots
    of serial drivers:

    - reverts of uartlite serial driver patches that were wrong

    - msm-serial driver fixes

    - serial core updates and fixes

    - tty core fixes

    - serial driver dma mapping api changes

    - lots of other tiny fixes and updates for serial drivers

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'tty-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (58 commits)
    Revert "serial/8250: Add support for NI-Serial PXI/PXIe+485 devices"
    vcs: prevent write access to vcsu devices
    tty: vt: keyboard: reject invalid keycodes
    tty: don't crash in tty_init_dev when missing tty_port
    serial: stm32: fix clearing interrupt error flags
    tty: Fix Kconfig indentation, continued
    serial: serial_core: Perform NULL checks for break_ctl ops
    tty: remove unused argument from tty_open_by_driver()
    tty: Fix Kconfig indentation
    {tty: serial, nand: onenand}: samsung: rename to fix build warning
    serial: ifx6x60: add missed pm_runtime_disable
    serial: pl011: Fix DMA ->flush_buffer()
    Revert "serial-uartlite: Move the uart register"
    Revert "serial-uartlite: Add get serial id if not provided"
    Revert "serial-uartlite: Do not use static struct uart_driver out of probe()"
    Revert "serial-uartlite: Add runtime support"
    Revert "serial-uartlite: Change logic how console_port is setup"
    Revert "serial-uartlite: Use allocated structure instead of static ones"
    tty: serial: msm_serial: Use dma_request_chan() directly for channel request
    tty: serial: tegra: Use dma_request_chan() directly for channel request
    ...

    Linus Torvalds
     

23 Nov, 2019

6 commits


13 Nov, 2019

1 commit

  • This means removing support for checking magic in amiserial.c
    (SERIAL_PARANOIA_CHECK option), which was checking a magic field which
    doesn't currently exist in the struct. That code hasn't built at least
    since git.

    Removing the definition from the header is safe anyway as that code was
    from another driver and not including it.

    Signed-off-by: Pascal Terjan
    Reviewed-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/20191105192749.67533-1-pterjan@google.com
    Signed-off-by: Greg Kroah-Hartman

    Pascal Terjan
     

04 Oct, 2019

1 commit


06 Sep, 2019

1 commit


25 Aug, 2019

1 commit

  • http://linux.yyz.us/patch-format.html seems to be down since
    approximately September 2018. There is a working archive copy on
    arhive.org. Replaced the links in documenation + translations.

    Signed-off-by: Jacob Huisman
    Reviewed-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Jacob Huisman
     

13 Aug, 2019

1 commit

  • Mauro Carvalho Chehab found a reference
    error in Chinese howto.rst. and further more there more infos of
    latexdocs/epubdocs format doc making in English howto.rst.

    So I update this part according to latest howto.rst and settled
    the correct reference.

    Signed-off-by: Alex Shi
    Signed-off-by: Jonathan Corbet

    Alex Shi
     

01 Aug, 2019

2 commits

  • There's a broken reference there pointing to the long gone
    DocBook dir.

    While I don't read chinese, Google translator translates it
    to:
    "The generated documentation will be placed in
    the Documentation/DocBook/ directory."

    Well, we know that the output will be Documentation/output
    dir. So, let's fix this one.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • The patch translates the following patches in Italian:

    1fb12b35e5ff kbuild: Raise the minimum required binutils version to 2.21
    9c3c0c204814 isdn: remove isdn4linux

    Signed-off-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Federico Vaga
     

23 Jul, 2019

4 commits


20 Jul, 2019

1 commit


17 Jul, 2019

2 commits

  • Some files got renamed but probably due to some merge conflicts,
    a few references still point to the old locations.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Pull rst conversion of docs from Mauro Carvalho Chehab:
    "As agreed with Jon, I'm sending this big series directly to you, c/c
    him, as this series required a special care, in order to avoid
    conflicts with other trees"

    * tag 'docs/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (77 commits)
    docs: kbuild: fix build with pdf and fix some minor issues
    docs: block: fix pdf output
    docs: arm: fix a breakage with pdf output
    docs: don't use nested tables
    docs: gpio: add sysfs interface to the admin-guide
    docs: locking: add it to the main index
    docs: add some directories to the main documentation index
    docs: add SPDX tags to new index files
    docs: add a memory-devices subdir to driver-api
    docs: phy: place documentation under driver-api
    docs: serial: move it to the driver-api
    docs: driver-api: add remaining converted dirs to it
    docs: driver-api: add xilinx driver API documentation
    docs: driver-api: add a series of orphaned documents
    docs: admin-guide: add a series of orphaned documents
    docs: cgroup-v1: add it to the admin-guide book
    docs: aoe: add it to the driver-api book
    docs: add some documentation dirs to the driver-api book
    docs: driver-model: move it to the driver-api book
    docs: lp855x-driver.rst: add it to the driver-api book
    ...

    Linus Torvalds
     

16 Jul, 2019

1 commit

  • Pull PCI updates from Bjorn Helgaas:
    "Enumeration changes:

    - Evaluate PCI Boot Configuration _DSM to learn if firmware wants us
    to preserve its resource assignments (Benjamin Herrenschmidt)

    - Simplify resource distribution (Nicholas Johnson)

    - Decode 32 GT/s link speed (Gustavo Pimentel)

    Virtualization:

    - Fix incorrect caching of VF config space size (Alex Williamson)

    - Fix VF driver probing sysfs knobs (Alex Williamson)

    Peer-to-peer DMA:

    - Fix dma_virt_ops check (Logan Gunthorpe)

    Altera host bridge driver:

    - Allow building as module (Ley Foon Tan)

    Armada 8K host bridge driver:

    - add PHYs support (Miquel Raynal)

    DesignWare host bridge driver:

    - Export APIs to support removable loadable module (Vidya Sagar)

    - Enable Relaxed Ordering erratum workaround only on Tegra20 &
    Tegra30 (Vidya Sagar)

    Hyper-V host bridge driver:

    - Fix use-after-free in eject (Dexuan Cui)

    Mobiveil host bridge driver:

    - Clean up and fix many issues, including non-identify mapped
    windows, 64-bit windows, multi-MSI, class code, INTx clearing (Hou
    Zhiqiang)

    Qualcomm host bridge driver:

    - Use clk bulk API for 2.4.0 controllers (Bjorn Andersson)

    - Add QCS404 support (Bjorn Andersson)

    - Assert PERST for at least 100ms (Niklas Cassel)

    R-Car host bridge driver:

    - Add r8a774a1 DT support (Biju Das)

    Tegra host bridge driver:

    - Add support for Gen2, opportunistic UpdateFC and ACK (PCIe protocol
    details) AER, GPIO-based PERST# (Manikanta Maddireddy)

    - Fix many issues, including power-on failure cases, interrupt
    masking in suspend, UPHY settings, AFI dynamic clock gating,
    pending DLL transactions (Manikanta Maddireddy)

    Xilinx host bridge driver:

    - Fix NWL Multi-MSI programming (Bharat Kumar Gogada)

    Endpoint support:

    - Fix 64bit BAR support (Alan Mikhak)

    - Fix pcitest build issues (Alan Mikhak, Andy Shevchenko)

    Bug fixes:

    - Fix NVIDIA GPU multi-function power dependencies (Abhishek Sahu)

    - Fix NVIDIA GPU HDA enablement issue (Lukas Wunner)

    - Ignore lockdep for sysfs "remove" (Marek Vasut)

    Misc:

    - Convert docs to reST (Changbin Du, Mauro Carvalho Chehab)"

    * tag 'pci-v5.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (107 commits)
    PCI: Enable NVIDIA HDA controllers
    tools: PCI: Fix installation when `make tools/pci_install`
    PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB
    PCI: Fix typos and whitespace errors
    PCI: mobiveil: Fix INTx interrupt clearing in mobiveil_pcie_isr()
    PCI: mobiveil: Fix infinite-loop in the INTx handling function
    PCI: mobiveil: Move PCIe PIO enablement out of inbound window routine
    PCI: mobiveil: Add upper 32-bit PCI base address setup in inbound window
    PCI: mobiveil: Add upper 32-bit CPU base address setup in outbound window
    PCI: mobiveil: Mask out hardcoded bits in inbound/outbound windows setup
    PCI: mobiveil: Clear the control fields before updating it
    PCI: mobiveil: Add configured inbound windows counter
    PCI: mobiveil: Fix the valid check for inbound and outbound windows
    PCI: mobiveil: Clean-up program_{ib/ob}_windows()
    PCI: mobiveil: Remove an unnecessary return value check
    PCI: mobiveil: Fix error return values
    PCI: mobiveil: Refactor the MEM/IO outbound window initialization
    PCI: mobiveil: Make some register updates more readable
    PCI: mobiveil: Reformat the code for readability
    dt-bindings: PCI: mobiveil: Change gpio_slave and apb_csr to optional
    ...

    Linus Torvalds