Your message dated Thu, 02 Jul 2026 20:24:46 +0000
with message-id <[email protected]>
and subject line Bug#1140651: fixed in linux 7.0.14-1
has caused the Debian Bug report #1140651,
regarding linux: CONFIG_NR_CPUS=64 too small for 80-core RISC-V hardware
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1140651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140651
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: linux
Version: 6.12.86-1
Severity: important

Dear Maintainer,

The riscv64 kernel is built with CONFIG_NR_CPUS=64. On hardware with more than 
64 harts, the excess CPUs are silently lost at boot.

Hardware:

  Board:   SpacemiT V100 (C2201MB1)
  Vendor:  SpacemiT (mvendorid=0x710)
  marchid: 0x8000000058000002
  mimpid:  0x4c4d900
  Arch:    riscv64, MMU sv48
  ISA:     rv64imafdcvh_zicbom_zicboz_zicntr_zicond_zicsr_zifencei
             _zihintntl_zihintpause_zihpm_zimop_zawrs_zfa_zfh_zfhmin
             _zca_zcb_zcd_zcmop_zba_zbb_zbc_zbs_zkt_zvbb_zvbc_zve32f
             _zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkb_zvkg
             _zvkned_zvknhb_zvksed_zvksh_zvkt_smaia_smstateen_ssaia
             _sscofpmf_sstc_svinval_svnapot_svpbmt
  Physical harts: 80 (hart IDs 0-39, 64-87)

Observed behaviour:

    $ nproc --all
    64

    $ cat /sys/devices/system/cpu/possible
    0-63

  16 harts are silently dropped at boot. The kernel only sees 64 CPUs.

  Boot messages:

    [    0.000000] NR_CPUS is too small for the number of ACPI tables.

  This message is repeated 16 times.

  Kernel config:

    CONFIG_SMP=y
    CONFIG_NR_CPUS=64

  Expected behaviour:

  All 80 harts should be usable. CONFIG_NR_CPUS should be raised to at least 
256 for riscv64, matching the arm64 default.

Suggested fix:

In debian/config/riscv64/config, change:

    CONFIG_NR_CPUS=64

  to:

    CONFIG_NR_CPUS=256

  Workaround:

  None without recompiling the kernel.

  Thanks,
  Lufei


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not an intended recipient of 
this message, please delete it and any attachment from your system and notify 
the sender immediately by reply e-mail. Unintended recipients should not use, 
copy, disclose or take any action based on this message or any information 
contained in this message. Emails cannot be guaranteed to be secure or error 
free as they can be intercepted, amended, lost or destroyed, and you should 
take full responsibility for security checking. 
 
本邮件及其任何附件具有保密性质,并可能受其他保护或不允许被披露给第三方。如阁下误收到本邮件,敬请立即以回复电子邮件的方式通知发件人,并将本邮件及其任何附件从阁下系统中予以删除。如阁下并非本邮件写明之收件人,敬请切勿使用、复制、披露本邮件或其任何内容,亦请切勿依本邮件或其任何内容而采取任何行动。电子邮件无法保证是一种安全和不会出现任何差错的通信方式,可能会被拦截、修改、丢失或损坏,收件人需自行负责做好安全检查。

