-
Notifications
You must be signed in to change notification settings - Fork 105
[linux-6.6.y] LoongArch: Fix some issues and new feature support #599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Avenger-285714
merged 19 commits into
deepin-community:linux-6.6.y
from
AaronDot:dev-6.6
Feb 18, 2025
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
54fc95a
LoongArch: Use arch specific phys_to_dma
AaronDot 106738e
LoongArch: Change SHMLBA from SZ_64K to PAGE_SIZE
AaronDot c975136
LoongArch: Add writecombine support for DMW-based ioremap()
AaronDot 484892e
LoongArch: Remove superfluous flush_dcache_page() definition
AaronDot 0e7f5c1
LoongArch: Use accessors to page table entries instead of direct dere…
AaronDot b2fa48c
LoongArch: Improve hardware page table walker
AaronDot 7c89043
LoongArch: Set initial pte entry with PAGE_GLOBAL for kernel space
AaronDot 1c06100
LoongArch: Add AVEC irqchip support
AaronDot dd50566
LoongArch: Add CPU HWMon platform driver
AaronDot f340849
LoongArch: Fix i2c related issues
AaronDot f996548
LoongArch: Adjust the calculation of the number of packages
AaronDot 402112e
irqchip/loongarch-avec: Add multi-nodes topology support
AaronDot c9f490b
irqchip/loongson-eiointc: Fix external irq route error
AaronDot 6de7532
PCI: Prevent LS7A Bus Master clearing on kexec
AaronDot 045c990
pci/quirks: LS7A2000: Fix pm transition of devices under pcie port
AaronDot 4985495
PCI/ACPI: Increase Loongson max PCI hosts to 8
AaronDot de4ab3e
drm/loongson: Compile loongson drm driver as module
AaronDot dc2b4d1
cpufreq: loongson3-acpi: Initialize scaling_cur_freq correctly
AaronDot 2755f1e
net: stmmac: dwmac-loongson: Add loongson_dwmac_fix_reset() callback
AaronDot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1476,7 +1476,7 @@ CONFIG_DRM_AST=y | |
| CONFIG_DRM_MGAG200=m | ||
| CONFIG_DRM_QXL=m | ||
| CONFIG_DRM_VIRTIO_GPU=m | ||
| CONFIG_DRM_LOONGSON=y | ||
| CONFIG_DRM_LOONGSON=m | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 需要一并在deepin_loongarch_desktop_defconfig 中也修改 |
||
| CONFIG_DRM_BOCHS=m | ||
| CONFIG_DRM_CIRRUS_QEMU=m | ||
| CONFIG_FB=y | ||
|
|
@@ -1674,6 +1674,8 @@ CONFIG_HID_ALPS=m | |
| CONFIG_HID_PID=y | ||
| CONFIG_USB_HIDDEV=y | ||
| CONFIG_I2C_HID=m | ||
| CONFIG_I2C_HID_ACPI=m | ||
| CONFIG_I2C_HID_OF=m | ||
| CONFIG_USB_LED_TRIG=y | ||
| CONFIG_USB=y | ||
| CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0 */ | ||
| #ifndef _ASM_LOONGARCH_DMA_DIRECT_H | ||
| #define _ASM_LOONGARCH_DMA_DIRECT_H | ||
|
|
||
| extern int node_id_offset; | ||
|
|
||
| static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) | ||
| { | ||
| long nid = (paddr >> 44) & 0xf; | ||
|
|
||
| return ((nid << 44) ^ paddr) | (nid << node_id_offset); | ||
| } | ||
|
|
||
| static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) | ||
| { | ||
| long nid = (daddr >> node_id_offset) & 0xf; | ||
|
|
||
| return ((nid << node_id_offset) ^ daddr) | (nid << 44); | ||
| } | ||
|
|
||
| #endif /* _ASM_LOONGARCH_DMA_DIRECT_H */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (typo): Typo: "UARTS" should be "UART"