Git Product home page Git Product logo

linux's People

Stargazers

 avatar iotah avatar zhong taifeng avatar 忘怀 avatar Mirror avatar  avatar  avatar Wang Xiang avatar Xu Liangyu avatar  avatar  avatar Shi Pujin  avatar  avatar sl avatar  avatar Ding Chengshan avatar ernest avatar michael avatar Yonggang Luo avatar Sui Jingfeng avatar

Watchers

Lucian avatar Sui Jingfeng avatar Han Gao avatar Huacai Chen avatar 忘怀 avatar  avatar 李瑞坚 avatar  avatar

linux's Issues

iommu 初始化失败

[    0.365917] iommu: Default domain type: Translated 
[    0.365921] iommu: DMA domain TLB invalidation policy: strict mode 
[    3.495452] loongson-iommu 0000:00:1a.0: can't derive routing for PCI INT A
[    3.502372] loongson-iommu 0000:00:1a.0: PCI INT A: no GSI
[    3.507833] iommu membase (____ptrval____) pgtbase (____ptrval____) pgtsize 4000000 maxpages 1000

使用master分支,3A5000-7A2000_EVB prestable202308固件,测试iommu不可用。

loongson3_cpufreq 驱动加载失败

分支:loongarch-next
加载驱动时输出:

insmod: ERROR: could not insert module drivers/cpufreq/loongson3_cpufreq.ko: Operation not permitted

出错位置:

static int configure_cpufreq_info(void)
{
	int ret;
	union smc_message msg;

	msg.cmd		= CMD_GET_VERSION;
	msg.extra	= 0;
	msg.complete	= 0;
	ret = do_service_request(&msg);
	if (ret < 0 || msg.val < 0x1)
		return -EPERM;
......

此处 msg.val 返回值为0
假如注释该处,则出错位置如下:

......
	ret = cpufreq_register_driver(&loongson3_cpufreq_driver);
	if (ret)
		goto err;
......

此处 ret 返回值为-19

固件中的 DVFS 功能是开启的。
固件版本与相关信息如下:

# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0xFE3B0000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: Loongson
	Version: Loongson-UDK2018-V4.0.05132-beta10
	Release Date: 07/26/2023
	ROM Size: 4 MB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		Boot from CD is supported
		Selectable boot is supported
		BIOS ROM is socketed
		Serial services are supported (int 14h)
		USB legacy is supported
		UEFI is supported
	BIOS Revision: 4.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Loongson
	Product Name: Loongson-3A5000M-7A1000-Laptop-Eascs-L71
	Version: Not Specified
	Serial Number: Not Specified
	UUID: Not Present
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family: Not Specified
......

tlb_virt_to_page/dmw_virt_to_page GPL-only symbol问题

你好,tlb_virt_to_page/dmw_virt_to_page两个模块是GPL-only symbol的,这个是否能做调整?谢谢

# cmd_modules_order /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/modules.order
  {   echo /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/spl.o;   echo /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/zfs.o; :; } > /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/modules.order
sh ./scripts/modules-check.sh /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/modules.order
make -f ./scripts/Makefile.modpost
# MODPOST /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/Module.symvers
   scripts/mod/modpost -M -m       -o /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/Module.symvers -n -T /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/modules.order -i Module.symvers -e 
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'dmw_virt_to_page'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'tlb_virt_to_page'
make[5]: *** [scripts/Makefile.modpost:145: /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/Module.symvers] Error 1
make[4]: *** [/usr/src/linux-loongarchlinux/Makefile:1865: modpost] Error 2
make[3]: *** [Makefile:234: __sub-make] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.