x86: 64: add additional SAS / HBA card support
authorZoltan HERPAI <wigyori@uid0.hu>
Fri, 31 Jan 2025 14:03:16 +0000 (15:03 +0100)
committerZoltan HERPAI <wigyori@uid0.hu>
Sun, 16 Feb 2025 21:20:27 +0000 (22:20 +0100)
commit84e75f8507b83f56212a194813705535cf92ef5c
tree6ebe9d633dd54387b3a7541373ebea2a78ee1406
parentba9e5454712197e511427469980cdf51bee97477
x86: 64: add additional SAS / HBA card support

Certain users would like to use OpenWrt on their brand servers, where
the rootdisk/array usually resides on disks behind a RAID card.

Support is added for:

 - hpsa (HP Smartarray)
 - ips (IBM ServeRAID)
 - megaraid (SAS / some legacy cards)
 - mpi3mr (SAS24G cards)
 - mpt3sas (SAS cards)

Kernel sizes compared:

Current:
6099968 Jan 30 18:13 openwrt-x86-64-generic-kernel.bin

New:
6358016 Jan 31 15:19 openwrt-x86-64-generic-kernel.bin

The 260kByte increase on an x86_64 box - which usually have 512Mb RAM or much
more - is close to negligible, while it adds support for a significant portion
of these servers / HBAs. This change should be limited to the 64-bit
subtarget only. No commandline tool will be added this time, as:
a) these can be configured via their BIOS at boot-time,
b) licensing for those needs to be thoroughly reviewed.

Link: https://github.com/openwrt/openwrt/issues/17772
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
target/linux/x86/64/config-6.6