Commit Graph

110 Commits

Author SHA1 Message Date
YunQiang Su 3d19078b07 mips: Disable O32_FP64_SUPPORT
MSA will also be disabled on 32bit flavor, so bump abi version

since golang hasn't been migrate to FPXX yet.
This will broken the golang packages on Octeon hardware.
2020-07-07 23:56:35 +02:00
Ben Hutchings 14665692cd Merge branch 'syq/linux-buster-fp64' into buster
mips: enable O32_FP64 and MSA

See merge request kernel-team/linux!199
2020-02-16 16:29:58 +00:00
Aurelien Jarno fed7048d67 [mips*/malta] Enable POWER_RESET_PIIX4_POWEROFF. 2020-01-25 13:49:01 +01:00
YunQiang Su 947fbc6618 mips: enable O32_FP64 and MSA
CONFIG_MIPS_O32_FP64_SUPPORT is required to support MSA for O32.
It requires CPU >= mips32r1. It is OK for us: currently our
baseline is mips32r2/mips64r2.

Malta can use different CPUs, some of them may support MSA.
Loongson 3A/B 4000 will support MSA.
The only CPU currently we support has no MSA is octeon.

Commit-ID in master: b1d08a0cffbe181cbb94e3fc72a91c2e8a8a38e7
2019-12-27 17:34:42 +08:00
YunQiang Su 5ee30838da re-eanble JUMP_LABEL for mips r6
[bwh: Cherry-picked onto the sid branch]
2019-04-09 01:07:11 +01:00
YunQiang Su 40b0b77497 Enable some boston drivers
IMG_ASCII_LCD, I2C_EG20T, PCH_PHUB, MMC, PCIE_XILINX,
RTC_DRV_M41T80, SPI_TOPCLIFF_PCH
2019-03-06 21:15:22 +08:00
YunQiang Su 5ba611e17d [mips r6] CPU and ASE related modify
Enable CPU_HAS_MSA, HIGHMEM, CRYPTO_CRC32_MIPS.
Set NR_CPUS to 16.
2019-03-06 21:15:22 +08:00
YunQiang Su b710f665ba [mips r6] enable SERIAL_OF_PLATFORM
If serial of platform is not enabled, userland shows nothing on console.
2019-03-06 21:15:22 +08:00
YunQiang Su cf0de8585e [mips r6]disable JUMP_LABLE: cause Reservered Instruction 2019-03-06 21:15:22 +08:00
YunQiang Su d31776d28d Enable FB_SM750 and DRM_AST for Loongson-3
Some new Loongson servers are using Aspeed BMC, which has an GPU.
Some other Loongson servers are using SM750 GPU instead of AMD's.

Since MIPS doesn't have a generic display driver like VESA, we need
to install sm750fb and (drm_)ast into Loongson's fb-moduels udeb package.

(cherry picked from commit 6fbe9f4e363b32a70adf391e6d74ae21c52f16b6)
2019-01-08 07:03:29 +00:00
Uwe Kleine-König 85da926d38 Revert "wip" which was pushed by mistake
This reverts commit 331fdb5fb8.
2018-10-16 20:18:50 +02:00
Uwe Kleine-König 331fdb5fb8 wip 2018-10-16 08:44:27 +02:00
Ben Hutchings b20d268c2a Update config for 4.18 using kconfigeditor2
- Various config symbols were removed, renamed or split
- HOTPLUG_PCI_SHPC is now boolean, so set it to built-in
- The stack protector config symbols were changed to two booleans
  with different names
