Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
78c466f
BACKPORT: FROMLIST: MIPS: Add __cpu_full_name[] to make CPU names mor…
chenhuacai Mar 12, 2020
0683b36
BACKPORT: FROMLIST: MIPS: tlbex: Avoid access invalid address when pm…
heiher Apr 8, 2021
0411efa
FROMLIST: MIPS: Loongson: Add board_ebase_setup() support
chenhuacai Mar 12, 2020
0170e51
FROMLIST: scsi: lpfc: Switch memcpy_fromio() to __read32_copy()
chenhuacai Dec 19, 2018
35e395c
FROMLIST: MIPS: Crash kernel should be able to see old memories
chenhuacai Sep 24, 2020
8851269
BACKPORT: FROMLIST: MIPS: Reserve extra memory for crash dump
chenhuacai Sep 24, 2020
b544ea3
BACKPORT: FROMLIST: MIPS syscall auditing patches
ralfbaechle Apr 2, 2014
94d6b7d
FROMLIST: MIPS: math-emu: Add madd/msub/nmadd/nmsub emulation for Loo…
chenhuacai Feb 6, 2019
16a01e9
BACKPORT: FROMLIST: mips/mm: Add NUMA balancing support
chenhuacai Nov 1, 2020
7edc5e9
FROMLIST: MIPS: Loongson64: Enlarge cross-package node distance
chenhuacai Nov 1, 2020
22a3149
AOSCOS: wifi: rt2x00: Condition interface type getters with config op…
FlyGoat Jan 19, 2023
d37c5bd
AOSCOS: tty: serial_core: Clear TTY_IO_ERROR if tty_port_open() return 0
chenhuacai Dec 1, 2016
aa7603f
AOSCOS: MIPS: Loongson: Add constant timer support
chenhuacai Nov 29, 2019
7333887
AOSCOS: MIPS: loongson64: fix constant timer build on kernel versions…
MingcongBai Dec 3, 2024
310d24a
AOSCOS: MIPS: loongson64: use generic vDSO clock mode storage for con…
MingcongBai Dec 3, 2024
b832e5d
AOSCOS: MIPS: Loongson: Make CPUFreq usable for Loongson-3
chenhuacai Jul 12, 2017
be8b83a
AOSCOS: MIPS: Loongson-3: Add CPUFreq BOOST support
chenhuacai Nov 27, 2019
13f1fad
AOSCOS: MIPS: Loongson 3: Add basic EC operations
chenhuacai Dec 1, 2016
bf138f5
AOSCOS: MIPS: ec_wpce775l: add a missing prototype for ec_query_get_e…
MingcongBai Dec 4, 2024
235dd58
AOSCOS: MIPS: Loongson 3: Add platform device drivers
chenhuacai Dec 1, 2016
2cfaf40
AOSCOS: platform: mips: rename dependency for LEMOTE3A_LAPTOP
MingcongBai Dec 4, 2024
aba8187
AOSCOS: platform: sd5075: convert to i2c_new_client_device() function
MingcongBai Dec 4, 2024
94174ff
AOSCOS: platform: emc1412: convert to i2c_new_client_device() function
MingcongBai Dec 4, 2024
10884a0
AOSCOS: platform: sd5075: mark non-prototyped functions as static
MingcongBai Dec 4, 2024
321db7e
AOSCOS: platform: emc1412: mark non-prototyped functions as static
MingcongBai Dec 4, 2024
2b80bae
AOSCOS: platform: emc1412: drop unused fixup_cpu_temp() function
MingcongBai Dec 4, 2024
2b7125a
AOSCOS: platform: emc1412: drop unused emc1412_internal_temp() function
MingcongBai Dec 4, 2024
cb08ad1
AOSCOS: platform: lemote3a-laptop: drop fb_blank state from backlight…
MingcongBai Dec 4, 2024
0ef5f55
AOSCOS: platform: lemote3a-laptop: fix pci_enable_device() usage
MingcongBai Dec 4, 2024
f440520
AOSCOS: platform: sbx00_fan: add missing definitions for pm{,2}_* fun…
MingcongBai Dec 4, 2024
ff474aa
AOSCOS: MIPS: Loongson: Add ACPI Power Button driver
chenhuacai Nov 9, 2017
13d0218
AOSCOS: platform: rs780e-acpi: deprecate pci_get_bus_and_slot()
MingcongBai Dec 4, 2024
5b76d6a
AOSCOS: MIPS: Loongson: Add the multifunction keys (Fnkey) support.
chenhuacai Dec 1, 2016
4b22eb2
AOSCOS: input: atkbd: correct dependency for KEYBOARD_ATKBD_LEMOTE_KE…
MingcongBai Dec 4, 2024
50f11d9
AOSCOS: input: atkbd: disable KEYBOARD_ATKBD_LEMOTE_KEYCODES by default
MingcongBai Dec 4, 2024
73dcff7
AOSCOS: MIPS: workarounds: declare function prototypes
MingcongBai Dec 5, 2024
649c38c
AOSCOS: MIPS: loongson64: add missing includes for the loongson_syste…
MingcongBai Dec 5, 2024
e2d85da
AOSCOS: GPIO: Reset usb One-Way-Import chip for TMCS
chenhuacai Dec 1, 2016
5a79133
AOSCOS: MIPS: Loongson 3: Add EC resources accessing and programming …
chenhuacai Dec 1, 2016
1dde164
AOSCOS: MIPS: Loongson: Add PMON read/write in OS support
chenhuacai Dec 1, 2016
b9cd4b6
AOSCOS: platform: pmon_flash: mark init_flash() function as static
MingcongBai Dec 5, 2024
dad2f4c
AOSCOS: MIPS: Loongson: AT24c04 support for Loongson-3
Dec 1, 2016
bf16d12
AOSCOS: Add ioremap.h for loongson platform
Dec 1, 2016
edb695a
AOSCOS: Fix touchpad status error after STR/STD
chenhuacai Dec 1, 2016
ad7e630
AOSCOS: GPIO: Add NCT6102 GPIO driver support
AlooGS Jan 5, 2018
f29ff5a
AOSCOS: gpio: use CPU_LOONGSON64 for GPIO_NCT6102
MingcongBai Dec 9, 2024
50059ec
AOSCOS: gpio: gpio-nct6102: add a missing include to <linux/gpio/driv…
MingcongBai Dec 9, 2024
cd1d86f
AOSCOS: gpio: gpio-nct6102: remove unused write_gbl() function
MingcongBai Dec 9, 2024
0f46637
AOSCOS: gpio: gpio-nct6102: drop an unused variable in nct6102_gpio_s…
MingcongBai Dec 9, 2024
456d8cd
AOSCOS: gpio: gpio-nct6102: revise gpiochip_add() as gpiochip_add_data()
MingcongBai Dec 9, 2024
a8659b6
AOSCOS: hwmon: Add NCT7511 driver support
AlooGS Nov 22, 2019
7e57a2f
AOSCOS: hwmon: nct7511: replace deprecated strlcpy() with strscpy()
MingcongBai Dec 9, 2024
450aeb4
AOSCOS: hwmon: nct7511: revise .probe() in struct i2c_driver
MingcongBai Dec 9, 2024
44065b9
AOSCOS: snd/hda/patch_conexant: add proc_widget_hook
Dec 1, 2016
34bb5a5
AOSCOS: snd-hda-codec: new symbol snd_hda_codec_exec_verb
Dec 1, 2016
913c901
AOSCOS: snd/hda/conexant: add support for raw verbs
Dec 1, 2016
2b2aad7
AOSCOS: snd/hda/conexant: Add support for lemote A1205
chenhuacai Dec 1, 2016
27d8ee9
AOSCOS: add 3g support and ppp config support
Dec 1, 2016
7953fa4
AOSCOS: add rear mic support for CX20631
Dec 1, 2016
40b9b8a
AOSCOS: add rear mic support for CX20641
chenhuacai Dec 1, 2016
6bbf3e7
AOSCOS: Change some KERN_ERR to KERN_INFO
chenhuacai Dec 1, 2016
7614354
AOSCOS: E1000E: Detect and recover weird rx hang bug
chenhuacai Dec 1, 2016
be40df7
AOSCOS: Retry to configure USB device if needed
chenhuacai Dec 1, 2016
c573d2c
AOSCOS: platform: export psmouse::touchpad led device
Dec 1, 2016
598ff5e
AOSCOS: Loongson: Add data destory and healthy led control
chenhuacai Apr 21, 2017
5da95c9
AOSCOS: writeback: Limit maximum dirty data for Loongson-3
chenhuacai Feb 1, 2018
aec5bc7
AOSCOS: mm: writeback: replace CPU_LOONGSON3 with CPU_LOONGSON64
MingcongBai Dec 10, 2024
60d6638
AOSCOS: drm/radeon: recover the GPU if it fails at resume
chenhuacai Dec 1, 2016
7a7994c
AOSCOS: drm: radeon: declare prototype for radeon_recover_callback()
MingcongBai Dec 10, 2024
cc0203e
AOSCOS: Revert "drm/ttm: remove ttm_bo_(un)lock_delayed_workqueue"
MingcongBai Dec 10, 2024
7c7ce71
AOSCOS: drm: ttm: introduce struct delayed_work member dwork to struc…
MingcongBai Dec 11, 2024
a89a978
AOSCOS: drm/radeon: Fix hibernation for JUNIPER on Loongson
chenhuacai Dec 1, 2016
0ae917c
AOSCOS: drm: radeon: limit MIPS Loongson-3 workarounds for Juniper
MingcongBai Dec 11, 2024
23b8397
AOSCOS: drm/radeon: Use high performance profile
chenhuacai May 6, 2017
20a3dd3
AOSCOS: drm/radeon: Reintroduce radeon_gart_restore()
chenhuacai Aug 1, 2018
09b91e9
AOSCOS: drm/radeon: Modify GART TLB setting to fix kdump failure
chenhuacai Aug 1, 2018
767befe
AOSCOS: sm750fb: change default screen resolution
chenhuacai Nov 3, 2017
7e4ebd9
AOSCOS: sm750fb: Disable hw_cursor to avoid screen corruption
chenhuacai Dec 1, 2016
2d6fefe
AOSCOS: Input: i8042 - Make i8042_bypass_aux_irq_test as a module par…
chenhuacai Dec 1, 2016
92d0f67
AOSCOS: IGB: Detect and recover weird rx hang bug
chenhuacai Dec 1, 2016
8d5ff38
AOSCOS: Revert "staging: sb105x: delete the driver"
chenhuacai Dec 1, 2016
09489ed
AOSCOS: Staging: sb105x: Fix build and add MIPS support
chenhuacai Dec 1, 2016
2066da1
AOSCOS: staging: sb105x: add missing function prototypes
MingcongBai Dec 11, 2024
2ea407a
AOSCOS: staging: sb105x: adapt to tty_struct changes
MingcongBai Dec 11, 2024
375690e
AOSCOS: staging: sb105x: rename state to __state in task_struct
MingcongBai Dec 11, 2024
a1007d7
AOSCOS: staging: sb105x: replace deprecated strlcpy() with strscpy()
MingcongBai Dec 11, 2024
0e0ac3a
AOSCOS: staging: sb105x: replace alloc_tty_driver() with tty_alloc_dr…
MingcongBai Dec 11, 2024
db2bb64
AOSCOS: staging: sb105x: replace put_tty_driver() with tty_driver_kre…
MingcongBai Dec 11, 2024
9ac083f
AOSCOS: MIPS: serial: drop STD_FLAGS
MingcongBai Dec 11, 2024
a750f5f
AOSCOS: staging: sb105x: drop upstream-removed STD_COM_FLAGS
MingcongBai Dec 11, 2024
75986f8
AOSCOS: staging: sb105x: drop TTY_DRIVER_MAGIC assignment
MingcongBai Dec 11, 2024
1eff80a
AOSCOS: staging: sb105x: convert old ktermios to a const
MingcongBai Dec 11, 2024
c251a8d
AOSCOS: staging: sb105x: revise type of mp_write() as ssize_t
MingcongBai Dec 11, 2024
6ac1514
AOSCOS: staging: sb105x: revise type of mp_write_room() as unsigned int
MingcongBai Dec 11, 2024
75eeb83
AOSCOS: staging: sb105x: revise type of mp_chars_in_buffer() as unsig…
MingcongBai Dec 11, 2024
a57477a
AOSCOS: staging: sb105x: revise type of second argument of mp_send_xc…
MingcongBai Dec 11, 2024
794015a
AOSCOS: 8250_pci: Add a new PLX9050 serial port card support
chenhuacai May 28, 2017
2e5a683
AOSCOS: HID: Add some usb-ids ILITEK touch screen driver
chenhuacai Jul 18, 2017
3dd11a8
AOSCOS: USB: OHCI: Fix ohci_resume() for hibernation
chenhuacai Nov 24, 2018
186cb85
AOSCOS: USB: XHCI: Fix device lost problems on ETRON controller
chenhuacai Jun 3, 2019
559dce9
AOSCOS: Loongson: Add LS7A pwm driver support
chenhuacai Apr 16, 2018
c283881
AOSCOS: MIPS: ls7a_fan: use register addresses in loongson.h
MingcongBai Dec 11, 2024
8aff50e
AOSCOS: MIPS: math-emu: replace CPU_LOONGSON3 conditions with CPU_LOO…
MingcongBai Dec 11, 2024
376c82e
AOSCOS: Optimize clear_page
Dec 1, 2016
d5f80cd
AOSCOS: memset optimization for loongson-3
Dec 1, 2016
25650a3
AOSCOS: MIPS: loongson3-memset: replace <asm/export.h> with <linux/ex…
MingcongBai Dec 11, 2024
aacb47d
AOSCOS: MIPS: loongson3-memset: use PTR_WD to fix build
MingcongBai Dec 12, 2024
7b66871
AOSCOS: MIPS: lib: exclude generic memset.o if CPU_LOONGSON64 is set
MingcongBai Dec 12, 2024
bdad755
AOSCOS: memcpy optimization for loongson-3
Dec 1, 2016
5d89962
AOSCOS: MIPS: loongson3-memcpy: use PTR_WD to fix build
MingcongBai Dec 12, 2024
c70dd5b
AOSCOS: MIPS: loongson3-memcpy: replace <asm/export.h> with <linux/ex…
MingcongBai Dec 12, 2024
94458bb
AOSCOS: MIPS: mark CPU_LOONGSON64 as HAVE_PLAT_MEMCPY
MingcongBai Dec 12, 2024
58401b1
AOSCOS: MIPS: loongson3-memcpy: adapt to RAW_COPY_USER
MingcongBai Dec 12, 2024
3811a64
AOSCOS: spi: spi-loongson: allow building on MACH_LOONGSON32/64
MingcongBai Dec 12, 2024
bb076f6
AOSCOS: MIPS: select ARCH_FORCE_MAX_ORDER >= 11 if NUMA_BALANCING is …
MingcongBai Dec 12, 2024
dec763a
AOSCOS: init: make NUMA_BALANCING depend on TRANSPARENT_HUGEPAGE if MIPS
MingcongBai Dec 12, 2024
8059993
AOSCOS: parport: Add support for the WCH384 4S/1P multi-IO card
chenhuacai Jun 23, 2018
29c911c
AOSCOS: MIPS: audit: declare function prototypes for audit_classify_s…
MingcongBai Dec 10, 2024
a52fdd4
AOSCOS: MIPS: audit: replace magic audit syscall class numbers with m…
MingcongBai Dec 10, 2024
d64f47d
AOSCOS: MIPS: audit: clean up the last remnants of magic numbers
MingcongBai Dec 16, 2024
3d98267
BACKPORT: MIPS: Implement ieee754 NAN2008 emulation mode
FlyGoat Jun 12, 2024
74dccc5
MIPS: Loongson64: Implement PM suspend for LEFI firmware
FlyGoat May 7, 2024
fae1747
MIPS: Loongson64: sleeper: Pass ra and sp as arguments
FlyGoat Jun 14, 2024
9acb4f0
MIPS: asm/pm.h: Use platform agnostic macros
FlyGoat May 7, 2024
8372e76
MIPS: select CPU_PM with SUSPEND
FlyGoat May 7, 2024
5fcb7e9
DEEPIN: pci: limit CFG0/1 mode detection to CONFIG_LOONGARCH
MingcongBai Dec 23, 2024
e12ff80
DEEPIN: mips: add deepin_loongson3_desktop_defconfig
MingcongBai Dec 23, 2024
a3ec949
MIPS: Probe toolchain support of -msym32
FlyGoat Feb 2, 2024
36bca45
MIPS: mipsregs: Set proper ISA level for virt extensions
FlyGoat Feb 2, 2024
cfd4a44
DEEPIN: MIPS: loongson64: use strlen to calculate string length
MingcongBai Dec 25, 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
4 changes: 3 additions & 1 deletion Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@
for the device. By default it is set to false (0).

