summaryrefslogtreecommitdiff
path: root/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig
AgeCommit message (Collapse)AuthorFilesLines
2021-12-03linux-aspeed: Refresh defconfigsJoel Stanley1-9/+3
The defconfigs are regenerated using savedefconfig. No options are changed. An explanation as to why some are removed from the defconfig: - ZBOOT_ROM_TEXT and ZBOOT_ROM_BSS default to 0x0 (and we odn't use them) - SECOMMP is now on by default - BLK_DEV_BSG is now behind SCSI, which we do not enable - I2C_MUX is selected by the MEDIA subsystem - MCTP_LPC is gone - NET_VENDOR_AURORA is gone - PECI is not in the tree :( - ASPEED_LPC drivers are enabled by default The other options move their order but are still present. Change-Id: Ib03b6dab4804e354629b9bf7f4e0951b6131462c Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-13linux-aspeed: Disable IPV6 SIT deviceJoel Stanley1-0/+1
No one is using this device on OpenBMC systems, and there is no code to manage it in phosphor-networkd as of March 2021: > [...] if you don't add IPv6 addresses to the sit interface > it doesn't do anything. The defacto way to do that on an interface in > OpenBMC is to have it managed by phosphor-networkd. On top of this, to > support sit you would need a way to configure the local / remote IPv4 > addresses used to back it. You can configure the linux kernel to build > sit functionality but not create sit devices by default (I don't know > how they haven't changed this yet in default kconfigs...) and it will > still let you make them on the fly. Facebook and Google systems force this option off already: meta-facebook/meta-tiogapass/recipes-kernel/linux/linux-aspeed/tiogapass.cfg:CONFIG_IPV6_SIT=n meta-google/recipes-kernel/linux/files/gbmc.cfg:CONFIG_IPV6_SIT=n Change-Id: I9df02c761e82eeb2cca562bf68b9b755bc6feeb9 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-24meta-aspeed: linux: Enable raw KCS driverAndrew Jeffery1-0/+1
Change-Id: I844441c5e33eba55eb252ea445b75835bab2f735 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-21meta-aspeed: linux: Enable CONFIG_IPMI_KCS_BMC_CDEV_IPMILei YU1-0/+1
The CONFIG_IPMI_KCS_BMC_CDEV_IPMI is necessary for the new KCS driver refactor to create the ipmi-kcs devices. Tested: Verify on g220a that the ipmi-kcs3/4 devices are created and the inband IPMI via KCS works fine. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I2a1e7842f231fb4ee8284c194ed9cf28f668885e
2021-06-10meta-aspeed: Enable hardened allocator featureJoel Stanley1-1/+1
SLAB_FREELIST_HARDENED can protect from freelist overwrite attacks with really small overhead. It works best with the SLUB allocator, so make SLUB the default by removing SLAB=y. total used free shared buff/cache available SLAB 425596 44065.3+/-220 311099+/-3800 14864+/-3900 70432+/-3700 352767+/-3900 SLUB 425592 44225.3+/-280 313275+/-600 12132+/-3.3 68092+/-530 355295+/-280 These figures are the average memory usage from three boots of each option in qemu, running the Romulus userspace. The output is from free(1), reported in kilobytes. Change-Id: I3c3ce67bc202dffbc3084382227f3dbc77f4cf85 Signed-off-by: Joel Stanley <joel@jms.id.au>
2020-07-22linux-aspeed: Move to Linux 5.7Joel Stanley1-5/+6
This updates the OpenBMC kernel tree to a 5.7 base. It has been three releases since the kernel was updated, making it over 9 months of development time. The stable releses up to v5.7.9 are integrated in this bump. There are 106 out of tree kernel patches carried in the OpenBMC tree. The defconfigs are regenerated with one change made to enable debugfs, as it will default to off with the new kernel without explicitly enabling it, and some platforms (eg Witherspoon) reply on it being enabled. Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Geissler (1): ARM: dts: tacoma: Add KCS node for LPC MCTP Andrew Jeffery (14): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers soc: aspeed: Miscellaneous control interfaces ARM: dts: aspeed: witherspoon: Update max31785 node ARM: dts: aspeed-g5: Expose VGA and SuperIO scratch registers pinctrl: aspeed: Improve debug output soc: aspeed: Fail probe of lpc-ctrl if reserved memory is not aligned misc: Add ASPEED KCS driver for MCTP purposes ARM: dts: witherspoon: Add KCS node for LPC MCTP pinctrl: aspeed: Describe the heartbeat function on ball Y23 ARM: dts: rainier: Configure ball Y23 as GPIOP7 for MCLR_VPP Ben Tyner (2): ARM: dts: aspeed: rainier: Add line-name checkstop ARM: dts: aspeed: tacoma: Remove checkstop gpio-key Brad Bishop (4): ARM: dts: aspeed-g6: Expose SuperIO scratch registers soc: aspeed: lpc: Add G6 compatible strings ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string Cédric Le Goater (22): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training mtd: spi-nor: aspeed: fix training of multiple CS on the AST2600 mtd: spi-nor: aspeed: Disable zero size segments on the AST2600 spi-nor: aspeed-smc: Detect 4b opcodes differently /dev/mem: add a devmem kernel parameter to activate the device Eddie James (21): ARM: dts: rainier: Add KCS node for LPC MCTP ARM: dts: aspeed: Add witherspoon-128 machine fsi: aspeed: Enable 23-bit addressing clk: ast2600: Fix AHB clock divider for A1 dt-bindings: fsi: Add P10 OCC device documentation fsi: occ: Add support for P10 hwmon: (occ) Add new temperature sensor type i2c: fsi: Fix the port number field in status register i2c: fsi: Prevent adding adapters for ports without dts nodes ARM: dts: aspeed: rainier: Add second cfam on the hub dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl ARM: dts: aspeed: ast2600: Update XDMA engine node ARM: dts: aspeed: ast2500: Update XDMA engine node ARM: dts: aspeed: witherspoon: Enable XDMA engine ARM: dts: aspeed: tacoma: Enable XDMA engine clk: AST2600: Add mux for EMMC clock mmc: sdhci-of-aspeed: Prevent clock divider of zero leds: pca955x: Add an IBM software implementation of the PCA9552 chip Fran Hsu (3): ARM: dts: nuvoton: Add NPCM730 common device tree ARM: dts: nuvoton: Add Quanta GSJ BMC pinctrl ARM: dts: nuvoton: Add Quanta GSJ BMC George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver Jae Hyun Yoo (12): clk: ast2600: enable BCLK for PCI/PCIe bus always dt-bindings: Add PECI subsystem document Documentation: ioctl: Add ioctl numbers for PECI subsystem peci: Add support for PECI bus driver core dt-bindings: Add bindings document of Aspeed PECI adapter ARM: dts: aspeed: Add PECI node peci: Add Aspeed PECI adapter driver dt-bindings: mfd: Add Intel PECI client bindings document mfd: intel-peci-client: Add Intel PECI client driver Documentation: hwmon: Add documents for PECI hwmon drivers hwmon: Add PECI cputemp driver hwmon: Add PECI dimmtemp driver Joel Stanley (13): ARM: dts: aspeed-g4: Expose SuperIO scratch registers ARM: dts: nuvoton: Fix warnings in NPCM7xx common device tree ARM: dts: nuvoton: Update EVB for new PECI layout ARM: dts: nuvoton: evb: Rework enabling of nodes soc: aspeed-lpc-ctrl: LPC to AHB mapping on ast2600 fsi: aspeed: Support cabled FSI fsi: aspeed: Run the bus at maximum speed fsi: aspeed: Add module param for bus divisor ARM: dts: aspeed: ast2600evb: Add MAC0 ARM: configs: aspeed: Update defconfigs hwmon (peci-dmmtemp): Fix 'sizeof' warning soc: aspeed-lpc-ctrl: Fix printf warning Revert "ARM: dts: aspeed: tacoma: Add gpio-key definitions" Tomer Maimon (11): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: configs: add defconfig for Nuvoton NPCM7xx BMC ARM: dts: npcm7xx: Update device tree arm: dts: Add NPCM7xx RunBMC Olympus Quanta machine. dt-bindings: peci: add NPCM PECI documentation peci: npcm: add NPCM PECI driver (From meta-aspeed rev: a1d8d7791b8257b85eb85d73f08c2961c8c94f16) Change-Id: I84ae1a28349144db398b7a43e0a2951c1eee434d Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14linux-aspeed: Enable DEBUG_LISTJoel Stanley1-0/+1
This option is considered a security enhancement[1]. [1] https://lore.kernel.org/lkml/20200324153643.15527-11-will@kernel.org/ (From meta-aspeed rev: bc75bf104e650e38907265cb7d9396dfe3f599c0) Change-Id: I35a4f9b63ac053dcfc3d22eb1b12b11019196f00 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-25linux-aspeed: Remove old config optionsJoel Stanley1-1/+0
CONFIG_CRYPTO_ECHAINIV is default n so we don't need it in our config. CONFIG_EDAC_ASPEED is not supported on AST2600. (From meta-aspeed rev: 337c8064630d95aa7d7cc5d948bd99e72cfa3af8) Change-Id: Ief0ebacbd2b9ed2d8f8dce7eb4c4828da0ae58d3 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-25linux-aspeed: Enable CGROUP_BPF and NAMESPACESJoel Stanley1-0/+3
These are used by systemd to provide isolation features: Required for IPAddressDeny= and IPAddressAllow= in resource control unit settings CONFIG_CGROUP_BPF Required for PrivateNetwork= in service units: CONFIG_NET_NS Note that systemd-localed.service and other systemd units use PrivateNetwork so this is effectively required. Required for PrivateUsers= in service units: CONFIG_USER_NS (NET_NS is default y so we get it by enabling namespace support). (From meta-aspeed rev: 5ad76c27abbb7d7e65c97bce6be63d7aa542a531) Change-Id: I8e6311526393c663c62e310a465df9306251c021 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-20linux-aspeed: Move to v5.4Joel Stanley1-0/+1
This moves the OpenBMC kernel to a Linux v5.4 base. There are 161 patches in dev-5.4. Of these 69 are backported from upstream, leaving 92 out of tree patches. Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Jeffery (12): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers soc: aspeed: Miscellaneous control interfaces ARM: dts: aspeed: witherspoon: Update max31785 node ARM: dts: aspeed-g5: Expose VGA and SuperIO scratch registers net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs pinctrl: aspeed-g6: Fix LPC/eSPI mux configuration pinctrl: aspeed: Improve debug output soc: aspeed: Fail probe of lpc-ctrl if reserved memory is not aligned Arnd Bergmann (1): ARM: aspeed: ast2500 is ARMv6K Brad Bishop (4): ARM: dts: aspeed-g6: Expose SuperIO scratch registers soc: aspeed: lpc: Add G6 compatible strings ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string Cédric Le Goater (21): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training mtd: spi-nor: aspeed: fix training of multiple CS on the AST2600 mtd: spi-nor: aspeed: Disable zero size segments on the AST2600 /dev/mem: add a devmem kernel parameter to activate the device Eddie James (5): i2c: aspeed: Add AST2600 compatible hwmon: (pmbus/ibm-cffps) Switch LEDs to blocking brightness call hwmon: (pmbus/ibm-cffps) Fix LED blink behavior hwmon: (pmbus/ibm-cffps) Add version detection capability ARM: dts: aspeed: rainier: Switch PSUs to unknown version Fran Hsu (4): ARM: dts: nuvoton: Add NPCM730 common device tree ARM: dts: nuvoton: Add Quanta GSJ BMC pinctrl ARM: dts: nuvoton: Add Quanta GSJ BMC Device Tree. ARM: dts: nuvoton: Add GPIOs and LEDs to GSJ device tree George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver Jae Hyun Yoo (13): ARM: dts: aspeed: peci: Add PECI node clk: ast2600: enable BCLK for PCI/PCIe bus always dt-bindings: Add PECI subsystem document Documentation: ioctl: Add ioctl numbers for PECI subsystem peci: Add support for PECI bus driver core dt-bindings: Add bindings document of Aspeed PECI adapter ARM: dts: aspeed: Add PECI node peci: Add Aspeed PECI adapter driver dt-bindings: mfd: Add Intel PECI client bindings document mfd: intel-peci-client: Add Intel PECI client driver Documentation: hwmon: Add documents for PECI hwmon drivers hwmon: Add PECI cputemp driver hwmon: Add PECI dimmtemp driver Joel Stanley (9): ARM: dts: aspeed-g4: Expose SuperIO scratch registers ARM: dts: aspeed: ast2600evb: Enable FSI master usb: gadget: Quieten gadget config message clocksource: fttmr010: Parametrise shutdown clocksource: fttmr010: Set interrupt and shutdown clocksource: fttmr010: Add support for ast2600 watchdog: aspeed: Fix clock behaviour for ast2600 ARM: config: aspeed: Update defconfigs Revert "ARM: dts: aspeed: peci: Add PECI node" Johnny Huang (6): pinctrl: aspeed-g6: Add AST2600 I3C1 and I3C2 pinmux config pinctrl: aspeed-g6: Add support for the AST2600 USB pinmux pinctrl: aspeed: Add ASPEED_SB_PINCONF() helper pinctrl: aspeed: Move aspeed_pin_config_map to separate source file pinctrl: aspeed: Use masks to describe pinconf bitfields pinctrl: aspeed-g6: Add AST2600 pinconf support Tali Perry (2): dt-bindings: i2c: npcm7xx: add NPCM I2C controller documentation i2c: npcm: Add Nuvoton NPCM I2C controller driver Tomer Maimon (12): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: configs: add defconfig for Nuvoton NPCM7xx BMC ARM: dts: npcm7xx: Update device tree arm: dts: add NPCM7xx RunBMC Olympus Quanta device tree dt-bindings: peci: add NPCM PECI documentation ARM: dts: npcm7xx: Add PECI node peci: npcm: add NPCM PECI driver (From meta-aspeed rev: 6d863dd22836673ccd2a5d40778a3d5e4e03d7ea) Change-Id: I8f43925375c26bc88f94eee13430fcb03252b8ca Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-12linux-aspeed: Regenerate defconfigs for 5.2Joel Stanley1-44/+23
This is a noop regeneration of the defconfigs. Options have been removed from the upstream kernel, made defaults (such as the OCC option), and re-ordered. (From meta-aspeed rev: f4fa60b9ef4e0d83ac0923162b59f385bd12844f) Change-Id: I10d637463d5f69de4a58e1f19371286800fc80dc Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-04linux-aspeed: disable USB host featuresJae Hyun Yoo1-6/+6
Not all BMCs use USB host features so this commit removes USB host features from defconfig so that the features can be enabled in each machine layer when those are actually needed. (From meta-aspeed rev: 679e60064113e89d18528ed65d75daf97547a5f1) Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> Change-Id: I9c24fa9d381c81df51e148aacafad1c4a8af49e9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-aspeed: MACHINEOVERRIDES fixupsBrad Bishop1-0/+253
OE-Core adds the value of SOC_FAMILY to MACHINEOVERRIDES, so explicitly setting a MACHINEOVERRIDES is redundant. Drop the explicit ast2400/ast2500 MACHINEOVERRIDES and use the OE-Core provided aspeed-g4 and aspeed-g5 instead. After the redundant ast2400/ast2500 overrides are dropped, the ordering of the values in MACHINEOVERRIDES is wrong: MACHINEOVERRIDES="aspeed-g5:aspeed" This means that: FOO_aspeed = "bar" will override: FOO_aspeed-g5 = "baz" which is the opposite of expectation. The ordering is a function of config file include order and choice of the predot vs postdot operator. Use the same include ordering and dot operators as meta-fsl-arm to get the overrides to appear in MACHINEOVERRIDES in the correct order such that the expected semantics are provided and: FOO_aspeed-g5 = "bar" will override: FOO_aspeed = "baz" Drop explicit setting for FILESPATH as OE-Core adds OVERRIDES to FILESPATH and bitbake will find the appropriate defconfig without them. Move defconfigs to aspeed-g4 and aspeed-g5 since the ast2400 and ast2500 are being removed. (From meta-aspeed rev: 85d614a69c1e752fb4d5917499500c37c4f745ac) Change-Id: I63c0f71f14bf9145e7e769902be87bb267a78a30 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>