Commit Graph

48 Commits

Author SHA1 Message Date
Changqing Li
1cb4e6a502 acpica: fix CVE-2024-24856
The memory allocation function ACPI_ALLOCATE_ZEROED does not guarantee a
successful allocation, but the subsequent code directly dereferences the
pointer that receives it, which may lead to null pointer dereference. To
fix this issue, a null pointer check should be added. If it is null,
return exception code AE_NO_MEMORY.

Refer: https://nvd.nist.gov/vuln/detail/CVE-2024-24856

(From OE-Core rev: 5c590ccd1973d343f47e7b7171691400490dfc1a)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:24 -08:00
Jon Mason
2a8994a58c acpica: update to 20240322 release
Update acpica to the latest version, comprised of the following commits:

	170fc3076a86 Update changes.txt for new ACPICA release 20240322
	718374cd1bc2 Update acpixf.h for new ACPICA release 20240322
	d0349632b625 Update osunixxf.c license header from 2023 to 2024
	c929bc0d5028 Update osunixmap.c license header from 2023 to 2024
	78c34e3738bd Update osunixdir.c license header from 2023 to 2024
	193a3dda90e2 Update oslinuxtbl.c license header from 2023 to 2024
	edaf61c8a97d Update oszephyr.c license header from 2023 to 2024
	1c5331ede7ec Update osgendbg.c license header from 2015 to 2024
	ab10380db037 Update osbsdtbl.c license header from 2023 to 2024
	815db2de4317 Update osefixf.c license header from 2023 to 2024
	a4dab90c90a4 Update osefitbl.c license header from 2023 to 2024
	4f9205ae4283 Update oseficlib.c license header from 2023 to 2024
	68bc01cec3b9 Update efihello.c license header from 2023 to 2024
	f71b9942deeb Update acdragonfly.h license header from 2003 to 2024
	74fb08369867 Update acgetline.c license header from 2023 to 2024
	c18edfb1abfb Update the copyright year in the license header from 2023 to 2024
	d58f24933d2f Get rid of MSVC warnings that arise actually due to GCC's new dangling pointer warning and also tGCC's blindspot to work with nested named structs/unions resulting in breaking of ACPI event-handling
	ba8a36b5c734 events/evgpeinit: don't forget to increment registered GPE count
	8affc87afd28 events/evxfgpe: correctly clear GPE_AUTO_ENABLED in AcpiSetupGpeForWake
	69f81815f830 Fix Capabilities[1024] mess
	3e89d40e19fc Update actbl2.h to get rid of the MSVC error C2233
	a0ad1ed5105f Fix CXL 3.0 structure (RDPAS) in the CEDT table
	9061cd9aa131 ACPICA: debugger: check status of AcpiEvaluateObject in AcpiDbWalkForFields
	b9423c1d35b0 SRAT: Add dump and compiler support for RINTC affinity structure
	93caddbf2f62 SRAT: Add RISC-V RINTC affinity structure
	9788e0dc955b Modify ACPI_OBJECT_COMMON_HEADER
	a6a236c44c7d Fix spelling and typos: Clean up the fix for Issue #900
	b6b38edb0c18 Clean up the fix for Issue #900
	8f789f356fb5 tests/common: use CopyObject instead of Store for NRMT
	bce7c55e99a0 acgcc: Fix C++ issue with ACPI_FLEX_ARRAY
	e3afd8e17bc8 MADT: Add new MADT GICC/GICR/ITS non-coherent flags handling
	453a5f675677 MADT: Add GICC online capable bit handling
	6cd47047aca6 Fix various spelling mistakes in text files and code comments
	31a16a32e7f3 acpisrc: Add identifiers for the NHLT table
	32260f5ce519 NHLT: Reintroduce types the table consists of
	6ab5a3bb1608 AdDisassemblerHeader: omit timestamp for deterministic output
	471de8b63a98 Fix build indeterminism for asm compiler header.
	50aec3ad9364 os_specific: zephyr: update AcpiOsGetTimer with arch specific timer
	10ae1038e51e osal: zephyr: Fix write access for mapped memory
	3944ce4dd104 osal: zephyr: Fix AcpiOsPrintf implementation
	a97db76b5f1c Fix issue #896
	f5910dd1ab60 Attempt 1 to fix issue #900
	c581606cf49b ACPI 6.5: RAS2: Add support for RAS2 table
	673fc21311ff Add port definitions for CDAT SSLBIS
	9c5649bd2c65 dmtbdump2: remove redundant failure check on Status
	544938c98a7a dmtbdump: remove duplicated code for both paths of an if statement
	0c7379eae2a0 NHLT: Drop preliminary support
	7b10fafca61f Revert "NHLT: Declare device configuration types"
	0333c2af1317 os_specific: zephyr: add generic platform support
	2872257aab53 Fix segfault when error-checking mixed table types
	c7171588a9f6 actbl1.h: Add EINJ CXL error types
	da740d8d27ff Get rid of // style comments
	75635cb363c6 NHLT: Declare device configuration types
	bbd7aee285ca dmtbinfo2.c: RISC-V: Remove redundant Flags print

