gaccess.c (1260ed77798502de9c98020040d2995008de10cc) gaccess.c (d6c8097803cbc3bb8d875baef542e6d77d10c203)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * guest access functions
4 *
5 * Copyright IBM Corp. 2014
6 *
7 */
8
9#include <linux/vmalloc.h>
10#include <linux/mm_types.h>
11#include <linux/err.h>
12#include <linux/pgtable.h>
13#include <linux/bitfield.h>
14#include <asm/access-regs.h>
15#include <asm/fault.h>
16#include <asm/gmap.h>
17#include <asm/dat-bits.h>
18#include "kvm-s390.h"
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * guest access functions
4 *
5 * Copyright IBM Corp. 2014
6 *
7 */
8
9#include <linux/vmalloc.h>
10#include <linux/mm_types.h>
11#include <linux/err.h>
12#include <linux/pgtable.h>
13#include <linux/bitfield.h>
14#include <asm/access-regs.h>
15#include <asm/fault.h>
16#include <asm/gmap.h>
17#include <asm/dat-bits.h>
18#include "kvm-s390.h"
19#include "gmap.h"
20#include "gaccess.h"
21
19#include "gaccess.h"
20
21#define GMAP_SHADOW_FAKE_TABLE 1ULL
22
22/*
23 * vaddress union in order to easily decode a virtual address into its
24 * region first index, region second index etc. parts.
25 */
26union vaddress {
27 unsigned long addr;
28 struct {
29 unsigned long rfx : 11;

--- 1475 unchanged lines hidden ---
23/*
24 * vaddress union in order to easily decode a virtual address into its
25 * region first index, region second index etc. parts.
26 */
27union vaddress {
28 unsigned long addr;
29 struct {
30 unsigned long rfx : 11;

--- 1475 unchanged lines hidden ---