--- End Message ---
--- Begin Message ---
Source: linux
Source-Version: 7.0.14-1
Done: Salvatore Bonaccorso <[email protected]>

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <[email protected]> (supplier of updated linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 02 Jul 2026 20:37:49 +0200
Source: linux
Architecture: source
Version: 7.0.14-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Kernel Team <[email protected]>
Changed-By: Salvatore Bonaccorso <[email protected]>
Closes: 1128861 1140651
Changes:
 linux (7.0.14-1) unstable; urgency=medium
 .
   * New upstream stable update:
     https://www.kernel.org/pub/linux/kernel/v7.x/ChangeLog-7.0.14
     - io_uring/net: Avoid msghdr on op_connect/op_bind async data
     - [arm64] entry: Fix arm64-specific rseq brokenness
     - lockd: fix TEST handling when not all permissions are available.
       (Closes: #1128861)
     - fuse: re-lock request before replacing page cache folio
     - Revert "NFSD: Defer sub-object cleanup in export put callbacks"
     - RDMA/bnxt_re: zero shared page before exposing to userspace
     - bpf: Fix NULL pointer dereference in bpf_sk_storage_clone and diag paths
       (CVE-2026-52938)
     - i2c: stub: Reject I2C block transfers with invalid length
     - [arm64] net: qualcomm: rmnet: fix endpoint use-after-free in
       rmnet_dellink()
     - [amd64] agp/amd64: Fix broken error propagation in agp_amd64_probe()
     - rose: fix dev_put() leak in rose_loopback_timer()
     - rose: hold loopback neighbour reference across timer callback
     - rose: fix race between loopback timer and module removal
     - rose: clear neighbour pointer after rose_neigh_put() in state machines
     - rose: guard rose_neigh_put() against NULL in timer expiry
     - rose: fix netdev double-hold in rose_rx_call_request()
     - rose: fix notifier unregistered too early in rose_exit()
     - rose: set SOCK_DESTROY in rose_kill_by_device() for prompt cleanup
     - rose: disconnect orphaned STATE_2 sockets when device is gone
     - rose: fix netdev double-hold in rose_make_new()
     - rose: release netdev ref and destroy orphaned incoming sockets
     - rose: drop CALL_REQUEST in loopback timer when device is not running
     - rose: cancel neighbour timers in rose_neigh_put() before freeing
     - rose: clear neighbour pointer in rose_kill_by_device()
     - rose: don't free fd-owned sockets when reaping in the heartbeat
     - net: export netif_open for self_test usage
     - net: net_failover: Fix the deadlock in slave register
     - iio: light: veml6075: add bounds check to veml6075_it_ms index
     - iio: adc: ti-ads1298: add bounds check to pga_settings index
     - crypto: qat - remove unused character device and IOCTLs
     - vc_screen: fix null-ptr-deref in vcs_notifier() during concurrent
       vcs_write
     - [arm64] serial: qcom_geni: Fix RX DMA stall when SE_DMA_RX_LEN_IN is zero
     - serial: 8250_dw: unregister 8250 port if clk_notifier_register() fails
     - drivers/base/memory: set mem->altmap after successful device registration
     - ksmbd: reject non-VALID session in compound request branch
     - virtiofs: fix UAF on submount umount
 .
   [ Han Gao ]
   * [riscv64] set NR_CPUS to 128 (Closes: #1140651)
Checksums-Sha1:
 4e3363fd4ceab7effaccf3b57ab4b23ad58e671c 196174 linux_7.0.14-1.dsc
 5d4e1d19d8ce04ee2d6be9b1377865b66cc21fd9 160429680 linux_7.0.14.orig.tar.xz
 3f2289146957c3c71dd0e13475dbba9cc8c953fc 1507740 linux_7.0.14-1.debian.tar.xz
 4f6e25eca09c730374f3232c9ec1a15afaf31c60 6930 linux_7.0.14-1_source.buildinfo
Checksums-Sha256:
 bcf30ddea7172ea24ef1e8afab018e4d2991744b30ca817cf908d2ffdbcc3535 196174 
linux_7.0.14-1.dsc
 366e8be6649c243760428184eeb9dae846c92c69cd63a630480ed71e24d0973f 160429680 
linux_7.0.14.orig.tar.xz
 f22bf7282f5a209197bbe03cbfcef9911691ec0e27964ef95d2325092e7a6090 1507740 
linux_7.0.14-1.debian.tar.xz
 d41de6476e5b2ed0f8320b4f282d09d5d9630e4db95dcf83dc03bc78944d6156 6930 
linux_7.0.14-1_source.buildinfo
Files:
 1ca24447595be8c9544275868cd5ac29 196174 kernel optional linux_7.0.14-1.dsc
 d800c0db19f110d426dada251f6508f3 160429680 kernel optional 
linux_7.0.14.orig.tar.xz
 46a6870e57b029e6100c19e627970903 1507740 kernel optional 
linux_7.0.14-1.debian.tar.xz
 7ad02f662822e7dbf703600a4fe2fd8e 6930 kernel optional 
linux_7.0.14-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmpGsIxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89EEmEP+gJDIAla7FkvmM7e2Dpddnx+mkF6fhoK
+P4rvjPRFDYgsjrgM8M86rlTSNdBXvW0ZPUuAcbV4648Nn2KWFXNE5JGwdQKpgLI
L2rnRKx/QrrMaHMboZnQgQmmnxcGPGVvm3JGeiMADuc04YhI1NGJxxPvULTVHlGR
IXF2ynHKeKk/LJ1TUd0cE7mF3coKo2yvubx4ifaQ3s63DfTvTABGRUBoSn2x50T7
eB6QBK9gWsctkC/JHxFhvE17FGutcxOM8d5FKxAaUZijiLyjbpipTXCX2W2gsG97
aXgFEpaV4NzZoKn9OvNlLK/Lpjlc4Pqx/PoiN1fMD1i8fyo0gwjyKGPdh5iE1aGE
mrbPkIMPRl+rrRz/S4MF2YN5CjCutKcoD0q9RZcce1PhXfy42X6Gny2pkwFXjj5T
e2jY0tbwxd/K+a54XaFM5RTdPkEeFU9xFoajUubNovwORv2aVsvBnvncP+Ct0KDj
2UsK/rRW7tcqj+8i4luf/RA2w6GpV+DuPTZIvhIdCkCwOpbmWvvlCAKYtsCMssUf
UKeALOiEhnSf2R8z9EiknoZIX5rlHeu7wFh3QW+Hw6f6iBfcO+Mg1qXP42HDoA4C
N4skQ4t6261hRMklVb6UUsnXLGoEdTOyUSWisrPy4XjmVtUkux7JDYIlNBec56+q
KI8TW9MxCdO7
=kyq3
-----END PGP SIGNATURE-----

Attachment: pgpGjzmQbnCmQ.pgp
Description: PGP signature


--- End Message ---

Reply via email to