firmware.c (4f2c0a4acffbec01079c28f839422e64ddeff004) firmware.c (df9cad09493808dca7d16a2fbcac1a78e8d412af)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * pSeries firmware setup code.
4 *
5 * Portions from arch/powerpc/platforms/pseries/setup.c:
6 * Copyright (C) 1995 Linus Torvalds
7 * Adapted from 'alpha' version by Gary Thomas
8 * Modified by Cort Dougan (cort@cs.nmt.edu)

--- 54 unchanged lines hidden (view full) ---

63 {FW_FEATURE_SET_MODE, "hcall-set-mode"},
64 {FW_FEATURE_BEST_ENERGY, "hcall-best-energy-1*"},
65 {FW_FEATURE_HPT_RESIZE, "hcall-hpt-resize"},
66 {FW_FEATURE_BLOCK_REMOVE, "hcall-block-remove"},
67 {FW_FEATURE_PAPR_SCM, "hcall-scm"},
68 {FW_FEATURE_RPT_INVALIDATE, "hcall-rpt-invalidate"},
69 {FW_FEATURE_ENERGY_SCALE_INFO, "hcall-energy-scale-info"},
70 {FW_FEATURE_WATCHDOG, "hcall-watchdog"},
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * pSeries firmware setup code.
4 *
5 * Portions from arch/powerpc/platforms/pseries/setup.c:
6 * Copyright (C) 1995 Linus Torvalds
7 * Adapted from 'alpha' version by Gary Thomas
8 * Modified by Cort Dougan (cort@cs.nmt.edu)

--- 54 unchanged lines hidden (view full) ---

63 {FW_FEATURE_SET_MODE, "hcall-set-mode"},
64 {FW_FEATURE_BEST_ENERGY, "hcall-best-energy-1*"},
65 {FW_FEATURE_HPT_RESIZE, "hcall-hpt-resize"},
66 {FW_FEATURE_BLOCK_REMOVE, "hcall-block-remove"},
67 {FW_FEATURE_PAPR_SCM, "hcall-scm"},
68 {FW_FEATURE_RPT_INVALIDATE, "hcall-rpt-invalidate"},
69 {FW_FEATURE_ENERGY_SCALE_INFO, "hcall-energy-scale-info"},
70 {FW_FEATURE_WATCHDOG, "hcall-watchdog"},
71 {FW_FEATURE_PLPKS, "hcall-pks"},
71};
72
73/* Build up the firmware features bitmask using the contents of
74 * device-tree/ibm,hypertas-functions. Ultimately this functionality may
75 * be moved into prom.c prom_init().
76 */
77static void __init fw_hypertas_feature_init(const char *hypertas,
78 unsigned long len)

--- 112 unchanged lines hidden ---
72};
73
74/* Build up the firmware features bitmask using the contents of
75 * device-tree/ibm,hypertas-functions. Ultimately this functionality may
76 * be moved into prom.c prom_init().
77 */
78static void __init fw_hypertas_feature_init(const char *hypertas,
79 unsigned long len)

--- 112 unchanged lines hidden ---