Nathan Lynch
f40b0f6c5c
powerpc/rtas: ensure 8-byte alignment for struct rtas_args
...
CHRP and PAPR agree: "In order to make an RTAS call, the operating
system must construct an argument call buffer aligned on an eight byte
boundary in physically contiguous real memory [...]." (7.2.7 Calling
Mechanism and Conventions).
struct rtas_args is the type used for this argument call buffer. The
unarchitected 'rets' member happens to produce 8-byte alignment for
the struct on 64-bit targets in practice. But without an alignment
directive the structure will have only 4-byte alignment on 32-bit
targets:
$ nm b/{before,after}/chrp32/vmlinux | grep rtas_args
c096881c b rtas_args
c0968820 b rtas_args
Add an alignment directive to the struct rtas_args declaration so all
instances have the alignment required by the specs. rtas-types.h no
longer refers to any spinlock types, so drop the spinlock_types.h
inclusion while we're here.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230220-rtas-queue-for-6-4-v1-1-010e4416f13f@linux.ibm.com
2023-03-30 23:36:34 +11:00
..
2023-02-23 17:09:35 -08:00
2023-02-02 22:33:11 -08:00
2022-09-28 19:22:10 +10:00
2022-08-07 17:52:35 -07:00
2022-02-12 22:47:43 +11:00
2021-10-09 00:15:59 +11:00
2022-09-28 19:22:13 +10:00
2022-11-18 19:00:16 +11:00
2022-08-10 15:32:20 +10:00
2023-02-10 22:19:56 +11:00
2022-08-10 15:32:02 +10:00
2022-06-29 20:43:04 +10:00
2021-12-23 22:33:10 +11:00
2022-11-15 20:11:47 +11:00
2020-10-25 14:51:49 -07:00
2021-04-14 23:04:19 +10:00
2022-05-08 22:15:40 +10:00
2020-12-04 01:01:10 +11:00
2022-11-24 23:31:47 +11:00
2022-12-02 21:59:57 +11:00
2022-04-26 13:35:54 -07:00
2022-06-29 17:04:09 -07:00
2020-12-09 17:00:54 +11:00
2021-12-23 22:33:12 +11:00
2021-03-14 20:32:24 +11:00
2022-09-26 22:26:49 +10:00
2021-12-23 22:33:15 +11:00
2022-09-26 23:00:13 +10:00
2021-11-29 22:48:32 +11:00
2022-11-24 23:31:48 +11:00
2020-07-29 23:47:54 +10:00
2020-07-29 21:02:09 +10:00
2021-03-01 12:33:31 +11:00
2022-11-30 21:46:48 +11:00
2020-10-08 21:17:15 +11:00
2022-03-09 17:50:50 -08:00
2020-09-11 09:14:43 +02:00
2022-07-22 17:24:47 -05:00
2022-05-06 00:00:21 +10:00
2022-09-05 14:14:27 +10:00
2022-05-04 21:44:02 +10:00
2022-05-19 23:11:26 +10:00
2022-02-03 21:35:56 +11:00
2021-12-23 22:36:55 +11:00
2021-06-10 22:12:12 +10:00
2021-08-15 13:49:24 +10:00
2022-04-26 22:36:57 +10:00
2021-01-20 15:58:19 +11:00
2022-08-26 08:41:54 +10:00
2022-01-24 17:29:05 +11:00
2022-01-04 16:00:59 +11:00
2021-04-07 10:56:52 +02:00
2022-12-19 07:13:33 -06:00
2021-03-26 23:19:43 +11:00
2020-07-29 23:47:53 +10:00
2021-12-23 22:35:12 +11:00
2021-01-24 10:34:53 -08:00
2022-09-26 23:00:13 +10:00
2023-02-12 22:12:38 +11:00
2021-03-24 14:09:30 +11:00
2021-12-09 22:41:21 +11:00
2023-02-12 22:11:56 +11:00
2021-03-24 14:09:29 +11:00
2021-12-23 22:33:12 +11:00
2020-08-25 01:31:33 +10:00
2023-01-11 18:29:09 +11:00
2022-06-29 19:37:07 +10:00
2023-02-10 22:17:35 +11:00
2022-08-06 16:38:17 -07:00
2023-03-14 23:36:27 +11:00
2021-12-23 22:33:12 +11:00
2023-01-30 17:53:05 +11:00
2022-12-02 17:54:07 +11:00
2021-06-15 23:35:57 +10:00
2022-06-29 17:04:15 +10:00
2023-02-13 22:13:29 +01:00
2022-03-05 20:42:21 +11:00
2022-09-26 22:47:37 +10:00
2022-09-28 19:22:10 +10:00
2022-09-26 23:00:13 +10:00
2022-07-27 21:36:05 +10:00
2022-05-04 19:37:46 +10:00
2021-11-24 21:09:02 +11:00
2022-08-19 04:05:41 -04:00
2022-11-24 23:31:47 +11:00
2020-07-28 12:34:52 +10:00
2022-07-20 22:28:12 +10:00
2020-07-29 21:02:09 +10:00
2021-12-23 22:33:10 +11:00
2022-12-29 15:48:37 -05:00
2020-12-04 01:01:22 +11:00
2022-12-29 15:41:19 -05:00
2022-11-15 20:11:47 +11:00
2022-05-24 08:46:37 +02:00
2022-09-04 22:39:59 +10:00
2023-03-15 00:52:10 +11:00
2022-03-08 00:05:00 +11:00
2021-10-04 11:47:24 +02:00
2021-08-10 23:14:55 +10:00
2022-06-29 16:45:05 +10:00
2022-11-30 21:46:48 +11:00
2022-09-28 22:52:32 +10:00
2021-06-29 10:53:55 -07:00
2022-05-22 15:58:26 +10:00
2020-09-25 00:36:41 +09:00
2022-06-22 12:51:49 +10:00
2022-07-28 16:22:12 +10:00
2021-12-23 22:33:12 +11:00
2022-07-27 21:36:02 +10:00
2021-11-25 11:25:30 +11:00
2022-09-15 22:55:46 +10:00
2023-02-10 22:19:56 +11:00
2020-12-09 23:48:14 +11:00
2023-02-09 16:51:41 -08:00
2023-02-13 22:35:03 +11:00
2022-09-05 14:14:02 +10:00
2022-09-05 14:14:02 +10:00
2022-05-06 00:00:20 +10:00
2023-03-15 00:51:46 +11:00
2022-08-06 16:38:17 -07:00
2020-08-04 23:15:59 +10:00
2021-12-23 22:33:11 +11:00
2021-02-09 01:09:44 +11:00
2021-07-01 11:06:03 -07:00
2022-09-26 20:58:18 +10:00
2022-09-26 20:58:18 +10:00
2022-11-08 17:37:18 -08:00
2021-02-09 01:09:44 +11:00
2022-06-29 16:57:09 +10:00
2023-02-12 22:12:39 +11:00
2022-02-07 21:02:20 +11:00
2021-08-25 16:37:18 +10:00
2020-12-04 01:01:30 +11:00
2022-05-08 22:15:40 +10:00
2022-12-02 20:45:57 +11:00
2022-09-28 19:22:10 +10:00
2021-10-12 17:50:12 -05:00
2022-07-27 21:36:05 +10:00
2022-12-02 17:54:09 +11:00
2022-12-07 20:14:49 +11:00
2023-01-30 17:02:03 +01:00
2022-09-15 22:55:46 +10:00
2022-11-24 23:12:18 +11:00
2022-12-02 17:54:09 +11:00
2022-12-02 17:48:50 +11:00
2022-12-02 17:48:50 +11:00
2022-09-26 23:00:13 +10:00
2023-03-30 23:35:43 +11:00
2023-03-30 23:36:34 +11:00
2023-02-13 22:35:02 +11:00
2023-02-13 22:35:03 +11:00
2022-09-28 19:22:11 +10:00
2020-11-20 11:16:35 -08:00
2022-09-26 20:58:16 +10:00
2021-10-07 19:52:58 +11:00
2023-02-12 22:12:37 +11:00
2022-02-12 22:47:42 +11:00
2022-09-30 18:35:52 +10:00
2022-05-19 23:11:26 +10:00
2021-12-07 15:14:12 +01:00
2022-08-10 15:27:44 +10:00
2023-02-10 22:19:56 +11:00
2021-12-23 22:33:14 +11:00
2020-11-22 10:48:22 -08:00
2022-12-02 17:48:02 +11:00
2022-12-02 17:48:02 +11:00
2022-03-08 22:15:32 +11:00
2021-12-09 22:41:21 +11:00
2022-11-18 02:18:10 +01:00
2022-04-05 09:59:38 +02:00
2020-10-06 11:18:04 +02:00
2022-05-28 11:27:17 -07:00
2022-04-18 07:21:12 +02:00
2022-05-04 19:37:46 +10:00
2022-09-26 23:00:13 +10:00
2022-10-07 00:59:54 +11:00
2022-09-28 19:22:09 +10:00
2022-09-28 19:22:08 +10:00
2022-11-01 10:24:09 +11:00
2022-05-05 22:11:57 +10:00
2021-08-27 00:56:54 +10:00
2022-06-02 22:56:47 +10:00
2022-09-05 14:14:27 +10:00
2022-05-13 23:59:23 +02:00
2022-07-21 10:50:13 -07:00
2022-05-22 15:58:30 +10:00
2023-02-13 22:35:02 +11:00
2022-05-19 23:11:29 +10:00
2023-03-29 23:53:02 +11:00
2022-09-28 19:22:14 +10:00
2022-09-26 23:00:15 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00
2022-05-22 15:58:27 +10:00
2021-04-14 23:04:44 +10:00
2022-08-22 13:36:59 +10:00
2023-01-27 13:45:41 +01:00
2021-04-30 11:20:40 -07:00
2022-06-29 16:45:13 +10:00
2022-09-15 22:55:46 +10:00
2021-08-10 23:15:02 +10:00
2021-08-10 23:15:02 +10:00
2021-12-23 22:33:12 +11:00
2022-02-11 20:39:39 +11:00