summaryrefslogtreecommitdiff
path: root/scripts/extract-vmlinux
diff options
context:
space:
mode:
authorJoris Verhaegen <verhaegen@google.com>2025-09-05 10:12:54 +0100
committerTakashi Iwai <tiwai@suse.de>2025-09-08 09:33:24 +0200
commit2c92e2fbe9e22cefdae87d8a0d654691ee4c1957 (patch)
tree0032145739c373c5599212dfadb29eca5b69671e /scripts/extract-vmlinux
parentcbd676874e64a2122edd03ba6a2406b24779df05 (diff)
downloadkernel-2c92e2fbe9e22cefdae87d8a0d654691ee4c1957.tar.gz
ALSA: compress_offload: Add 64-bit safe timestamp infrastructure
The copied_total field in struct snd_compr_tstamp is a 32-bit value that can overflow on long-running high-bitrate streams, leading to incorrect calculations for buffer availablility. This patch adds a 64-bit safe timestamping mechanism. A new UAPI struct, snd_compr_tstamp64, is added which uses 64-bit types for byte counters. The relevant ops structures across the ASoC and core compress code are updated to use this new struct. ASoC drivers are updated to use u64 counters. Internal timestamps being u64 now, a compatibility function is added to convert the 64-bit timestamp back to the 32-bit format for legacy ioctl callers. Reviewed-by: Miller Liang <millerliang@google.com> Tested-by: Joris Verhaegen <verhaegen@google.com> Signed-off-by: Joris Verhaegen <verhaegen@google.com> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250905091301.2711705-2-verhaegen@google.com
Diffstat (limited to 'scripts/extract-vmlinux')
0 files changed, 0 insertions, 0 deletions
usb: gadget: function: f_fs: Demote function header which is clearly not kern...Lee Jones 2020-06-10kernel: set USER_DS in kthread_use_mmChristoph Hellwig 2020-06-10kernel: better document the use_mm/unuse_mm API contractChristoph Hellwig 2020-06-10kernel: move use_mm/unuse_mm to kthread.cChristoph Hellwig 2020-05-25usb: gadget: f_fs: remove unneeded semicolon in __ffs_data_got_descs()Jason Yan 2020-04-16usb: f_fs: Clear OS Extended descriptor counts to zero in ffs_data_reset()Udipto Goswami 2020-03-30Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds 2020-03-26usb: gadget: f_fs: Fix use after free issue as part of queue failureSriharsha Allenki 2020-03-21completion: Use simple wait queuesThomas Gleixner 2020-02-11usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flagsLars-Peter Clausen 2020-02-08Merge branch 'merge.nfs-fs_parse.1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds 2020-02-07fs_parse: fold fs_parameter_desc/fs_parameter_specAl Viro 2020-02-07fs_parser: remove fs_parameter_description name fieldEric Sandeen 2020-01-15usb: gadget: f_fs: set req->num_sgs as 0 for non-sg transferPeter Chen 2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya 2019-10-23compat_ioctl: use correct compat_ptr() translation in driversArnd Bergmann 2019-09-18vfs: Convert functionfs to use the new mount APIDavid Howells 2019-06-18usb: gadget: Zero ffs_io_dataAndrzej Pietrasiewicz 2019-06-18usb: gadget: f_fs: data_len used before properly setFei Yang 2019-05-03usb: gadget: f_fs: don't free buffer prematurelyFei Yang 2019-02-11usb: f_fs: Avoid crash due to out-of-scope stack ptr accessJohn Stultz