summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14meta-ibm: p10bmc: add a MCTP DISTRO_FEATURES switchRashmica Gupta1-0/+1
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-04-17meta-ibm: linux-aspeed: Enable acbel-fsg032 driverLakshmi Yadlapati1-0/+1
Enable Bonnell power supply driver acbel-fsg032 Change-Id: I271682b659565d5eb679ce624fc2fcc6b4b5c8c0 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
2023-01-24meta-ibm: witherspoon: Explictly enable UBI featuresJoel Stanley1-0/+4
Witherspoon requires UBI support in the kernel. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Ifec95ca16bdf1792d68b2167e0d53f44e2f09239
2023-01-19meta-aspeed: Remove CONFIG_IPMI_KCS_BMC_CDEV_RAWJoel Stanley1-0/+1
This is only used by certain IBM P10 and Tacoma systems. Let them explicitly enable the driver. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I384e5ab7587732f93617e05d06b700bc7421a81d
2022-11-22meta-ibm: Remove tacoma-specific options from witherspoonJoel Stanley3-3/+7
The KCS device is only used on Tacoma, so move them out to their own file. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I157a597c753440220b1e92b60191a0c5191e4aec
2022-10-24Remove largely unmaintained MihawkMyung Bae2-12/+0
A fork of it is maintained but its upstream layer has largely been unmaintained. No future products are planned to be based on this layer. Mihawk is similar to Witherspoon. Signed-off-by: Myung Bae <myungbae@us.ibm.com> Change-Id: I82f7d777b78cd126237d51e42f1e11abdf80ae68
2022-10-06meta-ibm: witherspoon: Remove unused kernel optionsJoel Stanley1-0/+11
These drivers are not used by Witherspoon, so can safely be disabled. Saves about 80KB using arm-linux-gnueabihf-gcc Debian 12.2.0-3. Total: Before=8813237, After=8731086, chg -0.93% Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Iedf253d76704ac37658a3cd66c01aad806a66a84
2022-10-06meta-ibm: witherspoon: Enable IR35221 driverJoel Stanley1-0/+1
Witherspoon uses this i2c device for vrm control and monitoring. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I5354af5b3447e1bb2a9ba96642ec6ddc26db619d
2022-01-31meta-ibm: linux-aspeed: p10bmc: Enable UHCI and PL2303Eddie James1-0/+3
The PL2303 is a serial-to-USB converter chip, needed to communicate with a UPS. These are commonly attached via USB1.1, meaning that a UHCI driver is required to communicate with them, so enable that too. Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: I3a7550a51d084af498e7a5aab5c6b6e75002a4e3
2021-10-06meta-ibm:pstore: remove console from ramoopsAndrew Geissler1-1/+0
The documentation for CONFIG_PSTORE_CONSOLE indicates the following: "pstore will log all kernel messages, even if no oops or panic happened" This causes a console-ramoops-0 to appear in /var/lib/systemd/pstore/ on any BMC reboot. This in turn causes phosphor-debug-collector, which monitors for any files in this directory, to generate a BMC dump with the file. This is not what we want. What we really need are the dmesg-ramoops-* files which are generated when a kernel panic or oops occur. Remove the CONSOLE setting so we only get dumps when an actual BMC failure occurs. Tested: - Verified that console-ramoops-0 file no longer appears in /var/lib/systemd/pstore/ after a BMC reboot. - Verified we still get needed dmesg-ramoops-* files when a kernel panic occurs. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I6b48a8715946b193257bcc4892e07f87c13c95e6
2021-08-11meta-ibm: prep for new override syntaxAdriana Kobylak1-4/+4
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-07-20meta-ibm: witherspoon: Enable magic sysrqAndrew Jeffery1-0/+1
Currently required for the debug-trigger application. Change-Id: I585ccc5591b3f66db41bfd9799df05cec902403d Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-07-20meta-ibm: witherspoon: Enable raw KCS driverAndrew Jeffery1-0/+3
Replaces the obsolete MCTP LPC driver. Change-Id: Ic5f7f6ec796bff8f0628d53e09a7437a74399ef4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-07-08meta-ibm: Adds SI7020 to kernel configBruce Mitchell1-0/+1
This sensor on the Op_Panel, one of them being a SI7020 type sensor which needed to be enabled. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: Ib6a86a6fae52414ad9c6901e5f6f8aa8c8a383c3
2021-06-17meta-ibm: linux-aspeed: p10bmc: Enable magic sysrqAndrew Jeffery1-0/+1
Currently /proc/sysrq-trigger is the only supported backend for debug-trigger. Once we have kdump support, we'll add a kexec backend and drop the magic sysrq. Change-Id: I07dfa50474d9f6333428b6fb38020c7b7fd0adec Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-04-08ibm: kernel: Replace rainier with p10bmcAdriana Kobylak2-1/+1
The IBM rainier system is being replaced with the generic p10bmc name. Since the rainier.conf file will be renamed p10bmc.conf, add the device tree files for all p10 systems that will be supported with the p10bmc name (rainier, everest). Change-Id: I10983b913d8a2ae98ed4d327131b864f2df96a0c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-03-25ibm: Add TMP401 driver to RainierMatt Spinler1-0/+1
This driver supports the TMP435 temperature sensor, which is used on 2 IBM manufactured PCIe cards, an NVME JBOF riser, and a PCIE gen 4 CXP cable card. The former only plugs into Rainier, and the latter into Rainier and Everest. The TMP435 devices on these cards are powered by slot power, controlled by the hypervisor, and so will not be accessible until the hypervisor has started and has turned on slot power. Note that the sensor instances for these cards will not be in the device tree because they are monitored by the hwmontempsensors application which gets its configuration information from the entity-manager application. Entity-manager uses the 'new_device' API to instantiate drivers, which does not need device tree entries. In fact, if these are in the device tree, then the new_device write will fail even though the device driver wasn't truly bound to that instance. As mentioned above, because they are on slot power they cannot be probed as usual on kernel startup. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8aab28266f4e4b492c8d1c0c256714439ef1b5cd
2020-10-07rainier: Enable pstore to expose ramoops dataAndrew Jeffery1-0/+4
(From meta-ibm rev: 03ff1fa3f6ce475760535c08dfea9b751aa71f65) Change-Id: I17ddb7eef0853cb0a3ae23ab0f67043b931afc34 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-ibm: mihawk: Add 250 soc thermal sensorBen Pai1-0/+1
Mihawk can use up to eight 250-soc. Tested: The user can see the temperature when using 250-soc. (From meta-ibm rev: 74b7557b08ed2582861cd7da390d84371ec2ff86) Change-Id: I17b0d969d0902f6470287c6164f542ad84412f7d Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop4-0/+28
The metadata common to all IBM systems is confusingly split between meta-ibm and meta-witherspoon. Move everything to meta-ibm. The meta-ibm README is re-written to more accurately reflect the scope of the layer. Allow the configuration samples (bblayers.conf.sample, local.conf.sample) to be sourced from either meta-ibm or meta-witherspoon until such a time that any workflows and tooling have had the opportunity to move to meta-ibm. (From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442) Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>