staging: gasket: sundry fixes and fixups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest20 patches 2 repliesIn review
- v332 patches 6 repliesSuperseded
- v232 patches 20 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 posting 2/2 | 1 patch | 2 replies | Superseded | |
| v1 posting 1/2 | 18 patches | 33 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | staging: gasket: allow compile for ARM64 in Kconfigdrivers/ | +1 | 0 replies | |
| 2/20 | staging: gasket: gasket_enable_dev remove unnecessary variabledrivers/ | +1 | 1 reply | |
| 3/20 | staging: gasket: remove code for no physical devicedrivers/ | +1 | 0 replies | |
| 4/20 | staging: gasket: fix class create bug handlingdrivers/ | +1 | 0 replies | |
| 5/20 | staging: gasket: remove unnecessary code in coherent allocatordrivers/ | +1 | 0 replies | |
| 6/20 | staging: gasket: don't treat no device reset callback as an errordrivers/ | +2 | 0 replies | |
| 7/20 | staging: gasket: gasket_mmap return error instead of valid BAR indexdrivers/ | +1 | 0 replies | |
| 8/20 | staging: gasket: apex_clock_gating simplify logic, reduce indentationdrivers/ | +20 | 0 replies | |
| 9/20 | staging: gasket: gasket page table functions use bool return typedrivers/ drivers/ | +33 | 0 replies | |
| 10/20 | staging: gasket: remove else clause after return in if clausedrivers/ | +1 | 0 replies | |
| 11/20 | staging: gasket: fix comment syntax in apex.hdrivers/ | +4 | 0 replies | |
| 12/20 | staging: gasket: remove unnecessary parens in page table codedrivers/ | +1 | 0 replies | |
| 13/20 | staging: gasket: gasket_mmap use PAGE_MASKdrivers/ | +1 | 0 replies | |
| 14/20 | staging: gasket: remove extra parens in gasket_write_mappable_regionsdrivers/ | +1 | 0 replies | |
| 15/20 | staging: gasket: fix multi-line comment syntax in gasket_core.hdrivers/ | +2 | 0 replies | |
| 16/20 | staging: gasket: always allow root open for writedrivers/ drivers/ drivers/ | +23 | 0 replies | |
| 17/20 | staging: gasket: top ioctl handler add __user annotationsdrivers/ drivers/ | +9 | 0 replies | |
| 18/20 | staging: gasket: apex ioctl add __user annotationsdrivers/ | +10 | 0 replies | |
| 19/20 | staging: gasket: common ioctl dispatcher add __user annotationsdrivers/ drivers/ | +8 | 0 replies | |
| 20/20 | staging: gasket: common ioctls add __user annotationsdrivers/ | +55 | 0 replies |
Reviews trailers per patch
1 of 20 patches has a Reviewed-by or Acked-by.
| Patch | Dmitry Torokhov |
|---|---|
| 1/20 | |
| 2/20 | |
| 3/20 | |
| 4/20 | R-b |
| 5/20 | |
| 6/20 | |
| 7/20 | |
| 8/20 | |
| 9/20 | |
| 10/20 | |
| 11/20 | |
| 12/20 | |
| 13/20 | |
| 14/20 | |
| 15/20 | |
| 16/20 | |
| 17/20 | |
| 18/20 | |
| 19/20 | |
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/20 v4] staging: gasket: sundry fixes and fixups
From: Todd Poynor <[email protected]>
Various fixes mainly from the chromium review of the gasket and apex drivers. More to come.
Todd Poynor (20):
staging: gasket: allow compile for ARM64 in Kconfig
staging: gasket: gasket_enable_dev remove unnecessary variable
staging: gasket: remove code for no physical device
staging: gasket: fix class create bug handling
staging: gasket: remove unnecessary code in coherent allocator
staging: gasket: don't treat no device reset callback as an error
staging: gasket: gasket_mmap return error instead of valid BAR index
staging: gasket: apex_clock_gating simplify logic, reduce indentation
staging: gasket: gasket page table functions use bool return type
staging: gasket: remove else clause after return in if clause
staging: gasket: fix comment syntax in apex.h
staging: gasket: remove unnecessary parens in page table code
staging: gasket: gasket_mmap use PAGE_MASK
staging: gasket: remove extra parens in gasket_write_mappable_regions
staging: gasket: fix multi-line comment syntax in gasket_core.h
staging: gasket: always allow root open for write
staging: gasket: top ioctl handler add __user annotations
staging: gasket: apex ioctl add __user annotations
staging: gasket: common ioctl dispatcher add __user annotations
staging: gasket: common ioctls add __user annotations
Patches changed from v3 in v4:
staging: gasket: remove X86 Kconfig restriction
Rename: staging: gasket: allow compile for ARM64 in Kconfig Restore existing "depends on" for X86_64, add ARM64. Only compile for 64-bit architectures known to work with this driver.
staging: gasket: always allow root open for write
Fold in patch to convert apex_ioctl_check_permissions to return bool Convert gasket_ioctl_check_permissions to use bool types.
staging: gasket: apex_ioctl_check_permissions use bool return type
Folded into above patch.
staging: gasket: annotate ioctl arg with __user
Split up into new patches:
staging: gasket: top ioctl handler add __user annotations
staging: gasket: apex ioctl add __user annotations
staging: gasket: common ioctl dispatcher add __user annotations
staging: gasket: common ioctls add __user annotations
Convert various uses of void * to actual type.
Minor formatting and naming changes.
Drop Reviewed-By: Dmitry Torokhov due to changes since review.
Patches unchanged from v3 in v4:
staging: gasket: gasket_enable_dev remove unnecessary variable
staging: gasket: remove code for no physical device
staging: gasket: fix class create bug handling
staging: gasket: remove unnecessary code in coherent allocator
staging: gasket: don't treat no device reset callback as an error
staging: gasket: gasket_mmap return error instead of valid BAR index
staging: gasket: apex_clock_gating simplify logic, reduce indentation
staging: gasket: gasket page table functions use bool return type
staging: gasket: remove else clause after return in if clause
staging: gasket: fix comment syntax in apex.h
staging: gasket: remove unnecessary parens in page table code
staging: gasket: gasket_mmap use PAGE_MASK
staging: gasket: remove extra parens in gasket_write_mappable_regions
staging: gasket: fix multi-line comment syntax in gasket_core.h
Patches removed from v3 in v4 (already merged to staging-next):
staging: gasket: fix typo in apex_enter_reset
staging: gasket: fix typo in gasket_core.h comments
staging: gasket: whitespace fix in gasket_page_table_init
staging: gasket: remove driver registration on class creation failure
staging: gasket: hold mutex on gasket driver unregistration
staging: gasket: Return EBUSY on mapping create when already in use
staging: gasket: Remove stale pointers on error allocating attr array
staging: gasket: convert gasket_mmap_has_permissions to bool return
staging: gasket: fix gasket_wait_with_reschedule timeout return code
staging: gasket: gasket_wait_with_reschedule use msleep
staging: gasket: gasket_wait_with_reschedule simplify logic
staging: gasket: gasket_wait_with_reschedule use 32 bits of retry
staging: gasket: bail out of reset sequence on device callback error
staging: gasket: drop gasket_cdev_get_info, use container_of
drivers/staging/gasket/Kconfig | 2 +- drivers/staging/gasket/apex.h | 7 +- drivers/staging/gasket/apex_driver.c | 73 +++++------ drivers/staging/gasket/gasket_core.c | 44 +++---- drivers/staging/gasket/gasket_core.h | 10 +- drivers/staging/gasket/gasket_ioctl.c | 144 +++++++++++---------- drivers/staging/gasket/gasket_ioctl.h | 4 +- drivers/staging/gasket/gasket_page_table.c | 64 +++++---- drivers/staging/gasket/gasket_page_table.h | 8 +- 9 files changed, 174 insertions(+), 182 deletions(-)
Signature · 1 line
2.18.0.233.g985f88cf7e-goog