summaryrefslogtreecommitdiff
path: root/meta-aspeed/recipes-kernel/linux/linux-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2021-07-13linux-aspeed: Disable IPV6 SIT deviceJoel Stanley3-0/+3
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 Jeffery3-0/+3
Change-Id: I844441c5e33eba55eb252ea445b75835bab2f735 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-21meta-aspeed: linux: Enable CONFIG_IPMI_KCS_BMC_CDEV_IPMILei YU3-0/+3
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-17meta-aspeed: aspeed-g6: Enable KCS adapter for raw SerIOAndrew Jeffery1-1/+2
Raw SerIO is used by the debug-trigger application to take signals from the host that applications are unresponsive on the BMC for p10bmc systems. Change-Id: Ie5ee683c3b08ebe922f2c5a7b5bf52b1e18069f4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-10meta-aspeed: Enable hardened allocator featureJoel Stanley3-3/+3
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>
2021-05-19meta-aspeed: Add development key for Kernel signKlaus Heinrich Kiwi2-0/+95
Add a development (insecure, also known as 'imprint') key to linux-aspeed that can be used for signing the Kernel fitImage for U-Boot FIT Signature Verification. The key was generated according to U-Boot documentation, using: $ openssl genpkey -algorithm RSA -out rsa_oem_fitimage_key.key \ -pkeyopt rsa_keygen_bits:4096 -pkeyopt rsa_keygen_pubexp:65537 The certificate was created according to U-Boot documentation, using: $ openssl req -batch -new -x509 -key rsa_oem_fitimage_key.key \ -out rsa_oem_fitimage_key.crt Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Change-Id: Ic67024ab389c8a4a3fc6709e1d7d92dc72783ca5
2020-09-11linux-aspeed: IBM op panel, I2C slave modeJoel Stanley2-0/+6
Enable I2C slave mode in ast2500 and ast2600 kernel config. Eddie James (5): dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver i2c: aspeed: Mask IRQ status to relevant bits ARM: dts: aspeed: tacoma: Add IBM Operation Panel I2C device ARM: dts: aspeed: rainier: Add IBM Operation Panel I2C device (From meta-aspeed rev: 6204d930bc5b9df98192843227abac29946f75df) Change-Id: I2b66eb5192fabb8562af2327ef5afe3ef3fc33d9 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-14linux-aspeed: Move to Linux 5.8Joel Stanley2-2/+4
This updates the OpenBMC kernel tree to a 5.8 base. It has beent two weeks since the kernel was last updated, making it the quickest bump in OpenBMC history. There are 93 out of tree kernel patches carried in the OpenBMC tree. The defconfigs were updated to fix selection of video device. An upstream reorganisation of the V4L kconfig resulted in a large number of extra drivers enabled when all we required was VIDEO_ASPEED. Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Geissler (1): ARM: dts: tacoma: Add KCS node for LPC MCTP Andrew Jeffery (13): 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 Ben Tyner (1): ARM: dts: aspeed: witherspoon-128: Remove checkstop GPIO from gpio-keys definitions 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 (11): ARM: dts: rainier: Add KCS node for LPC MCTP ARM: dts: aspeed: Add witherspoon-128 machine dt-bindings: fsi: Add P10 OCC device documentation fsi: occ: Add support for P10 hwmon: (occ) Add new temperature sensor type i2c: fsi: Prevent adding adapters for ports without dts nodes 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 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 (10): 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 ARM: dts: aspeed: ast2600evb: Add MAC0 soc: aspeed-lpc-ctrl: Fix printf warning ARM: configs: aspeed: Update defconfigs ARM: config: aspeed-g5: Enable I2C GPIO mux driver ARM: config: aspeed: Fix selection of video device mtd: spi-nor: sfdp: Revert "default to addr_width of 3 for configurable widths" ARM: aspeed: g5: Do not set sirq polarity 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: 3c9616235643263beea47ef5db5cecafa3349c2e) Change-Id: I4616f47026e00e49bda0abb1fc586dd2faabee30 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-07linux-aspeed: Enable XDMAJoel Stanley2-0/+2
Somehow this was not enabled. It is required for Witherspoon 128, Tacoma and Rainier. (From meta-aspeed rev: a7bbd475453768037877c820caed02f39055eb6e) Change-Id: Ie80479aa455c18c921387b23586cff3e7bc79204 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-28meta-aspeed: g6: defconfig: Enable I2C GPIO muxAndrew Jeffery1-0/+1
Some platforms make use of it. (From meta-aspeed rev: 132487e2ee60e4b167c07fb63093e0ac493a3fbb) Change-Id: I8752df5f9b4b195e605676a398cfdf1510b11008 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-22linux-aspeed: Move to Linux 5.7Joel Stanley3-17/+19
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-06-26linux-aspeed: g6: Enable AT25 EEPROM driver configEddie James1-0/+1
Needed for SPI-attached eeproms. (From meta-aspeed rev: b64781c123543c5cbfecb81d974e82716545b099) Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: I5a931b742661d62790199afdd20dac5ef5935ad3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-01linux-aspeed: perf build fix, FSI attached SPIJoel Stanley1-0/+2
Changbin Du (1): perf: Make perf able to build with latest libbfd Eddie James (2): dt-bindings: fsi: Add FSI2SPI bindings spi: Add FSI-attached SPI controller driver Joel Stanley (1): ARM: confisgs: aspeed_g5: Sync with OpenBMC (From meta-aspeed rev: 29b354d091e668d00598d0ef05f070f73c91c0df) Change-Id: I6fe69e32f460d0aeb41fe14b4e87ef95f6cb436e Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14linux-aspeed: Enable DEBUG_LISTJoel Stanley3-0/+3
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 Stanley3-3/+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 Stanley3-0/+9
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 Stanley3-0/+6
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-10-14linux-aspeed: ast2600: Disable new dev nodeJoel Stanley1-1/+0
Userspace has not yet adapted to the new layout. This should be re-enabled in the future when pdbg has gained support for the /dev/fsi/ layout in a release. (From meta-aspeed rev: 6d2917deee778a66dc4c7fb06b869197430b7664) Change-Id: Ib9a0fb6ca18c50ec7dae9c7d482b385ed5f6af44 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-30meta-aspeed: aspeed-g6: refresh defconfigBrad Bishop1-86/+76
The OpenBMC kernel g5 defconfig supports both g5 and g6. Use the g5 defconfig from the OpenBMC kernel unmodified, to enable kernels with support for a variety of the devices found on the AST2600. (From meta-aspeed rev: b456abfbb3ad8ccb3cad3f100d05f2764f7477cc) Change-Id: I9b9e7f52a5e3d0c042b0e705a3c19228d78f8919 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-04aspeed: g6: Use the usual kernelBrad Bishop1-0/+299
Switch g6 to the same kernel as the other supported chips (g4 and g5). (From meta-aspeed rev: f28c73a9f2e0296c1730b88afdc6cf0c836d08fa) Change-Id: I659e535ccb4642438b9c10c48a4850d67b28982b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-23aspeed: drop execute permissions from g5 defconfigBrad Bishop1-0/+0
(From meta-aspeed rev: 89362f7e06b1b3766d359694ee9a907ae769d35d) Change-Id: Ia83eea11281f387451c3ee17ba62ae15b068dd52 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-12linux-aspeed: Regenerate defconfigs for 5.2Joel Stanley2-103/+51
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 Yoo2-12/+12
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-06-13linux-aspeed: Add PCA953X driver to defconfigJoel Stanley1-0/+2
This is used by the Swift system. (From meta-aspeed rev: 27b8161d02b6a37c4822a2f9eb26f94fcbe82dca) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I68ccf9a25befa874634cfbe076ab300801d2f70b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-aspeed: MACHINEOVERRIDES fixupsBrad Bishop2-0/+534
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>