firmware.c (762f99f4f3cb41a775b5157dd761217beba65873) firmware.c (3c14b73454cf9f6e2146443fdfbdfb912c0efed3)
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)

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

61 {FW_FEATURE_SPLPAR, "hcall-splpar"},
62 {FW_FEATURE_VPHN, "hcall-vphn"},
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"},
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)

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

61 {FW_FEATURE_SPLPAR, "hcall-splpar"},
62 {FW_FEATURE_VPHN, "hcall-vphn"},
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"},
69};
70
71/* Build up the firmware features bitmask using the contents of
72 * device-tree/ibm,hypertas-functions. Ultimately this functionality may
73 * be moved into prom.c prom_init().
74 */
75static void __init fw_hypertas_feature_init(const char *hypertas,
76 unsigned long len)

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

--- 112 unchanged lines hidden ---