2018-07-02 17:51:27 +01:00
YunQiang Su 9e9759394c Enable dtb building for boston 2018-07-02 13:09:40 +08:00
Ben Hutchings f945a0b98b [mips*] Increase RELOCATION_TABLE_SIZE to 0x00140000 (fixes FTBFS) 2018-06-22 18:01:42 +01:00
Ben Hutchings 5df1ad8e8b Clean up kconfig with kconfigeditor2
Drop one long-obsolete and one automatic symbol that were wrongly
added recently.
2018-06-22 17:55:54 +01:00
YunQiang Su 5e03b26fab [mips*r6*]Enable MIPS_CPS for Boston 2018-05-17 14:32:19 +08:00
YunQiang Su b968d18584 [mips{,64}r6{,el}] use boston as the target
Add a patch to disable uImage generation to avoid depend on u-boot-tools
Fix typo the EL's flavor names in installer: not same within defines
Malta is never used for r6. (Closes: #898523)
Boston also requires relocation table size >= 0x00121000
2018-05-14 16:26:26 +08:00
YunQiang Su ecefd63ffc loongson-3: enable NUMA, CPU_PM, CPU_IDLE, RS780_HPET, REGULATOR 2018-05-14 15:59:09 +08:00
Ben Hutchings 81d6f91e25 Clean up kconfig for 4.17
- Various ancient SCSI drivers were removed
- BT_HCIBTUART and INFINIBAND_CXGB3_DEBUG were removed
- OMAP_DM_TIMER is now an automatic symbol
- Marvell NAND driver was rewritten, so we enable MTD_NAND_MARVELL
  instead of MTD_NAND_PXA3xx
- Various netfilter symbols are now boolean instead of tristate
2018-04-20 01:39:47 +01:00
Ben Hutchings fcb558d168 Merge branch 'sid'
- Drop patches already in 4.16
- Overwrite changes on master to debian/installer, which were also
  applied on sid and then changed
- [x86] Fix up dell_smbios configuration; now it's a single driver
  selected by DELL_SMBIOS, with DELL_SMBIOS_{SMM,WMI} being boolean
  options
- Clean up configuration with kconfigeditor2
2018-04-19 14:43:33 +01:00
Ben Hutchings 0fefb6932b SCSI: Enable SCSI_SYM53C8XX_2 as module on all architectures (Closes: #895532) 2018-04-18 23:27:21 +01:00
Ben Hutchings 75e764ee6a Refresh config using kconfigeditor2
Various symbols were removed, renamed or changed from tristate to
boolean.
2018-03-12 02:55:12 +00:00
Ben Hutchings 945bac5e39 [mips*] Increase RELOCATION_TABLE_SIZE to 0x00120000 (fixes FTBFS) 2017-10-20 00:21:19 +01:00
Ben Hutchings cc3ac57d1d [mips*] Increase RELOCATION_TABLE_SIZE to 0x00110000 for all flavours (fixes FTBFS)
The latest build failed on mips for the 4kc-malta flavour (which is the first):

  RELOCS vmlinux
Relocations overflow available space!
Please adjust CONFIG_RELOCATION_TABLE_SIZE to at least 0x0010f000

So do the same thing we did for the octeon flavour.
2017-10-04 02:35:11 +01:00
Ben Hutchings d12b3a11b2 net: Disable IRDA, which will soon be deleted upstream 2017-10-04 02:30:29 +01:00
Ben Hutchings 4dd019592e fbdev: Enable FRAMEBUFFER_CONSOLE by default
FRAMEBUFFER_CONSOLE is enabled in almost all configurations.  So make
this the top level default, and disable it in the few exceptional
configurations (armel/marvell, mips*/octeon, s390x).
2017-10-04 02:25:04 +01:00
Ben Hutchings 3ca820dff7 Update kconfig for 4.14
- [alpha] fbdev: Re-enable FRAMEBUFFER_CONSOLE as built-in
- [armel] fbdev: Explicitly disable FRAMEBUFFER_CONSOLE, as it can no longer
  be a module
- [arm64] Re-enable MMC_QCOM_DML
- Change RC_CORE back to being a module
- power/supply: Enable BATTERY_BQ27XXX and BATTERY_BQ27XXX_HDQ as modules,
  replacing W1_SLAVE_BQ27000

Clean up with kconfigeditor2 and delete obsolete symbols.
2017-10-04 02:02:35 +01:00
Ben Hutchings 418c755613 [mips*/octeon] mmc: Enable MMC_CAVIUM_OCTEON as module (Closes: #800594) 2017-09-01 18:42:44 +01:00
Ben Hutchings 880703ae05 Clean up kconfig with the aid of kconfigeditor2
- Various obsolete drivers and broken features were removed in 4.12
- A few symbols were renamed
- A few symbols changed type from tristate to bool
2017-07-18 01:32:33 +01:00
Ben Hutchings 5174845342 Release linux (4.9.30-1).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlkz7vwACgkQ57/I7JWG
 EQmWdQ//ctWbgUQezu+yi96QR/algQVpsRH/x1oUVnPIYi96FYOabS9pKaK0aAz1
 gvTzEBz+ej2lj+ju51UWGsWHXG9CuBO9i+lRqxf74YdpmDPVco+sDWULBJzEnXqC
 rYJsvnwLneDdUOeLd+r9nS/a38PezOqXd0eQApzwzvj4GStrj23aSQeLH7pXqXrr
 KI/dORIXEujHoNeWzSzW3XXzOYlg9yAJuLyFmS8FGg7fBaEpnlRA+z2gXtmX7Bdn
 SBJxYNttrVbucpHsIwFQysaVU+G0EXnbwgsB/AQBycCrDDIYmhmWLdqlIG+q6lsm
 AGLmmX47xxrDpBPhr8iHWJkcmTBBNsSADghLvTru5PSWWTd70P/f2XWGYrfJ5bvU
 OrQaV4BFG+zw6RC7Jlzx+byaXyWq15aorRAJSXKaFdebHBZXFzsbKTq4HNTRKV06
 3DpoH47C0Jr4YXSbcNvgZiDZnF7OmYw/vsbJk+X4IC+igpriz3dV93QTnL2vf4iO
 LaS2KT1MkGInS329DRpjCy14+q1LZM2nti6/mPji2Uqwl6ACvGYgL5y0FJLfEThH
 XN+a2So6+u8MvWxrUoNrHIj8aYok96oONpDDbPIueS/PT7TwHBbq2ui1zlE8Uahg
 zR3+U/V5VoBEct5n/nm0c8SRhkqsfOk8l42Dj5ibkQAuDzzt39g=
 =MA6Q
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.9.30-1'

Drop ABI reference files and ABI maintenance patch.
2017-06-05 14:12:31 +01:00
Aurelien Jarno f5fd64d72e [mips*/*-malta] Enable POWER_RESET and POWER_RESET_SYSCON. 2017-05-08 21:12:41 +02:00
Ben Hutchings 8356e87ef9 [mips*/octeon] Increase RELOCATION_TABLE_SIZE to 0x00110000 (fixes FTBFS) 2017-05-05 04:05:51 +01:00
Ben Hutchings a4e087d3b1 Release linux (4.9.25-1).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlkI0/kACgkQ57/I7JWG
 EQkutQ/9EsYdnQXf4HaC1YTqQW0Nu5+swZzyosOcdtMfJrj+PWXQMgmY4WWav8I/
 DipRGhfXXMnqlBg1vOR5cEdqPznRm/cwcuPqZpw7H0fA7LvyCibg/7yERJYv7i1U
 BIy8s29NCpVVRhDhY9Nl5t0WLGQT4Rg9JW6iKNRDq2y91etahSxzOBxB2B3k04Ys
 9vFPpuKq5QAskCBGEucinYYKTy7/ciIXsaSij2m/G7/ly/Qaqt0pIgjqi4QhuJs3
 yWidIm1aBvE4MHXH8WQkg1aF20vfdGXz3CZNT6BWFn/6hNesS+tEQpF/nYLBqnfS
 2GghqeWO1+xzxlXWNZU/SD0JhkB6gAeZ+4MP7eYz8BAtpUz7H/zZfZNsOBWb6YJY
 Pc8AjqG6mBd/1B2O8yXUda/j/xazEtg0c7uxQjyOEqh2nPeHn9FVLuJsSP74wxdx
 zjGmOjJzKUmhBGxLdJZAFL5N7YbLR+qNQfV2UGz4+zVIJge9R7HwWwR9+Um8AHq0
 qrnjRf6iAla1phYlgHnPx4r6A9kactDuFsNMfUN8nsUrV+KX15k+dt02CpFSWw0B
 lXGPf2MNXTEp+CsuAVBAWFP55JCOwD6yYoLfEfErXvchc7qqIKHgmIrLSyexro7O
 F1+HBfu6t1M4tRz0xNu8sGL4uzsjockMW8RL1HFgboUluMgTFPQ=
 =k/sj
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.9.25-1'

Drop the added patches, which are already in 4.11.

CONFIG_NFP_NETVF is replaced by CONFIG_NFP in 4.11.
2017-05-02 19:57:00 +01:00
Aurelien Jarno d518bcf5f3 [mips*el/loongson-3] Disable PAGE_EXTENSION and PAGE_POISONING.
This workaround a kernel crash, until the real issue is found. It is
currently being investigated.
2017-04-22 01:16:49 +02:00
Ben Hutchings 01f0df794d [mips*/octeon] Set NR_CPUS=64 to allow for Cavium CN7890
The CN7890 has 48 Octeon III cores.

I don't know whether current configuration will run on a CN7890, but this
should avoid an ABI break if we add support later.
2017-04-16 17:19:00 +01:00
Ben Hutchings c22c7deb17 [mips*el/loongson-3] Set NR_CPUS=16 to allow for Loongson 3B2000
The Loongson 3B2000 has 4 cores and can apparently be used in a 4-way
configuration, for 16 CPUs.

I don't think the current configuration will run on a 3B2000, but this
should avoid an ABI break if we address that.
2017-04-16 17:18:59 +01:00
Ben Hutchings 8c94f719fa Release linux (4.9.10-1).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlinNOsACgkQ57/I7JWG
 EQntWg//RuNSbOQeyML971UnFUtZjY3yAUYqhPJdpJimjY3WHjmZlJQrLlSz9IYQ
 48Pkt/64P0+iAr9zJ+3uJv1fOagKePd5RaS/iChJdvq0fCGZstFlti5NwXEQtGSv
 Yzp0LStZr+pEPZo+8Bo+TVSP25FNXdZBvhUXE2sbxaV8+W9Vx+qFkfrWEiW7hpFv
 nCQJic7kmzllS4Aol9e/jj2MqcdWIhviufAImNnfrbpK61Ud6Gznw9gTODw9+OIT
 ny6F/k7O6MFPuHp3aAxVC5TCowh16PcC+VqJF9MTnnvHQmD3jYqdeA8zKLnW/tJk
 Dl9A6whZ3n4fFRlGjgxjmTP/CgAIeQVqgTgYCApuQQTVG3svIkznoXJLraj5UE90
 rzeB30x3ikUWcVggN7xfSkW3e6/v+XSbRfu73sFA81mWyWoddT/NYhw+Y18ym4UJ
 Vk8iuAakpjdVj73FSyYOcNGRzOEp2SAV72EsJEMw1/IlIkmRkMmJkkg4T/HYj11P
 jK/TjZtSsVbje4zx9/U6g8Rj4Wi40EHZu6kuh2jUhCk91zsAr+7EC45gZC+uohxL
 jxKxv2R5p9AR7uN6JzQR4OuOL1bTCrt02MrWdsiPlUi0RBKlJ7O5sGMMsHrVMinn
 4zFNeYq2U3Fyaejb32x3DOKtgCjoMRQ5iHyrjgljhzxJcf3fWKk=
 =rRkU
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.9.10-1'

Drop changes to aufs.
2017-02-22 20:57:36 +00:00
Ben Hutchings 102debee60 [mips*/octeon] Comment why CONFIG_OCTEON_MMC is in the kconfig 2017-01-28 03:33:16 +00:00
Ben Hutchings 6adadc8ec6 Release linux (4.9.6-2).
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAliL3k0ACgkQ57/I7JWG
 EQlmog/8D/DowVsxEjNdiHAewH7HUyqdADkCRkeqsmKgCtZEmvEaYE0RijZzGDhm
 Ge4PxOzhLE/DRxJF2gN8y0hIVOnigje9qYN5OBdgB/FNNKThL6ARwiu2LD6DYcwU
 +Lu6g8iHqsKHZ+NllHEiiwJ4rR39qf3Tkzz5cgm4jEi+5IjnoefOhaFhyPzBkz8i
 p6fWklEhev8+lQ1sW9gF94p3t0dOp/31TWACagRQronrTtT2xAzdrR5ESPTo6FFg
 gtcfqoB7AYA4LTuzoKIQRgGLsgKk73iLPF874ZuK9g/+4Z2lF9NBbwve3O0qYKCy
 NERddjjx9QEf4cjToqAii10AzAfuBFDG/b77ZscREwysUwMhkz47ADefu5v1P2kJ
 XdL/sJ/nXyhItV/VK8ym9lg4jAA8K5UOjn+8RtWBTE8091N7y7kyNHTQ4SppySIZ
 Ow+NsWkMd+WYxkdGPSYc7nHthhVRvfC9C4cxamn9en+MNmakMgJcOZTxS4/gcTvx
 DMCWGmEJrD5Bu3m9GrJzwfaXteWxMYihsq9ofjXeaeYqxgXZ62GuxMeRq3kBOhSw
 H9MUITkqfsjcg7eAz8elFhRvrurlVUWFsSCGr4Fd1Tv9zrFw8OXNRrApy4UQOQ4x
 Uw5AcA/3ZA3QCPsOuU8ENES57vJb+D3E/LZZJdTktVLUcoxA0tA=
 =C8FJ
 -----END PGP SIGNATURE-----

Merge tag 'debian/4.9.6-2'
2017-01-28 01:19:31 +00:00
Ben Hutchings 3479225d03 Clean up kconfig using kconfigeditor2
Rename or delete options that changed in 4.10.
2017-01-24 21:03:51 +00:00
Ben Hutchings b30786ada7 [arm64] video: Change FB from module to built-in
Currently we don't explicitly set CONFIG_FB for arm64, and the only
reason it's enabled as a module is that the DRM drivers (which are
built as modules) select it.  We *do* explicitly set CONFIG_FB=y on
almost all other architectures and flavours.

Simplify this by setting CONFIG_FB=y at the top level and overriding
where needed (not arm64).
2017-01-24 05:22:28 +00:00
Roger Shimizu e888ec46f1 [mips/octeon] hwmon: Enable SENSORS_ADM1031 as module
Thanks to James Cowgill.

Closes: #851963
2017-01-21 19:36:13 +09:00
Ben Hutchings 88d5cdd0e7 Update kconfig for 4.9
- Various ancient SCSI drivers were removed; delete config for them
- r8723au was replaced by rtl8xxxu; enable the latter instead and for
  all architectures
- netfilter config symbols were renamed; enable the new ones
- Various other config symbols are obsolete; delete them
- Various other config symbols moved to different Kconfig files
2016-11-13 03:23:23 +00:00
Aurelien Jarno b2080e6bd9 [mips*] Enable RELOCATABLE, required to enabled RANDOMIZE_BASE. 2016-10-10 20:53:23 +02:00
Ben Hutchings 0118390eaa [mips*] Enable RANDOMIZE_BASE 2016-10-05 21:13:04 +01:00
Ben Hutchings cce3a89e12 Update config for 4.8 2016-08-28 21:51:18 +01:00
Aurelien Jarno 8ee599f387 [mipsel/4kc-malta, mipsel/5kc-malta] Build for R2 ISA. 2016-06-21 21:11:26 +02:00
Aurelien Jarno 9e45452683 [mipsel] Remove loongson-2e and loongson-2f flavours (Closes: #827790). 2016-06-21 21:11:23 +02:00
Ben Hutchings 71324ae1c9 [mips*] Rename CPU type config files to be independent of Malta
Although the choice of CPU type currently only applies to Malta
flavours, there's nothing in these config files that prevents them
being used with other platforms (that we don't currently support).
2016-05-24 14:03:56 +01:00