File tree Expand file tree Collapse file tree 7 files changed +98
-16
lines changed
Expand file tree Collapse file tree 7 files changed +98
-16
lines changed Original file line number Diff line number Diff line change 225225 2018 SUSE LLC
226226License: GNU Affero General Public License, Version 3
227227
228- Files: src/arch/*s390x*, src/ common/*s390x*
228+ Files: src/common/*s390x*
229229Copyright: 2024 IBM <
[email protected] >
230- License: GNU General Public License, version 2
231- Apache License, version 2.0
230+ License: Apache License, version 2.0
Original file line number Diff line number Diff line change 1- #include <sys/auxv.h>
1+ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2+ // vim: ts=8 sw=2 smarttab
3+ /*
4+ * Ceph - scalable distributed file system
5+ *
6+ * Copyright 2024 IBM Corporation
7+ *
8+ * This is free software; you can redistribute it and/or modify it under the
9+ * terms of the GNU Lesser General Public License version 2.1, as published by
10+ * the Free Software Foundation. See file COPYING.
11+ */
12+
13+ #include < sys/auxv.h>
214
315#include " arch/s390x.h"
416#include " arch/probe.h"
Original file line number Diff line number Diff line change 1+ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2+ // vim: ts=8 sw=2 smarttab
3+ /*
4+ * Ceph - scalable distributed file system
5+ *
6+ * Copyright 2024 IBM Corporation
7+ *
8+ * This is free software; you can redistribute it and/or modify it under the
9+ * terms of the GNU Lesser General Public License version 2.1, as published by
10+ * the Free Software Foundation. See file COPYING.
11+ */
12+
113#ifndef CEPH_ARCH_S390X_H
214#define CEPH_ARCH_S390X_H
315
Original file line number Diff line number Diff line change 11/*
2- * CRC-32 algorithm implemented with the z/Architecture
3- * Vector Extension Facility.
2+ * CRC-32 algorithm implemented with the z/Architecture Vector Extension
3+ * Facility.
4+ *
5+ * Copyright 2024 IBM Corporation
6+ *
7+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
8+ * use this file except in compliance with the License. You may obtain a copy
9+ * of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+ * License for the specific language governing permissions and limitations
17+ * under the License.
18+ *
419 *
5- * Copyright IBM Corp. 2024
620 * Author(s): Hendrik Brueckner <[email protected] > 721 * Anton Blanchard <[email protected] > 8229231024 * Aliaksei Makarau <[email protected] > 1125 */
26+
1227#include <sys/types.h>
1328#include <endian.h>
1429#include "crc32c_s390x.h"
Original file line number Diff line number Diff line change 1+ /*
2+ * CRC-32 algorithm implemented with the z/Architecture Vector Extension
3+ * Facility.
4+ *
5+ * Copyright 2024 IBM Corporation
6+ *
7+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
8+ * use this file except in compliance with the License. You may obtain a copy
9+ * of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+ * License for the specific language governing permissions and limitations
17+ * under the License.
18+ */
19+
120#ifndef CEPH_COMMON_CRC32C_S390X_H
221#define CEPH_COMMON_CRC32C_S390X_H
322
Original file line number Diff line number Diff line change 11/*
22 * Hardware-accelerated CRC-32 variants for Linux on z Systems
33 *
4- * Use the z/Architecture Vector Extension Facility to accelerate the
5- * computing of bit-reflected CRC-32 checksums for IEEE 802.3 Ethernet
6- * and Castagnoli.
4+ * Use the z/Architecture Vector Extension Facility to accelerate the computing
5+ * of bit-reflected CRC-32 checksums for IEEE 802.3 Ethernet and Castagnoli.
76 *
8- * This CRC-32 implementation algorithm is bit-reflected and processes
9- * the least-significant bit first (Little-Endian).
7+ * This CRC-32 implementation algorithm is bit-reflected and processes the
8+ * least-significant bit first (Little-Endian).
9+ *
10+ * Copyright 2015 IBM Corporation
11+ *
12+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
13+ * use this file except in compliance with the License. You may obtain a copy
14+ * of the License at
15+ *
16+ * http://www.apache.org/licenses/LICENSE-2.0
17+ *
18+ * Unless required by applicable law or agreed to in writing, software
19+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
20+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
21+ * License for the specific language governing permissions and limitations
22+ * under the License.
1023 *
11- * Copyright IBM Corp. 2015
1224 * Author(s): Hendrik Brueckner <[email protected] > 1325 */
1426
Original file line number Diff line number Diff line change 11/*
22 * Support for Vector Instructions
33 *
4- * Assembler macros to generate .byte/.word code for particular
5- * vector instructions that are supported by recent binutils.
4+ * Assembler macros to generate .byte/.word code for particular vector
5+ * instructions that are supported by recent binutils.
6+ *
7+ * Copyright 2015 IBM Corporation
8+ *
9+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
10+ * use this file except in compliance with the License. You may obtain a copy
11+ * of the License at
12+ *
13+ * http://www.apache.org/licenses/LICENSE-2.0
14+ *
15+ * Unless required by applicable law or agreed to in writing, software
16+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+ * License for the specific language governing permissions and limitations
19+ * under the License.
620 *
7- * Copyright IBM Corp. 2015
821 * Author(s): Hendrik Brueckner <[email protected] > 922 */
1023
You can’t perform that action at this time.
0 commit comments