From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A15C606A31A for ; Wed, 2 Dec 2026 09:55:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NzH7mElV Received: by kanga.kvack.org (Postfix) id 691A26B065A; Wed, 2 Dec 2026 04:55:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 663D76B065B; Wed, 2 Dec 2026 04:55:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5792E6B065C; Wed, 2 Dec 2026 04:55:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 11A8E6B065A for ; Wed, 2 Dec 2026 04:55:07 -0500 (EST) Received: from smtpin03.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay06.hostedemail.com (Postfix) with ESMTP id A3270A7873 for ; Wed, 2 Dec 2026 09:55:06 +0000 (UTC) X-FDA: 85498584612.03.2109A69 Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by imf09.hostedemail.com (Postfix) with ESMTP id E884B14000D for ; Wed, 2 Dec 2026 09:55:04 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20260515 header.b=NzH7mElV; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf09.hostedemail.com: domain of aneesh.kumar@kernel.org designates 172.234.252.31 as permitted sender) smtp.mailfrom=aneesh.kumar@kernel.org ARC-Seal: i=1; a=rsa-sha256; d=hostedemail.com; s=arc-20220608; cv=none; t=1796205305; b=K7I34vKVeggfM7E6+9K1HorM4TMIZlhVM+SotbHSRigFWvJDIPsUVuGSs5/o1w8zsQ5sQH kMlDbCsDp2RVNxL+9uc6l5F5J93AdimyaBsS8UP16qrD89yejncs0/hu1XS4OgKZ+h99+Y oWHb1SpFpFZmbwlPhR48sWIUybFKFb4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1796205305; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=kUHT/9J85PF+x2Yhs0SCGy5KsmFEqRQONydWAehg5mc=; b=dcP7oqq0ExnsPVxuYWSiExI94yVjGEjlULDNKBi6N9GwahP1hc+PXuorf9K6C5dBRWI1W+ viI+HRpOnKoEvlKxLPk0vCf+tuM+3QhWtUZq9UbGPje3F6WK5ON7O8VxT3yzDmBq4H1Vo+ +46nzHxhd63my0DRGLKl82zpKmvsmA4= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20260515 header.b=NzH7mElV; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf09.hostedemail.com: domain of aneesh.kumar@kernel.org designates 172.234.252.31 as permitted sender) smtp.mailfrom=aneesh.kumar@kernel.org Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 24F5543E69; Wed, 2 Dec 2026 09:55:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58BBF1F00896; Wed, 2 Dec 2026 09:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796205303; bh=kUHT/9J85PF+x2Yhs0SCGy5KsmFEqRQONydWAehg5mc=; h=From:To:Cc:Subject:Date; b=NzH7mElVLW9Sbhg/tp2EB/+Rb+rfBIEVcMN2mt3x+IuwvkML3DDIb5Hsl9zLxWzaI ZjB4bi5XZRqztQuQXiisPIwoO2mNZw3EKNeL5jWRYlMlQtXMazksZXa1xn4GeqtY2K PMfXonztB3wLWeFwtYjeZ1mkioy6wQatflEndOOgh+uQA7YlVuQ1SAwp9gdGKJ3Z0k E6rZDMMtyav/SrWpbwgRoUn8NnHkKd1ZE30A09Coz3dGH/c64zHfzmnws01Rq/nDy7 WTdZwolqO0x0db4a0CZpE/YNrbeSXcmcZDUymASrZ4Mum7aj8j9p4wVRsnI5D6kEq4 UqJdmZpEurbHg== From: "Aneesh Kumar K.V (Arm)" To: linux-coco@lists.linux.dev Cc: "Aneesh Kumar K.V (Arm)" , Andrew Morton , Catalin Marinas , =?UTF-8?q?Christian=20K=C3=B6nig?= , Jason Gunthorpe , Joerg Roedel , Marc Zyngier , Marek Szyprowski , Robin Murphy , Steven Price , Sumit Semwal , Suzuki K Poulose , Will Deacon , "T.J. Mercier" , Madhavan Srinivasan , Heiko Carstens , Christian Borntraeger , Sven Schnelle , Dave Hansen , Kiryl Shutsemau , Rick Edgecombe , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Haiyang Zhang , Wei Liu , Dexuan Cui , Andy Lutomirski , Peter Zijlstra , Alexander Gordeev , Gerald Schaefer , Vasily Gorbik , x86@kernel.org, dri-devel@lists.freedesktop.org, iommu@lists.linux.dev, linaro-mm-sig@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mm@kvack.org, kvmarm@lists.linux.dev, patches@lists.linux.dev Subject: [PATCH v11 00/23] coco: guest: Add a shared-granule allocator for host-shared memory Date: Wed, 2 Dec 2026 15:24:23 +0530 Message-ID: <20261202095446.2029567-1-aneesh.kumar@kernel.org> X-Mailer: git-send-email 2.43.0 X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Stat-Signature: 4xwg7oitu89mk4a1r5rpoa1ypeuq344e X-Rspam-User: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: E884B14000D X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=4.0.1 X-HE-Tag: 1796205304-257545 X-HE-Meta: U2FsdGVkX1/nEoZgVeKVYZRR8VfoOTzDcW+4s8plmyooJB6JpQdD4TbtCvUamcWfUNzjOdhTorl25Wz0QdiI/14X1NyZWAsZZWdx7+ZWMoEFcXZxOqQAsu7n/auyr/umKen+i/Xh1x9Y1hNY+drT+k2jjjN+p9ED3/IB0drZRmP1HFY19dBb//m1MzLlvRMKKa9dUuSeQwwhUnpxG9g/qHiietc+WpOT7J8gihHIH4oEPj2vgZ6yY3LTVteY0R2/pmp17PuDWoh6Twnbp02ZOi2tEbMJMCY8pmXTtEUAn2aK+1AUzCAmsboTtwRYvUKrSuLK0sbMojwm1+tUTjCwVstBt2xJpXWuDxUmRICWgHAxZPTvQAM28A2Lgtor75Zr8HFIf0WCtDRMX6c73ivacTI8zGoAyeO8/aM3xEehDhd46m5cI2ro5jWynQfnaLlu0IbdjbIw5/NkiCwhntS65BJTjIOaMzOruT1rx8E51y9X9I2QCruKVS1ZN3x+8GgmgWnezCV1aYOaoOSDmxFxOyZS6kJ8Y+V2QTI4v6rGpCnInVtTqC2OtCAMbF9DEhUhdoWNGAyVYIcnxDBIfAi5x3hUU7Ee4Q84wH5hqs9QK9tfDuSbrHmUZVqRUkuMCgZ7cz/ycFnXYReevEI/GYNDiECw8DVREzZJTnwEdps8Eec6S73P6MfzFvKxQcE9xa5cnmvwZFEIkBXyYBiU8BG/To3KW1w3c9mnUSSQU0GTrCXVL9gH+wKad0zW4dDZprSVmcQL4G4+9CcDHvZh4g8ExCV7A1vg1LvirOke2xtdC7/JaZQjMT1F01z2wWrgfeJrxIr3gXk94WMw9y1heuMFpkV/fKSPF9pGsdihK8P/I6RMpDALt5T22zLble05EZNJ6NgKzPNGUzNhth+dxz3q+onFTqUbOuj7ww2LPC4zkTPT0Dtnu36Rtf4LrIZxpVrxuAeRdmk0qekHD787+Os fyobs2kZ 0fOtll0CaQeosi7+kb/lce1ZMD9g3lYtL2oabhEYrPzLXIH0Rpf0KHhyloaDKnmB8TcuhFeaVavbke0NLG/oWZE7eV0IAFyBKBTwLp13nn8NEQ6sRWbhQi8u+42hjs2tUZZGgpxAu8m4xeX9LBGLT/K/iE0IFQajTqg4ldNOVCo4RHkmyY5EATlNO9UC6dZ1GLZJ+STn1Rig7hcZV8k/8qjvICn+jQiawq7bPPXjR7I+iPNWoP/i/N1x0SYqflByJXiAqvEbMaOJbmZqEuJEjV9UlCS/AvU7mPs45cjLN7t1pgSEaF8RYmokJV79c+TbMweKKjSj9CC9VMP4RgirwrGJkKmwMXBubLsGHgU8WyeWCLYzyW31CO5lCQdwvYUyeUyBFo+c7ydF6VJGvAvvQayYu5NPWaWnaPgBRkM/il8n/xmQme8S6D4toGYPH08pbNBt41j7Y7Ak6LENWVtVslSR6D9mIiUbLIayQ7NwyzexVo6uDtRGWtKGPSmQA8POJMOa66z/wN6XgaqkS+N4IJZR6iut16NFmjZ2tZiJePwgaqBJldchkUOBpi7yBIpP1It7fDGqAo/IJj24ipL9AZVKIZoJ5OMUAh9fM1JbyUZyiyMjezYuxATST/xYOiY0KeZuekLbGgNHRLxpgJZ82PNM8SiOcPjiB214OIalD/Qq8bU+9DYSg/YBDoXBxVutUZyd4LMOxG+3uq7wqg1DN3Gl2sIiyaxIXNSUtu1F0mfslua7D16BVy9Gs/DngcIeYzeEkitXa86Moot1HmrwRpGOZK8AKmwt7+BA9ecgzXXyjirGXOEypVPFUccYdFJtNHUJ2FZvuEomtS+ljk+Vs1oYVxhFZFEM90aWsYTxGgsmsXythoupG6PS93zkSx4CI2pBb4ai6I+tuhHSqhJ72PfzabTeJXa6S+Rlp7R8uJrLeWnsZknkGqPmFeUYqu4ZX1213cDI+5bUP4tpMk5r/DX9h2rJY oXNKA8LP EP2Spnhuamq258RSNbB52Cz4Hw6wSrMtVLXAUd4vb5cUd5fQklVSzqkehJLxGVK9FKNJtyBA35j85sKDyd7V4tpjB8PZGusJ0goNS9LzhViv+1yjJ/eL+VAYs+avH9a/iD1xaa4K2h/eYao3WmPPRg+boHW2BByye2trP/a+tZg6T11WcXukh2ePUsmTT37QF5KgU6P7S2Z8lp6jjCp3vThxr+fu24Eg74/OUH1VwDGF2N1V2gJBBw== Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 This series tightens the alignment requirements for buffers that are shared between confidential-computing guests and the host, and adds a common allocator for host-shared memory. When a guest runs with private memory, buffers shared with the hypervisor are not only accessed by the guest. They are also accessed by the host kernel, and the host may manage the corresponding shared/private state at a granularity larger than the guest page size. Architectures such as Arm can detect incorrect accesses to Realm physical address space PFNs through GPC faults. However, relying on that as the only line of defence is fragile and can still lead to kernel crashes. The risk is especially visible for shared buffers that are later mmapped into userspace, such as guest_memfd or dma-buf backed allocations. Once userspace can access the mapping, the kernel cannot guarantee that applications will only touch the intended 4K region rather than the whole host page mapped into their address space. Those userspace addresses may also be passed back into the kernel and accessed through the linear map, resulting in a GPC fault. To avoid this, host-shared buffers must satisfy two constraints: - the address must be aligned to the CoCo shared-granule size - the size must be a multiple of that granule size The series adds a common CoCo shared-memory layer for enforcing these constraints. It provides shared-granule geometry and range-validation helpers, byte-oriented private/shared transition helpers, and alloc_cc_shared() and its node-aware variant. The allocator accepts a byte count, rounds internally to the sharing granule and a power-of-two number of pages, and returns a linear-map address. The entire allocation is shared and zeroed, with its physical base aligned to the allocation size. cc_shared_alloc_size() reports the actual size from compound-page metadata. free_cc_shared() restores the complete allocation to private state before returning it to the buddy allocator. If private state cannot be restored safely, the allocation is deliberately leaked rather than returning potentially shared memory for unrelated use. The series also makes zeroing part of private-to-shared transitions, with each architecture clearing memory at the appropriate point. Callers must therefore initialize shared buffers after the transition; existing contents are not preserved. The shared-granule size defaults to PAGE_SIZE and can be overridden by an architecture. The arm64 CCA changes to discover the host's IPA state change alignment are not included in this series. GIC ITS command queues and tables and the dma-buf system_cc_shared heap use the common allocator. DMA direct, atomic DMA pools and SWIOTLB retain their allocation paths and use checked byte rounding or transition helpers. Restricted DMA pools are checked for shared-granule alignment. Hyper-V users of set_memory_encrypted() and set_memory_decrypted() are not changed to use cc_make_shared() by this series. Those paths are not currently used by the arm64 CCA code path, and therefore are not part of the arm64 CCA IPA state change alignment problem addressed here. Notes: * Codex assisted with implementation, review and series organization. Changes from v10: https://patch.msgid.link/20261116091137.94252-1-aneesh.kumar@kernel.org * Replace page/size descriptors with byte-based alloc_cc_shared_node() and alloc_cc_shared(), returning a linear-map address. Recover the full size from compound metadata in cc_shared_alloc_size() and free_cc_shared(). * Share and zero the entire allocation. Document physical alignment and low-memory/nonmovable requirements, including without memory encryption. * Replace layout structures with cc_shared_round_size() for callers that manage their own backing memory. * Require a sleepable allocation context regardless of memory encryption. * Split architecture zeroing changes and caller cleanups into separate patches. Separate SWIOTLB alignment from transition-helper conversion. * Add a dedicated MAINTAINERS entry for CoCo memory sharing and encryption, including the common interfaces and allocator. Changes from v9: https://lore.kernel.org/all/20261104164555.3555725-1-aneesh.kumar@kernel.org * Leak allocations after failed sharing in the common allocator and SWIOTLB. * Move x86 zeroing from the AMD, TDX and Hyper-V vTOM callbacks to set_memory_decrypted(), after a successful transition * Add set_memory_decrypted_nozero() for VGA mappings, which must change memory attributes without clearing device memory. * Zero memory even when encryption is inactive in the generic, arm64 and pSeries implementations of set_memory_decrypted(). * Move pSeries zeroing after sharing. Document why pKVM and s390 must clear private contents before sharing * Drop the GIC ITS VPE L1 preallocation patch from this series. This issue predates the series and will be addressed separately. * Add mm/cc_shared.c and include/linux/cc_shared.h to the TSM MAINTAINERS entry. Changes from v8: https://lore.kernel.org/all/20260924100529.1398790-1-aneesh.kumar@kernel.org * Rebase onto the 7.4-rc1 * Move TDX and AMD (including SEV-SNP) zeroing to their finish callbacks so private-to-shared transitions clear the final shared mapping. * Clear __GFP_MOVABLE for shared allocations, which cannot be migrated. * Resolve NUMA_NO_NODE in the common ITS allocation helper to preserve placement for all ITS callers. * Stop SWIOTLB allocation retries when the reduced pool would fall below the shared granule size, avoiding an allocation retry loop. Changes from v7: https://lore.kernel.org/all/20260921144847.501151-1-aneesh.kumar@kernel.org * Add the following new patches: * "irqchip/gic-v3-its: Preallocate VPE L1 tables" * "mm: Assert CoCo shared allocations may sleep" * "mm: Zero memory during shared memory transitions" * Drop the arm64 RHI and shared granule size patches so that the series can be rebased on top of upstream to enable Shashiko review. Changes from v6: https://lore.kernel.org/all/20260904103452.1197239-1-aneesh.kumar@kernel.org * Add a common allocator and geometry/transition helpers for CoCo host-shared memory. * Convert GIC ITS, dma-direct, atomic DMA pools, and the dma-buf system_cc_shared heap to the common allocator. * Limit dma-buf scatterlist entries to the requested buffer size so rounded backing is not exposed to importers. Changes from v5: https://lore.kernel.org/all/20260706060432.1375570-1-aneesh.kumar@kernel.org * Rebased to latest kernel * Drop patch arm64: realm: Move Realm memory encryption ops to RSI code Changes from v4: https://lore.kernel.org/all/20260427063108.909019-1-aneesh.kumar@kernel.org * Rename the helpers to use CoCo terminology (mem_cc_shared_granule_size() / mem_cc_align_to_shared_granule() instead of mem_decrypt_granule_size() / mem_decrypt_align()). * Use __DMA_ATTR_ALLOC_CC_SHARED to pass CoCo shared allocation requirements down to CMA-based allocation helpers. * Add validation for restricted DMA pools to reject pools that are not aligned to the shared granule size. * Add dma-buf system heap handling for cc-shared buffers. * Split the previous combined DMA/SWIOTLB/ITS change into smaller subsystem patches covering ITS, DMA direct, SWIOTLB, restricted DMA pools, dma-buf system heap, and arm64 Realm support. * Rework arm64 Realm support by moving Realm memory encryption ops into RSI code and exposing the CCA shared granule size through arm64_mem_crypt_ops. Changes from v3: https://lore.kernel.org/all/20260309102625.2315725-1-aneesh.kumar@kernel.org * Fix build error reported by kernel test robot Changes from v2: https://lore.kernel.org/all/20251221160920.297689-1-aneesh.kumar@kernel.org * Rebase to latest kernel * Consider swiotlb always decrypted and don't align when allocating from swiotlb. Changes from v1: * Rename the helper to mem_encrypt_align * Improve the commit message * Handle DMA allocations from contiguous memory * Handle DMA allocations from the pool * swiotlb is still considered unencrypted. Support for an encrypted swiotlb pool is left as TODO and is independent of this series. Cc: Andrew Morton Cc: Catalin Marinas Cc: "Christian König" Cc: Jason Gunthorpe Cc: Joerg Roedel (AMD) Cc: Marc Zyngier Cc: Marek Szyprowski Cc: Robin Murphy Cc: Steven Price Cc: Sumit Semwal Cc: Suzuki K Poulose Cc: Will Deacon Cc: "T.J. Mercier" Cc: Madhavan Srinivasan Cc: Heiko Carstens Cc: Christian Borntraeger Cc: Sven Schnelle Cc: Dave Hansen Cc: Kiryl Shutsemau Cc: Rick Edgecombe Cc: Paolo Bonzini Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Haiyang Zhang Cc: Wei Liu Cc: Dexuan Cui Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Alexander Gordeev Cc: Gerald Schaefer Cc: Vasily Gorbik Cc: x86@kernel.org Cc: dri-devel@lists.freedesktop.org Cc: iommu@lists.linux.dev Cc: linaro-mm-sig@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-media@vger.kernel.org Cc: linux-mm@kvack.org Cc: kvmarm@lists.linux.dev Cc: patches@lists.linux.dev Aneesh Kumar K.V (Arm) (23): MAINTAINERS: Add CoCo memory sharing and encryption entry mm: Add an allocator for CoCo shared memory x86/mm: Use the non-zeroing decryption helper for VGA mappings s390/mm: Clear memory before making it shared powerpc/pseries: Clear memory after making it shared arm64: Zero memory during private-to-shared transitions x86/mm: Clear memory after successful decryption transitions mm: Document zeroing by set_memory_decrypted() and update the fallback drivers: hv: Remove redundant clearing after decryption x86/kvmclock: Avoid clearing decrypted clock memory twice dma-direct: Avoid redundant clearing of shared allocations mm: Avoid zeroing CoCo shared allocations twice irqchip/gic-v3-its: Resolve the default NUMA node explicitly irqchip/gic-v3-its: Allocate shared tables using CoCo shared memory allocator dma-contiguous: Derive shared alignment from DMA attributes dma-pool: Align shared atomic pools to the CoCo sharing granule dma-direct: Align CoCo shared DMA allocations to the shared granule size swiotlb: Align shared IO TLB pools to the shared granule size swiotlb: Use the common CoCo memory transition helpers swiotlb: Reject misaligned restricted DMA pools for CoCo guests dma-buf: system_heap: Limit scatterlist entries to the buffer size dma-buf: system_heap: Allocate shared buffers using CoCo shared memory allocator swiotlb: Make rounded shared pool capacity allocatable MAINTAINERS | 13 + arch/arm/mm/dma-mapping.c | 5 +- arch/arm64/mm/mem_encrypt.c | 8 +- arch/powerpc/platforms/pseries/svm.c | 13 +- arch/s390/mm/init.c | 7 + arch/x86/hyperv/hv_init.c | 1 - arch/x86/include/asm/set_memory.h | 1 + arch/x86/include/asm/vga.h | 4 +- arch/x86/kernel/kvmclock.c | 18 +- arch/x86/mm/pat/set_memory.c | 19 +- drivers/dma-buf/heaps/system_heap.c | 125 ++++----- drivers/firmware/arm_rmm/rsi.c | 9 + drivers/hv/connection.c | 7 - drivers/hv/hv.c | 10 +- drivers/hv/hv_common.c | 2 - drivers/iommu/dma-iommu.c | 2 +- drivers/irqchip/irq-gic-v3-its.c | 144 +++++----- drivers/virt/coco/pkvm-guest/arm-pkvm-guest.c | 11 + include/linux/cc_shared.h | 25 ++ include/linux/dma-map-ops.h | 9 +- include/linux/set_memory.h | 8 +- kernel/dma/contiguous.c | 47 +++- kernel/dma/direct.c | 78 ++++-- kernel/dma/ops_helpers.c | 2 +- kernel/dma/pool.c | 29 ++- kernel/dma/swiotlb.c | 98 ++++--- kernel/kexec_file.c | 3 +- mm/Makefile | 1 + mm/cc_shared.c | 245 ++++++++++++++++++ 29 files changed, 680 insertions(+), 264 deletions(-) create mode 100644 include/linux/cc_shared.h create mode 100644 mm/cc_shared.c base-commit: 65e4fd942f72a9dba0e4e257290c4fa1aa756854 -- 2.43.0