[SPIRV] Emit DebugLexicalBlockDiscriminator for a DILexicalBlockFile.
A location scoped at a DILexicalBlockFile was emitted as a DebugScope of the compilation unit, so the discriminator did not round-trip.
Use the discriminator as the DebugScope operand, matching SPIRV-LLVM-Translator.
[SPIRV] Drop --verify-machineinstrs from new lexical-block RUN lines.
The machine verifier already runs on the buildbots.
Co-authored-by: Cursor <cursoragent at cursor.com>
[SPIRV] Drop --verify-machineinstrs from new forward-ref tests.
The machine verifier already runs on the buildbots.
Co-authored-by: Cursor <cursoragent at cursor.com>
[SPIRV] Forward-reference debug scopes with a reserved result id.
Visiting a scope reserves its result id. With SPV_KHR_relaxed_extended_instruction a back edge uses that id through OpExtInstWithForwardRefsKHR, and a later failure defines it as DebugInfoNone when an emitted instruction already named it.
Without the extension the edge is dropped and a later walk can retry the scope.
[SPIRV] Expect no unlisted DebugTypeMember in the self-pointer forward-refs test.
Without forward references, member next is no longer emitted after S and
its pointer, since S cannot list it.
Co-authored-by: Cursor <cursoragent at cursor.com>
riscv: Incoming MSI Controller support.
Support for Incoming Message Signalling Interrupt Controller (IMSIC)
defined by the RISC-V Advanced Interrupt Architecture (AIA) specification.
This is based on early work of Himanshu Chauhan on IMSIC support for
IPI delivery. This change, however, does not include IPI delivery support,
instead it provides MSI support for peripheral devices.
IMSIC is a core-local interrupt controller with non-global interrupts,
which means that interrupt identity is effectively (hart, interrupt ID).
When IMSIC present on hart, APLIC does not trap the CPU directly,
instead it delivers the interrupt to the IMSIC instance associated with
the target hart. Upon reception of interrupt, IMSIC on hart invokes APLIC
for handling. Note that PCIe devices deliver interrupt directly to IMSIC.
Apart from IMSIC support, this includes APLIC changes:
- Obtain the interrupt trigger type from FDT and configure the interrupt
[9 lines not shown]
riscv intc: convert to a bus.
Convert the RISC-V Interrupt Controller (INTC) device to a bus;
try to find and attach Incoming Message Signalling Interrupt Controller
(IMSIC) device.
This allows to establish parent-child relationships between two and
to propagate PIC_INIT_SECONDARY call from the INTC (parent) to the
IMSIC (child).
Reviewed by: mhorne, mmel
Sponsored by: EPSRC ("UKRI3001: CHERI Research Centre")
Differential Revision: https://reviews.freebsd.org/D59813
net-mgmt/py-napalm-logs: Update to 0.11.0
0.9.0 fails on Python 3.12+: napalm_logs.base imports imp (removed
in 3.12) to load the Python device profiles, and it calls yaml.load()
without a Loader, which PyYAML 6 rejects, so no YAML profile loads.
0.11.0 fixes the YAML loading.
Also add some patches to fix the following issues:
* Replace the imp calls with importlib.
* napalm_logs/__init__.py imports pkg_resources to look up its
version; pkg_resources is deprecated and only available with
setuptools, which is not a run dependency. Use importlib.metadata.
* The authenticator process and the ClientAuth helper call
ssl.wrap_socket(), removed in Python 3.12, so the auth process
crashes on the first connection and clients cannot authenticate.
Use SSLContext with the same behaviour.
[12 lines not shown]
nim: pass CFLAGS and LDFLAGS to nim
Nim doesn't care about CFLAGS and LDFLAGS env variables but rather has its own
--passC/--passL options to pass variables to the C Compiler or to the linker.
Find out more here:
https://nim-lang.org/docs/nimc.html
net-mgmt/py-napalm-logs: Update to 0.11.0
0.9.0 fails on Python 3.12+: napalm_logs.base imports imp (removed
in 3.12) to load the Python device profiles, and it calls yaml.load()
without a Loader, which PyYAML 6 rejects, so no YAML profile loads.
0.11.0 fixes the YAML loading.
Also add some patches to fix the following issues:
* Replace the imp calls with importlib.
* napalm_logs/__init__.py imports pkg_resources to look up its
version; pkg_resources is deprecated and only available with
setuptools, which is not a run dependency. Use importlib.metadata.
* The authenticator process and the ClientAuth helper call
ssl.wrap_socket(), removed in Python 3.12, so the auth process
crashes on the first connection and clients cannot authenticate.
Use SSLContext with the same behaviour.
[11 lines not shown]
Revert "snd_hda: Identify AMD Audio Coprocessor"
Apparently this device might need a separate driver altogether.
This reverts commit 8dac0bdb4df0815e14db219e9a7fb5d0be5737b8.
interfaces: pass interfaces correctly to IPsec, Unbound during reconfiguration; closes #11083
Also update "updateip" but that's only for consistency reasons.
We're dealing with 5 different spots here and some are more direct/relevant
than others:
1. MVC apply
2. Legacy apply
3. rc.linkup
4. rc.configure_interface
4. setaddr.php