License-Update: copyright years

(From OE-Core rev: 6059f8eb8097079142bb35fe46c55f3b6e68d1fc)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-08 23:33:32 +01:00
Jon Mason
c697522352 acpica: use github for SRC_URI
Github is now the location of the ACPICA source code, per
https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/download.html
Update to this location.  Also, this allows for devtool check for new
versions (in theory), and allows for an easier collection of the
changelog when updating versions.

Using the SRCREV SHA that matches the tarball release.  So, this should
match what is currently being used.

(From OE-Core rev: 7122db6d368170a6a428f3028a221e4036114d68)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-08 23:33:32 +01:00
Martin Jansa
fc60f21779 acpica: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: adecbeb983cd1f18082f6afca2e5ea0d5a3a4b65)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00
Vincent Davis Jr
e6342f7b18 acpica: add nativesdk to BBCLASSEXTEND
Enables use of the iasl compiler on the host
side of a given generated SDK.

via

TOOLCHAIN_HOST_TASK += "nativesdk-acpica"

(From OE-Core rev: 8b56191077ffb7f33061d95c350244e9346a1fb0)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-06 16:49:21 +00:00
Alexander Kanavin
fc8241a606 acpica: tarball and homepage relocated to intel.com
Sadly the tarball link is hidden behind html button trickery: while
the link seems stable, determining what it is is too much for
our upstream version checker, and so new versions will
have to be checked by hand every sometimes.

Switching to git won't help either: the tags are in MMDDYY format,
and so won't sort:
https://github.com/acpica/acpica/tags
https://github.com/acpica/acpica/issues/886

