Sync from SUSE:ALP:Source:Standard:1.0 kernel-source-rt revision 2df16d0184121ab07081e9ca44e4b094

This commit is contained in:
Adrian Schröter 2024-03-26 16:19:30 +01:00
parent 2eb7f7fcd5
commit e833569a1d
19 changed files with 8266 additions and 176 deletions

BIN
config.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -84,13 +84,20 @@ for dts in $ALL_SUPPORTED_DTB; do
install -m 755 -d %{buildroot}%{dtbdir}/$(dirname $target)
# install -m 644 COPYING %{buildroot}%{dtbdir}/$(dirname $target)
install -m 644 $target.dtb %{buildroot}%{dtbdir}/$(dirname $target)
%ifarch aarch64 riscv64
%ifarch %arm aarch64 riscv64
# HACK: work around U-Boot ignoring vendor dir
baselink=%{dtbdir}/$(basename $target).dtb
vendordir=$(basename $(dirname $target))
ln -s $target.dtb %{buildroot}$baselink
%ifarch %arm
case $dts in
$SUBPKG_CASE
esac
echo $baselink >> ../$pkgname.list
%else
vendordir=$(basename $(dirname $target))
echo $baselink >> ../dtb-$vendordir.list
%endif
%endif
done
cd -

View File

@ -19,6 +19,12 @@ sub main
&output($dev, $ndev, $dev_output, $ndev_output);
}
sub rpm_quote_filename
{
# technically should also quote % -> %% " -> \" \ -> \\
return map { "\"$_\"" } @_;
}
sub scan
{
# Normalize file path, mainly to strip away the ending forward slash,
@ -53,8 +59,14 @@ sub scan
$is_devel ? push(@dev, $abs_path) : push(@ndev, $abs_path);
}
push(@dev, &calc_dirs($abs_loc, \@dev));
push(@ndev, &calc_dirs($abs_loc, \@ndev));
my @dev_dirs = calc_dirs($abs_loc, \@dev);
my @ndev_dirs = calc_dirs($abs_loc, \@ndev);
@dev = rpm_quote_filename(@dev);
@ndev = rpm_quote_filename(@ndev);
@dev_dirs = map { "\%dir $_" } rpm_quote_filename(@dev_dirs);
@ndev_dirs = map { "\%dir $_" } rpm_quote_filename(@ndev_dirs);
push(@dev, @dev_dirs);
push(@ndev, @ndev_dirs);
return (\@dev, \@ndev);
}
@ -75,7 +87,7 @@ sub calc_dirs
# This loop also makes sure that $base itself is included.
}
return map { "\%dir $_" } keys %dirs;
return keys %dirs;
}
sub output

