Verified Commit 6a7e4f8b authored by Helmut Stult's avatar Helmut Stult
Browse files

[pkg-upd] 5.10.54-1

- patch: 0104 removed
parent ec49034f
--- b/drivers/usb/host/xhci-pci.c
+++ a/drivers/usb/host/xhci-pci.c
@@ -16,7 +16,6 @@
#include "xhci.h"
#include "xhci-trace.h"
-#include "xhci-pci.h"
#define SSIC_PORT_NUM 2
#define SSIC_PORT_CFG2 0x880c
@@ -92,16 +91,7 @@ static int xhci_pci_reinit(struct xhci_h
static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
{
- struct pci_dev *pdev = to_pci_dev(dev);
- struct xhci_driver_data *driver_data;
- const struct pci_device_id *id;
-
- id = pci_match_id(pdev->driver->id_table, pdev);
-
- if (id && id->driver_data) {
- driver_data = (struct xhci_driver_data *)id->driver_data;
- xhci->quirks |= driver_data->quirks;
- }
+ struct pci_dev *pdev = to_pci_dev(dev);
/* Look for vendor-specific quirks */
if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC &&
@@ -346,16 +336,8 @@ static int xhci_pci_probe(struct pci_dev
int retval;
struct xhci_hcd *xhci;
struct usb_hcd *hcd;
- struct xhci_driver_data *driver_data;
struct reset_control *reset;
- driver_data = (struct xhci_driver_data *)id->driver_data;
- if (driver_data && driver_data->quirks & XHCI_RENESAS_FW_QUIRK) {
- retval = renesas_xhci_check_request_fw(dev, id);
- if (retval)
- return retval;
- }
-
reset = devm_reset_control_get_optional_exclusive(&dev->dev, NULL);
if (IS_ERR(reset))
return PTR_ERR(reset);
@@ -422,9 +404,6 @@ static void xhci_pci_remove(struct pci_d
struct xhci_hcd *xhci;
xhci = hcd_to_xhci(pci_get_drvdata(dev));
- if (xhci->quirks & XHCI_RENESAS_FW_QUIRK)
- renesas_xhci_pci_exit(dev);
-
xhci->xhc_state |= XHCI_STATE_REMOVING;
if (xhci->quirks & XHCI_DEFAULT_PM_RUNTIME_ALLOW)
@@ -578,26 +557,14 @@ static void xhci_pci_shutdown(struct usb
/*-------------------------------------------------------------------------*/
-static const struct xhci_driver_data reneses_data = {
- .quirks = XHCI_RENESAS_FW_QUIRK,
- .firmware = "renesas_usb_fw.mem",
-};
-
/* PCI driver selection metadata; PCI hotplugging uses this */
static const struct pci_device_id pci_ids[] = {
- { PCI_DEVICE(0x1912, 0x0014),
- .driver_data = (unsigned long)&reneses_data,
- },
- { PCI_DEVICE(0x1912, 0x0015),
- .driver_data = (unsigned long)&reneses_data,
- },
/* handle any USB 3.0 xHCI controller */
{ PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_XHCI, ~0),
},
{ /* end: all zeroes */ }
};
MODULE_DEVICE_TABLE(pci, pci_ids);
-MODULE_FIRMWARE("renesas_usb_fw.mem");
/* pci driver glue; this is a "new style" PCI driver module */
static struct pci_driver xhci_pci_driver = {
# Maintainer: Philip Müller <philm[at]manjaro[dot]org>
# Maintainer: Bernhard Landauer <bernhard[at]manjaro[dot]org>
# Maintainer: Helmut Stult <helmut[at]manjaro[dot]org>
# Arch credits:
......@@ -14,7 +13,7 @@ pkgname=('linux510' 'linux510-headers')
_kernelname=-MANJARO
_basekernel=5.10
_basever=510
pkgver=5.10.53
pkgver=5.10.54
pkgrel=1
arch=('x86_64')
url="https://www.kernel.org/"
......@@ -44,7 +43,6 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
'0101-i2c-nuvoton-nc677x-hwmon-driver.patch'
'0102-iomap-iomap_bmap-should-accept-unwritten-maps.patch'
'0103-futex.patch'
'0104-revert-xhci-Add-support-for-Renesas-controller-with-memory.patch'
'0105-ucsi-acpi.patch'
'0106-ucsi.patch'
'0107-quirk-kernel-org-bug-210681-firmware_rome_error.patch'
......@@ -69,7 +67,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
'0513-bootsplash.gitpatch'
)
sha256sums=('dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43'
'34142f8ab0bee35697c27f735c81db232f44587ec7e0da0f56d13972a32e49bc'
'e7d5a1b33305cf8e9d5b19ca5c87ac176a05f7de12d39a15d58acf1e0cf7dd0f'
'a759dce1d2d872d7152312929034c045f5ba32d56faa8ace7a88dc1ba74d6fa2'
'fc896e5b00fad732d937bfb7b0db41922ecdb3a488bc1c1b91b201e028eed866'
'986f8d802f37b72a54256f0ab84da83cb229388d58c0b6750f7c770818a18421'
......@@ -77,7 +75,6 @@ sha256sums=('dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43'
'7823d7488f42bc4ed7dfae6d1014dbde679d8b862c9a3697a39ba0dae5918978'
'95745075edd597caa92b369cfbcd11a04c9e3c88c0c987c70114924e1e01df5c'
'b302ba6c5bbe8ed19b20207505d513208fae1e678cf4d8e7ac0b154e5fe3f456'
'83b5684223309809393bdffc5122924cb9940403d682a887b0aa6524015df973'
'e9ca3a8398360fa5d8d0deb5f0c0ca3d174865bd13c91eb6e0232cdbcdb2258b'
'6446e388c0e13290fd99137539c6d3089994313a3a0c00305dea83faf4951137'
'5e804e1f241ce542f3f0e83d274ede6aa4b0539e510fb9376f8106e8732ce69b'
......@@ -100,11 +97,11 @@ sha256sums=('dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43'
'035ea4b2a7621054f4560471f45336b981538a40172d8f17285910d4e0e0b3ef')
prepare() {
cd "${srcdir}/linux-${_basekernel}"
cd "linux-${_basekernel}"
# add upstream patch
msg "add upstream patch"
patch -p1 -i "${srcdir}/patch-${pkgver}"
patch -p1 -i "../patch-${pkgver}"
local src
for src in "${source[@]}"; do
......@@ -116,11 +113,11 @@ prepare() {
done
msg2 "0513-bootsplash"
git apply -p1 < "${srcdir}/0513-bootsplash.gitpatch"
git apply -p1 < "../0513-bootsplash.gitpatch"
msg2 "add config.anbox to config"
cat "${srcdir}/config" > ./.config
cat "${srcdir}/config.anbox" >> ./.config
cat "../config" > ./.config
cat "../config.anbox" >> ./.config
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
......@@ -137,20 +134,12 @@ prepare() {
msg "get kernel version"
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
#make nconfig # new CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
msg "rewrite configuration"
yes "" | make config >/dev/null
}
build() {
cd "${srcdir}/linux-${_basekernel}"
cd "linux-${_basekernel}"
msg "build"
make ${MAKEFLAGS} LOCALVERSION= bzImage modules
......@@ -162,7 +151,7 @@ package_linux510() {
optdepends=('crda: to set the correct wireless channels of your country')
provides=("linux=${pkgver}" VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
cd "${srcdir}/linux-${_basekernel}"
cd "linux-${_basekernel}"
# get kernel version
_kernver="$(make LOCALVERSION= kernelrelease)"
......@@ -201,7 +190,7 @@ package_linux510-headers() {
depends=('gawk' 'python' 'libelf' 'pahole')
provides=("linux-headers=$pkgver")
cd "${srcdir}/linux-${_basekernel}"
cd "linux-${_basekernel}"
local _builddir="${pkgdir}/usr/lib/modules/${_kernver}/build"
install -Dt "${_builddir}" -m644 Makefile .config Module.symvers
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment