Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
16c28ab
PCI: Check if the pci controller can use both CFG0 and CFG1 mode to a…
May 20, 2024
42142b1
PCI: PM: fix pcie mrrs restoring
May 20, 2024
e414b07
PCI: fix kabi error caused by pm_suspend_target_state
May 20, 2024
671466c
LoongArch: fix some PCIE card not scanning properly
May 20, 2024
d97b33a
PCI: LS7A2000: fix pm transition of devices under pcie port
May 20, 2024
a7f2985
PCI: LS7A2000: fix GPU card error
May 20, 2024
0412074
PCI: fix X server auto probe fail when both ast and etnaviv drm present
May 20, 2024
cf04586
arch: config: loongarch: use 16K pages in deepin_loongarch_desktop_co…
MingcongBai May 27, 2024
e052aba
arch: loongarch: update defconfig
MingcongBai May 27, 2024
473aaf0
dt-bindings: can: Add bindings for Phytium CAN
May 21, 2024
b2ad3c6
arm64: can: Add Phytium CAN controller support
May 21, 2024
e69962f
arm64: can: phytium: Use CAN mode as the default mode under ACPI
May 21, 2024
265f64e
arm64: can: phytium: Update clock frequency for px210 CAN
May 21, 2024
37eba3f
arm64: can: phytium: Optimize the low performance of can communication
May 21, 2024
00480c4
can: phytium: Convert to platform remove callback returning void
opsiff Nov 13, 2024
3a3d302
can: phytium: Fixes build in v6.18
opsiff Dec 17, 2025
a15567f
Phytium PCI serial port support
May 15, 2024
ad8b61f
tty: serial: fix phytium-uart on 6.9
MingcongBai Jun 27, 2024
b9a6905
tty: serial: fix phytium-uart for >= 6.10
MingcongBai Aug 22, 2024
dccb833
uart: phytium: Switch to irq_get_nr_irqs()
opsiff Dec 17, 2025
5416e41
uart: phytium: Remove deprecated PCI functions
opsiff Dec 17, 2025
87b53a0
Phytium Random Number Generator support
May 15, 2024
6a41c57
phytium: Add support for the Phytium MMC
May 15, 2024
374db42
mmc: host: phytium-mci-plat: Convert to platform remove callback retu…
opsiff Nov 13, 2024
313396a
mmc: host: phytium: Convert to New timer API
opsiff Dec 17, 2025
b1deb83
mmc: phytium-sdci: Convert to platform remove callback returning void
opsiff Nov 13, 2024
b8e51be
dt-bindings: phytium-ddma: Add bindings for Phytium DDMA
hhhui-L May 14, 2024
b7f6374
ddma: phytium: Add DDMA controller driver support
hhhui-L May 14, 2024
3c9e500
dma: phytium-ddmac: Convert to platform remove callback returning void
opsiff Nov 13, 2024
adb69d3
mtd: rawnand: Add Phytium NAND flash controller support
May 28, 2024
1790000
nand: phytium_nand: use shared unaligned.h header
MingcongBai Jan 2, 2025
633738c
mtd: nand: fix phytium-nand on 6.9
MingcongBai Jun 28, 2024
94ffc29
mtd: nand: phytium: Convert to platform remove callback returning void
opsiff Nov 14, 2024
358eac8
arch: loongarch: configs: use -loong64-desktop-hwe suffix
MingcongBai May 28, 2024
fe0eeef
arch: arm64: configs: add a missing '-' in the BUILD_SALT suffix
MingcongBai May 28, 2024
c8f8f8c
Phytium Fan tach and capture counter driver
May 28, 2024
294ce43
PCI: Mark Px210 PCI-E Extended Tags as broken
wangzhimin1179 May 28, 2024
eed00dc
fix(CI): ignore check yml file warning
hudeng-go May 10, 2024
86c246f
arm64: defconfig: drop RT_GROUP_SCHED=y from deepin_arm64_desktop_def…
opsiff Jun 4, 2024
716a2b7
CI: Add patch check by using build kernel
opsiff Jun 6, 2024
1f951c6
drm/radeon: Workaround radeon driver bug for Loongson
May 27, 2024
35743a7
net: stmmac: fix potential double free of dma descriptor resources
May 27, 2024
b586b26
optee: phytium: Add Phytium optee driver support
May 15, 2024
9acc937
x86/cpufeatures: Add Zhaoxin feature bits
leoliu-oc Jul 3, 2024
636d5b4
x86/cpu: Add detect extended topology for Zhaoxin CPUs
leoliu-oc Jul 3, 2024
df6f6e2
crypto: x86/crc32c-intel - Don't match some Zhaoxin CPUs
leoliu-oc Jun 12, 2024
5d01b9e
CI: use x86 host for build-kernel workflow
opsiff Jun 13, 2024
fc83945
CI: Add patch check by using build kernel arm64
opsiff Jun 13, 2024
9ef21aa
Revert "fix(CI): ignore check yml file warning"
opsiff Jun 13, 2024
c2d960f
Add MWAIT Cx support for Zhaoxin CPUs
leoliu-oc Jun 13, 2024
6e5641d
LoongArch: fix KASLR can not be disabled by nokaslr when boot from ol…
Jun 11, 2024
9871c93
LoongArch: fix efi map page table error
Jun 11, 2024
2779522
x86/mce: Add Centaur MCA support
leoliu-oc Jun 12, 2024
f90cb6b
x86/mce: Set bios_cmci_threshold for CMCI threshold
leoliu-oc Mar 29, 2024
cb424a1
fix(CI): ignore check yml file warning
opsiff Jun 15, 2024
73e77d8
CI: package daily build kernel
opsiff Jun 14, 2024
409ee80
dt-bindings: gpio: Add bindings for Phytium GPIO
hhhui-L May 16, 2024
b2d8242
gpio: phytium: Add Phytium GPIO driver
hhhui-L May 16, 2024
af5d9a8
gpio: phytium: Fix an error about enabling MSI in gpio-pci driver
hhhui-L May 16, 2024
4043612
gpio: phytium: Add old gpio-ports index description to adapt old firm…
hhhui-L May 16, 2024
b551e7a
gpio: Phytium: Bugfix GPIO no IRQ judgment
hhhui-L May 16, 2024
d435cca
gpio : Phytium: Get max IRQ from platform_irq_count function
hhhui-L May 16, 2024
5a1668f
gpio: Phytium: fix build in v6.18
opsiff Dec 18, 2025
308cb5a
dt-bindings: mailbox: phytium: Add a bindings for Phytium mailbox
hhhui-L May 16, 2024
b0a89b2
mailbox: Add support for Phytium SoC mailbox driver
hhhui-L May 16, 2024
39901b8
mailbox: phytium_mailbox: Convert to platform remove callback returni…
opsiff Nov 13, 2024
33025f6
firmware: arm_scmi: Make mailbox transport poll on Phytium mailbox
hhhui-L May 16, 2024
69d875d
driver:crypto:add support for montage Mont-TSSE
caizhongfei May 28, 2024
976916d
crypto: montage: tsse: fix tsse_vuart for >= 6.10
MingcongBai Aug 22, 2024
6bca710
Add support for Zhaoxin Serial ATA IDE.
leoliu-oc Jun 12, 2024
cf4ae81
crypto: Add support for Zhaoxin AES algorithm
leoliu-oc Jun 12, 2024
48c0b96
crypto: Add support for Zhaoxin SHA algorithm
leoliu-oc Jun 12, 2024
5130e5b
hwmon: Add support for Zhaoxin core temperature monitoring
leoliu-oc Nov 30, 2023
3723d74
hwmon: zhaoxin-cputemp: modify HWMON_THERMAL import
leoliu-oc Jul 19, 2024
67a60d4
hwmon: zhaoxin-cputemp: convert to the .remove_new (void) callback
MingcongBai Nov 13, 2024
30d56fc
rtc: Fix set RTC time delay 500ms on some Zhaoxin SOCs
leoliu-oc Jun 13, 2024
c86a128
pinctrl: Add support Zhaoxin GPIO pinctrl
leoliu-oc Jun 14, 2024
4475a10
pinctrl: zhaoxin: fix issues when builting into module
leoliu-oc Jul 23, 2024
6f13726
pinctrl: zhaoxin: fix build on >= 6.7
MingcongBai Aug 20, 2024
aeb6f6f
pinctrl: zhaoxin: fix build on v6.18
opsiff Dec 18, 2025
6026a52
x86/perf: Add uncore performance events support for Zhaoxin CPU
leoliu-oc Jun 17, 2024
7d27e67
x86: events: fix zhaoxin/uncore.c on 6.9
MingcongBai Jul 9, 2024
f550146
x86: uncore: zhaoxin: fix build in v6.18
opsiff Dec 18, 2025
5aad500
x86: uncore: zhaoxin: Switch to use hrtimer_setup()
opsiff Dec 18, 2025
26d0b73
Set ASYM_PACKING Flag on Zhaoxin KH-40000 platform
leoliu-oc Jun 14, 2024
083553a
ALSA: hda: Add support of Zhaoxin SB HDAC
leoliu-oc Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/build-kernel-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build kernel arm64
on:
push:
pull_request:
workflow_dispatch:

env:
KBUILD_BUILD_USER: deepin-kernel-sig
KBUILD_BUILD_HOST: deepin-kernel-builder
email: support@deepin.org

permissions:
pull-requests: read

jobs:
build-kernel:
runs-on: [self-hosted, linux, ARM64]
steps:
- uses: actions/checkout@v3
- name: "Install Deps"
run: |
git config --global user.email $email
git config --global user.name $KBUILD_BUILD_USER

- name: "Compile kernel"
run: |
# .config
make deepin_arm64_desktop_defconfig
make -j$(nproc)
30 changes: 30 additions & 0 deletions .github/workflows/build-kernel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build kernel
on:
push:
pull_request:
workflow_dispatch:

env:
KBUILD_BUILD_USER: deepin-kernel-sig
KBUILD_BUILD_HOST: deepin-kernel-builder
email: support@deepin.org

permissions:
pull-requests: read

jobs:
build-kernel:
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v3
- name: "Install Deps"
run: |
git config --global user.email $email
git config --global user.name $KBUILD_BUILD_USER

- name: "Compile kernel"
run: |
# .config
make deepin_x86_desktop_defconfig
make -j$(nproc)

29 changes: 16 additions & 13 deletions .github/workflows/check-patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
repo = "${{ github.event.repository.name }}"
pull_number = "${{ github.event.number }}"
commit_id = "${{ github.event.pull_request.head.sha }}"
access_token = os.environ.get("GITHUB_TOKEN")

