Merge keystone/android12-5.10-keystone-qcom-release.43+ (92486f8) into msm-5.10

* refs/heads/tmp-92486f8:
  FROMGIT: bpf: Support all gso types in bpf_skb_change_proto()
  ANDROID: GKI: 7/2/2021 KMI update
  ANDROID: ABI: hikey960_gki.fragment: Add cfg80211 and mac80211 as modules
  ANDROID: ABI: gki_defconfig: Make cfg80211 and mac80211 modules
  Revert "ANDROID: GKI: Enable some necessary CFG80211 configs for WIFI"
  Revert "ANDROID: dmabuf: Add mmap_count to struct dmabuf"
  Revert "ANDROID: dma-buf: Don't change vm_ops if vm_file changes"
  ANDROID: GKI: mmc: add Android ABI padding to some structures
  ANDROID: GKI: Add rproc coredump APIs to symbol list
  ANDROID: GKI: Add remoteproc vendor hook symbols
  ANDROID: rproc: Add vendor hook for recovery
  ANDROID: sched: Add vendor data in struct cfs_rq
  ANDROID: Add oem data array for async binder transaction
  UPSTREAM: mm: relocate 'write_protect_seq' in struct mm_struct
  ANDROID: sched: remove regular vendor hooks for 32bit execve
  ANDROID: GKI: enable CONFIG_BLK_CGROUP_IOCOST
  ANDROID: GKI: Add ANDROID_OEM_DATA in struct blk_mq_tags
  ANDROID: GKI: Add ANDROID_OEM_DATA in struct blk_mq_ctx
  ANDROID: GKI: Add ANDROID_OEM_DATA in struct request_queue
  ANDROID: ABI: update virtual device symbols for CAN
  ANDROID: Add CONFIG_CAN=y to gki_defconfig
  FROMLIST: scsi: ufs: Make HCM parameter configurable
  FROMLIST: scsi: ufs: Add support for HCM
  FROMLIST: scsi: ufs: Do not send umap_all in host control mode
  FROMLIST: scsi: ufs: Limit the number of inflight rb
  FROMLIST: scsi: ufs: Add "Cold" regions timer
  FROMLIST: scsi: ufs: Add hpb dev reset response
  FROMLIST: scsi: ufs: Region inactivation in HCM
  FROMLIST: scsi: ufs: Eviction in HCM
  FROMLIST: scsi: ufs: Add region's reads counter
  FROMLIST: scsi: ufs: Transform set_dirty to iterate_rgn
  FROMLIST: scsi: ufs: Add HCM support to rsp_upiu
  FROMLIST: scsi: ufs: Cache HPB Control mode on init
  FROMLIST: scsi: ufs: Add HPB 2.0 support
  FROMLIST: scsi: ufs: Prepare HPB read for cached sub-region
  FROMLIST: scsi: ufs: L2P map management for HPB read
  FROMLIST: scsi: ufs: Introduce HPB feature
  FROMGIT: block/mq-deadline: Prioritize high-priority requests
  FROMGIT: block/mq-deadline: Add cgroup support
  FROMGIT: block/mq-deadline: Track I/O statistics
  FROMGIT: block/mq-deadline: Add I/O priority support
  FROMGIT: block/mq-deadline: Micro-optimize the batching algorithm
  FROMGIT: block/mq-deadline: Reserve 25% of scheduler tags for synchronous requests
  FROMGIT: block/mq-deadline: Improve the sysfs show and store macros
  FROMGIT: block/mq-deadline: Improve compile-time argument checking
  FROMGIT: block/mq-deadline: Rename dd_init_queue() and dd_exit_queue()
  FROMGIT: block/mq-deadline: Remove two local variables
  FROMGIT: block/mq-deadline: Add two lockdep_assert_held() statements
  FROMGIT: block/mq-deadline: Add several comments
  FROMGIT: block: Introduce the ioprio rq-qos policy
  FROMGIT: block/blk-rq-qos: Move a function from a header file into a C file
  FROMGIT: block/blk-cgroup: Swap the blk_throtl_init() and blk_iolatency_init() calls
  FROMGIT: block/Kconfig: Make the BLK_WBT and BLK_WBT_MQ entries consecutive
  FROMGIT: bfq/mq-deadline: remove redundant check for passthrough request
  FROMGIT: blk-mq: Improve performance of non-mq IO schedulers with multiple HW queues
  FROMGIT: Revert "blk-mq, elevator: Count requests per hctx to improve performance"
  FROMLIST: scsi: ufs: add missing host_lock in setup_xfer_req
  Revert "Revert "FROMGIT: scsi: ufs: Utilize Transfer Request List Completion Notification Register""
  Revert "Revert "BACKPORT: FROMGIT: scsi: ufs: Optimize host lock on transfer requests send/compl paths""
  Revert "Revert "KMI: BACKPORT: FROMGIT: scsi: ufs: Optimize host lock on transfer requests send/compl paths""
  ANDROID: Update the ABI representation
  ANDROID: GKI: Update abi_gki_aarch64_qcom for oom_check_panic symbol
  ANDROID: sched: Add trace for __setscheduler_uclamp
  ANDROID: usb: export built-in tracepoint functions
  ANDROID: Fix lost track action type in save_track_hash
  ANDROID: ABI: update for new qcom symbols
  ANDROID: abi_gki_aarch64_qcom: Update ufs symbol list
  ANDROID: GKI: Update abi_gki_aarch64_qcom for logbuf_pr_cont tracepoint
  ANDROID: Update symbol list for mtk
  ANDROID: dma-buf: heaps: export defer-free list size

Conflicts:
	drivers/scsi/ufs/Kconfig

Change-Id: I655cd0fba21a825733bfd0e1f0905f3a2ed755ee
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
This commit is contained in:
Ivaylo Georgiev
2021-07-06 01:46:45 -07:00
68 changed files with 13621 additions and 17052 deletions

View File

@@ -54,6 +54,7 @@ v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgrou
5-3-3. IO Latency
5-3-3-1. How IO Latency Throttling Works
5-3-3-2. IO Latency Interface Files
5-3-4. IO Priority
5-4. PID
5-4-1. PID Interface Files
5-5. Cpuset
@@ -1848,6 +1849,60 @@ IO Latency Interface Files
duration of time between evaluation events. Windows only elapse
with IO activity. Idle periods extend the most recent window.
IO Priority
~~~~~~~~~~~
A single attribute controls the behavior of the I/O priority cgroup policy,
namely the blkio.prio.class attribute. The following values are accepted for
that attribute:
no-change
Do not modify the I/O priority class.
none-to-rt
For requests that do not have an I/O priority class (NONE),
change the I/O priority class into RT. Do not modify
the I/O priority class of other requests.
restrict-to-be
For requests that do not have an I/O priority class or that have I/O
priority class RT, change it into BE. Do not modify the I/O priority
class of requests that have priority class IDLE.
idle
Change the I/O priority class of all requests into IDLE, the lowest
I/O priority class.
The following numerical values are associated with the I/O priority policies:
+-------------+---+
| no-change | 0 |
+-------------+---+
| none-to-rt | 1 |
+-------------+---+
| rt-to-be | 2 |
+-------------+---+
| all-to-idle | 3 |
+-------------+---+
The numerical value that corresponds to each I/O priority class is as follows:
+-------------------------------+---+
| IOPRIO_CLASS_NONE | 0 |
+-------------------------------+---+
| IOPRIO_CLASS_RT (real-time) | 1 |
+-------------------------------+---+
| IOPRIO_CLASS_BE (best effort) | 2 |
+-------------------------------+---+
| IOPRIO_CLASS_IDLE | 3 |
+-------------------------------+---+
The algorithm to set the I/O priority class for a request is as follows:
- Translate the I/O priority class policy into a number.
- Change the request I/O priority class into the maximum of the I/O priority
class policy number and the numerical I/O priority class.
PID
---