summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-kernel/linux
AgeCommit message (Collapse)AuthorFilesLines
2025-05-14meta-phosphor: mctp: enable MCTP over USBDeepak Kodihalli1-0/+1
Now that the MCTP over USB driver is in openbmc/linux, enable the kernel config for the same. I've tested MCTP over USB on the Nvidia GB200NVL platform. Change-Id: I4bdb8fa9730c24f258f8682d366282e76ea52ccc Signed-off-by: Deepak Kodihalli <deepak.kodihalli.83@gmail.com>
2025-05-02meta-phosphor: Add option to enable cgroup supportJames Athappilly3-0/+41
We've noticed some poor behavior of systemd processes on the Meta BMCs. We enabled these kernel configurations to ensure we get memory limits adhered to and can easily debug things. Test Plan: Verified that this configuration was picked up in YV4 and that when this is not specified, none of these new kernel config options are picked up. Change-Id: I2d60680fb7df52ce50cf88741b0e35809690da31 Signed-off-by: James Athappilly <jamesatha@gmail.com>
2025-04-21meta-phosphor: Add MCTP i3C transportEd Tanous1-0/+1
This transport is widely used. Addd it to the MCTP default options. Change-Id: I799a5daa99825b8adbbd4052edc6186a00200a50 Signed-off-by: Ed Tanous <etanous@nvidia.com>
2025-04-08meta-phosphor: add distro feature production-level tweakscchoux3-0/+9
There are some settings that are desired to be set for production-level systems, but may be less desired in development. Such as settings that turn hard-errors into soft-errors. Add a distro feature to allow these settings to be enabled. Add as a production-level tweak, a config for the kernel default setting of `hung_task_panic`. This prevents unnecessary panics due to a busy system, usually due to poor driver implementations. Enable the production-level tweaks on meta-facebook. Tested: ``` root@yosemite4:~# cat /proc/sys/kernel/hung_task_panic 0 ``` Change-Id: I0542547c77ddacae44d98e9ab6edc3743ff0016c Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2024-04-26meta-phosphor: add nfs distro featureThang Q. Nguyen3-0/+12
Add include files for NFS distro features, which enables NFS kernel configuration and utility to mount NFS from BMC. Tested: 1. Check if CONFIG_NFS_* are enabled $ zcat /proc/config.gz | grep NFS 2. Mount remote NFS folder $ mount -t nfs 10.10.130.2:/tftpboot/ISO_file /tmp/mount_nfs Change-Id: I015f4f6ed9c5b60573340233aee1f781aa0c573a Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
2024-04-15treewide: linux: remove cfg files from SRC_URIPatrick Williams1-1/+0
When using a `feature.scc` file it is not necessary to also include the corresponding `feature.cfg` file in the `SRC_URI` field. Remove them to clean up. [1]: https://docs.yoctoproject.org/kernel-dev/advanced.html#recipe-space-metadata Tested: Built on Yosemite4 and observed MCTP configure options are still enabled. ``` root@yosemite4:~# zcat /proc/config.gz | grep MCTP CONFIG_MCTP=y CONFIG_MCTP_FLOWS=y # MCTP Device Drivers CONFIG_MCTP_SERIAL=y CONFIG_MCTP_TRANSPORT_I2C=y # end of MCTP Device Drivers ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I76656cf9fbbe5cd2ac44f90c46b391111ca72410
2023-10-11meta-phosphor: linux: simplify mctp config selectionPatrick Williams1-1/+4
Leverage the mctp DISTRO_FEATURE to simplify the selection of the mctp kernel config. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If01e472b9128d1e90fd29e1e31cef284057890fe
2023-06-14meta-ibm: p10bmc: add a MCTP DISTRO_FEATURES switchRashmica Gupta3-1/+10
The switch enables AF_MCTP and adds the `mctp` tool and `mctpd` so we can setup and manage an in-kernel MCTP network. Enable it for p10bmc and also add CONFIG_TUN so we can use a tun device to transport packets between the kernel and the astlpc interface implemented in libmctp. Change-Id: I21d0af9e751f91975c760b4b4708b3b401b95417 Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
2023-06-08meta-phosphor: linux: Enable CONFIG_SCHEDSTATS for systemd-bootchartAndrew Jeffery2-0/+3
systemd-bootchart requires CONFIG_SCHEDSTATS=y to operate. Enabling it adds 4344 bytes to the p10bmc zImage (used as a test platform in this instance), which is likely tolerable for a default configuration: ``` $ ls -l zImage.* -rw-r--r--. 1 andrew andrew 4179240 Jun 2 14:28 zImage.no-schedstats -rw-r--r--. 1 andrew andrew 4183584 Jun 2 14:19 zImage.schedstats ``` Change-Id: Ie86eaa60a414bb5d62f89584aa674c3b586e0516 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>