(From OE-Core rev: 56320b9058b703e33f43c839dddb27b67ead523f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-30 09:16:52 +01:00
Wang Mingyu
20aec7cff6 acpica: upgrade 20230331 -> 20230628
(From OE-Core rev: bf7f90bacae773658dc671a49132b8a78c311309)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-14 17:31:06 +01:00
Wang Mingyu
596d9eb5cf acpica: upgrade 20220331 -> 20230331
License-Update: Copyright year updated to 2023.

Changelog:
==========
-Update all copyright notices to the year 2023. This effects all source
 modules, as well as utility signons.
-Add OS-specific support for Zephyr RTOS.
-Fix miscellaneous code that accesses various objects.
-Remove some dead code.
-Add C ?Flexible Array? support.
-Add support for 64 bit LoongArch compilation.
-Add first batch of RISC-V related definitions.
-Performed a global automated update to remove tabs, fix indentation
 issues, etc.
-Allow disabling of -Werror. For distro maintainers having '-Werror' can
 delay update of GCC. Since every GCC release might add new warnings that
 were not yet captured, it might break the build of packages. With this
 change, distros can now build with 'NOWERROR=TRUE' instead of patching
 either the errors or the makefiles. The default behavior keeps on using
 '-Werror'.

(From OE-Core rev: acc23110730cc2a08fe476a5a3b30ef17b5cbe37)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
wangmy
099e417005 acpica: upgrade 20211217 -> 20220331
License-Update: year updated to 2022.

(From OE-Core rev: 5e43a92a2dd1c1586f6de8efc90482fe9b9bbc1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:14:10 +01:00
Richard Purdie
b0130fcf91 meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers. Two recipes in meta-selftest
were not converted as they're that way specifically for testing. A change in
linux-firmware was also skipped and may need a more manual tweak.

(From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Otavio Salvador
bfd5f2871c acpica: upgrade 20210930 -> 20211217
(From OE-Core rev: 354cd371b114e548968e4313a69a9adb38642c5d)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
16d9785c8c acpica: upgrade 20210730 -> 20210930
(From OE-Core rev: b11b0e99e3e1cc74f046a09e89d284ff81c9640c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Ross Burton
df0997688a acpica: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 0cfa82ca0df9b711521f7e47a22a7650871e5883)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Alexander Kanavin
72f645442d acpica: upgrade 20210331 -> 20210730
(From OE-Core rev: 0acc4da4847ac964d55e5024c8a3817dfe2d0938)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Richard Purdie
bb6ddc3691 Convert to new override syntax
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py <oe-core directory>

converting the metadata to use ":" as the override character instead of "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
wangmy
317907d736 acpica: upgrade 20210105 -> 20210331
(From OE-Core rev: 5165d2e38406c29809dcdbbde4fbc48bcda01b43)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Joshua Watt
b6018a1625 acpica: Fix reproducibility issues
Fixes reproducibility when build acpica yacc sources by instructing
bison on how to do the file prefix mapping

(From OE-Core rev: d13a1df7bd173fca3fc2cdf889d5eb487e35d6fd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Anuj Mittal
53776f76a5 acpica: upgrade 20201217 -> 20210105
License-Update: copyright years changed

(From OE-Core rev: b19a0aad639ce6aeb8f56860f230ff1e1b3e48de)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Alexander Kanavin
baa83c88ce acpica: upgrade 20201113 -> 20201217
(From OE-Core rev: bff20a10a9eb016e9d41332d2eb820cfbeca5071)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
612d17b7da acpica: upgrade 20200925 -> 20201113
(From OE-Core rev: 44477d30f7220f424c3d9f28efb84e157b89c89f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
ba96536452 acpica: upgrade 20200717 -> 20200925
(From OE-Core rev: 2b54f98ced3db235bc9c7f425c41b0303f0095c5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
d66b0d77ae acpica: upgrade 20200528 -> 20200717
(From OE-Core rev: 4fa41ed36dfc5ad33ed89e05e90064784dcf2a78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
0ec20631b0 acpica: upgrade 20200430 -> 20200528
(From OE-Core rev: 06ed357cced8dc7f3bfb20ff20efaf926e9518ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Joe Slater
db888b58be acpica: Upgrade 20200214 -> 20200430 for gcc-10 fixes
Advance to version 20200430 to avoid multiple definition errors for uninitialized variables.
In this case, it is not enough to add -fcommon to CFLAGS.

(From OE-Core rev: 7e1df28fb0534587d4f9305eb163f497852df4ec)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 10:52:07 +01:00
Alexander Kanavin
9bb919de2d acpica: upgrade 20191213 -> 20200214
License-Update: copyright years
(From OE-Core rev: c971258a932820d990d1b5c6c85b98f9086e2d43)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-28 23:11:28 +00:00
Ross Burton
e03e766fd8 acpica: upgrade 20191018 -> 20191213
(From OE-Core rev: 109577ce430499e89d235f43bd7c50c39c2e356e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27 16:48:08 +00:00
Christopher Larson
98b06ec73c acpica: correct flex/bison deps, add explicit m4-native dep
This project doesn't require target flex or bison, just the natives,
and it uses m4 explicitly in its configuration.

(From OE-Core rev: a1c227ad41b091aaf9c53750554a17beae54b4cb)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-29 17:43:40 +00:00
Ross Burton
fffdba9057 acpica: upgrade to 20191018
The upstream tarballs now have a unified source license of Intel|BSD|GPLv2 and
the old BSD|GPLv2 tarballs are deprecated.

Add the Intel license to the license collection, update the LICENSE field, and
update the license checksum to actually point at a license fragment.

(From OE-Core rev: 84f046187e5794d6723094e3aafab057ea396d3e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-14 13:20:59 +00:00
Ross Burton
a1e8f13768 acpica: upgrade 20190509 -> 20190816
(From OE-Core rev: 0fdc0ea0c10f9248d6503c91c864a4844d1d74bd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-19 10:54:32 +01:00
Alexander Kanavin
7ea3cba306 acpica: upgrade 20190405 -> 20190509
(From OE-Core rev: 60f2db00702315446bfa0189e59529d74f371d07)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Hongxu Jia
0f2270cd40 acpica: use update-alternatives for acpidump
acpidump is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
...
|Error: Transaction check error:
|  file /usr/bin/acpidump conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586
...

(From OE-Core rev: 6af441a50922943176bf4df32f3541c34a7b0bb2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Alexander Kanavin
1b9f574dbf acpica: update to 20190405
(From OE-Core rev: 452dcb53381a0f5a834621d52c79ac9e16b8aeb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Ross Burton
218ce6a595 acpica: upgrade to 20190215
Drop yy_scan_string patch, this only affects builds with flex 2.6.2.  We
currently have 2.6.0 and when we upgrade it will be to at least 2.6.3, which
fixes the regression.

Drop manipulate_fds_instead-of-FILE.patch, the original problem was fix upstream
in May 2015[1] so the 20170303 upgrade should have dropped this patch instead of
rebasing.

Call the upstream install target with variables set appropriately, instead of
hand-coding an install.

[1] ecb91f4c3a

(From OE-Core rev: 4e95571120c8748b2b5ef4b6a06914232b19d457)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Richard Purdie
9897d02e13 acpica: Add missing DEPENDS on bison-native
(From OE-Core rev: e7c0ad5d3eff6b1d7170e7e0a539d1807a2bb452)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-16 09:49:39 +01:00
Khem Raj
027e088a01 acpica: Upgrade to 20180508 release
Drop upstreamed patches

(From OE-Core rev: 74827bb63a237f3768406024bba777e9db8eda63)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:14 +01:00
Alexander Kanavin
5dfe5f9573 acpica: remove unnecesary no-werror.patch
It became out of date (missing newly added files), and seems no longer necessary for builds.

(From OE-Core rev: 54ca13f0dae8707a7fcbaa308dd797619defb823)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Anuj Mittal
5ccae89a4a acpica: fix build with x32
Make sure architecture dependent defines are correct for x32 by
checking for both ILP32 and x86_64.

Fixes [YOCTO #12123]

(From OE-Core rev: e73262ee888851e829df535ccf09d0da833f2061)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>wq
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-03 09:26:37 +00:00
Paul Eggleton
fc31a73790 acpica: drop NATIVE_INSTALL_WORKS and fix RCONFLICTS
* NATIVE_INSTALL_WORKS hasn't been used in a very long time, so there's no
  need to be setting it here.
* RCONFLIGHTS was clearly a typo.

(From OE-Core rev: b0146f21765b10c1f71807372f69a286bc9c2474)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10 22:45:20 +00:00
Jackie Huang
881dad10eb acpica: use update-alternatives for acpixtract
acpixtract is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:

| file /usr/bin/acpixtract conflicts between attempted installs of
  pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20170303-r0.i586

(From OE-Core rev: 250085877f9191eb304bd9ff8327cd260a31e74b)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02 00:52:10 +01:00
Jussi Kukkonen
75b147e8a5 acpitests: Remove as unmaintained
This recipe was last upgraded about ~30 releases or three years ago,
it seems to only be touched when something breaks. It also has an
'interesting' license that maybe is open source...

(From OE-Core rev: 42a0fcec9c956834cc0f05bdf66701424472b1b4)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-17 14:01:37 +01:00
Richard Purdie
a5bf271c7c meta: Add/fix missing Upstream-Status to patches
This adds or fixes the Upstream-Status for all remaining patches missing it
in OE-Core.

(From OE-Core rev: 563cab8e823c3fde8ae4785ceaf4d68a5d3e25df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-27 10:38:43 +01:00
Ross Burton
81f9abc256 meta: Fix malformed Upstream-Status tags
Fix a variety of spelling and format mistakes to improve the ease of reading the
tags programatically.

(From OE-Core rev: 6e1aaf80b0d951b48cd25cb7161ec19448295094)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-27 10:38:43 +01:00
Fan Xin
4b80067c73 acpica: Upgrade 20150515 -> 20170303
1. Upgrade acpica from 20150515 to 20170303

2. Rebase the patch file for 20170303

(From OE-Core rev: c08ca9353fabb595de1011cf9d6db6ff6cc06ce3)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-06 19:52:26 +01:00
Alexander Kanavin
913adc49bd acpica: fix upstream version check
(From OE-Core rev: a5d5a244717259c15145c65e0f44e37544afe8ee)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-29 11:17:23 +01:00
Khem Raj
63bdd90acc acpitests: Point Makefile CC to use OE synthesized CC
Default CC is same as used here, there is no need to
duplicate it, as a plus it helps in compiling acpitests with
non-gcc cross compilers

(From OE-Core rev: e23601390833fe93d58ca61a7158458dfdbd6fac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-22 11:35:21 +00:00
Patrick Ohly
76a4a4e8a4 acpica: fix compilation with musl
Manipulating stderr after freopen() fails as done by upstream
does not work with musl. The replacement is Unix specific
and uses open()/dup2().

(From OE-Core rev: d656298e1438c9c5a2979a1c76f5cdb804a267fb)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-01 11:17:44 +00:00
Patrick Ohly
7a309065c1 acpica: work around flex 2.6.2 code generation issue
Without this patch, linking fails with a missing implementation of
yy_scan_string. This looks like a regression in flex, because 2.6.0 generated
different code that called PrParser_scan_string
resp. DtParser_scan_string.

Working around that in acpica until this is better understood or fixed
in flex is the easiest solution for now.

(From OE-Core rev: 8f2ace5e1b396ad97b8e9cc88e7bb773d18acd21)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-01 11:17:44 +00:00
Fathi Boudra
94f684e4f4 acpica: move from meta-oe to OE-core
qemu support for UEFI in OE-core depends on OVMF, which needs the iasl
tools provided by this recipe. There's also an iasl recipe in
meta-luv, but than can and will be replaced by this one, thus reducing
overall maintenance work.

Copied from meta-openembedded rev fa65be9ba (current master).

(From OE-Core rev: 020f7ea3aa5c1f311841d4fb16bc525ae1dd5f11)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-01 11:17:44 +00:00