Updating to the latest korg -stable release that comprises
the following commits:
4e67be407725 Linux 5.15.44
50196b5d73dc ALSA: ctxfi: Add SB046x PCI ID
ea5b87349d5a random: check for signals after page of pool writes
3e167570a951 random: wire up fops->splice_{read,write}_iter()
0789c69644c8 random: convert to using fops->write_iter()
7f8cea12a494 random: convert to using fops->read_iter()
6244da28c6b3 random: unify batched entropy implementations
64cb7f01ddd2 random: move randomize_page() into mm where it belongs
55a368c3e850 random: move initialization functions out of hot pages
542a60612d2a random: make consistent use of buf and len
29ed26a33436 random: use proper return types on get_random_{int,long}_wait()
55729575eaa9 random: remove extern from functions in header
c6ae9d65bcdb random: use static branch for crng_ready()
4e5e6754a4b6 random: credit architectural init the exact amount
11cce5040c29 random: handle latent entropy and command line from random_init()
ac0172992c94 random: use proper jiffies comparison macro
8df752b82ec5 random: remove ratelimiting for in-kernel unseeded randomness
272b79432f66 random: move initialization out of reseeding hot path
c4e600154ac0 random: avoid initializing twice in credit race
23a1b984f4b8 random: use symbolic constants for crng_init states
f4cb809a90df siphash: use one source of truth for siphash permutations
82caef84092e random: help compiler out with fast_mix() by using simpler arguments
4649394c4749 random: do not use input pool from hard IRQs
df4e319ea60f random: order timer entropy functions below interrupt functions
baf06217704b random: do not pretend to handle premature next security model
0d24003b5fde random: use first 128 bits of input as fast init
0d79a47b4ae0 random: do not use batches when !crng_ready()
1ab530cf40dc random: insist on random_get_entropy() existing in order to simplify
e6bd242523e8 xtensa: use fallback for random_get_entropy() instead of zero
b4582cb35167 sparc: use fallback for random_get_entropy() instead of zero
d876dca6edf3 um: use fallback for random_get_entropy() instead of zero
e017497815f3 x86/tsc: Use fallback for random_get_entropy() instead of zero
38fbfa404da6 nios2: use fallback for random_get_entropy() instead of zero
197d25e068c0 arm: use fallback for random_get_entropy() instead of zero
9e6db825e87a mips: use fallback for random_get_entropy() instead of just c0 random
2ab416043a94 riscv: use fallback for random_get_entropy() instead of zero
a1428cd7e194 m68k: use fallback for random_get_entropy() instead of zero
82f182812f17 timekeeping: Add raw clock fallback for random_get_entropy()
bc94ccb2904e powerpc: define get_cycles macro for arch-override
8ca78fbdeba0 alpha: define get_cycles macro for arch-override
9bf990cff673 parisc: define get_cycles macro for arch-override
e05efd31b9db s390: define get_cycles macro for arch-override
9f174326e35c ia64: define get_cycles macro for arch-override
807ed9c29586 init: call time_init() before rand_initialize()
2814a9e632db random: fix sysctl documentation nits
4179671f496b random: document crng_fast_key_erasure() destination possibility
8b373c113a4c random: make random_get_entropy() return an unsigned long
b8078810e44d random: allow partial reads if later user copies fail
ccaaff57ed50 random: check for signals every PAGE_SIZE chunk of /dev/[u]random
02c2e2ca3610 random: check for signal_pending() outside of need_resched() check
e7e196e1ae26 random: do not allow user to keep crng key around on stack
be7561767ce8 random: do not split fast init input in add_hwgenerator_randomness()
636b057e2a1a random: mix build-time latent entropy into pool at init
3967a200367c random: re-add removed comment about get_random_{u32,u64} reseeding
25727cbbe9b4 random: treat bootloader trust toggle the same way as cpu trust toggle
a704248b4590 random: skip fast_init if hwrng provides large chunk of entropy
3689ac035180 random: check for signal and try earlier when generating entropy
94c8249efa76 random: reseed more often immediately after booting
99290c6898b2 random: make consistent usage of crng_ready()
0c66c876393b random: use SipHash as interrupt entropy accumulator
6da877d2d46b random: replace custom notifier chain with standard one
39c9e5566ac5 random: don't let 644 read-only sysctls be written to
e4e1600a674f random: give sysctl_random_min_urandom_seed a more sensible value
2c60d7f38d64 random: do crng pre-init loading in worker rather than irq
1523ec5324e9 random: unify cycles_t and jiffies usage and types
fdb1e54472c3 random: cleanup UUID handling
c169e7a09cd4 random: only wake up writers after zap if threshold was passed
e400ba11a241 random: round-robin registers as ulong, not u32
144c1e7ecf00 random: clear fast pool, crng, and batches in cpuhp bring up
80c1f7f8f3cd random: pull add_hwgenerator_randomness() declaration into random.h
98d6def672fd random: check for crng_init == 0 in add_device_randomness()
9df4a56fad32 random: unify early init crng load accounting
d386b087056a random: do not take pool spinlock at boot
3c48a2da32ef random: defer fast pool mixing to worker
9489e36e2150 random: rewrite header introductory comment
9385681af846 random: group sysctl functions
96340f035df6 random: group userspace read/write functions
74b704245f31 random: group entropy collection functions
43e87e6f3317 random: group entropy extraction functions
019e057db9b1 random: group crng functions
81e62ff1f650 random: group initialization wait functions
d3a2510216b4 random: remove whitespace and reorder includes
30c52e99db0d random: remove useless header comment
95f85a01584e random: introduce drain_entropy() helper to declutter crng_reseed()
c807eca035c3 random: deobfuscate irq u32/u64 contributions
f641f9495d6f random: add proper SPDX header
ce951e9672df random: remove unused tracepoints
4509941f75ac random: remove ifdef'd out interrupt bench
ad5d17d0faf9 random: tie batched entropy generation to base_crng generation
86ab60616ec6 random: fix locking for crng_init in crng_reseed()
d2d1ad9430b1 random: zero buffer after reading entropy from userspace
eda555356b39 random: remove outdated INT_MAX >> 6 check in urandom_read()
5dd066ade820 random: make more consistent use of integer types
ba789caa17a0 random: use hash function for crng_slow_load()
b27bd09d0544 random: use simpler fast key erasure flow on per-cpu keys
1aab83f96663 random: absorb fast pool into input pool after fast load
4a18db164cbb random: do not xor RDRAND when writing into /dev/random
b51caadb18a7 random: ensure early RDSEED goes through mixer on init
fd6eb2800589 random: inline leaves of rand_initialize()
5e4fab6fefb1 random: get rid of secondary crngs
ded4cc806d0d random: use RDSEED instead of RDRAND in entropy extraction
704c76e08804 random: fix locking in crng_fast_load()
67fdda9af773 random: remove batched entropy locking
ad86aa8ec90f random: remove use_input_pool parameter from crng_reseed()
1bc9db59b24c random: make credit_entropy_bits() always safe
3730490111ca random: always wake up entropy writers after extraction
cb65ac300816 random: use linear min-entropy accumulation crediting
a6beb8155b9c random: simplify entropy debiting
a5e2c8a4574a random: use computational hash for entropy extraction
add92df1cb37 random: only call crng_finalize_init() for primary_crng
07e015230415 random: access primary_pool directly rather than through pointer
b53c9666e714 random: continually use hwgenerator randomness
c1dc53d781fd random: simplify arithmetic function flow in account()
2f0e83e8326b random: selectively clang-format where it makes sense
db7a0a9171ed random: access input_pool_data directly rather than through pointer
c25c7e29be27 random: cleanup fractional entropy shift constants
68512942c0d7 random: prepend remaining pool constants with POOL_
2772ba4d5223 random: de-duplicate INPUT_POOL constants
da80b44cf9cf random: remove unused OUTPUT_POOL constants
f9efa1a98831 random: rather than entropy_store abstraction, use global
b6d849d0e2f8 random: remove unused extract_entropy() reserved argument
578fbb760064 random: remove incomplete last_data logic
8aa9ddc4db29 random: cleanup integer types
4330c485f92c random: cleanup poolinfo abstraction
250bda5d0505 random: fix typo in comments
15a1a3baf14f random: don't reset crng_init_cnt on urandom_read()
d47579fb283a random: avoid superfluous call to RDRAND in CRNG extraction
0c3910447110 random: early initialization of ChaCha constants
5822fad8d3dc random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
69bb5f0917f9 random: harmonize "crng init done" messages
c4c9081184e9 random: mix bootloader randomness into pool
1b1258b91757 random: do not re-init if crng_reseed completes before primary init
08040365d0b7 random: do not sign extend bytes for rotation when mixing
2e827d53343a random: use BLAKE2s instead of SHA1 in extraction
c5a7694fa802 random: remove unused irq_flags argument from add_interrupt_randomness()
40af1df8034a random: document add_hwgenerator_randomness() with other input functions
45626449eb25 lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI
b0cdd9ec8445 lib/crypto: sha1: re-roll loops to reduce code size
cba2195416d4 lib/crypto: blake2s: move hmac construction into wireguard
caba66ec322e lib/crypto: blake2s: include as built-in
830ecbae41a7 MAINTAINERS: add git tree for random.c
12d7163380a2 MAINTAINERS: co-maintain random.c
0da5349e2254 ACPI: sysfs: Fix BERT error region memory mapping
bf5a3c51e9f7 ice: fix crash at allocation failure
acd12d165281 KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
f82ccfa4835b HID: amd_sfh: Add support for sensor discovery
(From OE-Core rev: 87f0b01ea3a920eb881f9ef58e8d6a4f0606231b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20bd31326564cfb29e1442e8bbe2f9765aad5992)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poky
Poky is an integration of various components to form a pre-packaged build system and development environment which is used as a development and validation tool by the Yocto Project. It features support for building customised embedded style device images and custom containers. There are reference demo images ranging from X11/GTK+ to Weston, commandline and more. The system supports cross-architecture application development using QEMU emulation and a standalone toolchain and SDK suitable for IDE integration.
Additional information on the specifics of hardware that Poky supports is available in README.hardware. Further hardware support can easily be added in the form of BSP layers which extend the systems capabilities in a modular way. Many layers are available and can be found through the layer index.
As an integration layer Poky consists of several upstream projects such as BitBake, OpenEmbedded-Core, Yocto documentation, the 'meta-yocto' layer which has configuration and hardware support components. These components are all part of the Yocto Project and OpenEmbedded ecosystems.
The Yocto Project has extensive documentation about the system including a reference manual which can be found at https://docs.yoctoproject.org/
OpenEmbedded is the build architecture used by Poky and the Yocto project. For information about OpenEmbedded, see the OpenEmbedded website.
Contribution Guidelines
The project works using a mailing list patch submission process. Patches should be sent to the mailing list for the repository the components originate from (see below). Throughout the Yocto Project, the README files in the component in question should detail where to send patches, who the maintainers are and where bugs should be reported.
A guide to submitting patches to OpenEmbedded is available at:
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
There is good documentation on how to write/format patches at:
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Where to Send Patches
As Poky is an integration repository (built using a tool called combo-layer), patches against the various components should be sent to their respective upstreams:
OpenEmbedded-Core (files in meta/, meta-selftest/, meta-skeleton/, scripts/):
- Git repository: https://git.openembedded.org/openembedded-core/
- Mailing list: openembedded-core@lists.openembedded.org
BitBake (files in bitbake/):
- Git repository: https://git.openembedded.org/bitbake/
- Mailing list: bitbake-devel@lists.openembedded.org
Documentation (files in documentation/):
- Git repository: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/
- Mailing list: docs@lists.yoctoproject.org
meta-yocto (files in meta-poky/, meta-yocto-bsp/):
- Git repository: https://git.yoctoproject.org/cgit/cgit.cgi/meta-yocto
- Mailing list: poky@lists.yoctoproject.org
If in doubt, check the openembedded-core git repository for the content you intend to modify as most files are from there unless clearly one of the above categories. Before sending, be sure the patches apply cleanly to the current git repository branch in question.