forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'sg_nents' into rdma.git for-next
From Maor Gottlieb ==================== Fix the use of nents and orig_nents in the sg table append helpers. The nents should be used by the DMA layer to store the number of DMA mapped sges, the orig_nents is the number of CPU sges. Since the sg append logic doesn't always create a SGL with exactly orig_nents entries store a total_nents as well to allow the table to be properly free'd and reorganize the freeing logic to share across all the use cases. ==================== Signed-off-by: Jason Gunthorpe <[email protected]> * 'sg_nents': RDMA: Use the sg_table directly and remove the opencoded version from umem lib/scatterlist: Fix wrong update of orig_nents lib/scatterlist: Provide a dedicated function to support table append
- Loading branch information
Showing
1,417 changed files
with
18,008 additions
and
11,263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,13 @@ Description: | |
frequency adjustment value (a positive integer) in | ||
parts per billion. | ||
|
||
What: /sys/class/ptp/ptpN/max_vclocks | ||
Date: May 2021 | ||
Contact: Yangbo Lu <[email protected]> | ||
Description: | ||
This file contains the maximum number of ptp vclocks. | ||
Write integer to re-configure it. | ||
|
||
What: /sys/class/ptp/ptpN/n_alarms | ||
Date: September 2010 | ||
Contact: Richard Cochran <[email protected]> | ||
|
@@ -61,6 +68,19 @@ Description: | |
This file contains the number of programmable pins | ||
offered by the PTP hardware clock. | ||
|
||
What: /sys/class/ptp/ptpN/n_vclocks | ||
Date: May 2021 | ||
Contact: Yangbo Lu <[email protected]> | ||
Description: | ||
This file contains the number of virtual PTP clocks in | ||
use. By default, the value is 0 meaning that only the | ||
physical clock is in use. Setting the value creates | ||
the corresponding number of virtual clocks and causes | ||
the physical clock to become free running. Setting the | ||
value back to 0 deletes the virtual clocks and | ||
switches the physical clock back to normal, adjustable | ||
operation. | ||
|
||
What: /sys/class/ptp/ptpN/pins | ||
Date: March 2014 | ||
Contact: Richard Cochran <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,19 +86,7 @@ Generating code coverage reports under UML | |
.. note:: | ||
TODO([email protected]): There are various issues with UML and | ||
versions of gcc 7 and up. You're likely to run into missing ``.gcda`` | ||
files or compile errors. We know one `faulty GCC commit | ||
<https://github.com/gcc-mirror/gcc/commit/8c9434c2f9358b8b8bad2c1990edf10a21645f9d>`_ | ||
but not how we'd go about getting this fixed. The compile errors still | ||
need some investigation. | ||
|
||
.. note:: | ||
TODO([email protected]): for recent versions of Linux | ||
(5.10-5.12, maybe earlier), there's a bug with gcov counters not being | ||
flushed in UML. This translates to very low (<1%) reported coverage. This is | ||
related to the above issue and can be worked around by replacing the | ||
one call to ``uml_abort()`` (it's in ``os_dump_core()``) with a plain | ||
``exit()``. | ||
|
||
files or compile errors. | ||
|
||
This is different from the "normal" way of getting coverage information that is | ||
documented in Documentation/dev-tools/gcov.rst. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,6 @@ required: | |
- reg | ||
- clocks | ||
- interrupts | ||
- resets | ||
- ports | ||
|
||
allOf: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,8 +67,8 @@ properties: | |
reg: | ||
oneOf: | ||
- enum: | ||
- 0 | ||
- 1 | ||
- 0 | ||
- 1 | ||
|
||
required: | ||
- compatible | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.