mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
2107724ae36314d59a20848c0b6756e5a0030439
Currently the removed_dma_ops are set only once for dev nodes which are associated with a reserved-memory region (PIL devices) in device_init and when the probe of these devices fail, we end up calling dma_deconfigure which sets the dma_ops to NULL. Eventually when the probe succeeds, since dma_ops was set to NULL during probe failure, we end up setting dma_ops to arm64_swiotlb_dma_ops. Hence in arch_setup_dma_ops, if the dma_ops is NULL, check to see if there is a reserved memory associated with the dev and if so set dma_ops to removed_dma_ops such that the right callback functions are invoked. Bug: 145617272 Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org> [surenb: cherry picked from commit: 903192a5412d "mm: Support setting removed_dma_ops in arch_setup_dma_ops"] Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Ibc1028391ba90cbdd5c5826022b5015d9e261c09
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%