# 获取检查脚本
check_url = 'https://raw.githubusercontent.com/deepin-community/kernel/linux-6.6.y/scripts/checkpatch.pl'
Expand All @@ -50,7 +49,10 @@ jobs:
# 获取文件列表
url = f'https://api.github.com/repos/{owner}/{repo}/pulls/{pull_number}/files'
print(url)
headers = {'Authorization': f'Bearer {access_token}'}
headers = {
"Accept": "application/vnd.github+json",
"Authorization":"Bearer " + os.environ.get("GITHUB_TOKEN")
}
response = requests.get(url, headers=headers)
files = response.json()

Expand Down Expand Up @@ -97,14 +99,15 @@ jobs:
line_number = match.group().split(' ')[-1]
line_number = line_number.replace(':', '')
body = r.split('\n')[0]
comment_json = {
"body": body,
"commit_id": commit_id,
"path": path,
"line": int(line_number),
"side": "RIGHT"
}

comment_url = f"https://api.github.com/repos/{owner}/{repo}/pulls/{pull_number}/comments"
response = requests.post(comment_url, json=comment_json, headers=headers)
print(response.json())
if "It's generally not useful to have the filename in the file" not in body:
comment_json = {
"body": body,
"commit_id": commit_id,
"path": path,
"line": int(line_number),
"side": "RIGHT"
}

comment_url = f"https://api.github.com/repos/{owner}/{repo}/pulls/{pull_number}/comments"
response = requests.post(comment_url, json=comment_json, headers=headers)
print(response.json())
34 changes: 34 additions & 0 deletions .github/workflows/package-kernel-amd64-daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: package kernel amd64 daily
on:
schedule:
- cron: "0 2 * * *"

env:
KBUILD_BUILD_USER: deepin-kernel-sig
KBUILD_BUILD_HOST: deepin-kernel-builder
email: support@deepin.org

permissions:
pull-requests: read

jobs:
build-kernel:
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v3
- name: "Install Deps"
run: |
git config --global user.email $email
git config --global user.name $KBUILD_BUILD_USER

- name: "Compile kernel"
run: |
# .config
make deepin_x86_desktop_defconfig
make bindeb-pkg -j$(nproc)

- name: 'Upload Kernel Artifact'
uses: actions/upload-artifact@v3
with:
name: kernel-amd64-deb
path: "../*.deb"
57 changes: 57 additions & 0 deletions Documentation/devicetree/bindings/dma/phytium-ddma.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
title: Phytium DDMA Controller bindings

description:
The Phytium DDMA is a general-purpose direct memory access
controller capable of supporting 8 independent DMA channels.
Each channel can have up to 32 requests.DMA clients connected
to the Phytium DDMA controller must use the format described
in the dma.txt file, using a two-cell specifier for each
channel:
a phandle to the DMA controller plus the following two integer cells:
1. The channel id
2. The request line number

