/openbmc/linux/arch/s390/hypfs/ |
H A D | hypfs_diag0c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Diag 0C implementation 12 #include <asm/diag.h> 28 * Allocate buffer and store diag 0c data 42 /* Note: Diag 0c needs 8 byte alignment and real storage */ in diag0c_store() 50 diag0c_data->entry[i].cpu = cpu; in diag0c_store() 51 cpu_vec[cpu] = &diag0c_data->entry[i++]; in diag0c_store() 64 return ERR_PTR(-ENOMEM); in diag0c_store() 68 * Hypfs DBFS callback: Free diag 0c data 76 * Hypfs DBFS callback: Create diag 0c data [all …]
|
H A D | hypfs_diag.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hypervisor filesystem for Linux on s390. Diag 204 and 224 19 #include <asm/diag.h> 27 static enum diag204_format diag204_info_type; /* used diag 204 data format */ 46 * For the old diag subcode 4 with simple data format we have to use real 70 return ERR_PTR(-EOPNOTSUPP); in diag204_get_buffer() 76 return ERR_PTR(-ENOMEM); in diag204_get_buffer() 84 * - subcode 4 + simple data format (only one page) 85 * - subcode 4-6 + extended data format 86 * - subcode 4-7 + extended data format [all …]
|
H A D | hypfs_vm.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <asm/diag.h> 40 rc = -1; in diag2fc() 44 " diag %0,%1,0x2fc\n" in diag2fc() 49 if ((rc != 0 ) && (rc != -2)) in diag2fc() 52 return -residual_cnt; in diag2fc() 56 * Allocate buffer for "query" and store diag 2fc at "offset" 66 return ERR_PTR(-EACCES); in diag2fc_store() 69 return ERR_PTR(-ENOMEM); in diag2fc_store() 86 u16 version; /* Version of header */ member [all …]
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | asi.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 37 /* SPARCstation-5: only 6 bits are decoded. */ 69 /* Block-copy operations are available only on certain V8 cpus. */ 79 /* Block-fill operations are available on certain V8 cpus */ 83 * the available ASI's for physical ram pass-through, but I don't have 89 #define ASI_M_VMEUS 0x2A /* VME user 16-bit access */ 90 #define ASI_M_VMEPS 0x2B /* VME priv 16-bit access */ 91 #define ASI_M_VMEUT 0x2C /* VME user 32-bit access */ 92 #define ASI_M_VMEPT 0x2D /* VME priv 32-bit access */ 137 #define ASI_PL 0x88 /* Primary, implicit, l-endian */ [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | appldata.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <asm/diag.h> 23 u16 diag; member 38 u16 version_nr; /* version */ 52 return -EOPNOTSUPP; in appldata_asm() 53 parm_list->diag = 0xdc; in appldata_asm() 54 parm_list->function = fn; in appldata_asm() 55 parm_list->parlist_length = sizeof(*parm_list); in appldata_asm() 56 parm_list->buffer_length = length; in appldata_asm() 57 parm_list->product_id_addr = (unsigned long) id; in appldata_asm() [all …]
|
H A D | diag.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <asm/asm-extable.h> 55 end_addr = pfn_to_phys(start_pfn + num_pfn - 1); in diag10_range() 59 "0: diag %0,%1,0x10\n" in diag10_range() 99 /* bit is set in flags, when physical cpu info is included in diag 204 data */ 101 #define DIAG204_LPAR_NAME_LEN 8 /* lpar name len in diag 204 data */ 104 /* diag 204 subcodes */ 114 /* The two available diag 204 data formats */ 273 u32 version; member 308 u32 version; member
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_diag.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * zfcp_diag_adapter_setup() - Setup storage for adapter diagnostics. 26 * Creates the data-structures to store the diagnostics for an adapter. This 27 * overwrites whatever was stored before at &zfcp_adapter->diagnostics! 30 * * 0 - Everyting is OK 31 * * -ENOMEM - Could not allocate all/parts of the data-structures; 32 * &zfcp_adapter->diagnostics remains unchanged 36 struct zfcp_diag_adapter *diag; in zfcp_diag_adapter_setup() local 39 diag = kzalloc(sizeof(*diag), GFP_KERNEL); in zfcp_diag_adapter_setup() 40 if (diag == NULL) in zfcp_diag_adapter_setup() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | text_amode31.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <asm/asm-extable.h> 15 * Simplified version of expoline thunk. The normal thunks can not be used here, 18 * affects a few functions that are not performance-relevant. 34 lhi %r5,-EIO 36 diag %r1,%r2,0x14 52 lhi %r2,-1 54 diag %r1,%r0,0x210 71 diag %r2,%r4,0x8c 82 lghi %r5,-EOPNOTSUPP [all …]
|
H A D | cpcmd.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * S390 version 20 #include <asm/diag.h> 30 " diag %[rx],%[ry],0x8\n" in diag8_noresponse() 47 " diag %[rx],%[ry],0x8\n" in diag8_response() 62 * - __cpcmd is unlocked and therefore not SMP-safe 100 return -ENOMEM; in cpcmd()
|
H A D | diag.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <asm/asm-extable.h> 16 #include <asm/diag.h> 17 #include <asm/trace/diag.h> 42 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" }, 44 [DIAG_STAT_X224] = { .code = 0x224, .name = "EBCDIC-Name Table" }, 46 [DIAG_STAT_X258] = { .code = 0x258, .name = "Page-Reference Services" }, 51 [DIAG_STAT_X304] = { .code = 0x304, .name = "Partition-Resource Service" }, 52 [DIAG_STAT_X308] = { .code = 0x308, .name = "List-Directed IPL" }, 53 [DIAG_STAT_X318] = { .code = 0x318, .name = "CP Name and Version Codes" }, [all …]
|
H A D | cert_store.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DIAG 0x320 support and certificate store handling 16 #include <linux/key-type.h> 25 #include <keys/user-type.h> 27 #include <asm/diag.h> 65 u8 version; member 114 u8 version; member 140 strscpy(ascii, key->description, sizeof(ascii)); in cert_store_key_describe() 144 seq_puts(m, &key->description[VC_NAME_LEN_BYTES]); in cert_store_key_describe() 146 seq_printf(m, ": %u", key->datalen); in cert_store_key_describe() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | eccmemctl.c | 27 #include "hw/qdev-properties.h" 35 * MCC (version 0, implementation 0) SS-600MP 36 * EMC (version 0, implementation 1) SS-10 37 * SMC (version 0, implementation 2) SS-10SX and SS-20 40 * "Sun-4M System Architecture (revision 2.0) by Chuck Narad", 950-1373-01, 75 #define ECC_MER_VER 0x0f000000 /* Version */ 77 #define ECC_MER_MASK_0 0x00000103 /* Version 0 (MCC) mask */ 78 #define ECC_MER_MASK_1 0x00000bff /* Version 1 (EMC) mask */ 79 #define ECC_MER_MASK_2 0x00000bff /* Version 2 (SMC) mask */ 102 #define ECC_MFAR0_PADDR 0x0000000f /* PA[32-35] */ [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 31 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->ioc_timer, \ 33 #define bfa_ioc_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->ioc_timer) 36 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->hb_timer, \ 38 #define bfa_hb_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->hb_timer) 55 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc)) 57 ((__ioc)->ioc_hwif->ioc_firmware_unlock(__ioc)) [all …]
|
H A D | bfa_ioc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 21 (sizeof(struct bfa_trc_mod_s) - \ 111 dm_ptr->mem_len = seg_sz; in bfa_mem_dma_setup() 113 list_add_tail(&dm_ptr->qe, &meminfo->dma_info.qe); in bfa_mem_dma_setup() 120 kva_ptr->mem_len = seg_sz; in bfa_mem_kva_setup() 122 list_add_tail(&kva_ptr->qe, &meminfo->kva_info.qe); in bfa_mem_kva_setup() 126 #define bfa_mem_dma_sptr(_mod, _i) (&(_mod)->dma_seg[(_i)]) [all …]
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.h | 6 * Copyright (C) 2012-2014 LSI Corporation 7 * Copyright (C) 2013-2014 Avago Technologies 8 * (mailto: MPT-FusionLinux.pdl@avagotech.com) 12 * as published by the Free Software Foundation; either version 2 13 * of the License, or (at your option) any later version. 23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 42 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 88 /* diag buffer support */ 111 * struct mpt3_ioctl_header - main header structure 112 * @ioc_number - IOC unit number [all …]
|
/openbmc/linux/kernel/debug/kdb/ |
H A D | kdb_main.c | 8 * Copyright (C) 1999-2004 Silicon Graphics, Inc. All Rights Reserved. 71 int kdb_initial_cpu = -1; /* cpu number that owns kdb */ 135 * mechanisms in the kernel, so we use a very limited allocate-only 162 if ((task_thread_info(p)->flags & _TIF_MCA_INIT) && KDB_TSK(cpu)) in kdb_curr_task() 163 p = krp->p; in kdb_curr_task() 177 * the user on first-time debugger entry. 208 /* De-compose KDB_ENABLE_ALL if required */ in kdb_check_for_lockdown() 241 * kdbgetenv - This function will return the character string value of 272 * kdballocenv - This function is used to allocate bytes for 294 if ((KDB_ENVBUFSIZE - envbufsize) >= bytes) { in kdballocenv() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/3com/ |
H A D | vortex.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 Don is no longer the prime maintainer of this version of the driver. 20 - Andrew Morton 21 - Netdev mailing list <netdev@vger.kernel.org> 22 - Linux kernel mailing list <linux-kernel@vger.kernel.org> 28 Since kernel 2.3.99-pre6, this driver incorporates the support for the 29 3c575-series Cardbus cards which used to be handled by 3c575_cb.c. 33 - 3c590 Vortex 10Mbps 34 - 3c592 EISA 10Mbps Demon/Vortex 35 - 3c597 EISA Fast Demon/Vortex [all …]
|
/openbmc/linux/net/tipc/ |
H A D | diag.c | 2 * net/tipc/diag.c: TIPC socket diag 20 * GNU General Public License ("GPL") version 2 as published by the Free 53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag() 60 return -EMSGSIZE; in __tipc_add_sock_diag() 62 err = tipc_sk_fill_sock_diag(skb, cb, tsk, req->tidiag_states, in __tipc_add_sock_diag() 80 struct net *net = sock_net(skb->sk); in tipc_sock_diag_handler_dump() 83 return -EINVAL; in tipc_sock_diag_handler_dump() 85 if (h->nlmsg_flags & NLM_F_DUMP) { in tipc_sock_diag_handler_dump() 91 netlink_dump_start(net->diag_nlsk, skb, h, &c); in tipc_sock_diag_handler_dump() 94 return -EOPNOTSUPP; in tipc_sock_diag_handler_dump()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | helper.h | 8 * This work is licensed under the terms of the GNU GPL, version 2 or (at 9 * your option) any later version. See the COPYING file in the top-level 16 #include "s390-ccw.h" 17 #include "s390-time.h" 34 asm volatile ("diag %%r0,%%r0,0x44" in yield()
|
H A D | iplb.h | 7 * This work is licensed under the terms of the GNU GPL, version 2 or (at 8 * your option) any later version. See the COPYING file in the top-level 36 asm volatile ("diag %0,%2,0x308\n" in manage_iplb() 70 qipl.chain_len--; in load_next_iplb()
|
/openbmc/openbmc-test-automation/docs/ |
H A D | openbmc_test_tools.md | 5 IPMItool version 1.8.18 or later. 8 $ ipmitool -V 9 ipmitool version 1.8.18 16 [README](https://github.com/open-power/HTX) 21 [README](https://github.com/openbmc/phosphor-logging/blob/master/README.md#remote-logging-via-rsysl… 25 Pre-requisite: A Power Linux system is required. 27 - Obtain the SEL (System Error Log) parser tools: 29 - Go to https://openpower.xyz/job/openpower/job/openpower-op-build/ 30 - Click the link for the BMC system of interest (e.g. witherspoon) 31 - Click the "host_fw_debug.tar" link in order to download the tar file. [all …]
|
/openbmc/linux/include/uapi/scsi/ |
H A D | scsi_bsg_mpi3mr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ 5 * Copyright (C) 2017-2022 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 87 * struct mpi3_driver_info_layout - Information about driver 93 * @driver_version: Driver version 109 * struct mpi3mr_bsg_in_adpinfo - Adapter information request 123 * @app_intfc_ver: version of the application interface definition 127 * @driver_info: Driver Information (Version/Name) 150 * struct mpi3mr_bsg_adp_reset - Adapter reset request 164 * struct mpi3mr_change_count - Topology change count [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | gen_tcg_func_table.py | 4 ## Copyright(c) 2019-2024 Qualcomm Innovation Center, Inc. All Rights Reserved. 8 ## the Free Software Foundation; either version 2 of the License, or 9 ## (at your option) any later version. 32 with open(sys.argv[-1], "w") as f: 44 ## Skip the diag instructions
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 infrastructure shall provide a non-volatile memory with a table whose the 17 number, hardware version, mac addresses, etc). The underlying device type 26 const: onie,tlv-layout 28 product-name: 32 part-number: [all …]
|
/openbmc/linux/drivers/pcmcia/ |
H A D | ti113x.h | 5 * Version 1.1 (the "License"); you may not use this file except in 19 * terms of the GNU General Public License version 2 (the "GPL"), in which 21 * above. If you wish to allow the use of your version of this file 23 * your version of this file under the MPL, indicate your decision by 26 * provisions above, a recipient may use your version of this file 34 /* Register definitions for TI 113X PCI-to-CardBus bridges */ 166 #define ti_sysctl(socket) ((socket)->private[0]) 167 #define ti_cardctl(socket) ((socket)->private[1]) 168 #define ti_devctl(socket) ((socket)->private[2]) 169 #define ti_diag(socket) ((socket)->private[3]) [all …]
|