enlightenment-current: mark upstream merged patches
The patches in this commit are already upstreamed as part of:
https://git.enlightenment.org/enlightenment/enlightenment/pulls/139
Note: wizard_page_120.c is partially merged, meaning the above PR
contains only part of the patch (NetBSD) in the upstream source.
[MCParser] Share identifier character set with isMacroArgChar (#219084)
Move the predicate to the header so that it can be used by the macro
argument name checker. Replace the incorrect local-sensitive isalnum()
with ASCII-only llvm::isAlnum(). Identifier character set accepting '?'
is a MC extension: https://reviews.llvm.org/D1978
While here, fix some minor bound checking related minor issues.
LLM-aided
[unittests][IR] Fix VPIntrinsicTest after removal of trivial VP intrinsics (#219454)
ad9138f6b784 removed llvm.vp.{add,sub,mul,and,or,xor,ashr,lshr,shl} but
didn't update VPIntrinsicTest.cpp, which still declared/used them. The
test still passes today only because UpgradeCallsToIntrinsic silently
erases these now-unregistered bare declarations during parsing (no call
sites to rewrite), so the test never actually exercises them. Drop them
from BinaryIntOpcodes and switch llvm.vp.mul to llvm.vp.sdiv in
CanIgnoreVectorLength/VPReductions.
---------
Co-authored-by: Claude Sonnet 5 <noreply at anthropic.com>
[SSAF][EntityPointerLevel] Add an intermediate data structure DeclPointerLevel (#218196)
This is the first of three patches aimed at solving a non-termination
problem when using DFS in the pointer-flow graph.
Problem & context:
Currently, the pointer-flow graph creates exactly one edge corresponding
to an assignment in the source code. For example, a pointer assignment
`p = q;` results in an edge `(p, i) -> (q, j)` for some pointer levels
`i` and `j`. In unsafe buffer propagation, this edge encodes the meaning
that if `p` is bounded, `q` must also be bounded. Additionally, if
`*p/p[x]` is bounded, `*q/q[y]` must be bounded, and so on until the
maximum pointer level of `p` or `q` is reached.
Because of this, during DFS, a node `(p, i+1)` can reach `(q, j+1)`
through the edge `(p, i) -> (q, j)`. This logic is correct only when `p`
and `q` have compatible types, which is true for most cases due to
standard type checking. However, this assumption breaks down with
pointer casts. A cast like `a = (T)b` contributes an edge `(a, x) -> (b,
[25 lines not shown]
[ORC] Have ProxySpec call callWrapperAsync directly (#219673)
ProxySpec now drives shared::WrapperFunction<SPSSigT>::callAsync itself,
supplying a Caller that forwards to ExecutionSession::callWrapperAsync,
rather than going through ExecutionSession::callSPSWrapperAsync (which
does the same thing internally). This is a step towards removing
callSPSWrapperAsync (and other SPS-specific call APIs) from
ExecutionSession, so that callWrapperAsync remains the only core call
primitive and SPS is not baked into the core APIs.
e1000: Recover from igb(4) controller DEV_RST
CTRL.DEV_RST resets every port on an 82580 and newer igb device.
Hardware reports the event to each affected function through ICR.DRSTA
and requires software to reinitialize the port registers and descriptor
rings. The driver neither enabled nor handled this cause, so a reset
initiated by another function could leave a running interface using
stale state.
In FreeBSD, we do not currently send this, but other OSes including
Linux do, so a PF passed through to such a guest or FreeBSD as a guest
running with a passthrough PF on the same controller can be wedged.
Enable DRSTA for 82580 and newer PFs in both MSI-X and shared MSI/legacy
modes. Bit 30 is reserved on 82575 and is the TCP timer on 82576, so
leave it masked on those parts. Latch the event without programming
port registers from the interrupt filter. Defer the iflib reset request
to admin-task context because the request takes STATE_LOCK. Use IAM to
auto-mask shared interrupts on the first ICR read. Keep admin,
[40 lines not shown]
science/orthanc: Clean up pkg-descr
Really a bogus commit to amend the faulty "Changes" line in
the 1.13.0 upgrade commit.
1.13.0 Changes: https://orthanc.uclouvain.be/hg/orthanc/file/ \
Orthanc-1.13.0/NEWS
science/orthanc: Clean up pkg-descr
Really a bogus commit to amend the faulty "Changes" line in
the 1.13.0 upgrade commit.
1.13.0 Changes: https://orthanc.uclouvain.be/hg/orthanc/file/ \
Orthanc-1.13.0/NEWS
enlightenment-current: sync with upstream patches
The patches in this commit are already upstreamed as part of:
https://git.enlightenment.org/enlightenment/enlightenment/pulls/139
Modfified existing patches to be the same as upstream,
to ease package update when new enlightenment version gets released.