Re: [ 44/85] ACPI: export symbol acpi_get_table_with_size

From: Ben Hutchings
Date: Fri Sep 14 2012 - 22:19:31 EST


On Wed, 2012-09-12 at 16:36 -0700, Greg Kroah-Hartman wrote:
> From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> 3.4-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Alex Deucher <alexander.deucher@xxxxxxx>
>
> commit 4f81f986761a7663db7d24d24cd6ae68008f1fc2 upstream.
>
> We need it in the radeon drm module to fetch
> and verify the vbios image on UEFI systems.

Same as for 3.0, this seems pointless without the dependent radeon
changes:

268ba0a drm/radeon: implement ACPI VFCT vbios fetch (v3)
7c3906d drm/radeon: convert radeon vfct code to use acpi_get_table_with_size
c61e277 drm/radeon: split ATRM support out from the ATPX handler (v3)

(For 3.2 I also needed these fixes from 3.3:

a3f83ab drm/radeon: fix invalid memory access in radeon_atrm_get_bios()
211fa4f drm/radeon: finish getting bios earlier
de47a9c drm/radeon: fix use after free in ATRM bios reading code.

but I don't know whether those would be sufficient to backport this lot
to 3.0.)

Ben.

> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> ---
> drivers/acpi/acpica/tbxface.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/drivers/acpi/acpica/tbxface.c
> +++ b/drivers/acpi/acpica/tbxface.c
> @@ -436,6 +436,7 @@ acpi_get_table_with_size(char *signature
>
> return (AE_NOT_FOUND);
> }
> +ACPI_EXPORT_SYMBOL(acpi_get_table_with_size)
>
> acpi_status
> acpi_get_table(char *signature,
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

--
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky

Attachment: signature.asc
Description: This is a digitally signed message part