How would undocummented, private ISA extensions work in Linux-based systems?

By: Geoff Langdale (geoff.langdale.delete@this.gmail.com), October 19, 2022 5:15 pm
Room: Moderated Discussions
Ana Rodriguez (ana_rodriguez_riano.delete@this.protonmail.com) on October 19, 2022 2:35 pm wrote:

> Very interesting.
>
> May it also be possible to, let's say, use a kernel module that uses those instructions
> exclusively, and then interface it though a userspace library?
>
> In such case, I understand the operations would be done in kernel space which
> doesn't require saving states (as it's running in kernel mode, which is a single
> address space) and these extensions would be accessed through this library.

It's been a while since I've done anything in this area. That said, to avoid needing a mechanism to save states, wouldn't you need to either (a) disable interrupts while using these resources or (b) make the bet that nothing else on the system touches them?
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
How would undocummented, private ISA extensions work in Linux-based systems?Ana Rodriguez2022/10/19 11:12 AM
  How would undocummented, private ISA extensions work in Linux-based systems?Chester2022/10/19 12:11 PM
    How would undocummented, private ISA extensions work in Linux-based systems?Doug S2022/10/19 12:22 PM
    How would undocummented, private ISA extensions work in Linux-based systems?Ana Rodriguez2022/10/19 01:20 PM
      How would undocummented, private ISA extensions work in Linux-based systems?Ana Rodriguez2022/10/19 01:27 PM
        How would undocummented, private ISA extensions work in Linux-based systems?nksingh2022/10/19 02:05 PM
          How would undocummented, private ISA extensions work in Linux-based systems?Ana Rodriguez2022/10/19 02:35 PM
            How would undocummented, private ISA extensions work in Linux-based systems?Geoff Langdale2022/10/19 05:15 PM
              How would undocummented, private ISA extensions work in Linux-based systems?Chester2022/10/20 12:01 PM
        How would undocummented, private ISA extensions work in Linux-based systems?---2022/10/19 07:01 PM
        How would undocummented, private ISA extensions work in Linux-based systems?Doug S2022/10/19 10:08 PM
        How would undocummented, private ISA extensions work in Linux-based systems?Eric Fink2022/10/20 04:10 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell tangerine? 🍊