-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Linus Torvalds
committed
Jul 30, 2008
1 parent
347738b
commit 37800bb
Showing
136 changed files
with
12,294 additions
and
4,917 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: ce0ad7f0952581ba75ab6aee55bb1ed9bb22cf4f | ||
refs/heads/master: 660fc1f4d88b0f5e4bb936e4a5a9b95b70df9e58 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,4 @@ int is_uv_system(void) | |
{ | ||
return uv_system_type != UV_NONE; | ||
} | ||
EXPORT_SYMBOL_GPL(is_uv_system); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
obj-$(CONFIG_SGI_GRU) := gru.o | ||
gru-y := grufile.o grumain.o grufault.o grutlbpurge.o gruprocfs.o grukservices.o | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation; either version 2.1 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#ifndef __GRU_H__ | ||
#define __GRU_H__ | ||
|
||
/* | ||
* GRU architectural definitions | ||
*/ | ||
#define GRU_CACHE_LINE_BYTES 64 | ||
#define GRU_HANDLE_STRIDE 256 | ||
#define GRU_CB_BASE 0 | ||
#define GRU_DS_BASE 0x20000 | ||
|
||
/* | ||
* Size used to map GRU GSeg | ||
*/ | ||
#if defined CONFIG_IA64 | ||
#define GRU_GSEG_PAGESIZE (256 * 1024UL) | ||
#elif defined CONFIG_X86_64 | ||
#define GRU_GSEG_PAGESIZE (256 * 1024UL) /* ZZZ 2MB ??? */ | ||
#else | ||
#error "Unsupported architecture" | ||
#endif | ||
|
||
/* | ||
* Structure for obtaining GRU resource information | ||
*/ | ||
struct gru_chiplet_info { | ||
int node; | ||
int chiplet; | ||
int blade; | ||
int total_dsr_bytes; | ||
int total_cbr; | ||
int total_user_dsr_bytes; | ||
int total_user_cbr; | ||
int free_user_dsr_bytes; | ||
int free_user_cbr; | ||
}; | ||
|
||
/* Flags for GRU options on the gru_create_context() call */ | ||
/* Select one of the follow 4 options to specify how TLB misses are handled */ | ||
#define GRU_OPT_MISS_DEFAULT 0x0000 /* Use default mode */ | ||
#define GRU_OPT_MISS_USER_POLL 0x0001 /* User will poll CB for faults */ | ||
#define GRU_OPT_MISS_FMM_INTR 0x0002 /* Send interrupt to cpu to | ||
handle fault */ | ||
#define GRU_OPT_MISS_FMM_POLL 0x0003 /* Use system polling thread */ | ||
#define GRU_OPT_MISS_MASK 0x0003 /* Mask for TLB MISS option */ | ||
|
||
|
||
|
||
#endif /* __GRU_H__ */ |
Oops, something went wrong.