Age | Commit message (Collapse) | Author |
|
edgetpu: remove log for unbalanced BTS deactivate
Firmware doesn't balance BTS activate/deactivate messages, so don't warn
about an unbalanced deactivate.
Roll-up the following changes from darwinn-2.0:
a4d6e6e26 edgetpu: remove unbalanced BTS deactivate log message
102f22f88 edgetpu: rate limit log for unbalanced BTS deactivate
Bug: 286556421
GitOrigin-RevId: 114aec763552386a9d6d544dc8dc1c0095a84846
Change-Id: I3c834d82a8a2f3b48f19bcf5abc5f6cac851bdbe
|
|
SBMerger: 526756187
Change-Id: If30afaf7b2f0cf2595d359250e834d9c4c23afad
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
edgetpu: replace use of macros that modify control flow
Roll-up the following commits from darwinn-2.0:
8f5061cc6 edgetpu: replace group leader check macro that modifies control flow
8e1fc53e2 edgetpu: kci replace use of macro that modifies control flow
Bug: 286406228
GitOrigin-RevId: 60b1b7ad3d0448758f8442765858723bdfadd300
Change-Id: Ie479cfad75bf19c91472c91b8c3a434b15c4960f
|
|
SBMerger: 526756187
Change-Id: I523929006e969cfbc14f4d2090e3c051f9c444d5
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
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
edgetpu: usage-stats remove unnecessary out of memory log
edgetpu: return -EIO for operations on device with bad firmware state
GitOrigin-RevId: 2bde5e1f63d19540e003164600bd173b644dec57
Change-Id: I8ea1e112b54f76b9199d991501643aaf57985781
|
|
edgetpu: Add client_priv to edgetpu_mailbox_attr
Bug: 279805034
GitOrigin-RevId: bbcd0b7552351d0f81febc5d08a520005cc1d94a
Change-Id: If9cbbd8f6f63f9b66a89e86739b42d247ceee1c1
|
|
edgetpu: add error log for canceled operation due to fatal error
GitOrigin-RevId: 024cda1176f0ccbff338ff0fcee6adea63298423
Change-Id: Iaf4719c3cd4588f51fb52dad458e9a529d659ca9
|
|
edgetpu: Handle missing scmversion
Bug: 277787303
GitOrigin-RevId: ab6f26a2075336422853611d227a6acd73564900
Change-Id: I82a225a6f206692f5e6cf59617ac4aecc2784a48
|
|
edgetpu: KCI accept out-of-order responses
Bug: 274574929
edgetpu: Use scmversion over GIT_REPO_TAG
Bug: 274893782
GitOrigin-RevId: b649f62d1b52ccf71b7ba954056328564bc4d92a
Change-Id: I2dcf9f0107b279dfc3d586eef9a3003dfc7cb8f5
|
|
edgetpu: fix -Wcast-function-type-strict
Bug: 264965700
edgetpu: Make group required for creating fence
Bug: 258868303
edgetpu: create debugfs symlinks for non-default device names
Revert "edgetpu: Continue powering up if the block is still on"
Bug: 272701322
GitOrigin-RevId: 80b26b9415c1973231e58edb036959418a3d5af1
Change-Id: I1f98a50db75381929521ec61350619babf30290e
|
|
edgetpu: Continue powering up if the block is still on
Bug: 272701322
edgetpu: retry and sleep until block down
Bug: 272701322 (repeat)
edgetpu: Add etdev as private data for syncfences
Bug: 264971968
edgetpu: usage_stats add cluster reconfigurations counters
Bug: 271372136
Bug: 271374892
edgetpu: usage_stats: process metrics v2 data
Bug: 271372136 (repeat)
Bug: 271374892 (repeat)
edgetpu: pm: reject power up if thermal suspended
GitOrigin-RevId: cb79837d6fe24112fabf8c0385bfaa5eb3220197
Change-Id: I5f18886750d6f9703286b6e2441fcd6da09c9382
|
|
edgetpu: usage_stats send metrics v2 requests with v1 fallback
Bug: 271372136
edgetpu: usage stats: sync additional metrics v2 changes
Bug: 271372136 (repeat)
GitOrigin-RevId: af7a954e7f7903ae5c1dcdf6f24f48d9c1ae517c
Change-Id: Ie8f815636eaaf818338a1573668725b37bc6de45
|
|
edgetpu: Only call .power_up if needed
Bug: 272701322
edgetpu: Downgrade warning on external mailbox alloc
Bug: 269476405
edgetpu: usage stats add field definitions for metrics v2
edgetpu: remove "_locked" from edgetpu_firmware_tracing_set_level
Bug: 262916889
edgetpu: usage stats ignore metric fields beyond known size
Bug: 271372136
edgetpu: Add firmware dynamic tracing support
Bug: 262916889 (repeat)
edgetpu: Add KCI handing for dynamic fw tracing levels
Bug: 262916889 (repeat)
edgetpu: Add missing pm error handling
GitOrigin-RevId: c501899a7d9529f3b85a65d4792f1985452225d5
Change-Id: I604850162c7aa3b3310c6d5802dbba1bc2fa64fa
|
|
edgetpu: set no limit on DMA segment size
Bug: 263431665
edgetpu: Fix missing wakelock unlock
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: Enable best-fit algo for iova allocator
Bug: 243837563
edgetpu: Add a static debug pointer to driver state
Bug: 260768055
edgetpu: Add reasonable defaults to Makefile
edgetpu: Fix pmu-status-base reading
Bug: 249727851
edgetpu: janeiro: add retries for block status
Bug: 249727851 (repeat)
edgetpu: Return no space error from dma_map_sg
Bug: 243837563 (repeat)
edgetpu: introduce PMU STATUS query
Bug: 249727851 (repeat)
edgetpu: use rate limiting for reverse KCI failure warning
edgetpu: janeiro: Check block status before power-up
Bug: 237303232
edgetpu: warn if KCI get usage fails
Bug: 193072630
edgetpu: fix invalid paging on invalid map size
Bug: 245095356
edgetpu: rename mobile PM functions to be edgetpu-specific
edgetpu: check mobile firmware header magic, warn if mismatch
edgetpu: add error message on partial buffer map
edgetpu: remove KCI unmap buffer code
edgetpu: dma-fence debugfs show use dma_fence_ops
edgetpu: remove unnecessary overflow check in buffer map code
edgetpu: use mm_sem instead of mmap_lock on older Linux
Bug: 238359788
edgetpu: remove include of mmap_lock.h
Bug: 238359788 (repeat)
edgetpu: hold mmap lock around call to find_extend_vma
Bug: 237404338
edgetpu: Remove future chipset from darwinn-2.0
Bug: 236213851
edgetpu: make KCI source optionally customizable
Bug: 237004877
edgetpu: unittests: Fix __alloc_pages_nodemask warning
edgetpu: reduce KCI wait timeout.
Bug: 234458631
edgetpu: gitignore: ignore gcip-kernel-driver
Bug: 234255813
edgetpu: remove warning about 64-bit addressing on mobile
edgetpu: mobile: deprecate the code for separate pmqos and bts request.
Bug: 233338364
edgetpu: respond to reverse KCI commands.
Bug: 229143599
edgetpu: add debugfs "wakelock" power up/down control
Bug: 232449109
edgetpu: add namespace import for DMA_BUF for 5.16
Bug: 232003048
edgetpu: janeiro: Update debug dump mem size
Bug: 208758697
GitOrigin-RevId: dbd4d5cc334db0726d79ec5e3c5f5a771700675f
Change-Id: Ibd1f301b7d08211acda808b6870539d02f108dff
|
|
Bug: 233569354
SBMerger: 442815275
Change-Id: I798f8fb75bd9eefd0bf138760bdf179f3d5631cd
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
PRO-TPU Prod release date 6/30 RC07.
Release info: 237687385
- Reduce the waiting period for KCI responses to 1 second.
Bug: 234458631
Change-Id: I74ee344bdefc725dae4ab33a01d798fda67de76d
Signed-off-by: Abhilash Kulkarni <abhilashkul@google.com>
|
|
edgetpu: add support for all dvfs frequencies
Bug: 230582743
edgetpu: fetch hw ctx region from device tree
Bug: 230236668
GitOrigin-RevId: e60acf09440d62f96d1a047d2f70b76e0dbd6863
Change-Id: Id187c2635cc2de627bedf168c0fefb2f4a9411c2
|
|
edgetpu: include uaccess.h for access_ok
Bug: 201243473
GitOrigin-RevId: 30d78647e545130cacd64c844d4872b4d2a3c710
Change-Id: I273d9cf1d9b9298be7c276cdfd43d06c9b017f91
|
|
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
Bug: 201243473
Bug: 201243473
Bug: 228193834
Bug: 229311738
GitOrigin-RevId: d4d12d04147cd1bafae07dc4594d3b017028d518
Change-Id: Ia7d65b4d73bd0c65bac845f9047b08c32339a220
|
|
whi-pro 4/18 RC01
edgetpu: Change debug dump logs for prod FW builds.
edgetpu: mobile: Add handler for FW checkpoint dump reason.
Bug: 228917587
Bug: 228916950
Commit-Topic: janeiro_release_20220418_RC01-0d4280
GitOrigin-RevId: 971a77fe02750d59ae0c2b67d3dbb248fd48f8b1
Change-Id: I1f4dceb561bd2102d73c458f5ac57b1313fd381c
|
|
edgetpu: fix system out of memory locking pages log message
edgetpu: add edgetpu_domain_pool
Bug: 217454089
GitOrigin-RevId: 831d96abe4484715e9fd38135706b121d02af109
Change-Id: I5362c287e511b3fdb51743f38fb568c2913eaa35
|
|
edgetpu: include linux thermal header
edgetpu: mobile: handle merged PM QoS and BTS RKCI req
Bug: 182818500
edgetpu: Move thermal header to chip specific file
Bug: 223233475
edgetpu: add logs to help diagnose out of memory during buffer mapping
edgetpu: initialise external mailbox according to power state
Bug: 223076410
edgetpu: decouple mailbox alloc and set queue
Bug: 223076410
edgetpu: Log dbg msg when dbg dump KCI is unimplemented in FW.
edgetpu: Allocate external mailbox without holding wakelock
Bug: 220660262
edgetpu: make fs_release wakelock free
Bug: 197788097
Revert "Revert "edgetpu: Balance power up count during wakelock ..."
edgetpu: janeiro: include tmu header file
Bug: 215040856
Revert "edgetpu: Balance power up count during wakelock acquire"
edgetpu: Balance power up count during wakelock acquire
Bug: 221360331
edgetpu: re-add bus speed block KCI
Bug: 199166333
edgetpu: janeiro: declare TPU dma-coherent
Bug: 218921150
edgetpu: fix iommu_map_sg return type change
Bug: 220067471
edgetpu: setup SSMT on firmware restart
Bug: 218787370
GitOrigin-RevId: 1be82f1ce98c06b20cff19ddde858dc026884ef1
Change-Id: I21f4ab5572e8bdd247e233b06b2e48f6e67d4495
|
|
tmu header file was renamed to gs_tmu.h to share gs101 and gs201 now.
Bug: 215040856
Test: cat /sys/module/gs_thermal/parameters/tmu_reg_dump_state
Signed-off-by: YiHo Cheng <yihocheng@google.com>
Change-Id: Ib9d0b011bcf6820cf8e1edfc019c4bc4696254b7
|
|
edgeptu: janeiro: add suspend/resume ops
Bug: 217585538
edgetpu: initialize telemetry buffer size
Bug: 216696239
edgetpu: change err logging during fw dbg dump buffer init
Bug: 216522017
edgetpu: janeiro: extend block shutdown time
Bug: 214251686
edgetpu: janeiro: Return error on failed fw ctx initialization
Bug: 202262532
edgetpu: Modify wdt ref count based on mailbox activation
Bug: 213415021
edgetpu: fixup comment typos
GitOrigin-RevId: 01a1a1d7d206ed162dcda643af56bf5d39cc0464
Change-Id: I871d0eb964a33b172cce9b05a468beb0e96428e6
|
|
After face unlock was enabled, we started seeing crashes when the TPU
block exceeds the shutdown time.
This commits increases the timeout to roughly double the highest time
observed over ~100 iterations during experimentation, and logs a warning
when the time is excessive.
Bug: 214251686
Tested: 10 enroll/auth/delete cycles + 100 unlock attempts on Panther
with no crashes.
Signed-off-by: Erick Reyes <erickreyes@google.com>
(cherry picked from commit fe84380d608375c60f50696b8c97903a2f20fcd4,
re-applied after this change was undone by last merge)
Change-Id: Ibf18851e91fcdb9b0d81a52a261fd07cfcbb03f5
|
|
edgetpu: fix memory allocation in ext test
Bug: 215071893
edgetpu: always reset CPU on power down
Bug: 214251686
edgetpu: Send single kci for mboxes with the same VCID.
Bug: 201503258
edgetpu: dump etdev info
Bug: 214028088
edgetpu: dump client info
Bug: 214028088
edgetpu: debug dump mappings with headers
Bug: 214027183
edgetpu: dbg dump remove queues
edgetpu: dbg dump groups info
Bug: 214028088
edgetpu: dbg dump introduce sscd context
Bug: 214028088
edgetpu: define kernel info structs for debug dump
Bug: 214027183
Bug: 214028088
GitOrigin-RevId: a50c097daf728c5f4182d13661fb43f76a6111fe
Change-Id: I1c7ab41b7eafb5bc919f0f3184c18e25df9014e1
|
|
This reverts commit 77fc4c4466a4e439060ffd59625628cbe37e51d0.
Reason for revert: b/215599630
Change-Id: I1d5a212c269729d28e2d777fd003af455cd8f4f2
|
|
edgetpu: Set debug dump buffer in FW after handshake
Bug: 176556808
edgetpu: move wakelock releasing to client put
edgetpu: Remove dbg dump error msg to avoid flooding logs.
GitOrigin-RevId: e501a10922cce20ddfa4c082fc942c828d6d860b
Change-Id: I24d7dacfba9e420b2863dfb96e65cd6eb3262fb5
|
|
After face unlock was enabled, we started seeing crashes when the TPU
block exceeds the shutdown time.
This commits increases the timeout to roughly double the highest time
observed over ~100 iterations during experimentation, and logs a warning
when the time is excessive.
Bug: 214251686
Tested: 10 enroll/auth/delete cycles + 100 unlock attempts on Panther
with no crashes.
Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: Ie48e995bff313a4b107eac3f9bc82fa886ca7b03
|
|
edgetpu: dbg dump debugFS return EOPNOTSUPP
edgetpu: dbg dump handle recoverable fault
edgetpu: fix wakelock order to avoid lock inversion
Bug: 197788097
edgetpu: power up TPU before sending dbg dump KCI
edgetpu: add debugfs for getting dbg dump
Bug: 207607509
edgetpu: map_size instead of alloc_size on dump
Bug: 210563422
edgetpu: fix UAF on dumping group mappings
Bug: 210549145
edgetpu: dmabuf fix potential UAF
Bug: 210571509
GitOrigin-RevId: 2aabb111da6de45d4ba20dabfd15c8c05843348f
Change-Id: I2145f3ef7839120eb9746a1543cab7245e8335f2
|
|
edgetpu: mcp notify MCP-wide thermal shutdown via kworker
Bug: 207807085
Bug: 174552882
edgetpu: all mobile chips support debug dump
Bug: 207459857
edgetpu: mobile: share debug dump handlers
Bug: 207459857
GitOrigin-RevId: b0177acc91ac4fc014be4d5a4d98253641dc91fa
Change-Id: Iafa408831e81ab80ac4e476a39e81d57838857a5
|
|
edgetpu: support EXT_MAILBOX on all mobile chips
Bug: 204795149
edgetpu: add iterator for each device in an MCP
Bug: 174552882
edgetpu: mobile: fixups for android review comments
Bug: 205749891
edgetpu: mcp synchronous usage stats update at device group disband
Bug: 195612161
edgetpu: unregister KCI irq handler
Bug: 206717576
Bug: 204847583
edgetpu: add h/w preempt metric
Bug: 205901661
edgetpu: define and use vma offset for external test
Bug: 204846795
edgetpu: fix compile failure on older linux for pin_user_pages
Bug: 205000780
edgetpu: add ioctl for testing interop interface
Bug: 204846795
edgetpu: do SSMT setup after firmware image loaded
Bug: 204155811
GitOrigin-RevId: 1ef6320ae33eacbf804b9f51dcc4ad8d55a76efb
Change-Id: Iebfc6a4ad701de1363fda8070420a4fecf518ee5
|
|
edgetpu: code style fixups
Bug: 204391548
edgetpu: Decrease pm_refcount when pm_runtime_get_sync fails
Bug: 199111759
edgetpu: janeiro set default power state to UUD
Bug: 203647578
edgetpu: Increase trace buffer size to 256 KB
Bug: 202436856
edgetpu: Split EDGETPU_TELEMETRY_{LOG,TRACE}_BUFFER_SIZE
Bug: 202436856
edgetpu: Calculate wrap bit by buffer size
Bug: 202436856
edgetpu: thermal update call no longer available at 5.12
GitOrigin-RevId: 3d9db9216e2371c887b4164eee85b285dab25eb5
Change-Id: Ib8e4e687319a8bf60f9cacaf4697c01f4c71c59e
|
|
edgetpu: retry shutdown on GSA error response
Bug: 194954722
Revert "edgetpu: janeiro: temporarily disable external interface"
edgetpu: janeiro: update mbox manager to support aoc
Bug: 202489917
Bug: 201727491
edgetpu: janeiro: Add LPM recovery mechanism
Bug: 202402922
edgetpu: ensure TPU is completely off
Bug: 202744710
edgetpu: janeiro: temporarily disable external interface
edgetpu: add a mobile thermal module
Bug: 194241938
Bug: 201076651
edgetpu: support memory for f/w context switch
Bug: 200744848
edgetpu: abrolhos: add bus speed block KCI
Bug: 199166333
edgetpu: fix mobile pm variables scope
Bug: 199929284
edgetpu: Show mappings for every telemetry
Bug: 202089755
edgetpu: Support mmapping different buffers
Bug: 202089755
edgetpu: Introduce VMA_TYPE_WIDTH
Bug: 202089755
edgetpu: Set/unset event on every telemetry
Bug: 202089755
edgetpu: Check every telemetry when receiving irq
Bug: 202089755
edgetpu: Use telemetry[0] for telemetry_kci
Bug: 202089755
edgetpu: Initiate telemetry based on etdev->num_cores
Bug: 202089755
edgetpu: Add missing #if CONFIG_EDGETPU_TELEMETRY_TRACE
Bug: 202089755
edgetpu: Add num_cores to struct edgetpu_dev
Bug: 202089755
edgetpu: Add detail clk debugfs
Bug: 199929284
edgetpu: janeiro: fix frequency values
Bug: 199685518
edgetpu: change interop interface
Bug: 200658064
edgetpu: move mobile headers out from unittests/
Bug: 201267603
edgetpu: add include/ to the include path
Bug: 201267603
edgetpu: fix Kbuild inclusion path
Bug: 201267603
edgetpu: remove fault handlers for linux < 5.3
GitOrigin-RevId: f00278f72aefa16eec70384ec79d248fa52ca474
Change-Id: I364796b0dc127f83737f3afbaf0508ac35ac767d
|
|
edgetpu: janeiro remove compat. code for shareability
Bug: 193593081
edgetpu: janeiro set shareability in after probe
Bug: 200923214
edgetpu: janeiro: Add TPU_OFF
Bug: 199365799
edgetpu: set first_open to false for external mailbox
Bug: 200507456
edgetpu: Put sscoredump features behind config flag
Bug: 197672212
edgetpu: rio import drivers
Bug: 198718365
Revert "edgetpu: remove edgetpu_unregister_irq"
Bug: 200183185
edgetpu: implement commands for interop
Bug: 199355448
edgetpu: fix up header inclusions
edgetpu: janeiro use common mobile interface
Bug: 199717700
edgetpu: add edgetpu-mobile-platform.c
Bug: 199717700
edgetpu: janeiro use IRQ array in mobile dev
Bug: 199717700
edgetpu: remove edgetpu_unregister_irq
edgetpu: mobile add IRQ fields to platform_dev
Bug: 199717700
edgetpu: support predefined KCI timeout
Bug: 197068927
edgetpu: mobile cpu reset according to #cores
Bug: 199571462
Bug: 198718365
edgetpu: config add EDGETPU_NUM_CORES
Bug: 199571462
edgetpu: clearer config selection
Bug: 198718365
edgetpu: mobile firmware fix typos
edgetpu: fix firmware load at different priv level
edgetpu: fix returning/check correct status of errors
Bug: 197919435
edgetpu: janeiro: add GSA device
Bug: 194054265
edgetpu: janeiro: setup SSMT if GSA is available
Bug: 197301774
edgetpu: merge mobile firmware code
Bug: 176881607
edgetpu: merge mobile PM code
Bug: 176881607
edgetpu: move number of contexts to chip configs
Bug: 194989925
GitOrigin-RevId: 96ee87151266f7bd4f96e5e3c4ae4cf1580bc8d2
Change-Id: If9c902d6d17b00502e01b0ba4f801985912640f6
|
|
Bug: 192617687
Test: builds
Change-Id: Id127015e7f3801a6f2971cd5d992f9558c8b6922
|
|
edgetpu: fix potential KP on device probing
Bug: 197144362
edgetpu: janeiro: disable SSMT temporarily
Bug: 197285064
edgetpu: Reset dump memory after handling dump.
edgetpu: abrolhos: Collect host side debug dump segments.
Bug: 176555699
Bug: 168082238
Bug: 176556808
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
Bug: 192641593
edgetpu: hermosa add support for firmware signature checks
Bug: 195776283
edgetpu: add physical address field to coherent memory
Bug: 183621442
edgetpu: fix invalid wait context
Bug: 196340168
edgetpu: janeiro: set up SSMT registers
Bug: 196494143
edgetpu: janeiro: Only poll for blk status after shutdown
Bug: 191869036
edgetpu: add sysfs groups attr
edgetpu: add user_vote for user space request TPU throttling
Bug: 188701596
edgetpu: debugfs mappings improvements
edgetpu: use pin_user_pages, alloc own vma struct pointers array
Bug: 194989197
edgetpu: abrolhos disable ext mbox on client remove
Bug: 195126121
edgetpu: don't fail mbox deactivation on KCI fails
Bug: 195126121
edgetpu: add group id to sysfs clients attr, fix output
Bug: 193484549
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0:
edgetpu: janeiro: fix firmware header mappings
edgetpu: mobile guard bcl inclusion with KCONFIG
edgetpu: janeiro remove obsolete TODO
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0:
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
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (65 commits)
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: unittests: Add a firmware crash rkci test
edgetpu: unittests: Add a reverse kci test
edgetpu: hermosa smmu remove TODOs from comments for fw-driven SSID
edgetpu: janeiro bcl port tpu clock divider ratio
edgetpu: unittests: add mobile-platform tests
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
...
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0:
edgetpu: janeiro: fix mailbox offset calculation
edgetpu: unittests: add get_fatal_errors ioctl tests
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (62 commits)
edgetpu: unittests: add iremap-pool tests
edgetpu: detach mailbox when activation failed
edgetpu: reduce IOMMU fault reports severity
edgetpu: unittest handle enhanced open device KCI
edgetpu: gem5: Increasing the mask of gsa
edgetpu: unittests: upgrade to KUnit 5.10
edgetpu: unittests: fix tests with disabled IOMMU
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: unittests: add thermal test
edgetpu: abrolhos: hook exynos acpm functions
edgetpu: unittests: add helper of device tree
...
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (23 commits)
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
Mock components to build TPU driver
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
...
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (82 commits)
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
kokoro: checkpatch ignore constant comparison
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
...
Remove hermosa/abrolhos references on pro branch
Also remove unittests and fix Makefile/Kbuild for
janeiro builds
GitOrigin-RevId: 1805ef57ed473ccdedb44145fa66396f046d984a
Change-Id: I1bb5649c8f367b7762a774d6f310144195a93c28
|
|
Change-Id: Ib0bfd7c98a9c7f243f373f59b49a440c51621f17
Signed-off-by: Aaron Ding <aaronding@google.com>
|
|
android-gs-cloudripper-5.10"
This reverts commit 75813437d78bd26b5a547c0b6bedbfe26d4c0664.
Reason for revert: b/197285064 - inference output mismatches. It's not yet merged into googleplex-android. Reverting until the root cause of the bug is figured out.
Change-Id: I99f19f08fb53a1dafe270a07c271c03fe2a46b13
|
|
edgetpu: add physical address field to coherent memory
Bug: 183621442
edgetpu: fix invalid wait context
Bug: 196340168
edgetpu: janeiro: set up SSMT registers
Bug: 196494143
edgetpu: janeiro: Only poll for blk status after shutdown
Bug: 191869036
edgetpu: add sysfs groups attr
edgetpu: add user_vote for user space request TPU throttling
Bug: 188701596
edgetpu: debugfs mappings improvements
edgetpu: use pin_user_pages, alloc own vma struct pointers array
Bug: 194989197
edgetpu: don't fail mbox deactivation on KCI fails
Bug: 195126121
edgetpu: add group id to sysfs clients attr, fix output
Bug: 193484549
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0:
edgetpu: janeiro: fix firmware header mappings
edgetpu: mobile guard bcl inclusion with KCONFIG
edgetpu: janeiro remove obsolete TODO
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0:
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
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (65 commits)
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: cleanup host DMA direction modification
edgetpu: unittests: Add a firmware crash rkci test
edgetpu: unittests: Add a reverse kci test
edgetpu: janeiro bcl port tpu clock divider ratio
edgetpu: unittests: add mobile-platform tests
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: add "is a mobile style device" feature flag
edgetpu: organize objects into mobile vs. mcp groupings
...
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0:
edgetpu: janeiro: fix mailbox offset calculation
edgetpu: unittests: add get_fatal_errors ioctl tests
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (62 commits)
edgetpu: unittests: add iremap-pool tests
edgetpu: detach mailbox when activation failed
edgetpu: reduce IOMMU fault reports severity
edgetpu: unittest handle enhanced open device KCI
edgetpu: gem5: Increasing the mask of gsa
edgetpu: unittests: upgrade to KUnit 5.10
edgetpu: unittests: fix tests with disabled IOMMU
edgetpu: allow buffer unmapping on errored groups
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: unittests: add thermal test
edgetpu: unittests: add helper of device tree
...
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (23 commits)
edgetpu: remove redundant args
edgetpu: janeiro: add power management
edgetpu: janeiro scrub references to TPU CPU model
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
Mock components to build TPU driver
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: remove chip names from mmu.h
edgetpu: move mailbox disable out from mbox remove
edgetpu: export mailbox enable and disable functions
...
Merge remote-tracking branch 'origin/darwinn-2.0' into pro
* origin/darwinn-2.0: (82 commits)
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
kokoro: checkpatch ignore constant comparison
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: 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: fix UAF write on edgetpu_sync_fence_create
edgetpu: add firmware_is_loading utility
...
Remove other chips references on pro branch
Also remove unittests and fix Makefile/Kbuild for
janeiro builds
GitOrigin-RevId: 0489f176f477dc58f727e5a7f758b525586d9647
Change-Id: I857d8972c90b212868bd0e87c7836762cfd086ba
|
|
Change-Id: I1e4de8679434bcfcec7a83d4d8d977f984af0c14
Signed-off-by: Aaron Ding <aaronding@google.com>
|
|
* origin/darwinn-2.0:
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
Signed-off-by: Nishant Prajapati <nishantpjpt@google.com>
Change-Id: Iafc7c8229415f305d357f1a02441dd22d706cf02
|
|
* origin/darwinn-2.0: (65 commits)
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: cleanup host DMA direction modification
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: add "is a mobile style device" feature flag
edgetpu: organize objects into mobile vs. mcp groupings
...
Signed-off-by: Nishant Prajapati <nishantpjpt@google.com>
Change-Id: I4b79d9d5b493c8cdb4fa132354e2dca42b125fa7
|
|
Bug: 192615175
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I30449656504551a6cb684dc0c30f8031bc608010
|
|
* origin/darwinn-2.0: (64 commits)
edgetpu: janeiro: fix mailbox offset calculation
edgetpu: unittests: add get_fatal_errors ioctl tests
edgetpu: unittests: add iremap-pool tests
edgetpu: detach mailbox when activation failed
edgetpu: reduce IOMMU fault reports severity
edgetpu: unittest handle enhanced open device KCI
edgetpu: gem5: Increasing the mask of gsa
edgetpu: unittests: upgrade to KUnit 5.10
edgetpu: unittests: fix tests with disabled IOMMU
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: unittests: add thermal test
edgetpu: abrolhos: hook exynos acpm functions
edgetpu: unittests: add helper of device tree
...
Signed-off-by: Nishant Prajapati <nishantpjpt@google.com>
Change-Id: I270c8e29f14ea9585ea258741130f060b56fc410
|
|
* origin/darwinn-2.0: (23 commits)
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
Mock components to build TPU driver
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
Signed-off-by: Nishant Prajapati <nishantpjpt@google.com>
Change-Id: I481b99e32bb07053e9faaa8965259ea163fd4ebc
|
|
* origin/darwinn-2.0: (82 commits)
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
kokoro: checkpatch ignore constant comparison
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
Signed-off-by: Nishant Prajapati <nishantpjpt@google.com>
Change-Id: I815985598685d1f0860dda0bf02cad4dc6d1031e
|
|
Squash at commit dab71c2cf
Signed-off-by: Nishant Prajapati <nishantpjpt@google.com>
Change-Id: I447031be5b6f89b3177a4c23aeca4676ffbb0076
|
|
Signed-off-by: Nishant Prajapati <nishantpjpt@google.com>
Change-Id: I39df56c56489eaa465cbcc951b130a40254f86a8
|
|
* whitechapel:
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: 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
Signed-off-by: Nrithya Kanakasabapathy <nrithya@google.com>
Change-Id: I8b4f02a103d81fb468e6d23d81066c7e14441069
|