ieee754= [MIPS] Select IEEE Std 754 conformance mode
Format: { strict | legacy | 2008 | relaxed }
Format: { strict | legacy | 2008 | relaxed | emulated }
Default: strict

Choose which programs will be accepted for execution
Expand All @@ -1953,6 +1953,8 @@
by the FPU
relaxed accept any binaries regardless of whether
supported by the FPU
emulated accept any binaries but enable FPU emulator
if binary mode is unsupported by the FPU.

The FPU emulator is always able to support both NaN
encodings, so if no FPU hardware is present or it has
Expand Down
26 changes: 22 additions & 4 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ config MIPS
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_HAS_UBSAN_SANITIZE_ALL
select ARCH_HAS_GCOV_PROFILE_ALL
select ARCH_SUPPORTS_NUMA_BALANCING if 64BIT
select ARCH_KEEP_MEMBLOCK
select ARCH_USE_BUILTIN_BSWAP
select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
Expand All @@ -29,7 +30,7 @@ config MIPS
select BUILDTIME_TABLE_SORT
select CLONE_BACKWARDS
select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1)
select CPU_PM if CPU_IDLE
select CPU_PM if CPU_IDLE || SUSPEND
select GENERIC_ATOMIC64 if !64BIT
select GENERIC_CMOS_UPDATE
select GENERIC_CPU_AUTOPROBE
Expand Down Expand Up @@ -102,6 +103,11 @@ config MIPS
select TRACE_IRQFLAGS_SUPPORT
select ARCH_HAS_ELFCORE_COMPAT
select HAVE_ARCH_KCSAN if 64BIT
select HAVE_ARCH_AUDITSYSCALL
select AUDIT_ARCH

