[Hexagon] 3-source HVX shift packet restrictions (#244653)
The four narrowing shift by vector instructions cannot be scheduled in
one packet with a non-unary ALU instruction or a permute (CVI_VP)
instruction.
Co-authored-by: Adarsha Regmi <aregmi at qti.qualcomm.com>
Co-authored-by: Yashas Andaluri <yandalur at qti.qualcomm.com>
18766 nscd ignored error during startup, leaving its clients hung
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Approved by: Dan McDonald <danmcd at oxide.computer>
Services: Kea DHCPv4/6: Align domain registration of static reservations with ddns_qualifying_suffix instead of overloading DHCP options (#11243)
* Services: Kea DHCPv4/6: Align domain registration of static reservations with ddns_qualifying_suffix instead of overloading DHCP options"
* Fix small issue that when one address family was disabled it also skipped registration of the other
(cherry picked from commit fca582fab0df137888312a4a35e93da64275c5fb)
system: name the setting in backup provider validation messages (#11188)
Base::validateModel() passed the model's messages on as they are, so the
backup page could show "A value is required." without saying which
setting it is about, and an IntegerField's message twice, once for its
range check and once for its integer check. Lead each message with the
field's label from getConfigurationFields(), whose names are the model's
field names, and drop repeats.
(cherry picked from commit f3b42322acf164912ed1bd95aac2da5e060eb47f)
firmware: make subscription and flavour use more strict
While here also mark firmware component as "unrestricted", because
being able to update is a sensitive administrative task always.
PR: GHSA-89wp-xvvm-9pp4
(cherry picked from commit 14dfa1cd3d7d86bfe2d52a5e1bc416833b491c31)
Firewall: NAT: Port Forward - do not count the template rule of an empty list (#11288)
With no port forward rules the model loads a virtual template rule, and
DNatSequenceField numbered its empty sequence on load, so the first rule
added got 200 rather than 100. Skip virtual nodes.
(cherry picked from commit bab0c07d10b9885bccc0b568ce298dbb798320ca)
intrusion detection: pattern matcher "hs" is now provided by Vectorscan (#10953)
Suricata links against devel/vectorscan instead of devel/hyperscan
when built with the VECTORSCAN option. The value stays "hs" since
this is what Suricata calls it.
(cherry picked from commit c444c29d85cfaaed97e03737e2123844f3a14e29)
Services: Kea DHCPv6: Waste less Prefix space when calculating IA_NA and IA_PD (#11234)
* Services: Kea DHCPv6: Waste less Prefix space when calculating IA_NA and IA_PD
Reserve only the first delegation-sized block, or a /64 when larger,
for on-link IA_NA use. Make the remaining space available to IA_PD
through multiple non-overlapping CIDR pools instead of using only
the upper half of the interface prefix.
For example, a /57 with /60 delegations now provides seven /60s
instead of four, reserving the first /60 for on-link use.
Add Util tests covering prefix splitting and the resulting PD capacity.
(cherry picked from commit 92301af702577a17db74daae7d20927e1a25b5c8)
Firewall: Migration Assistant: Fallback generate an UUID when empty, to prevent duplicates if export is imported twice and some entries lack UUID (#11244)
* Firewall: Migration Assistant: Generate an uuid on export, to at least prevent duplicates if users import the same legacy export twice.
* Generate a UUID from the target_rule to make it stable across exports
* For unlikely cases, add the same uuid fallback to the legacy firewall exporter as well
(cherry picked from commit 002c832fd9cdd9c52cb970d4fdf6ac56a2d3106e)
Interfaces: Devices: Point-to-Point - validate array fields as well. (#11263)
The line ending validation only covered scalar POST fields, while the per-link fields are posted as arrays. Validate the array elements as well and require the per-link MTU, MRU and MRRU values to be integers.
PR: GHSA-f35q-c34m-pfw3
(cherry picked from commit 55d5961bbdd6c62725e44749ad84db8245e18f57)
[mlir][ODS] Register the operations of a dialect by default
Dialects registered their ODS operations by expanding `GET_OP_LIST` into
`addOperations` in `initialize`, while sharded and partitioned dialects
had to call the generated `register<Dialect>Operations` themselves.
This was not only an inconsistent interface but also boilerplate for every dialect definition.
Like attributes and types do since https://github.com/llvm/llvm-project/pull/243481, operations are now only registered by a generated
`register<Dialect>Operations` hook that the generated dialect
constructor calls, for all generated files whether sharded, partitioned
or neither (i.e., we are consistent again!).
Contrary to attributes and types, this is the default, as
almost every dialect defines operations in ODS. Dialects without
operations, or that register them manually, set
`useDefaultOperationRegistration` to 0. `-op-registration-name` names the
hooks of dialects whose operations are generated from several files.
Dialects whose `initialize` would now be empty can set `hasInitializer`
to 0 instead of defining an empty one.
[9 lines not shown]
Firewall: Aliases, Groups, Sessions - fix group name check, nested alias label and IPv6 /128 masks (#11260)
(cherry picked from commit 79706be9f9320ae73607f3aefcfb52f571dbb109)
[MLIR] Fix LICM hoisting of tensor.pad regions (#245008)
- Replace the `Pure` trait on `tensor.pad` with
`RecursiveMemoryEffects`, accounting for effects in its padding region.
`tensor.pad` was marked as `Pure` regardless of the operations inside
its padding region. This allowed loop-invariant code motion (LICM) to
hoist the operation out of a loop, potentially executing operations in
the padding region that would otherwise never run.
Using `RecursiveMemoryEffects` ensures that the effects of the padding
region are considered, consistent with `tensor.generate`.
Related to https://github.com/llvm/llvm-project/issues/241711