BIN
kabi.tar.bz2 (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@
%define srcversion 6.4
%define patchversion 6.4.0
%define git_commit 0d817874d18eca2fc379364350f5d8f656a563b1
%define git_commit 1025e3e919d23ae8b2a3e5c5ad95f6804136e0e9
%define variant -rt%{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@ -38,7 +38,7 @@
Name: kernel-rt
Version: 6.4.0
%if 0%{?is_kotd}
Release: <RELEASE>.g0d81787
Release: <RELEASE>.g1025e3e
%else
Release: 0
%endif

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@
%define srcversion 6.4
%define patchversion 6.4.0
%define git_commit 0d817874d18eca2fc379364350f5d8f656a563b1
%define git_commit 1025e3e919d23ae8b2a3e5c5ad95f6804136e0e9
%define variant -rt%{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@ -38,7 +38,7 @@
Name: kernel-rt_debug
Version: 6.4.0
%if 0%{?is_kotd}
Release: <RELEASE>.g0d81787
Release: <RELEASE>.g1025e3e
%else
Release: 0
%endif

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@
%define srcversion 6.4
%define patchversion 6.4.0
%define git_commit 0d817874d18eca2fc379364350f5d8f656a563b1
%define git_commit 1025e3e919d23ae8b2a3e5c5ad95f6804136e0e9
%define variant -rt%{nil}
%include %_sourcedir/kernel-spec-macros
@ -28,7 +28,7 @@
Name: kernel-source-rt
Version: 6.4.0
%if 0%{?is_kotd}
Release: <RELEASE>.g0d81787
Release: <RELEASE>.g1025e3e
%else
Release: 0
%endif
@ -326,6 +326,6 @@ done
# the future and be thus lower than the timestamps of files built from the
# source (bnc#669669).
ts="$(head -n1 %_sourcedir/source-timestamp)"
find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
find %buildroot/usr/src/linux* ! -type l -print0 | xargs -0 touch -d "$ts"
%changelog

View File

@ -326,6 +326,6 @@ done
# the future and be thus lower than the timestamps of files built from the
# source (bnc#669669).
ts="$(head -n1 %_sourcedir/source-timestamp)"
find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
find %buildroot/usr/src/linux* ! -type l -print0 | xargs -0 touch -d "$ts"
%changelog

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@
#
%define git_commit 0d817874d18eca2fc379364350f5d8f656a563b1
%define git_commit 1025e3e919d23ae8b2a3e5c5ad95f6804136e0e9
%define variant -rt%{nil}
%include %_sourcedir/kernel-spec-macros
@ -25,7 +25,7 @@ Name: kernel-syms-rt
Version: 6.4.0
%if %using_buildservice
%if 0%{?is_kotd}
Release: <RELEASE>.g0d81787
Release: <RELEASE>.g1025e3e
%else
Release: 0
%endif

View File

@ -7,54 +7,54 @@ my $spec_in = "dtb.spec.in";
# DTB packages names, ordered by file names
my @armv7l_package_list = (
['dtb-am335x', 'am335x-*.dts', "TI AM335x based systems"],
['dtb-am3517', 'am3517*.dts', "TI AM3517 based systems"], # exception: am3517_mt_ventoux.dts
['dtb-am57xx', 'am57xx-*.dts', "TI AM57xx based systems"],
['dtb-armada-370', 'armada-370-*.dts', "Armada 370 based systems"],
['dtb-armada-375', 'armada-375-*.dts', "Armada 375 based systems"],
['dtb-armada-385', 'armada-385-*.dts', "Armada 385 based systems"],
['dtb-armada-388', 'armada-388-*.dts', "Armada 388 based systems"],
['dtb-armada-398', 'armada-398-*.dts', "Armada 398 based systems"],
['dtb-armada-xp', 'armada-xp-*.dts', "Armada XP based systems"],
['dtb-bcm2836', 'bcm2836*.dts', "Raspberry Pi 2 Model B"],
['dtb-dove', 'dove-*.dts', "Marvell dove based systems"],
['dtb-exynos4', 'exynos4*.dts', "Samsung Exynos 4 based systems"],
['dtb-exynos5', 'exynos5*.dts', "Samsung Exynos 5 based systems"],
['dtb-imx5', 'imx5*.dts', "Freescale i.MX51 and i.MX53 based systems"],
['dtb-imx6', 'imx6*.dts', "Freescale i.MX6 based systems"],
['dtb-imx7', 'imx7*.dts', "Freescale i.MX7 based systems"],
['dtb-keystone', 'keystone-*.dts', "TI Keystone 2 based systems"],
['dtb-meson6', 'meson6-*.dts', "Amlogic Meson 6 based systems"],
['dtb-meson8', 'meson8-*.dts', "Amlogic Meson 8 based systems"],
['dtb-meson8b', 'meson8b-*.dts', "Amlogic Meson 8b based systems"],
['dtb-mt76', 'mt76*.dts', "MediaTek mt76 based systems"],
['dtb-omap3', 'omap3*.dts', "TI OMAP3 based systems"],
['dtb-omap4', 'omap4*.dts', "TI OMAP4 based systems"],
['dtb-omap5', 'omap5*.dts', "TI OMAP5 based systems"],
['dtb-qcom', 'qcom-*.dts', "Qualcomm Snapdragon based systems"],
['dtb-rk3', 'rk3*.dts', "Rockchip RK3xxx based systems"],
['dtb-socfpga', 'socfpga_*.dts', "Altera SoC FPGA based systems"],
['dtb-ste', 'ste-*.dts', "ST Ericsson based systems"],
['dtb-sun4i', 'sun4i-*.dts', "Allwinner sun4i based systems"],
['dtb-sun5i', 'sun5i-*.dts', "Allwinner sun5i based systems"],
['dtb-sun6i', 'sun6i-*.dts', "Allwinner sun6i based systems"],
['dtb-sun7i', 'sun7i-*.dts', "Allwinner sun7i based systems"],
['dtb-sun8i', 'sun8i-*.dts', "Allwinner sun8i based systems"],
['dtb-sun9i', 'sun9i-*.dts', "Allwinner sun9i based systems"],
['dtb-tegra2', 'tegra20-*.dts', "NVidia Tegra2 based systems"],
['dtb-tegra3', 'tegra30-*.dts', "NVidia Tegra3 based systems"],
['dtb-tegra114', 'tegra114-*.dts', "NVidia Tegra4 based systems"],
['dtb-tegra124', 'tegra124-*.dts', "NVidia Tegra K1 based systems"],
['dtb-vexpress', 'vexpress-*.dts', "ARM Versatile Express machines"],
['dtb-vf500', 'vf500-*.dts', "Freescale Vybrid VF500 based systems"],
['dtb-vf6', 'vf610-*.dts', "Freescale Vybrid VF610 based systems"],
['dtb-xenvm', 'xenvm-*.dts', "Xen virtual machines"],
['dtb-zynq', 'zynq-*.dts', "Xilinx Zynq based systems"],
['dtb-am335x', 'ti/omap/am335x-*.dts', "TI AM335x based systems"],
['dtb-am3517', 'ti/omap/am3517*.dts', "TI AM3517 based systems"], # exception: am3517_mt_ventoux.dts
['dtb-am57xx', 'ti/omap/am57xx-*.dts', "TI AM57xx based systems"],
['dtb-armada-370', 'marvell/armada-370-*.dts', "Armada 370 based systems"],
['dtb-armada-375', 'marvell/armada-375-*.dts', "Armada 375 based systems"],
['dtb-armada-385', 'marvell/armada-385-*.dts', "Armada 385 based systems"],
['dtb-armada-388', 'marvell/armada-388-*.dts', "Armada 388 based systems"],
['dtb-armada-398', 'marvell/armada-398-*.dts', "Armada 398 based systems"],
['dtb-armada-xp', 'marvell/armada-xp-*.dts', "Armada XP based systems"],
['dtb-bcm2836', 'broadcom/bcm2836*.dts', "Raspberry Pi 2 Model B"],
['dtb-dove', 'marvell/dove-*.dts', "Marvell dove based systems"],
['dtb-exynos4', 'samsung/exynos4*.dts', "Samsung Exynos 4 based systems"],
['dtb-exynos5', 'samsung/exynos5*.dts', "Samsung Exynos 5 based systems"],
['dtb-imx5', 'nxp/imx/imx5*.dts', "Freescale i.MX51 and i.MX53 based systems"],
['dtb-imx6', 'nxp/imx/imx6*.dts', "Freescale i.MX6 based systems"],
['dtb-imx7', 'nxp/imx/imx7*.dts', "Freescale i.MX7 based systems"],
['dtb-keystone', 'ti/keystone/keystone-*.dts', "TI Keystone 2 based systems"],
['dtb-meson6', 'amlogic/meson6-*.dts', "Amlogic Meson 6 based systems"],
['dtb-meson8', 'amlogic/meson8-*.dts', "Amlogic Meson 8 based systems"],
['dtb-meson8b', 'amlogic/meson8b-*.dts', "Amlogic Meson 8b based systems"],
['dtb-mt76', 'mediatek/mt76*.dts', "MediaTek mt76 based systems"],
['dtb-omap3', 'ti/omap/omap3*.dts', "TI OMAP3 based systems"],
['dtb-omap4', 'ti/omap/omap4*.dts', "TI OMAP4 based systems"],
['dtb-omap5', 'ti/omap/omap5*.dts', "TI OMAP5 based systems"],
['dtb-qcom', 'qcom/qcom-*.dts', "Qualcomm Snapdragon based systems"],
['dtb-rk3', 'rockchip/rk3*.dts', "Rockchip RK3xxx based systems"],
['dtb-socfpga', 'intel/socfpga/socfpga_*.dts', "Altera SoC FPGA based systems"],
['dtb-ste', 'st/ste-*.dts', "ST Ericsson based systems"],
['dtb-sun4i', 'allwinner/sun4i-*.dts', "Allwinner sun4i based systems"],
['dtb-sun5i', 'allwinner/sun5i-*.dts', "Allwinner sun5i based systems"],
['dtb-sun6i', 'allwinner/sun6i-*.dts', "Allwinner sun6i based systems"],
['dtb-sun7i', 'allwinner/sun7i-*.dts', "Allwinner sun7i based systems"],
['dtb-sun8i', 'allwinner/sun8i-*.dts', "Allwinner sun8i based systems"],
['dtb-sun9i', 'allwinner/sun9i-*.dts', "Allwinner sun9i based systems"],
['dtb-tegra2', 'nvidia/tegra20-*.dts', "NVidia Tegra2 based systems"],
['dtb-tegra3', 'nvidia/tegra30-*.dts', "NVidia Tegra3 based systems"],
['dtb-tegra114', 'nvidia/tegra114-*.dts', "NVidia Tegra4 based systems"],
['dtb-tegra124', 'nvidia/tegra124-*.dts', "NVidia Tegra K1 based systems"],
['dtb-vexpress', 'arm/vexpress-*.dts', "ARM Versatile Express machines"],
['dtb-vf500', 'nxp/vf/vf500-*.dts', "Freescale Vybrid VF500 based systems"],
['dtb-vf6', 'nxp/vf/vf610-*.dts', "Freescale Vybrid VF610 based systems"],
['dtb-xenvm', 'xen/xenvm-*.dts', "Xen virtual machines"],
['dtb-zynq', 'xilinx/zynq-*.dts', "Xilinx Zynq based systems"],
);
# DTB packages names
my @armv6l_package_list = (
['dtb-bcm2835', 'bcm2835*.dts', "Raspberry Pi 1 (A+, B, B+)"],
['dtb-bcm2835', 'broadcom/bcm2835*.dts', "Raspberry Pi 1 (A+, B, B+)"],
);
# DTB packages names
@ -107,6 +107,7 @@ sub generate_spec($$$)
unless ($exclusive_arch eq 'none');
my $subpkg_desc = "";
my $subpkg_case = "";
my $all_supported_dtb = "";
my $DTS_folder = "arch/arm/boot/dts";
if ($exclusive_arch =~ /aarch64/) {
@ -172,7 +173,7 @@ sub generate_spec($$$)
}
$subpkg_desc .=
"%ifarch aarch64 riscv64\n" .
"%ifarch %arm aarch64 riscv64\n" .
"%files -n $PKG_NAME -f $PKG_NAME.list\n" .
"%else\n" .
"%files -n $PKG_NAME\n" .
@ -184,6 +185,10 @@ sub generate_spec($$$)
"%{dtbdir}/$bin_supported_dtb\n" .
"\n";
if ($main_package eq 'dtb-armv6l' or $main_package eq 'dtb-armv7l') {
# Map dts file name back to subpkg name
$subpkg_case .= " $SUPPORTED_DTB) pkgname=$PKG_NAME;;\n"
}
$all_supported_dtb .= "$SUPPORTED_DTB ";
}
chomp($all_supported_dtb);
@ -195,6 +200,7 @@ sub generate_spec($$$)
$_ =~ s/\$DTS_folder/$DTS_folder/g;
$_ =~ s/\$SUBPKG_DESC/$subpkg_desc/g;
$_ =~ s/\$ALL_SUPPORTED_DTB/$all_supported_dtb/g;
$_ =~ s/\$SUBPKG_CASE\n?/$subpkg_case/g;
print SPEC $_;
}

BIN
patches.kabi.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
patches.suse.tar.bz2 (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
2024-03-11 17:43:09 +0000
GIT Revision: 0d817874d18eca2fc379364350f5d8f656a563b1
2024-03-22 16:18:33 +0000
GIT Revision: 1025e3e919d23ae8b2a3e5c5ad95f6804136e0e9
GIT Branch: ALP-current-RT

View File

@ -5059,7 +5059,7 @@
-!optional drivers/usb/typec/mux/pi3usb30532
- drivers/usb/typec/qcom-pmic-typec
- drivers/usb/typec/rt1719 # SP6-NEED-REVIEW
- drivers/usb/typec/stusb160x
drivers/usb/typec/stusb160x
- drivers/usb/typec/tcpm/fusb302
+base drivers/usb/typec/tcpm/tcpci
- drivers/usb/typec/tcpm/tcpci_maxim