summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-20drm/amd/pm: conditionally disable pcie lane switching for some ↵Jonathan Gray
sienna_cichlid SKUs From Evan Quan 416ba40ff3c4ecafbed19029c9e9884a7fee3da5 in linux-6.1.y/6.1.34 38e4ced804796c5725e2a52ec3601951552c4a97 in mainline linux
2023-06-20drm/i915/gt: Use the correct error value when kernel_context() failsJonathan Gray
From Andi Shyti 8d42c563e4ddbe2d0d71249f137b02daa66972db in linux-6.1.y/6.1.34 40023959dbab3c6ad56fa7213770e63d197b69fb in mainline linux
2023-06-20drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vramJonathan Gray
From Horatio Zhang c5a17f3247bd7f6c2e22678dbfcd73832f487e3f in linux-6.1.y/6.1.34 2a1eb1a343208ce7d6839b73d62aece343e693ff in mainline linux
2023-06-20drm/i915/selftests: Add some missing error propagationJonathan Gray
From Tvrtko Ursulin 76eef453a675794e98400c8889446b1503a9dfa6 in linux-6.1.y/6.1.34 79d0150d2d983a4f6efee676cea06027f586fcd0 in mainline linux
2023-06-20drm/i915/selftests: Stop using kthread_stop()Jonathan Gray
From Tvrtko Ursulin 4e7f1f6da79e1acda58b738e34ff972821d13072 in linux-6.1.y/6.1.34 6407cf533217e09dfd895e64984c3f1ee3802373 in mainline linux
2023-06-20drm/i915: Use 18 fast wake AUX sync lenJonathan Gray
From Jouni Hogander 5f285409c91bb97d78b05477d57a921ba1156465 in linux-6.1.y/6.1.34 2d6f2f79e06571d41eb1223abebe9097511c9544 in mainline linux
2023-06-20drm/i915: Explain the magic numbers for AUX SYNC/precharge lengthJonathan Gray
From Ville Syrjala 7bf7bebdc20df3d53a6c7af583d704e811fed85d in linux-6.1.y/6.1.34 26bfc3f36f2104c174dfc72415547d5c28ef3f1c in mainline linux
2023-06-20reset comment=NULL for each key in do_fingerprint(); fixes "no comment"Damien Miller
not showing on when running `ssh-keygen -l` on multiple keys where one has a comment and other following keys do not. Patch from Markus Kuhn via GHPR407, bz3580
2023-06-19"%-Ns\n" is more appropriately "%s\n" to avoid adding extraneousKenneth R Westerback
blanks to the end of the line. Unexpected line wrapping noticed by kettenis@, cause spotted by deraadt@ Nuke an unused variable in passing.
2023-06-19Make enginetest work with disabled engine supportTheo Buehler
2023-06-19Fix GOST test with disabled engineTheo Buehler
2023-06-19Properly guard ENGINE usage with !OPENSSL_NO_ENGINETheo Buehler
2023-06-19Drop test for msgbuf_drain() since that function is no longer part of theClaudio Jeker
public API.
2023-06-19syncClaudio Jeker
2023-06-19Improve the ibuf API by adding these functions:Claudio Jeker
Functions extending ibuf_add to work with more specific data types ibuf_add_buf, ibuf_add_zero, ibuf_add_n8, ibuf_add_n16, ibuf_add_n32, ibuf_add_n64 Functions replacing ibuf_seek where data at a specific offset is modified ibuf_set, ibuf_set_n8, ibuf_set_n16, ibuf_set_n32, ibuf_set_n64 Functions to check, get and set the filedescriptor stored on the ibuf ibuf_fd_avail, ibuf_fd_get, ibuf_fd_set and ibuf_data() to access the data buffer, to be used together with ibuf_size() On top of this add an optimized imsg_compose_ibuf() where an ibuf is wrapped into an imsg in an efficent way. Finally remove msgbuf_drain since it is not used by anything outside of the ibuf code. Because of this removal bump the major of libutil. Remove ibuf_data() in iked since the same function is now provided by libutil. OK tb@
2023-06-19Replace eclectic mix of errx(4, "out of memory"), err(4, NULL)Kenneth R Westerback
and err(1, NULL) with consistent err(1, NULL) when responding to out of memory conditions.
2023-06-19Fix RK3588 support. Makes dwmmc(4) actually work.Mark Kettenis
ok patrick@
2023-06-19The group "operator" gatekeeps a few superuser abilities (dumping disks,Theo de Raadt
manipulating tape drives -> means gid operator on device nodes). This group is also used with group-access bit on the setuid-root shutdown command (mode ug+x,u+s). Some people use this to shutdown/reboot their machines, but use of that group is giving them disk read access also, which is wrong. It would be a pain to re-gid all the device nodes, so instead let's renumber the operator execution gid into group "_shutdown". Users using this shutdown/reboot functionality will notice it no longer works, and move themselves to the correct group. Various choices discussed at large, this seems our best choice. ok sthen
2023-06-19Add another reset for the PCIe controller on the RK3588.Mark Kettenis
ok dlg@
2023-06-19Dedoxigenize ecdsa.hTheo Buehler
These functions are properly documented and upcoming surgery in here is going to be tricky enough without having to navigate around this noise. No code change.
2023-06-19drm/amd/display: Have Payload Properly Created After ResumeJonathan Gray
From Fangzhi Zuo 4042d7ad40f1c3182225461c62926f217a3d0ede in linux-6.1.y/6.1.33 482e6ad9adde69d9da08864b4ccf4dfd53edb2f0 in mainline linux
2023-06-19drm/amd/pm: reverse mclk and fclk clocks levels for renoirJonathan Gray
From Tim Huang 8db2ea7b80d6539c2c3d4e2ca96ca1bc56b982d9 in linux-6.1.y/6.1.33 55e02c14f9b5fd973ba32a16a715baa42617f9c6 in mainline linux
2023-06-19drm/amd/pm: reverse mclk and fclk clocks levels for yellow carpJonathan Gray
From Tim Huang f05f3fcc782445b707b998859d9a03410ecbdb73 in linux-6.1.y/6.1.33 f1373a97a41f429e0095d4be388092ffa3c1a157 in mainline linux
2023-06-19drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5Jonathan Gray
From Tim Huang 1c729bd5b30fe8178c53aeebf6503ea38966f769 in linux-6.1.y/6.1.33 c1d35412b3e826ae8119e3fb5f51dd0fa5b6b567 in mainline linux
2023-06-19drm/amd/pm: resolve reboot exception for si olandJonathan Gray
From Guchun Chen 0f8f233ed76754b0c9262eb2e82f8529da0bef16 in linux-6.1.y/6.1.33 e490d60a2f76bff636c68ce4fe34c1b6c34bbd86 in mainline linux
2023-06-19drm/amd/pm: reverse mclk and fclk clocks levels for vangoghJonathan Gray
From Tim Huang e0a0f5d2ba593bbf155a41890f675390fd312e2c in linux-6.1.y/6.1.33 bfc03568d9d81332382c73a1985a90c4506bd36c in mainline linux
2023-06-19drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4Jonathan Gray
From Tim Huang 00abb872ef0f82dde131b9bd12096100bb24d9ba in linux-6.1.y/6.1.33 6a07826f2057b5fa1c479ba56460195882464270 in mainline linux
2023-06-19drm/amdgpu: enable tmz by default for GC 11.0.1Jonathan Gray
From Ikshwaku Chauhan 2f91f92bd870684173e1fa27927ae8ba99fe463c in linux-6.1.y/6.1.33 663b930e24842f3d3bb79418bb5cd8d01b40c559 in mainline linux
2023-06-19drm/amdgpu: skip disabling fence driver src_irqs when device is unpluggedJonathan Gray
From Guchun Chen 68ce1d57e52c6f88ffffb0d81b10650eafc8e540 in linux-6.1.y/6.1.33 c1a322a7a4a96cd0a3dde32ce37af437a78bf8cd in mainline linux
2023-06-19drm/amdgpu: set gfx9 onwards APU atomics support to be trueJonathan Gray
From Yifan Zhang 3e336ad6f517d1078b1e6e874e1578827088f269 in linux-6.1.y/6.1.33 af7828fbceed4f9e503034111066a0adef3db383 in mainline linux
2023-06-19drm/amdgpu: Use the default reset when loading or reloading the driverJonathan Gray
From lyndonli 88a042d599c3f253ea8a9aa1906833c144525af4 in linux-6.1.y/6.1.33 4eea7fb980dc44545a32eec92e2662053b34cd9d in mainline linux
2023-06-19drm/amdgpu: release gpu full access after "amdgpu_device_ip_late_init"Jonathan Gray
From Chong Li 787e74b21394f126bbce355839dcce9b0ad256d2 in linux-6.1.y/6.1.33 38eecbe086a4e52f54b2bbda8feba65d44addbef in mainline linux
2023-06-18clockintr_cpu_init: initialize starting offsets with clockintr_stagger()Scott Soule Cheloha
2023-06-18clockintr: add clockintr_stagger()Scott Soule Cheloha
clockintr_stagger() formalizes the "staggered start" pattern for scheduling a common periodic clock interrupt across multiple CPUs. Right now we implement a staggered start by hand for hardclock(), statclock(), and schedclock(). I expect we will do it for profclock(), too.
2023-06-18Add and use CHUNKSZ() to replace 'chunk->stop - chunk->start'Kenneth R Westerback
occurrances. Shorter lines, more obvious intent.
2023-06-18Turns out EC_KEY_METHOD_new() has dup built in...Theo Buehler
... because RSA_meth_new() doesn't. So we can fortunately lose a few lines added in the previous commit. Three cheers for the masters of inconsistency. ok jsing
2023-06-18remove ca_verify_cb(). was initially used for debugging, then theOmar Polo
logging went away but the no-op callback remained. noticed by tb@
2023-06-18Use UINT64_MAX instead of -1 to set a uint64_t value toKenneth R Westerback
its maximum.
2023-06-18tls_signer: reinstate the default EC_KEY methodsTheo Buehler
Previously, we would set the ECDSA_METHOD on the EC_KEY, which, by way of lovely indirection in our three crypto/ec* directories ended up having no effect on the default methods. Now that we set a new EC_KEY_METHOD, we need to make sure we still have the other handlers that we might need. Like so many things that were made opaque in the 1.1 re"design", the accessors were written without actual application code in mind. In particular, EC_KEY_METHOD lacks a dup(). This means we get to fetch the default methods with getters and then set them again on the new method. This is particularly awesome because once someone adds a new method to the opaque struct, all applications will have to adapt and do a get/set dance. So far this is very reminiscent of PostgreSQL with BIO_meth_* https://github.com/postgres/postgres/blob/a14e75eb0b6a73821e0d66c0d407372ec8376105/src/interfaces/libpq/fe-secure-openssl.c#L1921-L1928 Only it's worse here because someone wanted to be smart and save a few public functions, so we have to use getters that get several functions at once. Which in turn means we need to have function pointers with the precise signatures which are part of the struct that was made opaque. We will add a EC_KEY_METHOD_dup() in the next bump, but for now this is the best fix we can have. Whenever you think you've seen the worst turds in this code base, you find another one that could serve as an exemplar. ok jsing op
2023-06-18sync imsg_to_str() with the list of imsg types in smtpd.hOmar Polo
ok millert@
2023-06-18Switch tls_ecdsa_do_sign() to EC_KEY_get_ex_data()Theo Buehler
Since libtls now sets the ex_data with EC_KEY_set_ex_data(), the do_sign() callback needs to have a matching change. ok jsing op
2023-06-18Remove spurious comment.Mark Kettenis
ok patrick@
2023-06-18accept 'a' as shortcut for 'autoconf'; ok op afresh1 knTheo de Raadt
2023-06-18Add fchmod() entry in luna88k bootloader.Kenji Aoyama
Now 'chmod a-x /bsd.upgrade' works in order to prevent re-upgrade, like other architectures. Tested by me on LUNA-88K2.
2023-06-18Fix SCSI CMD_WRITE_EXT command length to 10 bytes.Kenji Aoyama
This is needed to work libsa's ufs_fchmod() on luna88k. Tested by me on LUNA-88K2.
2023-06-18relax absolute path requirement for configtest (-n)Omar Polo
ok dv@
2023-06-18smtpd: switch ECDSA_METHOD usage to EC_KEY_METHODOmar Polo
smtpd and the bits it needs in libtls are the only consumer left of ECDSA_METHOD, which is long deprecated. This paves the way for the removal in libcrypto. The diff is from gilles' work on OpenSMTPD-portable, with minor changes by me. ok tb@, jsing@
2023-06-18libtls: switch ECDSA_METHOD usage to EC_KEY_METHODOmar Polo
smtpd and the bits it needs in libtls are the only consumer left of ECDSA_METHOD, which is long deprecated. This paves the way for the removal in libcrypto. The diff is from gilles' work on OpenSMTPD-portable, libretls had a similar diff. ok tb@, jsing@
2023-06-17Fix leak of key.id_buf in pubkey auth case.Tobias Heider
from markus
2023-06-17Flush the ITS after we disestablish an MSI. Fixes an issue seen on AmpereMark Kettenis
eMAG with an AMD GPU with an HD audio function where azalia(4) doesn't fully attach. ok patrick@