config AUDIT_ARCH
bool

config MIPS_FIXUP_BIGPHYS_ADDR
bool
Expand Down Expand Up @@ -492,6 +498,7 @@ config MACH_LOONGSON64
select CSRC_R4K
select CEVT_R4K
select FORCE_PCI
select HAVE_CLK
select ISA
select I8259
select IRQ_MIPS_CPU
Expand All @@ -515,6 +522,8 @@ config MACH_LOONGSON64
select BUILTIN_DTB
select PCI_HOST_GENERIC
select HAVE_ARCH_NODEDATA_EXTENSION if NUMA
select CPU_SUPPORTS_CPUFREQ
select MIPS_EXTERNAL_TIMER
help
This enables the support of Loongson-2/3 family of machines.

Expand Down Expand Up @@ -1013,6 +1022,12 @@ config FW_ARC
config ARCH_MAY_HAVE_PC_FDC
bool

config AUDITSYSCALL_O32
bool

config AUDITSYSCALL_N32
bool

config BOOT_RAW
bool

Expand Down Expand Up @@ -1284,6 +1299,7 @@ config CPU_LOONGSON64
select GPIOLIB
select SWIOTLB
select HAVE_KVM
select HAVE_PLAT_MEMCPY
help
The Loongson GSx64(GS264/GS464/GS464E/GS464V) series of processor
cores implements the MIPS64R2 instruction set with many extensions,
Expand Down Expand Up @@ -2106,9 +2122,9 @@ endchoice

