~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/linux/cper.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
#define CPER_PROC_VALID_IP                      0x1000
219
219
 
220
220
#define CPER_MEM_VALID_ERROR_STATUS             0x0001
221
 
#define CPER_MEM_VALID_PHYSICAL_ADDRESS         0x0002
222
 
#define CPER_MEM_VALID_PHYSICAL_ADDRESS_MASK    0x0004
 
221
#define CPER_MEM_VALID_PA                       0x0002
 
222
#define CPER_MEM_VALID_PA_MASK                  0x0004
223
223
#define CPER_MEM_VALID_NODE                     0x0008
224
224
#define CPER_MEM_VALID_CARD                     0x0010
225
225
#define CPER_MEM_VALID_MODULE                   0x0020
232
232
#define CPER_MEM_VALID_RESPONDER_ID             0x1000
233
233
#define CPER_MEM_VALID_TARGET_ID                0x2000
234
234
#define CPER_MEM_VALID_ERROR_TYPE               0x4000
 
235
#define CPER_MEM_VALID_RANK_NUMBER              0x8000
 
236
#define CPER_MEM_VALID_CARD_HANDLE              0x10000
 
237
#define CPER_MEM_VALID_MODULE_HANDLE            0x20000
235
238
 
236
239
#define CPER_PCIE_VALID_PORT_TYPE               0x0001
237
240
#define CPER_PCIE_VALID_VERSION                 0x0002
347
350
        __u64   responder_id;
348
351
        __u64   target_id;
349
352
        __u8    error_type;
 
353
        __u8    reserved;
 
354
        __u16   rank;
 
355
        __u16   mem_array_handle;       /* card handle in UEFI 2.4 */
 
356
        __u16   mem_dev_handle;         /* module handle in UEFI 2.4 */
350
357
};
351
358
 
352
359
struct cper_sec_pcie {
389
396
 
390
397
u64 cper_next_record_id(void);
391
398
void cper_print_bits(const char *prefix, unsigned int bits,
392
 
                     const char *strs[], unsigned int strs_size);
 
399
                     const char * const strs[], unsigned int strs_size);
393
400
 
394
401
#endif