[AMDGPU] Eliminate InstCombineTables.td. NFC. (#170857)
This also eliminates the generated file InstCombineTables.inc which was
99% identical to the existing AMDGPUGenSearchableTables.inc.
x11/xconfig: Update to version 2.9
Update xconfig to version 2.9, which restores comprehensive video driver
detection and X server configuration functionality.
Changes in 2.9:
- Add NVIDIA GPU detection with version-specific driver selection
(580/470/390/340/304 drivers)
- Add AMD Radeon device ID database for radeonkms vs amdgpu selection
- Add comprehensive function documentation to all 50 functions
- Support for Intel, AMD, NVIDIA GPUs
- VirtualBox, VMware, QEMU, Hyper-V, bhyve VM guest support
- Xorg and XLibre X server detection
- Offline package support (/xdrivers) with online fallback
Restore driver detection and X server configuration functionality
Restore comprehensive video driver detection and setup logic to xconfig,
enabling automatic X11 configuration for diverse hardware platforms.
Driver Detection Improvements:
- Add NVIDIA GPU detection with version-specific driver selection
* Latest driver (580) for RTX 40/50 series and Ada Generation cards
* 470 driver for RTX 20/30 series and Pascal/Turing cards
* 390 driver for GTX 600-900 series and Kepler/Maxwell cards
* 340 driver for GTX 200-500 series and Tesla/Fermi cards
* 304 driver for GeForce 6/7/8/9 series legacy cards
- Add AMD Radeon device ID database for radeonkms vs amdgpu selection
* 400+ legacy Radeon device IDs requiring radeonkms driver
* Automatic amdgpu selection for newer cards (Polaris+)
Configuration Management:
- Add comprehensive function documentation to all 50 functions
[28 lines not shown]
Add comprehensive function documentation to xconfig
Add documentation headers to all 50 functions in bin/xconfig to improve
code maintainability and developer onboarding. Each function now includes:
- Function name and description
- Parameter specifications with detailed explanations
- Return value documentation
- Practical usage examples
This documentation follows shell script conventions with headers positioned
above function definitions.
Key improvements:
- Hardware detection functions (GPU, VM, driver version selection)
- Configuration functions (DRM, legacy drivers, NVIDIA, virtualization)
- Helper functions (rc.conf management, package installation, backup)
- Dialog/menu functions (bsddialog/dialog integration)
- Main entry points (cmd_auto, cmd_debug, interactive menu)
[13 lines not shown]
ftp: fix ascii transfers with progress bar
Handle stdio interruption by signals and improve error handling
in getc() and putc() on the control and data channels.
Provide ftp_getc() and ftp_putc() wrappers that:
- Retry the operation on EINTR or EAGAIN instead of failing.
- Store other error codes in a return variable separate to errno,
and use that variable in ferror() handling, for more correct
error messages.
Fixes the progress bar display in ascii mode transfers.
(Note that I haven't fixed interrupted reads from stdin or
writes to ttyout; that's a much larger refactor that's out of scope).
Fix PR bin/59587 from Johnny Billquist, with the fix
inspired by the patch in that PR.
[MLIR][XeGPU] Retain anchor op layouts for XeGPU nD ops (#170934)
This PR adds support to retain the anchor op layouts (after dropping
what's not required) for xegpu nD ops during workgroup to subgroup &
unroll transformation
[clang][bytecode] Allocate InitMaps via Program/InterpState allocators (#170272)
Save them as a pointer intead of using a shared_ptr. This we we can use
the pointer integer value to differentiate the "no initmap yet" and "all
values initialzed" cases.
This regresses one test case in const-eval.c, but as it turns out, that
only worked coincidentally before.
Merge tag 'driver-core-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core
Pull driver core updates from Danilo Krummrich:
"Arch Topology:
- Move parse_acpi_topology() from arm64 to common code for reuse in
RISC-V
CPU:
- Expose housekeeping CPUs through /sys/devices/system/cpu/housekeeping
- Print a newline (or 0x0A) instead of '(null)' reading
/sys/devices/system/cpu/nohz_full when nohz_full= is not set
debugfs
- Remove (broken) 'no-mount' mode
- Remove redundant access mode checks in debugfs_get_tree() and
debugfs_create_*() functions
Devres:
- Remove unused devm_free_percpu() helper
[112 lines not shown]
[OpenMP] Fix defaultmap(firstprivate:pointer) handling (#169622)
This fixes a bug where pointers from defaultmap(firstprivate:pointer)
were incorrectly treated as firstprivate literals, causing
OMP_MAP_LITERAL to be set. This prevented the runtime from performing
device address lookup.
Realted PR https://github.com/llvm/llvm-project/pull/167879
Co-authored-by: Sairudra More <moresair at pe31.hpc.amslabs.hpecorp.net>
Merge tag 'for-linus-6.19-1' of https://github.com/cminyard/linux-ipmi
Pull IPMI updates from Corey Minyard:
"Minor IPMI fixes:
- Some device tree cleanups and a maintainer add
- Fix a race when handling channel updates that could result in
errors being reported to the user in some cases"
* tag 'for-linus-6.19-1' of https://github.com/cminyard/linux-ipmi:
MAINTAINERS: Add entry on Loongson-2K IPMI driver
dt-bindings: ipmi: Convert aspeed,ast2400-ibt-bmc to DT schema
dt-bindings: ipmi: Convert nuvoton,npcm750-kcs-bmc to DT schema
ipmi: Skip channel scan if channels are already marked ready
ipmi: Fix __scan_channels() failing to rescan channels
ipmi: Fix the race between __scan_channels() and deliver_response()
Merge tag 'ata-6.19-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux
Pull ata fix from Niklas Cassel:
- The DELLBOSS VD SATA controller times out when sending I/Os of size
4096 KiB or larger, even though it claims LBA48 support, which per
the ACS standard requires support for a maximum command size of
65535 sectors, i.e. 32 MiB - 512. Thus, quirk the device so that it
sets a lower maximum command size (me)
* tag 'ata-6.19-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
ata: libata-core: Quirk DELLBOSS VD max_sectors
ata: libata: Move quirk flags to their own enum
Merge tag 'tpmdd-sessions-next-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull more tpm updates from Jarkko Sakkinen:
"This is targeted for tpm2-sessions updates.
There's two bug fixes and two more cosmetic tweaks for HMAC protected
sessions. They provide a baseine for further improvements to be
implemented during the the course of the release cycle"
* tag 'tpmdd-sessions-next-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
tpm2-sessions: Open code tpm_buf_append_hmac_session()
tpm2-sessions: Remove 'attributes' parameter from tpm_buf_append_auth
tpm2-sessions: Fix tpm2_read_public range checks
tpm2-sessions: Fix out of range indexing in name_size
Merge tag 'media/v6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media kernel-doc fix from Mauro Carvalho Chehab:
"A fix to shut up a kernel-doc warning on c3-isp driver"
* tag 'media/v6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
media: uapi: c3-isp: Fix documentation warning