<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>4a86220e - HID: bpf: remove tracing HID-BPF capability</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/hid/bpf/Makefile#4a86220e</link>
        <description>HID: bpf: remove tracing HID-BPF capabilityWe can now rely on struct_ops as we cleared the users in-tree.Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-8-6ac6ade58329@kernel.orgSigned-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/hid/bpf/Makefile</description>
        <pubDate>Sat, 08 Jun 2024 09:01:20 +0000</pubDate>
        <dc:creator>Benjamin Tissoires &lt;bentiss@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ebc0d809 - HID: bpf: implement HID-BPF through bpf_struct_ops</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/hid/bpf/Makefile#ebc0d809</link>
        <description>HID: bpf: implement HID-BPF through bpf_struct_opsWe do this implementation in several steps to not have the CI failing:- first (this patch), we add struct_ops while keeping the existing infra  available- then we change the selftests, the examples and the existing in-tree  HID-BPF programs- then we remove the existing trace points making old HID-BPF obsoleteThere are a few advantages of struct_ops over tracing:- compatibility with sleepable programs (for hid_hw_raw_request() in  a later patch)- a lot simpler in the kernel: it&apos;s a simple rcu protected list- we can add more parameters to the function called without much trouble- the &quot;attach&quot; is now generic through BPF-core: the caller just needs to  set hid_id and flags before calling __load().- all the BPF tough part is not handled in BPF-core through generic  processing- hid_bpf_ctx is now only writable where it needs beAcked-by: Alexei Starovoitov &lt;ast@kernel.org&gt;Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-3-6ac6ade58329@kernel.orgSigned-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/hid/bpf/Makefile</description>
        <pubDate>Sat, 08 Jun 2024 09:01:15 +0000</pubDate>
        <dc:creator>Benjamin Tissoires &lt;bentiss@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>f5c27da4 - HID: initial BPF implementation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/hid/bpf/Makefile#f5c27da4</link>
        <description>HID: initial BPF implementationDeclare an entry point that can use fmod_ret BPF programs, andalso an API to access and change the incoming data.A simpler implementation would consist in just callinghid_bpf_device_event() for any incoming event and let users dealwith the fact that they will be called for any event of any device.The goal of HID-BPF is to partially replace drivers, so this situationcan be problematic because we might have programs which will step oneach other toes.For that, we add a new API hid_bpf_attach_prog() that can be calledfrom a syscall and we manually deal with a jump table in hid-bpf.Whenever we add a program to the jump table (in other words, when weattach a program to a HID device), we keep the number of time we addedthis program in the jump table so we can release it whenever there areno other users.HID devices have an RCU protected list of available programs in thejump table, and those programs are called one after the other thanksto bpf_tail_call().To achieve the detection of users losing their fds on the programs weattached, we add 2 tracing facilities on bpf_prog_release() (for whena fd is closed) and bpf_free_inode() (for when a pinned program getsunpinned).Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;

            List of files:
            /linux-6.15/drivers/hid/bpf/Makefile</description>
        <pubDate>Thu, 03 Nov 2022 15:57:44 +0000</pubDate>
        <dc:creator>Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