maintainers:
- Huang Jie <huangjie1663@phytium.com.cn>

allOf:
- $ref: "dma-controller.yaml#"

properties:
"#dma-cells":
const: 2

compatible:
const: phytium,ddma

reg:
maxItems: 1

interrupts:
maxItems: 1

dma-channels:
minItems: 1
maxItems: 8
description: it indicates that the number of channels are used

required:
- compatible
- reg
- interrupts
- dma-channels

unevaluatedProperties: false

examples:
ddma0: ddma@28003000 {
compatible = "phytium,ddma";
reg = <0x0 0x28003000 0x0 0x1000>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <2>;
dma-channels = <8>;
};
...
114 changes: 114 additions & 0 deletions Documentation/devicetree/bindings/gpio/phytium,gpio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/gpio/phytium,gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium GPIO controller

description: |
Phytium GPIO controllers have one or two configurable ports, each of which
are intended to be represented as child nodes with the generic GPIO-controller
properties as desribed in this bindings file.

maintainers:
- Chen Baozi <chenbaozi@phytium.com.cn>

properties:
$nodename:
pattern: "^gpio@[0-9a-f]+$"

compatible:
const: phytium,gpio

reg:
maxItems: 1

gpio-controller: true

"#address-cells":
const: 1

"#size-cells":
const: 0

'#gpio-cells':
const: 2

interrupts:
description: |
The interrupts to the parent controller raised when GPIOs generate
the interrupts. If the controller provides one combined interrupt
for all GPIOs, specify a single interrupt. If the controller provides
one interrupt for each GPIO, provide a list of interrupts that
correspond to each of the GPIO pins.
minItems: 1
maxItems: 32

interrupt-controller: true

'#interrupt-cells':
const: 2

patternProperties:
"^gpio-(port|controller)@[0-9a-f]+$":
type: object
properties:
compatible:
const: phytium,gpio-port

reg:
maxItems: 1

nr-gpios:
$ref: /schemas/types.yaml#/definitions/uint32
description: The number of GPIO pins exported by the port.
default: 32
minimum: 1
maximum: 32

required:
- compatible
- reg
- gpio-controller
- '#gpio-cells'

dependencies:
interrupt-controller: [ interrupts ]

additionalProperties: false

additionalProperties: false

required:
- compatible
- reg
- "#address-cells"
- "#size-cells"

examples:
- |
gpio: gpio@28004000 {
compatible = "phytium,gpio";
reg = <0x0 0x28004000 0x0 0x1000>;
gpio-controller;
#gpio-cells = <2>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;

porta: gpio-port@0 {
compatible = "phytium,gpio-port";
reg = <0>;
nr-gpios = <8>;
};

portb: gpio-port@1 {
compatible = "phytium,gpio-port";
reg = <1>;
nr-gpios = <8>;
};
};
...
81 changes: 81 additions & 0 deletions Documentation/devicetree/bindings/hwmon/phytium,tacho.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/phytium,tacho.yaml
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium Fan Tacho and capture counter controller device driver

maintainers:
- Chen Baozi <chenbaozi@phytium.com.cn>

description: |
The controller can support one input signal. The function of controller is to
measure the speed of fan and the edge number of input signal. The function
can be selected by devicetree setting. The edging mode and anti-jitter level
can also setted in devicetree.

properties:
compatible:
const: phytium,tacho

reg:
maxItems: 1

clocks:
maxItems: 1

'#address-cells':
const: 1

'#size-cells':
const: 1

tacho:
$ref: /schemas/types.yaml#/definitions/flag
description:
set the controller work as fan tachometer, which is a default option.

capture:
$ref: /schemas/types.yaml#/definitions/flag
description:
set the controller work as capture counter.

up:
$ref: /schemas/types.yaml#/definitions/flag
description:
set the input edging mode as ascending, which is a default option.

down:
$ref: /schemas/types.yaml#/definitions/flag
description:
set the input edging mode as descending.

double:
$ref: /schemas/types.yaml#/definitions/flag
description:
set the input edging mode as doule-edging.

debounce-level:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1, 2, 3]

required:
- compatible
- reg
- clocks
- '#address-cells'
- '#size-cells'

examples:
- |
tacho: tacho@28054000 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0 0x28054000 0x0 0x1000>;
compatible = "phytium,tacho";
clocks = <&sysclk>;
tacho;
up;
debounce-level = <2>;
};
Loading