[flang] Fix value separators for CHARACTER array output (#205303)
Fixes #192936
Undelimited character values in namelist output might not be readable as
namelist input (F'2018 13.11.4.2 NOTE 1). Emit a warning for namelist
WRITE/PRINT when a group item has CHARACTER data and DELIM= is absent or
'NONE'. DELIM='NONE' runtime output is unchanged, and a runtime test is
added for DELIM='QUOTE' namelist output and read-back.
The warning is enabled by default since the affected users are the ones
who would not opt in; it can be disabled with
-Wno-undelimited-namelist-character.
net: dpaa2-eth: fix objtool warning and logic bug
This commit came about because I locally had a build with COMPILE_TEST
and various runtime hardening features (that don't make sense for a pure
build test anyway) disabled - and objtool complained about some of the
code as a result:
drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.o: warning: objtool: dpaa2_eth_add_bufs+0x3f8: stack state mismatch: reg1[15]=-1+0 reg2[15]=-2-208
The reason seems to be that without the hardening features, objtool
notices that gcc is doing really odd things with the 'page' variable,
which is uninitialized in the path where 'ch->xsk_zc' is true.
Now, this seems to be just objtool becoming confused about some ugly
code, but that code is _also_ actively buggy in a different way, so
let's just fix this all.
What confuses objtool seems to be the stack slot for the uninitialized
'page' variable - for the case where that variable isn't actually used.
[54 lines not shown]
[llubi] Refactor library into llvm/lib (#223745)
This makes it easier for out-of-tree consumers to use the LLUBI library
for use cases where LLUBI is a good replacement for ExecutionEngine
(e.g., fuzzing workloads).
Part of
https://discourse.llvm.org/t/rfc-delete-executionengine-interpreter/91720.
check for expired/signal-deleted keys before processing each request
rather than once per ppoll() round. Avoids keys being left available
for use if multiple messages were read in one mainloop iteration.
Anthropic ANT-2026-SHP0BXZS
increase maximum message length for PKCS#11 helper to slightly
over 256KB. Avoids helper fatal() when a certificate over 10KB
is added.
Anthropic ANT-2026-RYQEXQ8K
nd6: Keep addresses tentative in in6_if_up
in6_if_up() runs from the IFNET_EVENT_UP handler on every
IFF_UP 0->1 transition, whether or not the interface is ifdisabled.
Ignore state transitions in in6_if_up() for now.
Reported by: llm-postcr
Fixes: f0ce2ae67f9f ("nd6: Do not make SLAAC addresses usable with ifdisabled")
nd6: Keep addresses tentative in in6_if_up
in6_if_up() runs from the IFNET_EVENT_UP handler on every
IFF_UP 0->1 transition, whether or not the interface is ifdisabled.
Ignore state transitions in in6_if_up() for now.
Reported by: llm-postcr
Fixes: f0ce2ae67f9f ("nd6: Do not make SLAAC addresses usable with ifdisabled")
[Xtensa] Reserve the emergency spill slot for unencodable frame offsets (#243518)
We want to reserve an emergency spill slot when a frame offset cannot be
encoded in the instruction. This can happen when the instruction's reach
is not enough, when the offset isn't a multiple of the instruction's offset
scale (e.g. with inline assembly), or when incoming arguments push the
address out of reach.
Compute an upper bound on the stack size: start from
MachineFrameInfo::estimateStackSize() (which can underestimate) and add
each object's worst-case alignment padding. Then check whether every
instruction can encode its frame offset. Since the layout isn't known
yet, check against every offset the object could end up at. Reserve the
slot if any instruction can't.
We can also skip reserving a slot for instructions that can reuse their
destination register for the address calculation, specifically far
loads.
[6 lines not shown]