Age | Commit message (Collapse) | Author |
|
edgetpu: move ctx activation to group activation
The problem is the context activation/deactivation calls could be called
when the device is powered off when a group is marked as non-detachable.
To fix this we always do context activation / deactivation on wakelock
acquirement / releasing instead of on domain attaching / detaching.
Test: Astress
Bug: 277256378
edgetpu: rio: LPM patch to fix FRC clock timing violation
Bug: 287661979
(cherry picked from commit 584af84078d0a02399a71f92040fac2e2ce2d88e)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: b2c243b9351955c18780b887b3790e38b133e494
Change-Id: I1202f29697ab69543ddc3f83770919c57ab972e4
|
|
edgetpu: explicitly disable ctx on domain detach
Tested: Astress + RGE FacenetMobile8BitV1 for 3 hours
Bug: 277256378
(cherry picked from commit b548c3968987bb58a2b77ac87f9c7d201687e2bb)
gcip: Always use irqsave for ACQUIRE_WAIT_LIST_LOCK
In order to prevent deadlock causing by interrupt, always use irqsave
when acquiring wait list lock.
Bug: 288023845
Test: sh run.sh --chip rio --syz-reproduce
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 4befbbeb309a41f80c02a3c49f494f2180138f5a
Change-Id: Id012a56933c892a1e1964e61d6361819c4bfe1a8
|
|
edgetpu: Acquire PM lock before PM count check during suspend
There might be a race between edgetpu_pm_suspend and gcip_pm_put that
when gcip_pm_put already decreases the PM count to zero, but hasn't
shut the block down, a suspend request is received and
edgetpu_pm_suspend returns 0. This race might allow the parent devices
(e.g., sysmmu) to suspend while the TPU is still on. Add gcip_pm_trylock
in edgetpu_pm_suspend to avoid it.
Bug: 277256378
Test: echo mem > /sys/power/state
(cherry picked from commit 3f948d35cb78e8bc7001b8de944cb0d6b1d8ebbf)
edgetpu: replace group member check macro that modifies control flow
LOCK_RETURN_IF_NO_GROUP macro modifies control flow, contraindicated by
Linux kernel coding standards.
Replace with an inline call and explicit function return by callers.
Remove unnecessary update of client group parameter and refer to the
original value of the client's group pointer instead.
Bug: 286406228
(cherry picked from commit 8f5061cc6598a23d6b5232447174ac555ef8a3f6)
(cherry picked from commit c887d310d4196efd25092d0369a6c7c26d07481d)
edgetpu: kci replace use of macro that modifies control flow
Macro that returns from function on errors violates kernel coding
standards, replace with explicit control logic.
Bug: 286406228 (repeat)
(cherry picked from commit 8e1fc53e20cca260abefa980fe19d86e76823e93)
(cherry picked from commit 828e937d891eaabc2059e296ee0db802603de414)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 38c11dab698ec20d07c314f17c187115963d5bc2
Change-Id: I7c7394fadfc2ca566a67df3ad1deae72c645e7e8
|
|
gcip: check block power state before fetching resp
Bug: 283659596
gcip: Set .is_block_off to gcip_mailbox
Bug: 283659596 (repeat)
gcip: Add gcip_pm_put_async
gcip: iommu: legacy mode do not double map for default domain
gcip: keep track of whether a gdomain is for the default domain
gcip: Add .is_block_off to gcip_{kci,mailbox}
Bug: 283659596 (repeat)
gcip: Add gcip_pm_put_async
gcip: include: keep track of whether a gdomain is for the default domain
edgetpu: Set .is_block_off for gcip_kci
Bug: 283659596 (repeat)
edgetpu: Move pmu_status to edgetpu_dev
Bug: 283659596 (repeat)
edgetpu: hold mmap_lock around pin_user_pages
mmap_lock must be held around call to pin_user_pages to protect against
concurrent address space modifications.
Bug: 283787360
(cherry picked from commit 38761382e80a3446ded8e60e121d5357bdceb8be)
(cherry picked from commit 97d6d45f552d5ee711c15b5085b2af5e726a17ec)
edgetpu: remove code for no KCI data structure
edgetpu: debug prints for iommu mapping calls
edgetpu: Use gcip_iommu_domain_pool_enable_best_fit_algo
Bug: 275112261
edgetpu: Remove the edgetpu_mmu_tpu_map interface
edgetpu: Use per-domain IOVA for coherent buffers
Bug: 275112261 (repeat)
edgetpu: Add edgetpu_mmu_(un)map_sgt()
Bug: 275112261 (repeat)
edgetpu: Use per-domain IOVA for dma-bufs
Bug: 275112261 (repeat)
edgetpu: Adopt gcip-iommu with split IOVA-space
Bug: 275112261 (repeat)
edgetpu: Store a pointer to the default domain
Bug: 275112261 (repeat)
edgetpu: Remove dead mmu_alloc/reserve/free code
gcip: Call iova_domain_init_rcaches on kernel >= 5.18
Bug: 284584586
edgetpu: usage-stats remove unnecessary out of memory log
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: d679cc93e4dec8214959ee855a00ba301d178555
Change-Id: Id5ec8ac4ee4dd44c36dcf08cad9b7b56a61e0d30
|
|
edgetpu: return -EIO for operations on device with bad firmware state
gcip: Move HAS_IOVAD_BEST_FIT_ALGO to header
Bug: 278833993
gcip: Add HAS_IOVAD_BEST_FIT_ALGO
Bug: 278833993 (repeat)
edgetpu: Enable iommu dma best fit algorithm
Bug: 278833993 (repeat)
edgetpu: Add client_priv to edgetpu_mailbox_attr
Bug: 279805034
edgetpu: adopt gcip-usage-stats
gcip: remove useless written variable
gcip: fix false not found freq warning log
gcip: decide subcomponent after update_usage_kci
gcip: support unsorted default DVFS freqs
gcip: add missing component type
Bug: 279866789
gcip: add missing thread IDs
Bug: 279866789 (repeat)
gcip: manage response status internally
Bug: 278819094
gcip: add status field to struct gcip_mailbox_async_resp
Bug: 278819094 (repeat)
gcip: introduce struct gcip_mailbox_async_resp
Bug: 278819094 (repeat)
gcip: Conditionally include dma-iommu.h
gcip: add a new line to dvfs_freqs show
gcip: remove GCIP_KCI_STATUS_*
Bug: 278819094 (repeat)
gcip: manage response status internally
Bug: 278819094 (repeat)
gcip: add status field to struct gcip_mailbox_async_resp
Bug: 278819094 (repeat)
gcip: introduce struct gcip_mailbox_async_resp
Bug: 278819094 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: f1ea5702d8b432368f0705e7ed5b29746b9c565e
Change-Id: I9d9e17aee270bd45d967fe2a45899492f9fb1212
|
|
gcip: introduce gcip_usage_stats_max_watermark
Bug: 276474775
gcip: introduce gcip_usage_stats_thread_stats
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_counter
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_component_utilization
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_core_usage
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_dvfs_frequency_info
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_ops
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_{header,metric}
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_attr
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_metric_type
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_max_watermark
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_thread_stats
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_counter
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_component_utilization
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_core_usage
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_dvfs_frequency_info
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_ops
Bug: 276474775 (repeat)
gcip: implement parsing metrics
Bug: 276474775 (repeat)
gcip: registers device attributes with default callbacks
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats_attr
Bug: 276474775 (repeat)
gcip: introduce gcip_usage_stats
Bug: 276474775 (repeat)
edgetpu: add error log for canceled operation due to fatal error
edgetpu: unittests: enable ftrace events to increase the code coverage
Bug: 277672895
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: f1f8a0813ff35b8b5804780d1f69596f1746c3be
Change-Id: Iadfbe95c38d99feab481ffd7bb6aa97110a78f01
|
|
gcip: Fix version check for best-fit IOVA allocate
edgetpu: Handle missing scmversion
Bug: 277787303
gcip: Disable best-fit algo on kernel > 5.15
Bug: 277649169
gcip: check acquired lock is atomic
Bug: 275652066
gcip: Conditionally use alloc_iova_fast workaround
edgetpu: Pass down system properties to firmware
Bug: 273578844
gcip: check acquired lock is atomic
Bug: 275652066 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 2874dde46f432d46dec6f58cefca5a1529f08f29
Change-Id: I684beb37926cf4bf1c265a9d79cf2ec788fcb523
|
|
gcip: KCI accept out-of-order responses
Bug: 274574929
edgetpu: Fix thermal node name
Bug: 275529799
Revert "Revert "edgetpu: create debugfs symlinks for non-default device names""
Bug: 274860504
edgetpu: rename MMU flags for control cluster access
Bug: 275112261
gcip: Define new gcip_kci_code for setting device properties
Bug: 273578844
edgetpu: Clean-up scmversion vs GIT_REPO_TAG usage
Bug: 274893782
edgetpu: Alloc NS fw ctx memory dynamically
Bug: 272628133
edgetpu: Use scmversion instead of GIT_REPO_TAG
Bug: 274893782 (repeat)
edgetpu: Update Kbuild git tag to work with kleaf
Bug: 274893782 (repeat)
Revert "edgetpu: Continue powering up if the block is still on"
Bug: 272701322
gcip: alloc_iova_fast requires the page number as power of 2
Bug: 274547226
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: aa147e7086dda21a4c5bd212f42f3bd551536753
Change-Id: Iec6be7508d4d75674a22f3ef1607f023b1d00570
|
|
edgetpu: Continue powering up if the block is still on
Bug: 272701322
edgetpu: Add ABI documentation
edgetpu: usage_stats add cluster reconfigurations counters
Bug: 271372136
Bug: 271374892
edgetpu: usage_stats: process metrics v2 data
Bug: 271372136 (repeat)
Bug: 271374892 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 599a31d4efcc191a247d4918b802758ec12e97ef
Change-Id: Ice5e0584766693ecf7a760cca9336d51b556f5ea
|
|
Revert "edgetpu: create debugfs symlinks for non-default device names"
edgetpu: create debugfs symlinks for non-default device names
gcip: Match gcip_image_config struct with firmware
Bug: 263852751
gcip: Add state2power_table
Bug: 271305993
edgetpu: Make group required for creating fence
Bug: 258868303
edgetpu: Adopt GCIP DMA fence
Bug: 264971968
edgetpu: Add etdev as private data for syncfences
Bug: 264971968 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 04818a72f70612a750d21d85633efc7f9e679bb8
Change-Id: I8d3a6f072acb3e96802b46fe19783cfbb1c3ffa5
|
|
Revert "gcip: temporary disable gcip-iommu"
gcip: temporary disable gcip-iommu
edgetpu: usage_stats send metrics v2 requests with v1 fallback
Bug: 271372136
edgetpu: pm: reject power up if thermal suspended
gcip: kci: add usage-stats metrics v1 / v2 commands
gcip: pm power_up callback add comments for thermal suspend suggestion
edgetpu: usage stats: sync additional metrics v2 changes
Bug: 271372136 (repeat)
edgetpu: usage stats add field definitions for metrics v2
gcip: implement a function returning default IOMMU domain
Bug: 243479562
gcip: implement map/unmap in legacy mode
Bug: 243479562 (repeat)
gcip: implement gcip_iommu_domain_{map,unmap}_sg
Bug: 243479562 (repeat)
gcip: implement gcip_iommu_domain_pool_{alloc,free}_domain
Bug: 243479562 (repeat)
gcip: add granule alignment functions
Bug: 243479562 (repeat)
gcip: introduce gcip_iommu_domain_type
Bug: 243479562 (repeat)
gcip: implement funcs of gcip_iommu_domain_pool
Bug: 243479562 (repeat)
gcip: introduce a function returning default IOMMU domain
Bug: 243479562 (repeat)
gcip: introduce gcip_iommu_domain_{map,unmap}_sg
Bug: 243479562 (repeat)
gcip: introduce gcip_iommu_domain_pool_{alloc,free}_domain
Bug: 243479562 (repeat)
gcip: introduce gcip_iommu_domain_ops
Bug: 243479562 (repeat)
gcip: introduce gcip_iommu_domain
Bug: 243479562 (repeat)
gcip: introduce gcip_iommu_domain_type
Bug: 243479562 (repeat)
gcip: introduce gcip_iommu_domain_pool and its funcs
Bug: 243479562 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: d2861d3f529668711bd77cf764a68b8e707542b5
Change-Id: I2aab2c72efc2e6237f1f53d9d4da216cea9eb564
|
|
edgetpu: gsx01: fix param to thermal suspend/resume
gcip: Add gcip_pm_lock
Bug: 264729080
edgetpu: Downgrade warning on external mailbox alloc
Bug: 269476405
gcip: Make gcip_pm_{get_count,is_powered} lockless
Bug: 271756295
gcip: generalize mem_pool
gcip: utilize mock files on unittests
Bug: 272216562
gcip: use GPL-2.0-only license
Bug: 271797962
gcip: Make gcip_pm_{get_count,is_powered} lockless
Bug: 271756295 (repeat)
gcip: generalize mem_pool
gcip: use GPL-2.0-only license
Bug: 271797962 (repeat)
gcip: Remove gcip_pm_put_async
Bug: 271756295 (repeat)
gcip: Add gcip_pm_trylock
Bug: 271756295 (repeat)
gcip: Remove gcip_pm_put_async
Bug: 271756295 (repeat)
gcip: Only call .power_up if needed
edgetpu: Use gcip_pm_trylock in kci_update_usage
Bug: 271756295 (repeat)
edgetpu: rio: Update comments for dvfs table
edgetpu: usage stats ignore metric fields beyond known size
Bug: 271372136
edgetpu: Update power state
Bug: 271615586
gcip: Add level -3 (FATAL) for firmware log
Bug: 271596603
gcip: Print GCIP_FW_LOG_LEVEL_FATAL as error message
Bug: 271596603 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 5a868e712cd2e88c4e91aafab78e53088517568d
Change-Id: Id585a1cb00d715ac58fe8ae458344f460972fb1a
|
|
gcip: Update outdated comments
gcip: Postfix gcip_firmware_tracing_restore
gcip: Postfix gcip_firmware_tracing_restore
gcip: fix undefined variable on !THERMAL
gcip: always return NULL on domain alloc error
edgetpu: Update fw tracing restore function name
edgetpu: always restart firmware on sw watchdog timeout
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 126b4e2ea5386239fe19851180cb9f4d123e18a2
Change-Id: I2f1e4fa08428da9d9658d705ea19297aac1afb3e
|
|
edgetpu: fix cooling name
Bug: 271488451
edgetpu: remove software watchdog reset_needed flag
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 8404b7cde1f37cdeabb644549d450545e368d26a
Change-Id: I7010bdd4fb54fce3615158b0293bb47a81a2bf75
|
|
edgetpu: Add edgetpu_soc_thermal_exit
Bug: 264729080
edgetpu: Add edgetpu_thermal_destroy
Bug: 264729080 (repeat)
edgetpu: Add missing thermal node_name
Bug: 264729080 (repeat)
edgetpu: Add const to gcip_thermal_args
Bug: 264729080 (repeat)
gcip: Add gcip_thermal_destroy
Bug; 264729080 (repeat)
gcip: Add thermal votes
Bug: 271194361
Bug: 264729080 (repeat)
gcip: Cleanup abandoned domains on domain-pool destroy
gcip: Prefix MAX_NUM_THERMAL_STATES
Bug: 264729080 (repeat)
gcip: Add const to thermal_cooling_device_ops
Bug: 264729080 (repeat)
gcip: Add gcip_thermal_destroy
Bug: 264729080 (repeat)
gcip: Add thermal votes
Bug: 271194361 (repeat)
Bug: 264729080 (repeat)
gcip: Add missing includes to gcip-domain-pool.h
gcip: Add list of dynamic domains to domain-pool
gcip: Prefix MAX_NUM_THERMAL_STATES
Bug: 264729080 (repeat)
gcip: add watchdog timeout crash type
Bug:255416846
gcip: Add thermal header
Bug: 264729080 (repeat)
edgetpu: Adopt GCIP thermal
Bug: 264729080 (repeat)
edgetpu: Kbuild: Expand objs list
Bug: None
gcip: Add thermal support
Bug: 264729080 (repeat)
gcip: remove redundant else in pm.c
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 2b37ee7805825c4d527e2c90392e97abde7d5cc1
Change-Id: I0a40e0cd98e47c23251a57e67906559747e12565
|
|
edgetpu: Add PMQoS support
Bug: 254703840
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 0ec4320afeb754d057a1e5d2cade155bb56ef677
Change-Id: Ia0250e3a427013552845e8521a3ba6f6d4c2cc7a
|
|
gcip: fixup: Use devm_* for gcip-pm
Bug: 265870718
edgetpu: Use const gcip_fw_tracing_args
Bug: 262916889
gcip: Use devm_* for gcip-pm
Bug: 265870718 (repeat)
gcip: Remove the start log of async power down
Bug: 265870718 (repeat)
gcip: Add a comment about suspend/resume in gcip-pm
Bug: 265870718 (repeat)
gcip: Add firmware dynamic tracing support
Bug: 262916889 (repeat)
gcip: Add PM support
Bug: 265870718 (repeat)
gcip: call before_enqueue_wait_list
Bug: 267713283
gcip: Add firmware dynamic tracing header
Bug: 262916889 (repeat)
gcip: Add PM header
Bug: 265870718 (repeat)
gcip: introduce before_enqueue_wait_list
Bug: 267713283 (repeat)
edgetpu: Adopt GCIP fw tracing
Bug: 262916889 (repeat)
edgetpu: Adopt GCIP PM
Bug: 265870718 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 961e22cac86af77c8609fbe7c4d08d89e4aea8b3
Change-Id: Ia27beb7af534208da90b1bcecdf7f3478bf3f721
|
|
edgetpu: Add a debugfs node for thermal control
Bug: 266837631
edgetpu: Add missing pm error handling
gcip: use v*alloc without node
gcip: Add a new KCI code for thermal control
Bug: 266837631 (repeat)
gcip: Add a new KCI code for fw tracing level request
Bug: 262916889
gcip: fix up DMA fence macros
gcip: fix code style/formatting issues
edgetpu: fix firmware size check
Bug: 267206706
gcip: conditionally zero the non-contiguous region
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 5bf0de6e2161bdd772fa8207f9a79ecbde14c54f
Change-Id: I433bbaae480764936f1ac5ba2230902d5f28321f
|
|
edgetpu: Kbuild: Add back EXTRA_CFLAGS
Bug: 265616915
gcip: expose config size calculation to header
Bug: 265605775
gcip: expose config size calculation to header
Bug: 265605775 (repeat)
gcip: Use strscpy instead of memcpy
gcip: enhance image config NS mapping decoding
Bug: 265565307
gcip: sync RKCI codes with fw
gcip: update comments of gcip_dma_fence_init
Bug: 264220687
gcip: add to_gcip_fence to gcip-dma-fence
Bug: 264220687 (repeat)
gcip: fix GCIP_DMA_FENCE_LIST_UNLOCK
Bug: 258876786
gcip: don't fail dma_fence_init on long name
Bug: 264220687 (repeat)
gcip: implement gcip_dma_fence_show
Bug: 264220687 (repeat)
gcip: implement DMA fence status and signal
Bug: 264220687 (repeat)
gcip: add gcip-dma-fence.c
Bug: 258876786 (repeat)
edgetpu: Add edgetpu_thermal_restore
Bug: 262790767
edgetpu: Add trylock to edgetpu_pm_get_if_powered
Bug: 262790767 (repeat)
edgetpu: set no limit on DMA segment size
Bug: 263431665
edgetpu: Remove unnecessary LINUX_VERSION checks
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 6fc90a207b2cb3f17dc81416299cc6c98c82c461
Change-Id: Ie7b34b53f9472de81e7324e9bbf99a77cce72b85
|
|
gcip: correct path of gcip-dma-fence.h
Bug: 258876786
gcip: add gcip-dma-fence.h
Bug: 258876786 (repeat)
edgetpu: Rename cooling to thermal
edgetpu: Use edgetpu_thermal_{lock,unlock}
edgetpu: Fix thermal deadlock
Bug: 262790767
gcip: introduce firmware crash type
Bug: 237739631
gcip: style fix up
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: bd9eb44d1a6854fcd79ddc0a31387dc5cf48ca11
Change-Id: Idf4cb6f5da868d9c840a0c8903a0d87b3e485742
|
|
gcip: implement noncontiguous alloc
Bug: 262684159
gcip: add gcip-alloc-helper.h
Bug: 262684159 (repeat)
edgetpu: return context_id as client_id to DSP
Bug: 262419733
gcip: Change hard-coded magic numbers to MACROs
Bug: 257300340
edgetpu: Add wakelock trace
Bug: 262914320
edgetpu: Fix missing wakelock unlock
gcip: Update the comments in gcip-image-config for new encoding
Bug: 257300340 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: dca9517c4091515cff87e7bd0eee33854b853127
Change-Id: I804d386f2f8af75695f89d8c54c6c2299901af9b
|
|
gcip: Update the size encoding of image config
Bug: 257300340
edgetpu: Fix pm relock when setting thermal policy
Bug: 262790767
gcip: add reference count to the awaiter
Bug: 261822585
gcip: introduce gcip_mailbox_cancel_awaiter
Bug: 261822585 (repeat)
gcip: unittests: implement timeout race trigger
Bug: 261822585 (repeat)
gcip: implement reference count to the awaiter
Bug: 261822585 (repeat)
gcip: implement gcip_mailbox_cancel_awaiter
Bug: 261822585 (repeat)
edgetpu: skip thermal resume on firmware handshake if not setup
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: d29cd14a8e2c652315fb915909576a04f6440b13
Change-Id: I9e732981665f682b11dd445535b554f4c6380311
|
|
Bug: 260174400
Change-Id: Icc4ef4a54bfc09387209cd5d5369c81aee4df8cb
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
Bug: 260174400
Change-Id: If7b1e790bfc9339c958a3a0b9ea09194f98717e0
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
edgetpu: rio: Add support for kleaf
Bug: 257343887
edgetpu: Unify the build files
edgetpu: Update the trace header file
edgetpu: signal any unsignaled dma fences at device group disband
Bug: 258868303
edgetpu: dma fence debugfs show owning group
Bug: 258868303 (repeat)
edgetpu: dma fence creation optionally associated with device group
Bug: 258868303 (repeat)
edgetpu: ensure TPU is powered before reading CMU
Bug: 261231679
edgetpu: introduce START_OFFLOAD external cmd
Bug: 247923533
edgetpu: adopt tpu_file to external commands
Bug: 247923533 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 1bab8b20f171f280178b5ae69cb2595d215add8e
Change-Id: I05dacc8ce4ff18ebdcd4fa11962efe954d4108bf
|
|
gcip: fix log style in gcip domain pool
gcip: introduce gcip_kci_offload_chip_type
Bug: 260690355
gcip: add {link,unlink}_offload_vmbox KCI codes
Bug: 260690355 (repeat)
gcip: Add domain pool
Bug: 228907682
edgetpu: Apply gcip domain pool
Bug: 228907682 (repeat)
gcip: Add domain pool
Bug: 228907682 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 0140eb032a3631b0b68da5a2ad612bc2ab7803d9
Change-Id: I8cdd19660d5cbcc22e0cee7c915176a8117ed75e
|
|
Bug: 260174400
Change-Id: I75fd81760894faf124698d35d0b53329239d762b
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
edgetpu: Use thermal throttling KCI instead of set_policy
Bug: 258427511
edgetpu: Add a static debug pointer to driver state
Bug: 260768055
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: aaa7370d2eb6b4505495736b461a21736d449b59
Change-Id: Ib14b0b31209169197c2f507b82c55cf5f1e2825d
|
|
Bug: 260173634
Change-Id: I0ff4522ec43ca9db260035d89b67123bcb857afb
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
edgetpu: Apply remapped_data_{start,size}
Bug: 257212385
edgetpu: Expose edgetpu_mobile_set_telemetry_mem
Bug: 257212385 (repeat)
edgetpu: Reuse previously allocated KCI struct
Bug: 257212385 (repeat)
edgetpu: Add remap data related variables
Bug: 257212385 (repeat)
gcip: Add remapped_data_{start,size} to image config
Bug: 257212385 (repeat)
edgetpu: rio: Pre-allocate IOMMU domains for VCID
Bug: 260038700
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 53ea33b4559320fb4f8fcb940e99ea2ce2d7361b
Change-Id: I80fd3d5cc3e2640e4b5912ec51c91dcd110c0f43
|
|
Bug: 260173634
Change-Id: I624670f3c11ef6a6a1d48a8bf644a4015ab27b23
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
gcip: image header use unsigned fields
edgetpu: retry and sleep until block down
Bug: 257888003
gcip: init ignore_seq_order of KCI
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 56fe1a0260c5429fc6b865b5055c4b97ee584afc
Change-Id: I4dc0a1f57ab1759cd3160ec38c8b540d249dcc02
|
|
edgetpu: rio: Increase shutdown delay
Bug: 257888003
gcip: add common authenticated image format header
edgetpu: Add reasonable defaults to Makefile
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: ffbca4c6a8382c10e2058af7ea5be8d182a59a50
Change-Id: Ia53cfe37b6a9c29602931b6d03708cf4d1d54134
|
|
Bug: 236259002
Change-Id: I77c382c09a675512b1da31932d33c6d51bd1e565
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
edgetpu: add support for firmware header gen 2
BUG: 244103549
edgetpu: Add ACPM plugin
Bug: 216396699
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: e7a675bfe11aac394fb11e7242271a0f3c29d3f8
Change-Id: I45b877b1f53a940192800ce4157542d4bcf5bdb0
|
|
Bug: 236259002
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I781d4a4a7f3935d2f67a0508f5071008ffe633e1
|
|
edgetpu: Read TPU core frequency from CMU
Bug: 245094308
edgetpu: Update edgetpu_soc_pm_{set_rate,set_init_freq}
Bug: 245094308 (repeat)
edgetpu: Only set the is_block_off if PMU is present
Bug: 245094308 (repeat)
gcip: Use term awaiter instead of async_resp
Bug: 249642792
gcip: Use term awaiter instead of async_resp
Bug: 249642792 (repeat)
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: d20eabdcd5e116924fef05fa0f242595fa27065d
Change-Id: I807ced1703263a6fd4ae500ff4dcd240c55dfd16
|
|
edgetpu: Add missing dev_pm_ops
Bug: 251854714
edgetpu: Fix pmu-status-base reading
Bug: 249727851
edgetpu: Remove acpm calls
Bug: 250742988
edgetpu: introduce PMU STATUS query
Bug: 249727851 (repeat)
edgetpu: Check block status before power-up
Bug: 249762546
gcip: constantize gcip_kci_args
gcip: constantize gcip_kci_args
gcip: use rate limiting for reverse KCI failure warning
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: f00ec38bf10e999f759b6776dc6fa1aa5caf0936
Change-Id: I84fe41c4e59b756fa47d50b1761a50f8816eaf2b
|
|
edgetpu: Fix telemetry error handling
gcip: remote unnecessary pointer cast
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 43cb1d832687c5b52ad77761d0a28786724d8171
Change-Id: I319a49924c75ee117fd6ce086eb8531e3a437b0a
|
|
gcip: Check telemetry buffer size
gcip: Remove redundant error
gcip: support arbitrary seq order commands
Bug: 247414706
gcip: support arbitrary seq order commands
Bug: 247414706 (repeat)
edgetpu: Add missing program_iremap_csr
Bug: 246846506
edgetpu: Remove outdated comments
edgetpu: warn if KCI get usage fails
Bug: 193072630
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 15747966e137f8b60b3db8ab2e1fcfccfe6a12ce
Change-Id: Ibb4b20333c2146bfa60c7faafc264dacfea1545e
|
|
gcip: Add gcip-telemetry
Bug: 239374826
edgetpu: Use devm_kstrdup
edgetpu: Adopt GCIP telemetry functions
Bug: 239374826 (repeat)
edgetpu: Adopt GCIP telemetry struct
Bug: 239374826 (repeat)
edgetpu: Adopt GCIP telemetry enum and define
Bug: 239374826 (repeat)
gcip: Add gcip-telemetry
Bug: 239374826 (repeat)
edgetpu: move fw context set call to mobile common
edgetpu: remove obsolete define for number of tiles
edgetpu: remove obsolete status register dump defines
edgetpu: make edgetpu_fops static
edgetpu: add comment on usage of "get clock rate" flags param
edgetpu: move mobile chip firmware API calls to common
edgetpu: remove unused platform power callbacks
edgetpu: gsx01: update dummy bcl header
edgetpu: rio: move BCL code from common to rio PM
edgetpu: remove unused firmware handler teardown_buffer
edgetpu: Kbuild: Append internal headers after EXTRA_CFLAGS
Bug: 245705573
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 4e74b17fc3f777acad0131c89416803f0a022b70
Change-Id: I1072918998fbfd45f67ec8c6469d2640bac9913e
|
|
edgetpu: Fix bcl_dev referencing
edgetpu: Remove unnecessary telemetry check
gcip: use pad/pap instead of llx for logging
edgetpu: Remove the non caller mem path in telemetry
Bug: 239374826
edgetpu: fix invalid paging on invalid map size
Bug: 245095356
edgetpu: Set TPU_ACPM_DOMAIN to 9 for Rio
Bug: 199681752
edgetpu: move soc-specific data to new struct
edgetpu: move edgetpu_soc_init call to edgetpu core
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: 6f42d0cadd1a45c74f4d641a5cac606117f3e9f9
Change-Id: Id5cc6eb1fadcb6d8dfd8ce67062717432b31dfc3
|
|
edgetpu: use GCIP image config parser
Bug: 243766637
edgetpu: Remove __func__ in etdev_warn
edgetpu: Check num_ssmts to prevent buffer overflow
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: c87629a74b71d6b003ba78a5d1673a31312d9eb5
Change-Id: Ic406e195e22b772e709b9ef9f42d42789144e4b6
|
|
gcip: implement gcip image config utilities
Bug: 243500340
gcip: add gcip-image-config.h
Bug: 243500340 (repeat)
edgetpu: Program SSMT according to EDGETPU_NUM_SSMTS
Bug: 241495826
gcip: Add linux/workqueue.h as header
edgetpu: move rio SSMT init to new SoC init call for gsx01
edgetpu: move PM init before MMU attach
edgetpu: Setting up SSMT to feed-through mode
Bug: 241495826 (repeat)
edgetpu: Use gcip.o in Kbuild
Bug: 240234334
edgetpu: remove unneeded header include
edgetpu: rename mobile PM functions to be edgetpu-specific
edgetpu: move chip PM init call inside device add function
edgetpu: move gsx01 rkci defines to new header, add gsx01 unit tests
edgetpu: gsx01: fixup style a.o. issues
edgetpu: move gsx01 pm_qos and bts functions to gsx01 soc source
edgetpu: move gsx01-specific pm debugfs interfaces to gsx01 soc source
edgetpu: support MMU_COHERENT on buffer mapping
Bug: 241495826 (repeat)
edgetpu: add future chip and SoC skeletal support
Bug: 235693240
Signed-off-by: Zuma copybara merger <zuma-automerger@google.com>
GitOrigin-RevId: e55df8c7c77503e13040518dd039abe726bb8cb6
Change-Id: I51f8fb38b3f4ffb4e46a7d1f4b971177ce6b39e8
|
|
edgetpu: Set SHAREABILITY for both TPU0 and TPU1
edgetpu: move gsx01 thermal support to gsx01 SoC source
edgetpu: remove all pchannel support
DAR_TO_ZUMA_REV_ID: fa5a2cbbe9faf40c1811880fe9794fce1c396a0b
edgetpu: move acpm code to gsx01 soc source
edgetpu: remove EDGETPU_FEATURE_INTEROP
edgetpu: remove EDGETPU_HAS_WAKELOCK
edgetpu: remove EDGETPU_FEATURE_MOBILE
edgetpu: move EDGETPU_DEV_MAX common
edgetpu: move mobile firmware_down callback to common
edgetpu: Move the mock functions to acpm_dvfs.h
Bug: 240363978
DAR_TO_ZUMA_REV_ID: 33f94b7fc9a74aa9198454febe26089127b18b67
edgetpu: remove ZEBU_SYSMMU_WORKAROUND
DAR_TO_ZUMA_REV_ID: ae9c4d242add31f4ae199a08250ba700ba0aba46
gcip: Remove mailbox param from the release_async_resp_data callback
Bug: 239804137
gcip: Add release_data callback to the gcip_mailbox_async_response
Bug: 239804137 (repeat)
GCIP_HEADERS_TO_ZUMA_REV_ID: a571bc84974892acb59c65d84ff863836b56da78
edgetpu: move TPU timestamp read function to common
edgetpu: rio: use 7 VII mailboxes
edgetpu: allow a subset of potential VII mailboxes to be used for VII
Bug: 235693240
DAR_TO_ZUMA_REV_ID: 939ad8eef575d04eff8489fb5e823671b8a0cf65
gcip: Don't pass mailbox param when calling the release_async_resp_data callback
Bug: 239804137 (repeat)
gcip: Call release_data callback instead of ops->release_async_resp_data
Bug: 239804137 (repeat)
GCIP_MAIN_TO_ZUMA_REV_ID: 16482f20bf7b119058a9c6341674d3bc1d086e82
edgetpu: Add google,edgetpu-zuma to compatible string
DAR_TO_ZUMA_REV_ID: c9223abe7a6f68e426620d8d6426a51e17847ccf
gcip: fix typo 'timedout'
GCIP_MAIN_TO_ZUMA_REV_ID: 479d58bf71ba9849b839205025b866b7d6ff6ab9
gcip: fix typo in gcip-mailbox.h
gcip: fix various typos
GCIP_HEADERS_TO_ZUMA_REV_ID: 57d2d3ca35e9b8ef3e14317f9f8514a9410a5931
GitOrigin-RevId: 1581f74b37831470dbebf10e5738aee242ed6519
Change-Id: I4516723d6aaabfde45133b90488518a21a0374c1
|
|
edgetpu: Update instruction remap region to 32MB.
DAR_TO_ZUMA_REV_ID: 4f4be2c549b881d54bd7d86cc80cf6e7da1150a4
GitOrigin-RevId: f4f513b673c033101200cb3427ecb0e80767f029
Change-Id: Iaf549c0a033e98ed814c27ed1f5ec1376bc4163f
|
|
Remove unnecessary include files.
DAR_TO_ZUMA_REV_ID: e96321aecdc41ce9220f1d599aa0050616462340
edgetpu: Kbuild: Add missing gcip object
edgetpu: Apply LPM patch for rio
edgetpu: Adopt gcip-firmware.h
edgetpu: Adopt KCI codes of GCIP
edgetpu: check mobile firmware header magic, warn if mismatch
DAR_TO_ZUMA_REV_ID: e96321aecdc41ce9220f1d599aa0050616462340
gcip: Implement gcip-firmware.c
Also remove gcip-unit.
GCIP_MAIN_TO_ZUMA_REV_ID: 6b9b2ec6131fe87aaed37c0fd1ed0944cfa738df
gcip: Fix reverse KCI codes
gcip: Introduce gcip-firmware.h
gcip: add gcip_mem_pool_offset
Also remove gcip-unit.
GCIP_HEADERS_TO_ZUMA_REV_ID: c963f6bd7f3bc2601dd7dcd4816d92bcf8ffe4b6
gcip: Add KCI codes
gcip-unit: add kernel module param file open helper
gcip: Remove the variables of gcip-kci.h which are moved to gcip-mailbox.h
gcip: Add mailbox related structures and functions (gcip-mailbox.h)
gcip: Add getters for gcip_kci
gcip: Make gcip_kci_push_cmd static
gcip-unit: helper: Add missing kunit inclusion
gcip: add gcip memory pool
gcip: Add KCI related structures and functions
gcip: Add mailbox macro and enum
gcip-unit: mock: Add `devm_iounmap` to the io.h
gcip-unit: helper: Merge fake-csr.h into the GCIP
gcip-unit: factory: Add fake firmware work factory header
gcip-unit: factory: Add fake device factory header
gcip-unit: Add a mock function of "warn_slowpath_fmt"
gcip: Add circular queue mailbox helper functions
gcip-unit: Merge factory headers from DSP
gcip-unit: Merge helper headers from DSP
gcip: add linux/acpm_dvfs.h
gcip-unit: add gcip-unit/helper/
gcip-unit: add linux/{firmware,io,pci}.h
gcip-unit: add kunit/{ext,test}.h
.clang-format: Set ColumnLimit to 100
.clang-format: Add .clang-format from Linux 5.15
.gitignore: Add .gitignore from Linux 5.15
gcip: Free arrived or timedout, but not handled async_resp
gcip: Set base_paddr of gcip_mem_pool
gcip-unit: add kernel module param file open helper
gcip: Adopt gcip-mailbox to gcip-kci
gcip: Implement the generalized mailbox (gcip-mailbox.c)
gcip: Add unittests for the getters of gcip_kci
gcip: Make gcip_kci_push_cmd static
gcip: unittests: add gcip-mem-pool-test
gcip: implement gcip-mem-pool
gcip: unittests: Fix consume_wait_list test
gcip: unittests: Add KCI unittests
gcip-unit: lib: Enable GCIP support
gcip: Add KCI support
gcip-unit: factory: Add fake firmware work factory
gcip-unit: factory: Add fake device factory
gcip-unit: Add prefix and postfix to the kernel warning log
gcip-unit: lib: Fix arguments of kunit.py according to the command
gcip-unit: lib: Fix testing code coverage enabled
gcip: unittests: Apply `utility.sh` to the unit test script
gcip-unit: lib: Set CONFIG_GCOV=n when code coverage is disabled
gcip-unit: lib: Merge common parts of `unittests/test.sh`
gcip: unittests: Enable unittest
gcip: unittests: Add circular queue tests
gcip: unittests: Add initial Kconfig and Makefile
gcip: Add initial Kconfig and Makefile
gcip: unittests: Fix the Kconfig for coverage
gcip-unit: Merge factory sources from DSP
gcip-unit: Merge helper sources from DSP
gcip: unittests: Add test.sh
gcip-unit: Add missing Kconfig
gcip-unit: add acpm_dvfs.c
gcip-unit: add helper functions
gcip-unit: add fake-iomem.c and pci-driver.c
gcip-unit: add kunit-ext.c
.clang-format: Set ColumnLimit to 100
.clang-format: Add .clang-format from Linux 5.15
.gitignore: Add /include
.gitignore: Add .gitignore from Linux 5.15
edgetpu: remove mobile "before remove" callback
edgetpu: remove unused MMU reset and reattach APIs
edgetpu: Kbuild: add new GCIP objects
edgetpu: add error message on partial buffer map
edgetpu: remove unused firmware_get_flavor
edgetpu: remove include of mmap_lock.h
edgetpu: remove unused platform firmware callbacks
edgetpu: dma-fence debugfs show use dma_fence_ops
edgetpu: remove KCI unmap buffer code
edgetpu: remove unnecessary overflow check in buffer map code
edgetpu: remove kci join/leave group
edgetpu: remove code for multi-device/client groups
edgetpu: remove code for mapping buffers to a specific group die
edgetpu: fix "no previous prototype" warnings on mobile-soc-gsx01.c
edgetpu: remove unneeded firmware buffer pointer variable
edgetpu: remove code for mirrored mappings
edgetpu: remove bulk dmabuf mappings
edgetpu: remove obsolete on-device mapping MMU flag
edgetpu: remove USR code
edgetpu: remove firmware bootloader, on-device, and sig verify code
edgetpu: remove code for !HAS_MULTI_GROUPS
edgetpu: remove on-device dram code
edgetpu: remove p2p code
edgetpu: remove shared firmware support
edgetpu: remove MCP code
edgetpu: remove support for external wrapper classes
edgetpu: remove darwinn-2.0 chip-specific files
edgetpu: hold mmap lock around call to find_extend_vma
edgetpu: add gsx01 SoC API for firmware prep
edgetpu: Adopt GCIP KCI
edgetpu: Adopt GCIP mailbox helper
edgetpu: unittests: Fix __alloc_pages_nodemask warning
edgetpu: reduce KCI wait timeout.
edgetpu: gitignore: ignore gcip-kernel-driver
edgetpu: remove warning about 64-bit addressing on mobile
edgetpu: mobile: deprecate the code for separate pmqos and bts request.
edgetpu: rio: send ack after PMQoS-BTS request.
edgetpu: respond to reverse KCI commands.
edgetpu: add debugfs "wakelock" power up/down control
edgetpu: add namespace import for DMA_BUF for 5.16
edgetpu: janeiro: Update debug dump mem size
edgetpu: add support for all dvfs frequencies
edgetpu: fetch hw ctx region from device tree
edgetpu: include uaccess.h for access_ok
edgetpu: cast access_ok address param to avoid type warning
edgetpu: retry buffer map read-only on EFAULT
edgetpu: update client pid on wakelock acquire
edgetpu: add new firmware metrics
edgetpu: Change debug dump logs for prod FW builds.
edgetpu: mobile: Add handler for FW checkpoint dump reason.
edgetpu: fix system out of memory locking pages log message
edgetpu: Setting LpmCoreCsr.coreNewPowerStateReq to 1 for TPU power up.
edgetpu: add edgetpu_domain_pool
edgetpu: hermosa allow loading signed firmware when auth disabled.
edgetpu: include linux thermal header
edgetpu: mobile: handle merged PM QoS and BTS RKCI req
edgetpu: Move thermal header to chip specific file
edgetpu: add logs to help diagnose out of memory during buffer mapping
edgetpu: initialise external mailbox according to power state
edgetpu: decouple mailbox alloc and set queue
edgetpu: Log dbg msg when dbg dump KCI is unimplemented in FW.
edgetpu: Allocate external mailbox without holding wakelock
edgetpu: make fs_release wakelock free
Revert "Revert "edgetpu: Balance power up count during wakelock ..."
edgetpu: janeiro: include tmu header file
Revert "edgetpu: Balance power up count during wakelock acquire"
edgetpu: Balance power up count during wakelock acquire
edgetpu: re-add bus speed block KCI
edgetpu: janeiro: declare TPU dma-coherent
edgetpu: fix iommu_map_sg return type change
edgetpu: setup SSMT on firmware restart
edgeptu: janeiro: add suspend/resume ops
edgetpu: initialize telemetry buffer size
edgetpu: change err logging during fw dbg dump buffer init
edgetpu: janeiro: extend block shutdown time
edgetpu: janeiro: Return error on failed fw ctx initialization
edgetpu: Modify wdt ref count based on mailbox activation
edgetpu: fixup comment typos
edgetpu: fix memory allocation in ext test
edgetpu: always reset CPU on power down
edgetpu: Send single kci for mboxes with the same VCID.
edgetpu: dump etdev info
edgetpu: dump client info
edgetpu: debug dump mappings with headers
edgetpu: dbg dump remove queues
edgetpu: dbg dump groups info
edgetpu: dbg dump introduce sscd context
edgetpu: define kernel info structs for debug dump
edgetpu: Set debug dump buffer in FW after handshake
edgetpu: move wakelock releasing to client put
edgetpu: rio disable S2MPU when DTS suggests
edgetpu: Remove dbg dump error msg to avoid flooding logs.
edgetpu: dbg dump debugFS return EOPNOTSUPP
edgetpu: dbg dump handle recoverable fault
edgetpu: fix wakelock order to avoid lock inversion
edgetpu: power up TPU before sending dbg dump KCI
edgetpu: add debugfs for getting dbg dump
edgetpu: map_size instead of alloc_size on dump
edgetpu: fix UAF on dumping group mappings
edgetpu: dmabuf fix potential UAF
edgetpu: hermosa notify MCP-wide thermal shutdown via kworker
edgetpu: all mobile chips support debug dump
edgetpu: mobile: share debug dump handlers
edgetpu: abrolhos: init sscd_dev in dbg dump init
edgetpu: hermosa send single-die error notifications via kworker
edgetpu: support EXT_MAILBOX on all mobile chips
edgetpu: hermosa send thermal trip alarm error to all dies on MCP
edgetpu: hermosa add iterator for each device in an MCP
edgetpu: mobile: fixups for android review comments
edgetpu: hermosa synchronous usage stats update at device group disband
edgetpu: unregister KCI irq handler
edgetpu: add h/w preempt metric
edgetpu: define and use vma offset for external test
edgetpu: fix compile failure on older linux for pin_user_pages
edgetpu: add ioctl for testing interop interface
edgetpu: do SSMT setup after firmware image loaded
edgetpu: hermosa / shared firmware auth changes from prodkernel
edgetpu: code style fixups
edgetpu: Decrease pm_refcount when pm_runtime_get_sync fails
edgetpu: janeiro set default power state to UUD
edgetpu: rio update LPM power up sequence
edgetpu: Increase trace buffer size to 256 KB
edgetpu: Split EDGETPU_TELEMETRY_{LOG,TRACE}_BUFFER_SIZE
edgetpu: Calculate wrap bit by buffer size
edgetpu: thermal update call no longer available at 5.12
edgetpu: retry shutdown on GSA error response
Revert "edgetpu: janeiro: temporarily disable external interface"
edgetpu: janeiro: update mbox manager to support aoc
edgetpu: janeiro: Add LPM recovery mechanism
edgetpu: ensure TPU is completely off
edgetpu: hermosa: fix firmware verification error path
edgetpu: janeiro: temporarily disable external interface
edgetpu: add a mobile thermal module
edgetpu: support memory for f/w context switch
edgetpu: abrolhos: add bus speed block KCI
edgetpu: fix mobile pm variables scope
edgetpu: Show mappings for every telemetry
edgetpu: Support mmapping different buffers
edgetpu: Introduce VMA_TYPE_WIDTH
edgetpu: Set/unset event on every telemetry
edgetpu: Check every telemetry when receiving irq
edgetpu: Use telemetry[0] for telemetry_kci
edgetpu: Initiate telemetry based on etdev->num_cores
edgetpu: Add missing #if CONFIG_EDGETPU_TELEMETRY_TRACE
edgetpu: Add num_cores to struct edgetpu_dev
edgetpu: Add detail clk debugfs
edgetpu: janeiro: fix frequency values
edgetpu: change interop interface
edgetpu: remove unnecessary explicit inclusions
edgetpu: move mobile headers out from unittests/
edgetpu: add include/ to the include path
edgetpu: fix Kbuild inclusion path
edgetpu: remove fault handlers for linux < 5.3
edgetpu: janeiro remove compat. code for shareability
edgetpu: rio set shareability in after_probe
edgetpu: janeiro set shareability in after probe
edgetpu: janeiro: Add TPU_OFF
edgetpu: set first_open to false for external mailbox
edgetpu: Put sscoredump features behind config flag
edgetpu: rio import drivers
Revert "edgetpu: remove edgetpu_unregister_irq"
edgetpu: implement commands for interop
edgetpu: fix up header inclusions
edgetpu: abrolhos use common mobile interface
edgetpu: janeiro use common mobile interface
edgetpu: add edgetpu-mobile-platform.c
edgetpu: add interface to interop with TPU
edgetpu: janeiro use IRQ array in mobile dev
edgetpu: remove edgetpu_unregister_irq
edgetpu: mobile add IRQ fields to platform_dev
edgetpu: support predefined KCI timeout
edgetpu: mobile cpu reset according to #cores
edgetpu: config add EDGETPU_NUM_CORES
edgetpu: clearer config selection
edgetpu: mobile firmware fix typos
edgetpu: abrolhos: use get/put_device on gsa_dev
edgetpu: fix firmware load at different priv level
edgetpu: fix returning/check correct status of errors
edgetpu: janeiro: add GSA device
edgetpu: janeiro: setup SSMT if GSA is available
edgetpu: merge mobile firmware code
edgetpu: merge mobile PM code
edgetpu: move number of contexts to chip configs
edgetpu: fix potential KP on device probing
edgetpu: janeiro: disable SSMT temporarily
edgetpu: Reset dump memory after handling dump.
edgetpu: abrolhos: Collect host side debug dump segments.
edgetpu: Sync debug dump contract with FW
edgetpu: restrict printing a couple of kernel and physical addresses
edgetpu: use %# instead of 0x% for hex printks
edgetpu: use __s32 for int fd field of dma-buf map ioctl
edgetpu: fix UAF in edgetpu_device_group_map
edgetpu: hermosa fix out of tree build for shared firmware
edgetpu: hermosa add support for firmware signature checks
edgetpu: add physical address field to coherent memory
edgetpu: abrolhos avoid thermal update call no longer available at 5.12
edgetpu: fix invalid wait context
edgetpu: janeiro: set up SSMT registers
edgetpu: janeiro: Only poll for blk status after shutdown
edgeptu: abrolhos: fix out-of-tree build
edgetpu: thermal: tmu: add tpu pause/resume feature
edgetpu: abrolhos: dummy gs101_tmu.h header for building unit tests
edgetpu: add sysfs groups attr
edgetpu: abrolhos thermal code style fixups
edgetpu: add user_vote for user space request TPU throttling
edgetpu: abrolhos fail firmware run on GSA fails
edgetpu: debugfs mappings improvements
edgetpu: use pin_user_pages, alloc own vma struct pointers array
edgetpu: abrolhos disable ext mbox on client remove
edgetpu: don't fail mbox deactivation on KCI fails
edgetpu: abrolhos enable mbox before secure client
edgetpu: add group id to sysfs clients attr, fix output
edgetpu: janeiro: fix firmware header mappings
edgetpu: mobile guard bcl inclusion with KCONFIG
edgetpu: janeiro remove obsolete TODO
edgetpu: use kvmalloc for pages array
edgetpu: janeiro: Stability fix in blk pwr control
edgetpu: add support for multiple interfaces
edgetpu: restrict debugfs statusregs file to non-mobile chipsets
edgetpu: abrolhos: expose thermal suspend/resume
edgetpu: add support to create coherent/non-coherent mapping
edgetpu: add sysfs attr clients to dump client and wakelock state
edgetpu: janeiro: fix device cleanup sequence
edgetpu: add support to track device removal
edgetpu: PM log clients holding TPU wakelocks at suspend reject time
edgetpu: add list of clients per device
edgetpu: rename group client list fields and iterators
edgetpu: abrolhos remove obsolete DT binding
edgetpu: cleanup host DMA direction modification
edgetpu: hermosa smmu remove TODOs from comments for fw-driven SSID
edgetpu: janeiro bcl port tpu clock divider ratio
edgetpu: fix kernel paging error in edgetpu_mmu_attach_domain
edgetpu: janeiro: use DT property to configure shareability
edgetpu: remove remaining references to emulators
edgetpu: hermosa remove obsolete TODO for FPGA USR training
edgetpu: add "is a mobile style device" feature flag
edgetpu: organize objects into mobile vs. mcp groupings
edgetpu: remove ref to shared firmware header in common source
edgetpu: use only one style of shared vs. carveout fw buffer management
edgetpu: remove integer overflow check
edgetpu: janeiro: Use EDGETPU_MAILBOX_ID_USE_ASSOC
edgetpu: set first_open to true for external mailbox
edgetpu: use DIV_ROUND_UP for various page size calculations
edgetpu: shared fw remove sysfs helpers
edgetpu: shared fw remove TODO for releasing at exit
edgetpu: shared fw remove return code from init call
edgetpu: Add common interface for mobile power management
edgetpu: hermosa remove unnecessary TODO for R52 IRQ synchronous clear
edgetpu: abrolhos: Send throttling notification KCI only if TPU is on.
edgetpu: add force_reset flag when restarting firmware
Revert "edgetpu: abrolhos attempt FW restart on power down"
edgetpu: unittests: compile based on CONFIG_EDGETPU_TEST
edgetpu: janeiro: Shutdown path need to wait
edgetpu: abrolhos attempt FW restart on power down
edgetpu: KCI early leave if the device state is bad
edgetpu: check device pointer in logging functions
edgetpu: abrolhos: bcl: Renaming gs101_bcl to google_bcl
edgetpu: abrolhos: return 0 when TZ mailbox is not acquired
edgetpu: log pids when acquire fails
edgetpu: increase reverse KCI buffer size
edgetpu: abrolhos fix thermal suspend condition
edgetpu: move default firmware run and firmware_name param to common
edgetpu: create edgetpu_firmware_chip_data
edgetpu: watchdog bite when OPEN_DEVICE KCI timed out
edgetpu: remove edgetpu_chip_firmware_run
edgetpu: janeiro: fix mailbox offset calculation
edgetpu: detach mailbox when activation failed
edgetpu: reduce IOMMU fault reports severity
edgetpu: unittests: upgrade to KUnit 5.10
edgetpu: allow buffer unmapping on errored groups
edgetpu: abrolhos return actual error for throttling kci
edgetpu: handle job lockup notification from firmware
edgetpu: add API to send fatal error notifications to a specific group
edgetpu: add fatal error event for firmware-detected job timeout
edgetpu: Improve the check in edgetpu_thermal_* functions
edgetpu: Modify the log function due to thermal suspended
edgetpu: fail wakelock acquiring if suspended
edgetpu: ignore offset arg in edgetpu_map_dmabuf
edgetpu: hermosa assume single die when config not set
edgetpu: abrolhos: hook exynos acpm functions
edgetpu: janeiro: add DSP mailbox allocation
edgetpu: janeiro remove memset log/trace buffers
edgetpu: abrolhos remove memset log/trace buffers
edgetpu: update mobile SoC DT bindings
edgetpu: mapping remove WARN when release not set
edgetpu: remove reference to future chipset name in common source
edgetpu: allocate/free external mailboxes
edgetpu: add support for external mailboxes
edgetpu: KCI allocate data with iremap
edgetpu: hermosa pmu only if perf events enabled
edgetpu: hermosa increase iova base
edgetpu: fix memory leak in alloc_mapping_from_useraddr
edgetpu: ensure device powered on releasing
Revert "edgetpu: don't check mailbox_detachable on fs_release"
edgetpu: Rename ioctl struct edgetpu_ext_mailbox
edgetpu: open_device KCI with group VCID
edgetpu: allocate VCID to newly created groups
edgetpu: add partition_type to mailbox_attr
edgetpu: add edgetpu_kci_send_cmd_with_data
edgetpu: activate single mbox instead of bitmasks
edgetpu: add get_fatal_errors ioctl
edgetpu: set fatal error event codes
edgetpu: add fatal error event codes
edgetpu: remove redundant args
edgetpu: janeiro: add power management
edgetpu: janeiro scrub references to TPU CPU model
edgetpu: abrolhos scrub more TPU CPU references
edgetpu: remove some references to codenames and hardware details
edgetpu: remove some details from usage-stats comments and symbols
edgetpu: fix typo in debug dump header
edgetpu: log error when firmware load failed
edgetpu: google: use default domain when AUX disabled
edgetpu: fix edgetpu_mmu_alloc_domain memory leak
edgetpu: remove dependency on iommu_group_id
edgetpu: janeiro: use NS iommu mapping for f/w
edgetpu: fix watchdog job cancel ordering
edgetpu: don't check mailbox_detachable on fs_release
edgetpu: add dev_inaccessible field to struct group
edgetpu: hermosa remove irqreturn header from smmu
edgetpu: remove chip names from mmu.h
edgetpu: move mailbox disable out from mbox remove
edgetpu: export mailbox enable and disable functions
edgetpu: fix error checking while creating debufs dir
edgetpu: check for error after creating debugfs dir
edgetpu: hermosa check mapping error after DMA map
edgetpu: janeiro: parse fw header to create IOMMU mapping
edgetpu: dmabuf map add debug logs for diagnosing errors
edgetpu: make various usage metrics group writeable
edgetpu: hermosa remove two obsolete TODOs
edgetpu: unittest: remove obsolete bug
edgetpu: set cacheability according to device
edgetpu: add offset back to dmabuf mapping
edgetpu: refactor error handling
edgetpu: reset thread stats on write
edgetpu: abrolhos remove parsing csr-iova nodes
edgetpu: remove mapping CSRs on mmu setup
edgetpu: add corrupted log queue msg back
edgetpu: deprecate offset in edgetpu_map_dmabuf_ioctl
edgetpu: fix use-after-free Read in edgetpu_chip_acquire_ext_mailbox
edgetpu: map dmabuf ignore size argument
edgetpu: hermosa fix UAF in edgetpu_device_dram_getfd
edgetpu: abrolhos fix thermal notify null deref
edgetpu: fix UAF write on edgetpu_sync_fence_create
edgetpu: add firmware_is_loading utility
edgetpu: move etdev state change into FW run / restart
edgetpu: don't attempt FW restart on FW loading
edgetpu: add firmware_pm_get
edgetpu: abrolhos: remove power policy shutdown
edgetpu: remove obsolete reg_window from client
edgetpu: set FW status when run / restart finished
edgetpu: handle tagged pointers in edgetpu_pin_user_pages
edgetpu: swap the order of fw desc and etdev state lock
edgetpu: enhance size of mapping overflow check
edgetpu: refine user-space header documentation
edgetpu: abrolhos: Change the minimum state to UUD
edgetpu: don't signal signaled dma fence
edgetpu: hermosa use mutex for trans lock
edgetpu: fix error handling on sync_fence creation
edgetpu: remove etdev "open" field
edgetpu: don't notify runtime of potentially recoverable fw crash
edgetpu: usage counters clear on write
edgetpu: fallback to DMA_TO_DEVICE for read-only user pages
edgetpu: PM get on fs_release for non-detachable group
edgetpu: add UUD support in tpu_usage for abrolhos
edgetpu: abrolhos using GSA shutdown when p-channel fails
edgetpu: pin pages without FOLL_WRITE if user pages are read-only
edgetpu: mark group errored on fatal errors
edgetpu: introduce new group status "errored"
edgetpu: replace open/close KCI with mailbox activation
edgetpu: add mailbox activation interface
clang-format: set column limit to 100
edgetpu: using fw trylock in update usage KCI
edgetpu: use pm_trylock for usage update KCI
edgetpu: abrolhos: add kci to notify firmware about throttling.
edgetpu: add firmware launch_failed callback
edgetpu: add PM get_if_powered API
edgetpu: hold group locks when restoring VII mboxes
edgetpu: add asynchronous usage update KCI
edgetpu: reset iomux cfg on top hermosa reset
edgetpu: hermosa fix dram_used sysfs attr to display unsigned
edgetpu: hermosa SMMU page already mapped debug logs
edgetpu: modify SG length before sync
edgetpu: abrolhos: use vmalloc for firmware image
edgetpu: fix unit tests for usage stats to create valid firmware
edgetpu: KCI update usage lockout f/w state changes, abort if f/w bad
edgetpu: pin pages without FOLL_WRITE if the first try failed with EFAULT.
clang-format: add .clang-format
edgetpu: validate the circular_queue_count result
edgetpu: validate the value of tail before using it
edgetpu: add ioctl for external mailbox handshake
edgetpu: add firmware state change lockout API
edgetpu: fix group leave for dies that failed to load firmware
edgetpu: hermosa re-check smmu queue after timeout
edgetpu: fix overflow on number of pages
edgetpu: hermosa smmu leave enabled on timeout
edgetpu: hermosa smmu bump up poll timeout
edgetpu: hermosa smmu add more error logs
edgetpu: KCI print return status code on error response
edgetpu: hermosa cpu relax on SMMU queue poll
edgetpu: check edgetpu_sync_fence_signal errno
edgetpu: hermosa: expose an ioctl to report device dram usage
edgetpu: Fix error handling for unpin_user_pages
edgetpu: check DMA direction in map flags
edgetpu: use entire page for sg table allocation
edgetpu: disallow mmap buffer copies
edgetpu: introduce edgetpu_vma_type to handle mmap
edgetpu: check mailbox attached on mmap queues
edgetpu: add size check on iremap mmap
edgetpu: hermosa ignore SMMU state and release pages
edgetpu: hermosa fix memory leak on map failed
edgetpu: use num_pages for sg table allocation
edgetpu: use max function for thread stats max stack values
edgetpu: handle firmware thread stats
edgetpu: make counters stats additive
edgetpu: add firmware max watermark usage tracking
edgetpu: abrolhos: implement firmware restart handler
edgetpu: abrolhos: fix BTS scenario cleanup
edgetpu: add additional counters to usage stats
edgetpu: add firmware thread stats types to usage tracker
edgetpu: hermosa smmu translation fault logs fixups
edgetpu: add error logs for group finalize failure
edgetpu: abrolhos: fix update stats kci req on shutdown.
edgetpu: abrolhos: initialize clock divider ratios
edgetpu: janeiro: enable TPU IO coherency
edgetpu: add common sysfs watchdog_timeout_count attr
edgetpu: hermosa remove watchdog_timeout_count attr
edgetpu: remove secure IOMMU SMC
edgetpu: add optional wrapper class for validating edgetpu fds
edgetpu: hermosa scrub accel-class references from common tree
edgetpu: check file op on group join
edgetpu: restart firmware on unrecoverable fault notification
edgetpu: remove firmware crash extra_info field
edgetpu: hermosa remove MSI-based firmware crash notification
edgetpu: fix size and offset on host buffer map
edgetpu: Create common f/w interface for mobile chipsets
edgetpu: remove unbalanced unlock in group alloc
edgetpu: abrolhos fix uninit power lock
edgetpu: fixup KCI header file comments on response element
edgetpu: raise log severity of MMU setup
edgetpu: abort probe when MMU setup failed
edgetpu: protect tel is_mapped with a mutex lock
edgetpu: check size more strictly on mbox attr validation
edgetpu: save IRQ state for KCI spinlocks
edgetpu: add NOWARN flag when pinning user pages
edgetpu: janeiro don't sync f/w buffer for device
edgetpu: abrolhos: only throttle to active TPU states
edgetpu: hermosa deprecate MSI-based firmware crash notification
edgetpu: add reverse KCI handler for firmware crash events
edgetpu: KCI update response data structure comments for Reverse KCI
edgetpu: make edgetpu_usage_get_counter static
edgetpu: remove deprecated FW info KCI
edgetpu: unset all per die events on client remove
edgetpu: allow one process to mmap log/trace buffers
edgetpu: add "counters" usage stats
edgetpu: Alloc dump memory outside iremap region
edgetpu: abrolhos: add min_state debugfs entry
edgetpu: hermosa: Fix error checking and remove unnecessary checks
edgetpu: free reserved IOVA on error in edgetpu_map_iova_sgt_worker
edgetpu: janeiro enable telemetry
edgetpu: janeiro fetch fw version info
edgetpu: return EPERM for non-root full CSR mmap
edgetpu: hermosa remove unused params when allocating p2p queue memory
edgetpu: hermosa remove implicit iova reserve
edgetpu: remove ALLOCATE_DEVICE_BUFFER_COMPAT
edgetpu: hermosa unmap iova sgt by for-loop
edgetpu: hermosa use internal SMMU func for mapping
edgetpu: hermosa remove dir param on unmap
edgetpu: shorten KCI timeout for testing
edgetpu: hermosa fix potential fw download timeout
edgetpu: replace WDT modify with mode settings
edgetpu: add active and dormant mode to SW watchdog
edgetpu: clear mappings after sending leave group
edgetpu: make wakelock event warning more descriptive
edgetpu: unittests test device open
edgetpu: send OPEN KCI only if wakelock acquired
edgetpu: remove etdev state check for group join
edgetpu: remove implicit wakelock on device open
edgetpu: power on before group finalization
edgetpu: simplify edgetpu_mailbox_init_vii
edgetpu: init VII only when necessary
edgetpu: move VII init from alloc to finalize
edgetpu: add edgetpu_mailbox_validate_attr
edgetpu: add snippets for mailbox at(de)taching
edgetpu: code style fix on suspend/resume functions
edgetpu: prevent system suspend when clients are active
edgetpu: detachable VII queues
edgetpu: guard mbox queue mmap with wakelock
edgetpu: set wakelock to null on cleanup
edgetpu: APIs that bind KCI and removable mailbox
edgetpu: abrolhos: cap thermal state change requests
edgetpu: adopt new wakelock interface
edgetpu: add chip files for wakelock
edgetpu: add edgetpu-wakelock.c
edgetpu: abrolhos: do SMC on power up/down
edgetpu: hermosa EBUSY on alloc'ing the second group
edgetpu: janeiro: fix compiler warning
GKI: edgetpu: Remove unused variable *tz
edgetpu: sleep between p-channel handshake attempts
edgetpu: abrolhos: handle PM_QOS and BTS requests
edgetpu: add reverse KCI handler
edgetpu: fix memory leak in edgetpu_device_group_map
edgetpu: hermosa add warn log for Core VRHOT_L events
edgetpu: fix asynchronous utility crash
edgetpu: add warning when mmap-ing the full CSR
edgetpu: hermosa smmu fix potential memory leak on dup DMA addr
edgetpu: hermosa comment about the USR RX timer
edgetpu: add accessor function for utilization stats
edgetpu: asynchronously map sgt
edgetpu: don't update stats if device powered down
edgetpu: add DRAM used accessor function
edgetpu: hermosa Updated value for USR RX timer
edgetpu: hermosa add error message for failed peer dram map
edgetpu: only poll mailbox activity for KCI+VII mailboxes in ISR
edgetpu: hermosa set number of P2P mailboxes to 36
edgetpu: statusregs dump all P2P mailboxes
edgetpu: hermosa add dram_used sysfs attr
edgetpu: load_firmware read "[none]" if firmware is not valid
edgetpu: enable unit test for Janeiro
edgetpu: abrolhos: add missing new lines
edgetpu: update objects in Makefile
edgetpu: abrolhos: fix out-of-tree module build
edgetpu: remove unused kci_ack() function
edgetpu: report device and TPU (GCB) utilization stats
edgetpu: use usage_stats update as software watchdog ping
edgetpu: share code between Abrolhos and Janeiro
edgetpu: hermosa add tpu_usage state IDs and display speeds
edgetpu: hermosa smmu fixup error reporting for existing PTEs
edgetpu: fixup firmware info buffer setup error message
edgetpu: abrolhos: do GSA shutdown on forced power down
edgetpu: fix pchannel state support method
edgetpu: refactor edgetpu_mmap interface to avoid deadlock
edgetpu: hermosa fix usr error on group releasing
edgetpu: hermosa map dmabuf with unaligned size
edgetpu: remove dma_addrs from dmabuf map entry
edgetpu: add shrunk_sgt to dmabuf entry
edgetpu: remove IOVMM workaround
edgetpu: implement mmu_tpu_map_sgt
edgetpu: mmu add edgetpu_mmu_tpu_map_sgt
Revert "edgetpu: abrolhos: disable thermal throttling as workaround"
Revert "edgetpu: abrolhos thermal remove unused var pwr_state"
edgetpu: add janeiro in build configs
edgetpu: use better defines to select right code
edgetpu: add janeiro in configs
edgetpu: add janeiro base files
edgetpu: tpu_usage_add take struct tpu_usage as parameter
edgetpu: set ctx to domain token when mbox detached
edgetpu: abrolhos get domain by context ID
edgetpu: abrolhos support iommu token
edgetpu: introduce token to edgetpu iommu domain
edgetpu: hermosa map BAR2 as WC
edgetpu: abrolhos fix mmu attach
edgetpu: abrolhos fix mmu_attach potential mem leak
edgetpu: hermosa SMMU handle error and event notification MSIs
edgetpu: use pin_user_pages_fast
edgetpu: add mm-backport.h
edgetpu: hermosa restart firmware on firmware watchdog timeout
edgetpu: add API for immediate watchdog bite
edgetpu: replace groups array with list
edgetpu: hermosa use reset_needed flag to choose p-channel reset
edgetpu: add flag requesting full chip reset
edgetpu: make edgetpu_debug_dump_work static
edgetpu: process usage stats from firmware
edgetpu: Create a sysfs for usage stats
edgetpu: abrolhos: Handles debug dump in a work queue
edgetpu: abrolhos: Sets up infrastructure to get dump information
edgetpu: hermosa smmu drop Gerror handling for CMD_SYNC
edgetpu: hermosa smmu fix irq poll interval to 5 seconds
edgetpu: added config-specific debug dump functions
edgetpu: KCI usage stats retrieve fix error check
edgetpu: abrolhos rename edgetpu_platform_dev
edgetpu: hermosa rename to hermosa-p2p-mailbox.c
edgetpu: abrolhos update usage stats before power off firmware
edgetpu: don't report transient P-channel state change errors
edgetpu: abrolhos clean up lint errors in thermal.c
edgetpu: hermosa use P-channel reset when test fw running
edgetpu: usage tracker fetch from firmware via KCI
edgetpu: abrolhos: modify cooling device return value
edgetpu: remove two obsolete TODOs
edgetpu: move uncommon status register under chipsets
edgetpu: abrolhos: return state index in power2state
edgetpu: explicitly reserve IOVA before mapping to SGT
edgetpu: detach mailbox on wakelock releasing
edgetpu: process log/trace data in a kworker
edgetpu: abrolhos: increase timeout for p-channel handshake
edgetpu: abrolhos: check firmware image matches carveout
edgetpu: check group in VII IRQ handler
edgetpu: check finalized on detach/attach
edgetpu: abrolhos dma_unmap when domain invalid
edgetpu: implement group attach/detach mailbox
edgetpu: pull out kci open/close device
edgetpu: use priority to imply detachable-ness
edgetpu: mailbox_remove_vii() work without mailbox
edgetpu: make edgetpu_mailbox_reinit_vii() public
edgetpu: func to check group has mailbox detached
edgetpu: hermosa alloc IOVA aligned to DMA length
edgetpu: hermosa pull out map iova to sgt
edgetpu: abrolhos thermal remove unused var pwr_state
edgetpu: iremap only mark mmap'ed memory uncached on x86
edgetpu: fix up IOMMU_PASID_INVALID in mailbox code for older kernels
edgetpu: fetch group context ID with lock
edgetpu: client leave group on domain attach fail
edgetpu: hermosa conditional reschedule after wait bootloader ready
edgetpu: retry p-channel handshake when PACTIVE is unavailable
edgetpu: abrolhos: stop KCI worker before forced shutdown
edgetpu: designate ID for VII mailbox
edgetpu: abrolhos static etdomain on aux unsupported
edgetpu: alloc/attach MMU domain on group alloc
edgetpu: hermosa define IOMMU_PASID_INVALID for older kernels
edgetpu: abrolhos remove deprecated domain field
edgetpu: hermosa add another resched point to firmware load
edgetpu: abrolhos: disable thermal throttling as workaround
edgetpu: hermosa handle USR error MSIX
edgetpu: hermosa add USR deinit logic on device group disband
edgetpu: abrolhos pull out default domain init
edgetpu: define mmu_domain interfaces
edgetpu: remove etdev from edgetpu_init_etdomain
edgetpu: abrolhos: use PACTIVE polling in P-Channel handshake
edgetpu: remove delay on firmware boot up
edgetpu: abrolhos: move KCI related memory to remapped DRAM
edgetpu: hermosa smmu poll events and errors less frequently
edgetpu: hermosa: update USR link init
edgetpu: hermosa fw load/SMMU context remove add conditional resched
edgetpu: add reserved bytes to debug dump setup
edgetpu: hermosa handle thermal trip alarm interrupts
edgetpu: add firmware debug dump support
edgetpu: add ioctl to retrieve TPU timestamp
edgetpu: hermosa allow resched after BL1 bootloader run
edgetpu: hermosa smmu convert some WARN_ONs to driver warning logs
edgetpu: hermosa add die serial number sysfs attr
edgetpu: cleanup *_COMPAT ioctls
edgetpu: add negative value to change enum storage type
edgetpu: hermosa fix wrong type of pte
edgetpu: send OPEN_DEVICE KCI on restoring VII
edgetpu: remove MCP membership verification check
edgetpu: ensure etdev state is good on group leave
edgetpu: fix memory leak on edgetpu clients
edgetpu: hermosa remove tlb sync from smmu_unmap
edgetpu: use bit encoded param for open/close KCI
edgetpu: add accessor for firmware name
edgetpu: hermosa send fatal error event on firmware crash
edgetpu: add device job count field
edgetpu: hermosa use partial reset to load test firmware
edgetpu: add accessors for firmware build CL and timestamp
edgetpu: hermosa update fw version after recursive BL1 run
edgetpu: retrieve build CL and timestamp from firmware via KCI
edgetpu: unittests abrolhos power up and down
edgetpu: unittests test pchannel handshake
edgetpu: Add unit tests for abrolhos firmware load
edgetpu: pin user pages before holding locks
edgetpu: remove edgetpu_ioctl_check_group
edgetpu: dmabuf ioctls accept client as param
edgetpu: abrolhos ignore return value of OPEN_DEVICE
edgetpu: multi ioctl handlers accept client param
edgetpu: ioctl (un)set eventfd accept client as param
edgetpu: hermosa smmu use preemptible sleep for command queue poll
edgetpu: hermosa add empty firmware launch_complete callback
edgetpu: add launch_complete firmware callback
edgetpu: ioctl_(un)map_buffer accept client as param
edgetpu: rename edgetpu-direct to edgetpu-fs
edgetpu: rename edgetpu_dev in edgetpu-direct.c
edgetpu: ioctl rename etdirect
edgetpu: add firmware_version sysfs attr
edgetpu: hermosa fix warning on unused var in SMMU driver
edgetpu: hermosa report firmware version in debug log
edgetpu: abrolhos send open/close KCI
edgetpu: add open/close device KCI
edgetpu: abrolhos add force flag to pm_shutdown
edgetpu: add flag to disable SW watchdog
edgetpu: hermosa SMMU driver add preemption points
edgetpu: set dmesg log level for firmware to error messages only
edgetpu: abrolhos: change power down failure handling
edgetpu: hermosa move SMMU page tables to host when run test fw
edgetpu: hermosa fallback to partial reset if pchannel fails
edgetpu: remove EDGETPU_CREATE_GROUP_COMPAT_2
edgetpu: abrolhos fetch firmware version numbers
edgetpu: hermosa add p-channel reset support
edgetpu: add missing "static" keyword to ioctl
edgetpu: hermosa fetch version info from FW header
edgetpu: hermosa pull structures from config-firmware.h
edgetpu: add firmware version ioctl handler
edgetpu: remove EDGETPU_CREATE_GROUP_COMPAT
edgetpu: allow connection to edgetpu fops from wrapper drivers
edgetpu: hermosa mirror device DRAM to host DRAM
edgetpu: hermosa smmu handle failure to map DMA addr to KVA
edgetpu: hermosa: fix build warning on hermosa-dram
edgetpu: hermosa: fix genpool_algo_t for kernel 4.19
edgetpu: abrolhos: clear log/trace buffers on f/w start
edgetpu: abrolhos: update IOMMU fault handler for kernel >= 5.3
edgetpu: hermosa remove ARM_LPAE_PTE_SW_SYNC bit
edgetpu: notify fatal error on sw watchdog bite
edgetpu: hermosa align DRAM/IOVA allocations to 2MB
edgetpu: modify existing ioctl r/w definitions
Revert "edgetpu: modify existing ioctl r/w definitions"
edgetpu: modify existing ioctl r/w definitions
edgetpu: hermosa count DRAM ECC error events
edgetpu: hermosa count firmware watchdog timeout events
edgetpu: hermosa count thermal stage2 trip GCB shutdown events
edgetpu: hermosa add new MSI definitions
edgetpu: hermosa convert LVTS sensor values to degrees mC
edgetpu: improve queue index increment helpers
edgetpu: fetch one response in KCI IRQ handler
edgetpu: temporarily disable "log corrupted" message
edgetpu: hermosa print driver git SHA at init
edgetpu: abrolhos: print git SHA on driver load
edgetpu: fix firmware restart with BL1
edgetpu: hermosa fix returned type of unmap
edgetpu: hermosa identify throttle values as raw sensor values
edgetpu: hermosa add sysfs firmware_crash_count attribute
edgetpu: hermosa add throttle_count sysfs attr
edgetpu: hermosa count under/over-voltage alarms
edgetpu: hermosa don't reset device at module load if bootloader ready
edgetpu: hermosa: return ENODEV on no MCP found
edgetpu: remove obsolete TODOs
edgetpu: enable compiler warning for unit-tests
edgetpu: dump PC registers in debugFS
edgetpu: hermosa add under/over-voltage error counters
edgetpu: hermosa print max temperature on throttle start/stop
edgetpu: increase size of telemetry buffers to 64K
edgetpu: support PBHA bits for host DRAM mappings
edgetpu: re-apply changes from bad merge
edgetpu: hermosa alloc dev DRAM for FW before MMU
edgetpu: abrolhos: set up SSMT registers
edgetpu: abrolhos: load firmware through GSA
edgetpu: Check device power state on wdt timeout
edgetpu: hermosa use device DRAM page tables
edgetpu: add API to ask MMU using device DRAM
edgetpu: hermosa resume translations in reattach()
edgetpu: hermosa record mappings under KCI ctx
edgetpu: hermosa move SSID conversion to internal functions
edgetpu: notify runtime about fatal errors
edgetpu: fix CSR map count format specifiers
edgetpu: fix vm_pgoff dbg print format specifier
edgetpu: stop watchdog on device power down
edgetpu: add locking on edgetpu-pm
edgetpu: add IOCTLs to control firmware power state
edgetpu: call group_leave for in-group clients
edgetpu: hermosa move telemetry init to edgetpu_chip_init
edgetpu: add warning on telemetry KCI failure
edgetpu: hermosa add on_destroy flag on device reset
edgetpu: hermosa SMMU use IO RW to access page tables
edgetpu: abrolhos: Set up thermal auto-binding
edgetpu: add support to watchdog firmware
edgetpu: schedule workqueue for watchdog bite.
edgetpu: allow group operations after failed firmware run
edgetpu: hermosa add SMMU PMU support
edgetpu: abrolhos: check return value of iommu_aux
edgetpu: abrolhos: added support for SSCD
edgetpu: abrolhos: Improve set_cooling_state
edgetpu: remove struct edgetpu_trace_entry_header
edgetpu: add untimely group leave support
edgetpu: add support for device states.
edgetpu: hermosa: update USR init sequence
edgetpu: hermosa turn off PLL_MUX for gcb_core_ck at reset
edgetpu: hermosa: disable USR IRQ on init
edgetpu: fix compile warnings in edgetpu-async when W=1
edgetpu: abrolhos: Fix get_curstate callback
edgetpu: verify MCP membership of dies
edgetpu: hermosa add stage 2 firmware path to module info
edgetpu: remove bypass field
edgetpu: hermosa: remove bypass SysFS attribute
edgetpu: remove the limitation on queue sizes
edgetpu: add sizeof cmd/resp fields on group creation
edgetpu: add s/w watchdog support
edgetpu: Add asm/pgtable_types.h to fix compilation bug
edgetpu: use chip-specific firmware IOVA
edgetpu: abrolhos: add abrolhos-iommu to Kbuild
edgetpu: abrolhos: slightly refactor IOMMU domain init
edgetpu: hermosa add TPU firmware crash handler, log message
edgetpu: abrolhos: fix power-down sequence on rmmod
edgetpu: abrolhos: fix default power state
edgetpu: fix compile error on missing pr_warn on x86
edgetpu: set FW_VALID status when f/w load succeeds
edgetpu: use pgprot_writecombine on edgetpu_iremap_mmap
edgetpu: hermosa add handlers and logs for voltage and thermal events
edgetpu: abrolhos: move mailbox queues to remapped DRAM
edgetpu: report firmware type in sysfs
edgetpu: add tpu_core power debug interface
edgetpu: Better get/put_sync usage
edgetpu: Switch from DVFS_PROD_TPU to DVFS_TPU
edgetpu: query firmware flavor at load time
edgetpu: hermosa: Use irq to determine handler
edgetpu: add kci command send function that returns the whole response
edgetpu: refactor KCI command calls
edgetpu: hermosa fix compile warnings in hermosa-firmware when W=1
edgetpu: abrolhos fix compiler warnings in abrolhos-thermal when W=1
edgetpu: Set compiler warning level to W=1
edgetpu: fix compiler warnings (W=1)
edgetpu: abrolhos: fix uninitialized policy_lock
edgetpu: use for_each_async_job in mcp_run_default_firmware
edgetpu: abrolhos: rename edgetpu-thermal to abrolhos-
edgetpu: abrolhos: non-writable power apb and uart
edgetpu: abrolhos: select CONFIG_PM
edgetpu: set -ENODEV instead of NULL in mcp_probe_fail
edgetpu: add macro for_each_async_job
edgetpu: mode 0440 for non-writable debug files
edgetpu: hermosa add param for default f/w path
edgetpu: remove open enable/disable flag
edgetpu: disallow firmware load only if device is in a group
edgetpu: add group join lockout flag
edgetpu: add function to check if device is in any group
edgetpu: Store the commit SHA in the GIT_REPO_TAG macro
edgetpu: Add etdev to mcp list after assigning ID.
edgetpu: abrolhos: move log buffer to instruction remap region
edgetpu: remove USR train of the last and first die
edgetpu: add a space when show dma fence info
edgetpu: fix refcount leak in sync_fence_status
edgetpu: add required DMA fence ops on earlier kernels
edgetpu: check the contiguity of die indexes
edgetpu: remove __init, __exit decorators from edgetpu-mcp
edgetpu: fix wrong nents for releasing pages
edgetpu: select appropriate seqno format in sync_fence_signal
edgetpu: hermosa smmu replace WARN with simple log on unmap PTE not set
edgetpu: sync KCI command struct definition with firmware
edgetpu: abrolhos fix wrongly calculate size of SGT
edgetpu: use unmap_dmabuf in unmap_bulk_dmabuf
edgetpu: Record git-SHA id and repo state
edgetpu: debugFS dump for bulk dmabuf mappings
edgetpu: hermosa run BL1 only if fw image executes from device DRAM
edgetpu: hermosa firmware refactor boot record handling
edgetpu: add dma sync fence status retrieval ioctl
edgetpu: allow signal dma sync fence from any driver not just edgetpu
edgetpu: ioctl handlers for bulk dmabuf mappings
edgetpu: implement edgetpu bulk dmabuf mapping
edgetpu: declare dmabuf array in edgetpu_dmabuf_map
edgetpu: add ioctl interface for bulk dmabuf map
edgetpu: power down USR before training
edgetpu: train USR links on group finalization
edgetpu: abrolhos: defer initial firmware run
edgetpu: abrolhos: map firmware carveout uncached
edgetpu: dma sync fence split out ioctl param handling
edgetpu: add power management for abrolhos
edgetpu: clear and enable doorbells on kci re-init
edgetpu: fix ordering in edgetpu_device_remove
edgetpu: rename mailbox release_mgr to remove_all
edgetpu: fix parameter for logging in smmu.c
edgetpu: refine some debug messages
edgetpu: remove DMA_SHARED_BUFFER from docs
edgetpu: add optional error status when signalling a sync fence
edgetpu: add debugfs dump of sync fences
edgetpu: deal with compiler warnings
edgetpu: fix Makefile for Android kernel build
edgetpu: add ioctls to create and signal DMA sync fences
edgetpu: rename edgetpu-map-dmabuf.* to edgetpu-dmabuf.*
edgetpu: add KCI shutdown command
edgetpu: hermosa invoke logdump or mbox handlers only for pending reqs.
edgetpu: sync with maran kernel
edgetpu: revert "USR disable ignore tactive"
edgetpu: rename firmware log/trace functions
edgetpu: add debug logs for mailbox response interrupts
edgetpu: pass attrs to dma_unmap_sg
edgetpu: add skip sync to edgetpu_map_ioctl.flags
edgetpu: remove EDGETPU_UNMAP_BUFFER_COMPAT
edgetpu: hermosa load fw to device DRAM based on image header
edgetpu: remove dma_buf_ops .map field at Linux 5.6
edgetpu: rename internal function pin_user_pages to avoid conflict
edgetpu: log with ratelimited in telemetry IRQ handlers
edgetpu: abrolhos read all mailbox doorbells in one read
edgetpu: move driver from misc/edgetpu
misc: edgetpu: remove misc class support
misc: edgetpu: init device DRAM and telemetry before chip init
misc: edgetpu: add firmware flags
misc: edgetpu: hermosa run BL1 second-stage bootloader
misc: edgetpu: hermosa support 2-stage bootloader
misc: edgetpu: hermosa shared firmware fix NULL device name in logs
misc: edgetpu: hermosa use edgetpu_chip_firmware_run
misc: edgetpu: abrolhos use edgetpu_chip_firmware_run
misc: edgetpu: add chip-specific API for top-level firmware run
misc: edgetpu: hermosa include I2C-S reset along with hermosa reset
misc: edgetpu: hermosa move firmware retry symbols to config-firmware.h
misc: edgetpu: add etdev_warn_once
misc: edgetpu: fix uninitialized ref in firmware run
misc: edgetpu: unittests: test USR settings
misc: edgetpu: init USR with efuse values
misc: edgetpu: hermosa read USR params from efuse
misc: edgetpu: prefix EDGETPU_FPGA with CONFIG_
misc: edgetpu: Added defines for DMA directions.
misc: edgetpu: pull out sysfs firmware name parser
misc: edgetpu: edgeptu firmware supports shared buffer management
misc: edgetpu: unittests: shared firmware management
misc: edgetpu: shared firmware management
misc: edgetpu: hermosa add if-guard to efuse settings
misc: edgetpu: mark user pages as writeable
misc: edgetpu: allow log buffer mapping with no group
misc: edgetpu: add wait_list check in KCI release
misc: edgetpu: add support for DMABUF_SYNC_IOCTL
misc: edgetpu: fix write permission for user pages
misc: edgetpu: fix p2p PCIe access with IOMMU on
misc: edgetpu: hermosa Configure AXI QoS priority level for the MMU to 4
misc: edgetpu: hermosa fix chip reset sequence
misc: edgetpu: unittests: device attribute helpers with permission suffix
misc: edgetpu: unittests: driver attribute helpers
misc: edgetpu: hermosa logging updates
misc: edgetpu: common log updates
misc: edgetpu: add etdev_* macros for device logs
misc: edgetpu: hermosa smmu bail out quicker on CMD_SYNC timeout
misc: edgetpu: destroy edgetpu_firmware on test end
misc: edgetpu: set MCP ID to the first non-full MCP
misc: edgetpu: firmware move create call to chip init function
misc: edgetpu: unittests: hermosa add dram testcases
misc: edgetpu: hermosa add DRAM show mapping
misc: edgetpu: rename edgetpu class char device field
misc: edgetpu: move chip init call to core, move dev add earlier
misc: edgetpu: hermosa remove unneeded interfaces
misc: edgetpu: hermosa move scope of DRAM FD to client
misc: edgetpu: use existing device names for new class and devices
misc: edgetpu: hermosa attempt remove old f/w SMMU mapping even if error
misc: edgetpu: hermosa set SMMU GBPA abort on disable
misc: edgetpu: hermosa print bad value of multi-die field
misc: edgetpu: hermosa SMMU detect blocked read on EVTQ
misc: edgetpu: hermosa report unexpected bootloader status as signed
misc: edgetpu: also register as a char device
misc: edgetpu: drop default client/group in edgetpu-direct
misc: edgetpu: unittests: map Hermosa DRAM to another group
misc: edgetpu: move debugfs handling to dev layer
misc: edgetpu: add dev init and exit calls
misc: edgetpu: remove deprecated EDGETPU_MAP_DEVICE_BUFFER
misc: edgetpu: Add tracing for memory mapping operations
misc: edgetpu: hermosa add DRAM dma-buf sharing
misc: edgetpu: skip already-claimed misc device minors
misc: edgetpu: abrolhos: fix compiler warnings
misc: edgetpu: switch misc device minor base to 150
misc: edgetpu: async KCI join and leave group
misc: edgetpu: unittests: test default FW are loaded by MCP
misc: edgetpu: asynchronously run default FW
misc: edgetpu: claim static misc device minor numbers
misc: edgetpu: switch default to silicon build, not FPGA
misc: edgetpu: unittests: test edgetpu-async
misc: edgetpu: implement asynchronous job manager
misc: edgetpu: hermosa add dram init flag to boot record
misc: edgetpu: fix USR broken after FW reloading
misc: edgetpu: fix mismatch prototype of dram_alloc and free
misc: edgetpu: hermosa fix race clearing DRAM init flag
misc: edgetpu: abrolhos: duplicate SG before the Exynos workaround
misc: edgetpu: fix incorrectly calc nents in sync
misc: edgetpu: workaround for mapping Exynos ION-based dma-buf
misc: edgetpu: hermosa forward traffic for bypassed dies
misc: edgetpu: hermosa add firmware images in DRAM
misc: edgetpu: hermosa implement internal device DRAM alloc API
misc: edgetpu: add internal device DRAM allocation API definition
misc: edgetpu: add generic support for firmware images in device DRAM
misc: edgetpu: hermosa keep track of whether BL1 has init'ed DRAM
misc: edgetpu: hermosa don't reset r52 if bootloader already ready
misc: edgetpu: implement pair wise USR initialization
misc: edgetpu: fix typo in comment in mailbox doorbell enable
misc: edgetpu: hermosa add BL1 bootstatus codes to download handling
misc: edgetpu: enable mailbox command doorbell at mailbox init time
misc: edgetpu: hermosa fix MSI count
misc: edgetpu: unittests: register empty pci driver implementation
misc: edgetpu: add "firmware flavor" KCI inquiry command code
misc: edgetpu: hermosa add secondary bootloader MSIs
misc: edgetpu: hermosa add secondary bootloader boot status values
misc: edgetpu: remove the delay on R52 reset
misc: edgetpu: hermosa DRAM static map fixups
misc: edgetpu: hermosa fix DRAM static map size
misc: edgetpu: add missing CRC field to telemetry
misc: edgetpu: hermosa set max DRAM size below ECC region
misc: edgetpu: implement edgetpu_mcp_each
misc: edgetpu: add missing hermosa-mcp.o to Kbuild
misc: edgetpu: unittests: add hermosa-mcp-test.c
misc: edgetpu: add MCP driver
misc: edgetpu: hermosa reset USR at chip reset time
misc: edgetpu: add IOVA reserve for host dram mapping
misc: edgetpu: unittests: add permission checks
misc: edgetpu: hermosa R52/GCB_CTL reset fixes for DDR reset
misc: edgetpu: remove setting default group when mmap
misc: edgetpu: hermosa set CPU_PLL to 300MHz before run firmware
misc: edgetpu: fix undefined methods in Abrolhos
misc: edgetpu: sync with maran
misc: edgetpu: fix cleanup in device add function
misc: edgetpu: change prototype of entry_set_dma_addrs
misc: edgetpu: rename abrolhos specific files
misc: edgetpu: hermosa add support for DRAM ECC enable
misc: edgetpu: set P2P queue size to 1
misc: edgetpu: deprecate EDGETPU_MAP_DEVICE_BUFFER
misc: edgetpu: fix unit-tests failed with config FPGA
misc: edgetpu: hermosa fix wait for bootloader ready on HAPS
misc: edgetpu: hermosa: fix bypass bits of InterdieControl CSR
misc: edgetpu: allow mmap full CSR on a bypassed die
misc: edgetpu: hermosa smmu reject new requests once seen unresponsive
misc: edgetpu: lower KCI timeout for silicon
misc: edgetpu: hermosa smmu debug log fixups
misc: edgetpu: teardown mmu/dma mapping allocated in edgetpu/hermosa-firmware
misc: edgetpu: unmap node report ALL_DIES as -1 not unsigned
misc: edgetpu: hermosa fix mesh bus CSR offsets
misc: edgetpu: show dma addr array of dma-buf
misc: edgetpu: unittests: map dma-buf without IOMMU
misc: edgetpu: map dma-buf without an external IOMMU
misc: edgetpu: dump P2P queue addresses
misc: edgetpu: add device group debug logs
misc: edgetpu: fix first probe failure
misc: edgetpu: update VII response queue element size
misc: edgetpu: explicitly disable unused P2P mailbox
misc: edgetpu: remove TODO of b/147396867
misc: edgetpu: HACK: sleep after Hermosa reset r52
misc: edgetpu: unittests: modify tests related to IOMMU_DMA
misc: edgetpu: unittests: add DMA direct support
misc: edgetpu: change base address of Hermosa IOVA region
misc: edgetpu: hermosa smmu avoid soft lockups on unresponsive smmu
misc: edgetpu: add trace config to Kbuild
misc: edgetpu: remove GFP_DMA for firmware buffer
misc: edgetpu: hermosa wait reset GCB_CTL/R52 done before access SMMU
misc: edgetpu: unittests: permission check in translation lookup
misc: edgetpu: unittests: bypass faulty die
misc: edgetpu: hermosa set ringBypass
misc: edgetpu: add edgetpu_chip_bypassed
misc: edgetpu: remove edgetpu-vn
misc: edgetpu: unittests: move files from factory to helper
misc: edgetpu: add EDGETPU_TELEMETRY_TRACE config
misc: edgetpu: move inited to individual telemetries
misc: edgetpu: unittests: handlers for tracing
misc: edgetpu: log trace events in dmesg
misc: edgetpu: hermosa fix bootloader hang on UART init
misc: edgetpu: also reset GCB_CTL on ASIC
misc: edgetpu: hermosa stop IRQ polling hack before reset GCB
misc: edgetpu: unittests: simple test for tracing
misc: edgetpu: fix memory leak on eventfd ctx
misc: edgetpu: add inited to telemetry_ctx
misc: edgetpu: KCI for tracing buffer
misc: edgetpu: remove unnecessary IRQ flag save
misc: edgetpu: runtime interface for tracing
misc: edgetpu: add telemetry trace
misc: edgetpu: restructure edgetpu-telemetry
misc: edgetpu: refactor telemetry APIs
misc: edgetpu: replace logging with telemetry
misc: edgetpu: move telemetry buffer size to header
misc: edgetpu: show dmabuf mappings in debugFS
misc: edgetpu: rename log to telemetry
misc: edgetpu: remove log disable
misc: edgetpu: unittests: ioctl dmabuf map/unmap
misc: edgetpu: unittests: map and unmap dmabuf
misc: edgetpu: release dmabuf resources
misc: edgetpu: unittests: test map dmabuf
misc: edgetpu: unittests: dmabuf for testing
misc: edgetpu: unittests: compile with include_test_path
misc: edgetpu: unittests: pull out makefiles
misc: edgetpu: implement dmabuf map and unmap
misc: edgetpu: hermosa set 47-bit DMA mask
misc: edgetpu: also reset AXI and APB while resetting R52
misc: edgetpu: add flags to edgetpu_mmu_tpu_map
msic: edgetpu: add edgetpu-map-dmabuf.c
misc: edgetpu: drop 1.0-compat IRQ polling
misc: edgetpu: merge map_to_mmu_flags conversion
misc: edgetpu: ioctl interface for mapping dma-buf
misc: edgetpu: accept die_index and TPU iova on unmap
misc: edgetpu: build for FPGA vs. silicon
misc: edgetpu: merge host and device DRAM IOVA domains
misc: edgetpu: add edgetpu_mmu_reserve
misc: edgetpu: unittests: test buffer sync operation
misc: edgetpu: fix compile break in p2p debug logs
misc: edgetpu: add device group join/leave debug logs
misc: edgetpu: refactor memory resource into struct
misc: edgetpu: implement EDGETPU_SYNC_BUFFER
misc: edgetpu: use devres API while probing hermosa
misc: edgetpu: hermosa add more p2p mapping debug log info
misc: edgetpu: unittests: add dma_sync_sg_* utilities
misc: edgetpu: allow mapping device DRAM to 64-bit region
misc: edgetpu: platform_get_resource() instead of custom loop
misc: edgetpu: fix device group in-tree build
misc: edgetpu: unittests: use separate bug numbers
misc: edgetpu: clarify non-cpu-accessible flag
misc: edgetpu: check no client is active on loading fw
misc: edgetpu: unittests: hermosa run default fw
misc: edgetpu: use KCI reinit when resetting Hermosa
misc: edgetpu: unittests: load hermosa fw twice
misc: edgetpu: unittests: validate boot record
misc: edgetpu: unittests: register fake firmware
misc: edgetpu: remove unused code
misc: edgetpu: Abrolhos uses new firmware API
misc: edgetpu: move dma map handling to Hermosa
misc: edgetpu: add firmware mapping to debugfs dump
misc: edgetpu: unitests fix unused variable warning
misc: edgetpu: unittests: cleanup hermosa firmware test
misc: edgetpu: unittests: Hermosa fw downloader
misc: edgetpu: check fw size before accessing header
misc: edgetpu: unittests: fake etdev with KCI
misc: edgetpu: unittests: test firmware load from FS
misc: edgetpu: hermosa dump device DRAM physical addr
misc: edgetpu: hermosa dump userspace map addr for device buffer
misc: edgetpu: move out firmware config values
misc: edgetpu: refine hermosa firmware header parsing
misc: edgetpu: unregister eventfd ioctl
misc: edgetpu: unittests: test edgetpu_firmware_run
misc: edgetpu: ability to disable open etdev
misc: edgetpu: fix format of buffer mapping dump physical addr
misc: edgetpu: hermosa add test firmware to module info
misc: edgetpu: implement KCI reinitialize
misc: edgetpu: remove suffix "locked" in fw handlers
misc: edgetpu: reset Hermosa before re-downloading firmware
misc: edgetpu: unittests: add edgetpu-firmware-test
misc: edgetpu: set etdev->firmware only if init succeeds
misc: edgetpu: unittests: enhance struct device
misc: edgetpu: make firmware sysfs attr group static
misc: edgetpu: hermosa add bypass sysfs attr
misc: edgetpu: add chip exit function for device removal time
misc: edgetpu: Hermosa uses new API
misc: edgetpu: unittests: always include test path
misc: edgetpu: drop coherent mem alloc interfaces
misc: edgetpu: unittests: test device DRAM ioctls
misc: edgetpu: unittests: test SET_PERDIE_EVENTFD ioctl
misc: edgetpu: unittests: test set eventfd ioctl
misc: edgetpu: check client not null on releasing
misc: edgetpu: abrolhos fix compile warning
misc: edgetpu: rename chip driver IRQ callbacks
misc: edgetpu: use %pK for kernel pointers
misc: edgetpu: fix warnings raised by checkpatch
misc: edgetpu: fix SPDX license comment style
misc: edgetpu: unittests: clear seq buf on reset
misc: edgetpu: disable poll task while reattaching
misc: edgetpu: run checkpatch --fix to all files
misc: edgetpu: fix checkpatch errors
misc: edgetpu: deal with checkpatch errors
misc: edgetpu: add new firmware API
misc: edgetpu: remove group from mapping root
misc: edgetpu: set up remote DRAM accessing
misc: edgetpu: log fix checkpatch style warning
misc: edgetpu: add last host map addr to log mappings dump
misc: edgetpu: set log buffer uncached on x86
misc: edgetpu: hermosa fix sleeping in atomic at device buffer unmap
misc: edgetpu: unittests: test 4G boundary on alloc
misc: edgetpu: hermosa fixup partial OTP multi-die config
misc: edgetpu: make log be switchable
misc: edgetpu: Hermosa update number of MSIX interrupts
misc: edgetpu: fix check on group-able dies
misc: edgetpu: unittests: test MMU APIs
misc: edgetpu: unittests: test mmu_reattach
misc: edgetpu: implement mmu_reattach for Hermosa
misc: edgetpu: unittests: test EdgeTPU MMU API
misc: edgetpu: pull out EdgeTPU MMU API
misc: edgetpu: unittests: support SMMU reboot
misc: edgetpu: unittests: validate CD
misc: edgetpu: use "drop 1.0" bug number
misc: edgetpu: unittests: test non-R52-accessible map
misc: edgetpu: refine Hermosa SMMU level macros
misc: edgetpu: change non-R52-accessible memory regions
misc: edgetpu: hermosa dram add debug logs
misc: edgetpu: unittests: fix UML crash on lockdep enabled
misc: edgetpu: unittests: send out lockdep errors
misc: edgetpu: remove holding group->lock in mmap
misc: edgetpu: fix uninitialized locks
misc: edgetpu: unittests: enable lock debug
misc: edgetpu: unittests: set IOMMU groups to devices
misc: edgetpu: per-die DMA mappings of host DRAM
misc: edgetpu: wrap edgetpu_mapping for host buffers
misc: edgetpu: add API to map IOVA to sgt
misc: edgetpu: fix null pointer deref in mappings dump
misc: edgetpu: per-die DMA mappings of device DRAM
misc: edgetpu: add edgetpu-dma-mapping.h
misc: edgetpu: add mmap log buffer test
misc: edgetpu: unittests: extend DMA map API
misc: edgetpu: fix possible deadlock in mailbox ISR
misc: edgetpu: fix sleeping in atomic at module remove
misc: edgetpu: Hermosa fix mutex lock with rwlock held in SMMU unmap
misc: edgetpu: use prodkernel dma_map_iova API for P2P CSRs
misc: edgetpu: prep for per-die P2P DMA mappings
misc: edgetpu: per-client DMA mappings for P2P queues
misc: edgetpu: hermosa dram fixup compile for older kernels
misc: edgetpu: map p2p queues bi-directional
misc: edgetpu: only dump 2 P2P mailboxes in debugfs
misc: edgetpu: add debug logs for mailbox queue mappings
misc: edgetpu: kci go back to uninterruptible waits
misc: edgetpu: bump KCI timeout again
misc: edgetpu: mmap log buffer
misc: edgetpu: kci allow ^C while waiting
misc: edgetpu: set genpool to page-aligned
misc: edgetpu: bump KCI timeout for longer emulator execution times
misc: edgetpu: reset KCI queues on firmware start
Rename edgetpu-firmware to edgetpu-fw
misc: edgetpu: rm EDGETPU_OUTBOUND_ATU_OFFSET
misc: edgetpu: add p2p debug logs
misc: edgetpu: let UNMAP_DEVICE_BUFFER return errno
misc: edgetpu: fix memory leak on DMA mapping
misc: edgetpu: unittests: non-mirrored mapping
misc: edgetpu: show mappings with mirrored info
misc: edgetpu: support mirrored host buffer mapping
misc: edgetpu: fix Hermosa on-device DRAM base addr.
misc: edgetpu: fix page-fault on mmap-ed device DRAM
misc: edgetpu: fix device DRAM mapping hangs
misc: edgetpu: remove converting DRAM addr. to sgt
misc: edgetpu: do DMA mapping on P2P mailbox queues
misc: edgetpu: enable hermosa DRAM in out of tree module build
misc: edgetpu: refactor group buffer (un)map
misc: edgetpu: unittests: test map buffer ioctl
misc: edgetpu: unittests: not check DMA addr in mappings dump
misc: edgetpu: add map flags to edgetpu_mapping
misc: edgetpu: support 64-bit IOVA allocation
misc: edgetpu: map "from device" DMA buffers readable by device
misc: edgetpu: remove EDGETPU_MAP_BUFFER_COMPAT
misc: edgetpu: fixup refcount_inc_checked
misc: edgetpu: add a counter to edgetpu_mappings_root
misc: edgetpu: show device DRAM mappings
misc: edgetpu: use callback to display mappings
misc: edgetpu: use genalloc as DRAM mem allocator
misc: edgetpu: unmap host buffer with map argument
misc: edgetpu: set IOMMU/DMA direction according to flags
misc: edgetpu: fix wrong desc in edgetpu.h
misc: edgetpu: implement mmap of hermosa dram
misc: edgetpu: dump log mappings in debugfs
misc: edgetpu: dump KCI mailbox queue mappings in debugfs
misc: edgetpu: save KCI cmd/resp queue DMA addresses for debugging
misc: edgetpu: add debugfs top-level dir for edgetpu
misc: edgetpu: rework edgetpu_init/exit functions
misc: edgetpu: use specific type of map flag
misc: edgetpu: implement mirrored device DRAM map/unmap
misc: edgetpu: get the n-th client's etdev in a group
misc: edgetpu: implement Hermosa DRAM map/unmap
misc: edgetpu: separate mappings show to layers
misc: edgetpu: hermosa print bootloader status on ready timeout
misc: edgetpu: unittests: add helper/rbtree.h
misc: edgetpu: fix IS_MIRRORED macro in edgetpu-dram
misc: edgetpu: unittests: put fake groups in releasing
misc: edgetpu: add reference count to device group
misc: edgetpu: implement edgetpu_mapping_clear
misc: edgetpu: hermosa smmu print DMA dir in debug logs
misc: edgetpu: fix call trace in mailbox functions
misc: edgetpu: hermosa start f/w download on MSI timeout if status ok
misc: edgetpu: rename group->mappings and add dev_mappings
misc: edgetpu: hermosa smmu check for MPU closed off
misc: edgetpu: add edgetpu-mapping to out of tree module build
misc: edgetpu: fetch the first node in mappings
misc: edgetpu: switch to use edgetpu_mapping API
misc: edgetpu: implement edgetpu_mapping add, find, and del
misc: edgetpu: add edgetpu_mapping_root to wrap rb_root and lock
misc: edgetpu: add edgetpu-mapping.c for IOVA management
misc: edgetpu: add missing "defined" on config checking
misc: edgetpu: modify mirrored macro in edgetpu-dram
misc: edgetpu: add local/mirrored and R52-accessible flags
misc: edgetpu: unittests: device DRAM map invalid cases
misc: edgetpu: unittests: init dram and its size in fake etdev
misc: edgetpu: implement Hermosa device DRAM map
misc: edgetpu: rename Hermosa memory base macros
misc: edgetpu: allocate device vs host IOVA in hermosa-smmu
misc: edgetpu: add dma addr to mappings dump for cmd/resp queues
misc: edgetpu: set DMA addr of on-device DRAM scatterlist
misc: edgetpu: convert DRAM address to sg_table
misc: edgetpu: unittests: dma-buf FD of device DRAM
misc: edgetpu: implement dma-buf fd of DRAM
misc: edgetpu: implement device DRAM init
misc: edgetpu: add dram_size to hermosa_pci_dev
misc: edgetpu: unittests: allocate edgetpu_dev within parent device
misc: edgetpu: hermosa f/w load wait for image entry point found
misc: edgetpu: hermosa drop workaround for IOMMU_PRIV in older kernels
misc: edgetpu: unittests: add hermosa-dram-test.c
misc: edgetpu: add hermosa-dram.c and update ioctl
misc: edgetpu: add device DRAM config and header file
misc: edgetpu: add device buffer map ioctl
misc: edgetpu: hermosa f/w download remove extraneous comment
misc: edgetpu: hermosa wait for f/w bootloader download ready MSI
misc: edgetpu: hermosa f/w download check bootloader status
misc: edgetpu: add EDGETPU_ALLOCATE_DEVICE_BUFFER
misc: edgetpu: Bring kernel logging in line with firmware
misc: edgetpu: add hermosa/config-mm.h for MM configs
misc: edgetpu: unittests: ioctl group operations
misc: edgetpu: hermosa move efuse platform to hermosa pci dev struct
misc: edgetpu: avoid using stack memory for DMA
misc: edgetpu: hermosa remove f/w IOVA in error path
misc: edgetpu: check queue size fields are not zero
misc: edgetpu: unittests: fix segfault with no mm
misc: edgetpu: remove finalization in group creation
misc: edgetpu: unittests: test virtual network ioctl
misc: edgetpu: unittests: add edgetpu-ioctl-test
misc: edgetpu: unittests: KCI join and leave a group
misc: edgetpu: unittests: test IRQ handler of log
misc: edgetpu: use variable length buffer for logging
misc: edgetpu: implement KCI LEAVE_GROUP
misc: edgetpu: unittests: fix pre-submit failed
misc: edgetpu: hermosa fix bit width of x and y coordinate masks
misc: edgetpu: hermosa read die coordinates from OTP, set device name
misc: edgetpu: move r52 reset code to abrolhos only
misc: edgetpu: remove GCB reset logic
Revert "misc: edgetpu: hermosa set avDataQueueWatermark for each SV tile thread"
misc: edgetpu: unittests: add helper for testing eventfd
misc: edgetpu: unittests: add a test of logging eventfd reg.
misc: edgetpu: unittests: add edgetpu_log_test_kci
misc: edgetpu: unittests: enhance firmware to handle KCI cmds
misc: edgetpu: hermosa use substream zero for all SMMU mappings
misc: edgetpu: unittests: add tests of setting eventfd
misc: edgetpu: unittests: add test of edgetpu_log_init
misc: edgetpu: add size check in edgetpu_log_init
misc: edgetpu: add non-null checks in edgetpu.log
misc: edgetpu: remove unneeded internal field in edgetpu_dev
misc: edgetpu: unittests: fix macros to match SMMUv3.1 spec
misc: edgetpu: hermosa: assert, then deassert reset R52 on probe
misc: edgetpu: hermosa: set eFuse for emulation platforms
misc: edgetpu: hermosa: pull out hermosa_pci_dev and add IO functions
misc: edgetpu: unittests: add hacks to gen coverage report
misc: edgetpu: hermosa set avDataQueueWatermark for each SV tile thread
misc: edgetpu: add device callback for exit reset fixups
misc: edgetpu: move define for number of TPU tiles to common header
misc: edgetpu: unittests: show coverage after tests passed
misc: edgetpu: unittests: add option parser to test.sh
misc: edgetpu: move internal macros for smmu back
misc: edgetpu: unittests: make unit-tests pass under Hermosa
misc: edgetpu: unittests: share IOMMU group under Hermosa
misc: edgetpu: unittests: move DMA alloc to fake-iommu
misc: edgetpu: unittests: separate fake-iommu.h
misc: edgetpu: fix wrong impl. of group buffer mapping
misc: edgetpu: add MMU allocator
misc: edgetpu: separate IOVA space for local and mirror
misc: edgetpu: add mmu_flags to MMU map operation
misc: edgetpu: add type tpu_addr_t for TPU IOVA
misc: edgetpu: unittests: change git repo url of KUnit
Revert "misc: edgetpu: hermosa: avoid privileged mappings for DMA transfers"
misc: edgetpu: unittests: convert tpu_addr to phys_addr
misc: edgetpu: unittests: add fake-edgetpu-device.c
misc: edgetpu: unittests: implement edgetpu_smmu_translation
misc: edgetpu: unittests: add parser of STE
misc: edgetpu: unittests: add parser of SMMU strtab
misc: edgetpu: unittests: add ARMv8 translation lookup
misc: edgetpu: unittests: add IDR0 to configure SMMU
misc: edgetpu: unittests: add smmu_dma_to_virt
misc: edgetpu: unittests: add prototype of SMMU translation
misc: edgetpu: hermosa: add a module parameter to avoid resetting
misc: edgetpu: hermosa: avoid privileged mappings for DMA transfers
misc: edgetpu: unittests: support cmd queue error
misc: edgetpu: unittests: use log2 size for command queue
misc: edgetpu: unittests: define SMMU command queue op
misc: edgetpu: unittests: implement embedded SMMU
misc: edgetpu: move macros in hermosa-smmu.c to a header file
misc: edgetpu: firmware download move TPU and R52 reset to abrolhos
misc: edgetpu: add log for firmware loading start
misc: edgetpu: consolidate firmware stop handling on release/cleanup
misc: edgetpu: add fake_edgetpu_device_release_all()
misc: edgetpu: unittests: fix alignment in dma_map_page
misc: edgetpu: hermosa read pending MSI-X status and clear pending
misc: edgetpu: if firmware ack fails, don't try to map log buffer
misc: edgetpu: up the KCI command timeout for emulation systems
misc: edgetpu: invoke iova_cache_get() when attaching SMMU
misc: edgetpu: unittests: call IOMMU API in dma_map
misc: edgetpu: fix the arg. nents passed to dma_unmap_sg
misc: edgetpu: hermosa smmu switch to use alloc_iova
misc: edgetpu: hermosa interpret firmware header
misc: edgetpu: hermosa allocate IOVAs from non-mirrored DVA range
misc: edgetpu: fix MMU detach at probe error time
misc: edgetpu: hermosa smmu add privileged mappings
misc: edgetpu: unittests: invoke IOMMU API in fake dma_alloc/free
misc: edgetpu: allocate P2P queues on mirrored DRAM
misc: edgetpu: add the index of group to edgetpu_client
misc: edgetpu: release IOVAs in hermosa_smmu unmap functions
misc: edgetpu: hermosa smmu align address and size of TPU translations
misc: edgetpu: hermosa smmu fix discontiguous buffer map when no IOMMU
misc: edgetpu: add physical and dma addresses to debugfs mappings
misc: edgetpu: hermosa firmware bootloader image handoff
misc: edgetpu: unittests: refactor dma-mapping
misc: edgetpu: unittests: assertion on VDG map request
misc: edgetpu: unittests: use iova_to_phys for testing
misc: edgetpu: unittests: assert mailbox_init_vii() call
misc: edgetpu: custom firmware download use aligned buffer
misc: edgetpu: unittests: fix KCI test crash if init fail
misc: edgetpu: fix release of default firmware
misc: edgetpu: unittests: let hermosa-smmu use custom dma-mapping
misc: edgetpu: unittests: always assign NULL to test->priv
misc: edgetpu: unittests: missing header in pci.h
misc: edgetpu: add chip-specific statusregs dump
misc: edgetpu: fix log pointer alignment
misc: edgetpu: rename mailbox config spare register array
misc: edgetpu: move R52 instruction remap to Abrolhos/platform
misc: edgetpu: add mailbox context write with memory barrier
misc: edgetpu: hermosa: move firmware and MMU support from PCI driver
misc: edgetpu: add enum for KCI response code
misc: edgetpu: unittests: associate fake firmware to VDG
misc: edgetpu: unittests: test KCI Ack with the fake firmware
misc: edgetpu: unittests: implement fake firmware
misc: edgetpu: unittests: add pci.h to pass compilation on Hermosa
misc: edgetpu: update hermosa CSR offsets for RTL 0.93
misc: edgetpu: implement CREATE_GROUP KCI command
misc: edgetpu: fix incorrect queue unit size conversion
misc: edgetpu: hermosa smmu update multi-substream hack for multi-die
misc: edgetpu: add stop firmware chip callback
misc: edgetpu: add translation for remote CSR access
misc: edgetpu: convert mailbox queue unit sizes
misc: edgetpu: fix header file for set_memory_wb()
misc: edgetpu: fix hermosa out of tree module compile for smmu
misc: edgetpu: Log R52 messages to dmesg
misc: edgetpu: not compile P2P mailbox under Abrolhos
misc: edgetpu: mark coherent mailbox queues uncached on x86
misc: edgetpu: 1.0+ inference support extended to Hermosa
misc: edgetpu: poll R52 IRQs needed for 1.0-style jobs
misc: edgetpu: hermosa drives DMA substream ID until f/w handles later
misc: edgetpu: set context ID for mailbox queue mappings
misc: edgetpu: hermosa smmu update and sync context descs on init
misc: edgetpu: set context ID for coherent buffer mapping
misc: edgetpu: unittests: add --depth=1 when clone KUnit
misc: edgetpu: remove edgetpu_evict_group_clients
misc: edgetpu: use group context ID for P2P mappings
misc: edgetpu: derive context IDs from mailbox IDs for VII mappings
misc: edgetpu: unittests: add VN test
misc: edgetpu: set VN credits
misc: edgetpu: vn: reset VTIDs and add EDGETPU_NUM_VT
misc: edgetpu: hermosa smmu map supplied context ID to substream ID
misc: edgetpu: reorganize and rename generic context IDs
misc: edgetpu: hermosa smmu init context on first use
misc: edgetpu: add client context ID param to edgetpu_mmu_[un]map
misc: edgetpu: validate and set virtual traffic
misc: edgetpu: platform: set firmware image load address
misc: edgetpu: statusregs don't show unused mailboxes
misc: edgetpu: Add log IRQ and per-die events
misc: edgetpu: add edgetpu_device_group_nth_client
misc: edgetpu: add the ioctl callback for VN setup
misc: edgetpu: reset firmware init'ed flag on new custom image load
misc: edgetpu: remove flush_dcache_area
misc: edgetpu: unittests: modify tests as the refactor of mailbox mgr
misc: edgetpu: reserve ranges for VII and P2P mailboxes
misc: edgetpu: enable P2P mailboxes
misc: edgetpu: add MMU translation for P2P mailbox queues
misc: edgetpu: split fields in KCI response structure
misc: edgetpu: add logging source to out of tree module build
misc: edgetpu: KCI MapLogBuffer might return positive error code
misc: edgetpu: unittests: improve dma_alloc
misc: edgetpu: fix UAF bug on KCI timeout
misc: edgetpu: remove edgetpu_kci_push_cmd_wait()
misc: edgetpu: allocate P2P mailbox matrix
misc: edgetpu: rename edgetpu_vii_alloc/free_queue
misc: edgetpu: Initialize logging buffer
misc: edgetpu: share default firmware among all devices
misc: edgetpu: hermosa smmu fix stopping IRQ polling
misc: edgetpu: hermosa smmu fix shutdown order at module remove
misc: edgetpu: allocate N * (N - 1) P2P mailboxes
misc: edgetpu: prototype for P2P mailboxes
misc: edgetpu: rename default firmware files
misc: edgetpu: update hermosa CSR offsets for RTL 0.91
misc: edgetpu: Hermosa SMMU up register ack timeout again
misc: edgetpu: update Hermosa PCI IDs
misc: edgetpu: align hermosa SMMU explicit translation requests
misc: edgetpu: remove suffixes from firmware devices and class names
misc: edgetpu: update hermosa registers for RTL 0.8b emulation
misc: edgetpu: add callback for ioctl JOIN_GROUP
misc: edgetpu: add group finalization ioctl interface
misc: edgetpu: hermosa smmu support for downstream iommu
misc: edgetpu: hermosa smmu add checks for failed init
misc: edgetpu: remove redundant hermosa SMMU attach call
misc: edgetpu: always leave TPU out of reset after probe
misc: edgetpu: hermosa smmu increase ack timeout for slow emulation
misc: edgetpu: log an error on probe time failures
misc: edgetpu: remove debugfs files on probe fail
misc: edgetpu: hermosa smmu poll irqs compile fixups
misc: edgetpu: hermosa smmu driver include sizes.h
misc: edgetpu: remove translation of devices when clear group
misc: edgetpu: evict client for device from a group
misc: edgetpu: broadcast unmap to devices in a group
misc: edgetpu: move firmware region mapping to bus/chip layer
misc: edgetpu: unittests: add fake-iommu.h for testing iommu_map
misc: edgetpu: unittests: fix mailbox queue sizes
misc: edgetpu: map KCI mailbox queues to TPU
misc: edgetpu: setup hermosa firmware download region
misc: edgetpu: connect SMMU to Hermosa driver
misc: edgetpu: Hermosa SMMU add temporary IRQ polling
misc: edgetpu: Hermosa SMMU EdgeTPU MMU API
misc: edgetpu: Add MapLogBuffer KCI command
misc: edgetpu: Hermosa SMMU page table access
misc: edgetpu: Hermosa SMMU core SMMUv3 support
misc: edgetpu: call back to bus/chip layer to attach MMU
misc: edgetpu: mappings dump TPU address of command and resp queues
misc: edgetpu: set mapping device address in MMU layer
misc: edgetpu: mark coherent memory regions uncached on x86
misc: edgetpu: add MMU call to remap DMA mappings to TPU internal MMU
misc: edgetpu: unittests: enable CONFIG_IOMMU_DMA
misc: edgetpu: unittests: fix dma_map_sg_hook to return exactly one addr
misc: edgetpu: broadcast map to all devices in a group
misc: edgetpu: add device group too all etdevs it associated with
misc: edgetpu: use workload_id instead of group_id
misc: edgetpu: don't leave TPU in reset if firmware download fails
misc: edgetpu: Check group status on map/unmap calls
misc: edgetpu: use <chip>[.n] name for firmware download device
misc: edgetpu: Move firmware init/cleanup calls back to bus layer
misc: edgetpu: move MMU attach call to bus driver
misc: edgetpu: move iommu domains to new private structure for mmu
misc: edgetpu: firmware download use new MMU translation calls
misc: edgetpu: move firmware region map and unmap to platform code
misc: edgetpu: add MMU translation management routines
misc: edgetpu: add common-layer map context IDs
misc: edgetpu: avoid resetting the TPU if firmware update fails
misc: edgetpu: avoid releasing R52 reset before firmware is loaded
misc: edgetpu: add unique suffix to edgetpu device names
misc: edgetpu: load fw region parameters before edgetpu_device_add
misc: edgetpu: Add MSI-X support to Hermosa
misc: edgetpu: add irq unregister, call from platform bus driver
misc: edgetpu: fix abrolhos compile for firmware
misc: edgetpu: move firmware loader to core, enable in module build
misc: edgetpu: move R52 reset/mapping regs to per-chip configs
misc: edgetpu: add basic hermosa PCI support
misc: edgetpu: rename edgetpu_map/unmap with device_group
misc: edgetpu: remove redundant etdev parameter
misc: edgetpu: use the return value of dma_map_sg()
misc: edgetpu: dump user HIB snapshot register in debugfs
misc: edgetpu: more hermosa CSR offset updates for RTL 0.8a
misc: edgetpu: update hermosa CSR offsets
misc: edgetpu: add the check of group state to ioctl callback
misc: edgetpu: collect 1.0-compat code of ioctl
misc: edgetpu: postpone the timing of adding resp to wait_list
misc: edgetpu: assign KCI on edgetpu_dev initialization
misc: edgetpu: fix the type of cmd/resp queues of KCI
misc: edgetpu: device reset cleanups
misc: edgetpu: use memory barriers for mailbox queue reg/memory syncing
misc: edgetpu: dump KCI/user mailbox registers in debugfs
misc: edgetpu: unittests: add tests for mappings_clear_group()
misc: edgetpu: show all mapped addresses in mappings_show()
misc: edgetpu: etdirect default group cleanups
misc: edgetpu: move mailbox context enable to the end of mailbox init
misc: edgetpu: reset the R52 core along with the TPU
misc: edgetpu: unittests: unit tests of edgetpu_map() and unmap()
misc: edgetpu: mask CustomBlock Interrupt on Abrolhos
misc: edgetpu: unittests: fix testing fail on API changed
misc: edgetpu: clear VII command doorbell request at init
misc: edgetpu: remove edgetpu-platform from hermosa build
misc: edgetpu: remove scalar_storage_order attribute
misc: edgetpu: set internal field of VII to device_group
misc: edgetpu: remove threaded IRQ handler of mailboxes
misc: edgetpu: update APIs to remove redundant device plus client
misc: edgetpu: only supply default client and group for non-VII caller
misc: edgetpu: fix whitespace in edgetpu_device_group
misc: edgetpu: unittests: add tests for mmap functions
misc: edgetpu: fix whitespace in edgetpu_mmu_attach
misc: edgetpu: add missing brackets to if clause
misc: edgetpu: leave default group if runtime creates a new group
misc: edgetpu: add mmap offsets shared with userspace to edgetpu.h
misc: edgetpu: mmap mailbox CSRs and queues
misc: edgetpu: make device groups the basis for workload IDs
misc: edgetpu: don't require a default iommu domain at boot
misc: edgetpu: add ifdef guard to __flush_dcache_area
misc: edgetpu: unittests: fix mailbox tests since MAX_QUEUE_SIZE changed
misc: edgetpu: move register mmap window from client to device group
misc: edgetpu: move eventfd notification from client to device group
misc: edgetpu: move buffer mapping info from client to device group
misc: edgetpu: send an ACK command when loading firmware
misc: edgetpu: fix maximum queue size
misc: edgetpu: add a response timeout and ACK command
misc: edgetpu: initial firmware loading support
misc: edgetpu: use mailbox mgr IRQ handlers
misc: edgetpu: add CREATE_GROUP handler
misc: edgetpu: move edgetpu-direct device info to core
misc: edgetpu: add IRQ handler for mailbox_manager
misc: edgetpu: add edgetpu_vii to device group
misc: edgetpu: implement utilities for VII mailbox
misc: edgetpu: move irq registration to core, handling to device
misc: edgetpu: switch to rwlock for client locks
misc: edgetpu: register/handle events per client
misc: edgetpu: add PCI support for hermosa
misc: edgetpu: report driver name / device type in probe message
Kbuild: updates for recent changes
misc: edgetpu: move edgetpu_mmu_attach call to edgetpu_device_add
Add .gitignore to darwinn-2.0 branch
misc: edgetpu: add mailbox to edgetpu_device_group
misc: edgetpu: move <chip>-csrs.h to <chip>/csrs.h
misc: edgetpu: unittests: add factory/fake-edgetpu-mailbox-manager.h
misc: edgetpu: add mailbox manager to edgetpu_dev
misc: edgetpu: add edgetpu-config.h for chip-dependent config
Kbuild: add hermosa
misc: edgetpu: implement virtual device group.
misc: edgetpu: use dma_mmap_coherent
misc: edgetpu: grab default iommu domain a different way
Kbuild: remove gasket
misc: edgetpu: update hermosa registers for CL @257324059
misc: edgetpu: remove compat buffer map ioctl
misc: edgetpu: remove gasket compat set eventfd ioctl
misc: edgetpu: move file ops from gasket to etdirect
misc: edgetpu: mailbox: implement KCI of unmap buffer
misc: edgetpu: mailbox: mechanism of waiting for responses
misc: edgetpu: fix return with value in function returning void
misc: edgetpu: move gasket interrupt code to edgetpu
misc: edgetpu: rearrange map buffer ioctl arg fields
misc: edgetpu: move CSR mmap() handling to edgetpu core
misc: edgetpu: use edgetpu_dev IO for mailboxes.
misc: edgetpu: add device register read/write functions
misc: edgetpu: remove gasket reset ioctl, device status, etc.
misc: edgetpu: unittests: utility function of Makefile
misc: edgetpu: handle_threaded_irq for mailbox and KCI
misc: edgetpu: update Kbuild for recent changes
misc: edgetpu: compile abrolhos chipset by default
misc: edgetpu: add hermosa chipset
misc: edgetpu: rename abrolhos-direct to edgetpu-direct
misc: edgetpu: implement KCI functions
misc: edgetpu: mailbox for KCI to use
misc: edgetpu: mailbox: modify definition of size/head/tail of queues
misc: edgetpu: use top-level compiler.h header
misc: edgetpu: fix circular queue implementation
misc: edgetpu: unittests: fix mock io headers
misc: edgetpu: unittests: move out mock_io_functions
misc: edgetpu: unittests: move ptr_between to an independent file
misc: edgetpu: use select instead of depends on GASKET for Abrolhos
misc: edgetpu: script for automated testing
misc: edgetpu: use select IOMMU_API instead of depends in Kconfig
misc: edgetpu: dump instruction queue head and tail registers
misc: edgetpu: add coherent buffer to debugfs mappings info
misc: edgetpu: add config EDGETPU_FRAMEWORK
misc: edgetpu: fix coherent memory map for iommu usage
misc: edgetpu: update abrolhos-csrs.h with auto-generated comments.
misc: edgetpu: move unittest files to an independent directory
misc: edgetpu: mailbox: implement utility functions to configure queues
misc: edgetpu: mailbox: introduce mailbox manager
misc: edgetpu: update abrolhos CSRs for CL 251284177
misc: edgetpu: added abrolhos-csrs.h
misc: edgetpu: abdirect/gasket use edgetpu coherent mmap code
misc: edgetpu: add coherent buffer mmap function
misc: edgetpu: remove gasket coherent memory allocator
misc: edgetpu: add coherent memory allocator
misc: edgetpu: no need iounmap/kfree for managed device resources
misc: edgetpu: add field 'internal' to edgetpu_dev
misc: edgetpu: abrolhos: update CSR offsets to cl/249119626
misc: edgetpu: abrolhos: update CSR offsets for newer RTL
misc: edgetpu: use IS_ERR_OR_NULL for checking the return value of devm_ioremap_resource
misc: edgetpu: assign distinct client id while adding an edge TPU client
misc: edgetpu: abrolhos: set ABROLHOS_N_INTS to 1 and cleanup
misc: edgetpu: abrolhos: workaround SC RunControl field not reading zero
misc: edgetpu: abrolhos: add interrupt status regs to debugfs dump
misc: edgetpu: abrolhos: update register offsets for newer RTL
misc: edgetpu: add Kbuild file for darwinn-kernel-driver repo use
misc: edgetpu: add abrolhos direct host control driver
misc: edgetpu: add edgetpu platform, core and, and generic iommu drivers
misc: edgetpu: trim down gasket code for abrolhos direct usage only
misc: edgetpu: add gasket framework
Initial commit.
GitOrigin-RevId: 7eb66cb9381d594a3a6066e8fffbb4434228148b
Change-Id: Iff47d492195a01495710840088dfa4bc482d29d6
|
|
|