aboutsummaryrefslogtreecommitdiff
path: root/include/cpu.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-24 10:06:49 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-24 10:07:19 +1100
commit531bdefda91102cb3240e4e3289900af0a50e78b (patch)
treecc95231a4ce4a0ae05e7d123eaac4bd9beedef2d /include/cpu.h
parentbed82938878cff16c539c1c6b3887b2cf65b4f57 (diff)
downloadskiboot-531bdefda91102cb3240e4e3289900af0a50e78b.zip
skiboot-531bdefda91102cb3240e4e3289900af0a50e78b.tar.gz
skiboot-531bdefda91102cb3240e4e3289900af0a50e78b.tar.bz2
irq/occ/opal: Add self-sent dummy interrupt
This makes OPAL use the OCC interrupt facility to send itself an interrupt whenever the OPAL event bit is set as a result of an OPAL call that wasn't itself opal_handle_interrupt() or opal_handle_hmi() (both of which we know the OS will already deal with appropriately). This ensures that OPAL event changes are notified to Linux via its interrupt path which is necessary for it to properly broadcast the state change to its various clients. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/cpu.h')
-rw-r--r--include/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cpu.h b/include/cpu.h
index 1f92b9c..7895e96 100644
--- a/include/cpu.h
+++ b/include/cpu.h
@@ -58,6 +58,7 @@ struct cpu_thread {
bool con_need_flush;
uint32_t hbrt_spec_wakeup; /* primary only */
uint64_t save_l2_fir_action1;
+ uint64_t current_token;
struct lock job_lock;
struct list_head job_queue;