config ARCH_FORCE_MAX_ORDER
int "Maximum zone order"
default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
default "11" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
default "13" if (NUMA_BALANCING || MIPS_HUGE_TLB_SUPPORT) && PAGE_SIZE_64KB
default "12" if (NUMA_BALANCING || MIPS_HUGE_TLB_SUPPORT) && PAGE_SIZE_32KB
default "11" if (NUMA_BALANCING || MIPS_HUGE_TLB_SUPPORT) && PAGE_SIZE_16KB
default "10"
help
The kernel memory allocator divides physically contiguous memory
Expand Down Expand Up @@ -3087,6 +3103,7 @@ config MIPS32_O32
select ARCH_WANT_OLD_COMPAT_IPC
select COMPAT
select MIPS32_COMPAT
select AUDITSYSCALL_O32 if AUDITSYSCALL
help
Select this option if you want to run o32 binaries. These are pure
32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
Expand All @@ -3100,6 +3117,7 @@ config MIPS32_N32
select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
select COMPAT
select MIPS32_COMPAT
select AUDITSYSCALL_N32 if AUDITSYSCALL
help
Select this option if you want to run n32 binaries. These are
64-bit binaries using 32-bit quantities for addressing and certain
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ drivers-$(CONFIG_PCI) += arch/mips/pci/
ifdef CONFIG_64BIT
ifndef KBUILD_SYM32
ifeq ($(shell expr $(load-y) \< 0xffffffff80000000), 0)
KBUILD_SYM32 = y
KBUILD_SYM32 = $(call cc-option-yn, -msym32)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: trailing whitespace

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: trailing whitespace

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: trailing whitespace

endif
endif

Expand Down
Loading
Loading