cpuctl.c (685dc743dc3b5645e34836464128e1c0558b404b) | cpuctl.c (ebaea1bcd2eb0aa90937637ed305184b6fedc69b) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2006-2008 Stanislav Sedov <stas@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 532 unchanged lines hidden (view full) --- 541 hw_ssb_recalculate(true); 542#ifdef __amd64__ 543 amd64_syscall_ret_flush_l1d_recalc(); 544 pmap_allow_2m_x_ept_recalculate(); 545#endif 546 hw_mds_recalculate(); 547 x86_taa_recalculate(); 548 x86_rngds_mitg_recalculate(true); | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2006-2008 Stanislav Sedov <stas@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 532 unchanged lines hidden (view full) --- 541 hw_ssb_recalculate(true); 542#ifdef __amd64__ 543 amd64_syscall_ret_flush_l1d_recalc(); 544 pmap_allow_2m_x_ept_recalculate(); 545#endif 546 hw_mds_recalculate(); 547 x86_taa_recalculate(); 548 x86_rngds_mitg_recalculate(true); |
549 zenbleed_check_and_apply(true); |
|
549 printcpuinfo(); 550 return (0); 551} 552 553int 554cpuctl_open(struct cdev *dev, int flags, int fmt __unused, struct thread *td) 555{ 556 int ret = 0; --- 46 unchanged lines hidden --- | 550 printcpuinfo(); 551 return (0); 552} 553 554int 555cpuctl_open(struct cdev *dev, int flags, int fmt __unused, struct thread *td) 556{ 557 int ret = 0; --- 46 unchanged lines hidden --- |