Merge tag 'v3.10.77' into update
This is the 3.10.77 stable release
This commit is contained in:
@@ -198,9 +198,29 @@ typedef int INT32;
|
||||
typedef s32 acpi_native_int;
|
||||
|
||||
typedef u32 acpi_size;
|
||||
|
||||
#ifdef ACPI_32BIT_PHYSICAL_ADDRESS
|
||||
|
||||
/*
|
||||
* OSPMs can define this to shrink the size of the structures for 32-bit
|
||||
* none PAE environment. ASL compiler may always define this to generate
|
||||
* 32-bit OSPM compliant tables.
|
||||
*/
|
||||
typedef u32 acpi_io_address;
|
||||
typedef u32 acpi_physical_address;
|
||||
|
||||
#else /* ACPI_32BIT_PHYSICAL_ADDRESS */
|
||||
|
||||
/*
|
||||
* It is reported that, after some calculations, the physical addresses can
|
||||
* wrap over the 32-bit boundary on 32-bit PAE environment.
|
||||
* https://bugzilla.kernel.org/show_bug.cgi?id=87971
|
||||
*/
|
||||
typedef u64 acpi_io_address;
|
||||
typedef u64 acpi_physical_address;
|
||||
|
||||
#endif /* ACPI_32BIT_PHYSICAL_ADDRESS */
|
||||
|
||||
#define ACPI_MAX_PTR ACPI_UINT32_MAX
|
||||
#define ACPI_SIZE_MAX ACPI_UINT32_MAX
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
#define ACPI_LARGE_NAMESPACE_NODE
|
||||
#define ACPI_DATA_TABLE_DISASSEMBLY
|
||||
#define ACPI_SINGLE_THREADED
|
||||
#define ACPI_32BIT_PHYSICAL_ADDRESS
|
||||
#endif
|
||||
|
||||
/* acpi_exec configuration. Multithreaded with full AML debugger */
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
/* References to section boundaries */
|
||||
|
||||
#include <linux/compiler.h>
|
||||
|
||||
extern char _text[], _stext[], _etext[];
|
||||
extern char _data[], _sdata[], _edata[];
|
||||
extern char __bss_start[], __bss_stop[];
|
||||
@@ -18,6 +20,8 @@ extern char __start_rodata[], __end_rodata[];
|
||||
/* Start and end of .ctors section - used for constructor calls. */
|
||||
extern char __ctors_start[], __ctors_end[];
|
||||
|
||||
extern __visible const void __nosave_begin, __nosave_end;
|
||||
|
||||
/* function descriptor handling (if any). Override
|
||||
* in asm/sections.h */
|
||||
#ifndef dereference_function_descriptor
|
||||
|
||||
@@ -206,6 +206,32 @@ void usb_put_intf(struct usb_interface *intf);
|
||||
#define USB_MAXINTERFACES 32
|
||||
#define USB_MAXIADS (USB_MAXINTERFACES/2)
|
||||
|
||||
/*
|
||||
* USB Resume Timer: Every Host controller driver should drive the resume
|
||||
* signalling on the bus for the amount of time defined by this macro.
|
||||
*
|
||||
* That way we will have a 'stable' behavior among all HCDs supported by Linux.
|
||||
*
|
||||
* Note that the USB Specification states we should drive resume for *at least*
|
||||
* 20 ms, but it doesn't give an upper bound. This creates two possible
|
||||
* situations which we want to avoid:
|
||||
*
|
||||
* (a) sometimes an msleep(20) might expire slightly before 20 ms, which causes
|
||||
* us to fail USB Electrical Tests, thus failing Certification
|
||||
*
|
||||
* (b) Some (many) devices actually need more than 20 ms of resume signalling,
|
||||
* and while we can argue that's against the USB Specification, we don't have
|
||||
* control over which devices a certification laboratory will be using for
|
||||
* certification. If CertLab uses a device which was tested against Windows and
|
||||
* that happens to have relaxed resume signalling rules, we might fall into
|
||||
* situations where we fail interoperability and electrical tests.
|
||||
*
|
||||
* In order to avoid both conditions, we're using a 40 ms resume timeout, which
|
||||
* should cope with both LPJ calibration errors and devices not following every
|
||||
* detail of the USB Specification.
|
||||
*/
|
||||
#define USB_RESUME_TIMEOUT 40 /* ms */
|
||||
|
||||
/**
|
||||
* struct usb_interface_cache - long-term representation of a device interface
|
||||
* @num_altsetting: number of altsettings defined.
|
||||
|
||||
Reference in New Issue
Block a user