Fix year 2038 issue for sound subsystem
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ALSA: Replace timespec with timespec64include/ include/ sound/ +4 more | +60 | 2 replies | |
| 2/8 | ALSA: Avoid using timespec for struct snd_timer_statussound/ sound/ | +62 | 0 replies | |
| 3/8 | ALSA: Avoid using timespec for struct snd_ctl_elem_valueinclude/ | +1 | 0 replies | |
| 4/8 | ALSA: Avoid using timespec for struct snd_pcm_statusinclude/ include/ sound/ +2 more | +193 | 2 replies | |
| 5/8 | ALSA: Avoid using timespec for struct snd_rawmidi_statusinclude/ sound/ sound/ | +126 | 0 replies | |
| 6/8 | ALSA: Avoid using timespec for struct snd_timer_treadinclude/ sound/ sound/ | +121 | 0 replies | |
| 7/8 | ALSA: move snd_pcm_ioctl_sync_ptr_compat into pcm_native.csound/ sound/ | +101 | 0 replies | |
| 8/8 | ALSA: add new 32-bit layout for snd_pcm_mmap_status/controlinclude/ sound/ sound/ +1 more | +120 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Fix year 2038 issue for sound subsystem
Since many structures will use timespec type variables to record time stamp in uapi/asound.h, which are not year 2038 safe on 32bit system. This patchset tries to introduce new structures removing timespec type to compatible native mode and compat mode.
Moreover this patchset also converts the internal structrures to use timespec64 type and related APIs.
Arnd Bergmann (2):
ALSA: move snd_pcm_ioctl_sync_ptr_compat into pcm_native.c
ALSA: add new 32-bit layout for snd_pcm_mmap_status/control
Baolin Wang (6):
ALSA: Replace timespec with timespec64
ALSA: Avoid using timespec for struct snd_timer_status
ALSA: Avoid using timespec for struct snd_ctl_elem_value
ALSA: Avoid using timespec for struct snd_pcm_status
ALSA: Avoid using timespec for struct snd_rawmidi_status
ALSA: Avoid using timespec for struct snd_timer_tread
include/sound/pcm.h | 74 +++++++++-- include/sound/timer.h | 4 +- include/uapi/sound/asound.h | 114 ++++++++++++++-- sound/core/pcm.c | 12 +- sound/core/pcm_compat.c | 261 ++++++++----------------------------- sound/core/pcm_lib.c | 38 ++++-- sound/core/pcm_native.c | 224 +++++++++++++++++++++++++++---- sound/core/rawmidi.c | 131 +++++++++++++++---- sound/core/rawmidi_compat.c | 87 ++++--------- sound/core/timer.c | 224 +++++++++++++++++++++++-------- sound/core/timer_compat.c | 59 +-------- sound/pci/hda/hda_controller.c | 10 +- sound/soc/intel/skylake/skl-pcm.c | 4 +- 13 files changed, 766 insertions(+), 476 deletions(-)
Signature · 1 line
1.7.9.5