diff options
author | Will McVicker <willmcvicker@google.com> | 2024-04-15 11:14:18 -0700 |
---|---|---|
committer | Will McVicker <willmcvicker@google.com> | 2024-04-15 11:19:24 -0700 |
commit | 951a7837ea2391035fe384a81b14748d093926b6 (patch) | |
tree | 821286663e7ba94b7dd5db4b6da28b1edb3cbf19 /lwis_device_test.h | |
parent | e5d0b690ab61ca932240b5a77b05214397112a7a (diff) | |
parent | e93b073b2f1f5f9a0c479714efceb9ac78c027cd (diff) | |
download | lwis-android14-gs-pixel-6.1.tar.gz |
Merge aosp/android-gs-raviole-5.10-android14-qpr2 into aosp/android14-gs-pixel-6.1android14-gs-pixel-6.1
* aosp/android-gs-raviole-5.10-android14-qpr2:
LWIS: fix race condition
LWIS: Fix spinlock flags are overwritten by the nested using
LWIS: Add mutex lock to I2C process queue
LWIS: Check transaction limit based on flag
LWIS: Fix race condition while disabling device
LWIS: Transactions optimizations
LWIS: Handle device flush for transactions with limit
LWIS: Move transaction limit logging
LWIS: Update read buffer pointer
LWIS: Fix the processing end limit for transactions
LWIS: Update the trace information
LWIS: Pass irq state to correctly restore transaction lock
LWIS: Fix use of transaction pointer after free
LWIS: Fix transaction free
Add entry processing limit for queued transactions
LWIS: Fix memory leak
Revert^2 "Optimize I2C Bus manager scheduling"
Revert^3 "Revert "LWIS: Implement I2C Bus Manager""
Revert^2 "Revert "LWIS: Implement I2C Bus Manager""
Revert "Optimize I2C Bus manager scheduling"
Optimize I2C Bus manager scheduling
Revert "Revert "LWIS: Implement I2C Bus Manager""
Revert "LWIS: Implement I2C Bus Manager"
LWIS: Implement I2C Bus Manager
Top: Use GFP_ATOMIC flag in kmalloc
IOEntry: Allow max wait time of 1 second
IO Entry: Support Wait and Poll in short interval functions
Debug: Fix formatting on dump state logs
I2C: Remove redundant parameter in lwis_i2c_io_entry_rw
LWIS: Remove fence enable flag
LWIS: Remove partial fence enable flag
LWIS: Remove bts block name enable flag
LWIS: Allow user input GFP flags for different use cases
Revert "LWIS: print cleanup transaction read result"
LWIS: Use IS_ERR_OR_NULL instead of IS_ERR
LWIS: Reset variables when error
LWIS: implement the fake injection in Kernel side
Transaction: Add debug parameter to skip transaction timestamping
Fix formatting.
LWIS: test infra refactor: implement the lwis_test device read the interrupt info from dts tree.
LWIS: Fix stack size warning
LWIS: Add a new command for current LWIS_BTS_BLOCK_NAME_ENABLED on
LWIS: Remove partial bts block name enable flag
LWIS: test infra refactor: add more functions for lwis-test device.
LWIS: do not update BTS for unsupported devices
LWIS: Clean up TODO for flash driver
Top: Fix lwis_top_event_subscribe() UAF
Change-Id: I0844e4e5efd56eb6e97cdc90eabbf1531ae0609e
Signed-off-by: Will McVicker <willmcvicker@google.com>
Diffstat (limited to 'lwis_device_test.h')
-rw-r--r-- | lwis_device_test.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lwis_device_test.h b/lwis_device_test.h index c3236e2..93b19b7 100644 --- a/lwis_device_test.h +++ b/lwis_device_test.h @@ -15,14 +15,23 @@ #include "lwis_commands.h" #include "lwis_device.h" +#define SCRATCH_TEST_DEV_MEMORY_SIZE 32 +#define TEST_DEVICE_IRQ_CNT 1 +#define TEST_DEVICE_FAKE_INJECTION_IRQ 999 + /* * struct lwis_test_device * The device majorly control/handle requests from test clients. */ struct lwis_test_device { struct lwis_device base_dev; + /* + * For testing purposes, scratch memory is used as register space in + * test device. + */ + uint8_t scratch_mem[SCRATCH_TEST_DEV_MEMORY_SIZE]; }; int lwis_test_device_deinit(void); -#endif /* LWIS_DEVICE_TEST_H_ */
\ No newline at end of file +#endif /* LWIS_DEVICE_TEST_H_ */ |