On Mon, Jul 08, 2024 at 07:47:59PM +0530, Anuj gupta wrote: > > Last but not least the fact that all reads and writes on PI enabled > > devices by default check the guard (and reference if available for the > > PI type) tags leads to a lot of annoying warnings when the kernel or > > userspace does speculative reads. > In the current series the application can choose not to specify the > GUARD check flag, which would disable the guard checking even for PI > enabled devices. Did you still encounter errors or am I missing > something here? Well, this is for probing reads from libblkid, the partition parser or file system mount routines. So we'll need a flag for the case where PI is not controlled by the user, as we don't really want all the callers to actually deal with PI.