aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp
AgeCommit message (Expand)AuthorFilesLines
12 daysMerge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-8/+93
2026-06-16Merge tag 'v7.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds4-96/+59
2026-05-29crypto: ccp/tsm - Enable the root port after the endpointAlexey Kardashevskiy1-5/+5
2026-05-15crypto: ccp/sev-dev-tsm - bail out early when pdev->bus is NULLStepan Ionichev1-3/+10
2026-05-15crypto: ccp - Treat zero-length cert chain as query for blob lengthsSean Christopherson1-1/+2
2026-05-15crypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG)Tycho Andersen (AMD)1-29/+4
2026-05-15crypto: ccp - Do not initialize SNP for ioctl(SNP_VLEK_LOAD)Tycho Andersen (AMD)1-13/+4
2026-05-15crypto: ccp - Do not initialize SNP for ioctl(SNP_COMMIT)Tycho Andersen (AMD)1-12/+1
2026-05-15crypto: ccp - Do not initialize SNP for SEV ioctlsTycho Andersen (AMD)1-5/+2
2026-05-15crypto: ccp - Define pci_device_ids using named initializersUwe Kleine-König (The Capable Hub)1-14/+14
2026-05-13crypto/ccp: export firmware supported vm typesTycho Andersen1-0/+70
2026-05-13crypto/ccp: hoist kernel part of SNP_PLATFORM_STATUSTycho Andersen1-8/+23
2026-05-08crypto/ccp: Skip SNP_INIT if preparation failsTycho Andersen (AMD)1-1/+3
2026-05-07crypto: ccp - Initialize data during __sev_snp_init_locked()Tycho Andersen (AMD)1-3/+1
2026-05-07crypto: ccp - Check for page allocation failure correctly in TIOTycho Andersen (AMD)1-4/+8
2026-05-07crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-oneTycho Andersen (AMD)1-3/+4
2026-05-07crypto: ccp - Reverse the cleanup order in psp_dev_destroy()Tycho Andersen (AMD)1-4/+4
2026-04-16crypto: ccp - copy IV using skcipher ivsizePaul Moses1-2/+5
2026-04-16crypto: ccp: Don't attempt to copy ID to userspace if PSP command failedSean Christopherson1-0/+3
2026-04-16crypto: ccp: Don't attempt to copy PDH cert to userspace if PSP command failedSean Christopherson1-1/+7
2026-04-16crypto: ccp: Don't attempt to copy CSR to userspace if PSP command failedSean Christopherson1-1/+7
2026-04-15Merge tag 'v7.1-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds7-36/+24
2026-04-14Merge tag 'x86_sev_for_v7.1_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-27/+35
2026-04-03crypto: ccp - Replace snprintf("%s") with strscpyThorsten Blum6-18/+15
2026-03-30crypto/ccp: Update HV_FIXED page states to allow freeing of memoryTom Lendacky1-3/+10
2026-03-30crypto/ccp: Implement SNP x86 shutdownTycho Andersen (AMD)1-17/+24
2026-03-29x86/sev, crypto/ccp: Move HSAVE_PA setup to arch/x86/Tycho Andersen (AMD)1-8/+0
2026-03-29x86/sev, crypto/ccp: Move SNP init to ccp driverTycho Andersen (AMD)1-0/+2
2026-03-14crypto: ccp - simplify sev_update_firmware()Tycho Andersen (AMD)1-18/+9
2026-03-14crypto: ccp - Fix leaking the same page twiceGuenter Roeck1-3/+1
2026-02-28crypto: ccp - Fix use-after-free on error pathAlper Ak1-1/+1
2026-02-28crypto: ccp - allow callers to use HV-Fixed page API when SEV is disabledAshish Kalra1-6/+4
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds14-17/+17
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook15-18/+18
2026-02-13Merge tag 'platform-drivers-x86-v7.0-1' of git://git.kernel.org/pub/scm/linux...Linus Torvalds6-13/+86
2026-02-10Merge tag 'v7.0-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds5-38/+30
2026-02-10Merge tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2026-02-06crypto: ccp - Add sysfs attribute for boot integrityMario Limonciello2-1/+4
2026-01-30crypto/ccp: Allow multiple streams on the same root bridgeAlexey Kardashevskiy1-2/+1
2026-01-30crypto/ccp: Use PCI bridge defaults for IDEAlexey Kardashevskiy1-12/+0
2026-01-30crypto: ccp - Fix a crash due to incorrect cleanup usage of kfreeElla Ma1-1/+1
2026-01-23crypto: ccp - narrow scope of snp_range_listTycho Andersen (AMD)1-12/+1
2026-01-23crypto: ccp - Fix a case where SNP_SHUTDOWN is missedTom Lendacky1-23/+23
2026-01-23crypto: ccp - Use NULL instead of plain 0Herbert Xu1-1/+1
2026-01-21crypto: ccp - Send PSP_CMD_TEE_RING_DESTROY when PSP_CMD_TEE_RING_INIT failsMario Limonciello (AMD)1-0/+14
2026-01-21crypto: ccp - Factor out ring destroy handling to a helperMario Limonciello (AMD)1-12/+24
2026-01-21crypto: ccp - Add an S4 restore flowMario Limonciello (AMD)6-1/+47
2026-01-21crypto: ccp - Declare PSP dead if PSP_CMD_TEE_RING_INIT failsMario Limonciello (AMD)1-0/+1
2026-01-15crypto: ccp - Use new AES library APIEric Biggers1-2/+2
2025-12-06Merge tag 'tsm-for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/dev...Linus Torvalds7-10/+1464
2025-12-05Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+37
2025-12-04crypto/ccp: Fix CONFIG_PCI=n buildDan Williams1-1/+1
2025-12-03Merge tag 'v6.19-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds4-16/+24
2025-12-02crypto/ccp: Implement SEV-TIO PCIe IDE (phase1)Alexey Kardashevskiy7-2/+1459
2025-12-02ccp: Make snp_reclaim_pages and __sev_do_cmd_locked publicAlexey Kardashevskiy2-8/+5
2025-11-24crypto: ccp - use min() instead of min_t()David Laight1-1/+1
2025-11-14crypto: ccp - Add an API to return the supported SEV-SNP policy bitsTom Lendacky1-0/+37
2025-11-14crypto: ccp - Simplify with of_device_get_match_data()Krzysztof Kozlowski1-12/+1
2025-11-14crypto: ccp - Constify 'dev_vdata' memberKrzysztof Kozlowski2-3/+3
2025-11-06crypto: ccp - Add support for PCI device 0x115AMario Limonciello (AMD)1-0/+19
2025-11-05sev-dev: use override credential guardsChristian Brauner1-8/+2
2025-11-04sev-dev: use prepare credential guardChristian Brauner1-3/+3
2025-11-04sev-dev: use guard for pathChristian Brauner1-2/+1
2025-10-04Merge tag 'v6.18-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds3-19/+126
2025-10-03Merge tag 'iommu-updates-v6.18' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+10
2025-09-30Merge tag 'x86_apic_for_v6.18_rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds7-2/+572
2025-09-26Merge branches 'apple/dart', 'ti/omap', 'riscv', 'intel/vt-d' and 'amd/amd-vi...Joerg Roedel1-0/+10
2025-09-17crypto: ccp - Add AMD Seamless Firmware Servicing (SFS) driverAshish Kalra5-2/+387
2025-09-17crypto: ccp - Add new HV-Fixed page allocation/free APIAshish Kalra2-0/+185
2025-09-13crypto: ccp - Use int type to store negative error codesQianfeng Rong1-1/+2
2025-09-13crypto: ccp - Fix incorrect payload size calculation in psp_poulate_hsti()Yunseong Kim1-1/+1
2025-09-13crypto: ccp - Always pass in an error pointer to __sev_platform_shutdown_lock...Borislav Petkov (AMD)1-1/+1
2025-09-05crypto: ccp: Skip SEV and SNP INIT for kdump bootAshish Kalra1-0/+10
2025-08-22crypto: ccp - Fix typo in psp_populate_hsti function nameYunseong Kim1-2/+2
2025-08-16crypto: ccp - Remove redundant __GFP_ZEROQianfeng Rong1-1/+1
2025-08-16crypto: ccp - Fix checks for SNP_VLEK_LOAD input buffer lengthMichael Roth1-0/+1
2025-08-16crypto: ccp - Add support to enable CipherTextHiding on SNP_INIT_EXAshish Kalra1-3/+9
2025-08-16crypto: ccp - Introduce new API interface to indicate SEV-SNP Ciphertext hidi...Ashish Kalra1-0/+21
2025-08-16crypto: ccp - Add support for SNP_FEATURE_INFO commandAshish Kalra2-0/+75
2025-08-16crypto: ccp - Cache SEV platform status and platform stateAshish Kalra2-11/+14
2025-07-27crypto: ccp - reduce stack usage in ccp_run_aes_gcm_cmdArnd Bergmann1-77/+86
2025-07-07crypto: ccp - Fix crash when rebind ccp device for ccp.koMengbiao Xiong1-0/+3
2025-07-07crypto: ccp - Fix locking on alloc failure handlingAlexey Kardashevskiy1-4/+4
2025-06-23crypto: ccp - Fix SNP panic notifier unregistrationAshish Kalra1-2/+8
2025-06-13crypto: ccp - Fix dereferencing uninitialized error pointerAshish Kalra1-3/+5
2025-06-13crypto: ccp - Add missing bootloader info reg for pspv6Mario Limonciello1-0/+1
2025-05-26Merge tag 'x86-core-2025-05-25' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+2
2025-05-19crypto: ccp - Add missing tee info reg for teev2Mario Limonciello1-0/+1
2025-05-19crypto: ccp - Add missing bootloader info reg for pspv5Mario Limonciello1-0/+1
2025-05-19crypto: ccp - Add support for PCI device 0x17D8John Allen1-0/+1
2025-05-02x86/msr: Add explicit includes of <asm/msr.h>Xin Li (Intel)1-0/+1
2025-04-28crypto: ccp - Include crypto/utils.h for crypto_memneqHerbert Xu1-5/+6
2025-04-16crypto: ccp - Fix __sev_snp_shutdown_lockedAshish Kalra1-1/+1
2025-04-16crypto: ccp - Add missing header inclusionsHerbert Xu3-18/+23
2025-04-10x86/msr: Rename 'wrmsrl()' to 'wrmsrq()'Ingo Molnar1-1/+1
2025-04-08crypto: ccp - Silence may-be-uninitialized warning in sev_ioctl_do_pdh_exportHerbert Xu1-3/+3
2025-04-08crypto: ccp - Move SEV/SNP Platform initialization to KVMAshish Kalra1-13/+0
2025-04-07crypto: ccp - Add new SEV/SNP platform shutdown APIAshish Kalra1-0/+9
2025-04-07crypto: ccp - Register SNP panic notifier only if SNP is enabledAshish Kalra1-9/+13
2025-04-07crypto: ccp - Reset TMR size at SNP ShutdownAshish Kalra1-0/+3
2025-04-07crypto: ccp - Ensure implicit SEV/SNP init and shutdown in ioctlsAshish Kalra1-23/+119
2025-04-07crypto: ccp - Move dev_info/err messages for SEV/SNP init and shutdownAshish Kalra1-16/+33
2025-04-07crypto: ccp - Abort doing SEV INIT if SNP INIT failsAshish Kalra1-5/+2
2025-03-29Merge tag 'v6.15-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-6/+10
2025-02-22crypto: ccp - Add support for PCI device 0x1134Devaraj Rangasamy1-0/+1
2025-02-14crypto: ccp: Add external API interface for PSP module initializationSean Christopherson1-0/+14
2025-02-09crypto: ccp - Fix check for the primary ASP deviceTom Lendacky1-6/+9
2025-01-24Merge tag 'v6.14-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-33/+20
2024-12-14crypto: ccp - Use scoped guard for mutexMario Limonciello1-33/+20
2024-12-02sev-dev: avoid pointless cred reference count bumpChristian Brauner1-1/+1
2024-12-02tree-wide: s/revert_creds_light()/revert_creds()/gChristian Brauner1-1/+1
2024-12-02tree-wide: s/override_creds_light()/override_creds()/gChristian Brauner1-1/+1
2024-12-02tree-wide: s/revert_creds()/put_cred(revert_creds_light())/gChristian Brauner1-1/+1
2024-12-02tree-wide: s/override_creds()/override_creds_light(get_new_cred())/gChristian Brauner1-1/+1
2024-10-19crypto: drivers - Switch back to struct platform_driver::remove()Uwe Kleine-König1-1/+1
2024-09-06crypto: ccp - do not request interrupt on cmd completion when irqs disabledAmit Shah1-1/+12
2024-08-30crypto: ccp - Remove unused declaration sp_get_master()Yue Haibing1-1/+0
2024-08-30crypto: ccp - Properly unregister /dev/sev on sev PLATFORM_STATUS failurePavan Kumar Paluri1-0/+2
2024-08-24crypto: ccp - Add additional information about an SEV firmware upgradeTom Lendacky1-2/+11
2024-07-20Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+36
2024-07-17crypto: ccp: Add the SNP_VLEK_LOAD commandMichael Roth1-0/+36
2024-06-16crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_lockedKim Phillips1-1/+7
2024-06-07crypto: ccp - Move message about TSME being enabled later in initMario Limonciello2-8/+15
2024-06-07crypto: ccp - Add support for getting security attributes on some older systemsMario Limonciello6-3/+67
2024-06-07crypto: ccp - Move security attributes to their own fileMario Limonciello5-56/+89
2024-06-07crypto: ccp - Represent capabilities register as a unionMario Limonciello5-42/+42
2024-05-13Merge tag 'v6.10-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-12/+2
2024-04-12crypto: ccp - drop platform ifdef checksArnd Bergmann1-12/+2
2024-04-04x86/CPU/AMD: Track SNP host status with cc_platform_*()Borislav Petkov (AMD)1-1/+1
2024-03-15Merge tag 'v6.9-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-6/+16
2024-03-11Merge tag 'x86_sev_for_v6.9_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-81/+1076
2024-02-24crypto: ccp - Avoid discarding errors in psp_send_platform_access_msg()Mario Limonciello1-2/+9
2024-02-17crypto: ccp - State in dmesg that TSME is enabledBorislav Petkov (AMD)1-4/+7
2024-02-13crypto: ccp - Have it depend on AMD_IOMMUBorislav Petkov (AMD)1-1/+1
2024-02-03crypto: ccp: Make snp_range_list staticBorislav Petkov (AMD)1-1/+1
2024-02-02crypto: ccp - Fix null pointer dereference in __sev_platform_shutdown_lockedKim Phillips1-2/+8
2024-01-29crypto: ccp: Add the SNP_SET_CONFIG commandBrijesh Singh1-0/+20
2024-01-29crypto: ccp: Add the SNP_COMMIT commandTom Lendacky1-0/+17
2024-01-29crypto: ccp: Add the SNP_PLATFORM_STATUS commandBrijesh Singh1-0/+52
2024-01-29crypto: ccp: Add panic notifier for SEV/SNP firmware shutdown on kdumpAshish Kalra1-30/+81
2024-01-29iommu/amd: Clean up RMP entries for IOMMU pages during SNP shutdownAshish Kalra1-0/+20
2024-01-29crypto: ccp: Handle legacy SEV commands when SNP is enabledBrijesh Singh2-10/+416
2024-01-29crypto: ccp: Handle non-volatile INIT_EX data when SNP is enabledTom Lendacky1-19/+48
2024-01-29crypto: ccp: Handle the legacy TMR allocation when SNP is enabledBrijesh Singh1-26/+167
2024-01-29crypto: ccp: Provide an API to issue SEV and SNP commandsBrijesh Singh1-1/+2
2024-01-29crypto: ccp: Add support to initialize the AMD-SP for SEV-SNPBrijesh Singh2-20/+262
2024-01-29crypto: ccp: Define the SEV-SNP commandsBrijesh Singh1-0/+16
2024-01-10Merge tag 'v6.8-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-19/+4
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-1/+1
2023-12-08crypto: ccp - Remove cfb and ofbHerbert Xu1-18/+0
2023-12-08crypto: ccp - fix memleak in ccp_init_dm_workareaDinghao Liu1-1/+4
2023-10-27crypto: ccp/sp - Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-10-20crypto: ccp - Dump SEV command buffer registers on SEV command errorJohn Allen1-0/+14
2023-09-15crypto: ccp - Add support for DBC over PSP mailboxMario Limonciello4-29/+64
2023-09-15crypto: ccp - Add a macro to check capabilities registerMario Limonciello3-5/+6
2023-09-15crypto: ccp - Add a communication path abstraction for DBCMario Limonciello2-38/+26
2023-09-15crypto: ccp - Add support for extended PSP mailbox commandsMario Limonciello2-0/+45
2023-09-15crypto: ccp - Move direct access to some PSP registers out of TEETom Lendacky6-58/+104
2023-09-15crypto: ccp - Get a free page to use while fetching initial nonceMario Limonciello1-1/+1
2023-07-20crypto: ccp - Add support for getting and setting DBC parametersMario Limonciello2-0/+47
2023-07-20crypto: ccp - Add support for setting user ID for dynamic boost controlMario Limonciello2-0/+24
2023-07-20crypto: ccp - Add support for fetching a nonce for dynamic boost controlMario Limonciello7-1/+253
2023-07-20crypto: ccp - move setting PSP master to earlier in the initMario Limonciello1-3/+7
2023-07-20crypto: ccp - Add bootloader and TEE version offsetsMario Limonciello1-0/+5
2023-07-20crypto: ccp - Add support for displaying PSP firmware versionsMario Limonciello2-0/+66
2023-07-20crypto: ccp - Rename macro for security attributesMario Limonciello1-13/+13
2023-06-02crypto: ccp - Add support for PCI device 0x156EJohn Allen1-0/+15
2023-06-02crypto: ccp - Add support for PCI device 0x17E0Mario Limonciello1-0/+28
2023-06-02crypto: ccp - Validate that platform access mailbox registers are declaredMario Limonciello1-0/+5
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-04-26Merge tag 'v6.4-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds10-47/+311
2023-04-14crypto: ccp - Use lower 8 bytes to communicate with doorbell command registerMario Limonciello1-2/+3
2023-04-14crypto: ccp - Return doorbell status code as an argumentMario Limonciello1-1/+3
2023-04-14crypto: ccp - Bump up doorbell debug message to errorMario Limonciello1-1/+1
2023-04-14crypto: ccp - Drop extra doorbell checksMario Limonciello1-20/+0
2023-04-14crypto: ccp - Don't initialize CCP for PSP 0x1649Mario Limonciello1-1/+1
2023-04-06crypto: ccp - Clear PSP interrupt status register before calling handlerJeremi Piotrowski1-3/+3
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-1/+1
2023-03-21crypto: ccp: Get rid of __sev_platform_init_locked()'s local function pointerBorislav Petkov (AMD)1-6/+10
2023-03-21crypto: ccp - Name -1 return value as SEV_RET_NO_FW_CALLPeter Gonda1-3/+5
2023-03-17crypto: ccp - Add support for ringing a platform doorbellMario Limonciello4-0/+72
2023-03-17crypto: ccp - Enable platform access interface on client PSP partsMario Limonciello1-0/+7
2023-03-17crypto: ccp - Add support for an interface for platform featuresMario Limonciello6-1/+227
2023-03-17crypto: ccp - Move some PSP mailbox bit definitions into common headerMario Limonciello4-19/+16
2023-03-17crypto: ccp - Add a header for multiple drivers to use `__psp_pa`Mario Limonciello2-1/+2
2023-03-17crypto: ccp - Drop TEE support for IRQ handlerMario Limonciello2-22/+0
2023-02-13crypto: ccp - Use request_complete helpersHerbert Xu1-6/+6
2023-02-03crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmwareTom Lendacky1-1/+5
2023-01-27crypto: ccp - Add a firmware definition for EPYC gen 4 processorsTom Lendacky1-0/+1
2023-01-27crypto: ccp - Provide MMIO register naming for documenationTom Lendacky1-23/+23
2023-01-20crypto: ccp - Failure on re-initialization due to duplicate sysfs filenameKoba Ko1-4/+17
2023-01-06crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2David Rientjes1-1/+8
2022-12-09crypto: ccp - Set DMA alignment explicitlyHerbert Xu8-71/+76
2022-10-21crypto: ccp - Add support for TEE for PCI ID 0x14CAMario Limonciello1-1/+10
2022-10-21crypto: ccp - Remove unused struct ccp_crypto_cpuYuan Can1-7/+0
2022-10-21crypto: ccp - Add __init/__exit annotations to module init/exit funcsruanjinjie1-2/+2
2022-09-30crypto: ccp - Remove the unneeded result variableye xingchen1-4/+1
2022-09-09crypto: ccp - Release dma channels before dmaengine unrgisterKoba Ko1-1/+5
2022-08-26crypto: ccp - Fail the PSP initialization when writing psp data file failedJacky Li1-11/+15
2022-08-26crypto: ccp - Initialize PSP when reading psp data file failedJacky Li1-14/+22